#historyModal.history-compact .history-card{width:min(1240px,calc(100vw - env(safe-area-inset-left,0px) - env(safe-area-inset-right,0px) - 12px))!important;height:min(820px,calc(100dvh - env(safe-area-inset-top,0px) - env(safe-area-inset-bottom,0px) - 12px))!important;max-height:calc(100dvh - 12px);padding:0!important;background:#07090b;display:flex!important;flex-direction:column!important;overflow:hidden!important;touch-action:pan-y}#historyModal.history-compact .history-topbar,.history-backup-card .history-topbar{position:relative!important;top:auto!important;align-items:center;gap:12px;padding:7px 10px;background:#0d1115;border-bottom:1px solid #61401e;box-shadow:none;flex-shrink:0}.history-heading{display:flex;align-items:baseline;gap:12px;min-width:0}#historyModal.history-compact .modal-title{font-size:20px;line-height:1.2;margin:0}#historyModal.history-compact #historySummary{font-size:12px;color:#b6bdc4;margin:0;font-weight:600}.history-header-actions{display:flex;gap:6px;align-items:center;margin-left:auto;flex-shrink:0}#historyModal.history-compact .history-header-actions button,.history-backup-card .floating-close{min-height:36px;min-width:0;padding:7px 10px!important;border-radius:7px!important;font-size:13px!important;letter-spacing:0!important;text-transform:none!important;line-height:1.15;background:#11171d!important;color:#f4e5d0!important;border:1px solid #614a32!important}#historyModal.history-compact #historyStatsToggle[aria-pressed=true]{border-color:#f0a83f!important;background:#33220d!important}#historyModal.history-compact .history-split{display:flex!important;flex:1 1 auto!important;min-height:0!important;padding:5px 9px 0;overflow:hidden!important;gap:0}#historyModal.history-compact .history-panel{display:flex!important;flex-direction:column!important;width:100%;height:auto!important;min-width:0;min-height:0;padding:0!important;overflow:hidden!important}#historyModal.history-compact .history-panel[hidden]{display:none!important}#historyModal.history-compact .history-section-title{position:static;margin:0 0 4px;padding:2px 1px;background:0 0;font-size:11px;color:#b9a483;letter-spacing:.08em}#historyModal.history-compact .history-list{flex:1 1 auto;min-height:0;overflow-y:auto;overflow-x:hidden;touch-action:pan-y;overscroll-behavior:contain;margin:0;gap:6px;padding:0 2px 4px 0}#historyModal.history-compact .history-pagination{flex:0 0 auto;margin:0;padding:4px 0;gap:6px;font-size:11px;color:#a9b0b8}#historyModal.history-compact .history-pagination button{padding:4px 10px;min-height:30px;background:#14181d;border-color:#51402d;font-size:12px}#historyModal.history-compact .round-group{flex:0 0 auto;padding:4px 9px;border-left-width:3px;border-radius:8px;background:#11161b}#historyModal.history-compact .round-header-line{display:flex!important;align-items:center!important;gap:9px;flex-wrap:wrap;margin:0;line-height:1.1;min-height:30px}#historyModal.history-compact .history-name{font-size:14px;font-weight:850;white-space:nowrap;width:auto!important;flex:0 0 auto!important}.history-date{font-size:11px;color:#abb3bc;white-space:nowrap}#historyModal.history-compact .round-history-actions{display:flex;align-items:center;gap:5px;margin-left:auto;flex-wrap:nowrap!important;grid-column:auto!important;grid-row:auto!important;justify-content:flex-end!important}#historyModal.history-compact .round-actions button,#historyModal.history-compact .round-history-actions button{min-height:30px;padding:4px 9px!important;margin:0!important;font-size:12px!important;line-height:1.15;border-radius:6px!important;background:#171e25!important;color:#e5dac7!important;border:1px solid #5d4b37!important}#historyModal.history-compact .round-results{gap:3px;margin:0}#historyModal.history-compact .round-result-row{display:grid;grid-template-columns:20px minmax(90px,1fr) auto minmax(130px,1.2fr) auto!important;align-items:center!important;gap:9px;padding:2px 0!important;min-height:29px;background:0 0;border:0;border-radius:0;font-size:13px}#historyModal.history-compact .solo-history-group .round-result-row{grid-template-columns:minmax(100px,1fr) auto minmax(140px,1.2fr) auto!important}#historyModal.history-compact .round-result-row>span,#historyModal.history-compact .round-result-row>strong{grid-column:auto!important;grid-row:auto!important}#historyModal.history-compact .solo-history-group .round-rank{display:none}#historyModal.history-compact .round-player{font-size:14px;color:#f1f2f4}#historyModal.history-compact .round-score{font-size:20px;font-weight:900;color:#ffc46a;line-height:1.1;font-variant-numeric:tabular-nums}#historyModal.history-compact .round-details{font-size:12px!important;color:#bbc3cc;line-height:1.2;white-space:normal;grid-column:auto;overflow:visible;text-overflow:clip}#historyModal.history-compact .round-actions{display:flex;gap:4px;align-items:center;justify-content:flex-end;flex-direction:row!important;width:auto!important;min-width:0!important}.history-round-details{margin:1px 0 0;color:#a8b2bd;font-size:11px}.history-round-details>summary{cursor:pointer;min-height:20px;line-height:20px;white-space:normal}.history-details-label{color:#eac28b;margin-left:12px}.history-round-extra{padding:3px 0 5px;border-top:1px solid #34383e;margin-top:3px}.history-round-extra p{font-size:12px;margin:4px 0;line-height:1.4}.history-finish-detail{font-size:11px;line-height:1.5;color:#aeb9c5}#historyModal.history-compact .history-save-status{flex-shrink:0;padding:0 10px}#historyModal.history-compact .history-save-status p{margin:4px 0;color:#ffc877}#historyModal.history-compact .history-save-status:has([hidden]):not(:has(:not([hidden]))){display:none}#historyModal.history-compact .stats-panel>.history-sub{margin:0 0 6px;font-size:12px}#historyModal.history-compact .stats-card{flex-shrink:0;background:#11161b}#historyModal.history-compact .stat-grid{margin-top:5px}.history-backup-card{width:min(760px,94vw);padding:0!important;background:#0a0e12;overflow:hidden;display:flex;flex-direction:column}.history-backup-card .modal-title{font-size:20px}.history-backup-body{padding:10px 14px;overflow-y:auto;touch-action:pan-y;color:#c5cbd2}.history-backup-body .history-sub{font-size:13px;line-height:1.5;color:#b7c0c9}.history-backup-body .history-transfer-actions button,.history-backup-body .history-transfer-actions select{background:#141a21;border-color:#665036}.history-backup-body .history-transfer-help{font-size:13px;line-height:1.5;padding:8px 0}.history-backup-actions{justify-content:space-between}@media(max-width:600px){#historyModal.history-compact .history-topbar{flex-wrap:wrap;gap:5px;padding:6px 8px}.history-heading{width:100%;gap:9px;justify-content:space-between}.history-header-actions{width:100%;margin:0}#historyModal.history-compact .history-header-actions button{flex:1;min-height:36px;font-size:12px!important;padding:5px 7px!important}#historyModal.history-compact .round-header-line{gap:6px}#historyModal.history-compact .round-history-actions{width:100%;justify-content:flex-end;margin:0}#historyModal.history-compact .round-result-row,#historyModal.history-compact .solo-history-group .round-result-row{grid-template-columns:20px minmax(70px,1fr) auto auto!important;gap:6px}#historyModal.history-compact .solo-history-group .round-result-row{grid-template-columns:minmax(80px,1fr) auto auto!important}#historyModal.history-compact .round-result-row .round-details{grid-row:2!important;grid-column:2/-1!important}#historyModal.history-compact .solo-history-group .round-details{grid-column:1/-1!important}#historyModal.history-compact .round-score{font-size:19px}}