/* Pass 1: hierarchy, readable type and consistent controls. */
.iron-theme{--control-bg:#171e1e;--control-edge:#9a7c514f;--panel2:#202a2a;--mono:'Rhyl Manrope','Segoe UI',sans-serif;color-scheme:dark}
.iron-theme .micro,.iron-theme .eyebrow{font-size:11px;line-height:1.65;letter-spacing:.15em}
.iron-theme .flow-pill{font:500 10px/1.5 'Rhyl Manrope',sans-serif;letter-spacing:.05em;border-radius:4px;padding:5px 8px}
.iron-theme .field-help{font-size:13px;line-height:1.7;color:#abb6b1}
.iron-theme label{font-size:13px;letter-spacing:0;line-height:1.6}
.iron-theme input:not([type=checkbox]):not([type=range]),.iron-theme textarea,.iron-theme select{font:14px/1.6 'Rhyl Manrope',sans-serif;border:1px solid var(--control-edge);border-radius:7px;background:#121a1bd9;min-height:46px;padding:11px 13px;transition:border-color .18s,box-shadow .18s}
.iron-theme input::placeholder,.iron-theme textarea::placeholder{color:#89958f;opacity:1}
.iron-theme input:focus,.iron-theme textarea:focus,.iron-theme select:focus{border-color:#d1a565;box-shadow:0 0 0 3px #c99b4e18}
.iron-theme input[type=checkbox]{accent-color:#dcb275;width:17px;height:17px;flex-shrink:0}
.iron-theme textarea{resize:vertical}
.iron-theme .button:not(.quiet){font-size:20px;min-height:50px;padding:12px 22px;gap:12px;line-height:1.3}
.iron-theme .button.secondary:not(.iron-enter){background:linear-gradient(#26302c,#18201e);border:1px solid #ae8d585e;box-shadow:inset 0 1px #e0bd8220,0 2px 5px #0005;color:#e6d7bc;font:600 18px/1.4 'Rhyl Rajdhani',sans-serif;min-height:44px;padding:10px 18px;border-radius:6px}
.iron-theme .button.secondary:not(.iron-enter)::before{display:none}
.iron-theme .button.secondary:not(.iron-enter):hover{border-color:#cea66a;background:linear-gradient(#303b34,#202a24);transform:translateY(-1px);filter:none}
.iron-theme .button.secondary:not(.iron-enter):active{transform:translateY(1px)}
.iron-theme .button.quiet{min-height:42px;padding:10px 13px;border-radius:5px;font-size:13px;color:#bfc9c2}
.iron-theme .button.quiet:hover{background:#ddd0aa0b;color:#ffe0af}
.iron-theme .button:disabled{cursor:not-allowed;opacity:.5;transform:none!important;filter:grayscale(.5)!important}
.iron-theme .tab{font:500 13px/1.4 'Rhyl Manrope',sans-serif;min-height:42px;padding:10px 16px;border-radius:6px;background:#101818c9;transition:background .15s,border-color .15s}
.iron-theme .tab:hover{border-color:#a58a5b;background:#253028}
.iron-theme .tab.active,.iron-theme .tab[aria-pressed=true]{background:#5d482a66;border-color:#c5a06a;color:#f8dba9}
.iron-theme .flow-heading h1,.iron-theme .page h1,.iron-theme .atlas-heading h1{font:600 clamp(36px,3.6vw,52px)/1.12 'Rhyl Rajdhani',sans-serif;letter-spacing:-.02em;margin:15px 0 20px}
.iron-theme .flow-heading .lead,.iron-theme .page-top>.lead,.iron-theme .atlas-heading .lead{font-size:16px;line-height:1.75;margin:0;max-width:43ch}
.iron-theme .flow-heading,.iron-theme .atlas-heading{min-height:210px;margin-bottom:24px}
.iron-theme .iron-rail nav{gap:4px}.iron-theme .iron-rail nav a{font-size:20px;min-height:44px;padding:11px 0;position:relative}
.iron-theme .iron-rail nav a[aria-current=page]::before{content:'';position:absolute;left:-28px;top:10px;bottom:10px;width:3px;background:#e8b16c;box-shadow:0 0 12px #e8b16c66}
.iron-theme .iron-rail nav a kbd{margin-left:auto;font:12px 'Rhyl Manrope',sans-serif;border:1px solid #ab977c55;border-radius:4px;padding:0 5px;color:#9fa99f}
.iron-theme .journey-trail{font-size:12px;background:#101616dd;backdrop-filter:blur(8px)}
.iron-theme .iron-hero-copy>.eyebrow{font-size:10px}.iron-theme .iron-hero-actions{gap:24px}
.iron-theme .iron-session .button{min-width:0}.iron-theme .iron-reading>a{gap:18px}.iron-theme .iron-reading h3{font-size:23px}
/* Pass 2: useful content above the fold, clear browsing and quieter surfaces. */
.iron-theme .archive-page{padding-top:52px;padding-bottom:70px}
.archive-page .page-top{padding-bottom:28px;margin-bottom:0;border:0}
.archive-tools{padding:20px 0 22px;border-top:1px solid var(--line);border-bottom:1px solid var(--line);margin:0 0 8px}
.archive-tools .tabs{margin:0 0 20px;gap:8px;flex-wrap:wrap}
.archive-filter-row{display:grid;grid-template-columns:minmax(220px,1fr) minmax(160px,240px);gap:20px;align-items:end;max-width:800px}
.archive-filter-row label.search,.archive-filter-row .archive-tag-filter{margin:0;padding:0;border:0;width:100%;max-width:none;display:grid;gap:8px}
.archive-filter-row input,.archive-filter-row select{width:100%;max-width:none}
.archive-filter-row .micro{letter-spacing:0;text-transform:none;font:13px 'Rhyl Manrope',sans-serif;color:#c0c8be}
.archive-result-bar{display:flex;align-items:center;justify-content:space-between;gap:20px;min-height:55px;color:var(--muted);font-size:13px}
.archive-result-bar p{margin:0}.archive-result-bar button[hidden]{display:none}
.iron-theme .archive-page .entries{gap:0 40px}
.iron-theme .archive-entry{display:grid;grid-template-columns:126px minmax(0,1fr);gap:22px;padding:24px 18px 24px 0;border-top:1px solid var(--line);border-bottom:0;min-height:174px;align-items:start;transition:background .18s}
.iron-theme .archive-entry:hover{background:#dcc38d07}.archive-entry .entry-art{overflow:hidden;border-radius:6px;background:#171c1c;align-self:start;border:1px solid #b28b4b3d}
.archive-entry .entry-art img{display:block;width:100%;height:116px;object-fit:cover;transition:transform .5s,filter .3s;filter:saturate(.75)}
.archive-entry:hover .entry-art img{transform:scale(1.04);filter:saturate(1)}
.iron-theme .archive-entry h2{font:600 28px/1.15 'Rhyl Rajdhani',sans-serif;margin:8px 0 10px}.iron-theme .archive-entry p{font-size:14px;line-height:1.7;margin:0;color:#b8c3bb}
.archive-entry .arrow{top:26px;right:0;font-size:17px}.archive-entry .entry-tags:empty{display:none}.archive-entry .entry-tags{margin-top:10px}
.archive-empty{padding:40px 0;grid-column:1/-1}.archive-empty h2{font:600 30px 'Rhyl Rajdhani',sans-serif}.archive-empty p{color:var(--muted)}
.iron-theme .person-card,.iron-theme .journal-card{border-radius:8px;border:1px solid #a7895333;background:#171e1e9e;overflow:hidden;transition:transform .2s,border-color .2s,box-shadow .2s}
.iron-theme .person-card:hover,.iron-theme .journal-card:hover{transform:translateY(-3px);border-color:#b58f506b;box-shadow:0 10px 28px #0003}
.iron-theme .person-card h2,.iron-theme .journal-card h2{font-size:28px;line-height:1.2}
.iron-theme .person-placeholder{background:linear-gradient(#111a1bb0,#111a1bd9),url('/assets/iron-crew-room.webp') center/cover;aspect-ratio:16/9;border:0;color:#e0bd83}
.iron-theme .person-placeholder>span{border:1px solid #bd9a6155;display:grid;place-items:center;width:70px;height:70px;border-radius:50%;background:#121a1abb;font:600 30px 'Rhyl Rajdhani',sans-serif}
.iron-theme .journal-card::before{content:'';display:block;height:110px;margin:-26px -26px 22px;background:linear-gradient(90deg,#111a1a99,transparent),url('/assets/iron-journal.webp') center 58%/cover;border-bottom:1px solid var(--line)}
.iron-theme .lobby-card{background:linear-gradient(145deg,#1a2423e6,#111919ed);border:1px solid #b89b6155;box-shadow:0 12px 35px #0003,inset 0 1px #e0c99b0a;border-radius:10px;padding:30px}
.iron-theme .lobby-card .action-row{align-items:center;gap:16px}.iron-theme .lobby-card h2{font-size:42px;margin:22px 0 10px}
.iron-theme .lobby-status{font:600 22px 'Rhyl Rajdhani',sans-serif}.iron-theme .lobby-grid{gap:40px;grid-template-columns:minmax(0,1.15fr) minmax(0,.85fr)}
.iron-theme .arrival-guide{background:#111a1ac9;border:1px solid #a7895333;border-radius:9px;padding:25px}.iron-theme .arrival-guide h2{font-size:27px}.iron-theme .arrival-guide h3{font-size:19px}.iron-theme .arrival-guide p{font-size:13px}.iron-theme .arrival-guide li{padding:14px 0}.iron-theme .arrival-guide li:last-child{padding-bottom:0}
.iron-theme .arrival-reading a>span{font-size:11px}.iron-theme .arrival-reading strong{font:600 23px 'Rhyl Rajdhani',sans-serif}
.iron-theme .notice{border-radius:7px;line-height:1.7;font-size:13px;background:#18211fd9;border-color:#a7895344}
.iron-theme .workspace-settings .button,.iron-theme .workspace-tree .button,.iron-theme .access-page .button{font-size:18px}
.iron-theme .workspace-actions{padding:16px 0;border-bottom:1px solid var(--line);margin-bottom:22px}
.iron-theme .workspace-page>.flow-heading{min-height:180px}.iron-theme .workspace-tree nav{border-radius:7px;overflow:hidden}.iron-theme .workspace-tree nav button{border-left-color:transparent;border-radius:4px}
.iron-theme .workspace-tree nav button[aria-current=page]{background:#6a4b272b;border-left-color:#c5a06a}.iron-theme .workspace-settings .flow-panel{border-radius:8px}
.iron-theme .lore-body{font-size:17px;line-height:1.9}.iron-theme .lore-deck{font-size:19px;line-height:1.7}.iron-theme .lore-meta{font-size:11px;letter-spacing:.04em}.iron-theme .lore-article h1{font-size:clamp(38px,4vw,58px);line-height:1.1}
.iron-theme .lore-related .button{font-size:19px}.iron-theme .lore-nearby a,.iron-theme .lore-rail a{min-height:32px;display:flex;align-items:center}
.iron-theme .map-dossier .button{font-size:18px}.iron-theme .map-label{font-size:11px}.iron-theme .atlas-page label{font-size:13px}.iron-theme .map-dossier .micro{font-size:11px}
.iron-theme .auth{background:#111a1ae6;border:1px solid #b7985f44;border-radius:12px;box-shadow:0 20px 60px #0004;padding:32px}.iron-theme .sign-in-page{padding-top:64px;align-items:start}.iron-theme .sign-in-page .auth h1{font-size:46px}.iron-theme .sign-in-page .auth>p{font-size:14px;line-height:1.8}.iron-theme .sign-in-guide{padding-top:30px}
/* Pass 3: mobile reach, feedback and restrained motion. */
.iron-theme #toast:not(:empty){background:#263127;color:#f6ead5;border:1px solid #b89b6180;border-radius:8px;box-shadow:0 10px 30px #0006;padding:15px 22px;font:14px/1.6 'Rhyl Manrope',sans-serif;max-width:min(480px,calc(100vw - 32px))}
.iron-theme summary{min-height:44px;align-content:center}.iron-theme .search-input-row{max-width:800px}.iron-theme .search-result{padding:26px 0}.iron-theme .search-result h2{font-size:30px}
.iron-theme .iron-reading>a:hover h3,.iron-theme .archive-entry:hover h2{color:#f4c783}
@media(max-width:1100px){.iron-theme .lobby-grid{grid-template-columns:1fr}.iron-theme .lobby-grid>aside{display:grid;grid-template-columns:1fr 1fr;gap:26px;align-items:start}.iron-theme .arrival-reading{margin-top:0}.iron-theme .arrival-help{grid-column:1/-1}.iron-theme .archive-entry{grid-template-columns:100px minmax(0,1fr);gap:18px}.archive-entry .entry-art img{height:104px}}
@media(max-width:760px){
 .iron-theme .iron-rail{position:sticky;top:0;max-height:100svh;overflow-y:auto;padding:16px 22px;min-height:84px;box-shadow:0 6px 22px #0004}
 .iron-theme .iron-brand{font-size:28px}.iron-theme .iron-brand small{font-size:8px}.iron-theme .iron-rail nav a[aria-current=page]::before{left:-10px;top:12px;bottom:12px;width:2px}.iron-theme .iron-rail nav a kbd{display:none}
 .iron-theme .journey-trail{font-size:11px;padding-top:14px;padding-bottom:14px}.iron-theme .iron-backdrop{top:84px;height:360px}
 .iron-theme .flow-heading,.iron-theme .atlas-heading{min-height:195px;margin-bottom:22px;padding-top:12px}.iron-theme .flow-heading h1,.iron-theme .page h1,.iron-theme .atlas-heading h1{font-size:38px}.iron-theme .flow-heading .lead,.iron-theme .page-top>.lead,.iron-theme .atlas-heading .lead{font-size:15px;line-height:1.75}
 .iron-theme input:not([type=checkbox]):not([type=range]),.iron-theme select,.iron-theme textarea{font-size:16px}.iron-theme .tab{min-height:44px;font-size:13px;padding:10px 13px}
 .iron-theme .button:not(.quiet){font-size:20px;min-height:50px}.iron-theme .button.secondary:not(.iron-enter){font-size:19px;min-height:44px;padding:10px 16px}.iron-theme .field-help{font-size:12px}
 .iron-theme .archive-page{padding-top:34px}.archive-filter-row{grid-template-columns:1fr;gap:16px}.archive-tools{padding:18px 0}.archive-tools .tabs{gap:7px;margin-bottom:20px}.iron-theme .archive-page .entries{display:block}
 .iron-theme .archive-entry{grid-template-columns:92px minmax(0,1fr);gap:17px;padding:22px 10px 22px 0;min-height:140px}.archive-entry .entry-art img{height:96px}.iron-theme .archive-entry h2{font-size:25px}.iron-theme .archive-entry p{font-size:13px;line-height:1.65}.archive-entry .arrow{display:none}.archive-entry .micro{font-size:10px;letter-spacing:.08em}
 .iron-theme .lobby-grid>aside{display:block}.iron-theme .arrival-reading{margin-top:28px}.iron-theme .lobby-card{padding:24px}.iron-theme .lobby-card h2{font-size:36px}.iron-theme .lobby-card .action-row{display:grid;justify-items:start}.iron-theme .arrival-guide{padding:22px}
 .iron-theme .workspace-page>.flow-heading{min-height:195px}.iron-theme .workspace-actions{position:sticky;top:83px;background:#101818f5;z-index:3;box-shadow:0 8px 16px #0002;padding:12px 0}.iron-theme .workspace-actions .action-row{gap:10px}.iron-theme .workspace-tree nav button[aria-current=page]{border-bottom-color:#c5a06a}
 .iron-theme .sign-in-page{padding-top:32px}.iron-theme .auth{padding:25px}.iron-theme .sign-in-page .auth h1{font-size:38px}.iron-theme .sign-in-guide{padding-top:0}.iron-theme .lore-body{font-size:16px;line-height:1.85}.iron-theme .lore-deck{font-size:18px}.iron-theme .journal-card::before{margin:-22px -22px 20px}
}
@media(prefers-reduced-motion:reduce){.iron-theme .archive-entry img,.iron-theme .person-card,.iron-theme .journal-card,.iron-theme .button.secondary:hover{transform:none!important;transition:none!important}}
.iron-paused .archive-entry img,.iron-paused .person-card,.iron-paused .journal-card{transition:none}.iron-paused .archive-entry:hover img,.iron-paused .person-card:hover,.iron-paused .journal-card:hover{transform:none}
.password-control{display:flex;align-items:center;border:1px solid var(--control-edge);background:#121a1bd9;border-radius:7px;overflow:hidden}
.iron-theme .password-control input{border:0!important;box-shadow:none!important;min-width:0;flex:1;background:transparent!important}
.password-control:focus-within{outline:2px solid #d1a565;outline-offset:3px}.password-control button{margin-right:4px;min-width:58px}
.iron-theme .auth-password>label{display:block;margin-bottom:8px}
/* Second visual review: keep card copy inset from artwork. */
.iron-theme .person-card,.iron-theme .journal-card{padding:24px}
.iron-theme .journal-card::before{margin:-24px -24px 22px}
.iron-theme .person-card>.person-portrait,.iron-theme .person-card>.person-placeholder{margin:-24px -24px 20px;width:calc(100% + 48px)}
.iron-theme .person-card>.eyebrow{margin-top:0}
@media(max-width:760px){.iron-theme .person-card,.iron-theme .journal-card{padding:22px}.iron-theme .journal-card::before{margin:-22px -22px 20px}.iron-theme .person-card>.person-portrait,.iron-theme .person-card>.person-placeholder{margin:-22px -22px 20px;width:calc(100% + 44px)}}
.iron-theme .password-control button{width:auto;flex:0 0 auto;margin-right:5px;min-width:60px;font:13px 'Rhyl Manrope',sans-serif}
.iron-theme .sign-in-guide{background:linear-gradient(90deg,#101919ec,#10191966);padding:28px;border-left:1px solid #b9955a55;border-radius:0 8px 8px 0}
@media(max-width:760px){.iron-theme .sign-in-guide{padding:24px}.iron-theme .reading-section,.iron-theme .lore-body section,.iron-theme .lore-related,.iron-theme #main{scroll-margin-top:110px}}
.archive-filter-row.archive-no-tags{grid-template-columns:1fr;max-width:640px}.archive-filter-row [hidden]{display:none!important}
.iron-theme .flow-heading,.iron-theme .archive-page .page-top{animation:iron-arrive .35s ease-out both}
.iron-paused .flow-heading,.iron-paused .archive-page .page-top{animation:none}
@media(max-width:760px){.iron-theme .archive-tools .tab{padding:10px}}
@media(prefers-reduced-motion:reduce){.iron-theme .flow-heading,.iron-theme .archive-page .page-top{animation:none}}
@media(max-width:760px){.iron-theme .workspace-actions .action-row{display:grid;grid-template-columns:auto minmax(0,1fr);width:100%;gap:10px}.iron-theme .workspace-actions .button{font-size:18px!important;padding:10px 14px!important;min-width:0}}
.iron-theme .iron-enter{padding-inline:9px!important;gap:7px!important}.iron-enter>span{white-space:nowrap}
@media(min-width:761px) and (max-width:1000px){.iron-theme .archive-page .entries{grid-template-columns:1fr}.iron-theme .archive-entry{grid-template-columns:126px minmax(0,1fr)}.archive-entry .entry-art img{height:110px}}
