:root{color-scheme:dark;--bg:#111b1a;--panel:#182522;--line:#2c3b34;--muted:#99a89a;--text:#e3e6d6;--green:#a9bf8d;--amber:#e9bb7c;--narrative-size:17px}*{box-sizing:border-box}body{margin:0;background:var(--bg);color:var(--text);font-family:Arial,Helvetica,sans-serif;font-size:13px;line-height:1.5}button,input,select{font:inherit}button,a,input,select{ -webkit-tap-highlight-color:transparent}button{cursor:pointer;color:inherit}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible{outline:2px solid var(--amber);outline-offset:4px}button{transition:background .18s,border-color .18s,transform .18s}button:hover{filter:brightness(1.12)}button:disabled{opacity:.5;cursor:wait}a{color:inherit;text-decoration:none}.topbar{height:88px;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;padding:0 38px;gap:28px;background:#14201d}.brand{display:flex;gap:14px;align-items:center;min-width:240px;font-size:20px;font-weight:700;letter-spacing:4px;line-height:1.1}.brand small{display:block;font-size:9px;letter-spacing:3.6px;color:#b0b6a2;margin-top:7px}.brandmark{font-size:38px;line-height:1;color:var(--amber);font-weight:400;letter-spacing:0}nav{display:flex;align-self:stretch;gap:34px;align-items:center;font-size:10px;font-weight:700;letter-spacing:1.5px}nav button{background:none;border:0;color:var(--muted);padding:0;font-size:10px;font-weight:700;letter-spacing:1.5px}nav button span{font-size:9px;margin-left:7px;border:1px solid var(--line);padding:2px 5px;border-radius:3px}.nav-active{height:100%;display:flex;align-items:center;position:relative;color:var(--amber)}.nav-active:after{content:'';position:absolute;bottom:0;width:100%;height:2px;background:var(--amber)}.top-actions{display:flex;gap:24px;align-items:center}.save-status{font-size:9px;letter-spacing:1px;color:var(--muted);white-space:nowrap}.save-status i,.dot{width:5px;height:5px;border-radius:50%;display:inline-block;background:var(--green);margin-right:7px;vertical-align:middle}.icon-button{border:1px solid var(--line);border-radius:6px;background:transparent;font-size:21px;width:34px;height:34px;line-height:1}.layout{max-width:1580px;margin:0 auto;padding:30px 32px 40px;display:grid;grid-template-columns:218px minmax(420px,1fr) 240px;gap:26px;align-items:start}.section-label{font-size:9px;font-weight:700;letter-spacing:1.7px;color:var(--muted);display:flex;align-items:center;justify-content:space-between;margin-bottom:16px}.section-label>span:not(:first-child){color:#6e8373}.hearth-card{border:1px solid #3a493a;border-radius:8px;padding:22px 17px 12px;background:radial-gradient(ellipse at 50% 0,#3b4230,transparent 70%),#1e2b23;text-align:center}.hearth-icon{color:var(--amber);font-size:36px;line-height:1.1;margin-bottom:14px}.hearth-card h2{font-family:Georgia,serif;font-weight:400;font-size:20px;margin:0 0 5px}.hearth-card>p{color:#a9b29d;font-size:10px;margin:0}.status-line{display:flex;justify-content:space-between;align-items:center;margin:24px 0 9px;font-size:10px}.status-line b{font-size:8px;letter-spacing:1px;font-weight:500}.status-line>span:last-child{font-size:12px;color:var(--green)}.meter{height:4px;border-radius:8px;background:#344337;overflow:hidden}.meter i{display:block;height:100%;background:var(--green);transition:width .4s}.meter.large{height:5px}.hearth-card .card-caption{margin-top:11px;font-size:9px;color:#7f927c}.resource-section{margin-top:28px}.resource-row{display:grid;grid-template-columns:30px 1fr auto;align-items:center;margin:15px 0;gap:7px}.resource-icon{width:28px;height:30px;display:grid;place-items:center;border:1px solid #344238;background:#1d2c25;border-radius:5px;color:var(--green);font-size:16px}.resource-row:nth-child(2) .resource-icon{color:#85b7bd}.resource-row:nth-child(3) .resource-icon{color:#d7a999}.resource-row:nth-child(4) .resource-icon{color:var(--amber)}.resource-row .resource-name{font-size:11px;color:#bec8b7}.resource-row strong{font-family:Georgia,serif;font-size:19px;font-weight:400}.resource-row .unit{font-size:9px;color:#7f9383;display:block;line-height:1.1}.upkeep{border-top:1px solid var(--line);padding-top:12px;font-size:10px;color:#778e7c;line-height:1.8}.team-section{margin-top:27px}.team-row{border:0;background:none;width:100%;display:flex;align-items:center;gap:10px;text-align:left;padding:8px 0}.avatar{width:33px;height:36px;flex-shrink:0;border:1px solid #4d5a47;border-radius:6px;color:#d1d5ba;display:grid;place-items:center;font:13px Georgia,serif;background:linear-gradient(135deg,#3b4d3b,#202c27)}.avatar.red{background:linear-gradient(135deg,#624538,#2e2922);border-color:#634a3a}.avatar.julian{background:linear-gradient(135deg,#405558,#232e2e)}.avatar.elena{background:linear-gradient(135deg,#545241,#2a3028)}.avatar.iris{background:linear-gradient(135deg,#645371,#302a3c)}.team-info{flex:1;min-width:0}.team-info b{font-size:10px;font-weight:500;display:block;color:#cad1be;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.team-info small{font-size:8px;color:#819682}.team-indicator{height:5px;width:5px;border-radius:50%;background:#a0b987}.team-indicator.fading{background:#c6a5de;box-shadow:0 0 8px #ad88ce55}.team-indicator.dead,.team-indicator.exiled{background:#5d655f}.team-row.dead{opacity:.5}.sidebar-foot{border-top:1px solid var(--line);margin-top:20px;padding-top:15px;font-size:10px;color:#7f9281}.landscape{height:315px;border:1px solid #53634e;border-radius:9px;overflow:hidden;position:relative;background:#526655 url('landscape.svg') center 42%/cover}.hero-shade{position:absolute;inset:0;background:linear-gradient(0deg,#0b1719e8 0%,#0a191625 70%),linear-gradient(90deg,#0d1d234d,transparent)}.hero-top{position:absolute;top:21px;left:23px;right:23px;display:flex;justify-content:space-between;align-items:center}.badge{background:#172b258c;border:1px solid #7e8b5b80;border-radius:4px;backdrop-filter:blur(8px);padding:6px 9px;font-size:8px;font-weight:700;letter-spacing:1.5px;color:#d2d2a9}.badge i{display:inline-block;width:4px;height:4px;background:var(--amber);margin-right:6px;border-radius:50%}.weather{font-size:8px;letter-spacing:1px;color:#d6d7bd}.weather span{opacity:.4;margin:0 8px}.hero-bottom{position:absolute;bottom:24px;left:26px;right:24px;display:flex;justify-content:space-between;align-items:end;gap:16px}.eyebrow{font-size:9px;letter-spacing:1.8px;font-weight:700;color:var(--amber)}.hero-bottom h1{font-family:Georgia,serif;font-weight:400;font-size:35px;line-height:1.1;letter-spacing:-1px;margin:11px 0 9px;max-width:540px}.hero-bottom p{font-size:10px;color:#bec6b0;margin:0}.clock{text-align:right;min-width:88px;flex-shrink:0}.clock>span{font-size:7px;color:#b4c0aa;letter-spacing:1.5px}.clock strong{display:block;font-size:33px;font-weight:300;line-height:1.6}.clock b{font-weight:400;font-family:Georgia,serif}.clock em{font-style:normal;font-size:15px;margin-left:6px;color:#9aab93}.clock-track{height:2px;background:#4f6354}.clock-track i{display:block;height:100%;background:var(--amber);width:0}.reader-top{display:flex;justify-content:space-between;color:#8fa087;font-size:8px;letter-spacing:1.5px;margin:22px 2px 13px}.reader-top b{font-weight:500}.reader-top>span:last-child{color:#738a79}.story-card{padding:26px 28px 15px;border:1px solid var(--line);border-radius:8px;background:linear-gradient(120deg,#1b2823,#18241f)}.story-heading{display:flex;gap:13px;align-items:center;margin-bottom:20px}.chapter-number{font-family:Georgia,serif;font-size:27px;color:#7e9871;border:1px solid #48573b;background:#263323;width:42px;height:47px;border-radius:6px;display:grid;place-items:center;flex-shrink:0}.story-heading .eyebrow{font-size:8px;margin:0 0 3px;color:#8fa57c;letter-spacing:1.6px}.story-heading h2{font-family:Georgia,serif;font-size:23px;line-height:1.2;font-weight:400;margin:0}.text-button{padding:0;background:none;border:0;color:#8fa188;font-size:9px;white-space:nowrap}.story-heading>.text-button{margin-left:auto;align-self:start;padding-top:6px;font-size:8px}.story-text{font-family:Georgia,'Times New Roman',serif;font-size:var(--narrative-size);color:#cbd3bd;line-height:1.85}.story-text p{margin:0 0 16px}.story-text strong{color:#e6c99f;font-weight:400}.context-line{display:none;font-size:10px;color:#b7b694;border-left:2px solid var(--amber);padding:7px 12px;background:#bc98650a;margin:14px 0 20px;line-height:1.6}.context-line.visible{display:block}.choice-heading{display:flex;justify-content:space-between;gap:10px;border-top:1px solid #344232;margin:24px 0 12px;padding-top:20px;font-size:8px;font-weight:700;letter-spacing:1.4px;color:#afbc9d}.choice-heading>span:last-child{font-weight:400;font-size:9px;color:#7c907c;letter-spacing:0}.choices{display:grid;gap:9px}.choice{display:flex;align-items:center;gap:13px;width:100%;text-align:left;border:1px solid #3c4b37;background:#263425;border-radius:5px;padding:13px 14px;min-height:63px}.choice:hover{border-color:#a7b883;background:#31412d;transform:translateX(2px)}.choice-key{border:1px solid #586647;color:#b7c49f;border-radius:4px;height:25px;width:25px;display:grid;place-items:center;flex-shrink:0;font-size:10px;background:#1f2d21}.choice-copy{flex:1;min-width:0}.choice-copy b{font-size:11px;font-weight:500;line-height:1.6;display:block;color:#d3dbc0}.choice-copy small{font-size:9px;color:#9ba788;display:block;margin-top:3px}.choice-arrow{color:#8da275;font-size:17px}.choice.risky{border-color:#5e4c39;background:#382e234d}.choice.risky .choice-key{border-color:#7d6749;color:#dcbd8e}.choice.risky .choice-copy small{color:#c0a57c}.choice.ending-button{background:#b4bf8e;color:#1a281d}.choice.ending-button .choice-copy b{color:#1a281d;font-weight:700}.reader-foot{display:flex;justify-content:space-between;gap:10px;font-size:7px;letter-spacing:.7px;margin-top:20px;color:#6c826f}.reader-foot span:last-child{font-size:8px;letter-spacing:0;text-align:right;color:#8fa081}.objective-card,.profile-card,.log-card{border:1px solid var(--line);border-radius:8px;background:#192720;padding:19px 18px;margin-bottom:20px}.objective-card{border-color:#4b5037;background:linear-gradient(140deg,#3a3c26aa,#1d2b22)}.objective-card .section-label{font-size:8px;color:var(--amber);letter-spacing:1.2px;margin-bottom:16px}.objective-card h3{font-family:Georgia,serif;font-weight:400;font-size:20px;line-height:1.3;margin:0 0 10px}.objective-card>p{font-size:11px;color:#b5bda2;line-height:1.8;margin:0}.objective-note{display:flex;gap:8px;align-items:start;border-top:1px solid #69674766;margin-top:18px;padding-top:13px;color:#acac84;font-size:9px;line-height:1.7}.objective-note i{margin-top:4px;width:5px;height:5px;flex-shrink:0;border:1px solid var(--amber);transform:rotate(45deg)}.survivor{display:flex;gap:11px;align-items:center;margin:20px 0}.player-avatar{width:42px;height:46px;font-size:23px;background:radial-gradient(ellipse at 50% 20%,#837659,#3a4331 65%);border-color:#6a6b4d}.survivor h3{margin:0 0 3px;font-family:Georgia,serif;font-size:19px;font-weight:400;overflow-wrap:anywhere}.survivor p{margin:0;font-size:10px;color:#9aaa8d}.health-line{display:flex;justify-content:space-between;font-size:8px;letter-spacing:1px;color:#8ea482;margin-bottom:7px}.health-line b{font-size:10px;font-weight:400;color:#b1c392}.profile-card .meter{margin-bottom:20px}.opposed{margin-top:16px}.opposed-label{display:flex;justify-content:space-between;color:#92a287;font-size:9px;margin-bottom:7px}.opposed-label span:first-child{color:#c4cbaa}.opposed-track{height:3px;background:#34402f;position:relative}.opposed-track i{display:block;height:100%;background:#859c70}.opposed-track b{position:absolute;height:7px;width:3px;top:-2px;background:#d8d6ab}.log-card{background:transparent;border:0;padding:1px 2px 0}.log-card .section-label{margin-bottom:20px}.event{padding-left:14px;border-left:1px solid #43533d;position:relative;margin-left:3px;padding-bottom:18px}.event:before{content:'';width:5px;height:5px;border-radius:50%;background:#8c9f77;position:absolute;left:-3px;top:4px}.event time{display:block;color:#71866e;font-size:8px;letter-spacing:1px;margin-bottom:6px}.event p{margin:0;color:#b7c1a8;font-size:10px;line-height:1.7;overflow-wrap:anywhere}.journal-link{border:0;background:transparent;padding:0;margin:5px 0 12px;font-size:10px;color:#b6c69a;width:100%;display:flex;justify-content:space-between}.save-tools{display:flex;gap:8px;border-top:1px solid var(--line);padding-top:17px}.save-tools button{flex:1;border:1px solid #394b38;border-radius:4px;background:transparent;padding:8px 4px;font-size:9px;color:#b5c2a1}.save-note{font-size:8px;color:#6c826e;line-height:1.7}.page-footer{border-top:1px solid #26372e;padding:20px 33px;display:flex;justify-content:space-between;gap:20px;font-size:8px;letter-spacing:1.3px;color:#5f7867}.page-footer span:first-child{color:#91a183}.page-footer span:last-child{letter-spacing:0}.toast{position:fixed;top:100px;left:50%;transform:translate(-50%,-15px);z-index:100;background:#d9dbba;color:#233424;border:1px solid #899e73;box-shadow:0 12px 50px #0007;padding:12px 20px;border-radius:6px;opacity:0;pointer-events:none;transition:.2s;max-width:90%;font-size:12px}.toast.show{opacity:1;transform:translate(-50%,0)}.modal{border:1px solid #566044;border-radius:12px;color:var(--text);background:#19261f;padding:0;width:min(560px,94vw);box-shadow:0 30px 100px #0009;max-height:92dvh;overflow:auto}.modal::backdrop{background:#07120ed9;backdrop-filter:blur(7px)}.modal-content{padding:32px;position:relative}.dialog-close{position:absolute;right:15px;top:12px;border:0;background:#14231b8c;border-radius:50%;width:28px;height:28px;font-size:23px;color:#c6d0b3;z-index:1;line-height:1}.modal-art{background:linear-gradient(0deg,#16261dea,#16261d22),url('landscape.svg') center 45%/cover;padding:32px 34px 25px}.modal-art h2{font:32px/1.2 Georgia,serif;margin:14px 0 12px;letter-spacing:-.5px}.modal-art p{font-size:11px;color:#bdc9ac;line-height:1.8;margin:0}.modal-content>h2{font:29px Georgia,serif;margin:10px 0 14px}.modal-content>p{color:#a0b092;font-size:12px;line-height:1.8}.name-label{display:block;font-size:11px;color:#c1cbb1;margin:20px 0 8px}.modal input[type=text],#nameInput{width:100%;border:1px solid #4b5b40;background:#132119;border-radius:5px;color:#dfe4cf;padding:11px 13px;outline-offset:2px}.background-options{display:grid;gap:8px;margin-bottom:22px}.background-options>label{display:flex;align-items:center;gap:12px;border:1px solid #3b4c36;background:#1d2c21;padding:11px 13px;border-radius:5px;cursor:pointer}.background-options>label:has(input:checked){border-color:#adbb82;background:#2e3b26}.background-options input{accent-color:#b7c68e}.background-options b{font-weight:500;font-size:12px}.background-options small{display:block;font-size:10px;color:#95a889;margin-top:4px}.primary-button{width:100%;border:1px solid #c2c58d;border-radius:5px;background:#bcc993;color:#1e311f;padding:12px 17px;font-size:12px;font-weight:700;display:flex;justify-content:space-between;align-items:center}.secondary-button{width:100%;border:1px solid #687751;background:transparent;border-radius:5px;padding:11px;color:#becba7}.modal-fine{text-align:center;font-size:9px!important;margin:12px 0 0!important;color:#7e9675!important}.start-modal form{position:relative}.setting-row{padding:18px 0;border-bottom:1px solid var(--line);display:flex;justify-content:space-between;align-items:center;gap:15px;font-size:12px}.setting-row select{background:#132318;border:1px solid #4b5f3f;color:#bccca6;border-radius:4px;padding:7px;max-width:64%;font-size:10px}.setting-row input{accent-color:#b6c58c}.journal-modal{width:min(650px,94vw)}#journalEntries{margin-top:25px}#journalEntries .event{padding-bottom:22px}#journalEntries .event p{font-size:12px}.person-modal .avatar{width:55px;height:62px;font-size:23px;margin-bottom:20px}.person-stats{display:flex;gap:10px;margin:20px 0}.person-stats>span{flex:1;background:#263823;border-radius:5px;padding:14px 10px;font-size:10px;color:#9eb28b}.person-stats b{display:block;color:#d0dbb8;font:23px Georgia,serif;margin-top:6px}.confirm-actions{display:grid;gap:10px;margin-top:25px}.reduced-motion *{animation:none!important;transition:none!important;scroll-behavior:auto!important}.story-card.entering{animation:arrive .3s ease-out}@keyframes arrive{from{opacity:.5;transform:translateY(5px)}to{opacity:1;transform:translateY(0)}}
@media(min-width:1500px){.layout{gap:32px;grid-template-columns:235px minmax(420px,1fr) 255px}.landscape{height:350px}.story-card{padding:30px 34px 20px}.hero-bottom h1{font-size:43px}}
@media(max-width:1190px){.layout{grid-template-columns:185px minmax(380px,1fr);gap:23px;padding:24px}.right-column{grid-column:2;display:grid;grid-template-columns:1fr 1fr;gap:18px}.right-column>section{margin:0}.log-card{grid-column:1/-1}.save-tools,.save-note{grid-column:auto}.topbar{padding:0 24px;gap:18px}.brand{min-width:200px}.save-status{display:none}.hero-bottom h1{font-size:33px}.story-card{padding:23px}.weather{display:none}.profile-card .section-label{margin-bottom:12px}.profile-card .survivor{margin:12px 0}.profile-card .meter{margin-bottom:12px}}
@media(max-width:760px){.topbar{height:70px;padding:0 18px}.brand{min-width:0;font-size:16px;gap:9px;letter-spacing:2.7px}.brand small{font-size:7px;letter-spacing:2.8px}.brandmark{font-size:32px}nav{margin-left:auto}nav .nav-active{display:none}nav button{font-size:0;letter-spacing:0}nav button:before{content:'JOURNAL';font-size:9px;letter-spacing:1px}nav button span{display:none}.top-actions{gap:0}.layout{display:flex;flex-direction:column;padding:16px;gap:18px}.left-column{display:contents}.left-column>.section-label,.hearth-card,.team-section,.sidebar-foot{display:none}.resource-section{margin:0;order:1;width:100%;background:#1a2821;border:1px solid var(--line);border-radius:7px;padding:10px 12px}.resource-section>.section-label,.upkeep{display:none}#resources{display:grid;grid-template-columns:repeat(4,1fr);gap:6px}.resource-row{display:flex;gap:7px;margin:0;flex-wrap:wrap;position:relative;padding-left:0;justify-content:center}.resource-icon{width:23px;height:25px;font-size:13px;border:0;background:none}.resource-row strong{font:19px Georgia,serif}.resource-row>div{order:3;width:100%;text-align:center}.resource-name{font-size:8px!important}.resource-row .unit{display:none}.main-column{width:100%;order:0}.landscape{height:265px}.hero-top{top:15px;left:17px;right:17px}.hero-bottom{left:19px;right:17px;bottom:20px}.hero-bottom h1{font-size:29px;max-width:250px}.hero-bottom p{font-size:9px;max-width:210px}.hero-bottom .eyebrow{font-size:7px;letter-spacing:1px}.clock{min-width:65px}.clock>span{font-size:6px}.clock strong{font-size:28px}.clock em{font-size:12px}.badge{font-size:7px}.reader-top{margin-top:18px}.story-card{padding:20px 17px 15px}.story-heading{gap:11px;flex-wrap:wrap;margin-bottom:20px}.story-heading h2{font-size:23px}.story-heading>.text-button{font-size:8px}.story-heading .eyebrow{font-size:7px}.chapter-number{width:34px;height:40px;font-size:23px}.story-text{line-height:1.8}.choice{padding:12px 10px;gap:10px}.choice-copy b{font-size:11px}.choice-copy small{font-size:9px}.choice-heading>span:last-child{font-size:8px}.reader-foot{font-size:6px}.right-column{display:grid;grid-template-columns:1fr 1fr;gap:14px;width:100%;order:2}.right-column .objective-card{grid-column:1/-1}.right-column .profile-card{grid-column:1/-1}.right-column .profile-card #personality{display:grid;grid-template-columns:1fr 1fr 1fr;gap:14px}.right-column .profile-card .survivor{float:left;width:55%;margin:10px 0}.right-column .profile-card .health-line{padding-top:12px}.right-column .profile-card>.meter{margin-top:12px}.right-column .profile-card #personality{clear:both}.opposed-label{font-size:8px;gap:4px}.right-column .log-card{grid-column:1/-1;padding:10px 2px}.save-tools{grid-column:1/-1}.save-note{grid-column:1/-1;text-align:center;margin:0}.page-footer{padding:18px;font-size:7px}.page-footer span:nth-child(2),.page-footer span:last-child{display:none}.modal-content{padding:25px}.modal-art{padding:28px 26px 23px}.modal-art h2{font-size:29px}.toast{top:80px}.section-label{font-size:8px}.story-card{scroll-margin-top:15px}}
@media(prefers-reduced-motion:reduce){*{animation:none!important;transition:none!important;scroll-behavior:auto!important}}
