:root{--ink:#111114;--ink2:#3a3a40;--mute:#8a8a92;--line:#e4e4e8;--paper:#fff;--glass:#ffffffe6;--dark-glass:#111114b8;--kr:"Noto Sans KR", "Apple SD Gothic Neo", "Malgun Gothic", system-ui, sans-serif;--num:"Space Grotesk", ui-rounded, "SF Pro Rounded", system-ui, sans-serif;--safe-b:env(safe-area-inset-bottom,0px);--safe-t:env(safe-area-inset-top,0px)}*{box-sizing:border-box;-webkit-tap-highlight-color:transparent}html,body{height:100%;font-family:var(--kr);color:var(--ink);word-break:keep-all;touch-action:none;-webkit-user-select:none;user-select:none;overscroll-behavior:none;background:#111114;margin:0;overflow:hidden}#gl{width:100%;height:100%;display:block;position:fixed;inset:0}#ui{pointer-events:none;position:fixed;inset:0}#ui>*{pointer-events:auto}button{font:inherit;color:inherit;cursor:pointer;background:0 0;border:0}.num{font-family:var(--num);font-variant-numeric:tabular-nums;letter-spacing:-.01em}.btn{background:var(--ink);color:#fff;border-radius:16px;flex-shrink:0;justify-content:center;align-items:center;gap:8px;height:52px;padding:0 22px;font-size:16px;font-weight:700;transition:transform .12s,opacity .2s;display:inline-flex}.btn:active{transform:scale(.97)}.btn.light{color:var(--ink);box-shadow:inset 0 0 0 1px var(--line);background:#fff}.btn.block{width:100%}.btn:disabled{opacity:.35;pointer-events:none}.chip{height:36px;color:var(--ink2);background:#f2f2f4;border-radius:999px;padding:0 14px;font-size:14px;font-weight:600}.chip.on{background:var(--ink);color:#fff}.title{padding:0 24px calc(40px + var(--safe-b));color:#fff;text-align:center;background:linear-gradient(#11111400 40%,#111114bf 100%);flex-direction:column;justify-content:flex-end;align-items:center;display:flex;position:fixed;inset:0}.logo{line-height:1}.logo .ko{letter-spacing:-.04em;font-size:46px}.logo .ko b{font-weight:900}.logo .ko span{font-weight:400}.logo .en{font-family:var(--num);letter-spacing:.5em;opacity:.8;margin-top:8px;font-size:12px}.title p{opacity:.85;margin:14px 0 26px;font-size:15px;line-height:1.55}.title .btn{width:min(340px,100%);color:var(--ink);background:#fff}.demo-tag{bottom:calc(6px + var(--safe-b));white-space:nowrap;color:#ffffffbf;pointer-events:none;z-index:5;background:#00000059;border-radius:999px;padding:4px 10px;font-size:11px;position:fixed;left:50%;transform:translate(-50%)}.sheet{background:var(--paper);max-height:62%;padding:18px 18px calc(18px + var(--safe-b));border-radius:24px 24px 0 0;flex-direction:column;gap:14px;display:flex;position:fixed;bottom:0;left:0;right:0;box-shadow:0 -10px 40px #0000002e}@media (width>=820px){.sheet{border-radius:24px;width:400px;max-height:none;inset:24px 24px 24px auto}}.sheet h2{letter-spacing:-.02em;margin:0;font-size:20px;font-weight:800}.sheet .sub{color:var(--mute);margin:-8px 0 0;font-size:13px}.tabs{scrollbar-width:none;flex-shrink:0;gap:6px;display:flex;overflow-x:auto}.tabs::-webkit-scrollbar{display:none}.grid{flex:0 auto;grid-template-columns:repeat(4,1fr);grid-auto-rows:max-content;align-content:start;gap:8px;min-height:0;display:grid;overflow-y:auto}.sliders{flex-direction:column;gap:14px;padding:6px 2px 4px;display:flex}.sl-row{color:var(--ink2);grid-template-columns:48px 1fr 30px;align-items:center;gap:12px;font-size:13px;font-weight:600;display:grid}.sl-track{touch-action:none;cursor:pointer;border-radius:999px;height:28px;margin:0 14px;position:relative;box-shadow:inset 0 0 0 1px #00000014}.sl-knob{pointer-events:none;border:3px solid #fff;border-radius:50%;width:32px;height:32px;margin:-16px 0 0 -16px;position:absolute;top:50%;box-shadow:0 1px 6px #0000004d}.sl-val{font-family:var(--num);color:var(--mute);text-align:right;font-size:12px}.opt{aspect-ratio:1;background:#f4f4f6;border-radius:14px;flex-direction:column;justify-content:center;align-items:center;gap:2px;font-size:13px;font-weight:600;display:flex;position:relative}.opt.on{box-shadow:inset 0 0 0 2px var(--ink);background:#fff}.opt .price{color:var(--mute);font-size:11px;font-family:var(--num)}.opt.locked{opacity:.45}.swatch{border-radius:50%;width:60%;height:60%;box-shadow:inset 0 0 0 1px #00000014}.row{align-items:center;gap:10px;display:flex}.input{border:1px solid var(--line);height:50px;font:inherit;border-radius:14px;outline:none;flex:1;padding:0 14px;font-size:16px}.input:focus{border-color:var(--ink)}.scroll{min-height:0;overflow-y:auto}.klist{flex:1;grid-template-columns:repeat(2,1fr);gap:8px;min-height:0;padding-bottom:4px;display:grid;overflow-y:auto}.kcard{text-align:left;background:#f6f6f8;border-radius:16px;align-items:center;gap:10px;padding:12px;display:flex}.kcard.on{box-shadow:inset 0 0 0 2px var(--ink);background:#fff}.kapron{border-radius:12px;flex-shrink:0;justify-content:center;align-items:center;width:48px;height:48px;display:flex;overflow:hidden}.kapron canvas{width:100%;height:100%}.kdot{border-radius:9px;flex-shrink:0;width:30px;height:30px;box-shadow:inset 0 0 0 1px #00000014}.kcard b{font-size:14px;display:block}.kcard small{color:var(--mute);font-size:11px}.hud-top{top:calc(12px + var(--safe-t));pointer-events:none;justify-content:space-between;align-items:flex-start;gap:8px;display:flex;position:fixed;left:12px;right:12px}.hud-top>*{pointer-events:auto}.pill{background:var(--glass);-webkit-backdrop-filter:blur(10px);border-radius:16px;align-items:center;gap:8px;padding:8px 12px 8px 8px;font-size:13px;display:flex;box-shadow:0 4px 18px #0000001f}.pill .crest{border-radius:10px;width:30px;height:30px}.pill b{font-size:14px}.pill small{color:var(--mute);font-size:11px;display:block}.icon-btn{background:var(--glass);-webkit-backdrop-filter:blur(10px);border-radius:14px;justify-content:center;align-items:center;width:44px;height:44px;display:flex;box-shadow:0 4px 18px #0000001f}.icon-btn svg{width:22px;height:22px}.stack{flex-direction:column;align-items:flex-end;gap:8px;display:flex}.paint{padding:8px 12px}.paint .dot{background:conic-gradient(#e2382f,#f2c230,#35a35a,#2c5bd6,#9a4fd0,#e2382f);border-radius:50%;width:14px;height:14px}.joy{pointer-events:none;z-index:4;-webkit-backdrop-filter:blur(6px);touch-action:none;background:#ffffff38;border-radius:50%;width:128px;height:128px;position:fixed;bottom:28px;left:24px;box-shadow:inset 0 0 0 2px #ffffff8c}.joy .knob{background:#fffffff2;border-radius:50%;width:56px;height:56px;margin:-28px 0 0 -28px;position:absolute;top:50%;left:50%;box-shadow:0 4px 14px #0003}@media (hover:hover) and (pointer:fine){.joy{opacity:.65}}.action{right:20px;bottom:calc(36px + var(--safe-b));background:var(--ink);color:#fff;border-radius:32px;align-items:center;gap:8px;min-width:64px;height:64px;padding:0 22px;font-size:15px;font-weight:800;display:none;position:fixed;box-shadow:0 8px 26px #00000047}.action.show{animation:.22s ease-out pop;display:flex}@keyframes pop{0%{opacity:0;transform:scale(.7)}}.toast{left:50%;top:calc(76px + var(--safe-t));background:var(--ink);color:#fff;z-index:50;pointer-events:none;white-space:nowrap;border-radius:14px;padding:10px 16px;font-size:14px;font-weight:600;animation:.2s ease-out pop;position:fixed;transform:translate(-50%)}.modal-bg{z-index:20;background:#11111473;justify-content:center;align-items:flex-end;display:flex;position:fixed;inset:0}@media (width>=820px){.modal-bg{align-items:center}}.modal{width:100%;max-width:520px;max-height:88%;padding:20px 18px calc(18px + var(--safe-b));background:#fff;border-radius:24px 24px 0 0;flex-direction:column;gap:14px;animation:.25s ease-out up;display:flex}@media (width>=820px){.modal{border-radius:24px}}@keyframes up{0%{opacity:0;transform:translateY(40px)}}.modal h3{letter-spacing:-.02em;margin:0;font-size:19px;font-weight:800}.modal .x{position:absolute}.mhead{justify-content:space-between;align-items:center;display:flex}.close{background:#f2f2f4;border-radius:12px;width:36px;height:36px;font-size:18px}.event-card{background:var(--ink);color:#fff;border-radius:18px;padding:16px}.event-card small{opacity:.7;font-size:12px}.event-card b{margin:4px 0 8px;font-size:20px;display:block}.rank{flex-direction:column;gap:6px;display:flex}.rank-row{grid-template-columns:26px 1fr auto;align-items:center;gap:10px;padding:4px 0;font-size:14px;display:grid}.rank-row .bar{border-radius:4px;height:8px;margin-top:4px}.rank-row.me{font-weight:800}.rank-row .n{font-family:var(--num);color:var(--mute);text-align:center;font-weight:700}.stat-row{grid-template-columns:repeat(3,1fr);gap:8px;display:grid}.stat{text-align:center;background:#f4f4f6;border-radius:14px;padding:12px}.stat b{font-family:var(--num);font-size:22px;display:block}.stat small{color:var(--mute);font-size:11px}.memos{grid-template-columns:repeat(2,1fr);gap:8px;min-height:0;display:grid;overflow-y:auto}.memo{border-radius:12px;flex-direction:column;justify-content:space-between;min-height:84px;padding:12px;font-size:14px;line-height:1.45;display:flex;box-shadow:0 2px 6px #0000000f}.memo small{color:#00000080;justify-content:space-between;margin-top:8px;font-size:11px;display:flex}.memo button{color:#00000073;font-size:11px;text-decoration:underline}.colors{gap:8px;display:flex}.colors button{border-radius:50%;width:30px;height:30px}.colors button.on{box-shadow:0 0 0 2px #fff, 0 0 0 4px var(--ink)}.board-wrap{z-index:30;background:#1b2420;flex-direction:column;display:flex;position:fixed;inset:0}.board-bar{padding:calc(10px + var(--safe-t)) 12px 10px;color:#fff;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:8px;display:flex}.board-bar .colors{order:3;justify-content:center;width:100%;padding-top:4px}.board-bar .colors button.on{box-shadow:0 0 0 2px #1b2420,0 0 0 4px #fff}.board-canvas{flex:1;justify-content:center;align-items:center;min-height:0;padding:8px;display:flex}.board-canvas canvas{touch-action:none;border-radius:10px;max-width:100%;max-height:100%;box-shadow:0 0 0 10px #6b4a2e}.game{z-index:30;background:#c99c6c;position:fixed;inset:0}.game canvas{width:100%;height:100%;position:absolute;inset:0}.game-hud{top:calc(12px + var(--safe-t));pointer-events:none;color:var(--ink);flex-direction:column;align-items:center;gap:6px;display:flex;position:absolute;left:0;right:0}.game-hud .score{background:var(--glass);text-align:center;border-radius:18px;padding:8px 18px 6px;box-shadow:0 6px 20px #00000026}.game-hud .score small{color:var(--mute);font-size:11px;display:block}.game-hud .score b{font-family:var(--num);letter-spacing:-.03em;font-size:40px;font-weight:800}.game-hud .combo{font-family:var(--num);color:#fff;background:var(--ink);opacity:0;border-radius:999px;padding:4px 12px;font-size:14px;font-weight:800;transition:opacity .2s}.timebar{background:#ffffff80;border-radius:3px;width:min(320px,70%);height:6px;overflow:hidden}.timebar i{background:var(--ink);transform-origin:0;width:100%;height:100%;display:block}.zones{height:34%;padding:12px 12px calc(14px + var(--safe-b));grid-template-columns:1fr 1fr;gap:12px;display:grid;position:absolute;bottom:0;left:0;right:0}.zone{color:#fff;text-shadow:0 1px 4px #00000040;touch-action:none;background:#ffffff47;border-radius:26px;flex-direction:column;justify-content:center;align-items:center;gap:4px;font-size:15px;font-weight:800;display:flex;box-shadow:inset 0 0 0 2px #fff9}.zone.hit{background:#ffffff8c}.zone small{opacity:.85;font-size:12px;font-weight:600}.countdown{font-family:var(--num);color:#fff;text-shadow:0 6px 30px #0000004d;pointer-events:none;justify-content:center;align-items:center;font-size:120px;font-weight:800;display:flex;position:absolute;inset:0}.game .quit{top:calc(12px + var(--safe-t));position:absolute;left:12px}.help{background:var(--glass);text-align:center;border-radius:20px;width:min(340px,86%);padding:18px 20px;font-size:14px;line-height:1.6;position:absolute;top:38%;left:50%;transform:translate(-50%,-50%);box-shadow:0 10px 30px #0003}.help b{margin-bottom:6px;font-size:18px;display:block}.loading{color:#fff;z-index:100;background:#111114;justify-content:center;align-items:center;font-size:14px;display:flex;position:fixed;inset:0}.social{z-index:6;width:0;height:0;position:fixed;top:0;left:0}.social-fab{right:20px;bottom:calc(112px + var(--safe-b));width:48px;height:48px;color:var(--ink);pointer-events:auto;background:#ffffffeb;border-radius:50%;justify-content:center;align-items:center;display:flex;position:fixed;box-shadow:0 4px 14px #00000038}.social.open .social-fab{background:var(--ink);color:#fff}.social-panel{right:20px;bottom:calc(170px + var(--safe-b));pointer-events:auto;background:#fffffff0;border-radius:20px;flex-direction:column;gap:8px;width:min(78vw,290px);padding:10px;display:none;position:fixed;box-shadow:0 10px 30px #00000040}.social.open .social-panel{animation:.18s ease-out pop;display:flex}.social .chan{color:#fff;pointer-events:none;background:#11111499;border-radius:999px;align-self:flex-start;padding:3px 8px;font-size:10px;font-weight:700}.social-panel .emote{box-shadow:none;background:#f2f2f4;border-radius:12px;flex:1}.social-panel .chat-in{box-shadow:none;background:#f2f2f4}.social-row{gap:6px;display:flex}.emote{background:#ffffffeb;border-radius:50%;width:38px;height:38px;font-size:19px;line-height:1;box-shadow:0 2px 8px #0000002e}.emote:active{transform:scale(.9)}.chat-row{gap:6px;display:flex}.chat-in{min-width:0;height:38px;font:inherit;color:#111114;-webkit-text-fill-color:#111114;caret-color:#111114;-webkit-user-select:text;user-select:text;background:#fff;border:0;border-radius:19px;outline:none;flex:1;padding:0 14px;font-size:16px;box-shadow:0 2px 8px #0000002e}.chat-send{background:var(--ink);color:#fff;border-radius:19px;height:38px;padding:0 12px;font-size:13px;font-weight:700}.chatlog{left:12px;top:calc(78px + var(--safe-t));pointer-events:none;flex-direction:column;gap:3px;width:min(60vw,240px);display:flex;position:fixed}.chatlog .line{color:#fff;word-break:break-all;background:#1111149e;border-radius:10px;align-self:flex-start;max-width:100%;padding:4px 9px;font-size:12px;transition:opacity 4s}.chatlog .line.me{background:#111114db}.chatlog .line.old{opacity:0}.chatlog .line b{opacity:.8;font-weight:700}.host-talk{align-items:flex-start;gap:12px;display:flex}.host-talk canvas{flex-shrink:0;width:84px;height:110px}.host-talk .say{background:#f4f4f6;border-radius:4px 16px 16px;flex:1;padding:12px 14px;font-size:15px;line-height:1.5}.chat-in::placeholder{color:#8a8a92;-webkit-text-fill-color:#8a8a92;opacity:1}.sound-corner{top:calc(14px + env(safe-area-inset-top));z-index:6;position:fixed;right:14px}.title2{pointer-events:none;z-index:5;position:fixed;inset:0}.title2>*{pointer-events:auto}.title2-menu{left:0;right:0;bottom:calc(26px + var(--safe-b));flex-direction:column;align-items:center;gap:10px;padding:0 24px;animation:.5s both menu-in;display:flex;position:absolute}.title2-menu .btn{color:#fff;background:#111114;width:min(340px,100%);box-shadow:0 10px 30px #00000040}.link-btn{color:#111114;background:#ffffffbf;border:0;border-radius:999px;padding:7px 14px;font:600 13px/1 inherit}.skip-btn{left:14px;top:calc(16px + env(safe-area-inset-top));color:#fff;background:#11111499;border:1px solid #ffffff59;border-radius:999px;padding:9px 16px;font:600 13px/1 inherit;position:absolute}.intro-gate{color:#fff;font:inherit;background:#111114;border:0;flex-direction:column;justify-content:center;align-items:center;gap:18px;display:flex;position:absolute;inset:0}.intro-gate b{letter-spacing:-.02em;font-size:34px;font-weight:900}.intro-gate span{opacity:.7;font-size:14px;animation:1.4s ease-in-out infinite blink}@keyframes blink{50%{opacity:.25}}@keyframes menu-in{0%{opacity:0;transform:translateY(16px)}}.cg{padding:calc(12px + var(--safe-t)) 14px calc(14px + var(--safe-b));color:var(--ink);background:#b98a5e linear-gradient(90deg,#0000000d 0 2px,#0000 2px) 0 0/46px 100%;flex-direction:column;gap:10px;display:flex}.cg>*{width:100%;max-width:520px;margin-left:auto;margin-right:auto}.cg-top{align-items:center;gap:10px;display:flex}.cg-quit{width:40px;height:40px;color:var(--ink);background:#fff;border:0;border-radius:50%;flex:none;font-size:16px;box-shadow:0 2px 8px #0003}.cg-time{background:#00000038;border-radius:999px;flex:1;height:12px;overflow:hidden;box-shadow:inset 0 1px 2px #0000004d}.cg-time i{background:#fff;border-radius:999px;width:100%;height:100%;display:block}.cg.hurry .cg-time i{background:#ff5a3c}.cg-top b{text-align:right;color:#fff;text-shadow:0 1px 3px #0006;min-width:34px;font-size:24px;font-weight:800}.cg.hurry .cg-top b{color:#ffd0c4;animation:.5s infinite cg-hit}@keyframes cg-hit{40%{transform:scale(1.12)}}.cg-tray{touch-action:none;background:linear-gradient(#fff,#f1efe9);border-radius:22px;flex:1;min-height:180px;position:relative;overflow:hidden;box-shadow:0 10px 26px #0000004d,inset 0 0 0 1px #00000014,inset 0 0 0 7px #fff,inset 0 0 0 8px #00000012,inset 0 10px 18px #0000000f}.game .cg-cv{touch-action:none;width:100%;height:100%;position:absolute;inset:0}.cg-target{aspect-ratio:1;pointer-events:none;border-radius:50%;justify-content:center;align-items:center;width:28%;max-width:120px;display:flex;position:absolute;top:14px;left:14px;box-shadow:0 4px 12px #00000038,inset 0 0 0 1px #0000001a}.cg-target small{font-size:12px;font-weight:800}.cg-meter{pointer-events:none;align-items:center;gap:8px;display:flex;position:absolute;bottom:12px;left:16px;right:16px}.cg-meter div{background:#0000001a;border-radius:999px;flex:1;height:8px;overflow:hidden}.cg-meter i{background:#111114;border-radius:999px;width:0;height:100%;transition:width .15s;display:block}.cg-tray.ok .cg-meter i{background:#2f9e5b}.cg-meter span{color:#55555c;text-align:right;min-width:84px;font-size:12px;font-weight:800}.cg-label{color:#fff;text-shadow:0 1px 2px #00000059;min-height:16px;font-size:12px}.cg-palette{background:linear-gradient(#fdfdfb,#e9e6df);border-radius:16px;padding:9px;box-shadow:0 8px 22px #0000004d,inset 0 0 0 1px #00000014,inset 0 2px #fff}.cg-wells{grid-template-columns:repeat(8,1fr);gap:5px;display:grid}.cg-well{aspect-ratio:1.25;border:0;border-radius:8px;padding:0;box-shadow:inset 0 3px 5px #0000004d,inset 0 -2px 3px #ffffff40,0 0 0 1px #0000001f}.cg-well:active{transform:scale(.88)}.cg-btns{gap:8px}.cg-result{border-radius:16px;grid-template-columns:1fr 1fr;height:84px;display:grid;overflow:hidden;box-shadow:inset 0 0 0 1px #00000014}.cg-result div{padding:8px 10px;font-size:12px;font-weight:800}.cg-recipe{background:#f4f4f6;border-radius:14px;flex-wrap:wrap;align-items:center;gap:6px 10px;padding:10px 12px;font-size:13px;display:flex}.cg-recipe i{vertical-align:-2px;border-radius:50%;width:14px;height:14px;margin-right:4px;display:inline-block;box-shadow:inset 0 0 0 1px #0000001f}.pg{background:#cfc8bc linear-gradient(#d9d3c8,#bdb5a8)}.pg .cg-top b,.pg .cg-label{color:var(--ink);text-shadow:none}.pg .cg-time{background:#00000024}.pg .cg-time i{background:var(--ink)}.pg-sheet{pointer-events:none;background:#fffdf8;border-radius:4px;width:35%;max-width:150px;padding:6px 4px 2px;position:absolute;top:12px;left:12px;transform:rotate(-2.5deg);box-shadow:0 6px 14px #0003,inset 0 0 0 1px #0000000d}.pg-sheet:before{content:"";background:#f0de96d9;width:44px;height:15px;margin-left:-22px;position:absolute;top:-7px;left:50%;transform:rotate(2deg);box-shadow:0 1px 2px #0000001f}.pg-sheet small{text-align:center;color:#9a958b;letter-spacing:.08em;font-size:10px;font-weight:800;display:block}.game .pg-sheet canvas{width:100%;height:auto;display:block;position:static}.pg-title{align-items:baseline;gap:8px;display:flex}.pg-title b{font-size:20px;font-weight:900}.pg-title span{color:#6b665e;font-size:13px}.pg-stage{touch-action:none;background:#f3efe6;border-radius:22px;flex:1;min-height:220px;position:relative;overflow:hidden;box-shadow:inset 0 0 0 1px #0000000f,0 8px 22px #00000024}.game .pg-cv{touch-action:none;width:100%;height:100%;position:absolute;inset:0}.pg-result{background:#f3efe6;border-radius:16px;width:100%;height:190px;display:block}.pp{background:#5a4636 linear-gradient(90deg,#0000000f 0 2px,#0000 2px) 0 0/52px 100%}.pp-desk{flex:1;justify-content:center;align-items:center;min-height:0;padding:6px 12px;display:flex}.pp-stack{aspect-ratio:960/680;touch-action:none;background:#fbf8f1;border-radius:3px;width:100%;max-width:min(720px,141vh - 564px);position:relative;overflow:hidden;box-shadow:0 10px 28px #0006}.pp-stack canvas{pointer-events:none;width:100%;height:100%;position:absolute;inset:0}.pp-panel{padding:6px 12px calc(12px + var(--safe-b));flex-direction:column;gap:8px;width:100%;max-width:560px;margin:0 auto;display:flex}.pp-tools{gap:6px;display:flex}.pp-tools .chip{color:#fff;background:#ffffff29;flex:1;padding:0}.pp-tools .chip.on{color:var(--ink);background:#fff}.pp-size{align-items:center;gap:10px;display:flex}.pp-dot{background:#ffffff24;border-radius:50%;flex:none;justify-content:center;align-items:center;width:40px;height:40px;display:flex}.pp-dot i{border-radius:50%;display:block;box-shadow:0 0 0 1px #fff6}.pp-size input{accent-color:#fff;flex:1;height:28px}.pp-color{color:#fff;align-items:center;gap:10px;display:flex}.pp-swatch{border-radius:12px;flex:none;width:40px;height:40px;box-shadow:0 0 0 2px #fffc}.pp-note{opacity:.85;flex:1;font-size:12px;line-height:1.3}.pp-color .chip{color:#fff;background:#ffffff29}.pp-color .chip.on{color:var(--ink);background:#fff}.pp .cg-palette{padding:7px}.pp .cg-wells{grid-template-columns:repeat(12,1fr);gap:4px}.pp .cg-well{aspect-ratio:1;border-radius:6px}.wish-grid{background:linear-gradient(#e9f3df,#dcebd0);border-radius:16px;grid-template-columns:repeat(3,1fr);gap:14px 10px;min-height:120px;max-height:46vh;padding:10px 4px 6px;display:grid;overflow:auto}.wish-tag{text-align:left;min-height:96px;color:var(--ink);transform-origin:50% -8px;background:#fffaf0;border:0;border-radius:4px 4px 8px 8px;flex-direction:column;gap:6px;padding:18px 8px 8px;animation:3.2s ease-in-out infinite wish-sway;display:flex;position:relative;box-shadow:0 3px 8px #3c502838}.wish-tag:before{content:"";background:#8a6a40;width:2px;height:12px;position:absolute;top:-9px;left:50%}.wish-tag i{border-radius:4px 4px 0 0;height:10px;position:absolute;top:0;left:0;right:0}.wish-tag span{-webkit-line-clamp:3;word-break:keep-all;-webkit-box-orient:vertical;font-size:12px;font-weight:600;line-height:1.35;display:-webkit-box;overflow:hidden}.wish-tag small{color:var(--mute);margin-top:auto;font-size:10px}@keyframes wish-sway{0%,to{transform:rotate(-1.6deg)}50%{transform:rotate(1.6deg)}}.wish-letter{background:#fffaf0;border-top:12px solid #f4c531;border-radius:6px 6px 14px 14px;padding:20px 18px 16px;box-shadow:0 6px 18px #0000001f}.wish-letter p{word-break:keep-all;margin:0 0 14px;font-size:18px;font-weight:700;line-height:1.6}.wish-letter small{color:var(--mute);font-size:13px}input,textarea,select{font-size:16px}.sheet.fit{max-height:74%}.sheet.fit .tabs{overflow:hidden}.sheet.fit .grid{flex:none;overflow:hidden}.sheet.fit .opt{aspect-ratio:auto;height:min(21vw,10.5vh,96px);padding:0}.sheet.fit .opt canvas{width:auto;max-width:92%;height:92%;display:block}.sheet.fit .sliders{gap:min(14px,1.6vh);padding:2px}.lv-badge{vertical-align:-5px;flex:none;justify-content:center;align-items:center;margin:0 4px 0 2px;display:inline-flex}.lv-badge svg{display:block;overflow:visible}.bd{background:#3a2a1e linear-gradient(#4a3526,#2e2118)}.bd-title{color:#fff;text-align:center;flex:1;font-size:15px;font-weight:800}.bd .board-bar{flex-wrap:nowrap}.bd .board-canvas{padding:8px 14px 0}.bd-frame{aspect-ratio:1100/500;background:linear-gradient(#b98552,#8a5c33);border-radius:10px;max-width:100%;max-height:100%;padding:12px;display:flex;box-shadow:0 10px 26px #00000073,inset 0 2px #ffffff40,inset 0 -3px #00000040}.bd-frame canvas{touch-action:none;border-radius:3px;width:100%;height:100%;display:block;box-shadow:inset 0 0 0 2px #00000059}.bd .board-canvas canvas{border-radius:3px;max-height:none;box-shadow:inset 0 0 0 2px #00000059}.bd-ledge{background:linear-gradient(#a06f40,#7a4f2b);border-radius:0 0 10px 10px;margin:0 14px;padding:8px 12px;box-shadow:0 6px 12px #00000059,inset 0 2px #ffffff2e}.bd-tray{align-items:center;gap:8px;display:flex}.bd-chalk{border:0;border-radius:5px;flex:1;height:22px;transition:transform .12s;box-shadow:inset 0 -3px #00000024,0 2px 3px #0000004d}.bd-chalk.on{transform:translateY(-7px)rotate(-3deg);box-shadow:inset 0 -3px #00000024,0 6px 8px #00000059,0 0 0 2px #fff}.bd-eraser{color:#fff;background:#6b4a2e;border:0;border-radius:6px;flex:1.5;height:34px;padding-top:9px;font-size:12px;font-weight:700;position:relative;box-shadow:0 2px 3px #0000004d}.bd-eraser i{background:#e9e4d8;border-radius:6px 6px 0 0;height:10px;position:absolute;top:0;left:0;right:0}.bd-eraser.on{transform:translateY(-4px);box-shadow:0 0 0 2px #fff,0 6px 8px #00000059}.bd-tools{justify-content:space-between;align-items:center;gap:10px;padding:12px 14px 6px;display:flex}.bd-sizes{gap:6px;display:flex}.bd-sizes button{background:#ffffff1f;border:0;border-radius:12px;justify-content:center;align-items:center;width:44px;height:44px;display:flex}.bd-sizes button.on{background:#ffffff4d;box-shadow:0 0 0 2px #fff}.bd-sizes i{border-radius:50%;display:block}.bd-note{color:#ffffffa6;text-align:center;padding:4px 14px calc(12px + var(--safe-b));font-size:12px;line-height:1.4}.paint .star{color:#f5b400;margin-right:1px;font-size:16px;line-height:1}.star-row{justify-content:center;gap:2px;display:flex}.star-row i{color:#dcdce2;font-size:24px;font-style:normal;line-height:1}.star-row i.on{color:#f5b400;text-shadow:0 2px 6px #f5b40073;animation:.45s cubic-bezier(.2,1.6,.4,1) both star-pop}@keyframes star-pop{0%{transform:scale(0)rotate(-40deg)}to{transform:scale(1)rotate(0)}}.cg-quit.warn{color:#fff;background:#d6452f;border-radius:999px;width:auto;padding:0 12px;font-size:12px;font-weight:800}.cups{background:linear-gradient(#b98552,#94643a);border-radius:16px;grid-template-columns:repeat(3,1fr);gap:10px;max-height:52vh;padding:12px 8px;display:grid;overflow:auto;box-shadow:inset 0 3px #fff3}.cup-item{background:#ffffffeb;border-radius:12px;flex-direction:column;align-items:center;gap:2px;padding:10px 4px 8px;display:flex}.cup-item b{font-size:13px}.cup-item small{color:var(--mute);font-size:11px}.cup svg{display:block}.cup-pts{font-style:normal;font-family:var(--num);color:#b07a00;font-size:12px;font-weight:700}.pang{letter-spacing:-.03em;color:#e0a100;margin:6px 0;font-size:52px;font-weight:800;transition:transform .25s}.pang.done{animation:.5s cubic-bezier(.2,1.6,.4,1) pang}@keyframes pang{0%{transform:scale(1)}45%{transform:scale(1.28)}to{transform:scale(1)}}.opt.item{gap:0}.opt.item img{object-fit:contain;max-width:80%;height:62%;display:block}.opt.item small{color:var(--ink2);white-space:nowrap;font-size:10px;font-weight:700;line-height:1.2}.opt.item .price{color:#b07a00;background:#fff6d6;border-radius:999px;padding:1px 5px;font-size:10px;font-weight:700;position:absolute;top:4px;right:5px}.buy-bar{flex-direction:column;gap:6px;display:flex}.buy-bar:empty{display:none}.buy-bar small{color:var(--mute);font-size:12px}.buy-chips{flex-wrap:wrap;gap:6px;display:flex}.buy-chip{background:var(--ink);color:#fff;border-radius:999px;align-items:center;gap:6px;height:34px;padding:0 12px;font-size:12px;font-weight:700;display:inline-flex}.buy-chip b{color:#ffd65a;font-family:var(--num)}.buy-chip:disabled{color:#8a8a92;background:#e3e3e8}.buy-chip:disabled b{color:#8a8a92}.buy-chip.demo{color:var(--ink2);background:#f2f2f4}.champ-row{gap:8px;display:flex}.champ{background:#f4f4f6;border-radius:14px;flex-direction:column;flex:1;gap:2px;min-width:0;padding:10px 12px;display:flex}.champ small{color:var(--mute);font-size:11px;font-weight:700}.champ b{white-space:nowrap;text-overflow:ellipsis;font-size:15px;overflow:hidden}.champ span{color:var(--ink2);font-size:11px}.cbadges{flex-direction:column;gap:6px;display:flex}.cbadge{background:#fff8e0;border-radius:12px;align-items:center;gap:10px;padding:6px 12px;display:flex}.cbadge img{object-fit:contain;width:34px;height:34px}.cbadge b{font-size:14px;display:block}.cbadge small{color:var(--mute);font-size:12px}.kintro{flex-direction:column;gap:12px;max-height:76vh;padding-bottom:4px;display:flex}.kintro>*{flex:none}.kin-hero{color:#fff;border-radius:20px;align-items:center;min-height:148px;padding:16px 16px 16px 132px;display:flex;position:relative;overflow:hidden}.kin-hero:after{content:"";pointer-events:none;background:radial-gradient(120% 90% at 0 100%,#ffffff38,#0000 60%);position:absolute;inset:0}.kin-npc{filter:drop-shadow(0 6px 10px #00000059);z-index:1;width:124px;height:165px;position:absolute;top:6px;left:4px}.kin-title{z-index:1;flex-direction:column;gap:3px;min-width:0;display:flex;position:relative}.kin-title small{opacity:.85;font-size:12px;font-weight:700}.kin-title h2{letter-spacing:-.02em;flex-wrap:wrap;align-items:center;gap:6px;margin:0;font-size:24px;line-height:1.15;display:flex}.kin-title span{opacity:.9;font-size:13px}.kin-chips{flex-wrap:wrap;gap:6px;margin-top:6px;display:flex}.kin-chips i{background:#ffffff38;border-radius:999px;padding:3px 10px;font-size:12px;font-style:normal;font-weight:700}.kin-chips i.me{color:#17141f;background:#ffd60a}.kin-say{color:var(--ink2);background:#f4f4f6;border-radius:4px 18px 18px;margin-top:2px;padding:12px 14px;font-size:14px;line-height:1.55;position:relative}.kin-say:before{content:"";border:9px solid #0000;border-top:0;border-bottom-color:#f4f4f6;position:absolute;top:-9px;left:34px}.kin-lv{background:#f4f4f6;border-radius:14px;flex-direction:column;gap:8px;padding:12px 14px;display:flex}.kin-lv b{font-size:14px}.kin-lv small{color:var(--mute);font-size:11.5px}.kin-bar{background:#e2e2e8;border-radius:5px;height:10px;overflow:hidden}.kin-bar i{border-radius:5px;height:100%;display:block}.kin-sec{flex-direction:column;gap:8px;display:flex}.kin-sec>.row b{font-size:15px}.kin-sec small{color:var(--mute);font-size:11.5px}.kin-list{flex-direction:column;gap:4px;display:flex}.kin-mem{background:#f8f8fa;border-radius:12px;grid-template-columns:26px 1fr auto 56px;align-items:center;gap:8px;padding:8px 12px;font-size:14px;display:grid}.kin-mem.me{color:#fff;background:#17141f}.kin-mem b{white-space:nowrap;text-overflow:ellipsis;font-weight:700;overflow:hidden}.kin-mem .n{font-family:var(--num);text-align:center;color:var(--mute);font-weight:800}.kin-mem .n.top1{color:#e0a100}.kin-mem .n.top2{color:#8a93a6}.kin-mem .n.top3{color:#b9703c}.kin-mem .lv{font-style:normal;font-family:var(--num);color:#55555c;background:#e9e9ee;border-radius:999px;padding:2px 8px;font-size:11px;font-weight:800}.kin-mem.me .lv{color:#fff;background:#fff3}.kin-mem .num{font-family:var(--num);text-align:right;font-size:13px;font-weight:700}.quest-say{word-break:keep-all;background:#f4f4f6;border-radius:14px;padding:12px 14px;font-size:15px;line-height:1.6}.ask-list{flex-direction:column;min-height:0;max-height:38vh;display:flex;overflow-y:auto}.ask-row{border-bottom:1px solid #ececf0;align-items:center;gap:10px;padding:10px 0;font-size:15px;display:flex}.ask-row>b{color:#8a8a92;text-align:center;width:20px}.ask-row>span{text-overflow:ellipsis;white-space:nowrap;flex:1;min-width:0;overflow:hidden}.ask-row small{color:#8a8a92;font-size:11px}.ask-row>em{color:#55555c;font-size:13px;font-style:normal}.bar-rows{flex-direction:column;gap:10px;display:flex}.bar-row{align-items:center;gap:10px;display:flex}.bar-row>b{color:#55555c;background:#e2e2e8;border-radius:50%;flex:none;place-items:center;width:22px;height:22px;font-size:12px;display:grid}.bar-row.me>b{color:#fff;background:#111114}.bar-main{flex:1;min-width:0}.bar-top{justify-content:space-between;align-items:baseline;gap:8px;font-size:14px;font-weight:700;display:flex}.bar-top span{text-overflow:ellipsis;white-space:nowrap;min-width:0;overflow:hidden}.bar-top small{color:#8a8a92;font-size:12px;font-weight:400}.bar-top i{color:#fff;vertical-align:2px;background:#111114;border-radius:6px;margin-left:6px;padding:1px 5px;font-size:10px;font-style:normal}.bar-top em{flex:none;font-size:14px;font-style:normal}.bar-track{background:#e2e2e8;border-radius:4px;height:8px;margin-top:5px;overflow:hidden}.bar-fill{border-radius:4px;height:100%}.stat-chips{grid-template-columns:repeat(3,1fr);gap:8px;display:grid}.stat-chip{text-align:center;background:#f4f4f6;border-radius:12px;flex-direction:column;gap:3px;padding:10px 8px;display:flex}.stat-chip small{color:#8a8a92;font-size:11px;font-weight:700}.stat-chip b{white-space:nowrap;font-size:15px}.event-row{align-items:center;gap:12px;display:flex}.event-row img{object-fit:contain;flex:none;width:40px;height:40px}.event-row b{font-size:14px;display:block}.event-row small{color:#8a8a92;font-size:12px}.sheet.fit .opt.item canvas{height:92%}.art-box{background:#f4f4f6;border-radius:12px;position:relative;overflow:hidden}.art-box img{object-fit:contain;width:100%;max-height:56vh;display:block}.aplus-row{pointer-events:none;flex-wrap:wrap;gap:4px;display:flex;position:absolute;top:8px;left:8px;right:8px}.aplus{color:#d62f2f;text-align:center;background:#ffffffc7;border:3px solid #d62f2f;border-radius:50%;flex:none;width:40px;height:40px;font:900 18px/34px Space Grotesk,sans-serif}.aplus.mine{animation:.35s cubic-bezier(.2,1.6,.4,1) aplus-in}@keyframes aplus-in{0%{opacity:0;scale:2.4}to{opacity:1;scale:1}}
