.home-easy-mode{position:absolute;right:2%;bottom:2%;z-index:2;display:flex;align-items:center;justify-content:center;gap:.5em;width:clamp(90px,13.5vw,180px);width:clamp(90px,13.5cqw,180px);min-height:clamp(32px,4.8vw,64px);min-height:clamp(32px,4.8cqw,64px);margin:0;padding:.45em .6em;border:2px solid #afc0c8;border-radius:0;background:#14243fdb;box-shadow:3px 3px #071321;color:#fff5d4;font-size:clamp(9px,1.5vw,20px);font-size:clamp(9px,1.5cqw,20px);font-weight:700;line-height:1.4;white-space:nowrap;letter-spacing:.05em;text-shadow:1px 1px #14243f;touch-action:manipulation}.home-easy-mode:hover{background:#14243fa6;border-color:#fff5d480}.home-easy-mode:focus-visible{outline:2px solid #fff2ac;outline-offset:2px}.easy-mode-track{display:block;position:relative;flex:none;width:2.2em;height:1.2em;border:2px solid #afc0c8;background:#30455c;box-shadow:1px 1px #122238}.easy-mode-track:after{content:"";position:absolute;top:1px;left:1px;width:calc(1.2em - 6px);height:calc(1.2em - 6px);background:#d4dfdf}.home-easy-mode[aria-checked=true] .easy-mode-track{border-color:#fff0a2;background:#668a53}.home-easy-mode[aria-checked=true] .easy-mode-track:after{left:auto;right:1px;background:#fff0a2}@media(max-width:600px){.home-easy-mode{bottom:1%;min-height:clamp(24px,6vw,32px);min-height:clamp(24px,6cqw,32px);padding:.2em .4em;gap:.35em}}.save-slot-dialog,.save-slot-dialog *{box-sizing:border-box}.save-slot-dialog{position:fixed;inset:auto;left:calc(var(--save-left,0px) + var(--save-width,100vw)/2);top:calc(var(--save-top,0px) + var(--save-height,100vh)/2);top:calc(var(--save-top,0px) + var(--save-height,100svh)/2);transform:translate(-50%,-50%);margin:0;padding:0;width:min(360px,calc(var(--save-width,100vw)*.82));height:min(190px,calc(var(--save-height,100vh)*.82));height:min(190px,calc(var(--save-height,100svh)*.82));max-width:none;max-height:none;overflow:hidden;border:3px solid #f9e59d;border-radius:0;background:#122238;color:#fff6d3;box-shadow:5px 5px #071321,inset 0 0 0 3px #35485b;font:clamp(11px,calc(var(--save-width,100vw)*.013),14px)/1.45 "SimHei","Microsoft YaHei",sans-serif;color-scheme:dark}.save-slot-dialog[open]{display:grid;grid-template-rows:auto minmax(0,1fr) auto}.save-slot-dialog::backdrop{background:#071423b8}.save-slot-heading{display:flex;align-items:center;justify-content:space-between;gap:.7em;padding:.4em .8em;border-bottom:2px solid #53616d;background:#1e334b}.save-slot-heading h2{margin:0;font-size:1.2em;font-weight:900;letter-spacing:.1em;text-shadow:2px 2px #071321}.save-slot-back,.save-slot-confirm-delete{flex-shrink:0;min-height:28px;padding:.1em .7em;border:2px solid #84929b;border-radius:0;background:#263f59;color:#fff6d3;font:inherit;cursor:pointer;touch-action:manipulation}.save-slot-back:hover{border-color:#fff0aa;background:#354e68}.save-slot-cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));grid-auto-rows:minmax(min-content,1fr);gap:.5em;min-width:0;min-height:0;padding:.6em;overflow:auto;overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:#8e9fa6 #14263b}.save-slot-entry{position:relative;min-width:0;min-height:0}.save-slot-card{display:flex;position:relative;flex-direction:column;align-items:stretch;gap:.35em;width:100%;height:100%;min-width:0;min-height:105px;padding:.5em .45em;border:2px solid #667c8d;border-radius:0;background:linear-gradient(135deg,#2d4660,#1e3148);color:#f3eed8;text-align:left;font:inherit;cursor:pointer;touch-action:manipulation;box-shadow:inset 0 2px #48627b,2px 2px #071321}.save-slot-card[data-occupied=false]{border-style:dashed;background:#172d42}.save-slot-card[data-current=true]{border-color:#d9c57f}.save-slot-card:hover{border-color:#ffec9d;background:#344b62}.save-slot-card-heading{display:flex;align-items:center;min-height:21px;gap:.3em;padding-bottom:.3em;border-bottom:2px solid #536b7e;white-space:nowrap}.save-slot-card[data-occupied=true] .save-slot-card-heading{padding-right:20px}.save-slot-number{font-size:1em;font-weight:900;letter-spacing:0}.save-slot-name{display:block;margin:auto 0;color:#fff0aa;font-size:1em;line-height:1.3;font-weight:900;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.save-slot-detail{display:block;color:#e0e8e9;font-size:.82em;line-height:1.5;white-space:pre-line;overflow-wrap:anywhere}.save-slot-delete{position:absolute;top:4px;right:3px;display:grid;place-items:center;width:23px;height:25px;padding:2px;border:0;border-radius:0;background:transparent;color:#d8b1a5;cursor:pointer;touch-action:manipulation}.save-slot-delete svg{display:block;width:18px;height:18px;pointer-events:none}.save-slot-delete:hover{background:#713c46;color:#ffe0d4}.save-slot-confirmation{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:1em;min-height:0;padding:.7em .8em;overflow:auto}.save-slot-confirmation p{margin:0;font-size:.95em;text-align:center}.save-slot-confirm-actions{display:flex;justify-content:center;gap:1em}.save-slot-confirm-actions button{min-width:62px;min-height:30px}.save-slot-confirm-delete{background:#773e48;border-color:#bc7a78;color:#ffe7db}.save-slot-confirm-delete:hover{background:#934a52;border-color:#ffd2b9}.save-slot-card:disabled,.save-slot-back:disabled,.save-slot-delete:disabled,.save-slot-confirm-delete:disabled{cursor:default;opacity:.55;transform:none}.save-slot-card:focus-visible,.save-slot-back:focus-visible,.save-slot-delete:focus-visible,.save-slot-confirm-delete:focus-visible{outline:2px solid #fff2ac;outline-offset:2px}.save-slot-error{margin:0;padding:.35em .8em;border-top:1px solid #8a6d65;background:#3d2d34;color:#ffd6be;font-size:.8em;line-height:1.4;overflow-wrap:anywhere}.save-slot-dialog [hidden]{display:none!important}.save-slot-dialog[data-compact=true] .save-slot-heading{padding:.3em .65em}.save-slot-dialog[data-compact=true] .save-slot-cards{gap:.45em;padding:.55em}.save-slot-dialog[data-compact=true] .save-slot-card{padding:.45em .35em}.save-slot-dialog[data-short=true] .save-slot-card{gap:.25em;min-height:98px}.save-slot-dialog[data-short=true] .save-slot-error{padding:.2em .75em}.save-notice{position:absolute;z-index:45;left:15%;right:15%;top:7%;margin:0;padding:.5em .8em;background:#172c42;color:#ffd278;border:2px solid #d99b45;text-align:center;font-size:clamp(9px,1.1vw,14px);font-size:clamp(9px,1.1cqw,14px)}.save-notice[hidden]{display:none}.save-slot-dialog+.backdrop{background:#071423b8}
