/* Historical records belong to the site and never appear over a running game. */
.retired-records{margin:22px 0 25px;border:1px solid #8df0bf4d;border-radius:14px;background:#14203c;padding:0 16px;color:#8df0bf}
.retired-records>summary{min-height:52px;padding:14px 0;cursor:pointer;font-weight:700;line-height:1.6}
.retired-records>summary span{font-size:12px;color:#8df0bf;margin-left:8px;white-space:nowrap}
.retired-records>p{font-size:13px;line-height:1.9;color:#8df0bf;margin:0 0 17px}
.retired-record-list{display:grid;gap:14px;padding-bottom:17px}
.retired-record{padding:16px;border:1px solid #ffe47724;border-radius:11px;background:#1b2c50}
.retired-record h3{font-size:16px;line-height:1.6;margin:0;color:#fff5d2}
.retired-favorite{display:flex;align-items:center;gap:5px;color:#ffe477;font-size:12px;margin-top:6px}
.retired-favorite .ui-icon{width:18px;height:18px;object-fit:contain}
.retired-record-summary{font-size:13px;line-height:1.8;color:#8df0bf;margin:9px 0}
.retired-stage-records{margin:9px 0 12px}
.retired-stage-records>summary{min-height:44px;display:list-item;align-content:center;cursor:pointer;font-size:13px;color:#ffe477;line-height:1.8;padding:10px 0}
.retired-stage-records ol{list-style:none;padding:0;margin:0;display:grid;gap:7px}
.retired-stage-records li{display:grid;grid-template-columns:auto 1fr auto;gap:9px;align-items:center;padding:8px 10px;background:#14203c70;border-radius:7px;font-size:12px}
.retired-stage-records li>span:nth-child(2){color:#ffb73f;letter-spacing:2px;text-align:center}
.retired-stage-records li strong{font-variant-numeric:tabular-nums;color:#fff5d2;font-size:13px}
.retired-record .small-button{min-height:44px;padding:10px 16px;text-align:center;display:inline-flex;align-items:center;justify-content:center;max-width:100%;white-space:normal;line-height:1.7;font-size:12px}
.retired-records summary:focus-visible,.retired-game :focus-visible{outline:3px solid #ffb73f;outline-offset:4px;border-radius:5px}
body.retired-view #stage-menu{display:none}
.retired-game{max-width:980px;margin:36px auto 60px;display:grid;grid-template-columns:minmax(0,.95fr) minmax(0,1.05fr);gap:34px;align-items:center;padding:32px;border:1px solid #ffe47735;border-radius:22px;background:linear-gradient(135deg,#1b2c50e8,#14203cf5);box-shadow:0 18px 70px #0e173140}
.retired-game-art{width:100%;aspect-ratio:1.6;object-fit:cover;border:1px solid #ffe47755;border-radius:15px;box-shadow:0 12px 30px #0e173155}
.retired-game-copy{min-width:0}
.retired-game h1{font-size:clamp(23px,3.6vw,32px);line-height:1.6;letter-spacing:-.5px;margin:8px 0 17px;color:#fff5d2}
.retired-game-copy>p{font-size:15px;line-height:1.95;margin:12px 0;color:#8df0bf;overflow-wrap:anywhere}
.retired-game-copy .retired-game-replacement{color:#ffe477}
.retired-game-replacement strong{font-weight:750;color:#ffe477}
.retired-game-actions{display:grid;gap:10px;margin-top:22px}
.retired-game-actions .button{width:100%;min-height:50px;line-height:1.6;padding:12px 18px;white-space:normal;text-align:center}
.retired-game-history{margin-top:15px;min-height:44px;padding:10px 18px;line-height:1.7;font-size:13px}
@media(max-width:760px){.retired-game{grid-template-columns:minmax(0,1fr);gap:23px;margin:18px auto 34px;padding:23px;max-width:530px}.retired-game-art{max-height:270px}.retired-game h1{font-size:25px}.retired-game-copy>p{font-size:14px}}
@media(max-width:420px){.retired-records{padding:0 12px}.retired-record{padding:12px}.retired-stage-records li{gap:5px;padding:8px;font-size:11px}.retired-stage-records li strong{font-size:12px}.retired-game{padding:18px}.retired-game h1{font-size:23px}}
