#theme-toggle{display:inline-flex;align-items:center;justify-content:center;flex-shrink:0;min-height:44px;padding:8px 12px;border:1px solid #74674e;background:transparent;color:#f1e9d9;font:600 12px/1.2 var(--ui);cursor:pointer;white-space:nowrap}
#theme-toggle:hover{background:#302b22}#theme-toggle:focus-visible{outline:2px solid #cc352c;outline-offset:3px}
html[data-theme=dark]{color-scheme:dark}
html[data-theme=dark] body :is(.rd-light,.rd-basho,.rd-doors,.rd-bout,footer,#vtabs,.rd-page .lvlcard,#ranks .lbtop .lbcard){background-color:#20201e!important;color:#f1e9d9!important}
html[data-theme=dark] body :is(.rd-basho,.rd-doors,footer) :is(h2,a,.rd-footer-brand){color:#f1e9d9}
html[data-theme=dark] body #vtabs .vtab{color:#bdb6a8}html[data-theme=dark] body #vtabs .vtab.on{background:#34302a;color:#f1e9d9}
html[data-theme=dark] body .rd-bout-mid{background:rgba(20,20,20,.4)}
html[data-theme=dark] body .rd-bout :is(.rd-bout-when,.rd-bout-kj,.rd-bout-hy,.rd-bout-rec small,.rd-bout-lab,.rd-bout-note,.rd-bout-career,.rd-bout-tape span,.rd-bout-tape b i,.rd-bout-by b,.rd-bout-row .b,.rd-bout-stake-no){color:#c8baa0}
html[data-theme=dark] body .rd-bout :is(.rd-bout-star,.rd-bout-stake){background:#302c23;color:#f1e9d9}
html[data-theme=dark] body .rd-bout :is(.rd-bout-mid,.rd-bout-tape,.rd-bout-tape div,.rd-bout-hist,.rd-bout-row){border-color:#504b40}
html[data-theme=dark] body .rd-bout-fig{filter:drop-shadow(0 0 2px #f1e9d999) drop-shadow(0 8px 12px #0008)}
html[data-theme=dark] body :is(.rd-footer-details,.rd-page .lvlcard .xpnote){color:#bdb6a8}
html[data-theme=dark] body #ranks .lbtop .lbcard :is(.nm,.name,.xp){color:#f1e9d9}
@media(max-width:1100px){body header .top{flex-wrap:wrap}body header .youwrap{margin-left:auto;flex-wrap:wrap}#theme-toggle{padding:8px;font-size:11px}}
html[data-theme=dark] body #journey .lvlcard :is(.lvl-lbl,.lvtitle,.xpnote,.xpnote b){color:#f1e9d9!important}
html[data-theme=dark] body .lvlcard .lvkanji{color:#c8baa0}
html[data-theme=dark] body #ranks .lbtop .lbcard .lbname{color:#f1e9d9}
html[data-theme=dark] body #ranks .lbtop :is(.lbcards,.lbsalt .u){color:#c8baa0}
html[data-theme=dark] body #ranks .lbtop .lbchal .btn{color:#f1e9d9}
html[data-theme=dark] body .rd-bout-chip{color:#d4c29f}
/* One shared control height for the account toolbar at every breakpoint. */
body header .youwrap{align-items:center;gap:10px}
body header :is(.hbal,.signinbtn,.youchip,#theme-toggle){box-sizing:border-box;height:44px;min-height:44px;margin-top:0;margin-bottom:0;border-radius:0}
body header :is(.signinbtn,.youchip,#theme-toggle){align-items:center;justify-content:center;padding:0 12px;line-height:1.2}
body header .signinbtn{display:inline-flex}
body header .signinbtn[hidden]{display:none}
body header .hbal .hb{align-items:center;padding:0 10px}
body header .yseal{width:24px;height:24px;min-width:24px}
@media(max-width:600px){body header .youwrap{gap:6px}body header :is(.signinbtn,.youchip,#theme-toggle){padding:0 9px}body header .hbal .hb{padding:0 7px}}
html[data-theme=dark] body .rd-bout-hd h2{color:#f1e9d9}
body #banzuke .rd-bout-hd h2{font-size:clamp(28px,3.6vw,38px);font-family:var(--disp);font-weight:400;line-height:1.12}
