:root{--page-width:1120px;--soft-gold:oklch(82% .11 85/.18)}button,a,input,select,textarea{-webkit-tap-highlight-color:transparent}button{cursor:pointer}button:disabled{cursor:not-allowed;opacity:.48}a{text-decoration:none}a:hover{color:var(--gold)}.app-shell{min-height:100svh;padding-bottom:105px}.topbar{max-width:var(--page-width);border-bottom:1px solid var(--soft-gold);justify-content:space-between;align-items:center;margin:auto;padding:25px 24px;display:flex}.wordmark{font-family:var(--font-heading);letter-spacing:-1px;align-items:center;gap:10px;font-size:32px;font-weight:600;display:flex}.wordmark svg,.wordmark-dot{color:var(--gold)}.account-link{color:var(--muted-foreground);align-items:center;gap:9px;font-size:14px;display:flex}.page{max-width:840px;margin:auto;padding:34px 24px 10px}.page-wide{max-width:var(--page-width)}.bottom-nav{z-index:40;-webkit-backdrop-filter:blur(20px);backdrop-filter:blur(20px);border-top:1px solid var(--soft-gold);padding:10px 16px max(10px, env(safe-area-inset-bottom));background:oklch(13% .04 275/.96);justify-content:center;display:flex;position:fixed;bottom:0;left:0;right:0}.bottom-nav a{min-width:125px;min-height:44px;color:var(--muted-foreground);border-radius:12px;justify-content:center;align-items:center;gap:9px;font-size:14px;display:flex}.bottom-nav a.active{color:var(--gold);background:var(--soft-gold)}.footer-note{text-align:center;color:var(--muted-foreground);font-family:var(--font-heading);opacity:.8;margin:28px 20px 0;font-size:17px;font-style:italic}.eyebrow{color:var(--gold);letter-spacing:2.2px;text-transform:uppercase;align-items:center;gap:8px;font-size:12px;font-weight:600;display:flex}.page-heading{margin-bottom:32px}.page-heading h1{margin:10px 0 16px;font-size:clamp(38px,4.4vw,57px);font-weight:500;line-height:1.06}.page-heading p.muted{max-width:630px;line-height:1.7}.muted{color:var(--muted-foreground)}.text-sm{font-size:14px}.stack{flex-direction:column;gap:18px;display:flex}.panel{background:var(--card);border:1px solid var(--soft-gold);border-radius:20px;padding:28px}.panel h2,.section-heading h2,.notice h2{font-size:28px;line-height:1.15}.notice{border:1px solid var(--soft-gold);background:var(--soft-gold);border-radius:16px;margin-bottom:24px;padding:20px 24px}.notice h2{margin-bottom:8px;font-size:23px}.notice p{color:var(--muted-foreground);line-height:1.65}.notice .text-button{margin-top:12px}.field{flex-direction:column;gap:10px;display:flex}.field legend{margin-bottom:12px}.field label,.field legend{font-size:14px;font-weight:600}.field input,.field textarea{min-height:48px;font-size:16px}.field textarea{line-height:1.6}.form-grid{grid-template-columns:1fr 1fr;gap:20px;display:grid}.form-narrow{max-width:530px;margin:auto}.field select,select{background:var(--background);color:var(--foreground);border:1px solid var(--border);border-radius:10px;max-width:100%;min-height:46px;padding:12px;font-family:inherit;font-size:14px}.field input:focus,.field textarea:focus{outline-color:var(--gold)}.primary-button,.secondary-button{border-radius:11px;justify-content:center;align-items:center;gap:10px;min-height:50px;padding:13px 20px;font-size:14px;font-weight:700;transition:background .15s,transform .15s;display:inline-flex}.primary-button{background:var(--primary);color:var(--primary-foreground);border:1px solid #0000;box-shadow:0 4px 20px oklch(76% .15 52/.08)}.primary-button:hover{color:var(--primary-foreground);background:oklch(83% .13 52);transform:translateY(-1px)}.secondary-button{border:1px solid var(--border);background:var(--secondary);color:var(--foreground)}.secondary-button:hover{border-color:var(--gold);color:var(--foreground)}.text-button{min-height:44px;color:var(--muted-foreground);background:0 0;border:0;justify-content:center;align-items:center;gap:8px;font-size:14px;display:inline-flex}.text-button:hover{color:var(--gold)}.icon-button{border-radius:10px;justify-content:center;align-items:center;min-width:44px;min-height:44px;display:inline-flex}.icon-button:hover{background:var(--secondary)}.button-row{flex-wrap:wrap;align-items:center;gap:12px;display:flex}.row-between{justify-content:space-between;align-items:center;gap:16px;display:flex}.row-between>.muted{align-items:center;gap:6px;display:flex}.pill{border:1px solid var(--soft-gold);color:var(--gold);background:var(--soft-gold);letter-spacing:.5px;border-radius:50px;align-items:center;gap:6px;width:fit-content;padding:7px 12px;font-size:12px;font-weight:600;display:inline-flex}.home-layout{grid-template-columns:1fr 1.15fr;align-items:center;gap:12px;min-height:570px;display:grid}.home-copy h1{letter-spacing:-3px;margin:26px 0;font-size:clamp(65px,7.5vw,100px);font-weight:500;line-height:.98}.home-copy h1 em{color:var(--gold);font-weight:500}.home-description{color:var(--muted-foreground);font-size:17px;line-height:1.8}.game-facts{color:var(--muted-foreground);gap:20px;margin:23px 0 28px;font-size:13px;display:flex}.game-facts span{align-items:center;gap:7px;display:flex}.home-actions{gap:12px;display:flex}.home-actions .primary-button{min-width:200px}.home-actions .secondary-button{min-width:155px}.home-small-actions{flex-wrap:wrap;gap:24px;margin-top:14px;display:flex}.resume-link{color:var(--gold);align-items:center;gap:8px;min-height:40px;margin-top:12px;font-size:13px;display:flex}.home-art{isolation:isolate;justify-content:center;align-items:center;height:500px;display:flex;position:relative}.hero-card{aspect-ratio:5/7;background:var(--card);border:1px solid oklch(82% .11 85/.55);border-radius:17px;width:235px;padding:7px;transition:transform .4s;position:absolute;overflow:hidden;box-shadow:0 25px 55px oklch(6% .03 275/.75)}.hero-card img{object-fit:cover;border-radius:11px;width:100%;height:100%}.card-left{transform:translate(-125px,5px)rotate(-16deg)}.card-right{transform:translate(125px,5px)rotate(16deg)}.card-center{transform:translateY(-16px)rotate(-3deg)}.home-art:hover .card-left{transform:translate(-135px)rotate(-18deg)}.home-art:hover .card-right{transform:translate(135px)rotate(18deg)}.home-art:hover .card-center{transform:translateY(-24px)rotate(0)}.orbit{border:1px solid var(--soft-gold);z-index:-1;border-radius:50%;width:460px;height:460px;position:absolute}.orbit-two{opacity:.45;border-style:dashed;width:395px;height:395px}.art-star{color:var(--gold);font-size:28px;position:absolute}.star-one{top:27px;left:25%}.star-two{font-size:35px;bottom:60px;right:9%}.art-caption{color:var(--muted-foreground);letter-spacing:2px;align-items:center;gap:10px;font-size:10px;display:flex;position:absolute;bottom:4px}.tiny-line{background:var(--soft-gold);width:24px;height:1px}.how-strip{border-top:1px solid var(--soft-gold);grid-template-columns:1fr 1fr 1fr;gap:28px;margin-top:28px;padding:30px 0 10px;display:grid}.how-strip>div{align-items:center;gap:17px;display:flex}.how-strip>div>span{font-family:var(--font-heading);color:var(--gold);opacity:.65;font-size:34px}.how-strip p{color:var(--muted-foreground);font-size:13px;line-height:1.8}.how-strip strong{color:var(--foreground);font-size:15px;font-weight:500}.rules-dialog{max-height:85svh;overflow:auto}.rules-list{flex-direction:column;gap:18px;padding-left:20px;font-size:15px;line-height:1.65;list-style:decimal;display:flex}.rules-list strong{display:block}.error-note{color:oklch(85% .1 25);background:oklch(62% .2 25/.08);border:1px solid oklch(62% .2 25/.5);border-radius:12px;margin:15px 0;padding:13px 17px;font-size:14px;line-height:1.6}.success-note{border:1px solid var(--soft-gold);color:var(--gold);border-radius:12px;margin:18px 0;padding:15px 20px}.loading-note,.empty-note,.waiting-note{text-align:center;color:var(--muted-foreground);padding:30px;font-size:15px}.segmented{border:1px solid var(--border);background:var(--background);border-radius:12px;gap:4px;padding:5px;display:flex}.segmented button{min-height:42px;color:var(--muted-foreground);border-radius:8px;flex:1;padding:8px 16px;font-size:14px}.segmented .selected{color:var(--gold);background:var(--secondary)}.category-pills,.quantity-presets{flex-wrap:wrap;gap:8px;display:flex}.category-pills button,.quantity-presets button{color:var(--muted-foreground);border:1px solid var(--border);background:0 0;border-radius:50px;min-height:44px;padding:10px 16px;font-size:13px}.category-pills .selected,.quantity-presets .selected{background:var(--soft-gold);border-color:var(--gold);color:var(--gold)}.category-pills span{opacity:.7;margin-left:4px}.card-gallery{grid-template-columns:repeat(5,minmax(0,1fr));gap:24px 16px;display:grid}.collection-count{color:var(--muted-foreground);margin:24px 0;font-size:13px}.card-gallery .fable-frame{height:100%}.card-gallery .fable-frame>span:last-child{min-height:36px;font-family:var(--font-heading);color:var(--foreground);justify-content:center;align-items:center;font-size:18px;line-height:1.05;display:flex}.lobby-grid{grid-template-columns:.8fr 1.4fr;gap:24px;display:grid}.invite-panel{text-align:center;flex-direction:column;align-items:center;gap:20px;display:flex}.qr-frame{background:#fff;border-radius:14px;width:222px;height:222px;padding:16px}.large-room-code{letter-spacing:6px;color:var(--gold);font-size:32px;font-weight:700}.room-code-input{text-align:center;letter-spacing:7px;height:70px!important;font-size:28px!important}.roster{flex-direction:column;display:flex}.roster-row{border-bottom:1px solid var(--border);align-items:center;gap:10px;padding:13px 0;font-size:14px;display:flex}.roster-row>strong{overflow-wrap:anywhere;flex:1}.ready-tag{color:var(--gold);font-size:12px}.prize-note{border:1px dashed var(--soft-gold);border-radius:10px;padding:12px;font-size:14px}.avatar{background:var(--avatar-color,var(--primary));width:37px;height:37px;color:var(--ink);font-family:var(--font-heading);border-radius:50%;flex-shrink:0;justify-content:center;align-items:center;font-size:22px;font-weight:700;display:flex;position:relative}.avatar svg{background:var(--gold);border-radius:5px;width:18px;height:18px;padding:2px;position:absolute;bottom:-3px;right:-3px}.avatar-color-0{--avatar-color:oklch(76% .15 52)}.avatar-color-1{--avatar-color:oklch(72% .12 170)}.avatar-color-2{--avatar-color:oklch(77% .12 290)}.avatar-color-3{--avatar-color:oklch(82% .1 85)}.avatar-color-4{--avatar-color:oklch(78% .13 350)}.game-topline{justify-content:space-between;align-items:center;gap:14px;font-size:14px;display:flex}.timer{font-variant-numeric:tabular-nums;color:var(--gold);align-items:center;gap:6px;display:flex}.scoreboard{flex-wrap:wrap;gap:10px;padding:24px 0;display:flex}.player-score{border:1px solid var(--border);background:var(--card);border-radius:12px;flex:1;align-items:center;gap:8px;min-width:125px;padding:9px 12px;display:flex}.player-score.is-storyteller{border-color:var(--gold)}.player-score>div{flex-direction:column;gap:3px;min-width:0;display:flex}.player-score>div>span{text-overflow:ellipsis;white-space:nowrap;max-width:140px;font-size:12px;overflow:hidden}.player-score strong{font-size:18px}.player-score small{color:var(--muted-foreground);font-size:11px;font-weight:400}.phase-track{border-bottom:1px solid var(--soft-gold);justify-content:space-between;align-items:center;gap:5px;padding-bottom:20px;list-style:none;display:flex}.phase-track li{color:var(--muted-foreground);align-items:center;gap:7px;font-size:13px;display:flex}.phase-track li>span{border:1px solid var(--border);border-radius:50%;justify-content:center;align-items:center;width:23px;height:23px;font-size:11px;display:flex}.phase-track .active{color:var(--gold)}.phase-track .active>span,.phase-track .done>span{background:var(--gold);color:var(--ink);border-color:var(--gold)}.clue-panel{text-align:center;padding:30px 0 22px}.clue-panel .eyebrow{justify-content:center;font-size:11px}.clue-panel h1{margin:10px 0 16px;font-size:clamp(32px,4vw,44px);line-height:1.1}.clue-panel p.muted{font-size:14px;line-height:1.7}.clue-panel blockquote{font-family:var(--font-heading);color:var(--gold);overflow-wrap:anywhere;justify-content:center;align-items:center;gap:12px;margin:16px auto;font-size:35px;font-style:italic;display:flex}.clue-panel blockquote span{font-size:25px}.hand-heading{justify-content:space-between;align-items:center;gap:12px;margin:20px 0;display:flex}.hand-heading h2{font-size:26px}.hand-heading>span{color:var(--muted-foreground);align-items:center;gap:6px;font-size:12px;display:flex}.hand-grid{grid-template-columns:repeat(6,minmax(0,1fr));gap:10px;padding-top:6px;display:grid}.ballot-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:23px 18px;display:grid}.original-card .fable-frame{border:2px solid var(--gold);box-shadow:0 0 30px var(--soft-gold)}.own-ballot{opacity:.55}.ballot-caption{justify-content:space-between;align-items:center;gap:5px;margin-top:10px;font-size:13px;display:flex}.ballot-caption>span{align-items:center;gap:5px;display:flex}.ballot-caption small{color:var(--muted-foreground);white-space:nowrap}.action-dock{background:var(--card);border:1px solid var(--soft-gold);border-radius:18px;flex-direction:column;gap:14px;margin:28px 0 0;padding:20px;display:flex}.action-dock input{min-height:50px;font-size:16px}.selected-label{color:var(--gold);align-items:center;gap:8px;font-size:13px;display:flex}.clue-modes{max-width:400px}.card-choice-dialog{max-width:420px;max-height:94svh;padding:18px;overflow:auto}.card-choice-dialog>img{object-fit:contain;border-radius:10px;width:100%;max-height:66svh}.next-round{width:100%;margin:28px 0;display:flex}.skip-round{margin:20px auto;display:flex}.reveal-summary{border:1px solid var(--soft-gold);background:var(--card);border-radius:16px;padding:24px}.reveal-summary h2{margin-bottom:8px;font-size:28px}.reveal-summary>p{font-size:14px;line-height:1.7}.round-points{flex-wrap:wrap;gap:12px;margin-top:20px;display:flex}.round-points>div{background:var(--background);border-radius:12px;flex-direction:column;flex:1;gap:6px;min-width:130px;padding:13px;display:flex}.round-points span{font-size:13px}.round-points strong{color:var(--gold);font-size:30px;font-family:var(--font-heading)}.round-points small{color:var(--muted-foreground);font-size:11px}.results{text-align:center;align-items:center;padding:30px 0}.result-icon{color:var(--gold);border:1px solid var(--soft-gold);background:var(--soft-gold);border-radius:50%;padding:26px}.results h1{max-width:650px;font-size:clamp(40px,6vw,64px);line-height:1.05}.award-badge{color:var(--gold);border:1px solid var(--gold);border-radius:50px;align-items:center;gap:8px;padding:12px 18px;font-size:13px;display:flex}.result-list{flex-direction:column;gap:10px;width:100%;max-width:540px;margin:16px 0;display:flex}.result-list>div{background:var(--card);border:1px solid var(--border);border-radius:15px;align-items:center;gap:16px;padding:20px;display:flex}.result-list strong{text-align:left;flex:1;font-size:16px}.result-list small{color:var(--muted-foreground);font-size:12px}.result-rank{color:var(--gold);width:24px}.empty-state{text-align:center;border:1px dashed var(--soft-gold);color:var(--muted-foreground);border-radius:20px;flex-direction:column;align-items:center;gap:18px;margin:24px 0;padding:55px 25px;display:flex}.empty-state svg{color:var(--gold)}.empty-state h2{color:var(--foreground);font-size:32px}.empty-state p{max-width:430px;line-height:1.7}.ranking-period{max-width:360px;margin-bottom:28px}.ranking-table-wrap{border:1px solid var(--border);border-radius:16px;overflow-x:auto}.ranking-table{border-collapse:collapse;text-align:left;width:100%;font-size:14px}.ranking-table th,.ranking-table td{border-bottom:1px solid var(--border);padding:18px 13px}.ranking-table th{background:var(--card);color:var(--muted-foreground);font-size:12px;font-weight:500}.ranking-table td small{color:var(--muted-foreground);margin-top:4px;font-size:11px;display:block}.ranking-table th:last-child,.ranking-table td:last-child{text-align:right;color:var(--gold)}.studio-stats{grid-template-columns:repeat(4,1fr);gap:12px;margin:25px 0;display:grid}.studio-stats>div{background:var(--card);border:1px solid var(--soft-gold);border-radius:16px;flex-direction:column;gap:5px;padding:20px;display:flex}.studio-stats strong{font-size:36px;font-family:var(--font-heading);color:var(--gold)}.studio-stats span{color:var(--muted-foreground);font-size:12px}.studio-tabs{background:var(--card);justify-content:stretch;gap:5px;width:100%;height:auto;margin-bottom:25px;padding:6px;display:flex}.studio-tabs>button{flex:1;min-height:44px;font-size:14px}.studio-create-grid{grid-template-columns:1.35fr 1fr;gap:24px;display:grid}.quantity-presets button{border-radius:8px;flex:1;min-width:42px;padding:8px}.generation-cost{background:var(--background);border-radius:12px;flex-direction:column;gap:8px;padding:18px;display:flex}.generation-cost span{color:var(--muted-foreground);font-size:12px}.generation-cost strong{color:var(--gold);font-size:22px}.generation-cost small{font-size:12px;font-weight:400}.generation-cost p{color:var(--muted-foreground);font-size:12px;line-height:1.7}.generation-cost a{color:var(--gold);text-decoration:underline}.studio-guidance{text-align:center;padding:25px 18px}.studio-guidance>span{color:var(--gold);font-size:32px}.studio-guidance h2{margin:15px 0;font-size:34px;line-height:1.1}.studio-guidance p{color:var(--muted-foreground);margin-top:16px;font-size:14px;line-height:1.8}.section-heading{margin:24px 0}.section-heading>p{margin-top:12px;font-size:14px;line-height:1.7}.world-grid{grid-template-columns:repeat(3,1fr);gap:20px;display:grid}.world-panel{padding:0;overflow:hidden}.world-panel>.stack{padding:22px}.world-panel p{font-size:14px;line-height:1.6}.world-art{height:155px;overflow:hidden}.world-art img{object-fit:cover;object-position:50% 35%;width:100%;height:100%}.world-panel .text-button{justify-content:flex-start}.review-gallery .button-row{justify-content:center;gap:4px}.review-gallery .secondary-button{min-height:42px;padding:8px 12px;font-size:12px}.review-gallery .text-button{font-size:12px}.batch-progress{background:var(--background);border-radius:10px;height:8px;overflow:hidden}.batch-progress>span{background:var(--gold);height:100%;transition:width .4s;display:block}.checkbox-label{align-items:center;gap:10px;font-size:14px;line-height:1.7;display:flex}.checkbox-label input{width:18px;height:18px;accent-color:var(--gold)}details summary{color:var(--gold);cursor:pointer;min-height:44px;padding:12px 0;font-size:14px}.mt-6{margin-top:24px}@media (width>=1500px){.page-wide,.topbar{max-width:1250px}.home-layout{min-height:650px}.home-art{height:550px}.hero-card{width:260px}}@media (width<=1000px){.home-layout{grid-template-columns:1fr 1fr}.home-actions{flex-direction:column;max-width:300px}.hero-card{width:195px}.card-left{transform:translate(-85px,5px)rotate(-16deg)}.card-right{transform:translate(85px,5px)rotate(16deg)}.orbit{width:370px;height:370px}.orbit-two{width:310px;height:310px}.card-gallery{grid-template-columns:repeat(4,minmax(0,1fr))}.world-grid{grid-template-columns:repeat(2,1fr)}}@media (width<=700px){.topbar{padding:17px 18px}.wordmark{font-size:28px}.account-link{font-size:12px}.account-link svg{display:none}.page{padding:26px 18px 0}.bottom-nav{padding:7px 8px max(7px, env(safe-area-inset-bottom))}.bottom-nav a{flex-direction:column;flex:1;gap:4px;min-width:0;min-height:48px;font-size:11px}.home-layout{flex-direction:column;gap:0;min-height:0;display:flex}.home-art{order:-1;width:100%;max-width:400px;height:245px;margin-top:-15px;overflow:hidden}.hero-card{border-radius:11px;width:137px;padding:4px}.hero-card img{border-radius:7px}.card-left{transform:translate(-83px,3px)rotate(-17deg)}.card-right{transform:translate(83px,3px)rotate(17deg)}.card-center{transform:translateY(-9px)rotate(-3deg)}.home-art:hover .card-left{transform:translate(-83px,3px)rotate(-17deg)}.home-art:hover .card-right{transform:translate(83px,3px)rotate(17deg)}.home-art:hover .card-center{transform:translateY(-9px)rotate(-3deg)}.orbit{width:275px;height:275px}.orbit-two{width:220px;height:220px}.star-one{top:1px;left:19%}.star-two{font-size:21px;bottom:23px;right:10%}.art-caption{display:none}.home-copy{text-align:center;width:100%}.home-copy>.eyebrow{letter-spacing:1.6px;justify-content:center;margin-top:10px;font-size:9px}.home-copy h1{letter-spacing:-1.8px;margin:14px 0;font-size:54px;line-height:1.02}.home-copy h1 br,.home-description{display:none}.game-facts{justify-content:center;gap:18px;margin:17px 0;font-size:12px}.home-actions{grid-template-columns:1fr 1fr;gap:10px;max-width:100%;display:grid}.home-actions .primary-button,.home-actions .secondary-button{min-width:0;padding:12px;font-size:12px}.home-actions .primary-button svg:last-child{display:none}.home-small-actions{justify-content:center;gap:20px;margin-top:7px}.home-small-actions .text-button{font-size:12px}.resume-link{justify-content:center}.how-strip{gap:12px;margin-top:23px;padding-top:23px}.how-strip>div{flex-direction:column;align-items:flex-start;gap:5px}.how-strip>div>span{font-size:26px}.how-strip strong{font-size:13px}.how-strip p{font-size:11px;line-height:1.7}.panel{border-radius:17px;padding:22px}.form-grid{gap:14px}.lobby-grid{grid-template-columns:1fr}.invite-panel{gap:16px}.roster-row{flex-wrap:wrap}.roster-row .icon-button{margin-left:auto}.card-gallery{grid-template-columns:repeat(2,minmax(0,1fr));gap:20px 12px}.card-gallery .fable-frame>span:last-child{font-size:17px}.category-pills{gap:6px}.category-pills button{padding:8px 13px;font-size:12px}.game-topline{gap:8px;font-size:12px}.game-topline .pill{padding:6px 9px;font-size:10px}.scoreboard{gap:6px;padding:18px 0}.player-score{gap:6px;min-width:96px;padding:8px}.player-score .avatar{width:28px;height:28px;font-size:19px}.player-score>div>span{max-width:88px;font-size:10px}.player-score strong{font-size:17px}.player-score small{font-size:10px}.phase-track li{gap:4px;font-size:11px}.phase-track li>span{width:21px;height:21px}.clue-panel{padding:22px 0 10px}.clue-panel h1{font-size:33px}.clue-panel .eyebrow{letter-spacing:1.4px;font-size:9px}.clue-panel blockquote{font-size:30px}.clue-panel p.muted{font-size:13px}.hand-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:14px 9px}.ballot-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:22px 12px}.hand-heading h2{font-size:24px}.hand-heading>span,.ballot-caption{font-size:11px}.reveal-summary{padding:20px}.reveal-summary h2{font-size:26px}.round-points{gap:8px}.round-points>div{min-width:80px;padding:10px}.round-points span{font-size:11px}.round-points small{font-size:10px}.round-points strong{font-size:26px}.studio-stats{grid-template-columns:1fr 1fr;gap:10px}.studio-stats>div{padding:16px}.studio-stats strong{font-size:30px}.studio-tabs{gap:0}.studio-tabs>button{white-space:normal;padding:8px 5px;font-size:11px}.studio-create-grid,.world-grid{grid-template-columns:1fr}.studio-guidance{padding:15px}.section-heading h2{font-size:25px}.section-heading.row-between{flex-wrap:wrap}.ranking-table th,.ranking-table td{padding:15px 9px;font-size:12px}.ranking-table th{font-size:10px}.game-table .primary-button{min-height:50px}.results h1{font-size:41px}.result-list>div{padding:17px}.result-list strong{font-size:14px}.empty-state{padding:40px 20px}.empty-state h2{font-size:30px}.page-heading h1{font-size:40px}.page-heading p.muted{font-size:14px}.app-shell{padding-bottom:100px}}@media (prefers-reduced-motion:reduce){*{transition:none!important;animation:none!important}}html,body{overscroll-behavior:none}button,a,.card-image,.bottom-nav,.topbar,.category-pills{-webkit-user-select:none;user-select:none;-webkit-touch-callout:none;touch-action:manipulation}button:active:not(:disabled),.primary-button:active,.secondary-button:active,.bottom-nav a:active{transition:transform 80ms ease-out;transform:scale(.97)}.topbar{z-index:30;-webkit-backdrop-filter:blur(18px);backdrop-filter:blur(18px);padding-top:max(12px, env(safe-area-inset-top));background:oklch(13% .04 275/.92);min-height:56px;position:sticky;top:0}.topbar-inner{align-items:center;gap:6px;min-width:0;display:flex}.back-button{width:44px;height:44px;color:var(--gold);background:0 0;border-radius:12px;flex-shrink:0;place-items:center;margin-left:-10px;display:grid}.topbar-title{font-family:var(--font-heading);text-overflow:ellipsis;white-space:nowrap;font-size:24px;font-weight:600;overflow:hidden}.settings-list{border:1px solid var(--soft-gold);border-radius:16px;flex-direction:column;margin-top:24px;display:flex;overflow:hidden}.settings-list a{border-bottom:1px solid var(--soft-gold);align-items:center;min-height:52px;padding:0 18px;display:flex}.settings-list a:last-child{border-bottom:0}.settings-list a:after{content:"›";color:var(--gold);margin-left:auto;font-size:22px}@media (width<=700px){.topbar{padding:max(10px, env(safe-area-inset-top)) 16px 10px}.wordmark{font-size:25px}.page{padding:16px 16px 0;padding-left:max(16px, env(safe-area-inset-left));padding-right:max(16px, env(safe-area-inset-right))}.page-heading{margin-bottom:16px}.page-heading .eyebrow{display:none}.page-heading h1{margin:0 0 6px;font-size:30px}.page-heading p.muted{margin:0}.chip-row{scroll-snap-type:x proximity;scrollbar-width:none;flex-wrap:nowrap;margin:0 -16px 12px;padding:0 16px 4px;overflow-x:auto}.chip-row::-webkit-scrollbar{display:none}.chip-row>*{white-space:nowrap;scroll-snap-align:start;flex-shrink:0}.offline-shortcut{margin:0 0 12px}.offline-shortcut .secondary-button{min-height:44px;font-size:14px}.card-gallery{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.sticky-action{bottom:calc(76px + env(safe-area-inset-bottom));z-index:20;width:100%;box-shadow:var(--shadow-lift);position:sticky}.home-copy h1{font-size:46px}}@media (display-mode:standalone){.install-only-web{display:none}}.install-prompt{border-color:color-mix(in oklab, var(--gold) 45%, transparent)}.install-prompt>div:first-child{justify-content:space-between;align-items:center;gap:.75rem;display:flex}.install-prompt .icon-button{min-width:44px;min-height:44px;color:var(--muted-foreground);border-radius:999px;place-items:center;display:inline-grid}.install-steps{gap:.6rem;padding-left:1.25rem;list-style:decimal;display:grid}.install-steps li svg{vertical-align:-3px;color:var(--gold);display:inline}
