#authDialog label.history-check{display:flex;align-items:flex-start;gap:8px;font-size:13px;font-weight:400}
#authDialog label.history-check span{min-width:0}
#authDialog label.history-check input{display:inline-block;width:16px;height:16px;flex:none;margin:4px 0 0;padding:0}
#historyRuntimeStatus:empty,body.info-reading #historyRuntimeStatus{display:none}
/* Account history only: preserve the live game and public reading styles. */
.history-controls{display:flex;align-items:center;flex-wrap:wrap;gap:8px;margin:18px 0}.history-controls button[aria-pressed="true"]{background:#255b48;color:white;border-color:#255b48}
.history-row{border-top:1px solid var(--line,#d2ddd1);padding:0}.history-row>summary{cursor:pointer;min-height:44px;padding:12px 4px;font-size:18px;line-height:1.5;overflow-wrap:anywhere}.history-row>summary:focus-visible{outline:3px solid var(--accent,#357c61);outline-offset:2px;border-radius:3px}.history-row[open]>summary{font-weight:600}.history-row-body{padding:0 4px 14px}.history-row-body p{margin:4px 0 10px}.history-row button,.history-pending button{margin:4px 8px 4px 0;font-size:13px}.history-settings{border:1px solid var(--line,#c6d3c5);padding:12px;border-radius:4px}.history-settings summary{cursor:pointer}.history-check{display:flex;align-items:flex-start;gap:8px;margin:14px 0}.history-check input{flex:none;margin-top:6px}.history-status,#historyRuntimeStatus{font-size:13px;line-height:1.7}.history-pending{margin:20px 0;font-size:13px}.history-board{pointer-events:none;width:min(100%,580px);margin:20px auto}.history-board.ttt{width:min(100%,400px)}.history-board.xiangqi{aspect-ratio:9/10;max-height:none}.history-cards{display:flex;gap:6px;overflow-x:auto;padding:6px 0 12px;max-width:100%}.history-cards .ddz-card{flex:none;position:relative;display:inline-block;margin:0;width:48px;height:70px;opacity:1}.history-disclosure{font-size:12px;line-height:1.7;color:#617768;margin:0 0 14px}.history-notice-link{font-size:13px}
:root[data-theme="dark"] .history-disclosure{color:#b5c6b8}:root[data-theme="dark"] .history-controls button[aria-pressed="true"]{background:#357c61;border-color:#75b292}
@media(max-width:640px){.history-row>summary{font-size:16px}.history-settings{padding:10px}.history-cards .ddz-card{width:42px;height:62px}}
