:root{--bg:#10121e;--surface:#171a2b;--surface-2:#202438;--text:#eeeae3;--muted:#9a9db0;--accent:#bc965b;--accent-text:#10121e;--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark}*{box-sizing:border-box}html,body{background:var(--bg);height:100%;color:var(--text);-webkit-text-size-adjust:100%;overscroll-behavior:none;touch-action:manipulation;-webkit-user-select:none;user-select:none;-webkit-tap-highlight-color:transparent;margin:0;font-family:system-ui,-apple-system,Apple SD Gothic Neo,Noto Sans KR,sans-serif}#root{height:100%}.app{min-height:100%;padding:env(safe-area-inset-top) env(safe-area-inset-right) env(safe-area-inset-bottom) env(safe-area-inset-left);flex-direction:column;display:flex}.app-main{flex:1;width:100%;max-width:480px;margin:0 auto;padding:16px}.app-footer{color:var(--muted);justify-content:space-between;align-items:center;width:100%;max-width:1200px;margin:0 auto;padding:12px 16px;font-size:12px;display:flex}.visits{font-variant-numeric:tabular-nums;letter-spacing:.02em;grid-template-columns:auto auto;gap:2px 14px;margin:0;display:grid}.visits dt{text-transform:uppercase;margin:0;font-weight:700}.visits dd{text-align:right;color:var(--text);margin:0;font-weight:700}.visits-today{color:var(--accent)}.page-title{margin:8px 0 4px;font-size:28px}.page-sub{color:var(--muted);margin:0 0 20px}.game-list{grid-template-columns:repeat(auto-fill,minmax(168px,1fr));gap:12px;margin:0;padding:0;list-style:none;display:grid}.game-list li{grid-template-rows:1fr auto;display:grid}.game-card{text-align:center;background:var(--surface);color:inherit;border-radius:14px;align-content:start;justify-items:center;gap:8px;padding:18px 14px 16px;text-decoration:none;display:grid}.game-card:active{background:var(--surface-2)}.game-card-text{justify-items:center;gap:4px;min-width:0;display:grid}.game-card-icon{filter:drop-shadow(0 2px 6px #00000059);place-items:center;display:grid}.game-card-name{font-size:18px;font-weight:700}.game-card-desc{color:var(--muted);font-size:14px}.game-card-best{color:var(--accent);font-size:13px}.game-list li:has(.game-resume) .game-card{border-radius:14px 14px 0 0}.game-resume{background:#f59e0b24;border:1px solid #f59e0b73;border-top:none;border-radius:0 0 14px 14px;align-items:stretch;display:flex;overflow:hidden}.game-resume-go{min-width:0;color:var(--accent);flex-wrap:wrap;flex:1;justify-content:center;align-items:center;gap:4px 8px;padding:8px 12px;font-size:14px;font-weight:600;text-decoration:none;display:flex}.game-resume-go:active{background:#f59e0b40}.game-resume-close{appearance:none;color:var(--accent);font:inherit;cursor:pointer;background:0 0;border:0;border-left:1px solid #f59e0b4d;padding:0 14px;font-size:20px;line-height:1}.game-resume-close:active{background:#f59e0b40}.game-resume-dot{background:#ef4444;border-radius:50%;width:8px;height:8px;animation:1.2s ease-in-out infinite yut-auto-pulse}.game-resume-cta{font-weight:800}.btn{appearance:none;font:inherit;background:var(--accent);color:var(--accent-text);cursor:pointer;border:0;border-radius:10px;padding:10px 16px;font-weight:600;text-decoration:none}.btn:active{filter:brightness(.9)}.play-bar{align-items:center;gap:12px;margin-bottom:12px;display:flex}.play-back{color:var(--text);padding:4px 8px;font-size:22px;text-decoration:none}.play-title{flex:1;font-size:20px;font-weight:700}.play-best{color:var(--muted);font-size:13px}.play-best b{color:var(--text);font-size:16px}.ad-slot{min-height:0;margin-top:20px}.g2048-hud{justify-content:space-between;align-items:center;margin-bottom:12px;display:flex}.g2048-score{background:var(--surface);border-radius:10px;min-width:96px;padding:6px 14px;display:grid}.g2048-score .label{color:var(--muted);letter-spacing:.08em;font-size:11px}.g2048-score .value{font-size:22px;font-weight:700}.g2048-board-wrap{aspect-ratio:1;width:100%;max-width:min(100%,100dvh - 220px);margin:0 auto;position:relative}.g2048-board{touch-action:none;border-radius:12px;width:100%;height:100%;display:block}.g2048-overlay{text-align:center;background:#1c1917d1;border-radius:12px;place-content:center;gap:8px;font-size:22px;font-weight:700;display:grid;position:absolute;inset:0}.g2048-overlay p{margin:0}.g2048-final{color:var(--accent);font-size:36px}.g2048-help{text-align:center;color:var(--muted);margin:12px 0 0;font-size:13px}.g2048-time{font-variant-numeric:tabular-nums;font-size:18px}.g2048-clear-time{font-variant-numeric:tabular-nums;color:var(--muted);font-size:20px}.btn-ghost{background:var(--surface-2);color:var(--text)}.btn:disabled{opacity:.5;cursor:default}.g2048-hud-actions{gap:8px;display:flex}.g2048-targets{justify-content:center;gap:10px;margin-top:8px;display:flex}.g2048-targets .btn{min-width:72px}.input{font:inherit;border:1px solid var(--surface-2);background:var(--surface);color:var(--text);border-radius:10px;padding:10px 12px}.room-join{gap:8px;display:flex}.room-join .input{flex:1}.room-error{color:#f87171;font-size:14px}.room-lobby{gap:16px;display:grid}.room-invite{background:var(--surface);border-radius:12px;gap:8px;padding:12px;display:grid}.room-invite-url{word-break:break-all;color:var(--muted);-webkit-user-select:all;user-select:all;font-size:13px}.room-invite-actions{gap:8px;display:flex}.room-players{gap:6px;margin:0;padding:0;list-style:none;display:grid}.room-players li{background:var(--surface);border-radius:10px;padding:10px 12px}.room-player-empty{color:var(--muted);border:1px dashed var(--surface-2);background:0 0!important}.room-host-badge{color:var(--accent);margin-left:8px;font-size:12px}.room-settings{gap:12px;display:grid}.room-settings label{justify-content:space-between;align-items:center;gap:12px;display:flex}.room-option{gap:6px;display:grid}.room-option-hint{color:var(--muted);margin-top:-2px;font-size:12px;line-height:1.5}.room-option .g2048-targets{justify-content:flex-start;margin:0}.room-hint{color:var(--muted);margin:0;font-size:13px}.room-start{padding:14px;font-size:18px}.room-timer{text-align:center;color:var(--muted);font-variant-numeric:tabular-nums;min-height:20px;margin-bottom:8px}.room-scoreboard{gap:6px;margin:16px 0 0;padding:0;list-style:none;display:grid}.room-scoreboard li{background:var(--surface);border-radius:10px;align-items:center;gap:10px;padding:8px 12px;display:flex}.room-scoreboard li.me{outline:2px solid var(--accent)}.room-rank{width:36px;color:var(--muted);font-variant-numeric:tabular-nums}.room-name{flex:1}.room-done{color:var(--muted);font-size:12px}.room-score{font-variant-numeric:tabular-nums;font-weight:700}.room-actions{justify-content:center;gap:8px;margin-top:16px;display:flex}.g2048-target-badge{color:var(--muted);align-self:center;font-size:14px}.chat{background:var(--surface);border-radius:12px;grid-template-rows:1fr auto;min-height:260px;max-height:70dvh;display:grid;overflow:hidden}.chat-list{-webkit-user-select:text;user-select:text;align-content:start;gap:6px;min-height:120px;padding:10px 12px;display:grid;overflow-y:auto}.chat-list p{margin:0;font-size:14px}.chat-system{color:var(--muted);text-align:center;font-size:12px!important}.chat-msg{align-items:baseline;gap:8px;display:flex}.chat-msg.me .chat-name{color:var(--accent)}.chat-name{color:var(--muted);flex:none;font-size:13px;font-weight:600}.chat-time{color:var(--muted);font-variant-numeric:tabular-nums;opacity:.8;flex:none;margin-left:auto;font-size:11px}.chat-system .chat-time{margin-left:6px}.chat-text{word-break:break-word}.chat-form{border-top:1px solid var(--surface-2);grid-template-columns:minmax(0,1fr) auto;gap:8px;min-width:0;padding:10px;display:grid}.chat-form .input{width:100%;min-width:0}.chat-form .btn{white-space:nowrap;padding-inline:12px}.chat-fab{background:var(--accent);width:40px;height:40px;color:var(--accent-text);cursor:pointer;border:none;border-radius:50%;justify-content:center;align-items:center;margin-left:auto;display:flex;position:relative}.chat-fab.has-unread{animation:1.6s ease-in-out infinite chat-fab-ring}@keyframes chat-fab-ring{0%,to{box-shadow:0 0 #ef4444b3}50%{box-shadow:0 0 0 8px #ef444400}}.chat-fab-badge{color:#fff;background:#ef4444;border-radius:10px;justify-content:center;align-items:center;min-width:20px;height:20px;padding:0 5px;font-size:12px;font-weight:800;display:flex;position:absolute;top:-4px;right:-4px}.chat-pop-backdrop{z-index:40;background:#00000059;animation:.2s ease-out both fade-in;position:fixed;inset:0}.chat-pop-backdrop.closing{animation:.2s ease-in both chat-fade-out}.chat-pop{top:calc(60px + env(safe-area-inset-top));background:var(--surface);z-index:41;transform-origin:calc(100% - 26px) -14px;border-radius:16px;max-height:min(70dvh,560px);animation:.24s cubic-bezier(.2,.9,.3,1.1) both chat-pop-in;display:grid;position:fixed;left:12px;right:12px;overflow:hidden;box-shadow:0 12px 36px #0000008c}.chat-pop.closing{animation:.2s ease-in both chat-pop-out}@keyframes chat-pop-in{0%{opacity:0;transform:scale(.15)}to{opacity:1;transform:scale(1)}}@keyframes chat-pop-out{0%{opacity:1;transform:scale(1)}to{opacity:0;transform:scale(.15)}}@keyframes chat-fade-out{0%{opacity:1}to{opacity:0}}.chat-pop .chat{border-radius:0;min-height:0;max-height:min(70dvh,560px)}.chat-pop .chat-list{min-height:220px}.chat-fab.open{background:var(--surface-2);color:var(--text)}@media (width>=480px){.chat-pop{width:min(420px,100vw - 24px);left:auto}}@media (width<=719px){.room.lobby .room-layout{grid-template-columns:minmax(0,1fr)}.room.lobby .room-layout>.chat{display:none}}@media (width>=720px){.room.lobby .chat-fab,.room.lobby .chat-pop,.room.lobby .chat-pop-backdrop{display:none}}@media (width>=1040px){.room.live .chat-fab,.room.live .chat-pop,.room.live .chat-pop-backdrop{display:none}}.stairs-board-wrap{border-radius:12px;width:100%;height:min(58dvh,520px);position:relative;overflow:hidden}.stairs-board{touch-action:none;width:100%;height:100%;display:block}.stairs-pads{grid-template-columns:1fr 1fr;gap:10px;margin-top:10px;display:grid}.stairs-pad{appearance:none;background:var(--surface);height:84px;color:var(--text);touch-action:manipulation;-webkit-user-select:none;user-select:none;border:0;border-radius:14px;font-size:32px}.stairs-pad:active{background:var(--surface-2)}.stairs-pad:disabled{opacity:.35}.avatar{vertical-align:middle;line-height:0;display:inline-block}.avatar svg{width:100%;height:100%}.home-head{justify-content:space-between;align-items:center;gap:12px;margin-bottom:20px;display:flex}.home-head .page-title{margin-top:0}.home-head .page-sub{margin-bottom:0}.me-button{appearance:none;background:var(--surface);color:var(--muted);font:inherit;cursor:pointer;border:0;border-radius:14px;justify-items:center;gap:2px;padding:8px 12px;font-size:12px;display:grid}.me-button:active{background:var(--surface-2)}.modal-backdrop{z-index:10;background:#0000008c;place-items:center;padding:16px;display:grid;position:fixed;inset:0}.modal{background:var(--surface);border-radius:16px;width:min(100%,420px);max-height:90dvh;padding:16px;overflow-y:auto}.modal-title{margin:0 0 12px;font-size:18px;font-weight:700}.picker-grid{grid-template-columns:repeat(4,1fr);gap:8px;display:grid}.picker-item{appearance:none;background:var(--bg);color:var(--text);font:inherit;cursor:pointer;border:2px solid #0000;border-radius:12px;justify-items:center;gap:4px;padding:8px 4px;font-size:13px;display:grid}.picker-item.selected{border-color:var(--accent)}.room-player{align-items:center;gap:10px;display:flex}.room-me{align-items:center;gap:6px;display:inline-flex}.app-main:has(.room){max-width:860px}.app-main:has(.room-live){max-width:1200px}.room-layout{grid-template-columns:minmax(0,3fr) minmax(0,2fr);align-items:start;gap:12px;display:grid}.room-layout>.chat{position:sticky;top:12px}.entry-hero{text-align:center;justify-items:center;gap:8px;padding:24px 0 16px;display:grid}.entry-desc{color:var(--muted);margin:0}.entry-actions{gap:10px;margin:8px 0 12px;display:grid}.entry-btn{text-align:center;padding:16px;font-size:18px}.me-inline{padding:4px 10px}.btn-small{margin-left:auto;padding:4px 10px;font-size:12px}button.room-me{appearance:none;font:inherit;cursor:pointer;color:var(--muted);background:0 0;border:0}.room-others{grid-template-columns:repeat(auto-fill,minmax(110px,1fr));gap:8px;margin-top:12px;display:grid}.room-other{appearance:none;background:var(--surface);color:var(--text);font:inherit;text-align:left;border:2px solid #0000;border-radius:10px;gap:4px;padding:6px;display:grid}.room-other.selected{border-color:var(--accent)}.room-other-head{color:var(--muted);align-items:center;gap:4px;font-size:12px;display:flex}.room-other-head b{color:var(--text);margin-left:auto}.room-other-empty{color:var(--muted);text-align:center;padding:16px 0;font-size:12px}.preview-canvas{background:#1e2a3a;border-radius:8px;width:100%;display:block}.preview-canvas.square{aspect-ratio:1}.preview-canvas.tall{aspect-ratio:3/4}.spectate{gap:8px;display:grid}.spectate-bar{justify-content:space-between;align-items:center;gap:8px;display:flex}.spectate-title{align-items:center;gap:6px;font-weight:600;display:inline-flex}.spectate-view{width:100%;max-width:min(100%,100dvh - 260px);margin:0 auto}.spectate-view .preview-canvas.tall{aspect-ratio:4/5}.room-live{grid-template-columns:minmax(0,1fr);align-items:start;gap:12px;display:grid}.room-live-chat{display:none}.room-live .room-others{grid-template-columns:repeat(auto-fill,minmax(100px,1fr));margin-top:0}@media (width>=720px){.room-live{grid-template-columns:minmax(0,1fr) 232px}.room-live>.room-play{grid-column:1}.room-live>.room-others{grid-column:2}.room-live .room-others{grid-template-columns:repeat(2,1fr);position:sticky;top:12px}}@media (width>=1040px){.room-live{grid-template-columns:260px minmax(0,1fr) 232px}.room-live>.room-live-chat{grid-column:1}.room-live>.room-play{grid-column:2}.room-live>.room-others{grid-column:3}.room-live-chat{display:block;position:sticky;top:12px}.chat-compact{min-height:320px;max-height:80dvh}.chat-compact .chat-list p{font-size:13px}}@keyframes fade-in{0%{opacity:0;transform:translateY(6px)}to{opacity:1;transform:none}}@keyframes pop-num{0%{opacity:0;transform:scale(1.6)}25%{opacity:1;transform:scale(1)}85%{opacity:1;transform:scale(1)}to{opacity:0;transform:scale(.9)}}@keyframes rise{0%{opacity:0;transform:translateY(24px)}to{opacity:1;transform:none}}@keyframes dim{0%{background:#1c191700}to{background:#1c1917b8}}.fade-in{animation:.35s ease-out both fade-in}.stage{position:relative}.stage-overlay{z-index:2;border-radius:12px;place-items:center;display:grid;position:absolute;inset:0}.stage-overlay.countdown{pointer-events:none;background:#1c1917a8;place-items:start center;padding-top:22%}.countdown-num{color:var(--accent);text-shadow:0 4px 24px #00000080;font-size:120px;font-weight:800;animation:1s ease-out both pop-num}.stage-overlay.results{align-items:end;padding:12px;animation:.6s ease-out .3s both dim}.results-panel{background:var(--surface);border-radius:16px;width:min(100%,420px);max-height:100%;padding:16px;animation:.5s ease-out .35s both rise;overflow-y:auto;box-shadow:0 10px 40px #00000073}.results-title{margin:0 0 8px;font-size:20px;font-weight:800}.results-list{gap:6px;margin:0 0 12px;padding:0;list-style:none;display:grid}.results-list li{background:var(--bg);border-radius:10px;align-items:center;gap:10px;padding:8px 12px;animation:.4s ease-out both rise;display:flex}.results-list li.me{outline:2px solid var(--accent)}.results-list li:first-child .room-rank{color:var(--accent);font-weight:800}@media (prefers-reduced-motion:reduce){.fade-in,.countdown-num,.stage-overlay.results,.results-panel,.results-list li{animation-duration:10ms!important;animation-delay:0s!important}}@media (width>=720px){.room-live.turn{grid-template-columns:minmax(0,1fr)}.room-live.turn .room-play{max-width:680px}}@media (width>=1040px){.room-live.turn{grid-template-columns:260px minmax(0,1fr)}}@media (width>=720px){.room-live .room-play{width:100%;max-width:600px;margin:0 auto}.room-live .stairs-board-wrap{height:min(72dvh,680px)}.room-live .stairs-pads{grid-template-columns:1fr 1fr}.room-live .stairs-pad{height:72px}.room-live .g2048-board-wrap{max-width:min(100%,100dvh - 240px)}}.entry-find{align-items:center;gap:8px;margin-top:16px;display:flex}.entry-find-label{color:var(--muted);flex:none;font-size:14px}.entry-find .input{flex:1;min-width:0}.input.mono{letter-spacing:.08em;font-family:ui-monospace,SFMono-Regular,Menlo,monospace}.yut{gap:10px;display:grid;position:relative}.yut-top{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:12px;display:flex}.yut-turn{align-items:center;gap:8px;display:inline-flex}.yut-turn-phase{color:var(--muted);font-size:13px}.yut-auto{color:#fbbf24;background:#fbbf241f;border:1px solid #fbbf2459;border-radius:999px;justify-self:center;align-items:center;gap:8px;padding:6px 12px;font-size:13px;display:flex}.yut-auto-dot{background:#fbbf24;border-radius:50%;width:8px;height:8px}.yut-auto.active .yut-auto-dot{animation:1s ease-in-out infinite yut-auto-pulse}@keyframes yut-auto-pulse{0%,to{opacity:1;transform:scale(1)}50%{opacity:.4;transform:scale(.7)}}@media (prefers-reduced-motion:reduce){.yut-auto.active .yut-auto-dot{animation:none}}.yut-timer{font-variant-numeric:tabular-nums;color:var(--accent);text-align:right;min-width:34px;font-weight:700}.yut-sticks{align-items:center;gap:6px;min-height:44px;display:inline-flex}.yut-stick{background:#c9a97a;border:2px solid #1c1917;border-radius:6px;width:12px;height:40px;transition:background .15s;position:relative}.yut-stick.flat{background:#f1e2c3}.yut-stick.round{background:linear-gradient(90deg,#7a5a34,#b8905e 50%,#7a5a34)}.yut-stick.rolling{animation:.18s linear infinite stick-roll}.yut-mark{background:#1c1917;border-radius:50%;width:4px;height:4px;position:absolute;top:6px;left:50%;transform:translate(-50%)}.yut-result{color:var(--accent);margin-left:8px;font-size:26px;font-weight:800;animation:.25s ease-out both fade-in}@keyframes stick-roll{0%{transform:rotateX(0)translateY(0)}50%{transform:rotateX(180deg)translateY(-6px)}to{transform:rotateX(360deg)translateY(0)}}.yut-board-wrap{width:100%;max-width:min(100%,100dvh - 260px);margin:0 auto;position:relative}.yut-board-wrap.shake{animation:.6s ease-out yut-shake}.yut-board-wrap.shake-soft{animation:.4s ease-out yut-shake-soft}@keyframes yut-shake-soft{0%,to{transform:translate(0)}30%{transform:translate(-3px,2px)}60%{transform:translate(3px,-2px)}}@keyframes yut-shake{0%,to{transform:translate(0)}15%{transform:translate(-10px,5px)}30%{transform:translate(10px,-5px)}45%{transform:translate(-7px,-4px)}60%{transform:translate(7px,4px)}75%{transform:translate(-3px,2px)}90%{transform:translate(3px,-1px)}}.yut-board{background:#1e2a3a;border-radius:14px;width:100%;display:block}.yut-fx{pointer-events:none;border-radius:14px;justify-content:center;align-items:center;display:flex;position:absolute;inset:0;overflow:hidden}.yut-fx.roll{background:#0a0e1673}.yut-fx.show{animation:1.2s both yut-fx-fade}@keyframes yut-fx-fade{0%,70%{opacity:1}to{opacity:0}}.yut-fx-sticks{perspective:700px;gap:18px;display:flex}.yut-fx-sticks .yut-stick{width:30px;height:120px;transform-style:preserve-3d;border-width:3px;border-radius:15px;transition:none;box-shadow:0 6px 10px #00000073}.yut-fx-sticks .yut-stick.tossing{animation:1.4s cubic-bezier(.3,.1,.4,1) both yut-toss;animation-delay:var(--dl)}@keyframes yut-toss{0%{opacity:0;transform:translateY(150px)rotateX(0)rotate(0)scale(.9)}6%{opacity:1}38%{transform:translate(var(--sx), -180px) rotateX(900deg) rotateZ(calc(var(--rz) * .5)) scale(1.25)}62%{transform:translate(var(--sx), 0) rotateX(1440deg) rotateZ(var(--rz)) scale(1)}70%{transform:translate(calc(var(--sx) * 1.1), -36px) rotateX(1440deg) rotateZ(var(--rz))}78%{transform:translate(calc(var(--sx) * 1.15), 0) rotateX(1440deg) rotateZ(var(--rz))}86%{transform:translate(calc(var(--sx) * 1.18), -10px) rotateX(1440deg) rotateZ(var(--rz))}92%{transform:translate(calc(var(--sx) * 1.2), 0) rotateX(1440deg) rotateZ(var(--rz))}to{transform:translate(calc(var(--sx) * 1.2), 0) rotateX(1440deg) rotateZ(var(--rz))}}.yut-fx-sticks .yut-mark{width:9px;height:9px;top:14px}.yut-fx-text{color:var(--accent);text-shadow:0 5px #1c1917,0 0 28px #fbbf248c;font-size:clamp(72px,24vmin,160px);font-weight:900;line-height:1;animation:.7s cubic-bezier(.2,1.5,.4,1) both yut-pop;position:relative}@keyframes yut-pop{0%{opacity:0;transform:scale(.2)}45%{opacity:1;transform:scale(1.15)}to{opacity:1;transform:scale(1)}}.yut-fx-ring{aspect-ratio:1;border:4px solid var(--accent);opacity:0;border-radius:50%;width:38%;animation:.9s ease-out both yut-ring;position:absolute}.yut-fx-ring.r2{border-width:2px;animation-delay:.18s}@keyframes yut-ring{0%{opacity:.9;transform:scale(.3)}to{opacity:0;transform:scale(2.4)}}.yut-fx-spark{--d:-150px;background:#fde68a;border-radius:50%;width:10px;height:10px;animation:.9s ease-out both yut-spark;position:absolute;box-shadow:0 0 10px #fbbf24}@keyframes yut-spark{0%{transform:rotate(var(--a)) translateY(0) scale(1);opacity:1}to{transform:rotate(var(--a)) translateY(var(--d)) scale(.2);opacity:0}}.yut-fx-do .yut-fx-text{color:#d6d3d1;text-shadow:0 3px #1c1917;font-size:clamp(44px,13vmin,84px);animation-duration:.45s}.yut-fx-do .yut-fx-ring{display:none}.yut-fx-do.show{animation-duration:.8s}.yut-fx-gae .yut-fx-text{color:#fcd34d;text-shadow:0 4px #1c1917,0 0 12px #fbbf2459;font-size:clamp(52px,16vmin,104px)}.yut-fx-gae .yut-fx-ring{border-width:2px;width:28%}.yut-fx-gae .yut-fx-ring.r2{display:none}.yut-fx-geol .yut-fx-text{font-size:clamp(62px,19vmin,124px)}.yut-fx-geol .yut-fx-ring.r2{display:none}.yut-fx-geol .yut-fx-spark{--d:-110px;width:8px;height:8px}.yut-fx-yut .yut-fx-text,.yut-fx-mo .yut-fx-text{background:linear-gradient(#fff7d6,#fbbf24 55%,#d97706);color:#0000;filter:drop-shadow(0 5px #1c1917)drop-shadow(0 0 22px #fbbf24b3);text-shadow:none;-webkit-background-clip:text;background-clip:text}.yut-fx-yut .yut-fx-text{font-size:clamp(84px,27vmin,176px)}.yut-fx-yut .yut-fx-spark{--d:-210px;width:12px;height:12px}.yut-fx-yut .yut-fx-ring{border-width:5px}.yut-fx-mo .yut-fx-text{font-size:clamp(110px,38vmin,250px);animation:.7s cubic-bezier(.2,1.5,.4,1) both yut-pop,.6s ease-in-out .5s infinite alternate yut-glow}@keyframes yut-glow{0%{filter:drop-shadow(0 5px #1c1917)drop-shadow(0 0 16px #fbbf2499)}to{filter:drop-shadow(0 5px #1c1917)drop-shadow(0 0 40px #ffdc78)}}.yut-fx-mo .yut-fx-spark{--d:-320px;width:16px;height:16px;animation-duration:1.2s}.yut-fx-mo .yut-fx-ring{border-width:7px;animation-duration:1.2s}.yut-fx-mo .yut-fx-ring.r3{border-width:3px;animation-delay:.36s}.yut-fx-flash{pointer-events:none;background:radial-gradient(circle,#fff4c8e6,#fbbf2459 40%,#0000 70%);animation:.5s ease-out both yut-flash;position:absolute;inset:0}@keyframes yut-flash{0%{opacity:1}to{opacity:0}}.yut-fx-backdo .yut-fx-text{color:#c4b5fd;text-shadow:0 5px #1c1917,0 0 28px #8b5cf6cc;animation:.8s cubic-bezier(.2,1.3,.4,1) both yut-back}@keyframes yut-back{0%{opacity:0;transform:rotate(360deg)scale(.2)}60%{opacity:1;transform:rotate(-12deg)scale(1.1)}to{opacity:1;transform:rotate(0)scale(1)}}.yut-fx-backdo .yut-fx-ring{border-style:dashed;border-color:#8b5cf6;animation-name:yut-ring-in}@keyframes yut-ring-in{0%{opacity:0;transform:scale(2.4)rotate(0)}to{opacity:.9;transform:scale(.4)rotate(-180deg)}}.yut-fx-backdo .yut-fx-spark{--d:-170px;background:#ddd6fe;animation-name:yut-spark-in;box-shadow:0 0 10px #8b5cf6}@keyframes yut-spark-in{0%{transform:rotate(var(--a)) translateY(var(--d)) scale(.3);opacity:0}to{transform:rotate(var(--a)) translateY(0) scale(1);opacity:1}}@media (prefers-reduced-motion:reduce){.yut-board-wrap.shake{animation:none}.yut-fx-spark,.yut-fx-ring{display:none}}.yut-line{fill:none;stroke:#5b6b7a;stroke-width:3px}.yut-node circle{fill:#3a4a5c;stroke:#9fb3c8;stroke-width:2.5px}.yut-node.target circle{cursor:pointer;fill:#f59e0b;stroke:#fbbf24}.yut-node.target rect{cursor:pointer;fill:#f59e0b}.yut-target-ring{stroke-dasharray:4 4;transform-box:fill-box;transform-origin:50%;animation:3s linear infinite spin;fill:none!important;stroke:#fbbf24!important}@keyframes spin{to{transform:rotate(360deg)}}.yut-finish-label{fill:#1c1917;text-anchor:middle;pointer-events:none;font-size:15px;font-weight:700}.yut-piece{transition:transform .24s ease-in-out}.yut-piece.moving image{animation:.26s ease-in-out infinite yut-hop}@keyframes yut-hop{0%,to{transform:translateY(0)}50%{transform:translateY(-9px)}}.yut-capture,.yut-block{pointer-events:none}.yut-block-ring{fill:#7dd3fc40;stroke:#7dd3fc;stroke-width:4px;transform-box:fill-box;transform-origin:50%;animation:.7s ease-out both yut-block-ring}.yut-block-ring.r2{fill:none;stroke-width:2px;animation-delay:.15s}@keyframes yut-block-ring{0%{opacity:1;transform:scale(.5)}to{opacity:0;transform:scale(2.6)}}.yut-block-text{fill:#bae6fd;text-anchor:middle;paint-order:stroke;stroke:#1e2a3a;stroke-width:4px;font-size:16px;font-weight:900;animation:.9s ease-out both yut-capture-text}.yut-piece.blocking .yut-shield{stroke-width:4px;animation:.3s ease-out 3 yut-shield-flash}@keyframes yut-shield-flash{0%,to{fill:#7dd3fc2e}50%{fill:#7dd3fcb3}}.yut-capture-ring{fill:none;stroke:#f87171;stroke-width:4px;transform-box:fill-box;transform-origin:50%;animation:.6s ease-out both yut-capture-ring}@keyframes yut-capture-ring{0%{opacity:1;transform:scale(.4)}to{opacity:0;transform:scale(3)}}.yut-capture-piece{transform-box:fill-box;transform-origin:50%;animation:.7s ease-in both yut-capture-piece}@keyframes yut-capture-piece{0%{opacity:1;transform:scale(1)rotate(0)}30%{opacity:1;transform:scale(1.3)rotate(-20deg)}to{opacity:0;transform:scale(.1)rotate(540deg)translateY(-60px)}}.yut-capture-text{fill:#f87171;text-anchor:middle;paint-order:stroke;stroke:#1e2a3a;stroke-width:4px;font-size:16px;font-weight:900;animation:.75s ease-out both yut-capture-text}@keyframes yut-capture-text{0%{opacity:0;transform:translateY(10px)scale(.5)}30%{opacity:1;transform:translateY(0)scale(1.15)}to{opacity:0;transform:translateY(-14px)scale(1)}}.yut-turn-badge{color:var(--muted);background:#ffffff14;border-radius:999px;padding:3px 10px;font-size:12px;font-weight:800}.yut-turn-badge.mine{background:var(--accent);color:#1c1917;animation:1.2s ease-in-out infinite yut-badge-pulse}@keyframes yut-badge-pulse{0%,to{box-shadow:0 0 #fbbf2499}50%{box-shadow:0 0 0 6px #fbbf2400}}.yut.my-turn .yut-board-wrap{box-shadow:0 0 0 3px var(--accent), 0 0 28px #fbbf2459;border-radius:14px}.yut.their-turn .yut-board{filter:saturate(.5)brightness(.72)}.yut .yut-board{transition:filter .4s}.yut-piece.selectable{cursor:pointer}.yut-piece.selectable image{filter:drop-shadow(0 0 6px #fbbf24)}.yut-stack-badge{fill:var(--accent);stroke:#1c1917;stroke-width:1.5px}.yut-stack-text{fill:#1c1917;text-anchor:middle;font-size:11px;font-weight:800}.yut-controls{gap:8px;min-height:52px;display:grid}.yut-queue{flex-wrap:wrap;align-items:center;gap:6px;min-height:36px;display:flex}.yut-chip{color:var(--accent);background:#fbbf2426;border:1px solid #fbbf2459;border-radius:999px;padding:4px 12px;font-size:15px;font-weight:700}.yut-hint{text-align:center;margin:0}.yut-dest-label{fill:#fbbf24;text-anchor:middle;paint-order:stroke;stroke:#1e2a3a;stroke-width:4px;pointer-events:none;font-size:15px;font-weight:800}.yut-dest-label .capture{fill:#f87171}.yut-dest-label .stack{fill:#86efac}.yut-node.target.cold circle,.yut-node.target.cold rect,.yut-dest-label.cold,.yut-piece.cold{opacity:.35}.yut-node.target.hot .yut-target-ring{stroke-dasharray:none;stroke-width:4px}.yut-node.target.hot circle:first-child{fill:#fde68a}.yut-piece.hot image{filter:drop-shadow(0 0 4px #fff)drop-shadow(0 0 12px #fbbf24)}.yut-route{fill:none;stroke:#fbbf24;stroke-width:5px;stroke-linecap:round;stroke-linejoin:round;stroke-dasharray:10 8;opacity:.85;pointer-events:none;animation:.6s linear infinite yut-route-flow}@keyframes yut-route-flow{to{stroke-dashoffset:-18px}}.yut-piece.selected image{filter:drop-shadow(0 0 4px #fff)drop-shadow(0 0 10px #fbbf24)}.yut-new image{opacity:.9}.yut-new.dim{opacity:.35}.yut-throw{padding:14px;font-size:18px}.yut-branch{flex-wrap:wrap;align-items:center;gap:8px;display:flex}.yut-players{gap:6px;margin:0;padding:0;list-style:none;display:grid}.yut-players li{background:var(--surface);border-radius:10px;align-items:center;gap:8px;padding:6px 10px;display:flex}.yut-players li.current{outline:2px solid var(--accent)}.yut-player-name{flex:1}.yut-player-pieces{gap:4px;display:inline-flex}.yut-player-pieces i{background:var(--surface-2);border:1px solid var(--muted);border-radius:50%;width:10px;height:10px}.yut-player-pieces i.board{background:var(--accent);border-color:var(--accent)}.yut-player-pieces i.done{background:#22c55e;border-color:#22c55e}.yut-bang-ring{fill:none;stroke:#fbbf24;stroke-width:2px;stroke-dasharray:6 6;opacity:.7;transform-box:fill-box;transform-origin:50%;animation:14s linear infinite spin}.yut-bang-star{fill:#fbbf2447;stroke:#fde68ab3;stroke-width:1.5px;transform-box:fill-box;transform-origin:50%;animation:3s ease-in-out infinite yut-bang-breathe}.yut-bang-star.inner{fill:#fde68a73;animation:none;transform:rotate(45deg)}@keyframes yut-bang-breathe{0%,to{opacity:.9;transform:scale(1)}50%{opacity:1;transform:scale(1.12)}}.yut-node.bang circle:first-child{fill:url(#yut-bang-fill);stroke:#fde68a;stroke-width:3px}.yut-bang-text{fill:#1c1917;text-anchor:middle;pointer-events:none;font-size:13px;font-weight:900}.yut-dest-label .bonus{fill:#c4b5fd}.yut-dest-label .blocked{fill:#7dd3fc}.yut-node.target.armed .yut-target-ring{stroke-dasharray:none;stroke-width:5px;animation:.8s ease-in-out infinite alternate yut-armed}@keyframes yut-armed{0%{opacity:1}to{opacity:.4}}.yut-shield{fill:#7dd3fc2e;stroke:#7dd3fc;stroke-width:2px;stroke-dasharray:3 3;transform-box:fill-box;transform-origin:50%;animation:6s linear infinite spin}.yut-effect{white-space:nowrap;color:#fde68a;cursor:help;background:#fbbf2424;border:1px solid #fbbf2466;border-radius:999px;align-items:center;gap:3px;padding:2px 8px;font-size:11px;font-weight:700;display:inline-flex}.yut-effect.devil{color:#fca5a5;background:#ef444424;border-color:#ef444473}.yut-effect.shield{color:#bae6fd;background:#7dd3fc24;border-color:#7dd3fc73}.yut-players li{flex-wrap:wrap}.yut-player-effects{flex-wrap:wrap;flex-basis:100%;gap:4px;padding-left:32px;display:flex}.yut-mine{background:linear-gradient(135deg,#fbbf241f,#fbbf2408);border:1px solid #fbbf2459;border-radius:12px;gap:6px;padding:8px 12px;animation:.3s fade-in;display:grid}.yut-mine-title{letter-spacing:.06em;color:var(--accent);font-size:11px;font-weight:800}.yut-mine-list{flex-wrap:wrap;gap:6px 14px;margin:0;padding:0;list-style:none;display:flex}.yut-mine-item{align-items:center;gap:8px;min-width:0;display:inline-flex}.yut-mine-icon{background:#fbbf242e;border-radius:50%;place-items:center;width:30px;height:30px;font-size:15px;display:grid;box-shadow:inset 0 0 0 1px #fbbf2473}.yut-mine-item.devil .yut-mine-icon{background:#ef44442e;box-shadow:inset 0 0 0 1px #ef444480}.yut-mine-item.shield .yut-mine-icon{background:#7dd3fc2e;box-shadow:inset 0 0 0 1px #7dd3fc80}.yut-mine-text{line-height:1.25;display:grid}.yut-mine-text b{font-size:13px}.yut-mine-item.devil .yut-mine-text b{color:#fca5a5}.yut-mine-item.shield .yut-mine-text b{color:#bae6fd}.yut-mine-text small{color:var(--muted);font-size:11px}.yut-choose{justify-items:center;gap:8px;display:grid}.yut-choose-buttons{flex-wrap:wrap;justify-content:center;gap:6px;display:flex}.yut-chip-btn{padding:10px 16px;font-size:17px}.yut-players li.resigned{opacity:.5}.yut-surrender{color:var(--muted);justify-self:end}.yut-cards{-webkit-backdrop-filter:blur(3px);padding:max(16px, env(safe-area-inset-top)) 12px max(16px, env(safe-area-inset-bottom));z-index:30;background:#05060abd;grid-template-rows:auto 1fr auto;grid-template-columns:minmax(0,1fr);place-items:center;gap:8px;animation:.3s ease-out both fade-in;display:grid;position:fixed;inset:0;overflow:hidden}.yut-cards-top{z-index:3;justify-items:center;gap:8px;display:grid}.yut-banner{color:#fff;text-align:center;word-break:keep-all;background:#261c28eb;border:2px solid #ffffff24;border-radius:16px;max-width:min(92vw,520px);padding:12px 22px;font-size:clamp(17px,4.6vw,20px);font-weight:800;animation:.45s cubic-bezier(.2,1.4,.4,1) both yut-pop;box-shadow:0 8px 24px #00000080}.yut-cards-timer{color:#ffffffb8;font-size:14px}.yut-cards-timer b{color:#fde68a;font-variant-numeric:tabular-nums}.yut-stage{width:min(100%,640px);height:min(58vh,520px);position:relative;container-type:size}.yut-cards-foot{color:#fff;text-shadow:0 2px #000,0 0 18px #000c;letter-spacing:.04em;z-index:3;font-size:clamp(18px,5vw,22px);font-weight:900}.yut-deck{aspect-ratio:5/7;perspective:500px;width:15cqw;animation:.5s ease-out both yut-deck-in;position:absolute;top:max(12cqh,72px)}.yut-deck.angel{animation-delay:.4s;left:5cqw}.yut-deck.devil{animation-delay:.55s;right:5cqw}.yut-deck-stack{transform-style:preserve-3d;position:absolute;inset:0;transform:rotateX(10deg)}.yut-deck-layer{border:2px solid;border-radius:10px;position:absolute;inset:0;box-shadow:0 4px 8px #00000073}.yut-deck-layer:first-child{transform:translateY(9px)}.yut-deck-layer:nth-child(2){transform:translateY(6px)}.yut-deck-layer:nth-child(3){transform:translateY(3px)}.yut-deck-layer.top{align-content:center;place-items:center;gap:2px;display:grid;transform:translate(0)}.yut-deck.angel .yut-deck-layer{background:repeating-linear-gradient(45deg,#fef3c7 0 6px,#fde68a 6px 12px);border-color:#f59e0b}.yut-deck.angel .yut-deck-layer.top{background:radial-gradient(circle at 50% 40%,#ffffff8c,#0000 60%),repeating-linear-gradient(45deg,#fef3c7 0 6px,#fde68a 6px 12px);animation:1.6s ease-in-out infinite alternate yut-deck-glow,.16s ease-out 1.1s 4 yut-deck-draw;box-shadow:0 6px 14px #00000073,0 0 18px #fbbf248c}.yut-deck.devil .yut-deck-layer{background:repeating-linear-gradient(45deg,#7f1d1d 0 6px,#3f0d0d 6px 12px);border-color:#dc2626}.yut-deck.devil .yut-deck-layer.top{background:radial-gradient(circle at 50% 40%,#ff5a5a59,#0000 60%),repeating-linear-gradient(45deg,#7f1d1d 0 6px,#3f0d0d 6px 12px);animation:1.6s ease-in-out infinite alternate yut-deck-glow-red,.16s ease-out 1.74s yut-deck-draw;box-shadow:0 6px 14px #0000008c,0 0 18px #ef444480}@keyframes yut-deck-glow{0%{box-shadow:0 6px 14px #00000073,0 0 12px #fbbf2459}to{box-shadow:0 6px 14px #00000073,0 0 26px #fbbf24cc}}@keyframes yut-deck-glow-red{0%{box-shadow:0 6px 14px #0000008c,0 0 12px #ef44444d}to{box-shadow:0 6px 14px #0000008c,0 0 26px #ef4444bf}}@keyframes yut-deck-draw{0%{transform:translate(0)rotate(0)}50%{transform:translate(2px,-8px)rotate(-4deg)}to{transform:translate(0)rotate(0)}}.yut-deck-icon{filter:drop-shadow(0 2px 4px #00000059);width:58%;line-height:0;display:inline-block}.yut-deck-icon svg{width:100%;height:auto}.yut-deck-count{opacity:.85;font-size:clamp(10px,2cqw,13px);font-weight:800}.yut-deck.angel .yut-deck-count{color:#78350f}.yut-deck.devil .yut-deck-count{color:#fca5a5}@keyframes yut-deck-in{0%{opacity:0;transform:translateY(-12px)scale(.7)}to{opacity:1;transform:translateY(0)scale(1)}}.yut-fan{justify-content:center;align-items:center;gap:2cqw;width:100%;height:100%;padding-top:10cqh;display:flex;position:relative}.yut-card{--sx:0cqw;--sy:-34cqh;aspect-ratio:5/7;perspective:800px;cursor:default;background:0 0;border:none;width:17cqw;padding:0;transition:transform .15s ease-out;position:relative}.yut-card.dealing{animation:yut-card-fly .55s cubic-bezier(.25, .9, .3, 1) var(--dl) both}.yut-card.dealing.shuffle-hindu{animation:yut-card-fly .55s cubic-bezier(.25, .9, .3, 1) var(--dl) both, yut-card-hindu 3.1s ease-in-out 1.35s forwards}.yut-card.dealing.shuffle-riffle{animation:yut-card-fly .55s cubic-bezier(.25, .9, .3, 1) var(--dl) both, yut-card-riffle 3.1s ease-in-out 1.35s forwards}@keyframes yut-card-fly{0%{transform:translate(var(--sx), var(--sy)) rotate(0deg) scale(.92);opacity:0}12%{transform:translate(var(--sx), calc(var(--sy) - 4cqh)) rotate(-6deg) scale(.95);opacity:1}to{transform:translate(var(--cx), calc(var(--i) * -.4cqh)) rotate(0deg) scale(1);opacity:1}}@keyframes yut-card-hindu{0%{transform:translate(var(--cx), calc(var(--i) * -.4cqh)) rotate(0deg) scaleY(1);z-index:calc(10 + var(--i))}5%{transform:translate(var(--cx), 0cqh) rotate(0deg) scaleY(1);z-index:calc(10 + var(--i));animation-timing-function:ease-out}7%{transform:translate(var(--cx), calc(var(--c1) * .5cqh)) rotate(0deg) scaleY(calc(1 - var(--c1) * .03));z-index:calc(10 + var(--i) + var(--c1) * 30);animation-timing-function:cubic-bezier(.15,.85,.35,1)}13%{transform:translate(calc(var(--cx) - var(--c1) * (3.4cqw + var(--i) * .35cqw)), calc(var(--c1) * -26cqh)) rotate(calc(var(--c1) * (-8deg - var(--i) * .7deg))) scaleY(1);z-index:calc(10 + var(--i) + var(--c1) * 30);animation-timing-function:linear}16%{transform:translate(calc(var(--cx) - var(--c1) * (4cqw + var(--i) * .35cqw)), calc(var(--c1) * -24.5cqh)) rotate(calc(var(--c1) * (-9.5deg - var(--i) * .7deg))) scaleY(1);z-index:calc(10 + var(--i) + var(--c1) * 30);animation-timing-function:cubic-bezier(.55,0,.85,.4)}20%{transform:translate(var(--cx), calc(.45cqh + var(--c1) * .45cqh)) rotate(0deg) scaleY(calc(.98 - var(--c1) * .04));z-index:calc(10 + var(--i) - var(--c1) * 4);animation-timing-function:cubic-bezier(.3,1.4,.5,1)}23%{transform:translate(var(--cx), 0cqh) rotate(0deg) scaleY(1);z-index:calc(10 + var(--i) - var(--c1) * 4);animation-timing-function:ease-out}25%{transform:translate(var(--cx), calc(var(--c2) * .5cqh)) rotate(0deg) scaleY(calc(1 - var(--c2) * .03));z-index:calc(10 + var(--i) + var(--c2) * 30);animation-timing-function:cubic-bezier(.15,.85,.35,1)}30%{transform:translate(calc(var(--cx) - var(--c2) * (3.6cqw + var(--i) * .35cqw)), calc(var(--c2) * -27cqh)) rotate(calc(var(--c2) * (-8.5deg - var(--i) * .7deg))) scaleY(1);z-index:calc(10 + var(--i) + var(--c2) * 30);animation-timing-function:linear}33%{transform:translate(calc(var(--cx) - var(--c2) * (4.2cqw + var(--i) * .35cqw)), calc(var(--c2) * -25.5cqh)) rotate(calc(var(--c2) * (-10deg - var(--i) * .7deg))) scaleY(1);z-index:calc(10 + var(--i) + var(--c2) * 30);animation-timing-function:cubic-bezier(.55,0,.85,.4)}37%{transform:translate(var(--cx), calc(.45cqh + var(--c2) * .45cqh)) rotate(0deg) scaleY(calc(.98 - var(--c2) * .04));z-index:calc(10 + var(--i) - var(--c2) * 8);animation-timing-function:cubic-bezier(.3,1.4,.5,1)}40%{transform:translate(var(--cx), 0cqh) rotate(0deg) scaleY(1);z-index:calc(10 + var(--i) - var(--c2) * 8);animation-timing-function:ease-out}42%{transform:translate(var(--cx), calc(var(--c3) * .5cqh)) rotate(0deg) scaleY(calc(1 - var(--c3) * .03));z-index:calc(10 + var(--i) + var(--c3) * 30);animation-timing-function:cubic-bezier(.15,.85,.35,1)}48%{transform:translate(calc(var(--cx) - var(--c3) * (3.2cqw + var(--i) * .4cqw)), calc(var(--c3) * -29cqh)) rotate(calc(var(--c3) * (-7deg - var(--i) * .8deg))) scaleY(1);z-index:calc(10 + var(--i) + var(--c3) * 30);animation-timing-function:linear}52%{transform:translate(calc(var(--cx) - var(--c3) * (3.8cqw + var(--i) * .4cqw)), calc(var(--c3) * -27.5cqh)) rotate(calc(var(--c3) * (-8.5deg - var(--i) * .8deg))) scaleY(1);z-index:calc(10 + var(--i) + var(--c3) * 30);animation-timing-function:cubic-bezier(.55,0,.85,.4)}57%{transform:translate(var(--cx), calc(.45cqh + var(--c3) * .45cqh)) rotate(0deg) scaleY(calc(.98 - var(--c3) * .05));z-index:calc(10 + var(--i) - var(--c3) * 12);animation-timing-function:cubic-bezier(.3,1.4,.5,1)}61%{transform:translate(var(--cx), 0cqh) rotate(0deg) scaleY(1);z-index:calc(10 + var(--i) - var(--c3) * 12);animation-timing-function:ease-out}64%{transform:translate(var(--cx), .4cqh) rotate(0deg) scaleY(.985);animation-timing-function:ease-out}68%{transform:translate(var(--cx), 0cqh) rotate(0deg) scaleY(1);animation-timing-function:cubic-bezier(.3,.9,.3,1)}to{transform:translate(0)rotate(0)scaleY(1)}}@keyframes yut-card-riffle{0%{transform:translate(var(--cx), calc(var(--i) * -.4cqh)) rotate(0deg) scaleY(1);z-index:calc(10 + var(--i))}4%{transform:translate(var(--cx), 0cqh) rotate(0deg) scaleY(1);z-index:calc(10 + var(--i));animation-timing-function:ease-out}6%{transform:translate(var(--cx), .35cqh) rotate(0deg) scaleY(.985);z-index:calc(10 + var(--i));animation-timing-function:cubic-bezier(.2,.9,.3,1)}13%{transform:translate(calc(var(--cx) + var(--p) * 8.5cqw), calc(var(--ap) * 3.4cqh - 6.8cqh)) rotate(calc(var(--p) * 8deg)) scaleY(1);z-index:calc(10 + var(--i));animation-timing-function:linear}18%{transform:translate(calc(var(--cx) + var(--p) * 9.1cqw), calc(var(--ap) * 3cqh - 6cqh)) rotate(calc(var(--p) * 9.5deg)) scaleY(1);z-index:calc(10 + var(--i));animation-timing-function:cubic-bezier(.45,0,.6,.6)}25%{transform:translate(calc(var(--cx) + var(--p) * 1.19cqw), calc(var(--ap) * 1.19cqh)) rotate(calc(var(--p) * 2.4deg)) scaleY(1);z-index:calc(10 - var(--i));animation-timing-function:cubic-bezier(.4,0,.4,1)}31%{transform:translate(calc(var(--cx) - var(--p) * 3.6cqw), calc(var(--ap) * -.35cqh)) rotate(calc(var(--p) * -3.6deg)) scaleY(1);z-index:calc(10 - var(--i));animation-timing-function:cubic-bezier(.35,0,.3,1)}35%{transform:translate(var(--cx), calc(.55cqh + var(--ap) * .12cqh)) rotate(0deg) scaleY(.95);z-index:calc(10 - var(--i));animation-timing-function:cubic-bezier(.3,1.5,.5,1)}39%{transform:translate(var(--cx), 0cqh) rotate(0deg) scaleY(1);z-index:calc(10 - var(--i));animation-timing-function:ease-in-out}42%{transform:translate(var(--cx), .35cqh) rotate(0deg) scaleY(.985);z-index:calc(10 + var(--i));animation-timing-function:cubic-bezier(.2,.9,.3,1)}48%{transform:translate(calc(var(--cx) + var(--p) * 7cqw), calc(var(--ap) * 2.8cqh - 5.6cqh)) rotate(calc(var(--p) * 7deg)) scaleY(1);z-index:calc(10 + var(--i));animation-timing-function:linear}52%{transform:translate(calc(var(--cx) + var(--p) * 7.6cqw), calc(var(--ap) * 2.4cqh - 4.8cqh)) rotate(calc(var(--p) * 8.5deg)) scaleY(1);z-index:calc(10 + var(--i));animation-timing-function:cubic-bezier(.45,0,.6,.6)}58%{transform:translate(calc(var(--cx) + var(--p) * .98cqw), calc(var(--ap) * .98cqh)) rotate(calc(var(--p) * 2.1deg)) scaleY(1);z-index:calc(10 - var(--i));animation-timing-function:cubic-bezier(.4,0,.4,1)}64%{transform:translate(calc(var(--cx) - var(--p) * 3cqw), calc(var(--ap) * -.35cqh)) rotate(calc(var(--p) * -3.15deg)) scaleY(1);z-index:calc(10 - var(--i));animation-timing-function:cubic-bezier(.35,0,.3,1)}68%{transform:translate(var(--cx), calc(.55cqh + var(--ap) * .12cqh)) rotate(0deg) scaleY(.95);z-index:calc(10 - var(--i));animation-timing-function:cubic-bezier(.3,1.5,.5,1)}72%{transform:translate(var(--cx), 0cqh) rotate(0deg) scaleY(1);z-index:calc(10 - var(--i));animation-timing-function:ease-in-out}75%{transform:translate(var(--cx), .4cqh) rotate(0deg) scaleY(.985);z-index:calc(10 - var(--i));animation-timing-function:ease-out}79%{transform:translate(var(--cx), 0cqh) rotate(0deg) scaleY(1);z-index:calc(10 - var(--i));animation-timing-function:cubic-bezier(.3,.9,.3,1)}to{z-index:calc(10 - var(--i));transform:translate(0)rotate(0)scaleY(1)}}.yut-card.hidden-card{opacity:0}.yut-cards-intro{pointer-events:none;z-index:2;place-content:center;justify-items:center;gap:4px;display:grid;position:absolute;inset:0}.yut-cards-intro-text{color:#fde68a;text-shadow:0 4px #1c1917,0 0 26px #fbbf2499;font-size:clamp(34px,11cqw,64px);font-weight:900;animation:.6s cubic-bezier(.2,1.5,.4,1) both yut-pop}.yut-cards-intro-sub{color:var(--muted);font-size:clamp(12px,3cqw,16px);animation:.4s .3s both fade-in}.yut-card.pickable{cursor:pointer}.yut-card.pickable:hover,.yut-card.pickable:focus-visible{transform:translateY(-8%)scale(1.06)}.yut-card-back{background:radial-gradient(circle,#ffffff1f,#0000 60%),repeating-linear-gradient(45deg,#3b2a6b 0 6px,#2a1d4d 6px 12px);border:2px solid #a78bfa;border-radius:10px;place-items:center;display:grid;position:absolute;inset:0;box-shadow:0 8px 20px #00000080}.yut-card-mark{color:#ddd6fe;text-shadow:0 2px #1c1917;font-size:clamp(22px,5vmin,40px);font-weight:900}.yut-card.taken{animation:.3s ease-out both yut-card-taken}@keyframes yut-card-taken{to{opacity:0;transform:translateY(-20%)scale(1.1)}}.yut-card.faded{animation:.5s ease-out both yut-card-fade}@keyframes yut-card-fade{to{opacity:.25;transform:translateY(24%)scale(.8)}}.yut-reveal{z-index:4;pointer-events:none;place-items:center;display:grid;position:absolute;inset:0}.yut-reveal-card{text-align:center;word-break:keep-all;border-radius:18px;justify-items:center;gap:10px;width:clamp(240px,70cqw,320px);padding:18px 16px 20px;animation:.3s cubic-bezier(.2,1.4,.4,1) both yut-reveal-pop;display:grid}.yut-reveal-card.angel{color:#1e3a5f;background:linear-gradient(170deg,#f3f7ff,#dbeafe 60%,#bfdbfe);border:3px solid #fde68a;box-shadow:0 0 0 4px #fbbf2459,0 0 42px #fbbf24bf,0 18px 40px #0009}.yut-reveal-card.devil{color:#fee2e2;background:linear-gradient(170deg,#4c1d2b,#2a0b14 60%,#12060a);border:3px solid #f87171;box-shadow:0 0 0 4px #f871714d,0 0 42px #ef4444a6,0 18px 40px #0009}@keyframes yut-reveal-pop{0%{opacity:0;transform:scale(.7)}to{opacity:1;transform:scale(1)}}.yut-reveal-flavor{letter-spacing:.06em;opacity:.8;font-size:14px;font-weight:700}.yut-reveal-icon{background:#ffffff59;border-radius:20px;place-items:center;width:96px;height:96px;display:grid;box-shadow:inset 0 0 0 2px #ffffff80}.yut-reveal-card.devil .yut-reveal-icon{background:#00000059;box-shadow:inset 0 0 0 2px #f8717180}.yut-reveal-icon .yut-deck-icon{width:72px}.yut-reveal-pill{color:#fff;letter-spacing:.1em;background:#1e3a5f;border-radius:999px;padding:3px 14px;font-size:12px;font-weight:800}.yut-reveal-card.devil .yut-reveal-pill{background:#ef4444}.yut-reveal-label{font-size:22px;font-weight:900}.yut-reveal-desc{font-size:16px;font-weight:600;line-height:1.45}.yut-cards.stage-reveal.kind-angel:before,.yut-cards.stage-reveal.kind-devil:before{content:"";pointer-events:none;position:absolute;inset:-40%}.yut-cards.stage-reveal.kind-angel:before{background:conic-gradient(from 0deg, #fde68a00 0 20deg, #fde68a59 30deg, #fde68a00 40deg 60deg, #fde68a59 70deg, #fde68a00 80deg 100deg, #fde68a59 110deg, #fde68a00 120deg 140deg, #fde68a59 150deg, #fde68a00 160deg 180deg, #fde68a59 190deg, #fde68a00 200deg 220deg, #fde68a59 230deg, #fde68a00 240deg 260deg, #fde68a59 270deg, #fde68a00 280deg 300deg, #fde68a59 310deg, #fde68a00 320deg 340deg, #fde68a59 350deg, #fde68a00 360deg);animation:8s linear infinite spin,.6s .5s both fade-in}.yut-cards.stage-reveal.kind-devil{animation:.5s ease-out .6s yut-devil-shake}.yut-cards.stage-reveal.kind-devil:before{background:radial-gradient(circle,#ef444473,#0000 55%);animation:.5s ease-out .6s both yut-devil-flash}@keyframes yut-devil-flash{0%{opacity:0}20%{opacity:1}to{opacity:.35}}@keyframes yut-devil-shake{0%,to{transform:translate(0)}20%{transform:translate(-7px,4px)}40%{transform:translate(7px,-4px)}60%{transform:translate(-5px,-3px)}80%{transform:translate(5px,3px)}}@media (prefers-reduced-motion:reduce){.yut-card.dealing,.yut-reveal-card,.yut-banner,.yut-bang-star,.yut-bang-ring,.yut-shield{animation:none}}.gate{background:var(--surface);border:1px solid var(--surface-2);border-radius:16px;margin-bottom:16px;padding:18px 16px}.gate-body{gap:10px;display:grid}.gate-title{text-wrap:balance;margin:0;font-size:20px}.gate-sub{color:var(--muted);margin:0;font-size:14px;line-height:1.45}.gate-sub b{color:var(--text)}.gate-row{align-items:center;gap:10px;display:flex}.gate-row .gate-input{flex:1;min-width:0}.gate-input{padding:12px 14px;font-size:16px}.gate-btn{padding:12px 16px;font-size:16px}.gate-actions{flex-wrap:wrap;justify-content:flex-end;gap:8px;display:flex}.gate-actions .btn{text-align:center;flex:1}.game-list.dimmed{opacity:.45;pointer-events:none}.home-me{align-items:center;gap:10px;display:flex}.home-who{text-align:right;gap:2px;font-size:13px;display:grid}.home-who small{color:var(--muted)}.link-btn{appearance:none;font:inherit;color:var(--accent);cursor:pointer;text-align:inherit;background:0 0;border:0;padding:0;font-size:12px}.presence-dot{vertical-align:middle;background:#57534e;border-radius:2px;flex:none;display:inline-block;transform:rotate(45deg)}.presence-dot.online{background:#22c55e;box-shadow:0 0 6px #22c55e99}.presence-dot.away{background:#eab308}.presence-dot.busy{background:#ef4444}.dock{left:12px;bottom:calc(10px + env(safe-area-inset-bottom));z-index:9;gap:6px;display:flex;position:fixed}.dock-btn{appearance:none;border:1px solid var(--surface-2);background:var(--surface);color:var(--muted);cursor:pointer;border-radius:12px;place-items:center;width:44px;height:44px;display:grid;position:relative;box-shadow:0 4px 14px #00000059}.dock-btn:hover{color:var(--text)}.dock-btn.has-unread{color:var(--text);border-color:#f59e0b99}.dock-status{background:var(--surface);border-radius:50%;place-items:center;width:14px;height:14px;display:grid;position:absolute;bottom:6px;right:6px}.dock-badge{color:#fff;background:#ef4444;border-radius:999px;place-items:center;min-width:18px;height:18px;padding:0 5px;font-size:11px;font-weight:800;animation:1.4s ease-in-out infinite yut-badge-pulse;display:grid;position:absolute;top:-6px;right:-6px}.panel-backdrop{z-index:11;background:#00000080;position:fixed;inset:0}.panel{background:var(--bg);border-top:1px solid var(--surface-2);max-height:85dvh;padding:12px 12px calc(12px + env(safe-area-inset-bottom));border-radius:16px 16px 0 0;flex-direction:column;gap:10px;animation:.22s ease-out panel-up;display:flex;position:absolute;bottom:0;left:0;right:0}@keyframes panel-up{0%{opacity:0;transform:translateY(24px)}to{opacity:1;transform:none}}@media (width>=720px){.panel{border-top:0;border-radius:0;width:340px;max-height:none;animation:.22s ease-out panel-side;top:0;bottom:0}.panel.people{border-right:1px solid var(--surface-2);right:auto}.panel.notify{border-left:1px solid var(--surface-2);--side:1;width:380px;left:auto}@keyframes panel-side{0%{transform:translateX(calc(var(--side,-1) * 24px));opacity:0}to{opacity:1;transform:none}}}.panel-head{align-items:center;gap:10px;display:flex}.panel-title{letter-spacing:.04em;flex:1;font-size:18px;font-weight:800}.status-btn{appearance:none;color:var(--muted);font:inherit;cursor:pointer;background:0 0;border:0;border-radius:8px;align-items:center;gap:8px;padding:4px 6px;font-size:13px;display:inline-flex}.status-btn:hover{background:var(--surface);color:var(--text)}.panel-close{appearance:none;background:var(--surface);color:var(--muted);cursor:pointer;border:0;border-radius:8px;width:30px;height:30px;font-size:18px}.panel-search{font-size:14px}.panel-tabs{border-bottom:1px solid var(--surface-2);display:flex}.panel-tabs button{appearance:none;color:var(--muted);font:inherit;cursor:pointer;background:0 0;border:0;border-bottom:2px solid #0000;margin-bottom:-1px;padding:6px 12px;font-size:13px;font-weight:700}.panel-tabs button.active{color:var(--text);border-bottom-color:var(--accent)}.panel-tabs small{color:var(--muted);margin-left:3px;font-weight:400}.people-list,.notify-list,.invite-list{gap:4px;min-height:0;margin:0;padding:0;list-style:none;display:grid;overflow-y:auto}.people-row{align-items:center;gap:8px;display:flex}.people-row.offline{opacity:.55}.people-main{appearance:none;color:var(--text);font:inherit;cursor:pointer;text-align:left;background:0 0;border:0;border-radius:10px;flex:1;align-items:center;gap:10px;min-width:0;padding:6px 8px;display:flex}.people-main:hover{background:var(--surface)}.people-text{flex:1;gap:2px;min-width:0;display:grid}.people-text b{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.people-text small{color:var(--muted);align-items:center;gap:5px;font-size:12px;display:inline-flex}.panel:has(.status-picker){min-height:min(420px,85dvh)}.status-picker{border-radius:inherit;overscroll-behavior:contain;background:#1c1917eb;align-content:safe center;gap:8px;padding:16px;display:grid;position:absolute;inset:0;overflow-y:auto}.status-back{justify-self:start}.status-picker ul{gap:6px;margin:0;padding:0;list-style:none;display:grid}.status-picker li button{appearance:none;border:1px solid var(--surface-2);background:var(--surface);width:100%;color:var(--text);font:inherit;cursor:pointer;text-align:left;border-radius:12px;align-items:center;gap:12px;padding:10px 12px;display:flex}.status-picker li button.selected{border-color:var(--accent)}.status-picker li button span{gap:2px;display:grid}.status-picker li button small{color:var(--muted);font-size:12px}.notify-row{border-radius:10px;grid-template-columns:32px 1fr auto;align-items:start;gap:8px;padding:8px;display:grid}.notify-row.unread{background:#f59e0b14}.notify-icon{text-align:center;font-size:20px;line-height:1.2}.notify-text{gap:3px;min-width:0;font-size:13px;display:grid}.notify-text b{font-size:14px}.notify-text>span{color:var(--muted);line-height:1.4}.notify-row.kind-invite .notify-text b{color:#fde68a}.notify-accept{justify-self:start;margin-top:4px}.notify-time{color:var(--muted);white-space:nowrap;font-size:11px}.invite-toast{z-index:12;background:var(--surface);border:1px solid #f59e0b99;border-radius:14px;align-items:center;gap:10px;max-width:calc(100% - 24px);padding:10px 12px;display:flex;position:fixed;top:12px;left:50%;transform:translate(-50%);box-shadow:0 8px 24px #00000073}.invite-toast-text{gap:2px;min-width:0;font-size:13px;display:grid}.invite-toast-text small{color:var(--muted)}.profile-head{align-items:center;gap:14px;margin-bottom:12px;display:flex}.profile-id{gap:3px;display:grid}.profile-name{font-size:20px}.profile-presence{color:var(--muted);align-items:center;gap:6px;font-size:13px;display:inline-flex}.profile-since{color:var(--muted);font-size:12px}.profile-stats{border-collapse:collapse;font-variant-numeric:tabular-nums;width:100%;font-size:14px}.profile-stats th{text-align:left;color:var(--muted);border-bottom:1px solid var(--surface-2);padding:4px 6px;font-size:12px;font-weight:600}.profile-stats td{border-bottom:1px solid #ffffff0d;padding:6px}.profile-actions{justify-content:flex-end;gap:8px;margin-top:12px;display:flex}.profile-note{color:var(--muted);margin:8px 0 0;font-size:12px}.invite-row{align-items:center;gap:10px;padding:6px 4px;display:flex}.invite-row.off{opacity:.55}.invite-state{color:var(--muted);font-size:12px}.room-player-id{appearance:none;color:var(--text);font:inherit;cursor:pointer;background:0 0;border:0;align-items:center;gap:10px;padding:0;display:inline-flex}.room-player-id.guest{cursor:default}.room-player-id:not(.guest):hover span{text-decoration:underline}.room-player-info{border:1px solid var(--muted);width:16px;height:16px;color:var(--muted);border-radius:50%;place-items:center;font-family:Georgia,serif;font-size:10px;font-style:normal;font-weight:700;display:inline-grid}.room-guest{color:var(--muted);font-size:11px}.room-bot{color:var(--muted);border:1px solid var(--line);border-radius:999px;padding:1px 7px;font-size:11px}.room-player.bot .room-player-id{opacity:.85}.room-handover{margin-left:auto}.room-kick{color:#e2776a}.room-handover+.room-kick{margin-left:0}.room-kick:only-of-type{margin-left:auto}.panel-find{gap:6px;display:flex}.panel-find .panel-search{flex:1;min-width:0}.people-found{border:1px dashed #f59e0b80;border-radius:10px;padding:4px;font-size:13px}.people-found .room-hint{padding:6px 8px;display:block}.tab-unread{background:#ef4444;border-radius:999px;padding:0 6px;color:#fff!important;font-weight:700!important}.dm-preview{text-overflow:ellipsis;white-space:nowrap;overflow:hidden;display:block!important}.dm-meta{color:var(--muted);flex:none;justify-items:end;gap:4px;font-size:11px;display:grid}.dm-unread{color:#fff;background:#ef4444;border-radius:999px;padding:0 6px;font-style:normal;font-weight:700}.dm{flex-direction:column;flex:1;gap:8px;min-height:0;display:flex}.dm-head{align-items:center;gap:10px;font-size:16px;display:flex}.dm-list{flex-direction:column;flex:1;gap:2px;min-height:240px;padding:4px 2px;display:flex;overflow-y:auto}.dm-more{align-self:center;margin-bottom:8px}.dm-msg{align-items:flex-end;gap:6px;max-width:85%;display:flex}.dm-msg.first{margin-top:8px}.dm-msg.mine{flex-direction:row-reverse;align-self:flex-end}.dm-bubble{background:var(--surface);white-space:pre-wrap;word-break:break-word;border-radius:14px 14px 14px 4px;padding:7px 11px;font-size:14px;line-height:1.4}.dm-msg.mine .dm-bubble{background:var(--accent);color:var(--accent-text);border-radius:14px 14px 4px}.dm-time{color:var(--muted);white-space:nowrap;font-size:10px}.dm-form{gap:6px;display:flex}.dm-form .input{flex:1;min-width:0}.icon-btn{appearance:none;border:1px solid var(--surface-2);background:var(--surface);color:var(--muted);cursor:pointer;border-radius:9px;flex:none;place-items:center;width:32px;height:32px;display:inline-grid}.icon-btn:hover{color:var(--accent);border-color:#f59e0b80}.btn-icon{align-items:center;gap:6px;display:inline-flex}.tab-icon{align-items:center;gap:4px;display:inline-flex}.toast-icon{color:var(--accent);place-items:center;display:grid}.dm-who{appearance:none;color:var(--text);font:inherit;cursor:pointer;background:0 0;border:0;border-radius:10px;align-items:center;gap:8px;padding:4px 8px 4px 2px;display:inline-flex}.dm-who:hover{background:var(--surface)}.avatar-btn{appearance:none;cursor:pointer;background:0 0;border:0;border-radius:50%;flex:none;place-items:center;padding:2px;display:grid}.avatar-btn:hover{box-shadow:0 0 0 2px var(--accent)}.dm-banner{color:var(--muted);background:#f59e0b1a;border:1px solid #f59e0b66;border-radius:10px;align-items:center;gap:10px;padding:8px 10px;font-size:12px;display:flex}.dm-banner b{color:var(--text)}.dm-banner span{flex:1}.game-card-desc,.entry-desc,.gate-sub,.page-sub,.room-hint,.room-option-hint,.stairs-tip p,.g2048-help{word-break:keep-all;overflow-wrap:anywhere;text-wrap:pretty}.page-title,.gate-title,.game-card-name,.modal-title{text-wrap:balance}.yut-candidate-ring{fill:#fbbf241f;stroke:#fbbf24;stroke-width:3px;animation:.9s ease-in-out infinite yut-candidate-pulse}@keyframes yut-candidate-pulse{0%,to{r:22;opacity:1}50%{r:27;opacity:.55}}.yut-piece-btn{padding:8px 14px;font-size:14px}.stairs-tip{text-align:center;pointer-events:none;background:#1c1917db;border:1px solid #fbbf2466;border-radius:14px;flex-direction:column;width:min(88%,320px);height:max-content;max-height:calc(100% - 16px);margin:auto;padding:12px 14px;font-size:13px;line-height:1.5;animation:.4s fade-in;display:flex;position:absolute;inset:8px 0}.stairs-tip p{margin:0 0 6px}.stairs-tip>p{flex:none}.stairs-tip p:last-child{margin-bottom:0}.stairs-tip-title{letter-spacing:.08em;color:var(--accent);font-size:11px;font-weight:800}.stairs-tip kbd{font:inherit;background:var(--surface-2);border:1px solid #57534e;border-radius:6px;padding:1px 7px;font-weight:700}.stairs-tip small{color:var(--muted)}.stairs-tip-dash{background:#fbbf2424;border-radius:10px;flex-direction:column;min-height:0;margin:0 0 6px;padding:8px 8px 6px;display:flex}.stairs-tip-dash p{text-wrap:balance;margin:0 0 4px}.stairs-dash-hint{flex:auto;width:100%;height:auto;min-height:0;display:block}.stairs-tip-dash em{color:#fde68a;font-style:normal;font-weight:700}.stairs-tip-sub{color:var(--muted);font-size:12px}.stairs-tip-off{pointer-events:auto;appearance:none;background:var(--surface-2);min-height:44px;color:var(--text);font:inherit;cursor:pointer;touch-action:manipulation;border:1px solid #57534e;border-radius:999px;flex:none;align-self:center;margin-top:10px;padding:10px 18px;font-size:13px;font-weight:600}.stairs-tip-off:active{background:var(--surface)}.stairs-help{appearance:none;width:44px;height:44px;color:var(--muted);font:inherit;cursor:pointer;touch-action:manipulation;background:#1c1917b8;border:1px solid #57534e;border-radius:999px;place-content:center;font-size:18px;font-weight:800;line-height:1;display:grid;position:absolute;bottom:10px;right:10px}.stairs-help:active{background:var(--surface-2);color:var(--text)}.play-fullscreen,.play-home{margin-left:4px}@media (width>=720px){.app-main:has(.play){max-width:720px}.play .stairs-board-wrap{height:min(72dvh,820px)}.play .g2048-board-wrap{max-width:min(100%,100dvh - 200px)}}@media (width>=1040px){.app-main:has(.play){max-width:860px}.room-live .room-play{max-width:760px}.room-live .stairs-board-wrap{height:min(76dvh,900px)}}body.fullscreen .app-footer,body.fullscreen .dock,body.fullscreen .ad-slot{display:none}body.fullscreen .app-main{padding:8px 12px}body.fullscreen .app-main:has(.play){max-width:min(100%,1100px)}body.fullscreen .play .stairs-board-wrap,body.fullscreen .room-live .stairs-board-wrap{height:calc(100dvh - 150px)}body.fullscreen .play .g2048-board-wrap,body.fullscreen .room-live .g2048-board-wrap{max-width:min(100%,100dvh - 140px)}body.fullscreen .yut-board-wrap,body.fullscreen .spectate-view{max-width:min(100%,100dvh - 200px)}.word{--word-correct:#6aaa64;--word-present:#c9b458;--word-absent:#3f3a36;--word-cols:6;--word-tile:min(56px, calc((100vw - 32px - (var(--word-cols) - 1) * 6px) / var(--word-cols)), calc((100dvh - 400px) / var(--word-cols)));flex-direction:column;align-items:center;gap:12px;display:flex}.word.hc{--word-correct:#f5793a;--word-present:#85c0f9}.word-top{justify-content:space-between;align-items:center;gap:8px;width:100%;display:flex}.word-title{color:var(--muted);align-items:center;gap:8px;font-size:14px;font-weight:700;display:inline-flex}.word-date{font-weight:400}.word-invite{background:var(--surface);border:1px solid var(--surface-2);border-radius:12px;align-items:center;gap:10px;width:100%;padding:8px 10px;font-size:14px;display:flex}.word-invite-text{flex:1;min-width:0}.word-invite .btn{padding:6px 12px;font-size:13px}.word-modes{background:var(--surface);border:1px solid var(--surface-2);border-radius:999px;gap:4px;padding:4px;display:flex}.word-mode{color:var(--muted);font:inherit;cursor:pointer;background:0 0;border:0;border-radius:999px;align-items:baseline;gap:6px;padding:6px 14px;font-size:14px;font-weight:700;display:flex}.word-mode small{opacity:.75;font-size:11px;font-weight:400}.word-mode.on{background:var(--surface-2);color:var(--text)}.word-help-splits{flex-wrap:wrap;gap:6px;margin:10px 0;padding:0;list-style:none;display:flex}.word-help-splits li{background:var(--surface-2);border-radius:999px;padding:4px 10px;font-size:13px}.word-help-splits b{font-size:15px}.word-mode-picks{gap:10px;margin:12px 0;display:grid}.word-mode-pick{border:1px solid var(--surface-2);background:var(--surface);color:var(--text);font:inherit;text-align:left;cursor:pointer;border-radius:12px;gap:2px;padding:12px 14px;display:grid}.word-mode-pick b{font-size:16px}.word-mode-pick span{color:var(--muted);font-size:13px}.word-mode-pick small{color:var(--muted);opacity:.8;font-size:12px}.word-mode-pick.on{border-color:var(--accent,var(--text))}.word-top-actions{gap:6px;display:flex}.word-board{display:grid;position:relative}.word-grid{gap:6px;display:grid}.word-grid.shake{animation:.45s word-shake}@keyframes word-shake{10%,90%{transform:translate(-2px)}20%,80%{transform:translate(4px)}30%,50%,70%{transform:translate(-6px)}40%,60%{transform:translate(6px)}}.word-row{grid-template-columns:repeat(var(--word-cols), var(--word-tile));gap:6px;display:grid}.word-tile{width:var(--word-tile);height:var(--word-tile);border:2px solid var(--surface-2);font-size:calc(var(--word-tile) * .5);color:var(--text);background:0 0;border-radius:8px;place-items:center;font-weight:700;line-height:1;transition:transform 80ms;display:grid}.word-tile.filled{border-color:var(--muted)}.word-row.active .word-tile.filled{transform:scale(1.06)}.word-tile.correct,.word-tile.present,.word-tile.absent{color:#fafaf9;border-color:#0000}.word-tile.correct{background:var(--word-correct)}.word-tile.present{background:var(--word-present)}.word-tile.absent{background:var(--word-absent)}.word-tile.flip{animation:.5s both word-flip}@keyframes word-flip{0%{transform:rotateX(0)}50%{transform:rotateX(90deg)}to{transform:rotateX(0)}}.word-done{flex-direction:column;align-items:center;gap:12px;padding:18px 12px;display:flex}.word-done-msg{color:var(--muted);margin:0;font-size:15px}.word-done-msg b{color:var(--text);font-size:20px}.word-done-next{color:var(--muted);margin:0;font-size:13px}.word-done-next b{font-variant-numeric:tabular-nums}.word-keyboard{gap:6px;width:100%;max-width:520px;margin-top:auto;padding-bottom:4px;display:grid}.word-key-row{justify-content:center;gap:5px;display:flex}.word-key{appearance:none;min-width:0;max-width:44px;height:48px;font:inherit;background:var(--surface-2);color:var(--text);cursor:pointer;touch-action:manipulation;border:0;border-radius:6px;flex:1 1 0;padding:0;font-size:17px;font-weight:700}.word-key.wide{flex:1.6 1 0;max-width:72px;font-size:14px}.word-key:active{filter:brightness(1.15)}.word-key:disabled{opacity:.5;cursor:default}.word-key.correct{background:var(--word-correct);color:#fafaf9}.word-key.present{background:var(--word-present);color:#fafaf9}.word-key.absent{color:var(--muted);background:#2a2623}.word-tip{border:1px solid var(--surface-2);text-align:center;width:min(100%,300px);color:var(--text);pointer-events:none;background:#1c1917e6;border-radius:12px;margin:0;padding:10px 12px;font-size:13px;line-height:1.45;animation:.4s fade-in;position:absolute;bottom:8px;left:50%;transform:translate(-50%)}.word-tip .link-btn{pointer-events:auto;font-size:13px}.word-toast{top:calc(64px + env(safe-area-inset-top));z-index:12;background:var(--text);color:var(--bg);border-radius:10px;max-width:calc(100% - 24px);padding:10px 14px;font-size:14px;font-weight:600;position:fixed;left:50%;transform:translate(-50%);box-shadow:0 8px 24px #00000073}.word-modal .modal-title{margin:0}.word-modal-head{justify-content:space-between;align-items:center;margin-bottom:12px;display:flex}.word-modal p{margin:6px 0;font-size:14px;line-height:1.5}.word-help h4{margin:14px 0 2px;font-size:14px}.word-help h4:first-child{margin-top:0}.word-help-fig{--word-tile:min(38px, calc((100vw - 84px) / 6));justify-content:center;gap:4px;margin:8px 0 10px;display:grid}.word-help-fig .word-row{gap:4px}.word-help-syls{grid-template-columns:repeat(var(--word-cols), var(--word-tile));gap:4px;display:grid}.word-help-syl.blank{border-bottom-color:#0000}.word-tile.filler{color:var(--muted);opacity:.7}.word-help-syl{color:var(--muted);border-bottom:2px solid var(--surface-2);border-radius:6px 6px 0 0;place-items:center;padding-bottom:2px;font-size:12px;font-weight:700;display:grid}.word-help-legend{gap:6px;margin:6px 0;padding:0;font-size:13px;list-style:none;display:grid}.word-help-legend li{align-items:center;gap:8px;display:flex}.word-help-swatch{border-radius:4px;flex:none;width:16px;height:16px}.word-help-swatch.correct{background:var(--word-correct)}.word-help-swatch.present{background:var(--word-present)}.word-help-swatch.absent{background:var(--word-absent)}.word-help-more{gap:6px;margin:4px 0 0;padding-left:18px;font-size:13px;line-height:1.5;display:grid}.word-modal .word-help-note{color:var(--muted);font-size:12px}.word-help-done{width:100%;margin-top:12px}.word-credit{color:var(--muted);margin-top:12px!important;font-size:12px!important}.word-credit a{color:var(--accent)}.word-answer{background:var(--bg);border-radius:12px;gap:4px;margin-bottom:12px;padding:12px;display:grid}.word-answer-word{font-size:24px;font-weight:800}.word-answer-jamo{color:var(--muted);letter-spacing:1px;font-size:13px}.word-answer-meaning{color:var(--muted);margin:4px 0 0!important}.word-stats{grid-template-columns:repeat(4,1fr);gap:6px;margin:8px 0;display:grid}.word-stat{text-align:center;justify-items:center;gap:2px;display:grid}.word-stat b{font-size:24px}.word-stat small{color:var(--muted);font-size:11px}.word-dist-title{font-weight:700;margin:10px 0 4px!important}.word-dist{gap:4px;display:grid}.word-dist-row{grid-template-columns:14px 1fr;align-items:center;gap:6px;font-size:13px;display:grid}.word-dist-n{color:var(--muted)}.word-dist-bar{background:var(--surface-2);text-align:right;border-radius:4px;min-width:22px;padding:2px 6px;font-weight:700}.word-dist-bar.mine{background:var(--word-correct);color:#fafaf9}.word-result-actions{border-top:1px solid var(--surface-2);justify-content:space-between;align-items:center;gap:12px;margin-top:14px;padding-top:12px;display:flex}.word-share-actions{gap:8px;margin-left:auto;display:flex}.word-next{gap:2px;display:grid}.word-next small{color:var(--muted);font-size:12px}.word-next b{font-variant-numeric:tabular-nums;font-size:22px}.word-create-btn{width:100%;margin-top:10px}.word-create-hint{color:var(--muted)}.word-create-field{gap:4px;margin:10px 0;font-size:13px;display:grid}.word-create-jamo{color:var(--muted);letter-spacing:1px;min-height:16px}.word-create-link{gap:8px;display:grid}.word-create-link code{background:var(--bg);word-break:break-all;-webkit-user-select:text;user-select:text;border-radius:8px;padding:8px;font-size:12px;display:block}.word-setting{border-bottom:1px solid var(--surface-2);cursor:pointer;justify-content:space-between;align-items:center;gap:12px;padding:10px 0;display:flex}.word-setting:last-child{border-bottom:0}.word-setting span{gap:2px;display:grid}.word-setting small{color:var(--muted);font-size:12px}.word-setting input{width:22px;height:22px;accent-color:var(--accent);flex:none}@media (width>=720px){.word{--word-tile:min(60px, calc((100dvh - 420px) / 6))}.word-key{max-width:48px;height:54px}}body.fullscreen .word{--word-tile:min(72px, calc((100vw - 24px - 5 * 6px) / 6), calc((100dvh - 332px) / 6))}.wall-panel{--brick:#2a211c;--mortar:#1f1815;background-color:var(--brick);background-image:repeating-linear-gradient(0deg, transparent 0 22px, var(--mortar) 22px 25px), repeating-linear-gradient(90deg, transparent 0 46px, var(--mortar) 46px 49px);background-size:100% 50px,98px 100%;border-radius:16px;align-content:start;gap:10px;padding:14px;display:grid;position:relative;box-shadow:inset 0 0 0 1px #ffffff0a,inset 0 12px 24px #00000059}.wall-panel.dimmed{opacity:.55}.wall-panel.dimmed .wall-form,.wall-panel.dimmed .wall-list{pointer-events:none}.wall-head{justify-content:space-between;align-items:baseline;gap:10px;padding:2px 4px;display:flex}.wall-chalk{letter-spacing:.12em;color:#fafaf9d9;text-shadow:0 0 1px #fff9,0 1px #00000080;margin:0;font-size:22px;font-weight:800}.wall-head-meta{color:#fafaf999;justify-items:end;gap:2px;font-size:12px;display:grid}.wall-head-meta b,.wall-countdown b{color:#fafaf9e6;font-variant-numeric:tabular-nums}.wall-countdown{font-size:12px}.wall-mine{gap:6px;display:grid}.wall-section-head{justify-content:space-between;align-items:center;gap:8px;min-height:22px;padding:0 4px;display:flex}.wall-section-label{letter-spacing:.1em;color:#fafaf994;text-shadow:0 1px #00000080;margin:0;font-size:11px;font-weight:700}.wall-section-actions{gap:4px;display:flex}.wall-section-actions .btn{color:#fafaf9cc;background:#fafaf91f;border-radius:999px;padding:2px 9px;font-size:11px;font-weight:600}.wall-others-label,.wall-empty{border-top:1px solid #fafaf924;padding-top:10px}.wall-others-label{padding-left:4px;padding-right:4px}.wall-form{color:#1c1917;background:#f5f0c8;border-radius:6px 12px 8px 14px;gap:6px;padding:9px 10px;display:grid;transform:rotate(-.6deg);box-shadow:0 6px 14px #00000059}.wall-textarea{resize:none;width:100%;color:inherit;font:inherit;word-break:keep-all;background:0 0;border:0;outline:none;font-size:14px;line-height:1.45}.wall-textarea::placeholder{color:#9c927c}.wall-form-foot{justify-content:space-between;align-items:center;gap:6px;display:flex}.wall-counter{color:#8a8067;font-variant-numeric:tabular-nums;font-size:11px}.wall-counter.over{color:#b91c1c;font-weight:700}.wall-form-actions{gap:6px;display:flex}.wall-form .btn{padding:5px 11px;font-size:12px}.wall-form .btn-ghost{color:#4a4335;background:#0000000f}.wall-list{align-content:start;gap:9px;margin:0;padding:2px 0 0;list-style:none;display:grid}.wall-card{color:#1c1917;transform:rotate(var(--tilt,0deg));border-radius:8px 12px 6px 14px;gap:4px;padding:7px 10px 9px;display:grid;position:relative;box-shadow:0 4px 10px #00000059}.wall-card:before{content:"";background:#ffffff59;border:1px solid #00000014;width:36px;height:11px;position:absolute;top:-5px;left:50%;transform:translate(-50%)rotate(-3deg)}.wall-card.mine{outline-offset:2px;outline:2px solid #f59e0b99}.wall-card.tone-sand{background:#e9d9a8}.wall-card.tone-mint{background:#bfdcc4}.wall-card.tone-sky{background:#b9cfe0}.wall-card.tone-rose{background:#e3bfbf}.wall-card.tone-lilac{background:#cfc3df}.wall-card.tone-lemon{background:#ece3a3}.wall-card-head{align-items:center;gap:6px;min-width:0;display:flex}.wall-card-name{text-overflow:ellipsis;white-space:nowrap;flex:1;min-width:0;font-size:13px;font-weight:700;overflow:hidden}.wall-badge{color:#4a4335;vertical-align:1px;background:#0000001f;border-radius:999px;margin-left:5px;padding:0 5px;font-size:10px;font-weight:600}.wall-card-time{color:#6b6252;font-variant-numeric:tabular-nums;font-size:11px}.wall-card-edited{margin-left:4px;font-size:10px}.wall-card-body{white-space:pre-wrap;word-break:keep-all;overflow-wrap:anywhere;margin:0;font-size:13.5px;line-height:1.45}.wall-empty{color:#fafaf999;word-break:keep-all;margin:0 4px 4px;font-size:13px}.wall-toast{z-index:3;background:var(--text);color:var(--bg);border-radius:10px;justify-self:center;padding:8px 14px;font-size:13px;font-weight:600;position:sticky;top:8px;box-shadow:0 8px 24px #00000073}.wall-strip{color:var(--text);background-color:#2a211c;background-image:repeating-linear-gradient(0deg,#0000 0 18px,#1f1815 18px 20px),repeating-linear-gradient(90deg,#0000 0 38px,#1f1815 38px 40px);background-size:100% 40px,80px 100%;border-radius:14px;grid-template-columns:auto auto 1fr auto;align-items:center;gap:10px;min-width:0;margin-top:16px;padding:12px 14px;text-decoration:none;display:grid}.wall-strip.dimmed{opacity:.45;pointer-events:none}.wall-strip .wall-chalk{font-size:16px}.wall-strip-count{color:#fafaf999;white-space:nowrap;font-size:12px}.wall-strip-preview{text-overflow:ellipsis;white-space:nowrap;min-width:0;font-size:13px;overflow:hidden}.wall-strip-preview.muted{color:#fafaf98c}.wall-strip-cta{color:var(--accent);font-weight:700}.wall .wall-panel{min-height:60dvh}@media (width>=1180px){.app-main:has(.home){max-width:1100px}.home{grid-template-columns:720px 340px;align-items:start;gap:40px;display:grid}.home-side{padding:4px;position:sticky;top:16px}.home-side .wall-panel{flex-direction:column;min-height:min(100dvh - 40px,600px);max-height:calc(100dvh - 40px);display:flex}.home-side .wall-head,.home-side .wall-mine,.home-side .wall-others-label,.home-side .wall-empty{flex:none}.home-side .wall-list{scrollbar-width:thin;flex:auto;min-height:0;margin:-4px -4px 0;padding:4px 4px 12px;overflow-y:auto}}.option-help-btn{border:1px solid var(--line);width:20px;height:20px;color:var(--muted);cursor:pointer;background:0 0;border-radius:50%;margin-left:6px;padding:0;font-size:12px;font-weight:700;line-height:1}.option-help-btn:hover{color:var(--text);border-color:var(--text)}.yut-card-help{z-index:2;position:absolute;top:-2px;right:0}.card-help-modal{width:min(100%,380px);padding:18px 16px 16px;position:relative}.card-help-close{position:absolute;top:10px;right:10px}.card-help{gap:10px;display:grid}.card-help-title{text-align:center;color:var(--accent,#f59e0b);margin:0 0 2px;font-size:15px;font-weight:700}.card-help-loading{color:var(--muted);text-align:center;padding:24px 0}.card-help-step{color:var(--muted);margin:6px 0 0;font-size:12px}.card-help-triggers{flex-wrap:wrap;gap:6px;margin:0;padding:0;list-style:none;display:flex}.card-help-triggers li{background:#94a3b829;border-radius:999px;padding:5px 12px;font-size:12px}.card-help-deal{background:#94a3b81a;border-radius:12px;justify-items:center;gap:4px;padding:12px;display:grid}.card-help-mix{align-items:center;gap:10px;display:flex}.card-help-mini{border-radius:10px;justify-items:center;gap:2px;width:62px;padding:8px 4px 6px;font-size:10px;font-weight:700;display:grid}.card-help-mini .yut-deck-icon{width:30px}.card-help-mini.angel{color:#1e3a5f;background:#dbeafe;border:2px solid #fde68a}.card-help-mini.devil{color:#fecaca;background:#3b0d18;border:2px solid #f87171}.card-help-plus{color:var(--muted);font-weight:700}.card-help-arrow{border-top:10px solid #f59e0b;border-left:6px solid #0000;border-right:6px solid #0000;width:0;height:0}.card-help-pile{gap:6px;display:flex}.card-help-slot{width:34px;height:46px;color:var(--muted);background:#94a3b838;border:2px solid #0000;border-radius:8px;place-items:center;font-weight:800;display:grid}.card-help-slot.picked{color:#f59e0b;border-color:#f59e0b}.card-help .yut-reveal-card{justify-self:center;width:min(100%,260px);animation:none}.card-help .yut-reveal-icon .yut-deck-icon{width:46px}.card-help-toggle{border:1px solid var(--line);width:100%;color:var(--text);cursor:pointer;background:#94a3b814;border-radius:10px;justify-content:space-between;align-items:center;margin-top:4px;padding:10px 12px;font-size:13px;display:flex}.card-help-caret{color:var(--muted);font-size:10px}.card-help-group{margin:6px 0 0;font-size:12px;font-weight:700}.card-help-group.angel{color:#93c5fd}.card-help-group.devil{color:#fca5a5}.card-help-badges{grid-template-columns:repeat(3,1fr);gap:6px;margin:0;padding:0;list-style:none;display:grid}.card-help-badge{cursor:pointer;border:2px solid #0000;border-radius:999px;width:100%;padding:7px 4px;font-size:12px;font-weight:600}.card-help-badge.angel{color:#dbeafe;background:#1e3a5f}.card-help-badge.devil{color:#fecaca;background:#3b0d18}.card-help-badge.on{border-color:#fde68a}.card-help-done{justify-self:center;margin-top:6px;padding-inline:28px}.alkkagi{justify-items:center;gap:10px;padding:4px 0 22px;display:grid;position:relative}.alkkagi.aiming{cursor:pointer;touch-action:manipulation}.alkkagi-callbox{align-items:center;min-height:1.6em;display:flex}.alkkagi-board.hidden{display:none}.alkkagi-board{aspect-ratio:1;touch-action:manipulation;cursor:pointer;border-radius:14px;width:100%;max-width:560px;height:auto}.alkkagi-bar{flex-wrap:wrap;justify-content:center;align-items:center;gap:12px;width:100%;max-width:520px;display:flex}.alkkagi-turn{font-weight:700}.alkkagi-clock{font-variant-numeric:tabular-nums;color:var(--muted)}.alkkagi-draw{justify-items:center;gap:10px;display:grid}.alkkagi-draw-hands{gap:14px;display:flex}.alkkagi-hand{border:2px solid var(--line);background:var(--card);cursor:pointer;border-radius:14px;padding:12px 18px;font-size:40px;line-height:1}.alkkagi-hand:disabled{cursor:default;opacity:.5}.alkkagi-draw{justify-items:center;gap:14px;width:100%;max-width:520px;padding:8px 0 4px;display:grid}.alkkagi-draw-line{color:var(--fg);min-height:1.4em;margin:0;font-weight:700}.alkkagi-draw.step-reveal .alkkagi-draw-line{color:#e8c66a;font-size:19px}.alkkagi-draw-stage{justify-content:center;align-items:flex-end;gap:6px;width:100%;display:flex}.alkkagi-bowl{width:24%;max-width:118px;height:auto;overflow:visible}.alkkagi-pouch{background:0 0;border:0;width:34%;max-width:160px;padding:0;display:block}.alkkagi-pouch-art{width:100%;height:auto;display:block}.alkkagi-pouch.pickable{cursor:pointer;border-radius:18px;animation:1.6s ease-in-out infinite alkkagi-beckon}.alkkagi-pouch.pickable:before{content:"";pointer-events:none;border:2px solid #e8c66a;border-radius:20px;animation:1.6s ease-in-out infinite alkkagi-pulse;position:absolute;inset:-6px -2px 4px}.alkkagi-pouch{position:relative}@keyframes alkkagi-pulse{0%,to{opacity:.35;transform:scale(1)}50%{opacity:.9;transform:scale(1.04)}}.step-pulling .alkkagi-pouch-art{transform-origin:50% 30%;animation:.7s ease-in-out alkkagi-rummage}@keyframes alkkagi-rummage{0%,to{transform:rotate(0)scale(1)}30%{transform:rotate(-4deg)scale(1.05)}65%{transform:rotate(5deg)scale(1.05)}}.alkkagi-bowl-pick{opacity:0}.step-bowls .alkkagi-bowl-pick{opacity:1;animation:.9s ease-out alkkagi-rise}.step-into .alkkagi-bowl.white .alkkagi-bowl-pick{animation:.8s cubic-bezier(.35,0,.25,1) forwards alkkagi-cross-right}.step-into .alkkagi-bowl.black .alkkagi-bowl-pick{animation:.8s cubic-bezier(.35,0,.25,1) forwards alkkagi-cross-left}@keyframes alkkagi-rise{0%{opacity:0;transform:translateY(0)}60%{opacity:1;transform:translateY(-14px)}to{opacity:1;transform:translateY(-10px)}}@keyframes alkkagi-cross-right{0%{opacity:1;transform:translateY(-10px)scale(1)}55%{opacity:1;transform:translate(74px,-56px)scale(1.3)}to{opacity:0;transform:translate(142px,-4px)scale(.5)}}@keyframes alkkagi-cross-left{0%{opacity:1;transform:translateY(-10px)scale(1)}55%{opacity:1;transform:translate(-74px,-56px)scale(1.3)}to{opacity:0;transform:translate(-142px,-4px)scale(.5)}}.step-shake .alkkagi-pouch-art{transform-origin:50% 18%;animation:.4s ease-in-out 3 alkkagi-shake}@keyframes alkkagi-shake{0%,to{transform:rotate(0)}25%{transform:rotate(-9deg)}75%{transform:rotate(9deg)}}@keyframes alkkagi-beckon{0%,to{transform:translateY(0)}50%{transform:translateY(-6px)}}.alkkagi-draw-result{justify-content:center;align-items:center;height:92px;display:flex}.alkkagi-drawn-stone{opacity:0;border-radius:50%;width:84px;height:84px;box-shadow:0 10px 18px #00000073}.alkkagi-drawn-stone.white{background:radial-gradient(circle at 34% 28%,#fff,#eae5da 58%,#b9b3a6)}.alkkagi-drawn-stone.black{background:radial-gradient(circle at 34% 28%,#55514c,#232120 58%,#000)}.step-reveal .alkkagi-drawn-stone{animation:1s cubic-bezier(.3,0,.2,1) forwards alkkagi-drawn}@keyframes alkkagi-drawn{0%{opacity:0;transform:translateY(-46px)scale(.3)}45%{opacity:1;transform:translateY(7px)scale(1.14)}72%{opacity:1;transform:translateY(0)scale(1)}to{opacity:1;transform:translateY(0)scale(1)}}.alkkagi-draw.step-reveal{animation:.8s ease-in 1s forwards alkkagi-out}@keyframes alkkagi-out{to{opacity:0;transform:scale(.94)}}.alkkagi-board.fresh{animation:.9s ease-out alkkagi-in}@keyframes alkkagi-in{0%{transform:scale(.97)}to{opacity:1;transform:scale(1)}}@media (prefers-reduced-motion:reduce){.alkkagi-pouch.pickable:before,.step-pulling .alkkagi-pouch-art,.alkkagi-pouch.pickable,.step-shake .alkkagi-pouch-art,.step-bowls .alkkagi-bowl-pick,.step-into .alkkagi-bowl.white .alkkagi-bowl-pick,.step-into .alkkagi-bowl.black .alkkagi-bowl-pick,.alkkagi-board.fresh{animation:none}.step-reveal .alkkagi-drawn-stone{opacity:1;animation:none}.alkkagi-draw.step-reveal{animation:.4s linear .6s forwards alkkagi-out}}.alkkagi-board.mine{animation:2.4s ease-in-out infinite alkkagi-myturn;box-shadow:0 0 0 3px #e8c66a,0 0 26px #e0a83c55}.alkkagi-board{transition:box-shadow .45s}@keyframes alkkagi-myturn{0%,to{box-shadow:0 0 0 3px #e8c66aaa,0 0 20px #e0a83c40}50%{box-shadow:0 0 0 3px #ffdc8e,0 0 34px #e0a83c70}}.alkkagi-call{letter-spacing:.02em;color:#ffdc8e;text-shadow:0 2px #6b3a1f,0 4px 12px #0009;margin:0;font-size:clamp(15px,4.4vw,19px);font-weight:700;animation:.4s ease-out alkkagi-call-in}@keyframes alkkagi-call-in{0%{transform:translateY(6px)}to{opacity:1;transform:translateY(0)}}.page.room{animation:.35s ease-out alkkagi-page-in}@keyframes alkkagi-page-in{0%{transform:translateY(8px)}to{transform:none}}.alkkagi-verdict{pointer-events:none;z-index:3;justify-content:center;display:flex;position:absolute;top:30%;left:0;right:0}.alkkagi-verdict span{letter-spacing:.06em;font-family:ui-sans-serif,system-ui,sans-serif;font-size:clamp(52px,17vw,108px);font-weight:900;line-height:1;animation:2.65s cubic-bezier(.2,1.2,.4,1) forwards alkkagi-verdict-in}.alkkagi-verdict.win span{color:#ffd97a;text-shadow:0 0 26px #e8a13a88,0 4px #8a5a1e,0 8px 22px #000c}.alkkagi-verdict.lose span{color:#7e766b;text-shadow:0 3px #241d16,0 6px 18px #000a}@keyframes alkkagi-verdict-in{0%{transform:scale(.6)translateY(16px)}13%{transform:scale(1.1)translateY(0)}22%{transform:scale(1)}83%{opacity:1;transform:scale(1)}to{opacity:0;transform:scale(1.05)}}@media (prefers-reduced-motion:reduce){.alkkagi-verdict span,.alkkagi-board.mine,.alkkagi-call,.page.room{animation:none}}.room-record{gap:3px;margin:6px 0 0;font-size:13px;display:grid}.room-record>div{align-items:baseline;gap:10px;display:flex}.room-record dt{color:var(--muted);min-width:60px}.room-record dd{font-variant-numeric:tabular-nums;margin:0;font-weight:700}.wall-notice{color:#26211c;background:#eef3f6;border-radius:3px;margin:0;padding:11px 14px;font-size:12.5px;line-height:1.5;position:relative;transform:rotate(-.6deg);box-shadow:0 6px 14px #0000006b}.wall-notice b{font-weight:700}.wall-notice:before{content:"";background:radial-gradient(circle at 35% 30%,#ff8a6b,#c0392b 70%);border-radius:50%;width:11px;height:11px;margin-left:-5px;position:absolute;top:-5px;left:50%;box-shadow:0 2px 4px #0000008c}.wall-notice:after{content:"";border-left:16px solid #0000;border-bottom:16px solid var(--brick);filter:drop-shadow(-2px -2px 2px #0006);width:0;height:0;position:absolute;bottom:0;right:0}.wall-manners{color:var(--muted);margin:8px 0 0;font-size:12.5px;line-height:1.5}:root{--header:#121420;--panel:#1a1c2d;--card-hover:#272b40;--border:#30364d;--border-strong:#6e655f;--gold-light:#d2b477}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:2px solid var(--gold-light);outline-offset:4px}.sr-only{clip-path:inset(50%);white-space:nowrap;border:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}.site-header{background:var(--header);border-bottom:1px solid var(--border);justify-content:space-between;align-items:center;gap:20px;min-height:80px;padding:12px max(24px,50% - 600px);display:flex}.norito-brand{color:var(--gold-light);letter-spacing:-1px;white-space:nowrap;align-items:center;gap:10px;font-size:24px;font-weight:800;text-decoration:none;display:flex}.norito-brand small{letter-spacing:3px;margin-top:4px;font-size:8px;font-weight:500;display:block}.site-menu{align-items:center;gap:26px;display:flex}.site-menu a,.site-menu button{min-height:44px;font:inherit;color:var(--muted);cursor:pointer;background:0 0;border:0;align-items:center;gap:6px;padding:0 4px;font-size:14px;text-decoration:none;display:inline-flex}.site-menu .active{color:var(--text);box-shadow:0 2px var(--accent)}.site-menu button:disabled{opacity:.5;cursor:default}.nav-unread{background:var(--accent);color:var(--accent-text);border-radius:20px;padding:2px 6px;font-size:10px}.site-account{align-items:center;gap:12px;display:flex}.site-account-name{justify-items:end;font-size:12px;display:grid}.site-account-name .link-btn{min-height:28px;font-size:11px}.site-avatar{background:var(--surface-2);border:1px solid var(--border-strong);cursor:pointer;border-radius:50%;place-items:center;width:48px;height:48px;padding:0;display:grid}.site-login{color:var(--gold-light);padding:14px 0;font-size:13px;text-decoration:none}.app-main:has(.home){max-width:1200px;padding:28px 24px}.home{display:block}.home-main{min-width:0}.park-hero{background:var(--surface);border:1px solid var(--border);border-radius:12px;align-items:center;min-height:286px;padding:35px 42px;display:flex;position:relative;overflow:hidden}.home .park-hero{border-color:var(--border-strong,#6e655f);background:linear-gradient(120deg,#171a2b,#1a1c2d);border-radius:22px 22px 9px 9px;align-items:flex-start;min-height:332px;padding:34px}.home .park-hero:after{content:"";opacity:.6;background:repeating-linear-gradient(90deg,#bc965b 0 16px,#171a2b 16px 32px);height:6px;position:absolute;bottom:0;left:0;right:0}.home .park-eyebrow{letter-spacing:1.2px;font-size:9px}.home .park-greeting{color:var(--gold-light);overflow-wrap:anywhere;margin:36px 0 8px;font-size:14px}.home .park-hero h1{margin:8px 0;font-size:34px;line-height:1.35}.home .park-hero h1 span{color:var(--text);white-space:nowrap;position:relative}.home .park-hero h1 span:after{content:"";border-top:2px solid var(--gold-light);border-radius:50%;height:6px;position:absolute;bottom:-5px;left:0;right:-5px;transform:rotate(-2deg)}.home .park-intro{margin:21px 0 0;font-size:13px;line-height:1.9}.park-welcome-scene{pointer-events:none;width:440px;height:295px;position:absolute;bottom:8px;right:0}.park-entrance{width:100%;height:100%}.park-welcome-me,.park-welcome-friend{width:61px;height:61px;position:absolute;bottom:22px}.park-welcome-me{left:104px;transform:rotate(-3deg)}.park-welcome-friend{right:187px;transform:rotate(3deg)}.park-welcome-scene .avatar{width:100%!important;height:100%!important}.park-welcome-bubble{color:var(--gold-light);background:#202438;border:1px solid #6e655f;border-radius:14px 14px 14px 2px;padding:5px 10px;font-size:10px;position:absolute;bottom:78px;right:64px;transform:rotate(4deg)}.home .park-resume{border:1px dashed #6e655f;border-left:4px solid var(--gold-light);border-radius:4px 13px 13px 4px}.home .park-resume>a{gap:12px}.home .park-resume>a>span{flex:1;min-width:0}.home .park-resume>a>.avatar{flex:none}.home .park-resume b,.home .park-resume small{display:block}.park-rest{color:var(--muted);justify-content:center;align-items:center;gap:8px;padding:20px 0 5px;font-size:12px;display:flex}@media (width>=761px) and (width<=1200px){.home .park-hero{min-height:450px}.home .park-hero-copy{max-width:100%}.park-welcome-scene{width:340px;height:228px}.park-welcome-me,.park-welcome-friend{width:49px;height:49px;bottom:17px}.park-welcome-me{left:79px}.park-welcome-friend{right:143px}.park-welcome-bubble{bottom:59px;right:45px}}@media (width<=760px){.home .park-hero{min-height:391px;padding:24px 22px 208px}.home .park-hero-copy{max-width:100%}.home .park-eyebrow{letter-spacing:.8px;font-size:8px}.home .park-greeting{margin-top:21px;font-size:12px}.home .park-hero h1{font-size:28px}.home .park-intro{margin-top:15px;font-size:11px}.park-welcome-scene{width:290px;height:195px;right:3px}.park-welcome-me,.park-welcome-friend{width:42px;height:42px;bottom:14px}.park-welcome-me{left:67px}.park-welcome-friend{right:120px}.park-welcome-bubble{padding:4px 8px;font-size:8px;bottom:49px;right:30px}.home .park-resume b{overflow-wrap:anywhere;white-space:normal}}.park-hero-copy{z-index:1;position:relative}.park-eyebrow{color:var(--gold-light);letter-spacing:2.5px;margin:0;font-family:ui-monospace,monospace;font-size:10px}.park-hero h1{letter-spacing:-1.8px;margin:14px 0 12px;font-size:40px;line-height:1.28}.park-hero h1 span{color:var(--gold-light)}.park-intro{color:var(--muted);margin:0 0 24px;font-size:14px}.park-ticket{background:var(--accent);min-height:46px;color:var(--accent-text);justify-content:center;align-items:center;gap:24px;padding:0 24px;font-size:14px;font-weight:750;text-decoration:none;display:inline-flex;position:relative}.park-ticket:before,.park-ticket:after{content:"";background:var(--surface);border-radius:50%;width:10px;height:10px;position:absolute;top:calc(50% - 5px)}.park-ticket:before{left:-5px}.park-ticket:after{right:-5px}.park-ticket:hover{background:var(--gold-light)}.park-wheel{width:340px;height:280px;color:var(--border);position:absolute;bottom:0;right:32px}#identity:has(.gate){max-width:480px;margin:24px auto}#identity>.room-hint{padding:18px 0}.park-resumable{gap:10px;margin-top:18px;display:grid}.park-resume{border:1px solid var(--border-strong);background:#211f29;border-radius:8px;align-items:stretch;gap:8px;display:flex}.park-resume>a{min-width:0;color:var(--text);flex:1;justify-content:space-between;align-items:center;gap:12px;padding:16px 18px;font-size:13px;text-decoration:none;display:flex}.park-resume b{color:var(--gold-light);margin-right:12px}.park-resume small{font-size:12px}.park-resume strong{color:var(--gold-light);white-space:nowrap;font-size:12px}.park-resume>button{min-width:44px;color:var(--muted);cursor:pointer;background:0 0;border:0;font-size:22px}.park-games-head{justify-content:space-between;align-items:center;gap:18px;margin:30px 0 18px;scroll-margin-top:16px;display:flex}.park-games-head h2{letter-spacing:-.8px;margin:0;font-size:24px}.park-games-head h2 small{color:var(--muted);white-space:nowrap;margin-left:8px;font:10px ui-monospace,monospace}.park-filters{gap:6px;display:flex}.park-filters button{border:1px solid var(--border);min-height:44px;color:var(--muted);font:inherit;cursor:pointer;background:0 0;border-radius:30px;padding:0 18px;font-size:12px}.park-filters button[aria-pressed=true]{background:var(--accent);border-color:var(--accent);color:var(--accent-text);font-weight:700}.home .game-list{grid-template-columns:repeat(5,minmax(0,1fr));gap:12px}.home .game-card{border:1px solid var(--border);background:var(--surface-2);text-align:left;border-radius:10px;flex-direction:column;gap:0;padding:0;display:flex;overflow:hidden}.home .game-card:hover{background:var(--card-hover);border-color:var(--border-strong)}.home .game-card-icon{border-bottom:1px solid var(--border);filter:none;background:linear-gradient(155deg,#272b40,#1b1f32);width:100%;min-height:128px;padding:20px;position:relative}.home .game-card-icon:before{content:"";border:1px solid #bc965b15;border-radius:50%;width:110px;height:110px;position:absolute}.home .game-card-icon img{position:relative}.home .game-card-text{flex-direction:column;flex:1;align-items:stretch;gap:8px;width:100%;padding:16px 14px;display:flex}.game-card-category{color:var(--gold-light);font-size:11px}.home .game-card-name{letter-spacing:-.5px;font-size:17px}.home .game-card-desc{min-height:42px;font-size:12px;line-height:1.7}.game-card-mode{color:var(--muted);justify-content:space-between;align-items:center;gap:6px;margin-top:auto;padding-top:10px;font-size:11px;display:flex}.game-card-mode>span{color:var(--gold-light);font-size:18px}.home .game-card-best{color:var(--gold-light);font-size:12px}.home .wall-strip{background:var(--panel);border:1px solid var(--border);min-height:84px;box-shadow:none;border-radius:10px;align-items:center;gap:20px;margin-top:24px;padding:20px 22px;display:flex}.home .wall-chalk{font:inherit;white-space:nowrap;color:var(--text);text-shadow:none;font-size:16px;font-weight:700}.home .wall-strip-count{color:var(--muted);white-space:nowrap;font-size:11px}.home .wall-strip-preview{border-left:1px solid var(--border);min-width:0;color:var(--muted);flex:1;padding-left:20px;font-size:13px}.home .wall-strip-cta{color:var(--gold-light)}.app-footer{color:var(--muted);max-width:1200px;padding:16px 24px;font-size:11px}.app:has(.dock) .app-footer>span:first-child{visibility:visible}.dock,.dock-link,.dock-label,:is(.app:has(.play) .site-header,.app:has(.room.live) .site-header){display:none}:is(.app:has(.play) .dock,.app:has(.room.live) .dock){display:flex}:is(.app:has(.play) .dock-link,.app:has(.room.live) .dock-link){display:none}.app-main:has(.entry){max-width:1000px;padding:32px 36px}.entry .play-title{color:var(--muted);font-size:14px}.park-entry-layout{grid-template-columns:1fr 1fr;gap:38px;margin-top:24px;display:grid}.park-entry-art{background:var(--surface);border:1px solid var(--border);border-radius:150px 150px 12px 12px;flex-direction:column;justify-content:center;align-self:start;align-items:center;gap:34px;min-height:375px;padding:35px;display:flex}.park-entry-art>span{color:var(--gold-light);letter-spacing:2px;font:10px ui-monospace,monospace}.entry .entry-hero{text-align:left;padding:12px 0 18px;display:block}.entry .entry-hero h1{letter-spacing:-1px;margin:14px 0 12px;font-size:36px}.entry .entry-desc{text-align:left;color:var(--muted);margin:0;font-size:14px;line-height:1.8}.entry-actions{gap:10px;display:grid}.entry .entry-btn{border-radius:8px;justify-content:center;align-items:center;min-height:48px;font-size:15px;display:flex}.entry .entry-actions .btn-ghost{border:1px solid var(--border-strong);background:0 0}.entry .room-hint{margin:14px 0 24px;font-size:12px;line-height:1.8}.entry .entry-find{border-top:1px solid var(--border);grid-template-columns:minmax(0,1fr) auto;gap:10px;padding-top:20px;display:grid}.entry .entry-find-label{grid-column:1/-1;font-size:13px}.entry-find input{letter-spacing:3px;width:100%;min-width:0;min-height:46px}.entry-error{color:#f87171;min-height:24px;margin:10px 0 0;font-size:12px}.app-main:has(.room.lobby){max-width:1100px;padding:28px 32px}.room.lobby .room-layout{grid-template-columns:minmax(0,1.6fr) minmax(260px,1fr);align-items:start;gap:24px;display:grid}.room.lobby .room-lobby{min-width:0}.park-lobby-heading{justify-content:space-between;align-items:center;gap:16px;margin:14px 0 8px;display:flex}.park-lobby-heading h1{letter-spacing:-1px;margin:10px 0;font-size:30px}.park-room-code{color:var(--gold-light);letter-spacing:3px;-webkit-user-select:all;user-select:all;font:18px ui-monospace,monospace}.room.lobby .room-invite{border:1px solid var(--border);background:var(--panel);padding:16px}.room-invite-actions{flex-wrap:wrap}.room.lobby .room-invite-actions .btn{min-height:44px}.room.lobby .room-players{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.room.lobby .room-players li{border:1px solid var(--border);background:var(--surface-2);border-radius:10px;flex-wrap:wrap;place-content:center;align-items:center;gap:8px;min-width:0;min-height:150px;padding:18px 12px;display:flex}.room.lobby .room-players .room-player-empty{border-style:dashed}.room.lobby .room-player-id{text-align:center;overflow-wrap:anywhere;flex-direction:column;flex:0 0 100%;gap:8px;width:100%;min-width:0;padding:0;font-size:14px;display:flex}.room.lobby .room-player-id .avatar svg{width:46px;height:46px}.room.lobby .room-player-id .avatar{width:46px;height:46px;display:block}.room.lobby .room-player .btn{min-height:36px;padding:6px 9px;font-size:11px}.room.lobby .room-host-badge{margin-left:0}.room.lobby .room-settings{border:1px solid var(--border);background:var(--panel);border-radius:10px;gap:20px;padding:20px}.room.lobby .room-option .g2048-targets{flex-wrap:wrap;gap:7px}.room.lobby .room-option .btn{min-width:60px;min-height:44px}.room.lobby .room-start{border-radius:8px;min-height:50px;font-size:17px}.room.lobby .room-layout>.chat{background:var(--panel);border:1px solid var(--border);border-radius:10px;min-width:0;min-height:400px;margin-top:14px}.room.lobby .chat-form input{min-width:0}.gate{background:var(--panel);border:1px solid var(--border)}.gate .btn{min-height:44px}.input{border-color:var(--border)}@media (width>=720px) and (width<=1040px){.home .game-list{grid-template-columns:repeat(3,minmax(0,1fr))}.park-wheel{opacity:.6;width:280px;right:0}.park-hero h1{font-size:34px}.site-menu{gap:12px}.site-account-name{display:none}.park-games-head{flex-wrap:wrap}}@media (width<=719px){.site-header{gap:12px;min-height:68px;padding:10px 18px}.norito-brand{gap:8px;font-size:21px}.norito-brand img{width:37px;height:37px}.site-menu{display:none}.site-account{gap:7px}.site-account-name{max-width:95px;font-size:11px}.site-account-name b{text-overflow:ellipsis;white-space:nowrap;max-width:100%;overflow:hidden}.site-avatar{width:44px;height:44px}.app{padding-bottom:calc(76px + env(safe-area-inset-bottom))}.app-main:has(.home){padding:18px}.park-hero{min-height:224px;padding:24px 21px}.park-hero h1{letter-spacing:-1px;font-size:28px}.park-intro{max-width:220px;margin-bottom:18px;font-size:12px;line-height:1.6}.park-eyebrow{letter-spacing:1.8px;font-size:9px}.park-wheel{opacity:.3;width:230px;height:210px;bottom:-12px;right:-65px}.park-ticket{padding:0 18px;font-size:13px}.park-games-head{flex-wrap:wrap;gap:14px;margin:24px 0 14px}.park-games-head h2{font-size:22px}.park-filters{width:100%}.park-filters button{padding:0 16px;font-size:12px}.home .game-list{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.home .game-card-icon{min-height:110px;padding:16px}.home .game-card-icon img{width:76px;height:76px}.home .game-card-text{padding:14px 11px}.home .game-card-name{font-size:16px}.home .game-card-desc{min-height:60px;font-size:12px}.game-card-mode{font-size:10px}.park-resume>a{gap:8px;padding:12px}.park-resume b,.park-resume small{display:block}.park-resume small{margin-top:4px;font-size:11px}.park-resume>button{min-width:36px}.home .wall-strip{flex-wrap:wrap;gap:10px;padding:17px 15px}.home .wall-strip-count{margin-left:auto}.home .wall-strip-preview{border-left:0;flex-basis:calc(100% - 30px);padding-left:0;font-size:12px}.app-footer{padding:16px 18px;font-size:10px}.visits{column-gap:8px;font-size:10px}.dock{border-top:1px solid var(--border);background:var(--header);padding:8px 8px calc(8px + env(safe-area-inset-bottom));justify-content:space-around;align-items:center;display:flex;bottom:0;left:0;right:0}.dock-link{min-width:64px;min-height:50px;color:var(--muted);flex-direction:column;justify-content:center;align-items:center;gap:4px;font-size:11px;text-decoration:none;display:flex}.dock-link>span{font-size:21px;line-height:24px}.dock-link.active{color:var(--gold-light)}.dock .dock-btn{width:64px;height:50px;min-height:44px;box-shadow:none;background:0 0;border:0;border-radius:6px;align-content:center;gap:4px}.dock-label{font-size:11px;display:block}.dock-btn:disabled{opacity:.4;cursor:default}.dock-status{top:5px;bottom:auto;right:14px}.dock-badge{top:0;right:5px}:is(.app:has(.play),.app:has(.room.live)){padding-bottom:env(safe-area-inset-bottom)}:is(.app:has(.play) .dock,.app:has(.room.live) .dock){left:12px;right:auto;bottom:calc(10px + env(safe-area-inset-bottom));background:0 0;border:0;padding:0}:is(.app:has(.play) .dock .dock-btn,.app:has(.room.live) .dock .dock-btn){background:var(--surface);border:1px solid var(--border);width:44px;height:44px}:is(.app:has(.play) .dock-label,.app:has(.room.live) .dock-label){display:none}.app-main:has(.entry){padding:18px}.park-entry-layout{grid-template-columns:1fr;gap:18px;margin-top:16px}.park-entry-art{border-radius:85px 85px 10px 10px;gap:15px;min-height:180px;padding:22px}.park-entry-art img{width:96px;height:96px}.park-entry-art>span{font-size:9px}.entry .entry-hero{padding:0 0 20px}.entry .entry-hero h1{font-size:30px}.app-main:has(.room.lobby){padding:18px}.room.lobby .room-layout{grid-template-columns:minmax(0,1fr);gap:16px}.room.lobby .room-layout>.chat{min-height:260px;margin-top:0;display:grid}.room.lobby .chat-fab,.room.lobby .chat-pop,.room.lobby .chat-pop-backdrop{display:none}.park-lobby-heading h1{font-size:28px}.room.lobby .room-players li{padding:14px 10px}.room.lobby .room-settings{padding:17px}.room.lobby .play-bar{flex-wrap:wrap;gap:8px}.room.lobby .room-me{text-overflow:ellipsis;white-space:nowrap;max-width:145px;overflow:hidden}}.home-wall{min-width:0;margin-top:24px}.home-wall .wall-panel{--brick:#1a1c2d;--mortar:#151725;border:1px solid var(--border)}.home-wall .wall-head{flex-wrap:wrap}.home-wall .wall-textarea{width:100%;min-width:0}@media (width>=1180px){.app-main:has(.home){max-width:1440px}.home{grid-template-columns:minmax(0,1fr) 340px;align-items:start;gap:24px;display:grid}.home-wall{margin-top:0;position:sticky;top:16px}.home-wall .wall-panel{flex-direction:column;max-height:calc(100dvh - 32px);display:flex}.home-wall .wall-list{scrollbar-width:thin;min-height:0;overflow-y:auto}.home-wall .wall-head,.home-wall .wall-notice,.home-wall .wall-mine{flex-shrink:0}.home .game-list{grid-template-columns:repeat(3,minmax(0,1fr))}.home .park-games-head{flex-wrap:wrap}.home .park-wheel{opacity:.45;right:-35px}.home .park-hero h1{font-size:34px}}@media (prefers-reduced-motion:reduce){.park-ticket,.game-card{transition:none}}:root[data-home-palette=purple]{--bg:#17131e;--header:#1c1825;--surface:#241e30;--panel:#2a2237;--surface-2:#332b42;--card-hover:#40364e;--border:#51455e;--border-strong:#887582;--accent:#dfa991;--gold-light:#f2c8af;--accent-text:#17131e;--text:#f1ecf2;--muted:#b8a9bd}.norito-brand img{width:44px;height:44px}.home .park-hero{background:linear-gradient(120deg, var(--surface), var(--panel));border-radius:18px;min-height:164px;padding:24px 26px}.home .park-hero:after{background:repeating-linear-gradient(90deg, var(--accent) 0 16px, var(--surface) 16px 32px);height:3px}.home .park-hero-copy{max-width:65%}.home .park-greeting{margin:0 0 6px;font-size:12px}.home .park-hero h1{margin:4px 0;font-size:28px}.home .park-intro{margin:12px 0 0;font-size:12px}.home .park-welcome-scene{width:245px;height:164px;bottom:0;right:4px}.home .park-welcome-me,.home .park-welcome-friend{width:35px;height:35px;bottom:13px}.home .park-welcome-me{left:58px}.home .park-welcome-friend{right:103px}.home .park-welcome-bubble{display:none}.home .game-card-text{gap:7px;min-height:0;padding:15px 14px 12px}.home .game-card-desc{min-height:0}.home .game-card-tail{justify-content:space-between;align-items:center;gap:8px;margin-top:auto;padding-top:5px;display:flex}.home .game-card-arrow{color:var(--gold-light);margin-left:auto;font-size:22px;line-height:1}.home .game-card-icon{background:linear-gradient(155deg, var(--card-hover), var(--surface))}.home-palette{color:var(--muted);flex-wrap:wrap;justify-content:flex-end;align-items:center;gap:8px;margin-top:20px;font-size:12px;display:flex}.home-palette button{border:1px solid var(--border);background:var(--surface);min-height:44px;color:var(--muted);cursor:pointer;font:inherit;border-radius:24px;align-items:center;gap:6px;padding:6px 12px;display:inline-flex}.home-palette button[aria-pressed=true]{border-color:var(--gold-light);color:var(--gold-light)}.home-palette i{border-radius:50%;width:12px;height:12px}.palette-navy{background:linear-gradient(90deg,#10121e 50%,#d2b477 50%)}.palette-purple{background:linear-gradient(90deg,#241e30 50%,#f2c8af 50%)}@media (width>=761px) and (width<=1200px){.home .park-hero{min-height:164px}.home .park-hero-copy{max-width:65%}}@media (width<=760px){.home .park-hero{border-radius:14px;min-height:128px;padding:16px}.home .park-hero-copy{max-width:72%}.home .park-greeting{margin:0 0 5px;font-size:11px}.home .park-hero h1{letter-spacing:-1px;font-size:23px}.home .park-intro{max-width:165px;margin-top:10px;font-size:10px;line-height:1.6}.home .park-welcome-scene{width:150px;height:101px;right:-11px}.home .park-welcome-me,.home .park-welcome-friend{width:24px;height:24px;bottom:7px}.home .park-welcome-me{left:34px}.home .park-welcome-friend{right:61px}.home .game-card-text{padding:12px 11px}.home .game-card-desc{font-size:11px}.home .park-resume>a{padding:8px}.home .park-resume small{display:none}.home .park-resume b{font-size:12px}.home-palette{justify-content:center;gap:6px;font-size:11px}.home-palette button{padding:6px 9px}}@media (width<=760px) and (height<=650px){.home .park-hero{min-height:104px;padding:12px 16px}.home .park-intro{margin-top:5px}.home .park-welcome-scene{width:128px;height:86px}.home .game-card-icon{min-height:90px;padding:8px}}.home .park-hero{padding-top:16px;padding-bottom:16px}.home .park-hero h1{margin:0}.home .park-greeting{margin-bottom:4px}.home-quote-slot{min-height:64px;margin-top:8px}.home-quote{padding-right:34px;position:relative}.home-quote-window{height:64px;position:relative;overflow:hidden}.home-quote-line{color:var(--muted);overflow-wrap:anywhere;margin:0;font-size:12px;line-height:20px}.home-quote-author{color:var(--gold-light);margin-left:6px;font-style:normal}.quote-arriving{animation:.3s cubic-bezier(.2,.7,.2,1) both quote-arrive}.quote-leaving{animation:.3s cubic-bezier(.2,.7,.2,1) both quote-leave;position:absolute;inset:0}.home-quote-pause{width:36px;min-height:44px;color:var(--muted);cursor:pointer;background:0 0;border:0;border-radius:8px;padding:0;font-size:12px;position:absolute;top:-8px;right:-5px}.home-quote-pause:hover,.home-quote-pause[aria-pressed=true]{color:var(--gold-light);background:var(--surface-2)}@keyframes quote-arrive{0%{transform:translateY(64px)}to{transform:translateY(0)}}@keyframes quote-leave{0%{transform:translateY(0)}to{transform:translateY(-100%)}}@media (width<=760px){.home .park-hero{padding:14px 16px}.home .park-hero-copy{width:100%;max-width:100%}.home .park-greeting,.home .park-hero h1{max-width:78%}.home .park-welcome-scene{width:94px;height:63px;top:3px;bottom:auto;right:-4px}.home .park-welcome-me,.home .park-welcome-friend{width:15px;height:15px;bottom:5px}.home .park-welcome-me{left:22px}.home .park-welcome-friend{right:39px}.home-quote-slot{min-height:85px}.home-quote-window{height:85px}.home-quote-line{font-size:11px;line-height:17px}.quote-arriving{animation-name:quote-arrive-mobile}@keyframes quote-arrive-mobile{0%{transform:translateY(85px)}to{transform:translateY(0)}}}@media (prefers-reduced-motion:reduce){.quote-arriving{animation:none}.quote-leaving{display:none}}@media (width<=350px){.home-quote-slot{min-height:104px}.home-quote-window{height:104px}}
