.persistence-dialog{width:min(720px,calc(100% - 24px));max-height:calc(100dvh - 24px);overflow:auto;overscroll-behavior:contain}
.persistence-dialog p{line-height:1.5}.persistence-dialog h2{padding-right:24px}
.save-actions,.highscore-tabs{display:flex;gap:8px;flex-wrap:wrap;margin:16px 0}
.save-actions .button{flex:1;min-width:120px}.highscore-tabs[hidden]{display:none}
#migrate-save-dialog .button,#migrate-save-dialog .dialog-close{min-height:44px;min-width:44px}
.highscore-tabs button{min-height:44px}.highscore-tabs [aria-pressed=true]{background:#e6ba80;color:#241e2c;border-color:#e6ba80}
.highscore-table{border-collapse:collapse;width:100%;font-variant-numeric:tabular-nums}
.highscore-table caption{text-align:left;font-weight:700;padding:8px 0}.highscore-table th,.highscore-table td{text-align:right;padding:12px 8px;border-bottom:1px solid #8c77834d}
.highscore-table th:first-child,.highscore-table td:first-child{text-align:left}.highscore-table th{font-size:12px}.highscore-table td:first-child{overflow-wrap:anywhere;max-width:220px}
.highscore-table small{display:block;font-size:11px;font-weight:normal;opacity:.75;margin-top:4px}
#highscore-status,#save-error{min-height:1.5em;font-size:13px}#save-error{color:#a33731}#load-run{margin-top:8px}
#saved-slots{display:grid;gap:8px}#save-status{max-width:330px;white-space:normal}#result-highscores{font-size:12px}
.shop-footer .supplies{flex-wrap:wrap}#save-quit{white-space:nowrap}
.game-over #result-highscores{visibility:visible}
@media(max-width:600px){
 .header #highscores,.header #help{font-size:10px;padding:6px;white-space:nowrap}.header nav{gap:3px}.header .brand{font-size:15px}
 .persistence-dialog{padding:16px}.highscore-table th,.highscore-table td{padding:10px 4px;font-size:11px}.highscore-table td:first-child{max-width:120px}.highscore-tabs{gap:5px}.highscore-tabs button{font-size:11px;padding:8px}
 #save-status{font-size:9px;max-width:200px}#save-quit{font-size:10px;padding:7px}
}
