/* Hall of Conquerors: a dark roll of names, laid out the same on phone and desktop */
.hall-page{padding-bottom:24px}
.hall-hero{position:relative;overflow:hidden;margin-bottom:14px;padding:22px 22px 18px;border:1px solid #5a4a2a;border-radius:14px;background:radial-gradient(80% 120% at 85% 0%,#3b2d1344,transparent 70%),linear-gradient(180deg,#14100c,#0b0908);box-shadow:0 10px 30px #000a inset}
.hall-shade{position:absolute;inset:0;background:linear-gradient(90deg,transparent,#0b090866);pointer-events:none}
.hall-hero-text{position:relative;max-width:560px}
.hall-hero-text h2{margin:6px 0 4px;font-family:var(--title);font-size:34px;letter-spacing:2px;color:#ecdcb8;text-shadow:0 0 20px #8a6a2a66,0 3px 6px #000}
.hall-lore,.hall-note{margin:0 0 10px;color:#c9bca4;font-size:13px;line-height:1.55}
.hall-panel{padding:16px;border:1px solid #3a2f22;border-radius:12px;background:#120e0b;color:#cfc2b0}
.hall-grave{margin:0 0 16px;padding:14px;border:1px solid #3a2f22;border-radius:14px;background:linear-gradient(180deg,#15100c,#0e0b09)}
.hall-grave>header{display:flex;gap:12px;align-items:center;margin-bottom:8px}
.hall-grave h3{margin:0;font-family:var(--title);font-size:20px;letter-spacing:1px;color:#ecdcb8}
.hall-grave header p{margin:0;color:#a89a80;font-size:12px}
.hall-numeral{display:grid;place-items:center;min-width:44px;height:44px;border:1px solid #7a6030;border-radius:50%;color:#d8b86a;font-family:var(--title);font-size:18px;background:#1a130b}
.hall-grave h4{margin:12px 0 6px;color:#d8b86a;font-size:12px;letter-spacing:1.4px;text-transform:uppercase}
.hall-grave h4 small{color:#8f8168;letter-spacing:0;text-transform:none;margin-left:6px}
.hall-list{margin:0;padding:0;list-style:none;display:grid;gap:4px}
.hall-entry{display:grid;grid-template-columns:34px 1fr;gap:2px 10px;align-items:baseline;padding:7px 10px;border:1px solid #2c2419;border-radius:8px;background:#100c09}
.hall-entry.is-me,.hall-roll .is-me{border-color:#b08a3a;background:#1d1609;color:#f2e4c4}
.hall-rank{grid-row:1/3;color:#d8b86a;font-family:var(--title);font-size:18px;text-align:center}
.hall-name{color:#ecdcb8;overflow-wrap:anywhere}
.hall-name small,.hall-meta{color:#948770;font-size:12px}
.hall-roll{display:flex;flex-wrap:wrap;gap:6px;margin:0}
.hall-roll span{padding:3px 8px;border:1px solid #2c2419;border-radius:999px;color:#bdae92;font-size:12px}
.hall-mine{margin:0 0 6px;color:#e8cf8a;font-size:13px}
.hall-empty{margin:0;color:#7f735d;font-size:13px;font-style:italic}
.hall-actions{margin-top:8px}
@media (max-width:600px){.hall-hero-text h2{font-size:26px}.hall-entry{grid-template-columns:28px 1fr}}
@media (prefers-reduced-motion:no-preference){.hall-entry{transition:border-color .2s}}

/* Archivist pages (chapter card, seal-break confession, journal) */
.st-card{position:relative;display:flex;gap:14px;margin:0 0 12px;padding:14px 16px;border:1px solid #4d5a2e;border-radius:14px;background:radial-gradient(90% 140% at 0% 0%,#2a3a1a55,transparent 65%),linear-gradient(180deg,#12150c,#0b0c08);color:#d6d0bd}
.st-pending{display:block;border-color:#7a6030;background:radial-gradient(90% 140% at 0% 0%,#4a38155a,transparent 65%),linear-gradient(180deg,#17120a,#0c0a07)}
.st-numeral{flex:none;display:grid;place-items:center;width:46px;height:46px;border:1px solid #6f8a3c;border-radius:50%;color:#b9d27a;font-family:var(--title);font-size:19px;background:#10160a}
.st-card h3{margin:2px 0 4px;font-family:var(--title);font-size:20px;letter-spacing:1px;color:#ecdcb8}
.st-hook{margin:0 0 6px;color:#b9ae94}
.st-ask,.st-line{margin:0 0 6px;font-size:13px;line-height:1.55}
.st-clue{margin:8px 0 4px;color:#e8cf8a;font-size:13px}
.st-reward{margin:0 0 6px;color:#9fb86a;font-size:12px}
.st-evidence{margin:6px 0 8px;padding:0;list-style:none;display:grid;gap:4px}
.st-evidence li{display:grid;grid-template-columns:1fr auto;gap:0 10px;padding:5px 9px;border:1px solid #2c3320;border-radius:8px;background:#0e110a;font-size:12px}
.st-evidence li small{grid-column:1/3;color:#8d8670}
.st-evidence li.is-done{border-color:#6f8a3c;color:#c9dc98}
.st-actions{display:flex;flex-wrap:wrap;gap:8px;margin-top:6px}
.st-journal h4{margin:10px 0 4px;color:#d8b86a;font-size:12px;letter-spacing:1.2px;text-transform:uppercase}
@media (max-width:600px){.st-card{gap:8px;padding:12px}.st-numeral{display:none}.st-evidence li small{display:none}.st-card h3{font-size:18px}}
@media (prefers-reduced-motion:no-preference){.st-pending{animation:st-in .5s ease-out both}@keyframes st-in{from{opacity:0}to{opacity:1}}}
.st-strip{display:flex;gap:10px;align-items:center;margin:0 0 8px;padding:8px 12px;border:1px solid #4d5a2e;border-radius:12px;background:linear-gradient(180deg,#12150c,#0b0c08);color:#d6d0bd;font-size:13px}
.st-strip>div{flex:1;min-width:0}.st-strip .st-numeral{width:30px;height:30px;font-size:14px}.st-strip b{display:block;color:#ecdcb8}
.st-prog{color:#a8b27e;font-size:12px}.st-strip .st-line{margin:2px 0 0}
.st-entrance{border-color:#7a6030;background:linear-gradient(180deg,#17120a,#0c0a07)}
.st-arrival .st-line{margin:0 0 6px}
@media (max-width:600px){.st-arrival .st-numeral{display:none}.st-strip .st-numeral{display:none}}
@media (prefers-reduced-motion:no-preference){.st-arrival,.st-entrance{animation:st-in .5s ease-out both}}

/* Seal-break scene and discoveries */
.st-scene{position:fixed;inset:0;z-index:900;display:flex;align-items:flex-end;justify-content:center;background:#050403;overflow:hidden}
.st-scene-art{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;opacity:.85}
.st-scene-shade{position:absolute;inset:0;background:linear-gradient(180deg,#0000 20%,#050403d0 62%,#050403)}
.st-scene-text{position:relative;width:min(640px,100%);max-height:78vh;overflow:auto;padding:18px 22px 26px;color:#e6dcc6}
.st-scene-text h3{margin:4px 0 10px;font-family:var(--title);font-size:26px;letter-spacing:1.5px;color:#f0e2c0;text-shadow:0 2px 10px #000}
.st-scene-text .st-line{font-size:16px;line-height:1.6;text-shadow:0 1px 6px #000}
.st-moment{margin:0 0 10px;padding:12px 16px;border:1px solid #9a7a36;border-radius:12px;background:radial-gradient(90% 160% at 0% 0%,#5a421a66,transparent 70%),linear-gradient(180deg,#1a140a,#0c0a07);color:#e6dcc6}
.st-moment h3{margin:2px 0 4px;font-family:var(--title);font-size:19px;color:#f0dca0}.st-moment p{margin:0 0 8px;font-size:14px;line-height:1.5}
.st-found{margin:0 0 8px;padding:0 0 0 16px;font-size:13px;color:#cfc4aa}.st-found b{color:#e8cf8a}
@media (prefers-reduced-motion:no-preference){
 .st-scene{animation:st-in .8s ease-out both}
 .st-scene-text .st-line{opacity:0;animation:st-line .9s ease-out forwards}
 .st-scene-text .st-line{animation-delay:calc(.6s + var(--i,0)*1.4s)}
 .st-moment{animation:st-in .4s ease-out both}
 @keyframes st-line{from{opacity:0;transform:translateY(6px)}to{opacity:1;transform:none}}
}

/* Keep story cards readable on wide screens: never full width */
.st-moment,.st-strip,.st-card{max-width:820px}
.st-scene-text .st-hook{color:#cdbf9f}
/* Scale the scene type with the screen so it reads on 1440p and 4K as well as on a phone */
.st-scene-text{width:min(clamp(640px,34vw,900px),100%)}
.st-scene-text .st-line{font-size:clamp(16px,1.1vw,24px)}
.st-scene-text h3{font-size:clamp(26px,1.9vw,42px)}
.st-scene-text .eyebrow{font-size:clamp(11px,.8vw,16px)}
.st-scene-text .st-hook{font-size:clamp(14px,1vw,22px)}
.st-scene-text .st-actions button{font-size:clamp(14px,.9vw,20px);padding:.6em 1.4em}
.st-scene-text .st-line{margin:0 0 .75em}.st-scene-text .st-actions{margin-top:1em}
.st-evidence li.is-locked{opacity:.6;border-style:dashed}
.st-pop{position:fixed;inset:0;z-index:60;display:grid;place-items:center;padding:16px;background:#000a;pointer-events:auto}
.st-pop .st-moment{margin:0;width:min(520px,100%)}
.camp-pop{display:grid;gap:12px;max-width:760px;margin:0 auto}
.camp-pop .st-card,.camp-pop .st-journal{max-width:none;margin:0}
.camp-btn{position:relative}
.camp-btn .hunt-stats-dot{position:absolute;top:2px;right:2px}
/* Chapter cards: the action buttons stay in view while the text scrolls (Phase 1) */
.st-scene-text{max-height:min(78vh,calc(100dvh - 24px));padding-bottom:0}
.st-scene-text .st-actions{position:sticky;bottom:0;z-index:2;margin-top:8px;padding:12px 0 calc(12px + env(safe-area-inset-bottom,0px));background:linear-gradient(180deg,#0000,#050403 40%)}
.st-scene-text .st-actions button{min-height:44px;min-width:44px}
