progress{appearance:none;width:100%;height:7px;border:0;border-radius:8px;overflow:hidden;background:#1c2945;accent-color:#8fa7ff}
progress::-webkit-progress-bar{background:#1c2945;border-radius:8px}progress::-webkit-progress-value{background:linear-gradient(90deg,#536ff1,#8dccff);border-radius:8px}progress::-moz-progress-bar{background:#8fa7ff}
.player-loading{padding:22px 16px;overflow:auto;justify-content:flex-start}.player-loading>.loader{margin-top:auto;flex-shrink:0}.player-loading h2{margin:13px 0 7px}.player-loading>p{max-width:460px;text-align:center;line-height:1.6}
.runtime-progress{width:min(380px,90%);text-align:left;margin:8px 0 15px}.runtime-progress>div,.storage-progress-title{display:flex;justify-content:space-between;gap:16px;font-size:11px;color:#94a6cc;margin-bottom:7px}.runtime-progress strong,.storage-progress-title strong{color:#d5e3ff;font-variant-numeric:tabular-nums}.runtime-progress small{display:block;font-size:10px;line-height:1.6;color:#7e91b6;margin-top:7px}
.loading-save-callout{pointer-events:auto;max-width:460px;text-align:center;margin:0 auto auto;padding:12px;border-top:1px solid #8099d124}.loading-save-callout p{margin:0 0 9px;line-height:1.6;font-size:11px;color:#a5b6d8}.loading-save-callout small{display:block;color:#7184a8;font-size:9px;line-height:1.6;margin-top:9px}.loading-save-callout .button{font-size:10px;padding:9px 13px}.loading-save-callout progress{width:80%;margin:12px 10px 0 0}.loading-save-callout strong{font-size:10px;color:#c1d3fa}
.game-storage{border-top:1px solid #819bce20;margin-top:14px;color:#93a6cb;font-size:11px;flex-shrink:0}.game-storage>summary{cursor:pointer;padding:13px 2px;color:#c2d0ed;list-style-position:inside}.game-storage>summary>span{float:right;color:#7c90b8;font-size:10px}.storage-grid{display:grid;grid-template-columns:1fr 1fr;gap:24px;padding:9px 2px}.storage-grid>section{min-width:0}.storage-grid h2{font-size:14px;font-weight:550;color:#d2def7;margin:0 0 9px}.storage-grid p{font-size:11px;line-height:1.7}.storage-grid small{font-size:10px;color:#7b8eaf;line-height:1.7}.storage-actions{display:flex;flex-wrap:wrap;align-items:center;gap:12px;margin:12px 0}.storage-actions .button{font-size:10px;padding:10px 12px}.storage-actions .text-button{font-size:10px}.storage-actions button:disabled{opacity:.45}.storage-warning{font-size:10px!important;color:#b4a37e!important;line-height:1.7;padding:10px 0}.storage-progress-title{margin-top:15px}.storage-grid #memoryCardStatus{color:#87cdb0}.storage-grid #memoryCardStatus.storage-warning{color:#e2b883}
.start-notice{text-align:center;max-width:460px}.start-notice h2{max-width:100%;font-size:25px}.start-notice-icon{width:55px;height:55px;color:#93adff;margin:5px 0 18px}.start-notice .button{min-width:110px;margin-top:12px}.player-actions{flex-wrap:wrap}
.ps2-map{position:relative;aspect-ratio:620/300;width:100%;margin:15px auto 20px;max-width:620px}.ps2-map>svg{width:100%;height:100%;stroke:#6580be;fill:#18243d;stroke-width:2}.ps2-map svg text{font:8px system-ui;fill:#7d94c2;stroke:none;letter-spacing:3px}.ps2-map .map-button{position:absolute;transform:translate(-50%,-50%);display:grid;place-items:center;gap:2px;min-width:35px;min-height:32px;padding:4px 6px;border:1px solid #8da6dd65;border-radius:7px;color:#c6d4f1;background:#10192dea;line-height:1.1;outline-offset:2px}.map-button b{font-size:10px;font-weight:600}.map-button kbd{font-size:8px;color:#91a9d8}.map-button.map-cross{color:#94b9ff}.map-button.map-circle{color:#f39ba7}.map-button.map-square{color:#e6abd5}.map-button.map-triangle{color:#8dddd0}
.binding-grid{display:grid;grid-template-columns:1fr 1fr;gap:6px}.binding-grid button{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:9px 10px;border:1px solid #7d94c327;border-radius:6px;background:#111c30;color:#b8c8e6;text-align:left;font-size:10px;min-width:0}.binding-grid kbd{font-size:10px;color:#c7d6ff;padding:4px 6px;background:#708bd41a;border-radius:4px;flex-shrink:0}.binding-grid .binding-listening,.ps2-map .binding-listening{border-color:#aec1ff;background:#334876;color:white}.binding-status{min-height:40px;margin:10px 0;color:#c0d2ff!important}.binding-footer{display:flex;justify-content:space-between;gap:12px;margin-top:20px;position:sticky;bottom:-38px;padding:12px 0;background:#0d1526}.info-dialog{max-height:90dvh;overflow:auto}
@media(max-width:600px){.storage-grid{grid-template-columns:1fr;gap:18px}.game-storage>summary>span{font-size:9px}.binding-grid{grid-template-columns:1fr}.ps2-map .map-button{min-width:25px;min-height:25px;padding:3px}.map-button b{font-size:8px}.map-button kbd{font-size:6px}.map-button.map-start,.map-button.map-select{padding:3px}.binding-footer{bottom:-30px}.runtime-progress{margin-bottom:8px}.player-loading h2{font-size:17px}.loading-save-callout small{font-size:8px}}
@media(orientation:landscape) and (max-height:600px){.player-loading{padding:12px}.player-loading>.loader{display:none}.game-storage{margin-top:4px}.game-storage>summary{padding:7px 2px;font-size:10px}.player-screen:fullscreen .game-storage[open]{max-height:40dvh;overflow:auto}.loading-save-callout{padding:8px}.runtime-progress{margin-top:4px}.player-loading h2{margin-top:0}}

/* The opening is only the supplied video and a quiet skip button. */
.intro-bottom{left:auto;right:22px;bottom:20px}.intro-bottom #skipIntro{border:0;background:transparent;color:#c4c8d5;font-size:11px;font-weight:400;padding:9px 0 9px 12px;opacity:.65}.intro-bottom #skipIntro:hover,.intro-bottom #skipIntro:focus-visible{color:white;opacity:1}.intro-screen video{cursor:pointer}
.player-loading #retryPlayer{pointer-events:auto;flex-shrink:0}
.player-loading.is-error{pointer-events:auto}.player-loading.is-error>h2{margin-top:auto;flex-shrink:0}.player-loading.is-error>p{flex-shrink:0}.player-loading.is-error .runtime-progress,.player-loading.is-error .loading-save-callout{display:none}.player-loading.is-error #retryPlayer{margin:14px 0 auto;min-height:44px;max-width:100%;white-space:normal}
.player-loading #createMemoryCardNow,.player-loading #selectMemoryCardNow{pointer-events:auto;flex-shrink:0;min-height:44px;max-width:100%;white-space:normal}.player-loading #createMemoryCardNow{margin:14px 0 auto}.player-loading #selectMemoryCardNow{margin:0 0 auto}.player-loading.is-error:has(#selectMemoryCardNow:not([hidden])) #createMemoryCardNow{margin-bottom:8px}

.memory-card-list{display:grid;gap:16px;margin:20px 0}.memory-card-entry{border:1px solid #819bce30;border-radius:12px;padding:16px}.memory-card-entry>strong,.memory-card-entry>small{display:block}.memory-card-entry>small{color:#8f9fbe;margin-top:5px}.memory-card-entry ul,.memory-card-saves{padding-left:20px;line-height:1.8}.memory-card-entry li small{color:#8f9fbe}#createMemoryCardForm{display:grid;gap:12px;margin-top:24px}#createMemoryCardForm label{display:grid;gap:7px}#createMemoryCardForm input,#createMemoryCardForm select{background:#111a2c;border:1px solid #819bce45;border-radius:8px;color:#e6edff;padding:12px;font:inherit}#memoryCardFormStatus{color:#edbd8c}

.memory-card-alert{flex-shrink:0;padding:9px 12px;border:1px solid #e5b36c60;background:#281e12;color:#f1d7b0;border-radius:8px;font-size:11px;line-height:1.5}.memory-card-alert .text-button{margin-left:12px;font-size:11px;color:#fff}
.memory-card-edit form,.memory-card-edit .card-name-label{display:grid;gap:12px}.memory-card-edit input[name="name"]{background:#111a2c;border:1px solid #819bce45;border-radius:8px;color:#e6edff;padding:12px;font:inherit}.memory-card-edit .storage-actions button{min-height:44px}.memory-card-entry .card-delete-button{color:#eda6aa}.memory-card-edit .card-delete-button{background:#51272f;border:1px solid #b76473;color:#ffe5e8}.memory-card-edit .card-local-consent{margin:12px 0}
.memory-card-launcher{flex-shrink:0;margin-top:14px}.memory-card-launcher .button{font-size:11px;padding:10px 16px}.memory-card-launcher+.game-storage{margin-top:8px}
.memory-card-wizard{max-width:560px}.card-wizard-progress{margin:16px 0 24px}.card-wizard-progress>div{display:flex;justify-content:space-between;gap:12px;margin-bottom:8px;font-size:12px;color:#9baed0}.card-wizard-progress strong{font-variant-numeric:tabular-nums;color:#a6d8bd}.card-wizard-progress progress{width:100%;accent-color:#7cbdad}.card-storage-options{display:grid;gap:12px;border:0;padding:0;margin:12px 0}.card-storage-options legend{font-size:12px;color:#a3b4d1;margin-bottom:10px}.card-storage-options label{display:flex!important;gap:12px!important;align-items:flex-start;padding:14px;border:1px solid #819bce40;border-radius:10px;background:#111a2c}.card-storage-options input,.card-local-consent input{width:18px;height:18px;flex-shrink:0;margin:2px 0;accent-color:#83a8ff}.card-storage-options label:has(input:checked){border-color:#83a8ff}.card-storage-options strong,.card-storage-options small{display:block}.card-storage-options small{color:#9baed0;line-height:1.7;margin-top:5px}.card-local-consent{display:flex!important;align-items:flex-start;gap:10px!important;font-size:12px;line-height:1.7}.card-review{display:grid;gap:14px}.card-review>div{display:grid;grid-template-columns:110px minmax(0,1fr);gap:12px}.card-review dt{color:#94a7c8}.card-review dd{margin:0;overflow-wrap:anywhere;color:#e1e9fb}.card-complete-checks{padding-left:20px;line-height:1.9;color:#a6d8bd}#memoryCardFormStatus{min-height:1.5em}.memory-card-wizard .storage-actions{margin-bottom:0}
