:root{--font-body:"Zen Kaku Gothic New", "Noto Sans JP", "Yu Gothic UI", sans-serif;--font-title:"Shippori Mincho B1", "Yu Mincho", serif;font-family:var(--font-body);color:#eeeada;--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark;font-synthesis:none;--gold:#edca7b;--dim:#a3b5aa;--green:#90d3a6;--panel:#1c2c27;--line:#3b4b3e;--cell:clamp(46px, 11vh, 86px);--ally:#6fe39b;--enemy:#ff5f7a;--bond:#6fe6da;--power:#cfb8f4;--win:#fff4d6;--text:#eeeada;--sp-1:4px;--sp-2:8px;--sp-3:12px;--sp-4:16px;--sp-5:24px;--r-s:4px;--r-m:8px;--r-l:12px;--tap:44px;--top:44px;--fs-title:32px;--fs-number:20px;--fs-name:15px;--fs-body:12px;--fs-note:11px;--fs-button:13px;--stone-hi:#3a4d42;--stone-lo:#26382e;--stone-edge:#55695a;--stone-under:#121a16;--gold-hi:#f7dfa0;--gold-lo:#c0962f;--gold-edge:#fbe9b6;--gold-under:#7a5a1e;background:#101d1c}@media (max-height:650px) and (orientation:landscape){:root{--fs-title:24px;--fs-number:18px;--fs-name:13px;--fs-body:11px;--fs-note:10px;--fs-button:12px}}*{box-sizing:border-box}body{margin:0}button,input,select{font:inherit}button{cursor:pointer;color:inherit;border:1px solid var(--stone-edge);background:linear-gradient(180deg, var(--stone-hi), var(--stone-lo));box-shadow:0 2px 0 var(--stone-under), inset 0 1px 0 #ffffff1f;border-radius:8px;padding:9px 13px;transition:background .15s,transform .15s,border-color .15s}button:hover:not(:disabled){background:linear-gradient(#47604f,#314638);border-color:#a4b68a}button:active:not(:disabled){transform:translateY(2px);box-shadow:inset 0 2px 4px #0006}button:disabled{opacity:.4;cursor:default;box-shadow:none}button:focus-visible{outline:2px solid var(--gold);outline-offset:2px}button.primary{background:linear-gradient(180deg, var(--gold-hi), var(--gold) 55%, var(--gold-lo));border-color:var(--gold-edge);color:#292719;box-shadow:0 3px 0 var(--gold-under), 0 6px 12px #0006, inset 0 1px 0 #fff6;font-weight:800}button.primary:hover:not(:disabled){border-color:var(--gold-edge);background:linear-gradient(#fff0c4,#ffe1a0 55%,#d4a843)}button.primary:active:not(:disabled){box-shadow:0 1px 0 var(--gold-under), inset 0 2px 4px #0004}button.danger{color:var(--enemy)}button.subtle{box-shadow:none;background:0 0}.ic{fill:none;stroke:currentColor;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round;vertical-align:-.2em;pointer-events:none;flex:none;width:1.25em;height:1.25em}.ic.ic-fill{fill:currentColor;stroke:none}button.small{padding:5px 9px;font-size:12px}h1,h2,h3,p{margin:0}h2{font-size:20px}h3{font-size:15px}small,.muted{color:var(--dim)}strong{font-weight:800}.eyebrow{letter-spacing:.16em;color:var(--gold);font-size:11px;font-weight:700}.row{align-items:center;gap:10px;display:flex}.between{justify-content:space-between}.wrap{flex-wrap:wrap}.pill{border:1px solid var(--line);white-space:nowrap;border-radius:99px;padding:3px 8px;font-size:11px}.gold{color:var(--gold)}.spacer{flex:1}.note{color:var(--dim);font-size:12px;line-height:1.7}.empty{text-align:center;color:var(--dim);padding:20px;font-size:12px}.selected{box-shadow:0 0 0 1px var(--gold);border-color:var(--gold)!important}.remote-band{border:1px solid var(--line);border-radius:var(--r-m);background:var(--panel);min-height:34px;font-size:var(--fs-body);align-items:center;gap:8px;margin-bottom:6px;padding:2px 6px 2px 12px;display:flex}.remote-band-text{text-overflow:ellipsis;white-space:nowrap;flex:1;min-width:0;overflow:hidden}.remote-band-actions{flex:none;gap:6px;display:flex}.remote-band[data-remote-status=unknown],.remote-band[data-remote-status=waiting],.remote-band[data-remote-status=conflict]{background:#2f2a1c;border-color:#c9a24f88}.remote-band[data-remote-status=stopped]{border-color:var(--enemy)}.remote-screen,.login-screen{border:1px solid var(--stone-edge);border-radius:var(--r-l);background:linear-gradient(180deg, var(--stone-hi), var(--stone-lo));max-width:460px;box-shadow:0 3px 0 var(--stone-under), 0 10px 24px #0005;margin:64px auto 48px;padding:20px 24px}.login-screen:before{content:"";background:url(/assets/crest-C6j0syMh.svg) 50%/contain no-repeat;width:56px;height:56px;margin:-48px auto 8px;display:block}.remote-screen{justify-items:start;gap:12px;display:grid}.battle-wait h2{font-size:var(--fs-title);margin:0}.battle-wait p{color:var(--dim);font-size:var(--fs-body);margin:0}.battle-wait[data-ticket=blocked] h2{color:var(--gold)}.opponent-source{border-radius:var(--r-s);font-size:var(--fs-note);white-space:nowrap;border:1px solid;margin-left:6px;padding:0 5px;font-weight:700}.rank-source{margin-left:4px}.rank-reason{color:var(--dim);font-size:var(--fs-note)}.login-screen h1{font-size:var(--fs-title);margin-bottom:8px}.login-lead,.login-note,.login-sent{color:var(--dim);font-size:var(--fs-body);margin:0 0 12px}.login-note{color:var(--gold)}.login-form{gap:8px;display:grid}.login-form[hidden]{display:none}.login-form label{font-size:var(--fs-note);color:var(--dim);font-weight:700}.login-form input{min-height:var(--tap);border:1px solid var(--line);border-radius:var(--r-m);color:var(--text);background:#101d1c;padding:8px 12px}.login-form input:focus-visible{outline:2px solid var(--gold);outline-offset:1px}.login-form button{min-height:var(--tap)}.login-more{flex-wrap:wrap;gap:8px;display:flex}.login-more button{font-size:var(--fs-note);background:0 0;flex:1}.login-message{min-height:1.4em;font-size:var(--fs-body);margin:12px 0 0}.login-message.error{color:var(--enemy)}@media (min-width:900px) and (min-height:651px){.shell:has(>.remote-band){--prep-extra:40px}}@media (max-height:650px) and (orientation:landscape){.shell:has(>.remote-band){--prep-extra:32px}.remote-band{min-height:28px;font-size:var(--fs-note);margin-bottom:4px;padding:1px 4px 1px 8px}.remote-band button.small{padding:3px 8px}.remote-screen,.login-screen{margin:12px auto;padding:12px 16px}.result-screen .result-banner:has(.rank-source){flex-wrap:wrap}.result-screen .result-banner .rank-result:has(.rank-source){flex:100%;order:1}}@media (max-width:700px) and (orientation:landscape){.topbar .rank-chip.server-rank{display:none}}@media (any-pointer:coarse){.remote-screen button{min-width:44px;min-height:44px}.remote-band button{position:relative}.rank-result:has(.rank-source) button.rank-chip{position:relative}.remote-band button:after{content:"";position:absolute;inset:min(0px,50% - 22px)}.rank-result:has(.rank-source) button.rank-chip:after{content:"";position:absolute;inset:min(0px,50% - 22px)}}
