.kl.tt{--felt:#6b3fb8;--felt-2:#55318f;--felt-3:#3f2370;--felt-edge:#2a1550;--mark-ink:#fff8e838;--tt-paper:#fff9ec;--tt-rule:#3c6ebe29;--tt-ink:#2a2447;--tt-x:#d7261e;--tt-o:#1f4fb4;--tt-strike:#f08a00;--tt-live:#fff1b8;--tt-closed:#efe6d2;--tt-edge:#2a244759;--tt-outside:#dccfb6;--tt-last:#7a4fd6;--tt-dots:radial-gradient(circle at 1px 1px, #fff8e80f 1px, transparent 0) 0 0 / 24px 24px;--felt-pattern:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 150'%3E%3Cg fill='none' stroke='%23FFF8E8' stroke-opacity='0.16' stroke-width='3' stroke-linecap='round'%3E%3Cpath d='M66 12V132M126 12V132M12 52H180M12 92H180'/%3E%3C/g%3E%3Cg fill='none' stroke='%23FFCE1F' stroke-opacity='0.3' stroke-width='4' stroke-linecap='round'%3E%3Cpath d='M22 22L52 44M52 22L22 44'/%3E%3Cpath d='M80 66a14 14 0 1 0 .1 0z' transform='translate(26 -4)'/%3E%3C/g%3E%3C/svg%3E") left 2.4% bottom 18px / clamp(110px, 13vw, 170px) auto no-repeat, url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 160 110'%3E%3Cg fill='none' stroke='%23FFF8E8' stroke-opacity='0.16' stroke-width='3' stroke-linecap='round'%3E%3Cpath d='M16 76L44 100M44 76L16 100'/%3E%3Ccircle cx='96' cy='88' r='14'/%3E%3Cpath d='M20 20H140M20 40H140' stroke-dasharray='4 8'/%3E%3C/g%3E%3C/svg%3E") right 2.4% top 22px / clamp(110px, 12vw, 160px) auto no-repeat, var(--tt-dots)}[data-theme=dark] .kl.tt{--felt:#45297f;--felt-2:#341e62;--felt-3:#231443;--felt-edge:#150b2b;--tt-paper:#243049;--tt-rule:#b4cdff17;--tt-ink:#ede7d6;--tt-x:#ff8478;--tt-o:#86b7ff;--tt-strike:#ffd84d;--tt-live:#3b4a70;--tt-closed:#1b2438;--tt-edge:#ede7d64d;--tt-outside:#121a2b;--tt-last:#ffd84d}@media (width<=900px){.kl.tt,[data-theme=dark] .kl.tt{--felt-pattern:var(--tt-dots)}}.tt .kl-felt{flex-direction:column;justify-content:center;align-items:center;padding:10px 8px 30px;display:flex}@media (width<=480px){.tt .kl-felt{padding-inline:4px}}.tt .kl-mark{bottom:7px}.tt .kl-placeholder{place-items:center;width:100%;padding:8px 12px 20px;display:grid}.tt-art{filter:drop-shadow(0 12px 22px #14083273);width:min(80vw,380px);height:auto;display:block}.tt .kl-board{touch-action:manipulation;outline:none;place-items:center;width:100%;display:grid}.tt .kl-board:focus-visible .tt-stage{box-shadow:0 0 0 4px var(--yellow)}@media (width<=380px){.tt .kl-stat{min-width:0;padding-inline:7px}.tt .kl-stat dd{font-size:15px}.tt .kl-stat dd[data-score]{letter-spacing:-.02em;font-size:13px}}.tt-status{color:#fff8e8;max-width:min(94%,680px);min-height:32px;font:700 15px/1.25 var(--read);text-align:center;text-wrap:balance;background:#fff8e826;border-radius:999px;justify-content:center;align-items:center;margin:0 0 8px;padding:5px 16px;display:flex}.tt-status[data-turn=ai] span:after{content:"";text-align:left;width:1.4em;margin-left:.2em;animation:1.1s steps(4,end) infinite tt-dots;display:inline-block}.tt:has(.kl-splash:not([hidden])) .tt-status{visibility:hidden}.tt-status[data-turn=over]{background:var(--yellow);color:var(--navy)}@keyframes tt-dots{0%{content:""}25%{content:"."}50%{content:".."}75%{content:"..."}}.tt-stage{touch-action:manipulation;filter:drop-shadow(0 14px 24px #0f052880);border-radius:22px;position:relative}.tt-stage[data-mode=giant]{touch-action:none;cursor:grab;border-radius:16px;overflow:hidden}.tt-stage.is-pan{cursor:grabbing}.tt .tt-stage.kl-card{will-change:auto;transition:none;position:relative;top:auto;left:auto}.tt-svg{-webkit-user-select:none;user-select:none;-webkit-tap-highlight-color:transparent;width:100%;height:100%;display:block}.tt-sheet{fill:var(--tt-paper);stroke:var(--tt-edge);stroke-width:2px}.tt-svg[data-mode=ultimate] .tt-sheet{fill:var(--tt-closed)}.tt-sheet-grid{fill:none}.tt-rule{stroke:var(--tt-rule);stroke-width:1.2px}.tt-outside{fill:var(--tt-outside)}.tt-edge{fill:none;stroke:var(--tt-ink);stroke-width:10px}.tt-cg{fill:none;stroke:var(--tt-ink);stroke-opacity:.35;stroke-width:2px}.tt-grid path{fill:none;stroke:var(--tt-ink);stroke-width:5px;stroke-linecap:round}.tt-fine-g path{stroke-width:1.6px}.tt-mark path{fill:none;stroke-width:9px;stroke-linecap:round;stroke-linejoin:round}.tt-x path{stroke:var(--tt-x)}.tt-o path{stroke:var(--tt-o)}.tt-svg[data-mode=giant] .tt-mark path{stroke-width:11px}.tt-sub-marks .tt-mark path{stroke-width:8px}.tt-big .tt-mark path{stroke-width:22px;stroke-opacity:.92}.tt-draw .tt-s1,.tt-draw .tt-s2{stroke-dasharray:1;stroke-dashoffset:1px;animation:.26s ease-out forwards tt-draw}.tt-draw .tt-s2{animation-delay:.22s}.tt-o.tt-draw .tt-s1{animation-duration:.44s}.tt-big .tt-draw .tt-s1,.tt-big .tt-draw .tt-s2{animation-duration:.5s}.tt-svg.tt-grid-in .tt-grid path{stroke-dasharray:1;stroke-dashoffset:1px;animation:.4s ease-out forwards tt-draw}.tt-svg.tt-grid-in .tt-grid path:nth-child(2n){animation-delay:80ms}@keyframes tt-draw{to{stroke-dashoffset:0}}.tt-fading{opacity:.4}.tt-fading path{stroke-dasharray:.07 .05}.tt-x.tt-fading path{stroke-dasharray:.2 .14}.tt-gone{animation:.5s forwards tt-gone}@keyframes tt-gone{to{opacity:0;transform:scale(.8)}}.tt-gone{transform-box:fill-box;transform-origin:50%}.tt-strike{fill:none;stroke:var(--tt-strike);stroke-width:13px;stroke-linecap:round;stroke-opacity:.9;stroke-dasharray:1;stroke-dashoffset:1px;animation:.5s ease-out .12s forwards tt-draw}.tt-svg[data-mode=ultimate] .tt-strike{stroke-width:26px}.tt-last{fill:var(--tt-last);fill-opacity:.13}.tt-hint.tt-pend{animation:none}.tt-hint{fill:#ffce1f47;stroke:#f2a100;stroke-width:5px;transform-box:fill-box;transform-origin:50%;animation:1s ease-in-out 3 tt-pulse}@keyframes tt-pulse{50%{transform:scale(1.12)}}.tt-cursor{fill:none;stroke:#f2a100;stroke-width:6px;stroke-dasharray:14 9;stroke-linecap:round}.tt-ghost{opacity:.26;pointer-events:none}.tt-svg.tt-shake{animation:.34s tt-shake}@keyframes tt-shake{25%{transform:translate(-5px)}75%{transform:translate(5px)}}.tt-tile{fill:var(--tt-paper);stroke:var(--tt-edge);stroke-width:3px;transition:fill .2s}.tt-sub.tt-live .tt-tile{fill:var(--tt-live);stroke:#f2a100;stroke-width:7px}.tt-sub.tt-closed .tt-tile{fill:var(--tt-closed)}.tt-sub-marks.tt-dim{opacity:.22}.tt-zoom{z-index:3;flex-direction:column;gap:6px;display:flex;position:absolute;top:8px;right:8px}.tt-zoom[hidden],.tt-map[hidden]{display:none}.tt-zoom .kl-btn{justify-content:center;width:44px;height:44px;padding:0}.tt-zoom .kl-btn[aria-pressed=true]{background:var(--yellow)}.tt-map{z-index:3;background:var(--tt-paper);border:2px solid var(--tt-ink);touch-action:none;cursor:pointer;border-radius:10px;width:104px;height:104px;position:absolute;bottom:8px;left:8px;overflow:hidden;box-shadow:0 4px 12px #00000059}.tt-map svg{width:100%;height:100%;display:block}.tt-mbg{fill:var(--tt-paper)}.tt-md1{fill:var(--tt-x)}.tt-md2{fill:var(--tt-o)}.tt-mview{fill:#7a4fd62e;stroke:var(--tt-last);stroke-width:1.6px}.tt .kl-win{z-index:5;width:min(94%,400px);max-height:none;margin-top:12px;position:relative;top:auto;left:auto;transform:none}.tt .kl-hint-note{bottom:34px}.tt.is-short .kl-felt{padding:4px 8px}.tt.is-short .kl-mark{display:none}.tt.is-short .tt-status{z-index:4;text-align:left;max-width:34%;min-height:24px;margin:0;padding:3px 10px;font-size:12px;position:absolute;top:6px;left:8px}.tt.is-short .kl-win{max-height:calc(100% - 8px);margin:0;position:absolute;top:50%;left:50%;overflow-y:auto;transform:translate(-50%,-50%)}.tt .kl-splash{padding:8px}.tt-splash-in{overscroll-behavior:contain;width:min(100%,600px);max-height:100%;margin:auto;padding:2px 4px 6px;overflow-y:auto}.tt-splash-in .kl-splash-t{font-size:clamp(28px,6vw,56px)}.tt-free{background:#fff8e81a;border-radius:16px;gap:8px;width:100%;margin-top:4px;padding:10px;display:grid}.tt-free-h{font:700 12px/1 var(--read);letter-spacing:.14em;text-transform:uppercase;color:#f3e3c8;margin:0}.tt-opts{gap:6px;display:grid}.tt-opt{justify-content:space-between;align-items:center;gap:10px;display:flex}.tt-opt[hidden]{display:none}.tt-opt-l{font:700 13px var(--read);color:#dce4ff;text-align:left}.tt-seg{background:#08122a73;border-radius:12px;padding:3px;display:inline-flex}.tt-seg button{color:#fff8e8;min-width:52px;min-height:40px;font:700 14px var(--read);cursor:pointer;background:0 0;border:0;border-radius:9px;padding:0 12px}.tt-seg button[aria-pressed=true]{background:var(--yellow);color:var(--navy)}.tt-seg button:focus-visible{outline-offset:1px;outline:3px solid #fff}.tt-seg--xo button{font:400 17px var(--sign);min-width:46px}.tt .kl-link{align-items:center;min-height:40px;padding:0 12px;display:inline-flex}.tt-chips{grid-template-columns:repeat(4,1fr);gap:8px;margin:0;padding:0;list-style:none;display:grid}.tt-chip{width:100%;color:var(--navy);cursor:pointer;background:linear-gradient(#fffdf7,#efe3cc);border:0;border-radius:12px;justify-items:center;gap:2px;padding:8px 4px 7px;transition:transform .12s;display:grid;box-shadow:0 3px 8px #0000004d}.tt-chip:hover{transform:translateY(-1px)}.tt-chip.is-cur{outline:3px solid var(--yellow);outline-offset:1px}.tt-chip:focus-visible{outline-offset:2px;outline:3px solid #fff}.tt-chip svg{width:54px;height:54px}.tt-chip .tt-grid path{stroke:var(--navy);stroke-width:4px}.tt-chip .tt-fine-g path{stroke-width:1.3px}.tt-chip .tt-x path{stroke:#d7261e;stroke-width:7px}.tt-chip .tt-o path{stroke:#1f4fb4;stroke-width:7px}.tt-chip .tt-fading{opacity:.4}.tt-chip-n{font:400 13px/1.05 var(--sign);letter-spacing:.02em}.tt-chip-s{font:700 11px/1.15 var(--read);color:#5a3e26;text-wrap:balance}@media (width>=700px){.tt-opts{flex-wrap:wrap;justify-content:center;gap:8px 22px;display:flex}.tt-opt{gap:10px}}@media (height<=520px) and (width>=600px){.tt-chips{grid-template-columns:repeat(8,1fr);gap:6px}.tt-chip{padding:5px 2px}.tt-chip svg{width:36px;height:36px}.tt-chip-n{font-size:11px}.tt-chip-s{display:none}}@media (width<=520px){.tt-splash-in{gap:4px}.tt-splash-in .kl-splash-sub{font-size:12px}.tt-splash-in .kl-splash-btns{gap:6px;margin-top:4px}.tt-free{gap:6px;padding:8px}.tt-opts{gap:4px}.tt-seg button{min-width:48px;min-height:40px;padding:0 10px;font-size:13px}.tt-chips{gap:6px}.tt-chip{gap:1px;padding:5px 2px}.tt-chip svg{width:38px;height:38px}.tt-chip-n{font-size:11.5px}.tt-chip-s{display:none}}@media (height<=700px){.tt-chip-s{display:none}.tt-free{gap:6px;padding:8px}}@media (height<=460px){.tt-free-h,.tt-splash-in .kl-splash-sub{display:none}}@media (prefers-reduced-motion:reduce){.tt-draw .tt-s1,.tt-draw .tt-s2,.tt-svg.tt-grid-in .tt-grid path,.tt-strike,.tt-hint,.tt-gone,.tt-svg.tt-shake{stroke-dashoffset:0;animation:none}.tt-gone{opacity:0}}
