:root{color-scheme:dark;--rim:#515953;--mint:#9fd8c2;--gold:#f4c780;--dim:#b3b8ae;--ink:#f2ede0;--dark:#131b20;--mono:"IBM Plex Mono",ui-monospace,SFMono-Regular,Consolas,monospace;--ui:"Barlow","Noto Sans SC","PingFang SC","Microsoft YaHei",system-ui,sans-serif;font:16px/1.4 var(--ui);background:var(--dark);color:var(--ink)}
*{box-sizing:border-box}body{margin:0;min-height:100vh;min-height:100svh;display:grid;grid-template-rows:58px minmax(480px,1fr) 66px;height:100vh;height:100svh}a{color:inherit;text-decoration:none}button,summary{font:inherit}a,button,summary{-webkit-tap-highlight-color:transparent}button,summary{cursor:pointer}summary{list-style:none}summary::-webkit-details-marker{display:none}:focus-visible{outline:2px solid #ffe6ae;outline-offset:3px}.sr,.jump:not(:focus){position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}.jump:focus{position:fixed;top:4px;left:10px;z-index:20;background:#122e2c;padding:8px}
.hud-top,.hud-bottom{position:relative;z-index:6;display:flex;align-items:center;background:#151c20;border-color:#434b47}.hud-top{padding:0 clamp(16px,3.2vw,58px);gap:24px;border-bottom:1px solid #62665a}.wordmark,.season-chip,.profile summary,.hud-person{display:inline-flex;align-items:center}.wordmark{gap:10px;line-height:1}.wordmark b{font-family:var(--ui);font-size:23px;letter-spacing:-1.2px;color:#eee9d9}.wordmark b span{color:var(--gold)}.insignia{width:28px;height:26px;background:var(--gold);clip-path:polygon(0 18%,54% 18%,65% 0,100% 0,65% 61%,34% 61%,45% 43%,0 43%,0 18%,0 75%,32% 75%,43% 57%,69% 57%,45% 100%,0 100%)}.header-separator{height:19px;border-left:1px solid #525853}.season-chip{font-size:.79rem;gap:6px;letter-spacing:.04em;color:#c5c8bf}.season-chip i,.chapter i{display:block;width:5px;height:5px;background:var(--gold)}.season-chip b{font:600 .85rem var(--mono);color:#f2dbc0}.hud-person{margin-left:auto;gap:17px;position:relative}.profile summary{gap:8px;font-size:.84rem;font-weight:620}.profile img{border:1px solid #766b55;background:#353130}.locales{border-left:1px solid #505550;padding-left:17px;font-size:.8rem}.locales summary{padding:9px 4px}.locales summary:after{content:'';display:inline-block;width:5px;height:5px;margin:0 2px 3px 8px;border:solid #bfbfab;border-width:0 1px 1px 0;transform:rotate(45deg)}.locales nav,.identity-screen{position:absolute;top:calc(100% + 7px);right:0;background:#182026;border:1px solid #7c7b65;box-shadow:4px 5px 0 #12181785;padding:8px;z-index:8}.locales nav{display:grid;min-width:120px}.locales nav a{padding:8px 10px}.locales [aria-current=true]{color:var(--gold)}.identity-screen{right:5rem;width:min(310px,84vw);padding:18px}.identity-screen blockquote{margin:12px 0;color:#e0d7c7}.identity-screen a{color:var(--mint);font: .8rem var(--mono)}
.worldscreen{position:relative;isolation:isolate;min-height:0;overflow:hidden;background:#26373e}.map-window{position:absolute;inset:0}.terrain{filter:saturate(.95) contrast(1.03)}.relief,.tint{position:absolute;inset:0;pointer-events:none}.relief{background:linear-gradient(0deg,#15202316,transparent 50%)}.tint{z-index:1;background:linear-gradient(105deg,#0b141ced,rgba(11,20,27,.76) 6%,transparent 36%) left top/100% 46% no-repeat,linear-gradient(0deg,#0e171d75,transparent 26%),linear-gradient(90deg,#11191d26,transparent 22%,transparent 88%,#1018203b)}.world-heading,.compass,.camera,.map-hint,.dossiers{position:absolute;z-index:2}.world-heading{pointer-events:none;top:clamp(22px,4vh,51px);left:clamp(18px,3.5vw,66px);color:#f6efdd;text-shadow:0 2px 12px #101a23,0 1px 3px #0f161b}.locator{display:flex;align-items:center;font:600 .69rem var(--mono);letter-spacing:.2em;color:#d3c8a8}.locator>span:first-child{width:23px;height:2px;background:var(--gold);margin-right:10px}.locator .tight{margin-left:.15em}.world-heading h1{font-family:"Archivo Black","Source Han Sans SC","Noto Sans CJK SC","Microsoft YaHei",system-ui,sans-serif;font-weight:950;font-size:clamp(45px,5.7vw,92px);letter-spacing:.04em;line-height:1.13;margin:.12em 0 .18em}.chapter{display:flex;align-items:center;gap:9px;font:600 .83rem var(--mono);letter-spacing:.11em;color:#e6d8b9}.chapter b{color:#bb9c69}.chapter i{width:12px;height:12px;background:transparent;border:1px solid #e9bd75;box-shadow:inset 0 0 0 3px #222c2f;transform:rotate(45deg);background:var(--gold)}
.compass{right:clamp(19px,3.5vw,70px);top:20px;display:grid;justify-items:center;gap:3px;font:600 .75rem var(--mono);color:#f7db99;text-shadow:0 1px 5px #000;pointer-events:none}.compass i{width:18px;height:37px;clip-path:polygon(50% 0,100% 100%,50% 77%,0 100%);background:linear-gradient(90deg,#e7c994 50%,#77857e 50%);filter:drop-shadow(0 1px 2px #000)}.compass b{width:35px;border-bottom:1px solid #c4b79577}
.pin{z-index:1;min-width:44px;min-height:44px;transform:translate(-50%,-100%);display:flex;flex-direction:column;align-items:center;justify-content:flex-end;width:max-content;filter:drop-shadow(0 2px 2px #141a1d);color:#f9eacf}.pin i{display:grid;place-items:center;width:31px;height:29px;background:#222e32;border:1px solid #dec391;box-shadow:inset 0 0 0 2px #3b423a;color:#f1d49c;transition:transform .18s}.pin span{padding:2px 9px 3px;font-size:clamp(.72rem,.83vw,.87rem);font-weight:700;background:#19242bf0;border:1px solid #a89671;white-space:nowrap;letter-spacing:.04em}.pin:after{content:'';width:5px;height:8px;background:#e1c99d;clip-path:polygon(0 0,100% 0,50% 100%)}.pin[aria-current=location],.pin:hover,.pin:focus-visible{z-index:3;color:#1c2926}.pin[aria-current=location] i,.pin:hover i{background:#35423b;border-color:#ffe099;color:#ffe099}.pin[aria-current=location] span,.pin:hover span{color:#241e19;background:#f4ce88;border-color:#ffe7af}.pin-market i{background:#493624;color:#ffcf84}.pin:focus-visible{outline-offset:0}
.world-sign{z-index:2;position:absolute;left:77%;top:73%;transform:translate(-50%,-94%) skewY(-4deg);display:grid;text-align:center;min-width:87px;padding:4px 8px 6px;background:repeating-linear-gradient(0deg,#302c25 0 2px,#353127 2px 4px);border:2px solid #c99d63;border-top:3px solid #eed095;box-shadow:inset 0 0 0 2px #413c31,3px 3px 0 #1d282b,0 1px 13px #ac671629;color:#ffdb93}.world-sign span{font:600 .59rem var(--mono);letter-spacing:.16em;color:#e0be8d}.world-sign strong{font-size:.91rem;letter-spacing:.08em}.world-sign:after,.world-sign:before{content:'';position:absolute;top:100%;height:12px;width:3px;background:#54483b;box-shadow:1px 0 #a99372}.world-sign:before{left:18%}.world-sign:after{right:18%}.world-sign:hover,.world-sign:focus-visible{border-color:#ffedb7;filter:brightness(1.19)}
.camera{right:clamp(13px,2.4vw,45px);top:44%;display:grid;justify-items:stretch;width:39px;text-align:center;background:#172126ec;border:1px solid #8d8d76;color:#c9ccba;box-shadow:2px 3px 0 #1a22246b}.camera button{border:0;background:transparent;color:#ecdfbd;height:34px;line-height:1;font-size:1.25rem}.camera button:hover:not(:disabled){background:#3b433d}.camera span{font:.54rem var(--mono);letter-spacing:.03em}.camera button:last-child{border-top:1px solid #6a7060;display:grid;place-content:center}.camera i{width:10px;height:10px;border:1px solid currentColor;outline:1px dashed currentColor;outline-offset:2px}
.dossiers{left:clamp(18px,3.5vw,66px);bottom:clamp(17px,3vh,38px);width:min(340px,39vw);border:1px solid #7d8172;background:#172128f5;box-shadow:4px 5px 0 #0e171b77}.dossiers:before{content:'';height:3px;width:55px;background:#e9ba75;position:absolute;left:-1px;top:-2px}.dossier{padding:14px 18px 15px}.file-title{display:flex;align-items:center;gap:11px}.file-glyph{display:grid;place-items:center;background:#323d39;border:1px solid #737768;width:36px;height:36px;color:#dfc291}.meta{font:550 .65rem var(--mono);letter-spacing:.15em;color:#b1bcae}.dossier h2{line-height:1.16;margin:2px 0 0;font-size:1.32rem;letter-spacing:.025em}.dossier p{margin:8px 0 10px;color:#d2d2c5;font-size:.85rem;line-height:1.55}.file-links{display:flex;flex-wrap:wrap;gap:6px 10px;align-items:center;max-height:clamp(66px,14vh,135px);overflow:auto}.file-links a{font-weight:630;font-size:.78rem;min-height:31px;display:inline-flex;align-items:center}.dispatch{color:#28241c;background:#e2ba7d;border:1px solid #f3ce90;padding:4px 11px;gap:7px}.dispatch:before{content:'';width:4px;height:7px;background:#3b3529;clip-path:polygon(0 0,100% 50%,0 100%)}.entry{color:#c2dbd0;border-bottom:1px solid #657970}.entry:hover,.entry[data-returning]{color:#fff1cd;border-color:#f1d3a2}.shelf b{margin-right:4px;font-family:var(--mono);color:var(--gold)}
.map-hint{right:clamp(14px,2.6vw,38px);bottom:clamp(13px,2vh,26px);color:#e8e6d4;font-size:.74rem;letter-spacing:.06em;text-shadow:0 1px 2px #0a1115,0 1px 6px #101d21;background:#152027b2;padding:5px 9px;pointer-events:none}.map-hint b{font-size:1rem;color:var(--gold);margin-right:3px}
.hud-bottom{border-top:1px solid #6e7061;padding:0 clamp(15px,3.4vw,64px);justify-content:space-between;box-shadow:0 -4px 18px #08111555}.hud-bottom nav{display:flex;height:100%;gap:clamp(4px,1.1vw,23px)}.hud-bottom nav a{display:flex;align-items:center;justify-content:center;gap:9px;min-width:clamp(60px,7.5vw,140px);padding:0 9px;position:relative;font-size:.92rem;font-weight:650;color:#c9cdc2}.hud-bottom nav a svg{color:#9eaba1}.hud-bottom nav a[aria-current]{color:#f5d098;background:linear-gradient(0deg,#54473573,transparent)}.hud-bottom nav a[aria-current]:after{content:'';position:absolute;inset:auto 6px 0;height:3px;background:#dbaf70}.hud-bottom nav a:hover{background-color:#2b3638;color:#fff}.hud-bottom nav a[aria-current] svg{color:#ecc486}.edition-mark{font:600 .65rem var(--mono);color:#93a39a;letter-spacing:.2em;display:flex;align-items:center;gap:9px}.edition-mark span{width:23px;height:8px;background:repeating-linear-gradient(115deg,#838b79 0 2px,transparent 2px 5px)}
html:not([data-world-ready]) .dossier:not(:first-child){display:none}html:not([data-world-ready]) .dossiers:has(:target) .dossier{display:none}html:not([data-world-ready]) .dossier:target{display:block!important}
@media(max-width:740px){body{grid-template-rows:49px minmax(425px,1fr) calc(58px + env(safe-area-inset-bottom,0px))}.hud-top{gap:12px;padding:0 14px}.wordmark{gap:6px}.wordmark b{font-size:20px}.insignia{width:21px;height:23px}.header-separator{display:none}.season-chip{font-size:.68rem;gap:4px}.season-chip span{display:none}.hud-person{gap:7px}.profile summary span{display:none}.profile img{width:26px;height:26px}.locales{padding-left:7px;font-size:.73rem}.world-heading{top:17px;left:17px}.locator{font-size:.58rem}.locator>span:first-child{width:15px}.world-heading h1{font-size:clamp(36px,10.5vw,54px)}.chapter{font-size:.7rem;gap:7px}.chapter i{width:9px;height:9px}.tint{background:linear-gradient(140deg,#0f1727d9,transparent 44%) left top/100% 50% no-repeat,linear-gradient(0deg,#17242d5e,transparent 26%)}.pin span{font-size:.73rem;padding:2px 6px}.pin i{width:26px;height:25px}.pin i svg{width:15px;height:15px}.compass{top:18px;right:19px}.compass i{height:24px;width:13px}.compass b{width:24px}.camera{right:11px;width:32px;top:37%}.camera button{height:30px}.dossiers{left:12px;right:12px;bottom:10px;width:auto;max-width:440px}.dossier{padding:10px 12px}.dossier h2{font-size:1.1rem}.dossier p{font-size:.78rem;line-height:1.45;margin:6px 0}.file-glyph{width:30px;height:30px}.file-glyph svg{width:18px;height:18px}.file-links a{min-height:30px}.map-hint{right:auto;left:15px;bottom:157px;font-size:.65rem;padding:3px 7px}.dossiers:has(.dossier[data-active] .file-links a:nth-child(4))~.map-hint{display:none}.hud-bottom{padding:0 5px env(safe-area-inset-bottom,0px)}.hud-bottom nav{width:100%;justify-content:space-around;gap:0}.hud-bottom nav a{flex:1;flex-direction:column;gap:3px;min-width:0;padding:2px;font-size:.71rem}.hud-bottom nav a svg{height:15px}.edition-mark{display:none}.world-sign{min-width:72px}.world-sign strong{font-size:.82rem}.identity-screen{right:0}.dossier .file-links{max-height:75px}}
@media(max-width:360px){.season-chip{display:none}.hud-bottom nav a{font-size:.66rem}}
@media(max-height:570px) and (min-width:741px){body{grid-template-rows:45px minmax(345px,1fr) 50px}.world-heading h1{font-size:40px}.world-heading{top:16px}.dossiers{bottom:12px}.dossier{padding:8px 13px}.dossier p{margin:4px 0}}
@media(prefers-reduced-motion:no-preference){.pin[aria-current=location] i{animation:beacon 3.8s ease-in-out infinite}.world-sign{animation:lamp 5s ease-in-out infinite}.dossier[data-active]{animation:loadfile .18s ease-out}@keyframes beacon{50%{box-shadow:inset 0 0 0 2px #4c5544,0 0 15px #ffd18b70}}@keyframes lamp{50%{box-shadow:inset 0 0 0 2px #413c31,3px 3px 0 #1d282b,0 0 13px #ffad484b}}@keyframes loadfile{from{opacity:.72;transform:translateY(3px)}to{opacity:1;transform:none}}}
.wave{background:transparent;border:0;color:#a4afa5;display:inline-flex;justify-content:center;align-items:center;gap:2px;width:32px;height:36px}.wave[hidden]{display:none}.wave i{width:2px;height:3px;background:currentColor}.wave i:nth-child(2){height:9px}.wave i:nth-child(3){height:13px}.wave i:nth-child(4){height:6px}.wave[aria-pressed=true]{color:#e8c58d}.beacon-light{position:absolute;top:21%;left:51.6%;width:3px;height:6.6%;pointer-events:none;background:linear-gradient(0deg,#88feea99,transparent);filter:drop-shadow(0 0 3px #71fff8);transform-origin:bottom}.world-sign strong{max-width:13em;text-wrap:balance}.world-sign{max-width:12rem}
@media(prefers-reduced-motion:no-preference){.beacon-light{animation:radio-glow 4.2s ease-in-out infinite}@keyframes radio-glow{0%,100%{opacity:.25;transform:scaleY(.75)}50%{opacity:.85;transform:scaleY(1.12)}}}
@media(max-width:410px){.wave{width:23px}.season-chip{font-size:.65rem}.hud-top{gap:9px}}
