/* The platform shell: restrained gray glass with room for readable labels. */
:root { --sidebar: 200px; --paper: #f5f6f8; --line: #dce1e7; }
.sidebar { overflow-x: hidden; padding: 22px 12px 18px; background-color: rgb(223 227 233 / 90%); }
.sidebar nav, .side-link { min-width: 0; }
.sidebar-caption { margin: 0 12px 15px; font-size: 8px; letter-spacing: .1em; }
.sidebar nav { gap: 4px; }
.side-link { gap: 11px; min-height: 46px; padding: 10px 13px; border-radius: 8px; font-size: 16px; }
.side-link > span { flex: 1; min-width: 0; overflow-wrap: anywhere; }
.side-link small { display: block; margin: 3px 0 0; font-size: 8px; font-weight: 500; }
.side-link.is-active { color: #ae0049; background: rgb(255 255 255 / 82%); box-shadow: inset 3px 0 var(--pink); }
.side-link--creator { margin-top: 15px; padding-top: 15px; border-radius: 0 0 8px 8px; }
.sidebar-bottom { padding-top: 22px; }
.sidebar-bottom p { margin: 9px 0; }
.sidebar-bottom a { min-height: 30px; }
.topbar { gap: 24px; }
.brand { min-width: 178px; }
.game-search-form { border-color: #e0e2e6; border-radius: 9px; background: #f2f3f5; }
.demo-profile { border-color: #e0e2e6; border-radius: 9px; }
body[data-view="home"] { background: #f5f6f8; }
body[data-view="home"] .workspace { background: #f5f6f8; }
.home-page { max-width: 1480px; padding: 25px 30px 38px; }
.hub-heading { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 23px; }
.hub-heading > div { display: flex; align-items: baseline; gap: 16px; }
.hub-heading h1 { font-size: 38px; letter-spacing: -.045em; }
.hub-title-dot { color: var(--pink); }
.hub-heading p { margin: 0; font-size: 16px; color: #686d78; }
.hub-demo { display: inline-flex; align-items: center; gap: 7px; font-family: var(--meta); font-size: 10px; font-weight: 550; color: #646b77; }
.hub-demo .icon { width: 15px; height: 15px; }
.hub-layout { display: grid; grid-template-columns: minmax(0,1fr) 248px; gap: 27px 24px; align-items: start; }
.hub-layout > * { min-width: 0; }
.hub-welcome { position: relative; isolation: isolate; grid-column: 1; grid-row: 1; overflow: hidden; min-height: 337px; border-radius: 14px; background: #f2d3cb; }
.hub-environment { position: absolute; right: 0; top: 0; width: 74%; height: 100%; object-fit: cover; object-position: 75% center; z-index: -2; }
.hub-welcome-copy { position: relative; display: flex; flex-direction: column; align-items: start; justify-content: center; width: 52%; min-height: 337px; padding: 28px 12px 28px 28px; }
.hub-welcome-copy::before { content: ""; position: absolute; z-index: -1; inset: 0 -45px 0 0; background: #f2d3cb; clip-path: polygon(0 0,100% 0,90% 100%,0 100%); }
.hub-welcome-copy .eyebrow { margin-bottom: 14px; color: #833348; font-size: 8px; letter-spacing: .13em; }
.hub-welcome-copy h2 { margin-bottom: 16px; font-size: clamp(39px,3.6vw,54px); line-height: .98; letter-spacing: -.05em; }
.hub-welcome-copy h2 em { color: #b4004c; font-style: normal; }
.hub-welcome-copy > p:not(.eyebrow) { margin-bottom: 21px; font-size: 17px; line-height: 1.3; }
.hub-welcome-copy .button { min-height: 43px; border-radius: 7px; font-size: 14px; padding: 12px 15px; }
.hub-environment-label { position: absolute; right: 11px; bottom: 10px; padding: 5px 8px; color: #38343a; background: rgb(255 255 255 / 90%); font-family: var(--meta); font-size: 7px; font-weight: 550; border-radius: 3px; }
.hub-library { grid-column: 1; grid-row: 2; }
.hub-section-heading { display: flex; justify-content: space-between; align-items: center; gap: 15px; margin-bottom: 15px; }
.hub-section-heading h2 { margin: 0 0 5px; font-size: 26px; letter-spacing: -.025em; }
.hub-section-heading p { margin: 0; font-size: 14px; color: #686d78; }
.hub-section-heading .text-link { min-height: 44px; font-size: 13px; flex-shrink: 0; }
.hub-library-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 0 0 15px; border-bottom: 1px solid #dedfe4; }
.hub-categories { display: flex; gap: 20px; }
.hub-categories button { min-height: 41px; padding: 7px 0 10px; border: 0; border-bottom: 2px solid transparent; color: #626d7c; background: transparent; font-size: 14px; font-weight: 550; }
.hub-categories button[aria-pressed="true"] { border-bottom-color: var(--pink); color: #ab0048; font-weight: 600; }
.hub-shelf-controls { display: none; gap: 5px; }
.hub-shelf-controls button { display: grid; width: 36px; height: 36px; place-items: center; border: 1px solid #d6d9df; border-radius: 7px; background: white; }
.hub-shelf-controls .icon { width: 16px; height: 16px; }
.hub-game-list { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 17px; }
.hub-game { min-width: 0; }
.hub-game-cover { position: relative; border-radius: 10px; }
.hub-game-cover > a { display: block; position: relative; aspect-ratio: 1.4; overflow: hidden; border-radius: 10px; background: #e2e5e8; }
.hub-game-cover > a > img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .35s cubic-bezier(.2,.7,.2,1); }
.hub-game-cover .save-game { top: 8px; right: 8px; width: 36px; height: 36px; min-height: 36px; border: 1px solid rgb(255 255 255 / 30%); border-radius: 7px; background: #111827; color: white; }
.hub-game-cover .save-game.is-saved { background: white; color: #b4004c; border-color: white; }
.hub-game-cover .save-game .icon { width: 16px; height: 16px; }
.hub-art-label { position: absolute; left: 8px; bottom: 8px; padding: 4px 6px; color: white; background: rgb(17 24 39 / 88%); font-family: var(--meta); font-size: 7px; border-radius: 3px; }
.hub-game-open { position: absolute; bottom: 9px; right: 9px; display: grid; width: 28px; height: 28px; place-items: center; border-radius: 50%; color: var(--ink); background: white; opacity: 0; transform: translateX(-6px); transition: opacity .2s ease,transform .2s ease; }
.hub-game-open .icon { width: 16px; height: 16px; }
.hub-game-meta { padding: 11px 1px 0; }
.hub-game-meta h3 { margin: 0 0 5px; font-size: 20px; line-height: 1.05; letter-spacing: -.025em; }
.hub-game-meta p { margin: 0 0 7px; color: #686d78; font-size: 13px; }
.hub-game-meta > span { display: flex; align-items: center; gap: 5px; font-family: var(--meta); font-size: 9px; color: #626d7c; }
.hub-game-meta > span .icon { width: 12px; height: 12px; }
.hub-list-note { margin: 17px 0 0; color: #626d7c; font-size: 11px; }
.hub-personal { grid-column: 2; grid-row: 1 / span 4; display: grid; gap: 19px; }
.hub-profile { overflow: hidden; border: 1px solid #e0e2e8; border-radius: 12px; background: white; }
.hub-profile-heading { display: flex; align-items: center; gap: 10px; padding: 16px; }
.hub-profile-icon { display: grid; width: 33px; height: 33px; place-items: center; color: #a20043; background: #ffe5ef; border-radius: 8px; }
.hub-profile-icon .icon { width: 17px; }
.hub-profile-heading strong { display: block; font-size: 17px; }
.hub-profile-heading small { display: block; margin-top: 2px; color: #626d7c; font-size: 11px; }
.hub-profile-heading > a { display: grid; width: 32px; height: 36px; margin-left: auto; place-items: center; }
.hub-profile-heading > a .icon { width: 17px; }
.hub-avatar-preview { position: relative; display: flex; justify-content: flex-end; align-items: end; height: 215px; overflow: hidden; margin: 0 12px; border-radius: 9px; background: #e8dce3; }
.hub-avatar-preview::before { content: ""; position: absolute; right: -10px; bottom: -70px; width: 195px; height: 195px; border-radius: 50%; background: #d1bbc8; }
.hub-avatar-preview > .sample-avatar { position: relative; z-index: 1; width: 143px; height: 209px; max-width: 75%; margin: 0 1px 0 0; }
.hub-avatar-word { position: absolute; left: 16px; top: 19px; color: #947688; font-size: 43px; font-weight: 600; line-height: .91; letter-spacing: -.06em; }
.hub-outfit-area { padding: 16px 16px 13px; }
.hub-outfit-area > div > strong { font-size: 18px; }
.hub-outfit-area > div > small { display: block; font-size: 11px; margin: 3px 0 9px; color: #626d7c; }
.hub-outfits { display: flex; justify-content: space-between; gap: 7px; margin: 0 -4px 11px; }
.hub-swatch { display: grid; width: 44px; height: 44px; flex: 0 0 auto; place-items: center; padding: 5px; border: 1px solid transparent; border-radius: 50%; background: transparent; }
.hub-swatch[aria-pressed="true"] { border-color: #404754; }
.hub-swatch > span { display: grid; width: 28px; height: 28px; place-items: center; border-radius: 50%; border: 1px solid rgb(0 0 0 / 12%); background: var(--swatch); color: #111827; }
.hub-swatch[style*="#44495a"] > span { color: white; }
.hub-swatch .icon { width: 16px; height: 16px; }
.hub-avatar-link { display: flex; min-height: 42px; align-items: center; justify-content: space-between; gap: 10px; padding: 10px 12px; border: 1px solid #d9dce2; border-radius: 6px; font-size: 13px; font-weight: 550; }
.hub-avatar-link .icon { width: 16px; }
.hub-personal-links { padding: 5px 16px 10px; border-top: 1px solid #eceef1; }
.hub-personal-links a { display: flex; min-height: 43px; align-items: center; gap: 10px; font-size: 14px; }
.hub-personal-links a > .icon { width: 17px; color: #626d7c; }
.hub-personal-links a > strong { margin-left: auto; color: #626d7c; font-size: 13px; font-weight: 550; }
.hub-social { border: 1px solid #e0e2e8; border-radius: 12px; padding: 18px; background: white; }
.hub-social-heading { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.hub-social-heading h2 { margin: 0; font-size: 21px; }
.hub-social-heading > span { font-family: var(--meta); font-size: 8px; color: #626d7c; }
.hub-people-mark { display: flex; justify-content: center; align-items: center; margin: 20px 0 15px; }
.hub-people-mark > .icon { display: block; width: 37px; height: 37px; padding: 9px; border: 3px solid white; border-radius: 50%; background: #e7e9f0; color: #626d7c; }
.hub-people-mark > .icon:nth-child(2) { width: 46px; height: 46px; margin: 0 -4px; background: #f7ddea; color: #bc698c; z-index: 1; }
.hub-social > h3 { margin: 0 0 7px; font-size: 18px; text-align: center; }
.hub-social > p { margin: 0; font-size: 12px; line-height: 1.45; text-align: center; color: #626d7c; }
.hub-create { grid-column: 1; grid-row: 3; overflow: hidden; border: 1px solid #e0e2e8; border-radius: 12px; background: white; }
.hub-create-top { position: relative; display: flex; align-items: center; gap: 22px; overflow: hidden; min-height: 192px; padding: 24px; color: white; background: #192131; }
.hub-todo-note { display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 12px; flex: 0 0 auto; width: 110px; min-height: 123px; padding: 15px; color: var(--ink); background: #f8e6ee; border-radius: 9px; }
.hub-todo-note img { width: 83px; height: auto; object-fit: contain; }
.hub-todo-note > span { font-family: var(--meta); font-size: 8px; letter-spacing: .1em; font-weight: var(--weight-label); }
.hub-create-top .eyebrow { margin: 0 0 8px; font-size: 8px; color: #ff9ac5; }
.hub-create-top h2 { font-size: 31px; margin-bottom: 9px; }
.hub-create-top > div > p:not(.eyebrow) { color: #b9c0cc; margin: 0 0 12px; font-size: 14px; }
.hub-create-top .text-link { color: white; font-size: 13px; min-height: 33px; }
.hub-create-drawing { margin-left: auto; transform: rotate(-15deg); opacity: .15; }
.hub-create-drawing .icon { width: 75px; height: 75px; stroke-width: 1; }
.hub-project { display: flex; align-items: center; gap: 16px; padding: 15px 20px; }
.hub-project > img { width: 90px; height: 65px; object-fit: cover; border-radius: 6px; }
.hub-project > span:not(.hub-project-arrow) { min-width: 0; }
.hub-project small { display: block; font-family: var(--meta); font-size: 7px; font-weight: var(--weight-label); letter-spacing: .06em; color: #626d7c; }
.hub-project strong { display: block; font-size: 19px; margin-top: 4px; }
.hub-project-state { display: flex; align-items: center; gap: 4px; font-size: 11px; margin-top: 4px; color: #626d7c; }
.hub-project-state .icon { width: 12px; height: 12px; }
.hub-project-arrow { margin-left: auto; }
.hub-project-arrow .icon { width: 19px; }
.hub-project-empty { padding: 20px; }
.hub-project-empty h3 { font-size: 20px; }
.hub-journey { grid-column: 1; grid-row: 4; padding: 24px; border: 1px solid #e0e2e8; border-radius: 12px; background: white; }
.hub-journey .hub-section-heading h2 { font-size: 25px; }
.hub-journey .simulation { font-size: 8px; padding: 6px; }
.hub-steps { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 4px; margin: 20px 0 23px; border-bottom: 1px solid #e0e2e8; }
.hub-steps button { position: relative; display: flex; flex-wrap: wrap; align-items: center; gap: 8px; min-height: 63px; padding: 12px 9px; border: 0; border-bottom: 3px solid transparent; background: transparent; color: #626d7c; text-align: left; }
.hub-steps button > span { font-family: var(--meta); font-size: 8px; align-self: start; }
.hub-steps button > .icon { width: 20px; height: 20px; }
.hub-steps button > strong { display: block; flex-basis: 100%; font-size: 13px; font-weight: 550; }
.hub-steps button[aria-pressed="true"] { color: #b3004c; background: #fff0f6; border-bottom-color: var(--pink); border-radius: 5px 5px 0 0; }
.hub-step-explanation { display: flex; align-items: start; gap: 15px; min-height: 113px; }
.hub-step-icon { display: grid; width: 40px; height: 40px; flex: 0 0 auto; place-items: center; border-radius: 9px; color: #b2004b; background: #ffe6f0; }
.hub-step-explanation h3 { font-size: 23px; margin: 0 0 8px; }
.hub-step-explanation p { color: #69717e; font-size: 14px; line-height: 1.4; margin: 0 0 9px; }
.hub-step-explanation small { display: flex; align-items: center; gap: 5px; font-size: 10px; color: #885020; }
.hub-step-explanation small .icon { width: 12px; height: 12px; }
.hub-project-lanes { display: grid; grid-template-columns: 1fr 24px 1fr; align-items: center; gap: 9px; margin: 18px 0; }
.hub-project-lanes > div { display: flex; align-items: center; gap: 10px; min-height: 67px; padding: 11px; border: 1px dashed #d9dde4; border-radius: 7px; color: #626d7c; background: #fafbfc; }
.hub-project-lanes > div.is-current { color: #323a48; border-style: solid; border-color: #d1d7d0; background: #f0f5ed; }
.hub-project-lanes > div > .icon { width: 20px; height: 20px; }
.hub-project-lanes > div > span { font-size: 10px; }
.hub-project-lanes strong { display: block; font-size: 14px; margin-top: 3px; font-weight: 550; }
.hub-lane-arrow { color: #9ba1aa; }
.hub-lane-arrow .icon { width: 18px; }
.hub-journey-footer { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 10px; border-top: 1px solid #edf0f3; padding-top: 12px; }
.hub-journey-footer > span { font-size: 10px; color: #626d7c; }
.hub-journey-footer > a { font-size: 12px; min-height: 36px; }
.hub-apps { display: flex; align-items: center; gap: 14px; grid-column: 1 / -1; padding: 17px 0 0; border-top: 1px solid #dde1e7; }
.hub-apps > span { display: grid; width: 39px; height: 39px; flex: 0 0 auto; place-items: center; border-radius: 8px; background: #e9ecf1; color: #596475; }
.hub-apps strong { font-size: 17px; }
.hub-apps p { font-size: 12px; margin: 3px 0 0; color: #626d7c; }
.hub-apps > a { display: flex; align-items: center; gap: 6px; min-height: 44px; margin-left: auto; font-size: 12px; font-weight: 550; color: #626d7c; }
.hub-apps > a .icon { width: 15px; height: 15px; }
.hub-empty { grid-column: 1 / -1; padding: 28px; border: 1px dashed #d0d6df; border-radius: 9px; background: #fff; }
.hub-empty h3 { margin: 12px 0 9px; font-size: 23px; }
.hub-empty p { color: #626d7c; font-size: 15px; }
/* Brief arrivals and direct feedback. No idle animation or pointer tracking. */
@keyframes hub-arrive { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
@keyframes hub-scene-arrive { from { opacity: .5; transform: scale(1.025); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: no-preference) {
  .hub-environment { animation: hub-scene-arrive .7s ease-out both; }
  .hub-welcome-copy > * { animation: hub-arrive .5s cubic-bezier(.2,.7,.2,1) both; }
  .hub-welcome-copy h2 { animation-delay: .06s; }
  .hub-welcome-copy > p:not(.eyebrow) { animation-delay: .12s; }
  .hub-welcome-copy .button { animation-delay: .18s; }
  .hub-game { animation: hub-arrive .35s ease both; }
  .hub-game:nth-child(2) { animation-delay: .05s; }
  .hub-game:nth-child(3) { animation-delay: .1s; }
  .hub-step-explanation, .hub-project-lanes { animation: hub-arrive .3s ease both; }
  .reveal-ready { opacity: 0; transform: translateY(14px); transition: opacity .45s ease,transform .45s ease; }
  .reveal-ready.is-revealed, .reveal-ready:focus-within { opacity: 1; transform: none; }
}
@media (hover:hover) and (pointer:fine) {
  .hub-game-cover > a:hover > img { transform: scale(1.045); }
  .hub-game-cover > a:hover .hub-game-open { opacity: 1; transform: none; }
  .hub-game-meta h3 a:hover { color: #b4004c; }
  .hub-swatch { transition: transform .15s ease; }
  .hub-swatch:hover { transform: translateY(-3px); }
  .hub-avatar-link:hover, .hub-project:hover { background: #f6f7f9; }
  .hub-personal-links a:hover { color: #b4004c; }
  .text-link > .icon, .side-link > .icon { transition: transform .18s ease; }
  .text-link:hover > .icon { transform: translateX(3px); }
  .side-link:hover > .icon { transform: translateY(-2px); }
  .hub-steps button:hover:not([aria-pressed="true"]) { background: #f4f6f8; }
}
.hub-game-cover:focus-within { outline: 3px solid #b4004c; outline-offset: 3px; }
.hub-game-cover > a:focus-visible .hub-game-open { opacity: 1; transform: none; }
@media (max-width: 1250px) {
  :root { --sidebar: 184px; }
  .home-page { padding-left: 24px; padding-right: 24px; }
  .hub-layout { grid-template-columns: minmax(0,1fr) 220px; gap: 24px 20px; }
  .hub-welcome, .hub-welcome-copy { min-height: 325px; }
  .hub-welcome-copy { padding-left: 23px; width: 57%; }
  .hub-welcome-copy h2 { font-size: 43px; }
  .hub-welcome-copy .eyebrow { font-size: 7px; }
  .hub-welcome-copy > p:not(.eyebrow) { font-size: 15px; }
  .hub-welcome-copy .button { font-size: 12px; padding: 11px; }
  .hub-game-list { gap: 12px; }
  .hub-game-meta h3 { font-size: 18px; }
  .hub-game-meta p { font-size: 12px; }
  .hub-section-heading h2 { font-size: 24px; }
  .hub-outfit-area, .hub-profile-heading { padding: 14px; }
  .hub-profile-heading { gap: 7px; }
  .hub-profile-heading strong { font-size: 15px; }
  .hub-outfits { gap: 2px; }
  .hub-swatch { width: 42px; }
  .hub-avatar-word { left: 12px; font-size: 39px; }
  .hub-avatar-preview > .sample-avatar { width: 133px; height: 200px; }
  .hub-create-top { padding: 20px; gap: 18px; }
  .hub-todo-note { width: 89px; min-height: 116px; padding: 12px; }
  .hub-create-top h2 { font-size: 29px; }
  .hub-create-drawing { display: none; }
  .hub-journey { padding: 20px; }
}
@media (max-width: 1050px) {
  .hub-layout { grid-template-columns: minmax(0,1fr); }
  .hub-welcome { grid-row: 1; }
  .hub-library { grid-row: 2; }
  .hub-personal { grid-column: 1; grid-row: 3; grid-template-columns: 1.4fr 1fr; align-items: start; }
  .hub-profile { display: grid; grid-template-columns: 155px minmax(0,1fr); }
  .hub-profile-heading { grid-column: 1 / -1; }
  .hub-avatar-preview { grid-column: 1; grid-row: 2; height: 185px; margin: 0 0 0 12px; }
  .hub-avatar-word { font-size: 30px; top: 12px; }
  .hub-avatar-preview > .sample-avatar { width: 124px; height: 181px; }
  .hub-outfit-area { grid-column: 2; grid-row: 2; align-self: center; }
  .hub-outfits { flex-wrap: wrap; justify-content: flex-start; }
  .hub-swatch { width: 35px; height: 38px; padding: 3px; }
  .hub-personal-links { grid-column: 1 / -1; display: flex; justify-content: space-between; gap: 15px; margin-top: 10px; padding-top: 7px; }
  .hub-personal-links a { flex: 1; font-size: 12px; gap: 6px; }
  .hub-personal-links a > strong { margin-left: 3px; }
  .hub-social { align-self: stretch; }
  .hub-people-mark { margin-top: 24px; margin-bottom: 24px; }
  .hub-social > p { max-width: 210px; margin: auto; }
  .hub-create { grid-row: 4; }
  .hub-journey { grid-row: 5; }
  .hub-welcome-copy { width: 49%; padding-left: 27px; }
  .hub-welcome-copy h2 { font-size: 49px; }
  .hub-welcome-copy .button { font-size: 14px; }
  .hub-welcome-copy > p:not(.eyebrow) { font-size: 17px; }
  .hub-game-cover > a { aspect-ratio: 1.5; }
  .hub-game-meta h3 { font-size: 21px; }
  .hub-create-top { padding: 26px; }
  .hub-create-drawing { display: block; }
  .hub-todo-note { width: 110px; }
  .hub-project { padding: 16px 26px; }
}
@media (max-width: 740px) {
  .sidebar { padding: 23px 16px 18px; background-color: rgb(223 227 233 / 97%); }
  .side-link { min-height: 48px; font-size: 18px; }
  .side-link small { font-size: 9px; }
  .sidebar-bottom p { font-size: 12px; }
  .sidebar-bottom a { font-size: 13px; }
  .topbar { gap: 12px; }
  .brand { min-width: 0; }
  .home-page { padding: 20px 17px 25px; }
  .hub-heading { margin-bottom: 17px; align-items: start; }
  .hub-heading > div { display: block; }
  .hub-heading h1 { font-size: 33px; }
  .hub-heading p { font-size: 13px; margin-top: 5px; }
  .hub-demo { font-size: 8px; gap: 4px; padding-top: 9px; }
  .hub-demo .icon { width: 13px; height: 13px; }
  .hub-layout { gap: 25px; }
  .hub-welcome { min-height: 0; display: flex; flex-direction: column; border-radius: 12px; }
  .hub-welcome-copy { order: 0; width: 100%; min-height: 0; padding: 22px; }
  .hub-welcome-copy::before { display: none; }
  .hub-welcome-copy h2 { font-size: 43px; margin-bottom: 13px; }
  .hub-welcome-copy h2 br { display: none; }
  .hub-welcome-copy .eyebrow { font-size: 7px; margin-bottom: 11px; }
  .hub-welcome-copy > p:not(.eyebrow) { font-size: 15px; margin-bottom: 17px; }
  .hub-welcome-copy > p:not(.eyebrow) br { display: none; }
  .hub-welcome-copy .button { min-height: 43px; font-size: 13px; padding: 11px 13px; }
  .hub-environment { position: relative; order: 1; z-index: 0; width: 100%; height: 190px; object-position: 65% 58%; }
  .hub-environment-label { bottom: 8px; right: 8px; z-index: 1; font-size: 7px; }
  .hub-section-heading { gap: 12px; margin-bottom: 12px; }
  .hub-section-heading h2 { font-size: 23px; max-width: 250px; }
  .hub-section-heading p { font-size: 12px; }
  .hub-section-heading .text-link { font-size: 12px; gap: 4px; }
  .hub-library-toolbar { margin-bottom: 13px; }
  .hub-categories { gap: 18px; }
  .hub-categories button { min-height: 44px; font-size: 13px; }
  .hub-shelf-controls { display: flex; }
  .hub-shelf-controls button { width: 33px; height: 40px; }
  .hub-game-list { display: flex; gap: 14px; overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x proximity; scrollbar-width: thin; scrollbar-color: #c8ced8 transparent; padding: 3px 3px 13px; margin: -3px; }
  .hub-game { flex: 0 0 220px; scroll-snap-align: start; }
  .hub-game-cover > a { aspect-ratio: 1.5; }
  .hub-game-meta h3 { font-size: 21px; }
  .hub-game-cover .save-game { width: 44px; height: 44px; }
  .hub-game-meta p { font-size: 13px; }
  .hub-list-note { margin-top: 12px; font-size: 10px; line-height: 1.4; }
  .hub-personal { grid-template-columns: 1fr; gap: 15px; }
  .hub-profile { grid-template-columns: 46% minmax(0,1fr); }
  .hub-profile-heading { padding: 15px; }
  .hub-profile-heading strong { font-size: 17px; }
  .hub-avatar-preview { height: 190px; }
  .hub-outfit-area { padding: 13px; }
  .hub-outfit-area > div > strong { font-size: 17px; }
  .hub-outfit-area > div > small { font-size: 10px; }
  .hub-swatch { width: 44px; height: 44px; }
  .hub-outfits { display: grid; grid-template-columns: repeat(2,44px); gap: 0 8px; margin-bottom: 5px; }
  .hub-avatar-link { font-size: 11px; min-height: 44px; padding: 8px; gap: 3px; }
  .hub-avatar-link .icon { width: 14px; }
  .hub-personal-links { padding: 8px 16px 10px; }
  .hub-personal-links a { font-size: 13px; }
  .hub-social { display: grid; grid-template-columns: 65px 1fr; gap: 0 12px; padding: 16px; }
  .hub-social-heading { grid-column: 1 / -1; margin-bottom: 14px; }
  .hub-social-heading h2 { font-size: 20px; }
  .hub-people-mark { grid-column: 1; grid-row: 2 / span 2; align-self: start; flex-wrap: wrap; margin: 0; }
  .hub-people-mark > .icon { display: none; }
  .hub-people-mark > .icon:nth-child(2) { display: block; width: 56px; height: 56px; padding: 13px; }
  .hub-social > h3 { grid-column: 2; text-align: left; font-size: 17px; }
  .hub-social > p { grid-column: 2; text-align: left; max-width: none; font-size: 11px; }
  .hub-create-top { padding: 20px 17px; gap: 16px; min-height: 190px; align-items: start; }
  .hub-todo-note { width: 68px; min-height: 90px; padding: 10px; gap: 10px; }
  .hub-todo-note > span { font-size: 6px; }
  .hub-create-top .eyebrow { font-size: 7px; }
  .hub-create-top h2 { font-size: 29px; max-width: 230px; }
  .hub-create-top > div > p:not(.eyebrow) { font-size: 13px; }
  .hub-create-top .text-link { min-height: 40px; font-size: 12px; gap: 5px; }
  .hub-create-drawing { display: none; }
  .hub-project { padding: 15px; gap: 11px; }
  .hub-project > img { width: 68px; height: 61px; }
  .hub-project strong { font-size: 17px; }
  .hub-project small { font-size: 6px; }
  .hub-project-state { font-size: 10px; }
  .hub-project-arrow .icon { width: 16px; }
  .hub-journey { padding: 19px 15px; }
  .hub-journey .hub-section-heading { align-items: start; }
  .hub-journey .hub-section-heading h2 { font-size: 24px; }
  .hub-journey .hub-section-heading p { font-size: 12px; }
  .hub-journey .simulation { font-size: 7px; padding: 5px; gap: 3px; }
  .hub-journey .simulation .icon { width: 10px; height: 10px; }
  .hub-steps { gap: 3px; margin-top: 17px; }
  .hub-steps button { gap: 6px; padding: 10px 7px; }
  .hub-steps button > strong { font-size: 11px; }
  .hub-steps button > .icon { width: 18px; }
  .hub-step-explanation { gap: 11px; min-height: 130px; }
  .hub-step-icon { width: 32px; height: 32px; }
  .hub-step-icon .icon { width: 18px; }
  .hub-step-explanation h3 { font-size: 21px; }
  .hub-step-explanation p { font-size: 13px; }
  .hub-project-lanes { grid-template-columns: 1fr 17px 1fr; gap: 5px; }
  .hub-project-lanes > div { align-items: start; flex-direction: column; gap: 6px; padding: 10px; }
  .hub-project-lanes > div > span { font-size: 9px; }
  .hub-project-lanes strong { font-size: 13px; }
  .hub-lane-arrow .icon { width: 15px; }
  .hub-journey-footer { gap: 5px; }
  .hub-journey-footer > a { min-height: 40px; }
  .hub-apps { flex-wrap: wrap; gap: 11px; padding-top: 18px; }
  .hub-apps > div { flex: 1; }
  .hub-apps strong { font-size: 16px; }
  .hub-apps p { font-size: 11px; }
  .hub-apps > a { margin-left: 50px; }
  .hub-empty { flex: 1 0 100%; padding: 22px; }
}
@media (max-width: 370px) {
  .home-page { padding-left: 14px; padding-right: 14px; }
  .hub-heading h1 { font-size: 31px; }
  .hub-heading p { font-size: 12px; }
  .hub-demo { font-size: 7px; }
  .hub-welcome-copy h2 { font-size: 39px; }
  .hub-categories { gap: 14px; }
  .hub-categories button { font-size: 12px; }
  .hub-shelf-controls { gap: 3px; }
  .hub-shelf-controls button { width: 28px; }
  .hub-swatch { width: 40px; }
  .hub-outfits { grid-template-columns: repeat(2,40px); gap: 0 3px; }
  .hub-create-top { gap: 11px; }
  .hub-todo-note { width: 58px; }
}
@media (prefers-reduced-motion: reduce) {
  .reveal-ready { opacity: 1; transform: none; }
  .hub-game-cover > a:hover > img, .hub-swatch:hover, .text-link:hover > .icon, .side-link:hover > .icon { transform: none; }
  .hub-game-open { transform: none; }
}
/* Keep annotations legible and controls comfortable on touch screens. */
.hub-art-label, .hub-environment-label { font-size: 9px; }
.hub-game-meta > span { font-size: 10px; }
.hub-journey .simulation { font-size: 9px; }
@media (max-width: 1050px) { .hub-swatch { width: 44px; height: 44px; } }
@media (max-width: 740px) {
  .hub-shelf-controls button { width: 44px; height: 44px; }
  .hub-categories { gap: 14px; }
  .hub-art-label, .hub-environment-label { font-size: 8px; }
  .hub-journey .simulation { font-size: 8px; }
}
@media (max-width: 370px) {
  .hub-shelf-controls { display: none; }
  .hub-outfits { grid-template-columns: repeat(2,44px); }
}
@media (max-width: 740px) {
  .hub-welcome-copy { padding: 21px; }
  .hub-welcome-copy h2 { font-size: 39px; }
  .hub-welcome-copy h2 br { display: initial; }
  .hub-welcome-copy > p:not(.eyebrow) { margin-bottom: 16px; }
  .hub-environment { height: 155px; }
}
@media (min-width: 1051px) {
  .hub-personal { grid-row: 1 / span 2; }
  .hub-create { grid-column: 1 / -1; display: grid; grid-template-columns: 1.2fr 1fr; }
  .hub-create-top { min-height: 202px; }
  .hub-project { padding: 25px; gap: 20px; }
  .hub-project > img { width: 115px; height: 115px; border-radius: 9px; }
  .hub-project strong { font-size: 23px; margin: 8px 0; }
  .hub-project small { font-size: 8px; }
  .hub-project-state { font-size: 12px; }
  .hub-journey { grid-column: 1 / -1; display: grid; grid-template-columns: 1fr 1.15fr; gap: 0 36px; }
  .hub-journey .hub-section-heading { grid-column: 1; grid-row: 1; align-items: start; margin: 0 0 16px; }
  .hub-journey .hub-section-heading h2 { font-size: 28px; max-width: 320px; }
  .hub-journey .hub-section-heading p { max-width: 270px; }
  .hub-steps { grid-column: 1; grid-row: 2; align-self: start; margin: 0; }
  #home-build-panel { grid-column: 2; grid-row: 1 / span 2; }
  .hub-step-explanation { min-height: 108px; }
  .hub-project-lanes { margin-bottom: 0; }
  .hub-journey-footer { grid-column: 1 / -1; margin-top: 20px; }
}
@media (min-width: 1051px) and (max-width: 1250px) {
  .hub-create { grid-template-columns: 1.15fr 1fr; }
  .hub-project { padding: 20px; gap: 14px; }
  .hub-project > img { width: 85px; height: 100px; }
  .hub-project strong { font-size: 20px; }
  .hub-journey { gap: 0 25px; }
}
