/* System fonts keep the downloadable edition completely self-contained. */
:root{--bg:#07151a;--panel:#102328;--line:#284047;--text:#e5ece5;--muted:#94aaa8;--mint:#b9e6bd;--gold:#dfbf83}*{box-sizing:border-box}body{margin:0;background:var(--bg);color:var(--text);font-family:'Noto Sans JP',sans-serif;font-size:14px}button,input,select{font:inherit}button,a,input,select,summary{-webkit-tap-highlight-color:transparent}button{cursor:pointer}button:disabled{opacity:.35;cursor:not-allowed}button:focus-visible,a:focus-visible,summary:focus-visible{outline:2px solid var(--gold);outline-offset:5px}button{transition:background .2s,transform .2s}button:hover:not(:disabled){filter:brightness(1.14)}header{height:100px;margin:0 5vw;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between}.brand{color:var(--mint);text-decoration:none;display:flex;gap:12px;align-items:center;font-size:34px}.brand span{font-size:21px;color:var(--text);font-family:'Noto Serif JP',serif;letter-spacing:.12em}.brand small{display:block;font:9px 'Noto Sans JP',sans-serif;letter-spacing:.25em;margin-top:5px}.edition{font-size:12px;color:var(--muted);letter-spacing:.1em}.edition b{font-size:9px;border:1px solid var(--line);padding:5px 8px;margin-left:14px;font-weight:400}.quiet{border:0;background:transparent;color:var(--muted);padding:10px}.eyebrow{color:var(--mint);font-size:10px;letter-spacing:.2em;margin-bottom:22px}main{max-width:1440px;margin:auto;padding:56px 5vw 60px}#setup{display:grid;grid-template-columns:1.15fr 1fr;gap:8%}h1,h2,p{margin-top:0}h1{font-family:'Noto Serif JP',serif;font-size:clamp(30px,3.3vw,50px);line-height:1.65;font-weight:500;letter-spacing:.035em;margin-bottom:20px}h2{font-family:'Noto Serif JP',serif;font-size:26px;font-weight:500}.intro>p{color:var(--muted);line-height:2.1}.hero-planet{position:relative;margin-top:-30px;height:340px}.hero-planet canvas{width:100%;height:100%;object-fit:contain}.orbit-label{position:absolute;bottom:5px;left:50%;transform:translateX(-50%);white-space:nowrap;font-size:9px;letter-spacing:.13em;color:var(--muted)}.orbit-label i{color:var(--mint);margin:0 10px}.intro-foot{display:flex;gap:28px;color:var(--muted);font-size:11px;margin-top:24px;padding-top:22px;border-top:1px solid var(--line)}.config{border:1px solid var(--line);background:linear-gradient(135deg,#11272c,#0d2025);padding:30px 32px;border-radius:4px}.config .eyebrow{margin-bottom:16px}.config-head{display:flex;justify-content:space-between;align-items:center}.config-head h2{margin-bottom:10px}.points{display:flex;align-items:center;gap:8px}.points strong{font-family:Georgia,serif;color:var(--mint);font-size:38px;font-weight:400}.points span{font-size:10px;color:var(--muted)}.sub{font-size:12px;color:var(--muted);line-height:1.9}.presets{display:flex;flex-wrap:wrap;gap:6px;margin:19px 0 12px}.chip{background:transparent;border:1px solid #3c5656;color:var(--muted);padding:6px 10px;border-radius:20px;font-size:10px}.allocation{display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--line);padding:13px 0;gap:10px}.alloc-icon{font-size:23px;color:var(--mint);width:30px}.alloc-copy{flex:1}.alloc-copy strong{font-size:13px;font-weight:500}.alloc-copy small{display:block;font-size:10px;color:var(--muted);margin-top:4px}.stepper{display:flex;align-items:center;gap:12px}.stepper button{width:27px;height:27px;background:transparent;color:var(--mint);border:1px solid #3f5b5a;border-radius:50%;padding:0}.stepper b{font-size:17px;font-weight:400;width:16px;text-align:center}.name-row{display:flex;align-items:center;gap:20px;margin:20px 0}.name-row label{font-size:11px;color:var(--muted);white-space:nowrap}input{min-width:0;width:100%;border:0;border-bottom:1px solid #4a6260;background:transparent;color:var(--text);padding:8px 2px;outline-color:var(--mint)}.primary{display:flex;align-items:center;justify-content:center;gap:24px;background:var(--mint);color:#122e29;border:0;padding:16px 22px;font-weight:600;border-radius:3px}.config>.primary{width:100%;justify-content:space-between}.footnote{font-size:10px;color:var(--muted);line-height:1.8;margin:15px 0 0}.watch-top{display:flex;justify-content:space-between;align-items:center;margin-bottom:24px}.watch-top h2{margin:0}.watch-top .eyebrow{margin-bottom:8px}.badge{border:1px solid #497564;color:var(--mint);font-size:11px;padding:8px 14px;border-radius:20px}.observatory{position:relative;height:540px;background:#0d222c;border:1px solid var(--line);overflow:hidden;border-radius:4px}.observatory>canvas{position:absolute;width:100%;height:100%;object-fit:cover}.scene-top{position:absolute;top:24px;left:28px;right:28px;display:flex;justify-content:space-between;font-size:9px;letter-spacing:.2em;color:#c6d4cf}.dot{display:inline-block;border-radius:50%;height:5px;width:5px;background:var(--mint);margin-left:7px}.event-copy{position:absolute;left:36px;bottom:36px;max-width:560px;text-shadow:0 2px 18px #000}.event-copy>span{font-family:Georgia,serif;font-size:23px;color:var(--gold)}.event-copy h1{font-size:34px;margin:10px 0}.event-copy p{line-height:2;color:#c0d1cc;margin-bottom:0;max-width:470px}.organisms{position:absolute;right:28px;bottom:35px;display:flex;flex-direction:column;gap:8px;color:#bbd1c7;font-size:10px}.organisms span{background:#081d26cc;border:1px solid #416159;padding:8px 12px;border-radius:2px}.transport{display:flex;align-items:center;gap:20px;margin:18px 0}.transport label,.transport>span{font-size:11px;color:var(--muted)}.transport>span{margin-left:auto}select{color:var(--mint);background:var(--bg);border:1px solid var(--line);border-radius:3px;padding:7px;margin-left:6px}.timeline{display:grid;grid-template-columns:repeat(10,1fr);gap:6px}.timeline button{position:relative;background:transparent;color:var(--muted);border:0;border-top:3px solid var(--line);text-align:left;padding:12px 0;font-size:10px}.timeline button.visited{border-color:#678977}.timeline button.active{border-color:var(--mint);color:var(--mint)}.timeline button span{display:block;font-size:9px;margin-top:6px;color:var(--muted)}.watch-note{font-size:10px;color:var(--muted);margin-top:15px}.result-head{text-align:center;margin-bottom:36px}.result-head h1{margin-bottom:6px}.result-head p{color:var(--gold);letter-spacing:.12em}.result-grid{display:grid;grid-template-columns:1fr 1fr;gap:40px}.portrait{position:relative;min-height:430px;background:radial-gradient(ellipse at 50% 30%,#193d43,transparent 70%);border:1px solid var(--line);border-radius:4px}.portrait canvas{width:100%;height:370px;object-fit:contain}.portrait-caption{text-align:center;padding:0 20px 15px}.portrait-caption>span{color:var(--muted);font-size:9px;letter-spacing:.2em}.portrait-caption h2{margin:12px 0}.report{padding:20px 0}.report>p{line-height:2;color:var(--muted)}.stats{display:grid;grid-template-columns:1fr 1fr;gap:25px 20px;margin:25px 0}.stats small{display:block;color:var(--muted);font-size:10px;margin-bottom:8px}.stats strong{font-weight:500;font-size:17px;color:var(--mint)}.species{display:flex;flex-wrap:wrap;gap:8px}.species span{font-size:11px;padding:8px;border:1px solid var(--line);color:var(--gold)}.result-actions{display:flex;flex-wrap:wrap;justify-content:center;gap:12px;margin:35px 0 15px}.secondary{background:transparent;color:var(--text);border:1px solid #4a6362;padding:14px 22px;border-radius:3px}#notice{min-height:22px;text-align:center;font-size:12px;color:var(--mint)}details{border-top:1px solid var(--line);margin-top:20px}summary{cursor:pointer;padding:22px 0;font-family:'Noto Serif JP',serif;font-size:20px}summary>span{font:10px 'Noto Sans JP',sans-serif;color:var(--muted);margin-left:20px}#history{display:grid;grid-template-columns:1fr 1fr;gap:0 40px}.history-item{display:grid;grid-template-columns:65px 1fr;gap:16px;padding:22px 0;border-top:1px solid var(--line)}.history-item>span{font-size:11px;color:var(--gold)}.history-item h3{font-size:14px;margin:0 0 10px;font-weight:500}.history-item p{font-size:12px;color:var(--muted);line-height:1.9;margin:0}footer{border-top:1px solid var(--line);padding:27px 5vw;display:flex;justify-content:space-between;gap:20px;font-size:9px;color:var(--muted);letter-spacing:.1em}dialog{background:var(--panel);color:var(--text);border:1px solid var(--line);max-width:560px;width:90%;padding:30px;border-radius:5px}dialog::backdrop{background:#000b}dialog p{color:var(--muted);font-size:13px;line-height:1.9}dialog button{width:100%}[hidden]{display:none!important}@media(min-width:1450px){.hero-planet{height:390px}}@media(max-width:900px){header{height:82px}.edition{display:none}main{padding-top:32px}#setup{gap:30px;grid-template-columns:1fr 1fr}.config{padding:22px}.hero-planet{height:280px}.intro-foot{gap:12px;flex-wrap:wrap}h1{font-size:32px}.organisms{display:none}.result-grid{gap:25px}.transport{gap:8px}.transport .quiet{padding:8px;font-size:11px}}@media(max-width:680px){header{margin:0 6vw}header>.quiet{font-size:10px}.brand{font-size:27px}.brand span{font-size:18px}main{padding:30px 6vw 40px}#setup{grid-template-columns:1fr;gap:32px}.intro>h1{font-size:32px}.intro>p{font-size:12px}.hero-planet{height:260px;margin-top:-15px}.intro-foot{justify-content:space-between}.config{padding:25px}.observatory{height:500px}.event-copy{left:22px;right:22px;bottom:25px}.event-copy h1{font-size:28px}.event-copy p{font-size:12px}.scene-top{left:22px;right:22px;font-size:8px}.transport{flex-wrap:wrap;justify-content:space-between}.transport>span{margin-left:0}.timeline{grid-template-columns:repeat(5,1fr);gap:4px 10px}.result-grid{grid-template-columns:1fr}.portrait{min-height:340px}.portrait canvas{height:300px}.report{padding:0}.result-head h1{font-size:30px}#history{grid-template-columns:1fr}.result-actions>*{width:100%}footer span:nth-child(2){display:none}.watch-top h2{font-size:23px}.badge{font-size:9px}.eyebrow{font-size:9px}}

/* Version 2: explicit high-contrast surfaces, illustrated creatures and choices. */
:root{--text:#f4f6ef;--muted:#c1d1cf;--mint:#c8f2be;--gold:#f6d59c;color-scheme:dark}body{color:#f4f6ef}body:has(#setup:not([hidden])){background:#f4f1e8;color:#193a30;color-scheme:light}body:has(#setup:not([hidden])) header,body:has(#setup:not([hidden])) footer{border-color:#bfcbc0}body:has(#setup:not([hidden])) header .brand,body:has(#setup:not([hidden])) header .brand span{color:#173d31}body:has(#setup:not([hidden])) header .quiet,body:has(#setup:not([hidden])) .edition,body:has(#setup:not([hidden])) footer{color:#3a554a}body:has(#setup:not([hidden])) .edition b{border-color:#91a595}body:has(#setup:not([hidden])) main{padding-top:36px}#setup{gap:5%;grid-template-columns:1.15fr 1fr}#setup h1{font-size:clamp(32px,3.2vw,47px);line-height:1.45;color:#173a2e;margin-bottom:16px}#setup .eyebrow{color:#366148;font-weight:700;letter-spacing:.13em}#setup .intro>p{color:#354e43;font-size:14px;line-height:1.9;margin-bottom:22px}.config{background:#fffef8;border:1px solid #afc0af;border-radius:12px;padding:25px 28px;box-shadow:0 8px 30px #183b2910;color:#18392e}.config h2{color:#18392e;font-weight:600}.config .sub,.config .footnote{color:#435b4e;font-size:12px}.config .points strong{color:#1d5d40}.config .points span{color:#435b4e;font-size:12px}.config .chip{color:#264d39;border-color:#9aad9b;font-size:12px;background:#f4f7ec}.allocation{border-color:#d0d9cb;padding:12px 0}.alloc-icon{color:#326748}.alloc-copy strong{color:#193f2e;font-weight:700;font-size:15px}.alloc-copy small{color:#485e50;font-size:12px;line-height:1.5}.stepper{gap:10px}.stepper b{color:#163e2d;font-weight:600}.stepper button{background:#e6f0df;border-color:#79947c;color:#173e2c;width:32px;height:32px;font-size:18px}.stepper button:disabled{opacity:1;background:#f3f4ec;border-color:#d3dacf;color:#909d90}.config .name-row label{color:#405b4b;font-size:12px}.config input{color:#173d2a;border-color:#7f9a82;background:#f4f7ed;border-radius:4px;padding:9px}.config>.primary{background:#23563d;color:#fff;font-size:15px}.config>.primary:disabled{opacity:1;background:#d7dfd0;color:#4d6150}.config .footnote{font-size:11px}.intro-foot{color:#375643;border-color:#b6c6b6;font-size:12px;justify-content:space-between;gap:12px}.art{background-image:none;background-size:300% 200%;background-repeat:no-repeat;background-color:#183d36}.art-micro{background-position:0 0}.art-sea{background-position:50% 0}.art-land{background-position:100% 0}.art-wing{background-position:0 100%}.art-heat{background-position:50% 100%}.art-civ{background-position:100% 100%}.creature-showcase{position:relative;width:100%;height:350px;border-radius:14px;overflow:hidden;box-shadow:0 12px 30px #18372822}.creature-showcase>.art{position:absolute;inset:0;background-size:300% 200%}.creature-showcase:after{content:'';position:absolute;inset:50% 0 0;background:linear-gradient(transparent,#041811e8);pointer-events:none}.showcase-label{position:absolute;bottom:23px;left:22px;color:white;z-index:1}.showcase-label span,.showcase-label small{display:block;font-size:11px;color:#e3eddb}.showcase-label strong{display:block;font-family:serif;font-size:24px;margin:8px 0}.showcase-thumbs{display:flex;position:absolute;top:14px;left:14px;gap:8px}.showcase-thumbs .art{width:64px;height:64px;border:2px solid #f4f7e8;border-radius:50%;box-shadow:0 2px 15px #0005}.decision-progress{display:flex;gap:12px;justify-content:center;margin:0 0 22px}.decision-progress span{background:#112b30;border:1px solid #597872;padding:10px 20px;color:#d5e1d7;font-size:12px;border-radius:30px}.decision-progress .done{background:#244934;color:#d4f6c5;border-color:#a1cb99}.observatory{height:490px;background:#071c21}.observatory.with-creature{background:#081b20}.observatory #creatureScene{position:absolute;right:0;top:0;width:57%;height:100%}.with-creature:after{content:'';position:absolute;inset:0;background:linear-gradient(90deg,#081b20 0%,#081b20 38%,#081b20a6 49%,transparent 64%);pointer-events:none}.scene-top{z-index:2;color:#f4f6eb;text-shadow:0 1px 4px #000;background:#07171b99;padding:9px;border-radius:4px;top:15px;left:20px;right:20px}.event-copy{z-index:2;left:30px;bottom:65px;width:39%;max-width:460px;text-shadow:none}.event-copy h1{font-size:30px;line-height:1.55;color:#fff}.event-copy p{color:#e0e9df;font-size:15px;line-height:1.9}.event-copy>span{color:#ffdc9f}.creature-tag{position:absolute;z-index:3;right:22px;bottom:20px;color:#fff;background:#09231ddb;padding:10px 14px;font-size:12px;border:1px solid #799889;border-radius:4px}.organisms{z-index:3;right:auto;left:30px;bottom:18px}.organisms span{color:#daf3cf;font-size:12px;background:#14392a;border-color:#739672}.transport .quiet{color:#e4ece3;font-size:13px}.watch-note{font-size:12px;color:#c1d1cf}.timeline button{font-size:12px}.timeline button span{font-size:10px}.choice-panel{margin-top:20px;padding:26px;background:#fcf9ee;border-radius:10px;color:#173c2c;border:2px solid #bbd2aa;scroll-margin:20px}.choice-heading{display:flex;align-items:center;justify-content:space-between;gap:20px}.choice-heading h2{color:#163c2c;font-family:inherit;font-size:24px;font-weight:700;margin:10px 0}.choice-heading .eyebrow{color:#326440;font-weight:700}.pause-badge{font-size:11px;color:#39523a;white-space:nowrap;background:#e1ebd5;border-radius:30px;padding:8px 12px}#choiceHint{color:#4b604e;font-size:13px}.choice-options{display:grid;grid-template-columns:1fr 1fr;gap:18px}.choice-option{display:grid;grid-template-columns:120px 1fr;padding:0;text-align:left;background:#fff;border:2px solid #adbda2;border-radius:8px;color:#183c29;overflow:hidden;min-height:150px}.choice-option:hover{transform:translateY(-3px);border-color:#34754b;box-shadow:0 6px 18px #1b472225}.choice-option:focus-visible{outline:3px solid #296640}.choice-option>.art{width:120px;height:100%;min-height:150px}.option-body{padding:16px}.option-body>small{display:block;color:#4b634c;font-size:11px}.option-body>strong{display:block;color:#1b4c2e;font-size:19px;margin:6px 0 12px}.option-body b{float:right;font-weight:400}.option-body>span{display:block;color:#425a43;font-size:12px;line-height:1.7}#choiceFeedback{padding:16px 20px;background:#183f2e;color:#e6fbd9;border-left:4px solid #b9e89f;margin-top:18px;font-size:14px}.portrait{overflow:hidden;background:#112c2c}.portrait #resultCreature{width:100%;height:400px}.portrait-caption{background:#102c25;padding:18px}.portrait-caption h2{color:#e5f5dc}.report>p{color:#d2ded1}.stats small{color:#d3dfd3;font-size:12px}.stats strong{font-size:19px}.species span{font-size:12px;color:#ffe0a6}.decisions-summary{display:grid;grid-template-columns:repeat(3,1fr);gap:16px;margin-top:28px}.decisions-summary>div{display:flex;background:#16302e;border:1px solid #47685b;border-radius:8px;overflow:hidden}.decisions-summary .art{width:100px;flex-shrink:0;min-height:128px}.decisions-summary>div>span{padding:14px}.decisions-summary small{display:block;font-size:10px;color:#c8d6c7;line-height:1.6}.decisions-summary strong{display:block;font-size:16px;color:#d8f2c5;margin:6px 0}.history-item{grid-template-columns:50px 84px 1fr;gap:12px}.history-item:has(.art[hidden]){grid-template-columns:50px 1fr}.history-item .art{width:84px;height:84px;border-radius:5px}.history-item p{font-size:12px;color:#ccd9d0}.history-decision{display:block;color:#cef5b9;font-size:12px;margin-top:10px}dialog{color-scheme:dark}dialog h2{color:#f4f6ef}dialog p{color:#d2dfd8}
@media(max-width:1000px){.config{padding:22px}.alloc-copy small{font-size:11px}.creature-showcase{height:340px}.intro-foot{flex-wrap:wrap}.choice-option{grid-template-columns:90px 1fr}.choice-option>.art{width:90px}.decisions-summary{grid-template-columns:1fr}.decisions-summary .art{height:110px;min-height:110px;width:110px}.event-copy h1{font-size:25px}.event-copy p{font-size:13px}}
@media(max-width:680px){#setup{grid-template-columns:1fr;gap:25px}#setup h1{font-size:32px}.creature-showcase{height:340px}.config{padding:22px}.alloc-copy small{font-size:12px}.intro-foot{font-size:11px}.decision-progress{gap:5px;flex-wrap:wrap}.decision-progress span{padding:8px;font-size:10px}.observatory{height:550px}.observatory #creatureScene{width:100%;height:340px;top:0}.with-creature:after{background:linear-gradient(0deg,#081b20 0%,#081b20 32%,transparent 56%)}.event-copy{width:auto;max-width:none;left:20px;right:20px;bottom:32px}.event-copy h1{font-size:25px;line-height:1.45;margin:8px 0}.event-copy p{font-size:13px;line-height:1.8}.event-copy>span{font-size:19px}.creature-tag{top:265px;bottom:auto;font-size:10px;right:12px}.organisms{display:none}.choice-panel{padding:18px}.choice-heading{display:block}.choice-heading h2{font-size:21px}.pause-badge{display:inline-block;font-size:10px;margin:2px 0 8px}.choice-options{grid-template-columns:1fr;gap:12px}.choice-option{grid-template-columns:105px 1fr;min-height:140px}.choice-option>.art{width:105px;min-height:140px}.option-body{padding:13px}.option-body>strong{font-size:18px}.transport{gap:10px}.portrait #resultCreature{height:340px}#history{grid-template-columns:1fr}.history-item{grid-template-columns:44px 64px 1fr}.history-item .art{width:64px;height:64px}.watch-note{font-size:11px}footer{font-size:9px}.showcase-label strong{font-size:23px}}


.art-s0,.art-s1,.art-s2,.art-s3,.art-s4,.art-s5,.art-s6,.art-s7,.art-s8,.art-s9,.art-s10,.art-s11{background-image:none;background-size:400% 300%}
.art-s0{background-position:0% 0%}
.art-s1{background-position:33.33333333333333% 0%}
.art-s2{background-position:66.66666666666666% 0%}
.art-s3{background-position:100% 0%}
.art-s4{background-position:0% 50%}
.art-s5{background-position:33.33333333333333% 50%}
.art-s6{background-position:66.66666666666666% 50%}
.art-s7{background-position:100% 50%}
.art-s8{background-position:0% 100%}
.art-s9{background-position:33.33333333333333% 100%}
.art-s10{background-position:66.66666666666666% 100%}
.art-s11{background-position:100% 100%}

/* Species atlas and causal evolution record. */
.evolution-preview{padding:15px;background:#eef4e6;border:1px solid #c0cfb6;border-radius:8px;margin-top:20px;color:#193c2b}.evolution-preview>strong{font-size:13px}.forecast{display:flex;gap:12px;align-items:center;margin-top:13px}.forecast>.art{width:64px;height:64px;border-radius:8px;flex-shrink:0}.forecast>span:last-child{flex:1}.forecast b{display:block;font-size:13px;color:#1b482e;margin:4px 0}.forecast small{font-size:10px;color:#486149;display:block;line-height:1.5}#catalogSection{margin-top:40px;color:#183d2d}#fieldGuide{border-top-color:#b5c5ad}#fieldGuide>p{color:#445f4c;font-size:13px;line-height:1.8}#fieldGuide summary>span{color:#3b6849;font-size:12px}#catalogGrid{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}#catalogGrid article{background:#fffdf5;border:1px solid #b7c8ae;border-radius:10px;padding:15px}#catalogGrid h3{font-size:15px;margin:0 0 8px}#catalogGrid article>p{font-size:11px;color:#476049;min-height:34px;line-height:1.6}.catalog-pair{display:grid;grid-template-columns:1fr 1fr;gap:12px}.catalog-pair .art{aspect-ratio:1;border-radius:8px}.catalog-pair small{font-size:9px;display:block;color:#4c714a;margin:8px 0 4px}.catalog-pair strong{font-size:12px;color:#20422c}.catalog-pair p{font-size:10px;color:#52684e;margin:7px 0;line-height:1.6}.current-lineage{color:#d8efc9;font-size:13px;line-height:1.8;text-align:center;margin-bottom:15px}.evolution-reason{background:#18382f;color:#e0f2d4;padding:14px 20px;border-left:3px solid #a8d58e;font-size:13px;margin-top:20px;line-height:1.8}.lineage-strip{display:flex;overflow-x:auto;gap:24px;align-items:flex-start;padding:22px 0 18px;scrollbar-color:#7a9d79 #102822}.lineage-node{position:relative;width:140px;flex-shrink:0}.lineage-node:not(:last-child):after{content:'→';position:absolute;right:-20px;top:78px;color:#c9e5b6;font-size:18px}.lineage-node>span{display:block;font-size:10px;color:#ccd9c5;margin-bottom:10px}.lineage-node>.art{width:140px;height:140px;border-radius:7px;border:1px solid #779576}.lineage-node>strong{font-size:12px;font-weight:500;color:#e3f0dc;display:block;margin:10px 0;line-height:1.6}.lineage-record{margin-top:32px;padding:24px;background:#112b27;border:1px solid #42654f;border-radius:9px}.lineage-record h2{font-size:22px;color:#e5f2db;margin-bottom:0}.lineage-record>p{font-size:13px;color:#cbdcc7;line-height:1.8;margin-bottom:0}.faded{filter:grayscale(1);opacity:.65}.choice-destination{font-style:normal;display:block;margin-top:12px;font-size:13px;line-height:1.6;color:#1e5331;font-weight:700;border-top:1px solid #c7d5bd;padding-top:9px}.choice-traits{color:#546b4f!important;margin-top:5px}.choice-option{min-height:210px}.choice-option>.art{min-height:210px}.option-body>span{font-size:12px}.result-head p{line-height:1.8;letter-spacing:.06em}.stats strong{font-size:16px;line-height:1.7}.observatory .event-copy p{font-size:14px}.observatory .event-copy h1{font-size:27px}.hero-planet[hidden]{display:none}.with-creature .creature-tag{max-width:50%;line-height:1.6}body:not(:has(#setup:not([hidden]))) #catalogSection{display:none}
@media(max-width:1000px){#catalogGrid{grid-template-columns:repeat(2,1fr)}.choice-option{grid-template-columns:110px 1fr}.choice-option>.art{width:110px}.observatory .event-copy h1{font-size:24px}.observatory .event-copy p{font-size:13px}}
@media(max-width:680px){#catalogGrid{grid-template-columns:1fr}.catalog-pair .art{max-height:210px}.catalog-pair strong{font-size:13px}.catalog-pair p{font-size:11px}.choice-option{grid-template-columns:95px 1fr}.choice-option>.art{width:95px}.option-body>strong{font-size:17px}.current-lineage{font-size:11px}.with-creature .creature-tag{max-width:90%}.observatory .event-copy h1{font-size:22px}.observatory .event-copy p{font-size:12px}.evolution-reason{padding:12px;font-size:12px}.lineage-record{padding:16px}.lineage-node{width:115px}.lineage-node>.art{width:115px;height:115px}.lineage-node>strong{font-size:11px}.lineage-node:not(:last-child):after{top:70px}.forecast>.art{width:58px;height:58px}.forecast small{font-size:11px}.lineage-record h2{font-size:20px}.lineage-record>p{font-size:12px}}

.choice-option{grid-template-columns:32% 1fr}.choice-option>.art{height:auto;min-height:0;width:100%;aspect-ratio:1;align-self:center}.catalog-pair>.art{aspect-ratio:1}@media(max-width:680px){.choice-option{grid-template-columns:29% 1fr}.choice-option>.art{height:auto;min-height:0;width:100%}.event-copy{background:#081b20ed;padding:12px;border-radius:7px;left:10px;right:10px;bottom:15px}}

/* Humanlike lineage: six illustrated stages. */
.art-h0,.art-h1,.art-h2,.art-h3,.art-h4,.art-h5,.art-s12,.art-s13{background-image:none;background-size:300% 200%}
.art-h0{background-position:0% 0%}
.art-h1{background-position:50% 0%}
.art-h2{background-position:100% 0%}
.art-h3{background-position:0% 100%}
.art-h4{background-position:50% 100%}
.art-h5{background-position:100% 100%}
.art-s12{background-position:0% 100%}.art-s13{background-position:50% 100%}.human-hint{color:#24473a;background:#e5eee0;padding:12px 15px;border-radius:12px;font-size:12px;line-height:1.7}

.art-c0,.art-c1,.art-c2,.art-c3,.art-c4,.art-c5{background-image:none;background-size:300% 200%}
.art-c0{background-position:0 0}.art-c1{background-position:50% 0}.art-c2{background-position:100% 0}.art-c3{background-position:0 100%}.art-c4{background-position:50% 100%}.art-c5{background-position:100% 100%}
.transition-panel{margin:22px 0;padding:24px;background:#f1eedf;color:#19382f;border:1px solid #b5c6ad;border-radius:18px}.transition-heading small{letter-spacing:.15em;color:#426354;font-size:11px}.transition-heading h2{margin:8px 0 18px;font-size:23px}.transformation{display:grid;grid-template-columns:1fr 36px 1fr;align-items:center;gap:12px}.transformation figure{margin:0}.transformation .art{height:260px;border-radius:12px;animation:arrival .7s ease both}.transformation figure:last-child .art{animation-delay:.12s}.transformation figcaption{padding:10px 0;font-weight:700;font-size:13px}.transform-arrow{font-size:30px;color:#41664d;text-align:center}.change-steps{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;margin-top:12px}.change-steps>div{background:white;padding:16px;border-radius:10px}.change-steps small{display:block;color:#55745a;font-size:11px;margin-bottom:6px}.change-steps strong{font-size:14px;line-height:1.6}.transition-panel>p{font-size:11px;color:#526857;line-height:1.6}.civ-meters{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}.civ-meters span{display:flex;justify-content:space-between;font-size:13px}.civ-meters meter{width:100%;height:18px;accent-color:#4e8257}.timeline{overflow-x:auto;grid-template-columns:repeat(13,minmax(78px,1fr))}.decision-progress{flex-wrap:wrap}
@keyframes arrival{from{opacity:.35;transform:translateY(10px)}to{opacity:1;transform:translateY(0)}}
@media(max-width:650px){.transition-panel{padding:16px}.transformation{grid-template-columns:1fr 20px 1fr;gap:6px}.transformation .art{height:160px}.change-steps{grid-template-columns:1fr}.civ-meters{gap:10px}.transition-heading h2{font-size:20px}}
@media(prefers-reduced-motion:reduce){.transformation .art{animation:none}}

.art-d0{background-image:none;background-size:400% 400%;background-position:0% 0%}
.art-d1{background-image:none;background-size:400% 400%;background-position:33.333333333333336% 0%}
.art-d2{background-image:none;background-size:400% 400%;background-position:66.66666666666667% 0%}
.art-d3{background-image:none;background-size:400% 400%;background-position:100% 0%}
.art-d4{background-image:none;background-size:400% 400%;background-position:0% 33.333333333333336%}
.art-d5{background-image:none;background-size:400% 400%;background-position:33.333333333333336% 33.333333333333336%}
.art-d6{background-image:none;background-size:400% 400%;background-position:66.66666666666667% 33.333333333333336%}
.art-d7{background-image:none;background-size:400% 400%;background-position:100% 33.333333333333336%}
.art-d8{background-image:none;background-size:400% 400%;background-position:0% 66.66666666666667%}
.art-d9{background-image:none;background-size:400% 400%;background-position:33.333333333333336% 66.66666666666667%}
.art-d10{background-image:none;background-size:400% 400%;background-position:66.66666666666667% 66.66666666666667%}
.art-d11{background-image:none;background-size:400% 400%;background-position:100% 66.66666666666667%}
.art-d12{background-image:none;background-size:400% 400%;background-position:0% 100%}
.art-d13{background-image:none;background-size:400% 400%;background-position:33.333333333333336% 100%}
.art-d14{background-image:none;background-size:400% 400%;background-position:66.66666666666667% 100%}
.art-d15{background-image:none;background-size:400% 400%;background-position:100% 100%}
.art-d16{background-image:none;background-size:400% 400%;background-position:0% 0%}
.art-d17{background-image:none;background-size:400% 400%;background-position:33.333333333333336% 0%}
.art-d18{background-image:none;background-size:400% 400%;background-position:66.66666666666667% 0%}
.art-d19{background-image:none;background-size:400% 400%;background-position:100% 0%}
.art-d20{background-image:none;background-size:400% 400%;background-position:0% 33.333333333333336%}
.art-d21{background-image:none;background-size:400% 400%;background-position:33.333333333333336% 33.333333333333336%}
.art-d22{background-image:none;background-size:400% 400%;background-position:66.66666666666667% 33.333333333333336%}
.art-d23{background-image:none;background-size:400% 400%;background-position:100% 33.333333333333336%}
.art-d24{background-image:none;background-size:400% 400%;background-position:0% 66.66666666666667%}
.art-d25{background-image:none;background-size:400% 400%;background-position:33.333333333333336% 66.66666666666667%}
.art-d26{background-image:none;background-size:400% 400%;background-position:66.66666666666667% 66.66666666666667%}
.art-d27{background-image:none;background-size:400% 400%;background-position:100% 66.66666666666667%}
.art-d28{background-image:none;background-size:400% 400%;background-position:0% 100%}
.art-d29{background-image:none;background-size:400% 400%;background-position:33.333333333333336% 100%}
.art-d30{background-image:none;background-size:400% 400%;background-position:66.66666666666667% 100%}
.art-d31{background-image:none;background-size:400% 400%;background-position:100% 100%}
.observatory.daily-scene{display:flex;flex-direction:column;min-height:0;background:#eae8d8}.observatory.daily-scene #creatureScene{position:relative!important;inset:auto!important;width:100%!important;height:min(68vw,650px)!important;min-height:350px;opacity:1!important}.observatory.daily-scene .event-copy{position:relative!important;inset:auto!important;max-width:none!important;padding:26px!important;background:#102c29}.observatory.daily-scene .event-copy h1{font-size:clamp(25px,4vw,42px)}.observatory.daily-scene .event-copy p{max-width:720px}.observatory.daily-scene .creature-tag{top:55px;bottom:auto}.observatory.daily-scene .organisms{display:none}.observatory.daily-scene:after{display:none!important}.resident-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(230px,1fr));gap:20px}.resident-grid article{background:#f0eddf;color:#183a31;border-radius:15px;overflow:hidden;padding-bottom:18px}.resident-grid .art{height:270px}.resident-grid article small,.resident-grid article h3,.resident-grid article p{display:block;margin:12px 16px}.resident-grid article p{font-size:13px;line-height:1.7}.resident-album{margin:30px 0}.daily-guide{margin:20px 0}.daily-guide summary{padding:20px;font-weight:700;cursor:pointer}.resident-memory{display:grid;grid-template-columns:150px 1fr;gap:18px;margin:20px 0}.resident-memory .art{height:150px;border-radius:10px}@media(max-width:650px){.resident-grid{grid-template-columns:1fr}.resident-grid .art{height:360px}.observatory.daily-scene #creatureScene{min-height:380px}.resident-memory{grid-template-columns:100px 1fr}.resident-memory .art{height:100px}}
.observatory.daily-scene{height:auto!important;aspect-ratio:auto!important}.observatory.daily-scene #creatureScene{flex:none;transform:none!important;filter:none!important}.observatory.daily-scene .event-copy{width:100%!important;flex:none}.observatory.daily-scene #creatureScene:after{display:none!important}
.observatory.daily-scene #creatureScene{width:min(100%,650px)!important;height:min(90vw,650px)!important;align-self:center;min-height:0}.observatory.daily-scene{background:#102c29}

.art-p0{background-image:none;background-size:400% 400%;background-position:0% 0%}
.art-p1{background-image:none;background-size:400% 400%;background-position:33.333333333333336% 0%}
.art-p2{background-image:none;background-size:400% 400%;background-position:66.66666666666667% 0%}
.art-p3{background-image:none;background-size:400% 400%;background-position:100% 0%}
.art-p4{background-image:none;background-size:400% 400%;background-position:0% 33.333333333333336%}
.art-p5{background-image:none;background-size:400% 400%;background-position:33.333333333333336% 33.333333333333336%}
.art-p6{background-image:none;background-size:400% 400%;background-position:66.66666666666667% 33.333333333333336%}
.art-p7{background-image:none;background-size:400% 400%;background-position:100% 33.333333333333336%}
.art-p8{background-image:none;background-size:400% 400%;background-position:0% 66.66666666666667%}
.art-p9{background-image:none;background-size:400% 400%;background-position:33.333333333333336% 66.66666666666667%}
.art-p10{background-image:none;background-size:400% 400%;background-position:66.66666666666667% 66.66666666666667%}
.art-p11{background-image:none;background-size:400% 400%;background-position:100% 66.66666666666667%}
.art-p12{background-image:none;background-size:400% 400%;background-position:0% 100%}
.art-p13{background-image:none;background-size:400% 400%;background-position:33.333333333333336% 100%}
.art-p14{background-image:none;background-size:400% 400%;background-position:66.66666666666667% 100%}
.art-p15{background-image:none;background-size:400% 400%;background-position:100% 100%}
.art-p16{background-image:none;background-size:400% 400%;background-position:0% 0%}
.art-p17{background-image:none;background-size:400% 400%;background-position:33.333333333333336% 0%}
.art-p18{background-image:none;background-size:400% 400%;background-position:66.66666666666667% 0%}
.art-p19{background-image:none;background-size:400% 400%;background-position:100% 0%}
.art-p20{background-image:none;background-size:400% 400%;background-position:0% 33.333333333333336%}
.art-p21{background-image:none;background-size:400% 400%;background-position:33.333333333333336% 33.333333333333336%}
.art-p22{background-image:none;background-size:400% 400%;background-position:66.66666666666667% 33.333333333333336%}
.art-p23{background-image:none;background-size:400% 400%;background-position:100% 33.333333333333336%}
.art-p24{background-image:none;background-size:400% 400%;background-position:0% 66.66666666666667%}
.art-p25{background-image:none;background-size:400% 400%;background-position:33.333333333333336% 66.66666666666667%}
.art-p26{background-image:none;background-size:400% 400%;background-position:66.66666666666667% 66.66666666666667%}
.art-p27{background-image:none;background-size:400% 400%;background-position:100% 66.66666666666667%}
.art-p28{background-image:none;background-size:400% 400%;background-position:0% 100%}
.art-p29{background-image:none;background-size:400% 400%;background-position:33.333333333333336% 100%}
.art-p30{background-image:none;background-size:400% 400%;background-position:66.66666666666667% 100%}
.art-p31{background-image:none;background-size:400% 400%;background-position:100% 100%}
.art-p32{background-image:none;background-size:400% 400%;background-position:0% 0%}
.art-p33{background-image:none;background-size:400% 400%;background-position:33.333333333333336% 0%}
.art-p34{background-image:none;background-size:400% 400%;background-position:66.66666666666667% 0%}
.art-p35{background-image:none;background-size:400% 400%;background-position:100% 0%}
.art-p36{background-image:none;background-size:400% 400%;background-position:0% 33.333333333333336%}
.art-p37{background-image:none;background-size:400% 400%;background-position:33.333333333333336% 33.333333333333336%}
.art-p38{background-image:none;background-size:400% 400%;background-position:66.66666666666667% 33.333333333333336%}
.art-p39{background-image:none;background-size:400% 400%;background-position:100% 33.333333333333336%}
.art-p40{background-image:none;background-size:400% 400%;background-position:0% 66.66666666666667%}
.art-p41{background-image:none;background-size:400% 400%;background-position:33.333333333333336% 66.66666666666667%}
.art-p42{background-image:none;background-size:400% 400%;background-position:66.66666666666667% 66.66666666666667%}
.art-p43{background-image:none;background-size:400% 400%;background-position:100% 66.66666666666667%}
.art-p44{background-image:none;background-size:400% 400%;background-position:0% 100%}
.art-p45{background-image:none;background-size:400% 400%;background-position:33.333333333333336% 100%}
.art-p46{background-image:none;background-size:400% 400%;background-position:66.66666666666667% 100%}
.art-p47{background-image:none;background-size:400% 400%;background-position:100% 100%}
.art-p48{background-image:none;background-size:400% 400%;background-position:0% 0%}
.art-p49{background-image:none;background-size:400% 400%;background-position:33.333333333333336% 0%}
.art-p50{background-image:none;background-size:400% 400%;background-position:66.66666666666667% 0%}
.art-p51{background-image:none;background-size:400% 400%;background-position:100% 0%}
.art-p52{background-image:none;background-size:400% 400%;background-position:0% 33.333333333333336%}
.art-p53{background-image:none;background-size:400% 400%;background-position:33.333333333333336% 33.333333333333336%}
.art-p54{background-image:none;background-size:400% 400%;background-position:66.66666666666667% 33.333333333333336%}
.art-p55{background-image:none;background-size:400% 400%;background-position:100% 33.333333333333336%}
.art-p56{background-image:none;background-size:400% 400%;background-position:0% 66.66666666666667%}
.art-p57{background-image:none;background-size:400% 400%;background-position:33.333333333333336% 66.66666666666667%}
.art-p58{background-image:none;background-size:400% 400%;background-position:66.66666666666667% 66.66666666666667%}
.art-p59{background-image:none;background-size:400% 400%;background-position:100% 66.66666666666667%}
.art-p60{background-image:none;background-size:400% 400%;background-position:0% 100%}
.art-p61{background-image:none;background-size:400% 400%;background-position:33.333333333333336% 100%}
.art-p62{background-image:none;background-size:400% 400%;background-position:66.66666666666667% 100%}
.art-p63{background-image:none;background-size:400% 400%;background-position:100% 100%}
.mystery-art{filter:blur(3px) saturate(.6);opacity:.7}.choice-option:has(.mystery-art) .option-body:after{content:"暮らしの姿は、選んでから";display:block;font-size:11px;margin-top:8px;color:#586f61}

.living-scene{position:relative;z-index:2;width:100%;background:#102d38;border-radius:16px;overflow:hidden;color:#eff5e5;margin:0 auto}.living-scene[hidden]{display:none!important}.living-head{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:13px 18px;font-size:12px}.living-head button{border:1px solid #9cc9bc;background:#244a50;color:#fff;border-radius:20px;padding:7px 12px;cursor:pointer;white-space:nowrap}.living-head button:focus-visible{outline:3px solid #ffd27a}.living-scene canvas{display:block!important;width:100%!important;height:auto!important;position:relative!important;aspect-ratio:8/5}.living-scene p{margin:0;padding:14px 18px;color:#fff3c9;font-size:15px;min-height:50px}.observatory:has(.living-scene:not([hidden])) .scene-top{display:none}.observatory:has(.living-scene:not([hidden])) .creature-tag{position:relative;inset:auto;margin:12px 20px}.portrait .living-scene{border-radius:0}.observatory .living-scene{max-width:900px}@media(max-width:600px){.living-head{padding:10px;font-size:10px}.living-head button{font-size:11px}.living-scene p{font-size:13px}}

.planet-journal{margin:32px auto 28px;max-width:1040px}.journal-heading{padding:16px 0 26px}.journal-heading>span{font-size:11px;letter-spacing:.12em;color:#b4d4bd}.journal-heading h2{margin:12px 0;color:#eff4de;font-size:28px}.journal-heading p{color:#b7ccca;line-height:1.8}.journal-list{list-style:none;padding:0 0 0 28px;margin:0 0 0 9px;border-left:2px solid #5c8878}.journal-entry{position:relative;padding:0 0 30px}.journal-entry:before{content:'';position:absolute;left:-35px;top:5px;width:12px;height:12px;border-radius:50%;background:#9dc5a6;border:3px solid #102b2d}.journal-date{color:#e7cd97;font-size:15px;font-weight:700;margin-bottom:12px;letter-spacing:.04em}.journal-card{display:grid;grid-template-columns:minmax(145px,30%) 1fr;border:1px solid #416557;background:#112b2d;border-radius:12px;overflow:hidden}.journal-card>.art,.journal-world{min-height:220px;width:100%;height:100%}.journal-copy{padding:22px 25px}.journal-copy small{color:#b5dcb8;font-size:10px;letter-spacing:.14em}.journal-copy h3{font-size:21px;line-height:1.55;margin:8px 0 12px;color:#fff6df}.journal-copy p{font-size:13px;line-height:1.9;color:#cfddd5;margin:0 0 12px}.journal-copy .journal-change{color:#f4d495;border-left:3px solid #b99b61;padding-left:10px;font-size:12px}.journal-choice{border-radius:6px;padding:10px 12px;color:#dcf4c9;background:#284736;font-size:12px;line-height:1.7}.journal-copy details{margin-top:12px;font-size:12px;color:#b9cebf}.journal-copy summary{cursor:pointer}.journal-copy details p{margin:10px 0 0}.journal-current .journal-card{border:2px solid #c9dcaa;box-shadow:0 0 22px #c5d4a50d}.journal-current:before{background:#f4d391}.journal-world{position:relative;background:radial-gradient(circle at 50% 50%,#b95f37 0 24%,#edaf63 25%,#963c25 27%,#101e26 29%);min-height:180px}.world-1{background:radial-gradient(ellipse at 45% 44%,#b2c49a 0 6%,transparent 7%),radial-gradient(circle at 50% 50%,#4c9cac 0 24%,#9fd7cc 25%,#244b60 27%,#101e26 29%)}.present-label{color:#d8eab7;margin:30px 0 15px;font-size:14px;scroll-margin-top:24px}.jump-present{position:sticky;bottom:20px;float:right;z-index:8;border:1px solid #b7d3a7;background:#244d3f;color:#f5f7de;padding:11px 16px;border-radius:24px;box-shadow:0 5px 20px #0005}.result-journal{max-width:none}#liveLineage,.lineage-record,#result>details:has(#history){display:none!important}.journal-list .art{background-repeat:no-repeat}@media(max-width:650px){.journal-list{padding-left:18px;margin-left:5px}.journal-entry:before{left:-25px}.journal-card{grid-template-columns:110px 1fr}.journal-card>.art,.journal-world{min-height:180px}.journal-copy{padding:14px}.journal-copy h3{font-size:17px}.journal-copy p{font-size:12px}.journal-heading h2{font-size:23px}.journal-date{font-size:12px}.journal-choice{font-size:11px;padding:8px}.journal-entry{padding-bottom:24px}}@media(max-width:390px){.journal-card{grid-template-columns:1fr}.journal-card>.art,.journal-world{height:200px;min-height:200px}}

/* Portrait-first player. Result and setup keep their existing document layouts. */
body.era-playing{overflow:hidden;background:#071c2b}body.era-playing>header,body.era-playing>footer{display:none}body.era-playing main{padding:0;width:100%;max-width:none}#watch>*:not(#eraShell){display:none!important}#watch #eraShell{--era-bg:#071d35;--era-glow:#215a7b;position:relative;margin:auto;width:100%;max-width:620px;height:100vh;height:100dvh;overflow:hidden;background:var(--era-bg);transition:background-color 1s;color:#fff}#eraShell[data-theme=birth]{--era-bg:#290c11;--era-glow:#a33c22}#eraShell[data-theme=sea]{--era-bg:#052943;--era-glow:#167d9c}#eraShell[data-theme=forest]{--era-bg:#123b2c;--era-glow:#6f9a43}#eraShell[data-theme=city]{--era-bg:#101b39;--era-glow:#d6b260}#eraShell[data-theme=ash]{--era-bg:#3c4145;--era-glow:#8e9699}.era-page{height:100%;display:grid;grid-template-rows:90px minmax(0,1fr) 119px 77px;padding-top:env(safe-area-inset-top);padding-bottom:env(safe-area-inset-bottom);background:transparent;min-width:0}.era-progress{background:transparent;color:#fff;border:0;text-align:left;padding:8px 18px;width:100%;min-width:0;cursor:pointer}.era-time{display:flex;align-items:baseline;gap:6px;white-space:nowrap}.era-time b{font-size:32px;line-height:1;display:inline-block;font-variant-numeric:tabular-nums;min-width:40px}.era-time>span{font-size:18px}.era-time small{margin-left:auto;max-width:64%;overflow:hidden;text-overflow:ellipsis;font-size:12px;color:#e4e5d9}.era-track{display:block;height:4px;margin:9px 0 4px;background:#ffffff30;border-radius:5px;overflow:hidden}.era-track>span{display:block;height:100%;background:#e6d6a3;transition:width .8s}.era-bar-note{font-size:11px;color:#e1e4da}.era-visual{position:relative;min-height:0;margin:0 10px;border-radius:14px;overflow:hidden;background:var(--era-glow);transition:background-color 1s}.era-visual .observatory{height:100%!important;width:100%;border:0;border-radius:0;background:transparent!important;position:relative;overflow:hidden}.era-visual .observatory:after{display:none!important}.era-visual #creatureScene{position:absolute!important;inset:0!important;width:100%!important;height:100%!important;max-width:none!important;border-radius:0!important}.era-visual #scene{width:100%!important;height:100%!important;object-fit:cover}.era-visual .event-copy,.era-visual .scene-top,.era-visual .creature-tag,.era-visual .organisms,.era-visual .living-scene{display:none!important}.era-copy{padding:12px 18px 4px;min-width:0;overflow:hidden}.era-copy #eraSentence{font-size:18px;line-height:1.4;font-weight:700;margin:0 0 5px;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;color:#fff5df}.era-copy #eraChange{font-size:13px;line-height:1.45;margin:0 0 4px;color:#e0e8db;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.era-copy button{font-size:13px;color:#fff1bb;background:transparent;border:0;padding:3px 0;min-height:28px}.era-page .transport{display:grid;grid-template-columns:1.2fr 1fr .7fr 1fr;gap:5px;margin:0;padding:8px 10px 12px;border:0;background:#0003;height:100%;align-items:center;min-width:0}.era-page .transport>span{display:none}.era-page .transport button{padding:8px 3px!important;min-width:0;min-height:48px;color:#fff!important;font-size:14px!important;border:1px solid #ffffff30;border-radius:9px;background:#ffffff0d}.era-page .transport label{font-size:12px;color:#fff;min-width:0;display:flex;flex-direction:column;gap:2px;align-items:center}.era-page .transport select{max-width:100%;width:70px;min-height:28px;background:#173447;color:#fff;font-size:14px;border:1px solid #819294;border-radius:5px}.era-page .transport #pause:disabled{opacity:.65}.era-ghost{position:absolute;inset:0;z-index:4;background:var(--era-bg);pointer-events:none}.era-chapter{position:absolute;inset:0;z-index:20;background:#020710aa;display:grid;place-content:center;text-align:center;white-space:pre-line;padding:30px;font-size:27px;font-weight:700;line-height:1.8;pointer-events:none;text-shadow:0 2px 15px #000}.era-chapter[hidden]{display:none}.choosing .era-visual:after{content:'';position:absolute;inset:0;background:#0008;pointer-events:none}.choosing .era-copy{visibility:hidden}#eraShell #choicePanel{position:absolute;z-index:10;bottom:77px;bottom:calc(77px + env(safe-area-inset-bottom));left:0;right:0;margin:0;border-radius:22px 22px 0 0;padding:16px 16px 14px;background:#f7f5e9;color:#163529;border:0;max-height:54%;overflow:auto;box-shadow:0 -20px 50px #0005}#eraShell #choicePanel[hidden]{display:none!important}#eraShell .choice-heading{display:block}#eraShell .choice-heading h2{font-size:19px;line-height:1.4;margin:4px 0 10px;font-family:inherit}#eraShell .choice-heading .eyebrow{font-size:12px;margin:0}#eraShell .pause-badge,#eraShell #choiceHint{display:none}#eraShell .choice-options{display:grid;grid-template-columns:1fr;gap:9px}#eraShell .choice-option{display:block;min-height:76px;transform:none;padding:11px 14px;border-radius:12px;border:2px solid #789477}#eraShell .choice-option>.art,#eraShell .option-body>small,#eraShell .choice-destination,#eraShell .choice-traits{display:none}#eraShell .option-body{padding:0}#eraShell .option-body>strong{font-size:18px;margin:0 0 5px}#eraShell .option-body>span{font-size:13px;line-height:1.45}#eraShell .option-body:after{display:none}.era-sheet{position:fixed;inset:auto 0 0;margin:0 auto;width:100%;max-width:620px;max-height:82dvh;border:0;border-radius:22px 22px 0 0;background:#f7f5e9;color:#183d31;padding:12px 20px calc(20px + env(safe-area-inset-bottom));overflow:auto}.era-sheet::backdrop{background:#020c18aa}.era-sheet[open]{animation:sheet-in .25s ease-out}.sheet-grip{width:40px;height:4px;border-radius:5px;background:#84958b;margin:0 auto 12px}.sheet-heading{display:flex;justify-content:space-between;align-items:center;gap:10px}.sheet-heading h2{font:700 21px/1.5 sans-serif;color:#17382b;margin:4px 0 14px}.sheet-heading button{min-height:44px;background:transparent;border:0;font-size:14px;color:#244e39;white-space:nowrap}.era-sheet p{font-size:15px;line-height:1.9;color:#244e39}.era-sheet .transition-panel{padding:12px;background:#e6ecdc;color:#193a2b}.era-sheet .transition-panel p{color:#244e39}.era-history-item{display:flex;gap:12px;text-align:left;align-items:center;width:100%;padding:10px 0;background:transparent;border:0;border-bottom:1px solid #b7c8ba;color:#1b3c2e}.era-history-item>.art{width:64px;height:64px;flex-shrink:0;border-radius:8px}.era-history-item>span:last-child{min-width:0}.era-history-item small{display:block;font-size:13px;color:#496547}.era-history-item strong{font-size:16px;line-height:1.5;display:block}.era-history-item[aria-current]{background:#e0e9d5}.era-sheet .transformation{max-width:100%}.era-sheet .change-steps{grid-template-columns:1fr}@keyframes sheet-in{from{transform:translateY(100%)}to{transform:translateY(0)}}@media(min-height:760px){.era-page{grid-template-rows:94px minmax(0,1fr) 125px 82px}}@media(prefers-reduced-motion:reduce){#eraShell,.era-visual,.era-track>span{transition:none}.era-sheet[open]{animation:none}}

.era-chapter{display:flex;justify-content:center;align-items:center;overflow-wrap:anywhere;font-size:clamp(22px,6.5vw,28px);line-height:1.7}.era-history-item>.journal-world{width:64px;height:64px;min-height:64px;flex-shrink:0;border-radius:8px}.sheet-heading h2{flex:1}.sheet-heading button{flex-shrink:0}
#eraChapter{position:fixed;inset:0;margin:0 auto;width:100%;max-width:620px;z-index:100;isolation:isolate;transform:none;contain:paint}

#eraChapter{display:none!important}.era-copy{transition:opacity .35s,transform .35s}.art-first .era-copy{opacity:0;transform:translateY(28px);pointer-events:none}.art-first .era-progress{visibility:hidden}.art-first.era-label-ready .era-progress{visibility:visible}.art-first #choicePanel{visibility:hidden;pointer-events:none}.art-first .era-visual:after{display:none!important}.copy-ready .era-copy{opacity:1;transform:none}.era-time small{white-space:normal;font-size:12px;line-height:1.4}.journal-copy h4{border-top:1px solid #547060;margin:20px 0 12px;padding-top:14px;color:#eed49a}.journal-card>.art{align-self:start;max-height:400px}@media(prefers-reduced-motion:reduce){.era-copy{transition:none}}

/* Fade-only: image, description, then decisions. */
.art-first .era-copy{opacity:0!important;transition:none!important}
.era-copy,.art-first .era-copy,.copy-ready .era-copy{transform:none!important;transition:opacity .55s ease}.era-progress{transition:opacity .55s ease}.art-first .era-progress{opacity:0;visibility:hidden}.era-label-ready .era-progress{opacity:1;visibility:visible}.choosing .era-copy{visibility:visible}#eraShell #choicePanel{transition:opacity .5s ease,visibility .5s;transform:none!important}#eraShell:not(.choosing) #choicePanel{opacity:0;visibility:hidden;pointer-events:none}#eraShell.choosing #choicePanel{opacity:1;visibility:visible;pointer-events:auto}.era-visual:after{content:"";position:absolute;inset:0;background:transparent;pointer-events:none;transition:background-color .5s}.choosing .era-visual:after{background:#0008}.art-first .era-visual:after{display:block!important;background:transparent}.era-sheet[open]{animation:sheet-fade .25s ease-out}@keyframes sheet-fade{from{opacity:0}to{opacity:1}}@media(prefers-reduced-motion:reduce){.era-copy,.era-progress,#eraShell #choicePanel,.era-visual:after{transition:none}.era-sheet[open]{animation:none}}
.era-playing #eraShell.choosing .era-copy{visibility:hidden!important;opacity:0!important;pointer-events:none;transition:none}

.art-p64{background-image:none;background-size:400% 400%;background-position:0.0% 0.0%}
.art-p65{background-image:none;background-size:400% 400%;background-position:33.333333333333336% 0.0%}
.art-p66{background-image:none;background-size:400% 400%;background-position:66.66666666666667% 0.0%}
.art-p67{background-image:none;background-size:400% 400%;background-position:100.0% 0.0%}
.art-p68{background-image:none;background-size:400% 400%;background-position:0.0% 33.333333333333336%}
.art-p69{background-image:none;background-size:400% 400%;background-position:33.333333333333336% 33.333333333333336%}
.art-p70{background-image:none;background-size:400% 400%;background-position:66.66666666666667% 33.333333333333336%}
.art-p71{background-image:none;background-size:400% 400%;background-position:100.0% 33.333333333333336%}
.art-p72{background-image:none;background-size:400% 400%;background-position:0.0% 66.66666666666667%}
.art-p73{background-image:none;background-size:400% 400%;background-position:33.333333333333336% 66.66666666666667%}
.art-p74{background-image:none;background-size:400% 400%;background-position:66.66666666666667% 66.66666666666667%}
.art-p75{background-image:none;background-size:400% 400%;background-position:100.0% 66.66666666666667%}
.art-p76{background-image:none;background-size:400% 400%;background-position:0.0% 100.0%}
.art-p77{background-image:none;background-size:400% 400%;background-position:33.333333333333336% 100.0%}
.art-p78{background-image:none;background-size:400% 400%;background-position:66.66666666666667% 100.0%}
.art-p79{background-image:none;background-size:400% 400%;background-position:100.0% 100.0%}
/* Era motion: retain the old image until the brief white flash completes. */
.era-outgoing{position:absolute;inset:0;z-index:7;overflow:hidden;pointer-events:none}
.era-white{position:absolute;inset:0;background:#fff;pointer-events:none}
.era-visual .observatory{transform-origin:center;will-change:transform}
#eraShell .era-progress{background-color:var(--era-band,#102f44);transition:background-color 1s;opacity:1;visibility:visible}
#eraShell[data-theme=birth]{--era-band:#49191d}
#eraShell[data-theme=sea]{--era-band:#0c4260}
#eraShell[data-theme=forest]{--era-band:#24553b}
#eraShell[data-theme=city]{--era-band:#1d2a50}
#eraShell[data-theme=ash]{--era-band:#545c62}
#eraShell.art-first .era-progress{opacity:1;visibility:visible}
#eraShell.art-first .era-time small{visibility:hidden}
.era-time{perspective:300px}.era-time b{transform-origin:center;font-variant-numeric:tabular-nums}
.surprise-start{display:block;width:100%;border:1px solid #fff0be;border-radius:16px;padding:21px 18px;margin:0 0 28px;background:linear-gradient(115deg,#f3d692,#c8efb6);color:#14342b;box-shadow:0 8px 30px #d3d98620;text-align:left;min-height:92px}
.surprise-start>span{display:block;font-size:clamp(22px,5.5vw,29px);font-weight:800;line-height:1.4}
.surprise-start>small{display:block;font-size:13px;margin-top:6px;line-height:1.5}
@media(max-width:680px){body:not(.era-playing) main{padding-top:22px}.surprise-start{margin-bottom:24px;padding:20px 16px}.intro>.eyebrow{font-size:9px;letter-spacing:.1em}}
@media(prefers-reduced-motion:reduce){#eraShell .era-progress{transition:none}.era-visual .observatory{will-change:auto}}

#watch #eraShell[data-theme=birth]{--era-bg:#290c11;--era-glow:#a33c22}
#watch #eraShell[data-theme=sea]{--era-bg:#052943;--era-glow:#167d9c}
#watch #eraShell[data-theme=forest]{--era-bg:#123b2c;--era-glow:#6f9a43}
#watch #eraShell[data-theme=city]{--era-bg:#101b39;--era-glow:#d6b260}
#watch #eraShell[data-theme=ash]{--era-bg:#3c4145;--era-glow:#8e9699}
#result .result-head{text-align:left;max-width:960px;margin:0 auto 24px}
#result #endingLine{font-family:inherit;font-size:clamp(28px,5vw,48px);font-weight:800;line-height:1.5;letter-spacing:0;color:#fff0ca;margin:0 0 18px;overflow-wrap:anywhere}
#result #resultName,#result #planetNickname{font-size:15px;line-height:1.7;margin:3px 0;letter-spacing:0;color:#dce8da}
#result #epithet{display:none}
.result-card-preview{width:100%;max-width:440px;margin:0 auto 36px}
#resultCard{display:block;width:100%;height:auto;border-radius:14px;border:1px solid #799282;box-shadow:0 12px 35px #0003}
.result-card-preview figcaption{font-size:12px;text-align:center;color:#a8bfae;margin:10px 0}
@media(max-width:680px){#result #endingLine{font-size:28px}#result .report h2,#result .portrait-caption h2{font-size:22px}#result .result-head .eyebrow{font-size:10px;margin-bottom:12px}}

#result h2{font-size:26px}@media(max-width:680px){#result h2{font-size:22px}}

#endingCallback{font-size:clamp(17px,4.6vw,24px);line-height:1.8;color:#dce9e0;max-width:40em;margin:18px auto 14px;overflow-wrap:anywhere}#endingBadge{color:#ffdc8e;font-size:20px;font-weight:800}#endingRarity{color:#ffdc8e;font-size:16px;line-height:1.8}.rarity-details{max-width:580px;margin:8px auto 24px;font-size:14px;line-height:1.7;text-align:left}.rarity-details summary{min-height:44px;cursor:pointer}.rarity-details p{font-size:14px!important;color:#b8ccc2!important}.result-head h1{overflow-wrap:anywhere}

/* Random start belongs to the allocation decision, not the introduction. */
.config .surprise-start{margin:20px 0 24px;min-height:88px}

/* Tap-led divine intervention. Text remains visible for as long as the player needs. */
.era-page{grid-template-rows:80px minmax(150px,1fr) auto 76px}
.era-copy{height:auto;max-height:38dvh;overflow:auto;padding:12px 18px}
#eraSentence{font-size:16px;line-height:1.65;margin:6px 0}
#eraIntervention{font-size:13px;line-height:1.5;color:#f5d997;margin:0 0 6px}
#eraChange{font-size:13px;line-height:1.5;margin:6px 0}
.era-page .transport{grid-template-columns:1fr;padding:8px 16px}
.era-page .transport #pause,.era-page .transport label,.era-page .transport #finish{display:none!important}
.era-page .transport #next{font-size:18px!important;background:#e7ce8d!important;color:#182b25!important;font-weight:700;min-height:52px}
.era-page .transport #next:disabled{opacity:.45}
@media(min-height:760px){.era-page{grid-template-rows:90px minmax(180px,1fr) auto 82px}}
.era-copy #eraSentence{display:block;-webkit-line-clamp:unset;overflow:visible;font-size:16px;line-height:1.65;font-weight:600}.era-copy #eraChange{white-space:normal;overflow:visible}

.god-intro{padding:24px;border:1px solid #d6c28066;border-radius:18px;background:#183a32;margin-bottom:26px;color:#fff7df}.god-intro>span{color:#edcf88;font-size:13px;letter-spacing:.15em}.god-intro h2{font-size:24px;line-height:1.6;color:#fff8e3;margin:10px 0}.god-intro p{font-size:16px!important;line-height:1.9!important;color:#e4eee4!important;margin:0!important}
#eraShell #choicePanel{max-height:65%}#eraShell .choice-option:last-child{background:#e5ebdd;border-color:#799274}#eraShell .choice-option{min-height:68px}

.art-eco0{background-image:none;background-size:400% 400%;background-position:0% 0%}
.art-eco1{background-image:none;background-size:400% 400%;background-position:33.33333333333333% 0%}
.art-eco2{background-image:none;background-size:400% 400%;background-position:66.66666666666666% 0%}
.art-eco3{background-image:none;background-size:400% 400%;background-position:100% 0%}
.art-eco4{background-image:none;background-size:400% 400%;background-position:0% 33.33333333333333%}
.art-eco5{background-image:none;background-size:400% 400%;background-position:33.33333333333333% 33.33333333333333%}
.art-eco6{background-image:none;background-size:400% 400%;background-position:66.66666666666666% 33.33333333333333%}
.art-eco7{background-image:none;background-size:400% 400%;background-position:100% 33.33333333333333%}
.art-eco8{background-image:none;background-size:400% 400%;background-position:0% 66.66666666666666%}
.art-eco9{background-image:none;background-size:400% 400%;background-position:33.33333333333333% 66.66666666666666%}
.art-eco10{background-image:none;background-size:400% 400%;background-position:66.66666666666666% 66.66666666666666%}
.art-eco11{background-image:none;background-size:400% 400%;background-position:100% 66.66666666666666%}
.art-eco12{background-image:none;background-size:400% 400%;background-position:0% 100%}
.art-eco13{background-image:none;background-size:400% 400%;background-position:33.33333333333333% 100%}
.art-eco14{background-image:none;background-size:400% 400%;background-position:66.66666666666666% 100%}
.art-eco15{background-image:none;background-size:400% 400%;background-position:100% 100%}

.era-copy #eraSentence{white-space:pre-line}.era-time small{max-width:65%;font-size:12px}

#catalogGrid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.discovery-card{min-width:0;padding:12px;border:1px solid #c0ccba;border-radius:14px;background:#fff9;color:#244333}.discovery-card>.art,.unknown-picture{height:180px;width:100%;border-radius:10px}.unknown-picture{display:grid;place-items:center;font-size:70px;color:#829484;background:#e1e7dc}.discovery-card h3{font-size:16px;line-height:1.5;color:#244333}.discovery-card p{font-size:13px;line-height:1.6}.ending-guide{margin:20px 0;background:#f1f2e7;color:#244333;border:1px solid #b4c4af;border-radius:16px;padding:20px}.ending-guide summary{font-size:20px;cursor:pointer}.ending-guide summary span{font-size:13px}.ending-discovery{border-bottom:1px solid #becdb5;padding:12px 0}.discovered-ending{padding:12px;background:#fff9;border-radius:8px;font-size:16px;line-height:1.7}#discoveryNote{font-size:13px;color:#49654d}@media(max-width:450px){.discovery-card>.art,.unknown-picture{height:130px}.discovery-card{padding:8px}.resident-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}

/* v27: still illustrated endings, large enough to read on a phone. */
.world-ending{width:100%;max-width:820px;margin:24px auto 36px;padding:24px;background:#122a2e;border:1px solid #45605a;border-radius:22px;box-sizing:border-box}
.world-ending h2{font-size:clamp(24px,5.5vw,36px);line-height:1.6;color:#fff1c7;overflow-wrap:anywhere;margin:12px 0}
.world-ending canvas{width:100%;height:auto;display:block;border-radius:14px;background:#203d43}
.world-ending canvas[data-state="loading"]{opacity:.3}.world-ending canvas[data-state="ready"]{opacity:1}
.world-detail,.world-reason{font-size:16px;line-height:1.9;color:#e0ebe3}
.world-location{color:#bfdbcf;font-size:15px;line-height:1.6}.world-status{font-size:12px;overflow-wrap:anywhere;color:#b1c8bd}
.world-ending summary,.world-guide summary{cursor:pointer;min-height:44px;padding:12px 0;font-size:16px;line-height:1.6}
.world-guide{max-width:1180px;width:100%;box-sizing:border-box;margin:20px auto;padding:16px 22px;border:1px solid #38504d;border-radius:16px}
.world-guide p{font-size:15px;line-height:1.8;overflow-wrap:anywhere}.world-guide summary span{color:#bcd5b3;margin-left:10px}
body[data-view="watch"] .world-guide{display:none}
@media(max-width:600px){.world-ending{padding:15px;border-radius:16px}.world-ending h2{font-size:25px}.world-guide{padding:12px 16px}.world-ending details summary{font-size:15px}}

#worldCollection canvas{display:block;width:100%;max-width:480px;height:auto;border-radius:12px}
.major-moment{--moment:#ffe09a;position:absolute;inset:0;z-index:8;pointer-events:none;border:3px solid var(--moment);border-radius:12px;box-shadow:inset 0 0 35px color-mix(in srgb,var(--moment) 30%,transparent);animation:moment-arrive var(--moment-duration,1200ms) ease-out both;display:flex;align-items:center;flex-direction:column;padding:14px 8px;box-sizing:border-box;color:var(--moment)}
.major-moment[data-color="ember"]{--moment:#ff9a72}.major-moment[data-color="mint"]{--moment:#a5f2ce}.major-moment[data-color="violet"]{--moment:#d8beff}.major-moment[data-color="ash"]{--moment:#d0d5dc}
.major-moment small,.major-moment strong,.major-moment span{background:#10212bed;text-align:center;max-width:100%;box-sizing:border-box;text-shadow:0 1px 3px #000}
.major-moment small{font:600 11px/1.5 sans-serif;letter-spacing:.18em;padding:5px 16px 0;border-radius:10px 10px 0 0}.major-moment strong{font:800 clamp(24px,5vw,34px)/1.4 sans-serif;letter-spacing:.12em;padding:0 18px}.major-moment span{font:500 12px/1.6 sans-serif;padding:2px 12px 7px;border-radius:0 0 10px 10px;overflow-wrap:anywhere}
.era-playing #eraShell.choosing .major-moment{display:none}
@keyframes moment-arrive{0%{opacity:0;box-shadow:inset 0 0 0 transparent}22%{opacity:1;box-shadow:inset 0 0 75px color-mix(in srgb,var(--moment) 50%,transparent)}100%{opacity:1;box-shadow:inset 0 0 20px color-mix(in srgb,var(--moment) 18%,transparent)}}
@media(prefers-reduced-motion:reduce){.major-moment{animation:none}}
@media(max-height:650px){.major-moment{padding-top:6px}.major-moment small{display:none}.major-moment strong{font-size:22px;border-radius:8px 8px 0 0}.major-moment span{font-size:11px}}

.major-moment::after{content:'';position:absolute;left:50%;top:50%;width:35%;aspect-ratio:1;border:2px solid var(--moment);border-radius:50%;opacity:0;pointer-events:none;animation:moment-ring var(--moment-duration,1200ms) ease-out both}
.major-moment[data-color="ember"]::after{border-radius:2px;transform:translate(-50%,-50%) rotate(45deg)}
.major-moment[data-color="gold"]::after{border-style:dashed;border-width:4px}
.major-moment[data-color="ash"]::after{display:none}
@keyframes moment-ring{0%{transform:translate(-50%,-50%) scale(.3);opacity:0}20%{opacity:.65}100%{transform:translate(-50%,-50%) scale(2.8);opacity:0}}
@media(prefers-reduced-motion:reduce){.major-moment::after{display:none}}
.chapter-door{position:fixed;inset:0;margin:0;border:0;padding:0;width:100vw;height:100vh;height:100dvh;max-width:none;max-height:none;color:#fff4d9;overflow:hidden;box-sizing:border-box}.chapter-door::backdrop{background:#07141c}.chapter-door-content{border:0;background:none;color:inherit;width:100%;height:100%;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:18px;padding:24px;cursor:pointer;box-sizing:border-box;font-family:inherit;animation:chapter-in .25s ease-out}.chapter-number{font-size:22px;letter-spacing:.18em}.chapter-door-content strong{font-size:clamp(32px,8vw,54px);line-height:1.4;letter-spacing:.06em;text-align:center}.chapter-year{font-size:19px;line-height:1.5}.chapter-door-content small{margin-top:28px;font-size:14px;color:#cbd8dc}.chapter-door.leaving .chapter-door-content{animation:chapter-out .18s ease-in forwards}.chapter-door-content:focus-visible{outline:3px solid #eee0ab;outline-offset:-8px}@keyframes chapter-in{from{opacity:0}to{opacity:1}}@keyframes chapter-out{from{opacity:1}to{opacity:0}}
#eraShell .era-track{position:relative;overflow:visible;height:6px;margin:7px 0 4px;border-radius:3px}#eraShell .era-track #eraFill{position:absolute;left:0;top:0;height:100%;background:#ffffff33;border-radius:0;transition:width .8s}.chapter-boundary{position:absolute;top:-2px;bottom:-2px;width:2px;background:#07151a;transform:translateX(-2px)}.chapter-boundary:last-of-type{background:#d0d5dc}#eraShell .chapter-position{position:absolute;top:-3px;width:4px;height:12px;transform:translateX(-3px);background:#fff;box-shadow:0 0 0 1px #07151a}#chapterLegend{display:block;font-size:11px;line-height:14px;color:#dce9dd;letter-spacing:.12em}#eraShell .era-bar-note{font-size:10px;line-height:12px}
@media(prefers-reduced-motion:reduce){.chapter-door-content,.chapter-door.leaving .chapter-door-content{animation:none}}

.journal-world.world-dead{background:radial-gradient(circle at 50% 50%,#858581 0 24%,#aaa9a3 25%,#484c50 27%,#111d29 29%);filter:grayscale(1)}

/* Catastrophes use two explicit tap-led still frames. */
.disaster-art{background-size:contain!important;background-position:center!important;background-repeat:no-repeat;background-color:#41464c}
#eraShell[data-disaster=impact] .era-visual{outline:4px solid #ff776d;outline-offset:-4px}
#eraShell[data-disaster=changed] .era-visual{outline:4px solid #d7a7ff;outline-offset:-4px;box-shadow:inset 0 0 55px #b86aff88}
.disaster-journal{display:grid;grid-template-columns:1fr;gap:8px;padding:8px;background:#3d444b}
.disaster-journal figure{margin:0;min-width:0}.disaster-journal img{display:block;width:100%;height:auto;object-fit:contain}.disaster-journal figcaption{font-size:13px;line-height:1.6;color:#fff2cf;padding:6px}
@media(max-width:390px){.disaster-journal{grid-template-columns:1fr 1fr}.disaster-journal figcaption{font-size:12px}}

.creator-credit{margin:40px 0 0;padding:24px 16px;border-top:1px solid #638077;text-align:center;color:#dce8df;font-size:15px;line-height:1.8}.creator-credit p{margin:8px 0}.creator-credit a{display:inline-block;color:#ffe4a2;text-decoration:underline;text-underline-offset:4px;padding:6px}.creator-credit a:focus-visible{outline:2px solid #ffe4a2;outline-offset:3px}
