/* The shared lounge: warm materials, brighter choices, original game artwork. */
:root{--lounge-green:#405b3c;--lounge-soft:#718064;--lounge-line:#ffffff90;--lounge-peach:#f4b77d;--lounge-cream:#fffbf0}
.hero-stage{position:absolute;inset:0;pointer-events:none;z-index:0}.hero-copy{z-index:4}.hero h1{font-size:clamp(47px,4vw,72px);line-height:1.08;max-width:700px}.hero-copy>p{max-width:410px}.hero{padding-left:22%;grid-template-columns:1.25fr 1fr;gap:42px}.hero-toolbar{z-index:9}
.score-scene{height:330px;min-width:370px}.scene-layer{width:36%;max-width:195px}.score-paper{height:292px;padding:25px 16px 24px;gap:12px}.score-paper::before{opacity:.9}.score-paper.audience-kids{background:linear-gradient(145deg,#fffce1 0%,#e0efb8 48%,#aecb86 100%);border-right-color:#d9ebae;border-bottom-color:#809966;color:#344c2c}.score-paper.audience-adult{--rest-z:7deg;--rest-y:-6deg;background:linear-gradient(145deg,#fff7db,#f6d0a2 50%,#eab080);border-right-color:#f6d8ba;border-bottom-color:#bc825a;color:#714b30}.score-paper.audience-all{--rest-z:-6deg;--rest-y:-7deg;background:linear-gradient(145deg,#fff8ff,#e7d5ee 52%,#c6b5dc);border-right-color:#e9def4;border-bottom-color:#9c83b4;color:#604974}.score-paper[aria-pressed=true]{outline-color:#527148;outline-width:3px}.audience-card-label{font-size:clamp(18px,1.6vw,25px);letter-spacing:-.02em}.audience-art{position:relative;display:grid;place-items:center;width:98px;height:98px;flex:none;border-radius:35%;background:radial-gradient(ellipse at 30% 10%,#ffffffdb,#ffffff28);box-shadow:inset 0 2px 0 #fff9,0 8px 15px #4b5b3215;transform:translateZ(16px)}.audience-art svg{width:72px;height:72px;fill:#d0df91;stroke:#718644;stroke-width:2.3;stroke-linecap:round;stroke-linejoin:round;filter:drop-shadow(0 4px 0 #8b9d6c40)}.art-adult svg{fill:#ecc397;stroke:#b37a53}.art-all svg{fill:#d2bde4;stroke:#9674b0}.audience-art i{position:absolute;right:-8px;top:-10px;font-style:normal;font-size:35px;text-shadow:0 3px 0 #fff9}.score-paper .audience-card-symbol{font-size:40px;line-height:1;margin:0;opacity:.9}.audience-card-copy{font-size:12px;font-weight:400;line-height:1.35;text-wrap:balance;max-width:130px}
.score-banner{margin:40px auto 0;width:calc(100% - 80px);max-width:1192px;min-height:155px;padding:28px 38px;border-radius:30px;border:1px solid #ffffffe6;background:radial-gradient(ellipse at 100% 0%,#f6dba9b3,transparent 60%),linear-gradient(115deg,#fcfff2f2,#e4f0d8ee 48%,#e9daf2ed);box-shadow:inset 0 2px 0 white,0 7px 0 #93a67f5e,0 24px 40px -25px #5063447a;display:flex;align-items:center;gap:30px;justify-content:space-between}.score-banner-copy{max-width:470px}.score-banner-copy>p{font-size:clamp(21px,2vw,28px);line-height:1.22;font-weight:700;letter-spacing:-.025em;color:#40543a}.score-banner-copy .text-button{font-size:14px;padding:10px 0 0;color:#6e583e;min-height:44px}.score-banner #player-summary{display:flex;align-items:center;justify-content:flex-end;gap:30px;font-size:16px;flex-shrink:0}.score-identity{display:flex;flex-direction:column;gap:4px;text-align:right;max-width:180px}.score-identity>span{font-weight:700;font-size:16px}.score-identity>small{font-size:12px;color:#617352}.score-number{display:flex;align-items:baseline;gap:12px}.score-number strong{font-size:clamp(56px,6vw,83px);line-height:1;letter-spacing:-.055em;color:#4a623b;text-shadow:0 3px 0 #ffffffe0}.score-number>span{font-size:17px;color:#60734c}.early-invite{display:flex;align-items:center;justify-content:center;gap:17px;max-width:1192px;margin:28px auto 0;padding:0 24px;color:#4f6045;font-size:15px}.early-invite .text-button{font-size:14px;min-height:44px;display:inline-flex;align-items:center}.people-mark{white-space:nowrap;font-size:30px;letter-spacing:-8px;color:#8eac70;text-shadow:2px 3px 0 #fff8;margin-right:5px}.people-mark:first-letter{color:#cfa27f}
.play-section{padding-top:55px}.play-section>.section-heading{max-width:none;display:flex;justify-content:space-between;align-items:flex-end;gap:35px}.play-section>.section-heading p{max-width:330px;margin:0;font-size:17px}.audience-selector{display:flex;gap:14px}.audience-selector>button{flex:1;min-width:0;border:1px solid #ffffffbd;border-bottom:4px solid #a6b98b;border-radius:22px;background:linear-gradient(130deg,#fffff2dc,#d5e7b5e6);padding:21px 25px;text-align:left;color:#3b5131;display:grid;grid-template-columns:auto 1fr;column-gap:15px;transition:transform .2s,box-shadow .2s}.audience-selector>button:nth-child(2){background:linear-gradient(130deg,#fff9e8ed,#f0cba5e6);border-bottom-color:#c49771;color:#744e31}.audience-selector>button:nth-child(3){background:linear-gradient(130deg,#fff8ffed,#dfd0e9e6);border-bottom-color:#af96c2;color:#604a70}.audience-selector>button>span{grid-row:1/3;font-size:38px;line-height:1.25}.audience-selector strong{font-size:23px}.audience-selector small{font-size:12px;line-height:1.4;font-weight:400;opacity:.9}.audience-selector button:hover{transform:translateY(-4px)}.audience-selector button[aria-pressed=true]{outline:2px solid #718a58;outline-offset:4px;box-shadow:0 15px 20px -16px #405c32}
.difficulty-step{margin-top:48px}.step-heading{display:flex;align-items:center;justify-content:space-between;margin-bottom:23px;gap:20px}.step-heading h3{font-size:26px}.step-heading h3:focus{outline:none}.step-heading p{font-size:15px;color:#5b6e4c}.level-option{min-height:120px;background:linear-gradient(135deg,#fffdf7,#e4efcfdb)}.level-option[data-level=medium]{background:linear-gradient(135deg,#fffcf3,#f0d8bdda)}.level-option[data-level=hard]{background:linear-gradient(135deg,#fffaff,#e4d8efdc)}.level-option .brain-icon{width:54px;height:54px}.level-option strong{font-size:24px}.game-panel.platform-entry{display:flex;align-items:center;justify-content:space-between;gap:25px;padding:29px 33px;border:1px solid #fffaf1;background:linear-gradient(110deg,#fff9e9e6,#f7f4e8e0);margin-top:29px;box-shadow:inset 0 1px 0 white,0 14px 30px -22px #46513a66}.entry-intro h3{font-size:27px}.entry-intro p{font-size:14px;color:#6a735b;margin-top:10px}.entry-actions{display:flex;gap:14px;flex-shrink:0}.entry-actions .button{font-size:15px;padding:15px 19px}.entry-random>span{font-size:22px}.entry-actions .secondary{background:linear-gradient(130deg,#fcfff4,#dfe9ce);border-color:#fff;color:#43533b;box-shadow:inset 0 1px 0 #fff,0 4px 0 #aaba98,0 13px 20px -13px #52694180}
.category-section{padding-top:65px;scroll-margin-top:35px}.gallery-heading{display:flex;align-items:flex-end;justify-content:space-between;gap:25px}.gallery-heading h3{font-size:37px}.gallery-heading p{font-size:17px;color:#5c6c51;margin-top:13px}.gallery-arrows{display:flex;gap:9px;flex-shrink:0}.gallery-arrows button{width:48px;height:48px;border:1px solid #ffffffd6;border-bottom:3px solid #a8b997;background:linear-gradient(150deg,#fffcf3,#edf0df);color:#425a36;font-size:23px;border-radius:50%;box-shadow:0 9px 16px -12px #526441;transition:transform .2s}.gallery-arrows button:hover{transform:translateY(-3px)}.gallery-arrows button:disabled{opacity:.35;cursor:default}.category-helix{position:relative;height:430px;perspective:1250px;isolation:isolate;touch-action:pan-y;cursor:grab;margin-top:12px;border-radius:35px}.category-helix.dragging{cursor:grabbing}.category-helix::after{content:'';position:absolute;left:14%;right:14%;height:100px;bottom:2px;background:radial-gradient(ellipse,#52623d30,transparent 65%);filter:blur(15px);pointer-events:none;z-index:-1}.helix-track{position:absolute;inset:0;transform-style:preserve-3d}.category-tile{position:absolute;left:50%;top:50%;width:255px;height:310px;padding:13px 13px 19px;border:1px solid #fff;border-right:3px solid #fffc;border-bottom:5px solid var(--category-color);border-radius:28px;background:linear-gradient(145deg,#fffdf6,var(--category-light));box-shadow:0 20px 30px -16px #3d513b70,inset 0 2px 0 #fff;transform-style:preserve-3d;backface-visibility:hidden;transition:transform .65s cubic-bezier(.2,.7,.2,1),opacity .5s,box-shadow .4s;color:#35472e;user-select:none}.category-tile.current{box-shadow:0 27px 35px -14px #3d513b80,inset 0 2px 0 #fff}.dragging .category-tile{transition:none}.category-tile-art{height:207px;position:relative;overflow:hidden;border-radius:18px;background:var(--category-color);box-shadow:inset 0 0 0 1px #fff8}.category-tile-art img{width:100%;height:100%;object-fit:cover;object-position:50% 22%;opacity:.72;pointer-events:none;filter:saturate(.85)}.category-tile-art::after{content:'';position:absolute;inset:0;background:linear-gradient(135deg,#ffffff30,transparent 45%,var(--category-color));pointer-events:none}.category-glyph{position:absolute;right:14px;bottom:6px;font-size:57px;font-weight:700;line-height:1;color:#fffde8;text-shadow:0 3px 0 #3c4e3030;z-index:1}.category-tile-text{display:flex;flex-direction:column;gap:5px;padding-top:16px;text-align:left}.category-tile-text strong{font-size:21px;line-height:1.14;letter-spacing:-.025em}.category-tile-text small{font-size:12px;color:#5c6c4f}.category-caption{display:flex;align-items:center;justify-content:center;gap:40px;position:relative;z-index:12;margin-top:4px}.category-caption #category-current{display:flex;flex-direction:column;gap:6px;min-width:220px}.category-caption strong{font-size:26px;letter-spacing:-.025em}.category-caption span{font-size:13px;color:#647555}.category-caption .button{font-size:15px}.category-dots{display:flex;gap:4px;justify-content:center;margin-top:24px}.category-dots button{width:32px;height:32px;padding:10px;border:0;background:none;border-radius:50%}.category-dots span{display:block;width:8px;height:8px;border-radius:50%;background:#a2ae93;transition:transform .2s,background .2s}.category-dots [aria-pressed=true] span{background:#557347;transform:scale(1.35)}
.game-library{margin-top:55px;scroll-margin-top:25px}.game-library-heading{align-items:flex-end}.game-library-heading h3{font-size:38px}.game-library-heading .text-button{display:inline-block;margin-bottom:13px;padding:0;font-size:14px;min-height:36px}.game-library-heading p{max-width:250px}.catalog-toolbar{display:flex;justify-content:space-between;align-items:center;gap:20px}.catalog-toolbar .gallery-arrows button{width:43px;height:43px}.zoom-runway{height:1050px;position:relative;margin-top:0}.zoom-stage{position:sticky;top:30px;height:670px;perspective:1600px;isolation:isolate;--zoom:0}.zoom-game-card{position:absolute;left:50%;top:50%;width:310px;height:525px;display:flex;flex-direction:column;overflow:hidden;border:1px solid #fffc;border-bottom:4px solid #c4cbb7;border-radius:25px;background:#fffaf1;box-shadow:0 25px 35px -24px #35472f99;transform:translate(-50%,-50%) translate(calc(var(--x) * (1 - var(--zoom) * .18)),calc(var(--y) * (1 - var(--zoom) * .12))) scale(calc(var(--s) + var(--zoom) * .16));z-index:calc(10 - var(--game-index));transition:box-shadow .25s;will-change:transform}.zoom-game-card:hover,.zoom-game-card:focus-within{z-index:20;box-shadow:0 25px 45px -20px #35472fa8}.zoom-game-art{height:330px;overflow:hidden;background:var(--original-preview-bg,#23312b);flex:1;min-height:0}.zoom-game-art img{width:100%;height:100%;display:block;object-fit:contain}.zoom-game-copy{padding:16px 19px 20px;flex:none;background:linear-gradient(130deg,#fffcf7,#f2f2e8)}.game-type{display:block;font-size:10px;font-weight:700;text-transform:uppercase;letter-spacing:.12em;color:#7c8b6a;margin-bottom:6px}.zoom-game-copy h4{font-size:24px;line-height:1.1;letter-spacing:-.025em;margin:0 0 9px}.game-facts{font-size:12px;color:#667357;line-height:1.4}.zoom-game-copy .button{width:100%;margin-top:13px;min-height:43px;padding:11px 12px;font-size:14px;border-radius:13px}.zoom-game-copy .game-description{display:none}.catalog-empty{position:absolute;inset:20% 10%;text-align:center;background:#fff9e8b3;padding:50px;border-radius:30px}.catalog-empty h4{font-size:25px}.catalog-empty p{font-size:16px;margin-top:15px}.zoom-runway.list-mode{height:auto;margin-top:28px}.zoom-stage.list-mode{position:static;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));height:auto;gap:25px}.list-mode .zoom-game-card{position:static;transform:none!important;width:auto;height:520px;will-change:auto}.list-mode .zoom-game-art{height:290px}.list-mode .game-description{display:block;font-size:13px;line-height:1.4;margin:8px 0 12px;color:#647357}.list-mode .zoom-game-copy h4{font-size:22px}#catalog-list-toggle{display:block;margin:10px auto 0;min-height:44px}
.challenge-section{margin-top:10px}.video-section{border-top:1px solid #aab7987a;margin-top:30px}.video-section .section-heading{max-width:700px}.video-browser-controls{display:flex;align-items:center;gap:15px;margin-bottom:30px}.video-browser-controls label{font-size:14px;font-weight:700}.video-browser-controls select{min-height:46px;padding:10px 15px;background:#fffcf3;border:1px solid #c6cfb6;border-radius:14px;color:#405438;max-width:300px;flex:1}.video-browser-controls .gallery-arrows{margin-left:auto}.video-gallery{display:flex;gap:25px;perspective:1300px;align-items:center;min-height:350px}.video-orbit-item{flex:1;min-width:0;padding:12px 12px 21px;border:1px solid #fff;border-bottom:4px solid #b6c5a6;border-radius:26px;background:linear-gradient(130deg,#fffaf2,#e6eddb);box-shadow:0 19px 32px -24px #45543877;transform:rotateY(9deg) translateY(12px);transition:transform .4s}.video-orbit-item:nth-child(2){transform:translateY(-9px);background:linear-gradient(130deg,#fffaf2,#f0dfc7)}.video-orbit-item:nth-child(3){transform:rotateY(-9deg) translateY(12px);background:linear-gradient(130deg,#fffaf2,#e6ddee)}.video-orbit-item:focus-within,.video-orbit-item:hover{transform:translateY(-8px)}.video-orbit-item video{width:100%;display:block;aspect-ratio:9/13;max-height:380px;object-fit:contain;background:#253329;border-radius:17px}.video-orbit-item h3{font-size:23px;padding:18px 9px 9px}.video-orbit-item .text-button{font-size:13px;margin:4px 9px 0;display:inline-flex;align-items:center;min-height:40px}.closing{margin-top:25px}
.account-dialog{max-width:850px;width:calc(100% - 36px);padding:0;overflow:hidden;border-radius:32px;background:#fffcf2;box-shadow:0 35px 80px #2c3e2855}.account-dialog[open]{display:grid;grid-template-columns:.85fr 1.15fr}.account-main{padding:44px 40px;min-width:0;max-height:85svh;overflow-y:auto;position:relative}.account-main h2{font-size:36px;line-height:1.1}.account-promise{color:#718061;font-size:15px;line-height:1.5;margin:15px 0 22px}.account-art{position:relative;overflow:hidden;background:radial-gradient(ellipse at 30% 25%,#fff4c0,#dbe6bb 45%,#c2d2ac 70%,#dacadd);min-height:520px;display:grid;place-items:center}.account-brain{width:160px;height:160px;display:grid;place-items:center;border-radius:40%;background:linear-gradient(130deg,#fffae8,#e4eabbe0);box-shadow:inset 0 2px 0 #fff,0 15px 0 #a7b98a60,0 30px 60px #4f693634;transform:rotate(-12deg);animation:account-float 7s ease-in-out infinite alternate}.account-brain svg{width:115px;height:115px;fill:#c4d790;stroke:#7e9755;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}.account-orbit{position:absolute;width:390px;height:390px;border:1px solid #ffffffbd;border-radius:50%;transform:rotateX(57deg) rotateZ(-30deg);box-shadow:0 0 0 18px #fff1}.orbit-two{width:490px;height:490px;transform:rotateX(38deg) rotateY(35deg) rotateZ(35deg);border-color:#7f956a38}.account-spark{position:absolute;font-size:45px;filter:drop-shadow(0 6px 0 #7b98672e);color:#7f9b64}.spark-one{left:40px;top:26%;animation:account-float 6s ease-in-out infinite alternate-reverse}.spark-two{right:45px;bottom:23%;color:#bc9770;animation:account-float 9s ease-in-out infinite alternate}.spark-three{right:45px;top:22%;color:#a28ab8;font-size:35px}.social-signin{display:flex;gap:10px;flex-wrap:wrap;margin:18px 0}.social-signin:empty{display:none}.social-signin .social-button{flex:1;min-height:46px;padding:12px;border-radius:13px;border:1px solid #cbd3c0;background:#fffef9;text-decoration:none;text-align:center;font-size:14px;font-weight:700;box-shadow:0 3px 0 #dde2d5;display:flex;align-items:center;justify-content:center;gap:9px}.social-button:hover{background:#f0f5e7}.auth-tabs{flex-wrap:wrap}.account-main #auth-form{margin-top:20px}.account-main input{background:#f5f4e9}.account-main .close-dialog{right:17px;top:15px}.account-dialog::backdrop{background:#28362488;backdrop-filter:blur(9px)}@keyframes account-float{from{translate:0 -7px;rotate:-3deg}to{translate:0 8px;rotate:4deg}}
@media(min-width:1700px){.hero{gap:55px}.score-scene{height:355px}.score-paper{height:310px}.audience-card-copy{font-size:13px}}
@media(max-width:1240px){.hero{padding-left:18%;gap:27px}.hero h1{font-size:49px}.score-scene{min-width:300px}.score-paper{height:255px;padding:20px 12px}.audience-art{width:80px;height:80px}.audience-art svg{width:62px;height:62px}.audience-card-label{font-size:19px}.audience-card-copy{font-size:11px}.score-paper .audience-card-symbol{font-size:30px}.entry-actions{flex-direction:column;gap:11px}.entry-actions .button{min-height:45px}.zoom-game-card{--x:0px}.zoom-stage{height:630px}.category-tile{width:230px;height:290px}.category-tile-art{height:187px}}
@media(max-width:900px){.hero{padding-left:0;gap:0}.hero h1{max-width:650px;font-size:clamp(41px,6.5vw,55px)}.hero-copy{background:none!important}.score-scene{min-width:0;width:390px;height:285px;margin-top:6px}.score-paper{height:235px}.audience-art{width:75px;height:75px}.audience-art svg{width:58px;height:58px}.score-paper .audience-card-symbol{display:none}.audience-card-copy{font-size:10px}.score-banner{padding:28px;gap:20px}.score-banner-copy>p{font-size:22px}.score-banner #player-summary{gap:18px}.score-identity{max-width:130px}.score-number strong{font-size:61px}.score-number{gap:8px}.score-number>span{font-size:14px}.play-section>.section-heading{display:block}.play-section>.section-heading p{margin-top:14px;max-width:none}.audience-selector>button{padding:18px;column-gap:10px}.audience-selector strong{font-size:21px}.audience-selector small{font-size:11px}.audience-selector>button>span{font-size:28px}.level-option{padding:20px 17px;gap:12px}.level-option .brain-icon{width:45px;height:45px}.level-option strong{font-size:21px}.entry-intro h3{font-size:26px}.entry-actions{flex-direction:row}.game-panel.platform-entry{display:block}.entry-actions{margin-top:22px}.gallery-heading h3{font-size:32px}.zoom-runway{height:800px}.zoom-stage{height:610px;top:10px}.zoom-game-card{width:275px;height:490px}.zoom-game-card:nth-child(n+6){display:none}.zoom-game-card:nth-child(2){--x:-250px!important;--y:-130px!important}.zoom-game-card:nth-child(3){--x:250px!important;--y:-130px!important}.zoom-game-card:nth-child(4){--x:-260px!important;--y:160px!important}.zoom-game-card:nth-child(5){--x:260px!important;--y:160px!important}.zoom-stage.list-mode{grid-template-columns:repeat(2,minmax(0,1fr))}.list-mode .zoom-game-card{display:flex;width:auto}.video-gallery{gap:15px}.video-orbit-item h3{font-size:20px}.account-dialog{max-width:750px}.account-main{padding:40px 29px}.account-main h2{font-size:31px}.account-art{min-height:490px}.account-brain{width:130px;height:130px}.account-brain svg{width:100px;height:100px}}
@media(max-width:600px){.header .wordmark{font-size:20px}.header-actions .button.small{font-size:11px;max-width:100px;padding:9px 11px;line-height:1.2}.header .languages button{font-size:11px;padding:8px 9px}.hero h1{font-size:39px;max-width:390px}.hero-copy>p{font-size:17px}.score-scene{width:310px;height:240px;max-width:calc(100% - 50px);margin-right:24px}.score-paper{height:208px;font-size:16px;padding:18px 10px;gap:12px}.audience-card-label{font-size:16px}.audience-art{width:62px;height:62px}.audience-art svg{width:48px;height:48px}.audience-art i{font-size:24px;right:-5px;top:-7px}.audience-card-copy{font-size:10px;max-width:95px}.score-banner{width:calc(100% - 36px);padding:25px 23px;display:block;border-radius:26px;margin-top:25px}.score-banner-copy{max-width:none}.score-banner-copy>p{font-size:24px;max-width:300px}.score-banner #player-summary{justify-content:space-between;margin-top:18px;border-top:1px solid #b2c09f7a;padding-top:18px;gap:18px}.score-identity{text-align:left;max-width:170px}.score-identity>span{font-size:16px}.score-number strong{font-size:64px}.early-invite{flex-wrap:wrap;gap:3px 13px;margin-top:22px;font-size:14px}.early-invite .text-button{margin-left:0}.people-mark{font-size:27px}.play-section{padding-top:40px}.audience-selector{gap:10px}.audience-selector>button{padding:17px 8px;text-align:center;display:flex;flex-direction:column;align-items:center;gap:7px;border-radius:19px}.audience-selector>button>span{font-size:34px;line-height:1}.audience-selector strong{font-size:17px}.audience-selector small{font-size:10px;line-height:1.35;max-width:95px}.difficulty-step{margin-top:38px}.step-heading{align-items:flex-start;flex-direction:column;gap:7px}.step-heading h3{font-size:26px}.level-selector{flex-direction:row;gap:12px}.level-option{min-height:167px;display:flex;flex-direction:column;text-align:center;gap:7px;padding:15px 8px;border-radius:20px}.level-option .brain-icon{width:42px;height:42px;margin:0 0 4px;filter:drop-shadow(0 3px 0 #83986c35)}.level-option strong{font-size:18px}.level-option small{font-size:12px}.availability{font-size:10px!important;max-width:none;text-align:center;margin:4px 0 0}.game-panel.platform-entry{padding:26px 23px}.entry-intro h3{font-size:27px}.entry-actions{flex-direction:column}.entry-actions .button{width:100%;min-height:49px}.category-section{padding-top:45px}.gallery-heading{align-items:flex-start}.gallery-heading h3{font-size:30px;max-width:270px}.gallery-heading p{font-size:15px;margin-top:12px;max-width:240px}.gallery-heading .gallery-arrows{display:none}.category-helix{height:360px;margin:0 -18px;perspective:1000px}.category-tile{width:205px;height:272px;padding:11px 11px 15px;border-radius:23px}.category-tile-art{height:172px;border-radius:15px}.category-tile-text{padding-top:14px}.category-tile-text strong{font-size:19px}.category-tile-text small{font-size:11px}.category-glyph{font-size:49px}.category-caption{flex-direction:column;gap:19px;text-align:center;margin-top:0}.category-caption #category-current{min-width:0}.category-caption strong{font-size:25px}.category-caption .button{min-width:235px}.category-dots{margin-top:13px;gap:0}.game-library{padding-top:30px;margin-top:40px}.game-library-heading h3{font-size:31px}.game-library-heading p{font-size:14px;margin-top:12px}.game-library-controls{display:grid;grid-template-columns:auto 1fr;gap:10px;font-size:12px}.game-library-controls input,.game-library-controls select{grid-column:2;grid-row:auto;margin:0;min-width:0;font-size:13px;padding:12px}.game-library-controls label{font-size:12px;max-width:80px}.catalog-toolbar{margin-top:16px}.catalog-toolbar .fine-print{font-size:11px}.catalog-toolbar .gallery-arrows button{width:37px;height:37px;font-size:20px}.zoom-runway{height:auto;margin-top:23px}.zoom-stage{position:relative;top:auto;display:flex;overflow-x:auto;overscroll-behavior-x:contain;scroll-snap-type:x mandatory;height:auto;gap:18px;margin:0 -18px;padding:5px 20px 23px;perspective:none;scrollbar-width:thin;scrollbar-color:#9bae87 transparent}.zoom-stage .zoom-game-card{position:relative;display:flex!important;left:auto;top:auto;transform:none!important;width:calc(100vw - 95px);max-width:335px;height:525px;flex:none;scroll-snap-align:center;will-change:auto;border-radius:23px}.zoom-game-art{height:330px}.zoom-game-copy{padding:17px 18px 21px}.zoom-game-copy h4{font-size:25px}.zoom-game-copy .button{font-size:14px}.zoom-stage.list-mode{display:flex;flex-direction:column;overflow:visible;padding:0;margin:0;gap:24px}.list-mode .zoom-game-card{width:100%;max-width:none;height:550px}.catalog-empty{position:static;padding:25px;width:100%}#catalog-list-toggle{font-size:14px}.video-browser-controls{flex-wrap:wrap;gap:10px}.video-browser-controls label{font-size:13px}.video-browser-controls select{font-size:13px;max-width:none}.video-browser-controls .gallery-arrows{margin:7px 0 0 auto}.video-gallery{gap:16px;overflow-x:auto;scroll-snap-type:x mandatory;padding:12px 20px 25px;margin:0 -20px;align-items:stretch}.video-orbit-item{min-width:calc(100vw - 95px);max-width:350px;flex:none;transform:none!important;scroll-snap-align:center}.video-orbit-item video{max-height:380px}.video-orbit-item h3{font-size:24px}.account-dialog[open]{display:block}.account-dialog{max-width:430px;max-height:90svh;overflow-y:auto;border-radius:27px}.account-art{min-height:145px;height:145px}.account-brain{width:84px;height:84px;border-radius:32%;box-shadow:inset 0 2px 0 #fff,0 7px 0 #a7b98a60,0 15px 30px #4f693634}.account-brain svg{width:62px;height:62px}.account-orbit{width:270px;height:270px}.orbit-two{width:340px;height:340px}.account-spark{font-size:32px}.spark-one{top:20%;left:22%}.spark-two{bottom:22%;right:20%}.spark-three{top:16%;right:18%;font-size:27px}.account-main{padding:28px 25px 35px;max-height:none;overflow:visible}.account-main h2{font-size:31px;max-width:280px}.account-main .close-dialog{position:fixed;top:auto;right:calc(50% - min(50vw - 34px,195px));margin-top:-158px;background:#fff9ec}.account-promise{font-size:14px;margin:12px 0 20px}.account-main .auth-tabs button{font-size:11px;padding:9px 10px}.social-signin .social-button{font-size:13px}.account-main input{font-size:16px}}
@media(max-width:360px){.header .wordmark{font-size:18px}.header-actions .button.small{max-width:87px;font-size:10px}.header .languages button{padding:8px 7px;font-size:10px}.hero h1{font-size:34px}.score-scene{width:280px;max-width:calc(100% - 40px);height:222px}.score-paper{height:190px;padding:15px 9px;gap:11px}.audience-art{width:55px;height:55px}.audience-art svg{width:44px;height:44px}.audience-card-label{font-size:14px}.audience-card-copy{font-size:9px}.audience-selector strong{font-size:16px}.audience-selector small{font-size:9px}.level-option strong{font-size:16px}.level-option{padding-inline:5px}.score-number strong{font-size:58px}.game-library-controls label{max-width:65px}.category-caption .button{min-width:210px}}
html[data-motion=off] .category-tile,html[data-motion=off] .zoom-game-card,html[data-motion=off] .video-orbit-item{transition:none;will-change:auto}html[data-motion=off] .account-brain,html[data-motion=off] .account-spark{animation:none}
@media(prefers-reduced-motion:reduce){.category-tile,.zoom-game-card,.video-orbit-item,.audience-selector>button{transition:none;will-change:auto}.account-brain,.account-spark{animation:none}.zoom-runway{height:auto}.zoom-stage{position:relative;top:0;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px;height:auto;margin-top:25px}.zoom-stage .zoom-game-card{position:static;transform:none!important;width:auto;height:520px;display:flex;will-change:auto}.category-helix{cursor:default}.video-orbit-item{transform:none!important}}
@media(prefers-reduced-motion:reduce) and (max-width:600px){.zoom-stage{display:flex;gap:18px}.zoom-stage .zoom-game-card{width:calc(100vw - 95px)}.zoom-stage.list-mode{display:flex}.zoom-stage.list-mode .zoom-game-card{width:100%}}

@media(min-width:601px){.zoom-game-card:focus-within{transform:translate(-50%,-50%) scale(1)!important;z-index:25}}
.score-paper .audience-card-copy{max-width:90px;position:relative;left:-3px}

.category-helix{overflow:clip}
@media(max-width:360px){.category-helix,.zoom-stage,.video-gallery{margin-left:-16px;margin-right:-16px}.zoom-stage.list-mode{margin-left:0;margin-right:0}}

@media(min-width:901px){.audience-card-label{font-size:clamp(17px,1.35vw,23px);white-space:nowrap;max-width:100%}.layer-hard{top:42px}}

/* The selectors form a stable work area. Hiding later steps must not let the
   browser anchor the viewport to the unrelated challenge form below it. */
.play-section,.difficulty-step,.category-section,.game-library{overflow-anchor:none}
.category-helix{height:600px;margin-block:18px 7px;perspective:1300px;touch-action:pan-y;overflow:clip;border-radius:36px;background:radial-gradient(ellipse at 50% 50%,#fff9e72e,transparent 65%)}
.category-helix::after{bottom:80px;height:130px;opacity:.55}
.category-tile{width:236px;height:292px;transition:box-shadow .25s,opacity .18s;will-change:transform;cursor:pointer}
.category-tile-art{height:190px}
.category-tile:focus-visible{outline:3px solid #4b713c;outline-offset:5px}
.category-tile.current{box-shadow:0 25px 35px -17px #40533485,inset 0 2px 0 #fff}
.category-caption{margin-top:0}
.category-motion-toggle{display:block;margin:6px auto 0;min-height:44px;padding:10px 16px;font-size:13px;color:#4b6441}
.category-motion-toggle[aria-pressed=true]{text-decoration:underline;text-underline-offset:4px}
.category-dots{margin-top:17px}

/* Portrait category spiral. The middle receives a brief light as it passes;
   pointer/focus engagement, rather than an automatic dwell, pauses the flow. */
.category-helix{height:720px;mask-image:linear-gradient(to bottom,transparent,#000 48px,#000 calc(100% - 48px),transparent);margin-block:20px 8px}
/* The empty 3D track must not intercept the exposed, recessed tile faces. */
.helix-track{pointer-events:none}
.category-tile{width:236px;height:474px;padding:13px 13px 17px;border-radius:29px;transition:box-shadow .22s,border-color .22s,opacity .18s}
.category-tile-art{height:auto;aspect-ratio:9/16;border-radius:19px}
.category-tile-art img{opacity:.9;object-fit:cover;object-position:center;filter:none}
.category-tile-art::after{background:linear-gradient(160deg,#ffffff08,transparent 74%,var(--category-color))}
.category-tile-text{padding-top:13px;gap:5px}.category-tile-text strong{font-size:20px}.category-glyph{font-size:42px}
.category-tile.front-and-center{border-color:#fffde5;box-shadow:0 0 0 4px #fff9d2c9,0 0 35px #ffedc088,0 27px 38px -19px #405334a0,inset 0 2px 0 white}
.category-tile:hover,.category-tile:focus-visible{border-color:#fffde5;box-shadow:0 0 0 3px #fff9d2bf,0 26px 35px -17px #40533499}
.category-tile:focus-visible{outline:3px solid #50723e;outline-offset:6px}
.category-caption{margin-top:0}.category-caption .button{position:relative;z-index:2}

/* A circulating ribbon, with a shallow wave through a warm exhibition room.
   Card content stays front-on: no scale, perspective or rotation on live text. */
.zoom-runway.ribbon-runway{height:auto;margin:0;position:relative;overflow:visible}
.filmstrip-transport.ribbon-controls{display:flex;align-items:center;justify-content:space-between;gap:20px;margin:12px 0 8px}
.filmstrip-help{font-size:13px;line-height:1.5;color:#607451;max-width:470px}
.ribbon-actions{display:flex;align-items:center;gap:22px;flex-shrink:0}.ribbon-actions .gallery-arrows{display:flex!important;gap:8px}
.ribbon-actions .gallery-arrows[hidden]{display:none!important}.ribbon-motion-toggle{font-size:12px;min-height:44px;padding:9px 0;color:#536e42}
.ribbon-motion-toggle[aria-pressed=true]{text-decoration:underline;text-underline-offset:4px}
.zoom-stage.ribbon-gallery{--ribbon-card-width:clamp(228px,19vw,264px);position:relative;top:auto;display:block;height:820px;perspective:none;isolation:isolate;overflow:clip;margin:0 -12px 8px;padding:0;border-radius:34px;touch-action:pan-y;cursor:grab;background:radial-gradient(ellipse at 50% 46%,#fff7d44d,transparent 65%);scroll-snap-type:none}
.ribbon-gallery::before{content:'';position:absolute;pointer-events:none;left:4%;right:4%;bottom:22px;height:75px;border-radius:50%;background:radial-gradient(ellipse,#73845b23,transparent 70%);filter:blur(16px);z-index:-1}
.ribbon-gallery::after{content:'';position:absolute;pointer-events:none;width:90%;height:57%;left:5%;top:21%;border:1px solid #fff9d3a1;border-radius:50%;transform:rotate(-7deg);z-index:-1}
.ribbon-gallery.dragging{cursor:grabbing}.ribbon-gallery:focus-visible{outline:2px solid #7b995e;outline-offset:5px}
.zoom-stage.ribbon-gallery .ribbon-game-card{position:absolute;inset:auto;left:var(--ribbon-x,0px);top:var(--ribbon-y,30px);display:flex!important;flex:none;width:var(--ribbon-card-width);min-width:0;max-width:none;height:auto;transform:none!important;translate:none;scale:none;rotate:none;transform-style:flat;backface-visibility:visible;isolation:isolate;z-index:1;border:1px solid #ffffffe8;border-bottom:5px solid #a9bd91;border-radius:24px;overflow:hidden;background:#fffaf1;box-shadow:0 22px 29px -20px #35492da3;will-change:left,top;transition:box-shadow .18s,border-color .18s;user-select:none}
.zoom-stage.ribbon-gallery .ribbon-game-card:nth-child(3n+2){border-bottom-color:#d1ac7c}.zoom-stage.ribbon-gallery .ribbon-game-card:nth-child(3n){border-bottom-color:#b29ac4}
.zoom-stage.ribbon-gallery .ribbon-game-card:hover,.zoom-stage.ribbon-gallery .ribbon-game-card:focus-within{transform:none!important;z-index:auto;box-shadow:0 0 0 2px #fff9cecc,0 25px 33px -19px #35492d99;border-color:#fffde4}
.ribbon-game-card .zoom-game-art{position:relative;flex:none;width:100%;height:auto;min-height:0;aspect-ratio:9/16;background:var(--original-preview-bg,#f0e7d5);overflow:hidden}
.ribbon-game-card .zoom-game-art img{position:absolute;inset:0;display:block;width:100%;height:100%;object-fit:cover;object-position:center;transform:none;filter:none;opacity:1;pointer-events:none}
.ribbon-game-card .zoom-game-copy{position:relative;padding:15px 18px 18px;min-height:156px;flex:1;background:linear-gradient(135deg,#fffcf5,#f2f1e3);z-index:20}
.ribbon-game-card .game-type{font-size:9px;margin-bottom:6px;letter-spacing:.1em}.ribbon-game-card .zoom-game-copy h4{font-size:22px;line-height:1.12;letter-spacing:-.03em;margin:0 0 8px;min-height:25px}
.ribbon-game-card .game-facts{font-size:11px;line-height:1.4}.ribbon-game-card .game-description{display:none}
.ribbon-game-card .zoom-game-copy .button{position:static;display:flex;align-items:center;justify-content:center;min-height:46px;font-size:12px;padding:10px 8px;margin-top:13px;border-radius:12px;white-space:normal;transform:none}
.ribbon-card-link{display:flex;flex-direction:column;flex:1;min-width:0;color:inherit;text-decoration:none}.ribbon-card-link:focus-visible{outline:none}.ribbon-card-link:focus-visible .button{outline:3px solid #5b7c40;outline-offset:3px}.ribbon-gallery[data-ribbon-count="3"]{height:820px}
.ribbon-game-card .button:hover,.ribbon-game-card .button:active{transform:none}.ribbon-game-card .button:focus-visible{outline:3px solid #5b7c40;outline-offset:3px}
.ribbon-gallery[data-ribbon-count="0"]{height:260px}.ribbon-gallery .catalog-empty{position:relative;inset:auto;text-align:center;margin:30px;padding:45px 25px}
#catalog-list-toggle{display:block;margin:0 auto 18px;min-height:44px}
.zoom-stage.ribbon-gallery.list-mode{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:26px;height:auto;margin:0;padding:20px 0 30px;overflow:visible;background:none;border-radius:0;cursor:auto}
.ribbon-gallery.list-mode::before,.ribbon-gallery.list-mode::after{display:none}
.zoom-stage.ribbon-gallery.list-mode .ribbon-game-card{position:relative;inset:auto;left:auto;top:auto;width:100%;height:auto;transform:none!important;visibility:visible!important;will-change:auto}
.zoom-stage.ribbon-gallery.list-mode .ribbon-game-card:hover,.zoom-stage.ribbon-gallery.list-mode .ribbon-game-card:focus-within{transform:none!important}
.ribbon-gallery.list-mode .game-description{display:block;font-size:13px;line-height:1.5;margin:8px 0 12px;color:#647357}
@media(max-width:1000px){.zoom-stage.ribbon-gallery.list-mode{grid-template-columns:repeat(2,minmax(0,1fr))}.ribbon-actions{gap:14px}}
@media(max-width:600px){
 .category-helix{height:590px;margin:14px -18px 3px;border-radius:0}.category-tile{width:202px;height:413px;padding:11px 11px 14px;border-radius:25px}.category-tile-art{height:auto;aspect-ratio:9/16;border-radius:17px}.category-tile-text{padding-top:12px}.category-tile-text strong{font-size:18px}.category-tile-text small{font-size:11px}.category-caption{gap:15px}.category-dots{margin-top:12px}
 .filmstrip-transport.ribbon-controls{display:block;margin:9px 0 5px}.filmstrip-help{font-size:12px;max-width:310px}.ribbon-actions{justify-content:space-between;margin-top:6px;gap:10px}.ribbon-motion-toggle{font-size:12px}.ribbon-actions .gallery-arrows button{width:40px;height:40px;font-size:21px}
 .zoom-stage.ribbon-gallery{--ribbon-card-width:calc(100vw - 102px);height:800px;margin:0 -18px 3px;border-radius:0}.ribbon-game-card .zoom-game-copy{padding:17px 19px 20px;min-height:163px}.ribbon-game-card .zoom-game-copy h4{font-size:24px}.ribbon-game-card .zoom-game-copy .button{font-size:13px;min-height:48px}
 .zoom-stage.ribbon-gallery.list-mode{grid-template-columns:1fr;margin:0;padding:14px 0 24px}
}
@media(max-width:360px){.category-helix,.zoom-stage.ribbon-gallery{margin-left:-16px;margin-right:-16px}}
@media(prefers-reduced-motion:reduce){.ribbon-game-card,.category-tile{will-change:auto}.ribbon-game-card .button,.category-tile{transition:none}}
