:root{--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark;--bg:#070d1c;--text:#f1e8d3;--muted:#a9a58f;--gold:#dcbb7c;--gold-deep:#a27c42;--ivory:#f4ecda;--ink:#14161c;--teal:#7fe9dc;--jp:"Shippori Mincho", "Shippori Mincho B1", "Hiragino Mincho ProN", "Yu Mincho", "Noto Serif JP", serif;--f-panel:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180' viewBox='0 0 60 60'%3E%3ClinearGradient id='f' x2='0' y2='1'%3E%3Cstop stop-color='%230f1d3a'/%3E%3Cstop offset='1' stop-color='%23081022'/%3E%3C/linearGradient%3E%3ClinearGradient id='l' x2='1' y2='1'%3E%3Cstop stop-color='%23e3c283'/%3E%3Cstop offset='.5' stop-color='%238d6a35'/%3E%3Cstop offset='1' stop-color='%23e3c283'/%3E%3C/linearGradient%3E%3Cpath d='M9.2 1.2H50.8A8 8 0 0 0 58.8 9.2V50.8A8 8 0 0 0 50.8 58.8H9.2A8 8 0 0 0 1.2 50.8V9.2A8 8 0 0 0 9.2 1.2Z' fill='url(%23f)' stroke='url(%23l)' stroke-width='1.5'/%3E%3Cpath d='M13 4.4H47A8.6 8.6 0 0 0 55.6 13V47A8.6 8.6 0 0 0 47 55.6H13A8.6 8.6 0 0 0 4.4 47V13A8.6 8.6 0 0 0 13 4.4Z' fill='none' stroke='%23c9a56333' stroke-width='.7'/%3E%3C/svg%3E");--f-dark:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180' viewBox='0 0 60 60'%3E%3ClinearGradient id='f' x2='0' y2='1'%3E%3Cstop stop-color='%23122142'/%3E%3Cstop offset='1' stop-color='%230a142b'/%3E%3C/linearGradient%3E%3ClinearGradient id='l' x2='1' y2='1'%3E%3Cstop stop-color='%238a7044'/%3E%3Cstop offset='.5' stop-color='%2357462b'/%3E%3Cstop offset='1' stop-color='%238a7044'/%3E%3C/linearGradient%3E%3Cpath d='M9.2 1.2H50.8A8 8 0 0 0 58.8 9.2V50.8A8 8 0 0 0 50.8 58.8H9.2A8 8 0 0 0 1.2 50.8V9.2A8 8 0 0 0 9.2 1.2Z' fill='url(%23f)' stroke='url(%23l)' stroke-width='1.5'/%3E%3Cpath d='M13 4.4H47A8.6 8.6 0 0 0 55.6 13V47A8.6 8.6 0 0 0 47 55.6H13A8.6 8.6 0 0 0 4.4 47V13A8.6 8.6 0 0 0 13 4.4Z' fill='none' stroke='%23c9a56322' stroke-width='.7'/%3E%3C/svg%3E");--f-teal:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180' viewBox='0 0 60 60'%3E%3ClinearGradient id='f' x2='0' y2='1'%3E%3Cstop stop-color='%230f5a58'/%3E%3Cstop offset='1' stop-color='%2307302f'/%3E%3C/linearGradient%3E%3ClinearGradient id='l' x2='1' y2='1'%3E%3Cstop stop-color='%237fe9dc'/%3E%3Cstop offset='.5' stop-color='%232fa79d'/%3E%3Cstop offset='1' stop-color='%237fe9dc'/%3E%3C/linearGradient%3E%3Cpath d='M9.2 1.2H50.8A8 8 0 0 0 58.8 9.2V50.8A8 8 0 0 0 50.8 58.8H9.2A8 8 0 0 0 1.2 50.8V9.2A8 8 0 0 0 9.2 1.2Z' fill='url(%23f)' stroke='url(%23l)' stroke-width='1.5'/%3E%3Cpath d='M13 4.4H47A8.6 8.6 0 0 0 55.6 13V47A8.6 8.6 0 0 0 47 55.6H13A8.6 8.6 0 0 0 4.4 47V13A8.6 8.6 0 0 0 13 4.4Z' fill='none' stroke='%238ff4e866' stroke-width='.7'/%3E%3C/svg%3E");--f-gold:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180' viewBox='0 0 60 60'%3E%3ClinearGradient id='f' x2='0' y2='1'%3E%3Cstop stop-color='%23ecd097'/%3E%3Cstop offset='1' stop-color='%23b98d49'/%3E%3C/linearGradient%3E%3ClinearGradient id='l' x2='1' y2='1'%3E%3Cstop stop-color='%23fff0c9'/%3E%3Cstop offset='.5' stop-color='%238a6530'/%3E%3Cstop offset='1' stop-color='%23fff0c9'/%3E%3C/linearGradient%3E%3Cpath d='M9.2 1.2H50.8A8 8 0 0 0 58.8 9.2V50.8A8 8 0 0 0 50.8 58.8H9.2A8 8 0 0 0 1.2 50.8V9.2A8 8 0 0 0 9.2 1.2Z' fill='url(%23f)' stroke='url(%23l)' stroke-width='1.5'/%3E%3Cpath d='M13 4.4H47A8.6 8.6 0 0 0 55.6 13V47A8.6 8.6 0 0 0 47 55.6H13A8.6 8.6 0 0 0 4.4 47V13A8.6 8.6 0 0 0 13 4.4Z' fill='none' stroke='%236d4c1e77' stroke-width='.7'/%3E%3C/svg%3E");--f-ivory:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180' viewBox='0 0 60 60'%3E%3ClinearGradient id='f' x2='0' y2='1'%3E%3Cstop stop-color='%23fbf5e6'/%3E%3Cstop offset='1' stop-color='%23e0d2b2'/%3E%3C/linearGradient%3E%3ClinearGradient id='l' x2='1' y2='1'%3E%3Cstop stop-color='%23c9a563'/%3E%3Cstop offset='.5' stop-color='%238d6a35'/%3E%3Cstop offset='1' stop-color='%23c9a563'/%3E%3C/linearGradient%3E%3Cpath d='M9.2 1.2H50.8A8 8 0 0 0 58.8 9.2V50.8A8 8 0 0 0 50.8 58.8H9.2A8 8 0 0 0 1.2 50.8V9.2A8 8 0 0 0 9.2 1.2Z' fill='url(%23f)' stroke='url(%23l)' stroke-width='1.5'/%3E%3Cpath d='M13 4.4H47A8.6 8.6 0 0 0 55.6 13V47A8.6 8.6 0 0 0 47 55.6H13A8.6 8.6 0 0 0 4.4 47V13A8.6 8.6 0 0 0 13 4.4Z' fill='none' stroke='%238d6a3555' stroke-width='.7'/%3E%3C/svg%3E");--f-ink:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180' viewBox='0 0 60 60'%3E%3ClinearGradient id='f' x2='0' y2='1'%3E%3Cstop stop-color='%2322242c'/%3E%3Cstop offset='1' stop-color='%2308090d'/%3E%3C/linearGradient%3E%3ClinearGradient id='l' x2='1' y2='1'%3E%3Cstop stop-color='%23c9a563'/%3E%3Cstop offset='.5' stop-color='%236b5230'/%3E%3Cstop offset='1' stop-color='%23c9a563'/%3E%3C/linearGradient%3E%3Cpath d='M9.2 1.2H50.8A8 8 0 0 0 58.8 9.2V50.8A8 8 0 0 0 50.8 58.8H9.2A8 8 0 0 0 1.2 50.8V9.2A8 8 0 0 0 9.2 1.2Z' fill='url(%23f)' stroke='url(%23l)' stroke-width='1.5'/%3E%3Cpath d='M13 4.4H47A8.6 8.6 0 0 0 55.6 13V47A8.6 8.6 0 0 0 47 55.6H13A8.6 8.6 0 0 0 4.4 47V13A8.6 8.6 0 0 0 13 4.4Z' fill='none' stroke='%23c9a56333' stroke-width='.7'/%3E%3C/svg%3E");--f-red:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180' viewBox='0 0 60 60'%3E%3ClinearGradient id='f' x2='0' y2='1'%3E%3Cstop stop-color='%237c2a2a'/%3E%3Cstop offset='1' stop-color='%23451414'/%3E%3C/linearGradient%3E%3ClinearGradient id='l' x2='1' y2='1'%3E%3Cstop stop-color='%23e0a08a'/%3E%3Cstop offset='.5' stop-color='%238a4535'/%3E%3Cstop offset='1' stop-color='%23e0a08a'/%3E%3C/linearGradient%3E%3Cpath d='M9.2 1.2H50.8A8 8 0 0 0 58.8 9.2V50.8A8 8 0 0 0 50.8 58.8H9.2A8 8 0 0 0 1.2 50.8V9.2A8 8 0 0 0 9.2 1.2Z' fill='url(%23f)' stroke='url(%23l)' stroke-width='1.5'/%3E%3Cpath d='M13 4.4H47A8.6 8.6 0 0 0 55.6 13V47A8.6 8.6 0 0 0 47 55.6H13A8.6 8.6 0 0 0 4.4 47V13A8.6 8.6 0 0 0 13 4.4Z' fill='none' stroke='%23e0a08a33' stroke-width='.7'/%3E%3C/svg%3E")}*,:before,:after{box-sizing:border-box}html,body,#root{height:100%;margin:0}body{background:var(--bg) url(./bg-Dm4rU7E-.webp) center / cover fixed;color:var(--text);font:500 15px/1.7 var(--jp);-webkit-tap-highlight-color:transparent;-webkit-text-size-adjust:100%;-webkit-user-select:none;user-select:none;overflow:hidden}#root{container-type:size}button,input{font:inherit;color:inherit}button{cursor:pointer;touch-action:manipulation;background:0 0;border:0;padding:0}button:disabled{cursor:default}:focus-visible{outline:2px solid var(--teal);outline-offset:2px}h1,h2,p,ol,ul{margin:0;padding:0}ol,ul{list-style:none}h2{font-size:18px;line-height:1.4}.muted{color:var(--muted)}.panel,.btn,.gem,.player,.rc-off,.menu-btn,.recent,.item,.pick button,.pass{border:0 solid #0000;border-image:var(--f-panel) 60 fill / 18px stretch}.btn{border-image:var(--f-dark) 60 fill / 14px stretch;min-height:46px;padding:8px 18px;font-size:15px;font-weight:700;transition:transform .12s,filter .12s}.btn.gold{border-image-source:var(--f-gold);color:#2a1c07}.btn.red{border-image-source:var(--f-red)}.btn.on{border-image-source:var(--f-teal)}.btn:disabled{opacity:.45}button:active:not(:disabled){transform:scale(.97)}.btn-row{gap:8px;display:flex}.btn-row>*{flex:1;min-width:0}input{border:1px solid var(--gold-deep);-webkit-user-select:text;user-select:text;background:#050a16;border-radius:3px;width:100%;height:46px;padding:0 12px;font-size:17px}.face{object-fit:cover;box-shadow:0 0 0 1.5px #f0d7a0, 0 0 0 3px #4a3718, 0 0 0 4px var(--gold), 0 3px 7px 3px #00000073;background:#0a1226;border-radius:50%;display:block}.rank{opacity:.85;border:1px solid;border-radius:2px;flex:none;padding:0 7px;font-size:11px;font-weight:700;line-height:17px}.dot{background:var(--ivory);border:1px solid var(--gold);border-radius:50%;flex:none;width:9px;height:9px;display:inline-block}.dot-B{background:#0a0b0f}.disc{aspect-ratio:1;--face:#efe7d8;background:url(./disc-w-CIcHdQu_.webp) 50%/100% 100%;width:100%;display:block;position:relative}.disc-B{--face:#16181e;background-image:url(./disc-b-C8TcoIK5.webp)}.disc svg{fill:#15171d;width:78%;height:78%;position:absolute;top:6.7%;left:11%}.disc-B svg{fill:#f5eddc}.cut{fill:var(--face)}.cut-line{fill:none;stroke:var(--face);stroke-width:2.6px;stroke-linecap:round}.mode-icon{fill:currentColor;--face:#0c1730;flex:none;width:24px;height:24px;display:block}.game{--bar:clamp(46px, 7.8cqh, 62px);--tray:clamp(46px, 7.8cqh, 66px);--act:clamp(76px, 11cqh, 94px);--gap:clamp(4px, 1.1cqh, 12px);--board:min(100cqw, 100cqh - 2 * var(--bar) - var(--tray) - var(--act) - 6 * var(--gap), 720px);place-content:center;justify-items:center;gap:var(--gap);grid-template:"far" var(--bar) "act" var(--act) "board" var(--board) "tray" var(--tray) "near" var(--bar) / min(100cqw, max(var(--board), 360px));height:100%;display:grid}.game>div:not(.backdrop){width:100%;min-width:0;height:100%}.area-far,.area-near,.area-tray,.area-actions{padding:0 8px}.area-far{grid-area:far}.area-tray{grid-area:tray}.area-actions{grid-area:act}.area-near{grid-area:near}.game>.area-board{width:var(--board);grid-area:board;position:relative}.player{border-image:var(--f-ink) 60 fill / 14px stretch;align-items:center;gap:8px;height:100%;padding:0 6px 0 10px;display:flex}.player-W{border-image-source:var(--f-ivory);color:#231b0e}.player .face{width:calc(var(--bar) - 12px);height:calc(var(--bar) - 12px);flex:none}.active .face{animation:1.1s ease-in-out infinite alternate turn-glow}@keyframes turn-glow{0%{box-shadow:0 0 0 2px #d6fff8,0 0 5px 4px #1fcdb9,0 0 10px 5px #1fcdb9a6}to{box-shadow:0 0 0 2px #d6fff8,0 0 9px 6px #1fcdb9,0 0 22px 12px #1fcdb9b3}}.who{flex-wrap:wrap;flex:1;align-items:center;gap:2px 8px;min-width:0;margin-left:4px;display:flex}.who strong{white-space:nowrap;text-overflow:ellipsis;width:100%;font-size:16px;line-height:1.25;overflow:hidden}.who .rank{line-height:15px}.change-left{fill:#8a6428;flex:none;width:18px;height:18px}.player-B .change-left{fill:var(--gold)}.change-left svg{display:block}.stones{font:700 18px/1 var(--jp);align-items:center;gap:4px;margin-left:auto;display:flex}.stones i{background:var(--ivory);border:1.5px solid #a8854b;border-radius:50%;width:13px;height:13px}.player-B .stones i{background:#050609}.clock{height:34px;font:700 22px/1 var(--jp);opacity:.6;background:#0000001f;border-radius:3px;flex:none;align-items:center;margin-left:auto;padding:0 9px;display:flex}.player-B .clock{background:#ffffff12}.clock small{margin-right:6px;font-size:11px}.stones+.clock{margin-left:6px}.clock i{text-align:center;width:.62em;font-style:normal}.clock .sep{width:.3em}.active .clock{opacity:1;color:#eafffb;background:#0f4f4d}.active .clock.low{color:#fff;background:#8d2f25}.board{aspect-ratio:1;--last:#ffc42e9e;width:100%;position:relative}.board.mode-go{--last:#c4481c6b}.board:after{content:"";pointer-events:none;background:url(./frame-CAvxq3eb.webp) 50%/100% 100%;position:absolute;inset:0}.field{background-size:100% 100%;position:absolute;inset:2.24%}.tile-flip,.cells,.pieces{width:100%;height:100%;position:absolute;inset:0}.cells{grid-template:repeat(8,1fr)/repeat(8,1fr);display:grid}.cell{min-width:0;min-height:0;position:relative}button.cell:active{transform:none}.cell.last{background:var(--last);box-shadow:inset 0 0 0 1.5px #ffecb48c}.cell.selected{box-shadow:inset 0 0 0 2px var(--teal);background:#3ccdbe8c}.cell.check{background:radial-gradient(circle,#ff3a24 25%,#c8241299 60%,#c8241200 100%)}.cell i{font:9px/1 var(--jp);color:#7d5a26;opacity:.95;position:absolute}.mode-chess .cell:nth-child(16n+9) i,.mode-chess .cell:nth-child(58) i,.mode-chess .cell:nth-child(60) i,.mode-chess .cell:nth-child(62) i,.mode-chess .cell:nth-child(64) i,.mode-reversi .cell i,.mode-chess .cell:nth-child(57) i,.mode-chess .cell:nth-child(59) i,.mode-chess .cell:nth-child(61) i,.mode-chess .cell:nth-child(63) i{color:#d9bd84}.mode-chess .cell:nth-child(58) i,.mode-chess .cell:nth-child(60) i,.mode-chess .cell:nth-child(62) i,.mode-chess .cell:nth-child(64) i{color:#7d5a26}.mode-go .cell i{color:#6b4719}.rank-no{top:2px;left:2px}.file-no{bottom:2px;right:2px}.pieces{pointer-events:none}.piece{place-items:center;width:12.5%;height:12.5%;transition:transform .2s cubic-bezier(.3,.8,.4,1);display:grid;position:absolute}.piece>.disc{grid-area:1/1;width:98%}.piece.lifted{z-index:2}.piece.lifted>.disc{translate:0 -5%;scale:1.1}.target-dot{background:#35c9ba;border:2px solid #04282699;border-radius:50%;width:30%;height:30%}.target-ring{border:4px solid #35c9ba;border-radius:50%;width:96%;height:96%}.drop-in{animation:.26s cubic-bezier(.3,.9,.4,1.15) both drop-in}.fade-out{animation:.4s ease-in .1s both fade-out}.flip-out{animation:.13s ease-in both flip-out}.flip-in{animation:.17s ease-out both flip-in}.hop{animation:.56s ease-in-out hop}@keyframes drop-in{0%{opacity:0;translate:0 -24%;scale:1.5}}@keyframes fade-out{to{opacity:0;scale:.6}}@keyframes flip-out{to{transform:translateY(-14%)scaleX(.03)}}@keyframes flip-in{0%{transform:translateY(-14%)scaleX(.03)}}@keyframes hop{45%{transform:translateY(-26%)scale(1.1)}}.reveal{z-index:4;pointer-events:none;background:linear-gradient(90deg,#060c1b00,#060c1beb 25% 75%,#060c1b00);border-block:1px solid;border-image:linear-gradient(90deg,#dcbb7c00,#f3dba6 50%,#dcbb7c00) 1;flex-direction:column;justify-content:center;align-items:center;animation:1s linear .75s both reveal;display:flex;position:absolute;inset:35.5% 0}.reveal small{letter-spacing:.3em;text-indent:.3em;color:var(--gold);font-size:14px;font-weight:700;line-height:1.2}.reveal strong{letter-spacing:.1em;text-indent:.1em;color:#fbeecb;font-size:clamp(34px,11.5cqw,60px);line-height:1.25;animation:.7s cubic-bezier(.2,.8,.3,1) .85s both spread}@keyframes reveal{0%,8%{opacity:0;clip-path:inset(50% 0)}22%,78%{opacity:1;clip-path:inset(0)}to{opacity:0;clip-path:inset(50% 0)}}@keyframes spread{0%{letter-spacing:.6em;text-indent:.6em;opacity:0}}.intro{animation:2.2s linear .2s both reveal}.intro strong{animation-delay:.4s}.unlock{animation:2.4s linear .35s both reveal;inset:11% 0 64%}.unlock strong{letter-spacing:.04em;text-indent:.04em;font-size:clamp(26px,8cqw,46px);animation:none}.pass-flash{z-index:4;border-block:2px solid var(--gold);letter-spacing:.35em;text-indent:.35em;color:var(--ivory);pointer-events:none;background:#101218f0;place-items:center;font-size:44px;font-weight:700;line-height:1;animation:1.5s both pass-flash;display:grid;position:absolute;inset:38% 0}.pass-W{color:var(--ink);background:#f6efdff2}@keyframes pass-flash{0%{opacity:0;clip-path:inset(0 100% 0 0)}14%,78%{opacity:1;clip-path:inset(0)}to{opacity:0;clip-path:inset(0 0 0 100%)}}.veil{z-index:5;background:#0408128c;place-items:center;animation:.15s both fade-in;display:grid;position:absolute;inset:0}.picker{gap:4px;padding:14px 18px;display:flex}.picker button{width:clamp(58px,18cqw,80px)}.dock{z-index:5;grid-area:far/far/act/act;padding:0 8px;animation:.2s both fade-in}.dock .panel{flex-direction:column;justify-content:center;gap:8px;height:100%;padding:8px 14px;font-weight:700;display:flex}.dock p{align-items:center;line-height:1.4;display:flex}.dock .btn,.dock .gem{min-height:48px;padding:0 4px}.toast{z-index:6;border:1px solid var(--gold-deep);text-align:center;pointer-events:none;background:#060c1bf5;border-radius:3px;width:max-content;max-width:88%;padding:8px 18px;font-size:14px;font-weight:700;line-height:1.5;animation:.15s both fade-in;position:absolute;bottom:7%;left:50%;translate:-50%}.toast.notice{top:7%;bottom:auto}.tray{gap:3px;height:100%;display:flex}.kind{border-radius:4px;flex:1;place-items:center;min-width:0;display:grid;position:relative}.kind .disc{width:min(100%, var(--tray) - 4px)}.kind small{border:1px solid var(--gold-deep);min-width:18px;font:12px/16px var(--jp);background:#060c1b;border-radius:9px;padding:0 4px;position:absolute;bottom:0;right:0}.kind small b{font-size:17px}.kind sup{color:var(--gold);margin-left:2px;font-size:11px;line-height:0}.kind.on{box-shadow:inset 0 0 0 2px var(--teal);background:#0f4f4d}.kind:disabled{opacity:.32}.pass{border-image:var(--f-dark) 60 fill / 12px stretch;flex:none;width:50px;font-weight:700}.pass:disabled{opacity:.4}.recent{white-space:nowrap;border-block:1px solid #a27c4255;border-image:;justify-content:center;align-items:center;gap:6px 14px;width:100%;height:100%;padding:0 14px;font-size:14px;display:flex;overflow:hidden}.recent span{align-items:center;gap:5px;display:flex}.recent span:not(:last-child){opacity:.65}.area-actions{align-items:stretch;gap:6px;display:flex}.area-actions>:nth-child(2){flex:1;min-width:0}.trail{flex:none;align-items:center;gap:1px;display:flex}.trail span{width:21px;height:21px;font:13px/1 var(--jp);color:var(--muted);border:1px solid #a27c4266;border-radius:50%;place-items:center;display:grid;position:relative}.trail .mode-icon{width:16px;height:16px}.trail .done{opacity:.45}.trail .now{border:2px solid var(--gold);width:30px;height:30px;color:var(--ivory);background:#0f2146}.trail .now .mode-icon{width:22px;height:22px}.lines{flex-direction:column}.lines>*{flex:1;min-height:0}.lines>:first-child{gap:6px;display:flex}.ply-now{text-align:center;white-space:nowrap;color:#f7e3b5;flex:1;align-self:center;font-size:21px;line-height:1}.ply-now small{margin-left:2px;font-size:12px}.rc{gap:8px;display:flex}.fresh .gem{animation:.6s ease-in-out 1s 4 alternate both fresh}@keyframes fresh{to{filter:brightness(1.7);scale:1.04}}.rc-head{color:var(--gold);justify-content:center;align-items:center;gap:5px;font-size:12px;font-weight:700;line-height:14px;display:flex}.rc-head svg{fill:currentColor;width:13px;height:13px}.rc-off .rc-head{color:inherit;font-size:14px}.armed .rc-head{color:var(--teal)}.rc-row{flex:1;gap:5px;display:flex}.gem{border-image:var(--f-panel) 60 fill / 13px stretch;white-space:nowrap;flex:1;justify-content:center;align-items:center;gap:4px;min-width:0;padding:0 2px;font-size:13.5px;font-weight:700;display:flex}.gem .mode-icon{width:18px;height:18px}.gem.on{border-image-source:var(--f-teal);color:#eafffb}.gem.hard{opacity:.45}.rc-off{border-image:var(--f-dark) 60 fill / 13px stretch;min-width:0;color:var(--muted);justify-content:center;align-items:center;gap:10px;font-size:14px;font-weight:700;line-height:1.35;display:flex}.rc-off small{white-space:nowrap;text-overflow:ellipsis;font-size:13px;overflow:hidden}.rc-off.open{border-image-source:var(--f-gold);color:#2a1c07}.menu-btn{border-image:var(--f-dark) 60 fill / 13px stretch;flex:none;place-items:center;width:44px;display:grid}.menu-btn i{border-block:2px solid var(--gold);background:linear-gradient(var(--gold), var(--gold)) center / 100% 2px no-repeat;width:20px;height:14px}.replay-move{text-align:center;flex-direction:column;justify-content:center;font-weight:700;line-height:1.4;display:flex}.replay-move small{color:var(--gold);font-size:12px;line-height:1.3}.area-actions>.pass{width:64px}.replay-keys{align-items:center;gap:6px;display:flex}.replay-keys .btn{flex:none;width:50px;padding:0}.replay-keys input{min-width:0;accent-color:var(--gold);background:0 0;border:0;padding:0}.backdrop{z-index:20;background:#03060eb8;place-items:center;padding:16px;animation:.16s both fade-in;display:grid;position:absolute;inset:0}.backdrop.top{z-index:40}.backdrop.late{animation:.35s 1s both fade-in}@keyframes fade-in{0%{opacity:0}}.sheet{text-align:center;flex-direction:column;gap:10px;width:min(100%,360px);max-height:calc(100cqh - 32px);padding:22px 22px 24px;display:flex}.sheet h2{color:var(--gold);font-size:21px}.item{border-bottom:1px solid #a27c4244;border-image:;justify-content:space-between;padding:10px 6px;font-size:16px;font-weight:700;display:flex}.item b{color:var(--teal)}.profile label{white-space:nowrap;align-items:center;gap:12px;font-weight:700;display:flex}.face-grid{grid-template-columns:repeat(3,1fr);gap:16px;padding:8px 12px 12px;display:grid}.face-grid .face{opacity:.62;width:100%}.face-grid .on{opacity:1;outline:3px solid var(--teal);outline-offset:5px}.result .face{width:92px;margin:6px auto 8px}.result h2{font-size:28px}.gain{justify-content:center;align-items:baseline;gap:10px;font-weight:700;display:flex}.gain b{color:#f7e3b5;font-size:26px;line-height:1.3}.promoted{color:var(--teal);font-weight:700}.score{font:32px/1 var(--jp);justify-content:center;align-items:center;gap:12px;display:flex}.score .disc{width:44px}.score i{color:var(--muted)}.log{text-align:left;font-size:15px;overflow:auto}.log li{border-bottom:1px solid #a27c4233;align-items:center;gap:8px;padding:4px 2px;display:flex}.log .ply{text-align:right;width:24px;font-family:var(--jp);color:var(--muted)}.log small{color:var(--muted)}.log em{color:var(--teal);margin-left:auto;font-style:normal;font-weight:700}.page{z-index:30;padding:max(12px, env(safe-area-inset-top)) 14px max(20px, env(safe-area-inset-bottom));background:var(--bg) url(./bg-Dm4rU7E-.webp) center / cover;flex-direction:column;align-items:center;gap:14px;display:flex;position:absolute;inset:0;overflow:hidden auto}.cover{z-index:31;background:var(--bg) url(./bg-Dm4rU7E-.webp) center / cover;position:absolute;inset:0}.page>*{flex:none;width:100%;max-width:560px}.page-head{z-index:5;grid-template-columns:46px 1fr 46px;align-items:center;display:grid;position:sticky;top:0}.page-head:before{content:"";z-index:-1;background:linear-gradient(var(--bg) 75%, transparent);position:absolute;inset:-20px -14px -12px}.page-head h1{text-align:center;color:#f7e3b5;font-size:23px;line-height:1.4}.page-head button{border:0 solid #0000;border-image:var(--f-dark) 60 fill / 13px stretch;place-items:center;height:46px;display:grid}.page-head i{border:solid var(--gold);border-width:0 0 2px 2px;width:12px;height:12px;margin-left:5px;rotate:45deg}.hero-board{aspect-ratio:1.98;width:min(100%,400px,198cqh - 887.04px);margin:0 auto;position:relative}.hero-plane{perspective:620px;perspective-origin:50% 0;position:absolute;inset:0}.hero-plane span{aspect-ratio:1;outline:2px solid var(--gold-deep);background-size:100% 100%;border:5px solid #16264a;width:56%;position:absolute;top:-21%;left:22%;transform:rotateX(56deg)rotate(-20deg);box-shadow:-6px 10px #0b1428,-7px 12px 0 1px #7d602f,-16px 30px 30px #000a}.hero-disc{position:absolute}.hero-disc .disc{transform:scaleY(.82)}.home{justify-content:safe center;gap:12px}.logo{width:min(94%,430px);margin:-30px auto 0;display:block;position:relative}.me{border:0 solid #0000;border-image:var(--f-dark) 60 fill / 13px stretch;align-items:center;gap:10px;padding:8px 18px 8px 10px;display:flex}.me .face{width:44px;margin:2px 4px}.me strong{white-space:nowrap;text-overflow:ellipsis;font-size:16px;overflow:hidden}.rating{color:var(--muted);text-align:right;flex:none;margin-left:auto;font-size:11px;line-height:1.2;display:grid}.rating b{color:var(--gold);font-size:21px}.home nav{grid-template:104px 84px/1fr 1fr;gap:10px;display:grid}.nav-battle{border:0 solid #0000;border-image:var(--f-gold) 60 fill / 16px stretch;grid-column:span 2;grid-template-columns:repeat(3,1fr);padding:7px;display:grid;position:relative}.nav-battle i{background-position:43% 43%;background-size:330%;height:100%}.nav-battle strong{letter-spacing:.35em;text-indent:.35em;color:#fff8e4;text-shadow:0 2px 5px #060c1b,0 0 14px #060c1b;background:linear-gradient(90deg,#060c1b1a,#060c1b8c 34% 66%,#060c1b1a);place-items:center;font-size:36px;display:grid;position:absolute;inset:7px}.nav-card{border:0 solid #0000;border-image:var(--f-panel) 60 fill / 16px stretch;justify-content:center;align-items:center;gap:12px;font-size:21px;font-weight:700;display:flex}.nav-card svg{width:32px;fill:var(--gold)}.text-btn{min-height:40px;color:var(--gold);text-underline-offset:5px;font-weight:700;-webkit-text-decoration:underline #a27c4288;text-decoration:underline #a27c4288}.tabs .btn{flex:auto;padding:4px 0}.times{gap:10px;display:grid}.time{border:0 solid #0000;border-image:var(--f-panel) 60 fill / 18px stretch;text-align:left;align-items:center;gap:18px;min-height:92px;padding:0 24px;display:flex}.time strong{color:#f7e3b5;min-width:104px;font-size:36px;line-height:1.2}.time span{font-size:17px;font-weight:700}.time em{color:var(--teal);font-size:13px;font-style:normal;display:block}.cup{filter:grayscale();opacity:.45}.settings .panel,.record .panel,.join{padding:18px 20px}.profile{gap:14px;display:grid}.profile>.face{width:96px;margin:4px auto}.sheet .profile>.face{display:none}.join{gap:12px;display:grid}.settings .item{border:0;width:100%}.summary{grid-template-columns:64px 1fr;align-items:center;gap:10px 18px;display:grid}.summary .face{width:60px}.summary strong{font-size:18px;line-height:1.5;display:block}.summary dl{text-align:center;border-top:1px solid #a27c4255;grid-column:span 2;grid-template-columns:1fr 1fr;margin:0;padding-top:10px;display:grid}.summary dt{color:var(--muted);font-size:13px}.summary dd{color:#f7e3b5;margin:0;font-size:34px;font-weight:700;line-height:1.2}.summary p{text-align:center;grid-column:span 2;font-size:17px;font-weight:700}.by-mode table{border-collapse:collapse;width:100%;margin-top:8px;font-weight:700}.by-mode th{align-items:center;gap:10px;padding:7px 0;display:flex}.by-mode td{text-align:right}.empty{text-align:center}.games{gap:8px;display:grid}.games button{border:0 solid #0000;border-image:var(--f-dark) 60 fill / 13px stretch;text-align:left;align-items:center;gap:12px;width:100%;padding:9px 16px 9px 12px;line-height:1.4;display:flex}.games .face{width:40px}.games small{color:var(--muted);font-size:12px}.mark{text-align:center;width:30px;color:var(--muted);font-size:23px}.mark.win{color:var(--gold)}.game-who{flex:1;min-width:0}.game-who>*{display:block}.game-when{text-align:right}.game-when span{justify-content:flex-end;gap:5px;display:flex}.game-when .mode-icon{width:19px;height:19px}.versus{gap:8px;display:grid}.versus button{border:0 solid #0000;border-image:var(--f-dark) 60 fill / 13px stretch;text-align:left;grid-template:auto auto/48px 1fr;place-items:center start;gap:0 12px;padding:9px 10px;display:grid}.versus .face{grid-row:span 2;width:46px}.versus strong{white-space:nowrap;text-overflow:ellipsis;max-width:100%;line-height:1.5;overflow:hidden}.rule-line{color:var(--gold);justify-content:center;align-items:center;gap:12px;font-size:16px;display:flex}.rule-line:before,.rule-line:after{content:"";background:var(--gold-deep);opacity:.6;flex:1;height:1px}.hint{text-align:center;text-wrap:balance;word-break:auto-phrase}.rules{gap:16px}.cards{gap:12px;display:grid}.card{grid-template:auto 1fr/108px 1fr;align-items:center;gap:10px 16px;padding:14px 18px 18px 16px;display:grid}.card h2{color:#f7e3b5;border-bottom:1px solid #a27c4255;grid-column:span 2;align-items:center;gap:14px;padding-bottom:8px;font-size:20px;display:flex}.diamond{border:1.5px solid var(--gold);place-items:center;width:28px;height:28px;margin-left:6px;display:grid;rotate:45deg}.diamond b{font:18px/1 var(--jp);rotate:-45deg}.card-text{word-break:auto-phrase;gap:5px;font-size:15px;line-height:1.65;display:grid}.card-art{place-items:center;display:grid}.art-boards{aspect-ratio:1.02;width:100%;position:relative}.art-boards span{aspect-ratio:1;background-size:100% 100%;border:2px solid #8d6a35;width:64%;position:absolute;box-shadow:0 3px 8px #0009}.art-boards span:nth-child(2){top:18%;left:18%}.art-boards span:nth-child(3){top:36%;left:36%}.art-discs{width:100%;display:flex}.art-discs .disc{flex:none;width:58%}.art-discs .disc+.disc{margin-left:-16%}.art-kinds{grid-template-columns:repeat(3,1fr);gap:2px;width:100%;display:grid}.symbol{width:72px;fill:var(--gold)}.art-order{gap:9px;display:grid}.art-order span{align-items:center;gap:5px;display:flex}.art-order .mode-icon{width:34px;height:34px}.art-order .mode-icon+svg{fill:none;width:26px;stroke:var(--gold);stroke-width:2.5px}.art-reversi{aspect-ratio:1;background:40% 40%/266.7%;gap:0}.art-reversi i{aspect-ratio:1;background:#35c9ba;border-radius:50%;place-self:center;width:30%}.details{padding:14px 20px}.details summary{color:#f7e3b5;cursor:pointer;font-size:17px;font-weight:700}.details li{word-break:auto-phrase;border-top:1px solid #a27c4233;padding:8px 0}.details ul{margin-top:10px}.opening{grid-template:1fr 92px 1fr/min(100%,480px);justify-content:center;height:100%;padding:10px 14px;display:grid;position:relative}.side{flex-direction:column;justify-content:center;align-items:center;gap:14px;min-height:0;display:flex}.side.turned,.coin.turned b{rotate:180deg}.side-who{align-items:center;gap:14px;max-width:100%;display:flex}.side-who .face{flex:none;width:52px}.side-who strong{white-space:nowrap;text-overflow:ellipsis;font-size:17px;overflow:hidden}.order{color:var(--muted);flex:none;font-size:34px;line-height:1.2}.first .order{color:#f7e3b5}.order,.pick{visibility:hidden}.landed .order,.landed .pick{visibility:visible;animation:.35s both fade-in}.landed .pick{animation-delay:.35s}.pick{text-align:center;width:100%}.pick h2{color:var(--gold);margin-bottom:8px;font-size:16px}.pick div{grid-template-columns:repeat(3,1fr);gap:8px;display:grid}.pick button{border-image-width:14px;justify-items:center;padding:10px 6px 8px;line-height:1.4;display:grid}.pick i{aspect-ratio:1;border:1px solid var(--gold-deep);background-size:100% 100%;width:min(64px,9cqh);margin-bottom:4px}.pick strong{color:#f7e3b5;font-size:17px}.pick small{color:var(--muted);font-size:12px}.coin{z-index:2;color:#3b2809;background:radial-gradient(circle,#e8cd92 57%,#8d6a35 58% 61%,#cfa964 62%);border:3px solid #7d5a26;border-radius:50%;place-self:center;place-items:center;width:76px;height:76px;font-size:34px;line-height:1;animation:1.6s linear both toss;display:grid;position:relative}.coin:after{content:"";border:9px solid #0000;border-top-color:var(--gold);opacity:0;border-bottom:0;transition:opacity .3s;position:absolute;top:calc(100% + 5px)}.coin.up:after{top:-17px;rotate:180deg}.landed .coin:after{opacity:1}@keyframes toss{0%{animation-timing-function:cubic-bezier(.2,.7,.5,1);transform:perspective(500px)translateY(0)rotateX(0)}48%{animation-timing-function:cubic-bezier(.5,0,.8,.4);transform:perspective(500px)translateY(-110px)scale(1.35)rotateX(1080deg)}92%{transform:perspective(500px)translateY(0)rotateX(2160deg)}96%{transform:perspective(500px)translateY(-7px)rotateX(2160deg)}to{transform:perspective(500px)translateY(0)rotateX(2160deg)}}.lobby{justify-content:safe center}.lobby .panel{text-align:center;gap:12px;padding:22px 20px 24px;display:grid}.lobby h1{color:#f7e3b5;word-break:auto-phrase;font-size:22px;line-height:1.5}.seeking{color:var(--gold);justify-content:center;gap:24px;padding:10px 0;display:flex}.seeking .mode-icon{width:40px;height:40px;animation:2.1s infinite both seeking}.seeking :nth-child(2){animation-delay:.7s}.seeking :nth-child(3){animation-delay:1.4s}@keyframes seeking{0%,66%,to{opacity:.25}30%{opacity:1}}.code{font:46px/1.2 var(--jp);letter-spacing:.16em;text-indent:.16em;-webkit-user-select:text;user-select:text}@container (aspect-ratio>=1){.game{--bar:clamp(48px, 9cqh, 68px);--tray:64px;--act:92px;--gap:14px;--board:min(100cqh - 28px, 100cqw - 372px);grid-template:"board far" var(--bar) "board act" var(--act) "board ." 1fr "board tray" var(--tray) "board near" var(--bar) / var(--board) 340px;padding:14px 0}.game>.area-board{height:var(--board)}.cards{grid-template-columns:1fr 1fr}.page.rules>*{max-width:860px}}@media (prefers-reduced-motion:reduce){.hop,.coin,.fresh .gem,.drop-in,.flip-out,.flip-in{animation-duration:1ms}.active .face{animation-play-state:paused}}
