#history{width:min(calc(100% - 24px),600px)}
.game-landscape-compact #history{width:min(calc(var(--game-view-w) - 28px),600px)}
#history p{margin:.4rem 0}
#history #history-matches{display:grid;gap:.55rem;margin:.75rem 0}
#history details{border:1px solid #d4bf8e55;border-radius:9px;padding:.55rem .65rem}
#history summary{cursor:pointer;color:var(--gold);font-weight:700}
#history details[open] summary{margin-bottom:.45rem}
#history table{width:100%;border-collapse:collapse;font-size:.9rem;line-height:1.3}
#history th,#history td{padding:.35rem .3rem;border-bottom:1px solid #d4bf8e35;text-align:right}
#history :is(th,td):nth-child(1),#history :is(th,td):nth-child(2){text-align:left}
#history thead th{color:var(--gold)}
#history .history-table{overflow:auto}
#history tfoot td{font-weight:700}
@media(max-width:380px){#history table{font-size:.79rem}}
#solo-progress-label{display:inline-flex;align-items:center;white-space:nowrap;font-size:.82em;color:#d9c8f3}
#match-final:not([hidden]){margin:12px 0;padding:10px;border:1px solid #d4bf8e77;border-radius:9px}
#match-final>strong{color:var(--gold)}
#match-final p{margin:.35rem 0}
#match-final .deltas{margin:.35rem 0 0}
#setup .field input{font:inherit;color:inherit;background:#233e31;border:1px solid var(--line);border-radius:8px;padding:8px 10px;max-width:10rem;min-height:41px}
#setup .field select{width:100%;min-height:41px}
#setup .setup-draw{display:flex;align-items:center;gap:.45rem}
#setup .setup-draw input{width:1.1rem;height:1.1rem}
#setup .setup-tools{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin-top:12px}
#setup .setup-tools .accent{margin:0}
#setup :is(p,small)[hidden]{display:none}
#result #next[hidden]{display:none}
#result .lobby-tools{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin-top:12px}
#result .lobby-tools .accent{margin:0}
