.seat.active-seat{border-color:transparent!important;background:transparent!important;box-shadow:none!important}
.cards.needs-action{outline:2px solid #b9925a;outline-offset:4px;border-radius:6px}
.hero .cards{width:max-content;max-width:100%;margin-inline:auto}.cards{transition:opacity .12s}
.stack-cluster{display:flex;align-items:center;flex-direction:column;gap:3px;position:relative;margin:6px auto;width:max-content;max-width:100%}
.stack-cluster .stack-bar{position:relative!important;inset:auto!important;transform:none!important;width:130px!important;max-width:55vw;height:7px!important;border:1px solid #817564!important;background:#3a352f!important;border-radius:4px}
.stack-cluster .stack-bar i{top:0;left:0;bottom:0;right:auto;height:100%!important;background:#b9925a!important;transition:width .15s}
.dealer-button{display:inline-flex;align-items:center;justify-content:center;width:25px;height:25px;border:1px solid #bba887;border-radius:50%;background:#e3d8c4;color:#403627;font:700 12px/1 system-ui;box-shadow:0 2px 4px #0004;margin:0 6px}.dealer-button[hidden]{display:none}
.put,.current-hand-line,.rule-note{display:none!important}.opponent-action:empty,.seat-action:empty{min-height:0!important;padding:0!important}.opponent-action strong,.seat-action strong{font-size:22px}.opponent-action span,.seat-action span{display:none!important}
.status{line-height:1.5}.hand-dealing #actions,.hand-dealing #online-actions{pointer-events:none;opacity:.4}
@media(max-width:430px){.stack-cluster .stack-bar{width:100px!important}.dealer-button{width:22px;height:22px}.opponent-action strong,.seat-action strong{font-size:20px}.cards.needs-action{outline-offset:2px}.status{font-size:13px}}

.turn-time-bar{width:130px;max-width:55vw;height:8px;background:#2a3538;border-radius:0 0 5px 5px;position:relative;margin-bottom:17px;border:1px dashed #67999c}.turn-time-bar i{display:block;height:100%;background:#78bac0;transition:width .1s linear}.turn-time-bar small{position:absolute;top:8px;left:0;right:0;font:10px/15px system-ui;color:#aec9cb;white-space:nowrap}.turn-time-bar:not(.time-active){opacity:.6}@media(max-width:430px){.turn-time-bar{width:100px}}

.result-banner{font-size:clamp(32px,8vw,52px)!important;color:#e3c080!important;font-weight:900!important;letter-spacing:.04em!important;line-height:1.3;min-height:44px}
.result-banner.result-win{color:#65cf88!important}
.result-banner.result-lose{color:#ee7777!important}
.result-banner.result-split{color:#f3efe8!important}

@media(max-width:600px){.online-active #online-main{display:flex!important;flex-direction:column;gap:5px;overflow-y:auto;height:100dvh}.online-active #online-main>header{flex:none;flex-wrap:wrap;height:auto;position:relative;z-index:30}.online-active #online-main>.current-game-banner{flex:none;position:static;min-height:34px}.online-active #online-play{flex:none;height:auto}.online-active .header-tools{flex-wrap:wrap}}

.opponent>.stack-cluster{grid-column:1/-1;justify-self:center;margin-inline:auto}

.saved-hand summary .record-outcome.record-win{color:#68c58b!important}.saved-hand summary .record-outcome.record-lose{color:#ed7b7b!important}.saved-hand summary .record-outcome.record-split{color:#f3efe8!important}.saved-hand summary .record-number,.saved-hand summary>span,.saved-hand p,.saved-hand li,#record-stats,#records-summary,.recent-record-stats{color:#f3efe8!important}
/* batch 37: records row = 日時 → ゲーム名 → 勝敗 → ±チップ, one line at 375px */
#saved-records .saved-hand summary{flex-wrap:nowrap!important;align-items:baseline;gap:6px}
#saved-records .saved-hand summary>span:first-child{flex:none;white-space:nowrap}
#saved-records .saved-hand summary .record-game{flex:1 1 auto;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;opacity:.85}
#saved-records .saved-hand summary .record-outcome,#saved-records .saved-hand summary .record-number{flex:none;white-space:nowrap}
