:root{--background:#1e1b2e;--foreground:#f3ece2;--primary:#ffc94d;--primary-foreground:#1e1b2e;--muted:#252137;--muted-foreground:#b3aac4;--accent:#3a3452;--accent-foreground:#f3ece2;--card:#2a2640;--card-foreground:#f3ece2;--border:#3d3756;--input:#8a80a6;--ring:#ffc94d;--brush-preview-in:#f3ece2;--brush-preview-out:#1e1b2e;--plane-butter-light:#fff4cc;--plane-butter-base:#fce49b;--plane-butter-shade:#f2cb72;--plane-butter-ink:#c9913f;--plane-butter-inner:#f2b85c;--plane-butter-gloss:#fffdf3;--plane-squishy-light:#f3e6ff;--plane-squishy-base:#e2ccfa;--plane-squishy-shade:#d3baf3;--plane-squishy-ink:#9a78c9;--plane-squishy-inner:#9edcbe;--plane-squishy-gloss:#fdf9ff;--plane-tanghulu-light:#ffdde4;--plane-tanghulu-base:#ffc4d0;--plane-tanghulu-shade:#f8acbd;--plane-tanghulu-ink:#e58ca2;--plane-tanghulu-inner:#f591a8;--plane-tanghulu-gloss:#fffbfc;--plane-tanghulu-seed:#fff0c2;--plane-mandu-light:#f4fbee;--plane-mandu-base:#e4f2d9;--plane-mandu-shade:#cde4bf;--plane-mandu-ink:#a9c997;--plane-mandu-inner:#a9c997;--plane-mandu-gloss:#fbfff8;--plane-choco-light:#b07a55;--plane-choco-base:#8a5a3c;--plane-choco-shade:#6b4029;--plane-choco-ink:#3e2416;--plane-choco-inner:#a67c5e;--plane-choco-gloss:#fff1e6;--plane-ball-light:#e3f0ff;--plane-ball-base:#c4defa;--plane-ball-shade:#9ec3ec;--plane-ball-ink:#5f8cc4;--plane-ball-inner:#f7f0e6;--plane-ball-gloss:#fff;--plane-butter-crumb:#fad98a;--plane-butter-sheen:#ffd89a;--plane-butter-emissive:#a35a10;--plane-squishy-crumb:#e9d8fc;--plane-squishy-sheen:#e8fff3;--plane-squishy-emissive:#2f7a57;--plane-tanghulu-crumb:#fffbfc;--plane-tanghulu-sheen:#ffd0da;--plane-tanghulu-emissive:#b0213f;--plane-mandu-crumb:#cfe7c2;--plane-mandu-sheen:#e6f5da;--plane-mandu-emissive:#4c6b3a;--plane-choco-crumb:#7a4a30;--plane-choco-sheen:#e8c3a5;--plane-choco-emissive:#4a2412;--plane-ball-crumb:#fff;--plane-ball-sheen:#fff;--plane-ball-emissive:#000;--plane-soda-light:#ddf9f9;--plane-soda-base:#a6ecee;--plane-soda-shade:#72ced6;--plane-soda-ink:#216a74;--plane-soda-inner:#63e3e0;--plane-soda-gloss:#f4ffff;--plane-soda-crumb:#c4f1f1;--plane-soda-sheen:#deffff;--plane-soda-emissive:#16595f;--font-sans:"Pretendard Variable", "Pretendard Fallback", sans-serif;--font-display:"Bagel Fat One", "Pretendard Variable", sans-serif;--radius-piece:14px;--radius-button:10px;--radius-track:4px}@font-face{font-family:Pretendard Variable;font-weight:100 900;font-style:normal;font-display:swap;src:url(/assets/pretendard-subset-Dk7SOugS.woff2)format("woff2")}@font-face{font-family:Bagel Fat One;font-weight:400;font-style:normal;font-display:swap;src:url(/assets/display-subset-CouRfT2O.woff2)format("woff2")}@font-face{font-family:Pretendard Fallback;size-adjust:100%;src:local(Apple SD Gothic Neo),local(Malgun Gothic),local(Noto Sans KR)}html,body{height:100%;margin:0;overflow:hidden}body{background:var(--background);color:var(--foreground);font-family:var(--font-sans);word-break:keep-all;font-size:16px;font-weight:400;line-height:1.6}button,input,output{font:inherit;color:inherit}h1,p,dl,dt,dd{margin:0}[hidden]{display:none!important}#app{-webkit-user-select:none;user-select:none;-webkit-touch-callout:none}#app:not([data-ready]){visibility:hidden}:root{--edge:12px;--piece-pad:16px;--gap:12px;--tap:44px;--topbar-h:calc(var(--tap) + 8px);--topbar-collapsed:96px;--ad-h:56px;--ad-w:min(15vw, 160px);--panel-w:360px;--start-w:400px}@media (orientation:portrait) and (width>=600px){:root{--topbar-collapsed:var(--topbar-h)}}@media (orientation:landscape) and (width>=706px){:root{--topbar-collapsed:var(--topbar-h)}}#app{position:fixed;inset:0}#stage{background:var(--background);z-index:0;position:absolute;top:0;left:0;overflow:hidden}#stage[data-plane=butter]{background:var(--plane-butter-base)}#stage[data-plane=squishy]{background:var(--plane-squishy-base)}#stage[data-plane=tanghulu]{background:var(--plane-tanghulu-base)}#stage[data-plane=mandu]{background:var(--plane-mandu-base)}#stage[data-plane=choco]{background:var(--plane-choco-base)}#stage[data-plane=ball]{background:var(--plane-ball-base)}#stage[data-plane=soda]{background:var(--plane-soda-base)}#top-stack{z-index:4;pointer-events:none;flex-direction:column;max-height:calc(100% - 16px);display:flex;position:absolute;top:0;left:0;right:0}#topbar{min-height:var(--topbar-collapsed);flex-direction:column;flex:0 auto;display:flex}.topbar-row{pointer-events:auto;box-sizing:border-box;background:var(--card);color:var(--card-foreground);border-bottom:1px solid var(--border);flex:none;grid-template-columns:auto auto 1fr auto;grid-template-areas:"name replay.menu""heads heads heads heads";align-items:center;column-gap:8px;padding:4px 16px;display:grid}@media (orientation:portrait) and (width>=600px),(orientation:landscape) and (width>=706px){.topbar-row{grid-template-columns:auto auto minmax(0,auto) 1fr auto;grid-template-areas:"name replay heads.menu"}}.site-name{grid-area:name}#replay-entry{grid-area:replay;min-width:72px;display:flex}.menu-headers{scrollbar-width:none;grid-area:heads;gap:8px;min-width:0;display:flex;overflow-x:auto}.menu-headers::-webkit-scrollbar{display:none}.menu-headers h2{flex:none}@media (orientation:portrait) and (width<=599.98px),(orientation:landscape) and (width<=705.98px){.topbar-row{row-gap:4px;padding-block:2px}.menu-headers{margin-inline:-16px;padding-inline:16px;scroll-padding-inline:16px}}.menu{grid-area:menu}#replay-info{pointer-events:auto;box-sizing:border-box;background:var(--card);border-bottom:1px solid var(--border);flex-direction:column;flex:none;gap:4px;padding:0 16px 8px;display:flex}#menu-sections{flex-direction:column;flex:0 auto;min-height:0;display:flex}.menu-panels{pointer-events:auto;box-sizing:border-box;width:min(100%, var(--panel-w));overscroll-behavior:contain;background:var(--card);min-height:0;color:var(--card-foreground);border:1px solid var(--border);border-radius:0 0 var(--radius-piece) var(--radius-piece);border-top:0;flex-direction:column;gap:16px;padding:16px;display:flex;overflow-y:auto}.menu-panels:not(:has(>.menu-section:not([hidden]))){display:none}.menu-section{flex-direction:column;flex:none;gap:4px;display:flex}.material-row{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;display:grid}.brush-row{column-gap:var(--gap);grid-template-columns:1fr;align-items:center;display:grid}[data-pointer=fine] .brush-step{display:none}[data-pointer=coarse] .brush-row{grid-template-columns:var(--tap) 1fr var(--tap)}#ad-slot{z-index:2;place-items:center;display:grid;position:absolute}#start-layer{z-index:3;box-sizing:border-box;pointer-events:none;padding:var(--topbar-collapsed) 16px 16px;place-items:end start;display:grid;position:absolute}#start-content,#countdown{box-sizing:border-box;background:var(--card);min-height:0;color:var(--card-foreground);border:1px solid var(--border);border-radius:var(--radius-piece);padding:var(--piece-pad);grid-area:1/1}#start-content{width:min(100%, var(--start-w));pointer-events:auto;flex-direction:column;gap:8px;max-height:100%;display:flex;overflow-y:auto}#start-message{text-align:left;margin:0}#start-message span{display:block}#help{gap:var(--gap);flex-direction:column;min-height:0;margin:0;display:flex;overflow-y:auto}#help dd{margin:4px 0 0}#start-actions{flex:none;gap:8px;display:flex}#start-error{flex:none;margin:0}#start{height:var(--tap);flex:auto;padding-inline:12px}#help-toggle{height:var(--tap);flex:none;padding-inline:12px}#countdown{pointer-events:none;width:fit-content}@media (orientation:portrait){#stage{top:0;left:0;right:0;bottom:var(--ad-h)}#ad-slot{height:var(--ad-h);bottom:0;left:0;right:0}#top-stack{max-height:calc(100% - var(--ad-h) - 16px)}#start-layer{top:0;left:0;right:0;bottom:var(--ad-h)}}@media (orientation:landscape){#stage{top:0;bottom:0;left:0;right:var(--ad-w)}#ad-slot{width:var(--ad-w);top:0;bottom:0;right:0}#top-stack{right:var(--ad-w)}#start-layer{top:0;bottom:0;left:0;right:var(--ad-w)}}#scene-canvas{pointer-events:none;visibility:hidden;width:100%;height:100%;display:block;position:absolute;inset:0}#stage[data-scene=webgl] #scene-canvas{visibility:visible}#stage-canvas{touch-action:none;cursor:none;width:100%;height:100%;display:block;position:absolute;inset:0}#cursor{pointer-events:none;width:100%;height:100%;position:absolute;inset:0;overflow:visible}#cursor[hidden]{display:none}#cursor path{fill:none}#cursor path[data-ring=inner]{stroke:var(--brush-preview-in);stroke-width:2px}#cursor path[data-ring=outer]{stroke:var(--brush-preview-out);stroke-width:1px}#cursor.is-fading{opacity:0;transition:opacity var(--preview-fade-ms) cubic-bezier(.2, 0, 0, 1)}.piece{background:var(--card);color:var(--card-foreground);border:1px solid var(--border);border-radius:var(--radius-piece)}.site-name{font-family:var(--font-display);letter-spacing:.01em;font-size:22px;font-weight:400;line-height:1.2}.help-item dt{font-size:14px;font-weight:600;line-height:1.4}output,.help-item dd,#start-error{font-variant-numeric:tabular-nums;font-size:14px;font-weight:400;line-height:1.5}output{color:var(--muted-foreground)}#ad-slot{background:var(--muted);overflow:hidden}#ad-slot>.ad-label,#ad-slot>ins.adsbygoogle{grid-area:1/1}#ad-slot:has(ins[data-ad-status=filled]) .ad-label{display:none}.ad-label{color:var(--muted-foreground);font-size:12px;font-weight:500;line-height:1.4}button{cursor:pointer;touch-action:manipulation}.icon-btn{border-radius:var(--radius-button);background:var(--card);border:1px solid var(--input);width:44px;height:44px;color:var(--foreground);place-items:center;padding:0;display:grid}.icon-btn:hover,.icon-btn:active,#help-toggle:hover,#help-toggle:active{background:var(--accent)}.icon-btn:active,#help-toggle:active,#start:active{transform:scale(.96)}.menu{justify-content:flex-end;align-items:center;gap:8px;display:flex}.menu-headers h2{font:inherit;margin:0;display:flex}.section-btn{height:var(--tap);border:1px solid var(--input);border-radius:var(--radius-button);background:var(--card);color:var(--foreground);text-align:left;grid-template-rows:auto auto;grid-template-columns:auto 16px;align-content:center;align-items:center;column-gap:8px;padding:0 8px 0 12px;display:inline-grid;position:relative}.section-name{letter-spacing:-.01em;white-space:nowrap;grid-area:1/1;font-size:14px;font-weight:600;line-height:1.25}.section-value{color:var(--muted-foreground);white-space:nowrap;font-variant-numeric:tabular-nums;grid-area:2/1;font-size:12px;font-weight:500;line-height:1.25}.section-value:empty{display:none}.section-btn .chevron{grid-area:1/2/span 2}.section-btn[aria-expanded=true] .chevron{transform:rotate(180deg)}.section-btn:hover,.section-btn:active,.section-btn[aria-expanded=true]{background:var(--accent)}.section-btn[aria-expanded=true]{border-color:var(--primary)}.section-btn:focus-visible{outline:2px solid var(--ring);outline-offset:-3px}.section-btn:active{transform:scale(.96)}.menu-section output{color:var(--muted-foreground);display:block}button:focus-visible,input:focus-visible{outline:2px solid var(--ring);outline-offset:2px}@keyframes section-in{0%{opacity:0;transform:translateY(-8px)}to{opacity:1;transform:none}}@media (prefers-reduced-motion:no-preference){.menu-section:not([hidden]){animation:.2s cubic-bezier(.2,0,0,1) section-in}.chevron{transition:transform .15s cubic-bezier(.2,0,0,1)}}#mute .icon-muted,#mute[aria-pressed=true] .icon-unmuted{display:none}#mute[aria-pressed=true] .icon-muted{display:block}#mute[aria-pressed=true]{background:var(--accent);color:var(--foreground)}#start,#help-toggle{border-radius:var(--radius-button);height:44px;padding-inline:12px;font-size:16px;font-weight:500;line-height:1.6}#start{background:var(--primary);color:var(--primary-foreground);border:0}#help-toggle{background:var(--card);color:var(--foreground);border:1px solid var(--input)}.ad-consent{text-align:left;color:var(--muted-foreground);margin:0;font-size:12px;font-weight:500;line-height:1.4}body:not([data-ads]) .ad-consent{display:none}#start-message{font-family:var(--font-display);color:var(--foreground);font-size:22px;font-weight:400;line-height:1.35}#start-error{color:var(--foreground)}#countdown{font-family:var(--font-display);color:var(--foreground);font-variant-numeric:tabular-nums;font-size:96px;font-weight:400;line-height:1}input[type=range]{appearance:none;touch-action:manipulation;background:0 0;width:100%;height:44px;margin:0}input[type=range]::-webkit-slider-runnable-track{box-sizing:border-box;border-radius:var(--radius-track);background:var(--muted);border:1px solid var(--input);height:4px}input[type=range]::-webkit-slider-thumb{-webkit-appearance:none;box-sizing:border-box;background:var(--primary);border:1px solid var(--input);border-radius:50%;width:24px;height:24px;margin-top:-11px}input[type=range]::-moz-range-track{box-sizing:border-box;border-radius:var(--radius-track);background:var(--muted);border:1px solid var(--input);height:4px}input[type=range]::-moz-range-thumb{box-sizing:border-box;background:var(--primary);border:1px solid var(--input);border-radius:50%;width:24px;height:24px}#material .text-btn{white-space:normal;word-break:keep-all;min-width:0;padding-inline:0;font-size:12px;font-weight:500;line-height:1.4}#material .text-btn[aria-pressed=true],#material .text-btn[aria-pressed=true]:hover,#material .text-btn[aria-pressed=true]:active,#material .text-btn[aria-pressed=true]:disabled{background:var(--primary);border-color:var(--primary);color:var(--primary-foreground)}#replay-dock{min-height:0;width:min(100%, var(--panel-w));pointer-events:none;flex-direction:column;flex:0 auto;display:flex}#replay-dock>.piece,#top-stack>#share-panel,#top-stack>#share-view{width:min(100%, var(--panel-w));pointer-events:auto;box-sizing:border-box;padding:var(--piece-pad);border-radius:0 0 var(--radius-piece) var(--radius-piece);border-top:0;min-height:0;overflow-y:auto}#replay{flex:none}#archive{gap:var(--gap);flex-direction:column;flex:0 auto;display:flex}#replay-target{-webkit-line-clamp:2;line-clamp:2;-webkit-box-orient:vertical;margin:0;font-size:14px;font-weight:400;line-height:1.5;display:-webkit-box;overflow:hidden}#replay-target:empty{display:none}#replay-notice{white-space:nowrap;color:var(--muted-foreground);margin:0;font-size:12px;font-weight:500;line-height:1.4}#replay-status,#replay-hint{margin:0;font-size:14px;line-height:1.5}#replay-more,#replay-actions,.row-actions,.row-confirm{gap:8px var(--gap);flex-wrap:wrap;display:flex}#replay-more,#replay-hint{margin:0 0 var(--gap)}#replay-play,#replay-stop{height:var(--tap);border-radius:var(--radius-button);min-width:72px;color:var(--foreground);background:0 0;border:0;padding:0 8px;font-size:14px;font-weight:600;line-height:1.4}#replay-play:hover,#replay-stop:hover,#replay-play:active,#replay-stop:active{background:var(--accent)}#replay-play:active,#replay-stop:active{transform:scale(.96)}#replay-play:disabled{opacity:.5;cursor:default;background:0 0;transform:none}.text-btn{height:var(--tap);border-radius:var(--radius-button);border:1px solid var(--input);background:var(--card);color:var(--foreground);touch-action:manipulation;flex:none;padding-inline:12px}.text-btn:hover{background:var(--accent)}.text-btn:active{background:var(--accent);transform:scale(.96)}.text-btn:disabled{opacity:.5;cursor:default;background:var(--card);transform:none}.archive-head{justify-content:space-between;align-items:center;display:flex}#archive-title,.archive-note,#archive-empty,#archive-status{margin:0}#archive-list{gap:var(--gap);flex-direction:column;margin:0;padding:0;list-style:none;display:flex}.row-label,.row-problem,.row-confirm-text{margin:0 0 4px}#replay-target,.row-label,.row-confirm-text{font-variant-numeric:tabular-nums}#replay,#archive{word-break:keep-all}#app[data-mode=playing] #stage-canvas,#app[data-mode=fixed] #stage-canvas{cursor:default}.text-btn{font-size:16px;font-weight:400;line-height:1.6}#replay-hint,#replay-status,.row-label,.row-problem,.row-confirm-text,#archive-empty,#archive-status{color:var(--foreground);font-size:14px;font-weight:400;line-height:1.5}#archive-title{font-size:14px;font-weight:700;line-height:1.4}.archive-note{color:var(--muted-foreground);font-size:12px;font-weight:400;line-height:1.4}#share-panel{gap:var(--gap);word-break:keep-all;flex-direction:column;flex:none;display:flex}#share-form{gap:var(--gap);flex-direction:column;align-items:flex-start;display:flex}.share-field{flex-direction:column;gap:4px;width:100%;display:flex}.share-label{font-size:14px;font-weight:600;line-height:1.4}.share-caption,#share-status{margin:0}.share-caption{color:var(--muted-foreground);font-size:12px;font-weight:500;line-height:1.4}#share-status{font-size:14px;font-weight:400;line-height:1.5}#share-result{align-items:center;gap:8px;display:flex}#share-result .text-input{flex:auto;min-width:0}.share-check{min-height:var(--tap);align-items:center;gap:8px;font-size:14px;line-height:1.5;display:flex}.share-check input{appearance:none;border:1px solid var(--input);border-radius:var(--radius-track);background:var(--card);flex:none;width:20px;height:20px;margin:0;position:relative}.share-check input:hover{background:var(--accent)}.share-check input:checked{background:var(--primary);border-color:var(--primary)}.share-check input:checked:after{content:"";border:solid var(--primary-foreground);border-width:0 2px 2px 0;width:5px;height:10px;position:absolute;top:2px;left:6px;transform:rotate(45deg)}.share-check input:disabled{opacity:.5}#share-view{word-break:keep-all;overflow-wrap:anywhere;flex-direction:column;flex:none;gap:4px;display:flex}#share-view p{margin:0}#share-view-nick{font-size:14px;font-weight:600;line-height:1.4}#share-view-title{font-size:16px;font-weight:500;line-height:1.6}#share-view-note,#share-notice{margin:0;font-size:14px;font-weight:400;line-height:1.5}.text-input{box-sizing:border-box;width:100%;height:var(--tap);border:1px solid var(--input);border-radius:var(--radius-button);background:var(--card);color:var(--foreground);word-break:keep-all;padding:0 12px;font-family:inherit;font-size:16px;font-weight:500;line-height:1.6}.text-input::placeholder{color:var(--muted-foreground);opacity:1}.text-input:hover{background:var(--accent)}.text-input:active{background:var(--accent);transform:scale(.96)}.text-input:disabled{opacity:.5;cursor:default;background:var(--card);transform:none}#share-panel .share-privacy a{color:var(--foreground);text-underline-offset:2px;border-radius:2px;text-decoration:underline}#share-panel .share-privacy a:hover{background:var(--accent)}#share-panel .share-privacy a:focus-visible{outline:2px solid var(--ring);outline-offset:2px}
