:root{--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light;--paper:#f5f0e4;--ink:#163f43;--muted:#68766e;--gold:#b98b4c;--line:#d8d8c9;--cream:#fffaf0;color:var(--ink);background:#e4e8de;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;font-size:16px}*{box-sizing:border-box}body{margin:0}button,input{font:inherit}button{cursor:pointer;color:inherit;border:0}button:disabled{opacity:.45;cursor:default}button:focus-visible,input:focus-visible{outline-offset:3px;outline:3px solid #b88643}a{color:inherit}svg{stroke-width:1.6px;flex-shrink:0;width:22px;height:22px}h1,h2,h3,p{margin:0}h1,h2{font-family:Georgia,Times New Roman,serif;font-weight:400}h1{font-size:32px;line-height:1.14}h2{font-size:27px;line-height:1.2}h3{font-size:16px;font-weight:650}p{line-height:1.55}input{min-width:0;font-size:16px}button{min-height:46px}.shell{background:var(--paper);max-width:520px;min-height:100dvh;margin:auto;box-shadow:0 0 90px #163f4311}.content{padding:calc(20px + env(safe-area-inset-top)) 24px calc(108px + env(safe-area-inset-bottom));min-height:100dvh}.eyebrow{letter-spacing:1.9px;font-size:10px;font-weight:650;line-height:1.5}.page-head{justify-content:space-between;align-items:center;gap:12px;margin:8px 0 25px;display:flex}.page-head h1{margin-top:8px;font-size:29px}.page-head .eyebrow{color:var(--muted)}.icon-button{background:0 0;border-radius:50%;flex-shrink:0;justify-content:center;align-items:center;width:46px;height:46px;display:inline-flex}.page-head>.icon-button{border:1px solid var(--line)}.primary,.secondary{border-radius:13px;justify-content:center;align-items:center;gap:12px;width:100%;min-height:52px;padding:14px 18px;font-size:15px;font-weight:600;line-height:1.4;display:flex}.primary{background:var(--ink);color:var(--cream)}.primary:hover{background:#22565a}.secondary{border:1px solid var(--line);background:#e8e8d9}.text-button,.link-button,.back{background:0 0;justify-content:center;align-items:center;gap:9px;padding:10px 0;font-size:14px;display:flex}.text-button{margin:8px auto}.link-button{color:#346b66;font-weight:600}.back{justify-content:flex-start;margin-bottom:28px}.fine{color:var(--muted);text-align:center;margin-top:18px;font-size:11px;line-height:1.6}.muted{color:var(--muted);margin:18px 0 28px;font-size:15px}.seal{color:#a47b3e;background:#f5f0e4;border:1px solid #cbb68c;border-radius:50%;place-items:center;width:60px;height:60px;display:grid}.seal svg{stroke-width:1px;width:37px;height:37px}.welcome{flex-direction:column;min-height:100dvh;display:flex}.welcome-art{background:linear-gradient(0deg,var(--paper) 0%,#f5f0e400 27%),url(/art/shipyard.png) 55% 47%/cover;height:44dvh;min-height:265px;max-height:430px}.welcome-copy{padding:0 28px calc(24px + env(safe-area-inset-bottom));text-align:center;margin-top:-27px;position:relative}.welcome-copy .seal{margin:0 auto 18px}.welcome h1{letter-spacing:-1px;margin:14px 0 17px;font-size:46px}.welcome .eyebrow{color:#8b744e;letter-spacing:1.8px;font-size:8px}.intro{color:#5e706a;margin-bottom:28px;font-size:15px}.welcome .primary{justify-content:space-between;padding-left:23px}.welcome .fine{font-size:10px}.auth{padding:calc(25px + env(safe-area-inset-top)) 28px 40px;min-height:100dvh}.auth .seal{margin:24px 0}.auth h1{margin:12px 0;font-size:35px}.auth .eyebrow{color:#947342}.auth form{margin-top:24px}label{font-size:13px;font-weight:600;display:block}label>input:not([type=checkbox]):not([type=radio]){width:100%;color:var(--ink);outline-offset:2px;background:#fffaf0;border:1px solid #c9d0c0;border-radius:11px;margin:9px 0 20px;padding:14px;display:block}input::placeholder{color:#929b8c}#form-error{color:#9b4936;margin:0 0 15px;font-size:13px}fieldset{border:0;margin:16px 0 22px;padding:0}legend{font-size:13px;font-weight:600}.recovery-key{overflow-wrap:anywhere;-webkit-user-select:all;user-select:all;background:#e8e7d8;border-radius:12px;margin:24px 0 14px;padding:18px;font-size:16px;line-height:1.7;display:block}.check-row{align-items:center;gap:14px;margin:22px 0;line-height:1.5;display:flex}.check-row input{width:23px;height:23px;accent-color:var(--ink);flex-shrink:0}.era-hero{color:#fffaf0;background:#234c49;border-radius:18px;min-height:276px;margin-bottom:20px;position:relative;overflow:hidden}.era-hero img{object-fit:cover;object-position:50% 48%;opacity:.82;width:100%;height:100%;position:absolute}.era-hero:after{content:"";background:linear-gradient(90deg,#163f43c9,#163f4310),linear-gradient(#0000 30%,#163f43b5);position:absolute;inset:0}.era-hero>div{z-index:1;padding:28px 24px;position:relative}.era-hero .eyebrow{color:#f0d79a;font-size:9px}.era-hero h2{margin:15px 0 12px;font-size:40px}.era-hero p:last-child{color:#f5f0dbe8;font-size:14px}.resume{background:var(--cream);border:1px solid #d4d7c5;border-radius:17px;padding:22px}.row{justify-content:space-between;align-items:center;gap:10px;display:flex}.resume .eyebrow{color:#7c7c61;letter-spacing:1.3px;font-size:9px}.resume .row>svg{color:#a1844b}.resume h2{margin:8px 0;font-size:43px}.resume h2 span{color:var(--muted);white-space:nowrap;font:14px -apple-system,BlinkMacSystemFont,sans-serif}.resume>p{color:var(--muted);margin-bottom:18px;font-size:13px}.sync{color:var(--muted);justify-content:center;align-items:center;gap:6px;margin-top:12px;font-size:10px;line-height:1.3;display:flex}.sync svg{width:15px;height:15px}.section-title{margin:28px 0 18px}.section-title h2{font-size:24px}.section-title>p{color:var(--muted);margin-top:12px;font-size:14px}.bottom{z-index:6;width:100%;max-width:520px;padding:9px 12px calc(10px + env(safe-area-inset-bottom));-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);background:#f8f4e9f7;border-top:1px solid #cfd5c6;justify-content:space-between;display:flex;position:fixed;bottom:0}.bottom button{color:#8b9386;background:0 0;border-radius:12px;flex-direction:column;flex:1;justify-content:center;align-items:center;gap:5px;padding:7px 0;display:flex}.bottom button span{font-size:10px}.bottom button[aria-current]{color:var(--ink);background:#e5e9da}.bottom svg{width:23px;height:23px}.story-card{background:var(--cream);border:1px solid var(--line);border-radius:18px;overflow:hidden}.story-card img{object-fit:cover;width:100%;height:200px;display:block}.story-card>div{padding:23px}.story-card h2{margin:10px 0}.story-card p:not(.eyebrow){color:var(--muted);margin-bottom:20px;font-size:14px}.role-list article{border-bottom:1px solid var(--line);gap:18px;padding:20px 0;display:flex}.role-list article>svg{color:#a0844b;width:30px;height:30px}.role-list p{color:var(--muted);margin-top:7px;font-size:13px}.note{color:#7c7f6c;margin:22px 0;font-size:12px;line-height:1.7}.profile-card{text-align:center;padding:22px 0 29px}.profile-card p{color:var(--muted);margin-top:8px;font-size:13px}.avatar{color:#3e675a;background:#e0e5d5;border:1px solid #c5ceb7;border-radius:50%;place-items:center;width:86px;height:86px;margin:0 auto 18px;display:grid}.avatar svg{stroke-width:1px;width:43px;height:43px}.avatars{gap:13px;margin-top:12px;display:flex}.avatars label{position:relative}.avatars input{opacity:0;position:absolute}.avatars span{border:1px solid var(--line);background:#ebeadd;border-radius:11px;place-items:center;width:56px;height:54px;display:grid}.avatars input:checked+span{background:var(--ink);color:var(--paper)}.avatars input:focus-visible+span{outline:3px solid var(--gold)}.count{color:var(--muted);font:13px -apple-system,BlinkMacSystemFont,sans-serif}.bookmarks article{border-bottom:1px solid var(--line);align-items:center;gap:8px;display:flex}.bookmarks article>button:first-child{text-align:left;background:0 0;flex:1;align-items:center;gap:14px;min-width:0;padding:17px 0;display:flex}.bookmarks strong{overflow-wrap:anywhere;font-size:14px}.bookmarks small{color:var(--muted);margin-top:5px;font-size:11px;display:block}.empty{color:var(--muted);padding:14px 0 24px;font-size:13px}#retry-sync{margin-top:24px}.danger{color:#9b5a43}.settings label{border-bottom:1px solid var(--line);justify-content:space-between;align-items:center;gap:20px;padding:23px 0;display:flex}.settings small{color:var(--muted);margin-top:6px;font-size:12px;font-weight:400;line-height:1.5;display:block}.settings input{width:23px;height:23px;accent-color:var(--ink);flex-shrink:0}.settings strong{font-size:15px}.atlas-screen{background:var(--paper);flex-direction:column;height:100dvh;display:flex}.atlas-head{padding:calc(6px + env(safe-area-inset-top)) max(8px,env(safe-area-inset-right)) 6px max(8px,env(safe-area-inset-left));background:var(--ink);color:var(--paper);justify-content:space-between;align-items:center;gap:12px;display:flex}.atlas-head>div{flex:1}.atlas-head strong{font:18px Georgia,serif}.atlas-head .sync{color:#b9cbc1;justify-content:flex-start;margin-top:3px;font-size:9px}.atlas-head .sync svg{width:12px;height:12px}.atlas-head button{color:var(--paper)}#atlas-frame{border:0;flex:1;width:100%;height:100%;min-height:0}.app-dialog{color:var(--ink);background:var(--paper);border:1px solid var(--line);border-radius:18px;width:calc(100% - 30px);max-width:420px;padding:26px;box-shadow:0 12px 80px #153e4344}.app-dialog::backdrop{-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);background:#163f4380}.app-dialog h2{margin-bottom:18px;font-size:27px}.app-dialog p{color:var(--muted);margin:12px 0;font-size:14px}.dialog-actions{gap:12px;margin-top:24px;display:flex}.dialog-actions button{flex:1;padding:12px;font-size:13px}#notice{z-index:20;bottom:calc(90px + env(safe-area-inset-bottom));color:var(--cream);pointer-events:none;opacity:0;background:#153e43f5;border-radius:12px;width:calc(100% - 36px);max-width:440px;padding:14px 20px;font-size:13px;line-height:1.5;transition:opacity .2s,transform .2s;position:fixed;left:50%;transform:translate(-50%)translateY(12px);box-shadow:0 5px 30px #163f4330}#notice.show{opacity:1;transform:translate(-50%)translateY(0)}.large .content p,.large .muted{font-size:17px}.large .content label,.large .content h3{font-size:18px}.large .bottom button span{font-size:12px}.still *{transition:none!important;animation:none!important}@media (width<=360px){.content{padding-left:17px;padding-right:17px}.welcome h1{font-size:40px}.welcome-copy,.auth{padding-left:23px;padding-right:23px}.resume{padding:18px}.page-head h1{font-size:26px}}@media (width>=760px){.shell{border-left:1px solid #ced5c5;border-right:1px solid #ced5c5}.welcome-art{max-height:390px}.content{padding-top:35px}}@media (prefers-reduced-motion:reduce){*{transition:none!important;animation:none!important}}.frame-holder{flex:1;min-height:0;display:flex;position:relative}.frame-holder iframe{visibility:hidden}.frame-holder iframe[data-ready=true]{visibility:visible}#map-loading{color:var(--muted);background:var(--paper);text-align:center;place-items:center;padding:28px;font-size:14px;display:grid;position:absolute;inset:0}.header-compass{color:#a58a50;padding:9px}.header-compass svg{stroke-width:1px;width:32px;height:32px}.standalone-input{border:1px solid var(--line);background:var(--cream);width:100%;color:var(--ink);border-radius:10px;margin:10px 0;padding:14px;display:block}.atlas-screen{position:relative}.atlas-head{top:calc(8px + env(safe-area-inset-top));left:max(10px,env(safe-area-inset-left));right:max(10px,env(safe-area-inset-right));z-index:6;pointer-events:none;color:var(--ink);background:0 0;justify-content:space-between;padding:0;display:flex;position:absolute}.atlas-head>*{pointer-events:auto}.atlas-head>div{display:none}.atlas-head button{width:40px;height:40px;min-height:0;color:var(--ink);background:#f8f4e9ee;border:1px solid #d8d3c2;border-radius:11px;box-shadow:0 2px 10px #153e4322}#atlas-frame{height:100dvh}.hero-carousel{border:1px solid var(--line);background:var(--cream);border-radius:19px;margin-bottom:24px;overflow:hidden}.hero-art{aspect-ratio:4/3;background:var(--ink);touch-action:pan-y;position:relative;overflow:hidden}.hero-art:after{content:"";pointer-events:none;background:linear-gradient(#0000 40%,#102e31d9);position:absolute;inset:0}.scene-image{object-fit:cover;object-position:center;-webkit-user-select:none;user-select:none;-webkit-user-drag:none;width:100%;height:100%;display:block}.hero-title-group{z-index:1;color:var(--cream);pointer-events:none;position:absolute;bottom:20px;left:22px;right:18px}.hero-title-group .eyebrow{color:#f0d79a;letter-spacing:1.7px;margin-bottom:7px;font-size:9px}.hero-title-group h2{text-wrap:balance;font-size:34px;line-height:1.08}.hero-details{padding:19px 20px 13px}.scene-year{color:var(--ink);font:26px/1.2 Georgia,Times New Roman,serif}.scene-place{color:var(--muted);margin-top:5px;font-size:13px}.scene-description{color:var(--ink);min-height:41px;margin-top:11px;font-size:13px}.scene-legend{color:#815c2c;margin-top:6px;font-size:11px}.scene-meta{min-height:112px}.scene-open{justify-content:space-between;margin-top:13px}.hero-controls{align-items:center;gap:10px;margin-top:9px;display:flex}.scene-counter{font-variant-numeric:tabular-nums;letter-spacing:1px;color:var(--muted);font-size:12px}.scene-play{color:var(--muted);background:0 0;margin-left:auto;padding:0 8px;font-size:12px}.hero-controls .icon-button{border:1px solid var(--line);width:44px;height:44px;min-height:44px;font-size:21px}.scene-progress{gap:5px;margin-top:10px;display:flex}.scene-progress span{background:var(--line);border-radius:2px;flex:1;height:3px}.scene-progress .active{background:var(--gold)}.sr-only{clip:rect(0,0,0,0);white-space:nowrap;border:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}.hero-stories{grid-template-columns:1fr 1fr;gap:13px;margin-top:22px;display:grid}.hero-story{border:1px solid var(--line);background:var(--cream);border-radius:14px;overflow:hidden}.hero-story img{aspect-ratio:4/3;object-fit:cover;width:100%;display:block}.hero-story>div{padding:12px}.hero-story h2{font-size:20px;line-height:1.2}.hero-story p{color:var(--muted);margin-top:7px;font-size:11px}.hero-story button{text-align:left;justify-content:flex-start;margin-top:6px;font-size:12px}.hero-story .legend-note{color:#815c2c}.large .scene-meta{min-height:148px}.large .scene-description{min-height:53px}@media (width<=360px){.hero-title-group{bottom:17px;left:17px}.hero-title-group h2{font-size:29px}.hero-details{padding:17px 16px 13px}.hero-story h2{font-size:18px}.hero-controls{gap:7px}}
