@font-face{font-family:Fredoka;src:url('/todo-hub/assets/fredoka.woff2') format('woff2');font-weight:300 700;font-display:swap}
:root{--paper:#faf9f7;--panel:#fff;--ink:#252129;--muted:#726b74;--pink:#ff006c;--blush:#fff0f6;--line:#eae6e8;--dark:#15151b;--mint:#4ef0b8;--radius:16px;--space:8px;color-scheme:light;font-family:Arial,Helvetica,sans-serif;color:var(--ink);background:var(--paper)}
*{box-sizing:border-box}body{margin:0}button,input,a{-webkit-tap-highlight-color:transparent}button,input{font:inherit}button{cursor:pointer}button,a,input{outline-offset:4px}button:focus-visible,a:focus-visible,input:focus-visible{outline:3px solid var(--pink)}button{border:0;background:none;color:inherit}button:disabled{opacity:.45;cursor:default}a{color:inherit;text-decoration:none}svg{width:22px;height:22px;display:block;stroke:currentColor;stroke-width:1.8;fill:none;stroke-linecap:round;stroke-linejoin:round;flex-shrink:0}img{display:block;max-width:100%}::selection{background:var(--pink);color:#fff}::-webkit-scrollbar{width:5px}::-webkit-scrollbar-thumb{background:#c7bdc3;border-radius:8px}.pink{color:var(--pink)}.skip-link{position:fixed;left:8px;top:-80px;padding:16px;background:var(--panel);z-index:100}.skip-link:focus{top:8px}
.sidebar{position:fixed;inset:0 auto 0 0;width:256px;background:var(--panel);border-right:1px solid var(--line);padding:36px 24px 20px;display:flex;flex-direction:column;z-index:5}.brand{display:flex;gap:8px;align-items:center;margin:0 0 36px 6px}.brand>img{width:39px;height:38px;object-fit:contain}.brand>span{font:600 34px/1 Fredoka;letter-spacing:-.025em;display:flex;align-items:baseline}.brand i,.mobile-brand i{width:6px;height:6px;border-radius:50%;background:var(--pink);margin-left:3px}.search-launch{display:flex;gap:8px;align-items:center;background:#f5f3f4;border-radius:10px;padding:12px 10px;color:#6d626b;font-size:11px;white-space:nowrap}.search-launch svg{width:17px;height:17px}.search-launch kbd{border:1px solid #dbd5d9;border-radius:4px;padding:2px 4px;margin-left:auto;font-size:11px}.main-nav{display:grid;gap:8px;margin:24px 0}.main-nav button{display:flex;align-items:center;gap:14px;padding:14px 12px;text-align:left;border-radius:10px;font-size:14px;font-weight:600;min-height:48px}.main-nav button:hover,.studio-link:hover{background:#faf6f8}.main-nav button.selected{background:var(--blush);color:#cf0058}.main-nav button.selected svg{stroke-width:2.4}.nav-dot{margin-left:auto;width:6px;height:6px;background:var(--pink);border-radius:50%}.count{margin-left:auto;font-size:11px;font-weight:400;background:#f0edf0;border-radius:6px;padding:3px 6px}.nav-rule{border-top:1px solid var(--line)}.small-label{font-size:11px;letter-spacing:.1em;color:var(--muted);margin:24px 8px 12px}.studio-link{display:flex;align-items:center;gap:10px;text-align:left;padding:8px 4px;font-size:12px;font-weight:600}.studio-link small{display:block;font-size:11px;font-weight:400;color:var(--muted);margin-top:5px}.studio-link>svg{width:15px;margin-left:auto;color:var(--muted)}.studio-avatar{background:#17151a;color:#fff;position:relative;font:600 22px/1 Fredoka;width:39px;height:39px;border-radius:12px;display:flex;align-items:center;justify-content:center;flex-shrink:0}.studio-avatar>span{width:5px;height:5px;background:var(--pink);border-radius:50%;margin:10px 0 0 2px}.sidebar-bottom{margin-top:auto;padding-top:28px}.creator-note{position:relative;background:#fff2f6;border-radius:var(--radius);padding:24px 16px 16px;overflow:hidden}.creator-note>img{width:100px;position:absolute;right:-19px;top:8px;transform:rotate(-13deg)}.creator-note strong{position:relative;font:500 23px/1.1 Fredoka;display:block;letter-spacing:-.02em}.creator-note p{font-size:11px;line-height:1.6;color:#785b6a;max-width:150px;margin:14px 0}.creator-note button{font-size:11px;display:flex;align-items:center;gap:10px;padding:4px 0;font-weight:600}.creator-note button svg{width:16px}.lab-link{display:flex;align-items:center;gap:10px;font-size:11px;width:100%;padding:24px 4px 16px;color:#60565e}.lab-link svg{width:17px}.beta-label{font-size:11px;background:#f0edf0;border-radius:4px;padding:3px 4px;margin-left:auto;color:#6f6470}.sidebar-foot{display:flex;justify-content:space-between;color:#706570;font-size:11px;padding:8px 4px 0}
main{margin-left:256px}.topbar{height:88px;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;padding:0 48px}.feed-tabs{display:flex;gap:32px;align-self:stretch}.feed-tabs button{font-size:14px;position:relative;color:var(--muted);padding:0 4px;display:flex;gap:8px;align-items:center}.feed-tabs button[aria-selected=true]{font-weight:600;color:var(--ink)}.feed-tabs button[aria-selected=true]:after{content:'';height:3px;background:var(--pink);position:absolute;bottom:0;left:0;right:0;border-radius:3px 3px 0 0}.tiny-dot{width:5px;height:5px;border-radius:50%;background:var(--pink)}.topbar-end{display:flex;align-items:center;gap:20px}.experiment{font-size:11px;color:var(--muted);display:flex;gap:7px;align-items:center}.experiment i{width:5px;height:5px;border-radius:50%;background:#1c9e6c}.avatar{width:36px;height:36px;background:#f6e4ed;border-radius:50%;padding:8px}.avatar img{height:100%;width:100%;object-fit:contain}.mobile-brand{display:none}.workspace{max-width:1140px;margin:auto;display:grid;grid-template-columns:minmax(400px,1fr) 264px;gap:60px;padding:28px 48px 20px}.feed-heading{display:flex;align-items:center;justify-content:space-between;margin-bottom:18px;gap:12px}.feed-heading h1{font:500 23px/1.2 Fredoka;margin:0;letter-spacing:-.02em}.feed-heading>span{font-size:11px;white-space:nowrap;color:var(--muted)}.genre-bar{display:flex;gap:8px;margin-bottom:20px}.genre-bar button{padding:8px 14px;border-radius:20px;font-size:11px;font-weight:600;background:#eeebed;min-height:32px}.genre-bar button.active{background:var(--ink);color:#fff}.genre-bar button:hover{box-shadow:inset 0 0 0 1px #a8a0a7}.feed-wrap{position:relative;max-width:460px;margin:0 auto}#feed{height:calc(100dvh - 248px);min-height:440px;max-height:760px;overflow-y:auto;scroll-snap-type:y mandatory;scrollbar-width:none;border-radius:var(--radius);background:var(--dark);box-shadow:0 16px 32px #30202c12}#feed::-webkit-scrollbar{display:none}.reel{width:100%;height:100%;scroll-snap-align:start;scroll-snap-stop:always;position:relative;isolation:isolate;overflow:hidden;background:#16141c;color:#fff}.reel img.cover{width:100%;height:100%;object-fit:cover;opacity:.82}.reel video{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;background:#18151c}.reel:after{content:'';position:absolute;inset:0;background:linear-gradient(180deg,#100d1b30 0%,transparent 25%,transparent 40%,#0d0b17b0 69%,#0d0b17f5 100%);z-index:0;pointer-events:none}.reel-top{position:absolute;top:20px;left:20px;right:20px;display:flex;justify-content:space-between;z-index:2;align-items:center}.preview-label{font-size:11px;letter-spacing:.07em;font-weight:600;display:flex;align-items:center;gap:6px;background:#1a172a80;padding:7px 9px;border-radius:6px}.preview-label i{width:5px;height:5px;border-radius:50%;background:var(--mint)}.sound-button{background:#18132066;color:white;padding:9px;border-radius:50%;min-width:36px;min-height:36px}.sound-button svg{width:16px;height:16px}.reel-actions{position:absolute;z-index:3;right:16px;bottom:204px;display:flex;flex-direction:column;gap:16px}.reel-actions button{display:flex;align-items:center;flex-direction:column;gap:5px;min-width:44px;font-size:11px;color:#fff;text-shadow:0 1px 8px #000}.reel-actions .icon-circle{background:#1b17234d;border-radius:50%;width:40px;height:40px;display:grid;place-items:center}.reel-actions svg{width:23px;height:23px}.reel-actions button[aria-pressed=true]{color:#ff5b9f}.reel-actions button[aria-pressed=true] svg{fill:currentColor;stroke:currentColor}.reel-content{position:absolute;left:24px;right:24px;bottom:24px;z-index:3}.maker{display:flex;align-items:center;gap:7px;font-size:11px;margin-bottom:10px;font-weight:600}.maker .studio-avatar{width:22px;height:22px;border-radius:6px;font-size:12px}.maker .studio-avatar span{width:3px;height:3px;margin:7px 0 0 1px}.verified{display:grid;place-items:center;background:white;color:#514152;width:12px;height:12px;border-radius:50%;font-size:11px}.reel h2{font:500 36px/1.05 Fredoka;letter-spacing:-.025em;margin:0 0 9px;max-width:86%}.reel .description{font-size:11px;line-height:1.6;color:#f4edf5;margin:0 0 12px;max-width:85%}.tags{display:flex;gap:5px;align-items:center;font-size:11px;color:#eee3f0;margin-bottom:20px}.tags span{padding:4px 7px;background:#ffffff18;border-radius:4px}.tags .tag-bullet{background:none;padding:0}.play-button{display:flex;justify-content:center;align-items:center;gap:9px;background:var(--pink);color:#fff;border-radius:10px;min-height:49px;width:100%;font-weight:700;font-size:13px;box-shadow:none}.play-button:hover{background:#e60060}.play-button svg{width:18px;height:18px;fill:currentColor;stroke-width:0}.play-caption{text-align:center;font-size:11px;color:#d6ccd9;margin:9px 0 0;display:flex;justify-content:center;align-items:center;gap:5px}.play-caption svg{width:11px;height:11px}.page-controls{position:absolute;left:calc(100% + 14px);top:44%;display:grid;gap:10px;justify-items:center}.page-controls button{width:32px;height:32px;border:1px solid #dfd9dd;border-radius:50%;display:grid;place-items:center;background:#fff}.page-controls button:hover{background:var(--blush);color:var(--pink)}.page-controls button svg{width:15px;height:15px}.page-controls>span{text-align:center;font-size:11px;line-height:1.7;letter-spacing:.08em;color:#706570;margin-top:6px}.feed-foot{display:flex;align-items:center;gap:6px;color:#706570;font-size:11px;max-width:460px;margin:14px auto 0}.feed-foot svg{width:13px;height:13px}.feed-position{margin-left:auto;font-variant-numeric:tabular-nums;font-size:11px}.right-rail{padding-top:8px}.rail-title{display:flex;align-items:center;gap:12px}.rail-title h2{font:500 18px/1.25 Fredoka;margin:0}.rail-title>svg{width:17px;color:var(--pink)}.rail-intro{font-size:11px;color:var(--muted);margin:9px 0 24px}.queue-item{width:100%;display:flex;align-items:center;gap:12px;text-align:left;padding:14px 0;border-bottom:1px solid var(--line)}.queue-item>img{width:55px;height:62px;object-fit:cover;border-radius:8px;background:#e9e0e7}.queue-item strong{display:block;font-size:12px;margin-bottom:7px}.queue-item small{font-size:11px;color:var(--muted)}.queue-item>svg{width:15px;margin-left:auto;color:#706570}.queue-item:hover strong{color:var(--pink)}.studio-feature{background:#f1eaff;border-radius:var(--radius);padding:24px;margin-top:32px;position:relative;overflow:hidden}.studio-feature .studio-avatar{width:32px;height:32px;border-radius:9px;font-size:19px}.studio-feature h2{font:500 29px/1.08 Fredoka;margin:16px 0 12px;letter-spacing:-.02em;color:#342844}.studio-feature p{font-size:11px;line-height:1.8;color:#61536c;max-width:185px}.studio-feature button{font-size:11px;font-weight:600;display:flex;align-items:center;gap:20px;padding:16px 0 4px;color:#342844}.studio-feature button svg{width:16px}.feature-dots{position:absolute;right:16px;top:24px;display:flex;gap:4px}.feature-dots i{border-radius:50%;width:5px;height:5px;background:#c3addc}.feature-dots i:first-child{background:var(--pink)}.rail-fine{font-size:11px;line-height:1.8;color:#706570;margin:24px 4px}.mobile-nav{display:none}
.initial-loading,.empty-feed{min-height:100%;padding:40px;color:#fff;display:flex;flex-direction:column;justify-content:center;align-items:center;text-align:center;font-size:14px;gap:20px}.empty-feed h2{font:500 28px Fredoka;margin:0}.empty-feed p{font-size:12px;line-height:1.7;color:#d9cedb}.empty-feed button{background:var(--pink);padding:14px 20px;border-radius:10px;color:#fff}.runtime{position:absolute;inset:0;z-index:6;background:#100f15}.runtime iframe{width:100%;height:100%;border:0;display:block}.runtime-toolbar{position:absolute;top:12px;left:12px;right:12px;z-index:12;display:flex;justify-content:space-between;pointer-events:none}.runtime-toolbar button{background:#19151ee8;color:white;border:1px solid #ffffff50;padding:10px 12px;border-radius:8px;display:flex;align-items:center;gap:7px;font-size:11px;pointer-events:auto;min-height:40px}.runtime-toolbar svg{width:15px;height:15px}.runtime-loading{position:absolute;inset:0;display:flex;flex-direction:column;justify-content:center;align-items:center;padding:32px;background:#17131deb;color:#fff;text-align:center;z-index:8}.runtime-loading img{width:80px;height:80px;object-fit:contain;border-radius:16px;margin-bottom:20px}.runtime-loading strong{font:500 27px Fredoka}.runtime-loading p{font-size:12px;color:#ddd1df;line-height:1.7}.load-track{height:4px;width:180px;background:#ffffff25;border-radius:3px;overflow:hidden;margin:12px 0}.load-track i{display:block;height:100%;width:0;background:var(--pink);transition:width .2s}.runtime-loading button{padding:12px 24px;border-radius:8px;color:#fff;background:var(--pink);margin-top:12px}.sponsor{background:#f6f0e5;color:#35251d;display:flex;align-items:center;justify-content:center;text-align:center}.sponsor:after{display:none}.sponsor .reel-top{color:#765746}.sponsor-content{padding:32px}.sponsor img{width:170px;margin:0 auto 24px}.sponsor h2{font:500 42px/1.05 Fredoka;max-width:none}.sponsor p{font-size:13px;line-height:1.8;color:#725f54}.sponsor button{background:#35251d;color:white;padding:15px 24px;border-radius:10px;margin-top:12px}.sponsor small{display:block;color:#755c4e;font-size:11px;line-height:1.8;margin-top:24px}
dialog{border:0;padding:28px;width:min(520px,calc(100% - 32px));max-height:85dvh;border-radius:20px;box-shadow:0 24px 100px #15101f40;color:var(--ink);background:var(--panel)}dialog::backdrop{background:#19111c80;backdrop-filter:blur(5px)}.dialog-head{display:flex;justify-content:space-between;align-items:center;gap:16px;margin-bottom:20px}.dialog-head h2{font:500 26px Fredoka;margin:0}.dialog-head button{padding:10px;border-radius:50%;background:#f2eef1}.dialog-head svg{width:17px;height:17px}#panel-body p{font-size:13px;line-height:1.8;color:#665c66}#panel-body .search-input{width:100%;padding:14px;border:1px solid #d8ced6;border-radius:10px;caret-color:var(--pink);margin-bottom:12px}#panel-body .queue-item{padding:12px 0}#panel-body .queue-item img{height:64px}.lab-status{background:#f6f3f5;border-radius:12px;padding:16px;font-size:11px;line-height:1.8;color:#5e525e}.lab-status strong{color:var(--ink)}.lab-row{padding:14px 0;border-bottom:1px solid var(--line);font-size:12px}.lab-row>div{display:flex;justify-content:space-between;gap:12px}.lab-row small{display:block;font-size:11px;color:var(--muted);margin:8px 0}.lab-track{height:3px;background:#e9e1e7;margin-top:10px;border-radius:3px;overflow:hidden}.lab-track i{height:100%;background:var(--pink);display:block}.lab-controls{display:flex;gap:12px;flex-wrap:wrap;margin:16px 0}.lab-controls button{border:1px solid #d9d0d6;border-radius:8px;padding:12px;font-size:11px}.lab-controls button.active{background:var(--blush);color:#bc0050;border-color:#f9a6c9}.panel-primary{display:block;padding:14px;background:var(--pink);border-radius:10px;text-align:center;color:white;font-weight:600;font-size:12px;margin-top:20px}.controls-copy{padding:16px;background:#f7f2f6;border-radius:12px}.studio-panel-intro{display:flex;align-items:center;gap:16px}.studio-panel-intro .studio-avatar{width:50px;height:50px}.no-results{padding:30px 8px;text-align:center;font-size:13px;color:var(--muted)}#toast{position:fixed;left:calc(50% + 100px);bottom:24px;transform:translate(-50%,24px);z-index:1000;background:#28212b;color:white;border-radius:10px;box-shadow:0 8px 24px #0002;padding:14px 20px;font-size:12px;opacity:0;transition:opacity .2s,transform .2s;pointer-events:none;max-width:calc(100% - 40px);text-align:center}#toast.visible{opacity:1;transform:translate(-50%,0)}
@media(min-width:1600px){.workspace{padding-top:36px;gap:80px}.feed-wrap{max-width:470px}.feed-heading{margin-bottom:24px}}
@media(max-width:1250px){.sidebar{width:224px;padding:28px 20px 18px}main{margin-left:224px}.workspace{gap:40px;padding:28px 40px 20px;grid-template-columns:minmax(350px,1fr) 225px}.topbar{padding:0 40px}.feed-heading>span{display:none}.studio-feature{padding:20px}.page-controls{left:calc(100% + 8px)}.page-controls>span{display:none}.brand>span{font-size:31px}.search-launch{font-size:11px}.feed-wrap{max-width:430px}}
@media(max-width:1050px){.right-rail{display:none}.workspace{display:block;max-width:650px;padding:24px 52px 20px}.feed-wrap{max-width:440px}.feed-heading>span{display:block}.topbar{height:76px}.feed-heading h1{font-size:21px}#feed{height:calc(100dvh - 232px)}.page-controls{left:calc(100% + 12px)}}
@media(max-width:760px){.sidebar{display:none}main{margin:0}.topbar{height:62px;padding:0 16px;position:fixed;inset:0 0 auto;z-index:10;background:var(--paper)}.mobile-brand{display:flex;align-items:baseline;font:600 25px Fredoka;letter-spacing:-.025em}.mobile-brand>span{color:var(--pink)}.mobile-brand i{width:4px;height:4px}.feed-tabs{gap:16px;margin-left:auto;margin-right:16px}.feed-tabs button{font-size:11px;padding:0}.feed-tabs button .tiny-dot{display:none}.experiment{display:none}.avatar{width:30px;height:30px;padding:6px}.topbar-end{gap:0}.workspace{padding:62px 0 64px;max-width:none}.feed-heading,.genre-bar,.feed-foot,.page-controls{display:none}.feed-wrap{max-width:none}#feed{height:calc(100dvh - 126px);min-height:0;max-height:none;border-radius:0;box-shadow:none}.reel{height:100%}.reel-content{bottom:22px;left:22px;right:22px}.reel h2{font-size:36px}.reel .description{font-size:12px}.reel-top{top:18px;left:20px;right:20px}.reel-actions{bottom:210px}.maker{font-size:11px}.tags{font-size:11px}.play-button{min-height:50px}.play-caption{font-size:11px}.mobile-nav{display:flex;position:fixed;bottom:0;left:0;right:0;height:64px;z-index:10;background:var(--panel);border-top:1px solid var(--line);padding-bottom:env(safe-area-inset-bottom,0px);justify-content:space-around}.mobile-nav button{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;min-width:60px}.mobile-nav small{font-size:11px}.mobile-nav svg{width:21px;height:21px}.mobile-nav .selected{color:#d5005b}.mobile-nav .selected svg{stroke-width:2.5}#toast{left:50%;bottom:80px}.reel img.cover{object-position:center}.runtime-toolbar{top:8px;left:8px;right:8px}.runtime-toolbar button{font-size:11px;padding:9px}.sponsor h2{font-size:40px}}
@media(max-height:760px) and (min-width:761px){.creator-note{display:none}.sidebar-bottom{padding-top:16px}.workspace{padding-top:20px}.feed-heading{margin-bottom:12px}.genre-bar{margin-bottom:14px}#feed{height:calc(100dvh - 214px);min-height:350px}.reel h2{font-size:30px}.reel-content{bottom:18px}.tags{margin-bottom:12px}.reel-actions{bottom:185px}.studio-feature{margin-top:20px;padding:16px}.studio-feature h2{font-size:25px}.rail-fine{margin-top:16px}.play-button{min-height:44px}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{scroll-behavior:auto!important;transition:none!important;animation:none!important}}

.game-mount{position:absolute;inset:0}.sponsor-content button{display:inline-flex;align-items:center;gap:10px}.sponsor-content button svg{width:17px;height:17px}


.play-button{background:#db005d}.reel .description{font-size:12px}.rail-intro,.studio-feature p,.creator-note p,.rail-fine{font-size:12px}.page-controls button{width:40px;height:40px}.sound-button{min-width:44px;min-height:44px}.search-launch{font-size:11px}.small-label{line-height:1.6}.sidebar-foot{line-height:1.6;flex-wrap:wrap;gap:4px}.preview-label{font-size:10px}.feed-position{font-size:11px}.mobile-nav button{min-height:44px}@media(max-width:1250px){.search-launch kbd{display:none}}@media(max-width:760px){.preview-label{font-size:11px}.reel-actions button{font-size:11px}}


/* Official studio artwork keeps its original transparent proportions. */
.studio-lockup{display:block;min-width:0;width:164px}.studio-wordmark{display:block;width:164px;height:auto;object-fit:contain;flex-shrink:0}.studio-link{gap:12px;min-height:64px}.studio-link .studio-wordmark{width:100%;max-width:164px}.studio-link small{line-height:1.5;margin-top:9px}.studio-feature>.studio-wordmark{width:164px;max-width:calc(100% - 16px);margin:2px 0 20px}.studio-feature h2{margin-top:0}.maker .studio-wordmark{width:122px;max-height:25px}.maker{min-height:26px;gap:8px}.studio-panel-intro{flex-direction:column;align-items:flex-start;gap:8px}.studio-panel-intro>.studio-wordmark{width:204px;max-width:100%}.studio-panel-intro p{margin-top:0}
.welcome-screen{position:fixed;inset:0;z-index:90;display:grid;place-items:center;background:var(--paper);padding:24px;overflow:auto}.welcome-screen[hidden],html[data-welcome-seen="true"] .welcome-screen{display:none}.welcome-content{width:min(100%,420px);text-align:center;padding:32px 16px}.welcome-studio{width:180px;height:auto;margin:0 auto 24px}.welcome-playground{height:152px;position:relative;margin:0 auto 28px;max-width:300px;overflow:hidden}.welcome-mascot{position:absolute;bottom:23px;left:calc(50% - 52px);width:104px;height:114px;object-fit:contain;z-index:2;animation:welcome-mow 2.8s ease-in-out infinite}.welcome-pixels{position:absolute;left:8px;right:8px;bottom:12px;display:flex;justify-content:space-between;align-items:flex-end;height:35px}.welcome-pixels i{display:block;width:12px;height:28px;background:#66ae79;border-radius:2px;transform-origin:bottom;animation:welcome-trim 2.8s ease-in-out infinite}.welcome-pixels i:nth-child(2n){height:20px;background:#4d9863}.welcome-pixels i:nth-child(3n){height:34px}.welcome-pixels i:nth-child(2){animation-delay:.08s}.welcome-pixels i:nth-child(3){animation-delay:.16s}.welcome-pixels i:nth-child(4){animation-delay:.24s}.welcome-pixels i:nth-child(5){animation-delay:.32s}.welcome-pixels i:nth-child(6){animation-delay:.4s}.welcome-pixels i:nth-child(7){animation-delay:.48s}.welcome-pixels i:nth-child(8){animation-delay:.56s}.welcome-pixels i:nth-child(9){animation-delay:.64s}.welcome-pixels i:nth-child(10){animation-delay:.72s}.welcome-pixels i:nth-child(11){animation-delay:.8s}.welcome-pixels i:nth-child(12){animation-delay:.88s}.welcome-sweep{position:absolute;bottom:9px;height:3px;background:#d9e8d8;left:0;right:0;border-radius:2px}#welcome-title{font:500 32px/1.1 Fredoka;letter-spacing:-.02em;margin:0 0 12px;text-wrap:balance}#welcome-detail{font-size:14px;line-height:1.7;color:#6e5c68;margin:0 auto 24px;max-width:32ch;min-height:48px}#welcome-progress{display:block;width:216px;max-width:100%;height:6px;border:0;border-radius:4px;overflow:hidden;margin:0 auto 28px;background:#eee3e8;accent-color:var(--pink)}#welcome-progress::-webkit-progress-bar{background:#eee3e8;border-radius:4px}#welcome-progress::-webkit-progress-value{background:var(--pink);border-radius:4px}#welcome-progress::-moz-progress-bar{background:var(--pink);border-radius:4px}#welcome-skip{background:#db005d;color:#fff;min-height:48px;padding:13px 24px;border-radius:10px;font-size:14px;font-weight:600;display:inline-flex;align-items:center;justify-content:center;gap:12px}#welcome-skip:hover{background:#bc0050}#welcome-skip svg{width:18px;height:18px}.welcome-footnote{color:#776570;font-size:12px;line-height:1.6;margin:14px 0 0}html[data-welcome-open] body{overflow:hidden}
.lab-status p{margin:8px 0!important;font-size:12px!important;line-height:1.6!important;color:inherit!important}.lab-section-title{font-size:13px;line-height:1.4;display:flex;justify-content:space-between;gap:16px;margin:24px 0 8px}.lab-section-title>span{font-size:11px;font-weight:400;color:var(--muted)}.lab-queue-row>div>span{font-size:11px;white-space:nowrap}.lab-row>div>strong{min-width:0}.lab-engines{padding:0;margin:0;list-style:none}.lab-engines li{display:flex;justify-content:space-between;align-items:center;gap:16px;font-size:11px;line-height:1.5;padding:10px 0;border-bottom:1px solid var(--line)}.lab-engines li>span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;min-width:0}.lab-engines strong{font-size:11px;white-space:nowrap}.lab-file-details{margin-top:24px}.lab-file-details summary{font-size:12px;cursor:pointer;padding:12px 0}.lab-empty{font-size:12px!important;line-height:1.6!important;background:#f6f3f5;padding:12px 16px;border-radius:10px}
@keyframes welcome-mow{0%,100%{transform:translateX(-66px) rotate(-6deg)}48%{transform:translateX(66px) rotate(5deg)}52%{transform:translateX(66px) rotate(-3deg)}}
@keyframes welcome-trim{0%,15%,100%{transform:scaleY(1)}45%,70%{transform:scaleY(.28)}}
@media(max-width:1250px){.studio-lockup{width:146px}.studio-feature>.studio-wordmark{width:148px}.studio-link small{font-size:11px}}
@media(max-width:760px){.welcome-screen{padding:20px}.welcome-content{padding:24px 8px}.welcome-studio{width:164px;margin-bottom:20px}.welcome-playground{height:140px;margin-bottom:24px}#welcome-title{font-size:30px}.maker .studio-wordmark{width:122px}.lab-status{line-height:1.7}.lab-row>div{gap:8px}}
@media(prefers-reduced-motion:reduce){.welcome-mascot,.welcome-pixels i{animation:none!important}.welcome-mascot{transform:none}.welcome-screen progress:not([value]){visibility:hidden}}
@media(max-width:760px){
  .mobile-nav .studio-home{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;min-width:60px;min-height:44px;color:inherit;text-decoration:none}
  .mobile-nav .studio-home svg{width:21px;height:21px}
  .mobile-nav .studio-home small{font-size:11px}
  .mobile-nav .studio-home:focus-visible{outline:2px solid var(--pink);outline-offset:-3px;border-radius:8px}
}

/* Shared chrome dimensions keep the desktop player inside the workspace. */
:root { --hub-sidebar-width: 256px; --hub-topbar-height: 88px; }
.stats-link { display: inline-flex; align-items: center; min-height: 36px; padding: 6px 8px; border-radius: 8px; color: var(--muted); font-size: 12px; font-weight: 600; white-space: nowrap; }
.maker .verified { display: inline-flex; align-items: center; justify-content: center; flex: 0 0 16px; width: 16px; height: 16px; padding: 3px; border-radius: 50%; background: #fff; color: #3a2942; line-height: 0; overflow: hidden; }
.maker .verified svg { display: block; width: 100%; height: 100%; stroke: currentColor; stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; fill: none; }
.stats-link:hover { color: #cf0058; background: var(--blush); }
@media (max-width: 1250px) { :root { --hub-sidebar-width: 224px; } }
@media (max-width: 1050px) { :root { --hub-topbar-height: 76px; } }
@media (max-width: 760px) { :root { --hub-sidebar-width: 0px; --hub-topbar-height: 62px; } .stats-link { display: none; } }

/* Only the reels and side lists scroll on desktop. Loading and focusing a
   game cannot move the app chrome or alter the feed's saved scroll position. */
@media (min-width: 761px) {
  html, body { height: 100%; overflow: hidden; }
  main { height: 100dvh; min-height: 0; display: flex; flex-direction: column; }
  .topbar { flex: 0 0 var(--hub-topbar-height); }
  .workspace { flex: 1; width: 100%; min-height: 0; overflow: hidden; align-items: start; grid-template-rows: minmax(0, 1fr); }
  .feed-column { display: flex; flex-direction: column; height: 100%; min-height: 0; }
  .feed-heading, .genre-bar, .feed-foot { flex-shrink: 0; }
  .feed-wrap { flex: 1; width: 100%; min-height: 0; max-height: 760px; margin-top: 0; margin-bottom: 0; }
  #feed { height: 100%; min-height: 0; max-height: none; }
  .right-rail { height: 100%; min-height: 0; overflow-y: auto; overscroll-behavior: contain; padding-right: 5px; }
  .sidebar { overflow-y: auto; overscroll-behavior: contain; }
}

/* Discovery: keep the preview immersive while making each action easy to find. */
.mobile-feed-tip{display:none}
#feed{overscroll-behavior-y:contain;touch-action:pan-y}
.reel:after{background:linear-gradient(180deg,#100d1b66 0%,#100d1b05 30%,#0d0b1740 52%,#0d0b17df 78%,#0d0b17fa 100%)}
.reel-top{gap:12px}
.preview-label{border:1px solid #ffffff30;background:#191622b8;border-radius:999px;letter-spacing:.06em;padding:8px 11px;backdrop-filter:blur(8px)}
.sound-button{display:grid;place-items:center;border:1px solid #ffffff35;background:#191622b8;backdrop-filter:blur(8px)}
.reel-content{bottom:22px}
.reel-content>.maker,.reel-content>h2,.reel-content>.description,.reel-content>.tags{max-width:calc(100% - 62px)}
.reel h2{text-wrap:balance;text-shadow:0 2px 20px #0008}
.reel .description{font-size:13px;line-height:1.45;color:#fff;text-shadow:0 1px 10px #000}
.tags{flex-wrap:wrap;gap:6px;margin-bottom:16px}
.tags span{border-radius:6px;background:#ffffff25}
.tags .tag-bullet{background:none}
.reel-actions{right:14px;gap:10px}
.reel-actions button{min-width:48px;min-height:49px;padding:0 2px;font-weight:600}
.reel-actions .icon-circle{width:44px;height:44px;border:1px solid #ffffff45;background:#191622b8;backdrop-filter:blur(8px)}
.reel-actions button:hover .icon-circle,.sound-button:hover{background:#413345;border-color:#fff9}
.reel-actions button:focus-visible,.sound-button:focus-visible{outline:3px solid white;outline-offset:1px;border-radius:10px}
.play-button{min-height:52px;border-radius:13px;font-size:15px;box-shadow:0 5px 18px #0004}
.play-caption{color:#eee4ef;font-size:12px}
.page-controls button{width:44px;height:44px;box-shadow:0 4px 14px #30202c12}
.feed-position{font-weight:700}
.genre-bar{overflow-x:auto;overscroll-behavior-x:contain;scrollbar-width:none}
.genre-bar::-webkit-scrollbar{display:none}
.genre-bar button{white-space:nowrap;min-height:40px;font-size:12px}
.queue-item{border-radius:8px;min-height:72px;padding:10px 6px}
.queue-item:focus-visible{outline-offset:-2px}

@media(max-width:760px){
  :root{--hub-topbar-height:calc(62px + env(safe-area-inset-top,0px));--hub-mobile-nav-height:calc(64px + env(safe-area-inset-bottom,0px))}
  .topbar{height:var(--hub-topbar-height);padding-top:env(safe-area-inset-top,0px);padding-left:max(16px,env(safe-area-inset-left,0px));padding-right:max(16px,env(safe-area-inset-right,0px))}
  .workspace{padding-top:var(--hub-topbar-height);padding-bottom:var(--hub-mobile-nav-height)}
  #feed{height:calc(100dvh - var(--hub-topbar-height) - var(--hub-mobile-nav-height))}
  .mobile-nav{height:var(--hub-mobile-nav-height);padding-left:env(safe-area-inset-left,0px);padding-right:env(safe-area-inset-right,0px)}
  .mobile-nav button,.mobile-nav .studio-home{min-width:0;flex:1}
  .mobile-nav .selected{position:relative}
  .mobile-nav .selected:before{content:'';position:absolute;top:5px;width:30px;height:26px;border-radius:12px;background:#fff0f6;z-index:-1}
  .feed-foot{display:flex;position:fixed;z-index:4;top:calc(var(--hub-topbar-height) + 60px);left:50%;transform:translateX(-50%);width:max-content;max-width:calc(100% - 32px);margin:0;padding:6px 10px;border:1px solid #ffffff35;border-radius:999px;background:#191622b8;color:#fff;font-size:11px;box-shadow:0 2px 12px #0003;pointer-events:none;backdrop-filter:blur(8px)}
  .feed-foot svg,.desktop-feed-tip{display:none}
  .mobile-feed-tip{display:inline}
  .feed-position{margin-left:6px;color:#eee4ef}
  body.player-open .feed-foot{display:none}
  .reel-content{left:max(20px,env(safe-area-inset-left,0px));right:max(20px,env(safe-area-inset-right,0px));bottom:18px}
  .reel-content>.maker,.reel-content>h2,.reel-content>.description,.reel-content>.tags{max-width:calc(100% - 64px)}
  .reel h2{font-size:clamp(29px,8vw,38px)}
  .reel .description{font-size:13px}
  .reel-actions{right:max(12px,env(safe-area-inset-right,0px));bottom:190px}
  .play-button{min-height:52px}
  .mobile-nav small{font-size:11px}
  #toast{bottom:calc(var(--hub-mobile-nav-height) + 16px)}
}
@media(max-width:760px) and (max-height:670px){
  .feed-foot{top:calc(var(--hub-topbar-height) + 52px)}
  .reel-content{bottom:12px}
  .reel h2{font-size:27px;margin-bottom:5px}
  .reel .description{font-size:12px;line-height:1.35;margin-bottom:7px}
  .maker{margin-bottom:5px}
  .tags{margin-bottom:9px}
  .reel-actions{bottom:150px;gap:3px}
  .reel-actions .icon-circle{width:40px;height:40px}
  .reel-actions button{min-height:43px;gap:1px}
  .play-caption{margin-top:5px}
}
@media(prefers-reduced-motion:reduce){#feed{scroll-behavior:auto}}
.mobile-search{display:none}
.sound-button[hidden],.feed-foot[hidden]{display:none}
@media(max-width:760px){
  .mobile-search{display:grid;place-items:center;width:40px;height:44px;border-radius:12px;color:#514852}
  .mobile-search svg{width:20px;height:20px}
  .mobile-search:hover{background:#f2e9ee}
  .topbar-end{gap:3px}
  .feed-tabs{margin-right:8px}
}
@media(max-width:360px){.avatar{display:none}.feed-tabs{gap:10px;margin-right:4px}.mobile-brand{font-size:23px}}
.visually-hidden{position:absolute!important;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
/* Compact phones need a shallow action row so all four targets remain reachable. */
@media(max-width:760px) and (max-height:520px){
  .feed-foot{display:none}
  .reel-actions{top:66px;bottom:auto;left:12px;right:12px;flex-direction:row;justify-content:flex-end;gap:8px}
  .reel-actions button{min-width:45px}
  .reel-content>.maker,.reel-content>h2,.reel-content>.description,.reel-content>.tags{max-width:100%}
  .reel-content{bottom:8px}
  .reel h2{font-size:24px}
  .reel .description{margin-bottom:4px}
  .tags{margin-bottom:5px}
  .play-button{min-height:46px}
  .play-caption{margin-top:3px}
}
/* On short desktop windows allow the whole page to scroll instead of shrinking
   the reel below its content; the game player itself remains a fixed stage. */
@media(min-width:761px) and (max-height:600px){
  html,body{height:auto;overflow:auto}
  main{height:auto;min-height:100dvh}
  .workspace{overflow:visible;display:block}
  .feed-column{height:auto}
  .feed-wrap{flex:none;height:max(360px,calc(100dvh - 100px));max-height:760px}
  .right-rail{display:none}
}
/* Touch users can swipe the reel or use the same accessible Previous / Next buttons. */
#feed{touch-action:auto}
@media(max-width:760px){
  .page-controls{display:flex;position:absolute;top:66px;left:12px;right:auto;z-index:4;gap:6px}
  .page-controls button{width:44px;height:44px;background:#191622d9;color:#fff;border:1px solid #ffffff55;box-shadow:0 2px 10px #0003}
  .page-controls button:focus-visible{outline:3px solid #fff;outline-offset:1px}
  .page-controls>span{display:none}
  .feed-foot{top:calc(var(--hub-topbar-height) + 120px)}
  body.player-open .page-controls{display:none}
}
@media(max-width:760px) and (max-height:520px){
  .page-controls{top:66px;left:12px;gap:4px}
  .reel-actions{left:auto;right:12px;gap:2px}
  .reel-actions button{min-width:42px;padding:0}
}
