.menu-intro>#menuEscape{background:#ff9259;color:#111c2c;display:flex;flex-direction:column;align-items:flex-start;justify-content:center;gap:6px;min-height:88px;padding:14px 18px;border-color:#ffbc97;text-align:left}
#menuEscape strong{font-size:18px;letter-spacing:.5px}#menuEscape small{font-size:12px;line-height:1.4;font-weight:500;letter-spacing:.15px}
.menu-intro>#menuPlay{background:#243f62;color:#ddecff;min-height:40px;font-size:13px;letter-spacing:.6px}
.weekly-card{padding:20px 22px;margin-bottom:16px;border:1px solid #e9c65a66;border-radius:14px;background:linear-gradient(120deg,#30301ee8,#0d1c2cee);color:#f8e8bb}
.weekly-heading{display:flex;justify-content:space-between;align-items:center;gap:12px}.weekly-heading strong{font-size:14px;letter-spacing:1px}.weekly-heading span{font-size:12px;color:#c9bc96;white-space:nowrap}
.weekly-card p{font-size:14px;line-height:1.5;margin:10px 0;color:#e4e4d8}.weekly-card .weekly-meta{display:flex;justify-content:space-between;gap:8px;flex-wrap:wrap;font-size:12px;color:#e8ce85}.weekly-card>small{display:block;font-size:11px;color:#a6b6c5;margin-top:10px}
#escapeHUD[hidden],#escapeWorldMarker[hidden],#escaped[hidden]{display:none}
#escapeHUD{position:absolute;z-index:2;top:132px;left:50%;transform:translateX(-50%);min-width:220px;padding:10px 14px;background:#0d1e2de8;border:1px solid #f2cb6780;border-radius:10px;color:#fff1cf;pointer-events:none;box-shadow:0 5px 22px #0004;text-shadow:none}
.escape-heading{display:flex;justify-content:space-between;gap:16px;align-items:center;font-size:11px;letter-spacing:1.6px;color:#eed48e}.escape-heading strong{font-size:15px;letter-spacing:0}
.escape-instruments{display:flex;align-items:center;justify-content:space-between;gap:18px;margin-top:4px}#escapeTimer{font:700 28px/1.2 ui-monospace,monospace;font-variant-numeric:tabular-nums;letter-spacing:-1px;color:#fff}
.escape-direction{display:flex;align-items:center;gap:7px;white-space:nowrap}#escapeArrow{display:inline-block;font-size:24px;line-height:1;color:#ffdb72}#escapeDistance{font:600 14px ui-monospace,monospace}
#escapeNext{display:block;margin-top:4px;font-size:11px;letter-spacing:1.3px;color:#e7c971}.checkpoint-hit{box-shadow:0 0 22px #f9d36c99!important;border-color:#fff2aa!important}
#escapeWorldBounds{position:absolute;inset:max(16px,env(safe-area-inset-top)) max(16px,env(safe-area-inset-right)) max(16px,env(safe-area-inset-bottom)) max(16px,env(safe-area-inset-left));z-index:4;pointer-events:none}
#escapeWorldMarker{position:absolute;display:flex;align-items:center;justify-content:center;gap:7px;width:140px;height:40px;box-sizing:border-box;transform:translate(-50%,-50%);padding:5px;background:#172230f2;border:1px solid #ffe19c;border-radius:22px;color:#ffde82;pointer-events:none;box-shadow:0 0 18px #ffc34c50;text-shadow:none;white-space:nowrap}
#escapeWorldArrow{font:700 24px/1 Arial;display:inline-block;visibility:hidden;width:18px;text-align:center;flex-shrink:0}#escapeWorldMarker.directional #escapeWorldArrow{visibility:visible}#escapeWorldMarker.at-edge{border-width:2px;background:#172230}
#escapeWorldMarker strong{display:grid;place-items:center;width:28px;height:28px;border-radius:50%;background:#ffdb73;color:#132334;font-size:19px}#escapeWorldMarker span{font:700 13px ui-monospace,monospace}
.escape-running #healthPanel .chase-timer{display:none}.escape-running #cityMap{top:91px;width:142px}.escape-running #policeAlert{top:240px}.escape-running #toast{top:290px}
#escaped{position:fixed;inset:0;z-index:22;display:grid;place-items:center;padding:22px max(24px,env(safe-area-inset-right)) 22px max(24px,env(safe-area-inset-left));overflow:auto;background:radial-gradient(ellipse at 50% 18%,#4c65305c,transparent 65%),#06121bea;backdrop-filter:blur(6px);color:#f6edcf;text-align:center}
.escaped-content{width:min(560px,100%)}.escaped-eyebrow{font-size:12px;letter-spacing:3px;color:#d8c990}.escaped-badge{display:inline-block;margin:18px 0 4px;padding:8px 18px;border:1px solid #c5e7a778;border-radius:30px;font:700 14px ui-monospace,monospace;color:#c4f2b9}
#escapedTitle{font:900 clamp(55px,10vw,100px)/1 Impact,'Arial Black',sans-serif;letter-spacing:3px;margin:8px 0;color:#f9d775;transform:skew(-5deg);text-shadow:0 4px 35px #c7d87330}
#escapedRecord{font-size:12px;letter-spacing:2px;color:#bdedae;margin:14px 0 20px}.escaped-stats{display:grid;grid-template-columns:1.5fr 1fr 1.5fr;gap:12px;padding:20px 0;border-block:1px solid #c1dbb52e}
.escaped-stats span{display:block;font-size:11px;color:#a1b9bb}.escaped-stats strong{display:block;margin-top:8px;font:700 25px ui-monospace,monospace;font-variant-numeric:tabular-nums;color:#fff}
.escaped-content>p{font-size:12px;color:#abbab7}.escaped-content button{display:block;width:100%;min-height:46px;border:1px solid #ffe5a1;border-radius:7px;background:#f5d371;color:#14202a;font:700 14px Arial;margin-top:12px;padding:12px;cursor:pointer}.escaped-content #escapedMainMenu{background:transparent;border-color:#afc4bd55;color:#e2ece5}.escaped-content button:focus-visible{outline:3px solid #fff;outline-offset:3px}
.touch-ui #escapeHUD{top:114px;left:max(16px,env(safe-area-inset-left));transform:none;min-width:0;width:174px;padding:5px 6px;border-radius:7px}
.touch-ui .escape-heading{gap:6px;font-size:9px;letter-spacing:.6px}.touch-ui #escapeProgress{font-size:11px}
.touch-ui .escape-instruments{gap:6px;margin-top:2px}.touch-ui #escapeTimer{font-size:20px}.touch-ui .escape-direction{gap:4px}.touch-ui #escapeArrow{font-size:16px}.touch-ui #escapeDistance{font-size:11px}
.touch-ui #escapeNext{margin-top:2px;font-size:9px;letter-spacing:.6px}
.touch-ui #escapeWorldMarker{width:106px;height:30px;gap:4px;padding:3px;border-radius:15px;box-shadow:0 0 10px #ffc34c40}.touch-ui #escapeWorldMarker strong{width:20px;height:20px;font-size:12px}.touch-ui #escapeWorldMarker span{font-size:10px}.touch-ui #escapeWorldArrow{width:14px;font-size:19px}
.touch-ui .escape-running #policeAlert{top:84px}.touch-ui .escape-running #toast{top:226px}.touch-ui .escape-running #cityMap{width:110px}
@media(max-height:500px){.weekly-card{padding:12px 16px;margin-bottom:10px}.weekly-heading{gap:8px}.weekly-heading strong{font-size:12px}.weekly-heading span{font-size:11px}.weekly-card p{font-size:12px;margin:7px 0}.weekly-card .weekly-meta{font-size:11px}.weekly-card>small{font-size:10px;margin-top:7px}.menu-intro>#menuEscape{min-height:53px;gap:2px}#menuEscape strong{font-size:14px}#menuEscape small{font-size:11px}.escaped-badge{margin:10px 0 0;padding:5px 14px}#escapedTitle{font-size:62px;margin:5px 0}#escapedRecord{margin:8px 0 12px}.escaped-stats{padding:12px 0}.escaped-stats strong{font-size:23px}.escaped-content button{min-height:40px;padding:9px;margin-top:8px}.escaped-content>p{margin:9px 0}}
@media(max-height:380px){.touch-ui #escapeHUD{top:108px}.touch-ui .escape-running #cityMap{width:100px}.escaped-eyebrow{font-size:10px}.escaped-badge{margin-top:5px}#escapedTitle{font-size:51px}.escaped-stats{padding:9px 0}.escaped-content>p{margin:6px 0}.weekly-card p{margin:5px 0}}
@media(max-width:600px) and (min-height:501px){#escapeHUD{top:126px;left:16px;transform:none;min-width:190px}.touch-ui #escapeHUD{top:122px}.escape-running #cityMap{width:95px}.weekly-card{text-align:left}.escaped-stats strong{font-size:20px}}
.escaped-layout{display:grid;grid-template-columns:minmax(0,1.35fr) minmax(270px,1fr);gap:32px;align-items:center;width:min(100%,1000px)}
.escaped-layout .escaped-content{width:100%;min-width:0}.escaped-ranking{min-width:0;padding:22px;border:1px solid #d9c78145;border-radius:14px;background:#0c1e28c9;text-align:left}
.ranking-eyebrow{margin:0 0 8px;font-size:12px;letter-spacing:1.8px;color:#c9bf98}.escaped-ranking h2{margin:0;font-size:21px;letter-spacing:1px;color:#f9d775}
#escapedRankingSummary{font-size:14px;line-height:1.45;color:#c7d7d3;margin:12px 0}.ranking-scroll{max-height:340px;overflow:auto;overscroll-behavior:contain}
#escapedRankingTable{width:100%;border-collapse:collapse;table-layout:fixed}#escapedRankingTable[hidden]{display:none}#escapedRankingTable th{text-align:left;font-size:11px;font-weight:500;letter-spacing:.8px;color:#9ab1b5;padding:10px 7px;border-bottom:1px solid #b7c9ba44;position:sticky;top:0;background:#10232c}
#escapedRankingTable th:first-child{width:43px}#escapedRankingTable th:last-child{width:90px;text-align:right}#escapedRankingTable td{padding:12px 7px;border-bottom:1px solid #b7c9ba1a;font-size:14px;overflow-wrap:anywhere}#escapedRankingTable td:first-child{color:#d7c990}#escapedRankingTable td:last-child{text-align:right;white-space:nowrap;font:700 15px ui-monospace,monospace;font-variant-numeric:tabular-nums}
#escapedRankingTable .ranking-you{background:#d7ba4221;color:#ffe4a1}#escapedRankingTable .ranking-separated td{border-top:2px solid #d7ba4270}
#escapedRankingStatus{min-height:2.6em;margin:12px 0;font-size:12px;line-height:1.4;color:#b3c6c6}#escapedRankingRefresh{min-height:36px;border:1px solid #d1dcce55;border-radius:6px;padding:8px 12px;background:transparent;color:#eee9d5;font:600 13px Arial;cursor:pointer}#escapedRankingRefresh:disabled{opacity:.5;cursor:wait}#escapedRankingRefresh:focus-visible{outline:2px solid #ffe5a1;outline-offset:3px}
@media(max-height:500px){.escaped-layout{gap:20px}.escaped-ranking{padding:14px}.escaped-ranking h2{font-size:17px}.ranking-eyebrow{font-size:10px;margin-bottom:5px}#escapedRankingSummary{font-size:12px;margin:8px 0}.ranking-scroll{max-height:145px}#escapedRankingTable td{font-size:12px;padding:8px 5px}#escapedRankingTable td:last-child{font-size:13px}#escapedRankingTable th{font-size:10px;padding:7px 5px}#escapedRankingTable th:first-child{width:32px}#escapedRankingTable th:last-child{width:78px}#escapedRankingStatus{margin:8px 0;font-size:11px}}
@media(max-width:650px){#escaped{place-items:start center}.escaped-layout{grid-template-columns:minmax(0,1fr);gap:24px}.escaped-ranking{width:100%;box-sizing:border-box}.ranking-scroll{max-height:240px}}
