/* PraiseBob.com — shared styles, from the approved Version 1 design. */
:root {
  --night: #16110D;
  --panel: #1F1812;
  --foil: #C2A26A;
  --paper: #F4EDE0;
  --card: #FBF7EF;
  --ink: #1E1A16;
  --rubric: #7A2418;
  --rubric-dark: #5C1B12;
  --soft: #4A4037;
  --soft-2: #5A4E42;
  --line: #E2D7C3;
  --line-soft: #EDE4D3;
  --on-night: #E9DFCC;
  --on-night-soft: #CFC3AE;
  --on-night-muted: #A99D89;
  --font-body: 'EB Garamond', Georgia, serif;
  --font-display: 'IM Fell English', Georgia, serif;
  --font-caps: 'IM Fell English SC', Georgia, serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--font-body); font-size: 19px; line-height: 1.5; }
a { color: var(--rubric); }
a:hover { color: var(--rubric-dark); }
img { max-width: 100%; height: auto; }
:focus-visible { outline: 2px solid var(--foil); outline-offset: 2px; }

.wrap { max-width: 1240px; margin: 0 auto; padding-left: 32px; padding-right: 32px; }
.narrow { max-width: 860px; margin: 0 auto; padding-left: 32px; padding-right: 32px; }
@media (max-width: 600px) {
  .wrap, .narrow { padding-left: 16px; padding-right: 16px; }
}

.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; z-index: 10; background: var(--card); padding: 8px 12px; }

/* ---------- Header ---------- */
.site-header { background: var(--night); border-bottom: 1px solid rgba(194,162,106,0.28); }
.site-header .wrap { padding-top: 18px; padding-bottom: 18px; display: flex; flex-wrap: wrap; align-items: center; gap: 16px 32px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--foil); margin-right: auto; }
.brand:hover { color: var(--foil); }
.brand span { font-family: var(--font-caps); font-size: 24px; letter-spacing: 0.06em; }
.main-nav { display: flex; flex-wrap: wrap; gap: 6px 28px; font-size: 18px; }
.main-nav a { color: var(--on-night); text-decoration: none; }
.main-nav a:hover { color: var(--foil); }
.main-nav a[aria-current="page"] { color: var(--foil); border-bottom: 1px solid var(--foil); padding-bottom: 2px; }

.lang-switch { display: flex; flex-wrap: wrap; gap: 2px; padding: 3px; border: 1px solid rgba(194,162,106,0.35); border-radius: 999px; margin: 0; }
.lang-switch button { min-height: 36px; min-width: 44px; padding: 0 12px; border: 0; border-radius: 999px; cursor: pointer; font-family: inherit; font-size: 15px; letter-spacing: 0.04em; background: transparent; color: var(--on-night-soft); }
.lang-switch button:hover { color: var(--paper); }
.lang-switch button[aria-pressed="true"] { background: var(--foil); color: var(--night); font-weight: 600; }
@media (max-width: 420px) { .lang-switch button { min-width: 38px; padding: 0 8px; font-size: 14px; } }
@media (max-width: 350px) { .lang-switch { gap: 0; } .lang-switch button { min-width: 34px; padding: 0 5px; font-size: 13px; } }


.me { position: relative; }
.me summary { list-style: none; display: flex; align-items: center; gap: 10px; min-height: 44px; padding: 0 14px 0 6px; border: 1px solid rgba(194,162,106,0.35); border-radius: 999px; color: var(--paper); font-size: 17px; cursor: pointer; }
.me summary::-webkit-details-marker { display: none; }
.avatar { width: 32px; height: 32px; border-radius: 50%; background: #2A2119; border: 1px solid var(--foil); display: flex; align-items: center; justify-content: center; font-family: var(--font-caps); font-size: 15px; color: var(--foil); overflow: hidden; flex: none; }
.avatar img { width: 100%; height: 100%; display: block; }
.me-menu { position: absolute; right: 0; top: calc(100% + 8px); z-index: 20; min-width: 220px; background: var(--card); border: 1px solid var(--line); border-radius: 10px; padding: 8px; box-shadow: 0 12px 30px rgba(0,0,0,0.25); display: flex; flex-direction: column; }
.me-menu a, .me-menu button { display: block; width: 100%; text-align: left; padding: 10px 12px; border: 0; background: transparent; border-radius: 6px; color: var(--ink); font-family: inherit; font-size: 17px; text-decoration: none; cursor: pointer; }
.me-menu a:hover, .me-menu button:hover { background: var(--paper); color: var(--rubric); }
.me-menu form { margin: 0; }

/* ---------- Messages ---------- */
.messages { list-style: none; margin: 0; padding: 16px 0 0; display: flex; flex-direction: column; gap: 8px; }
.messages li { background: var(--card); border: 1px solid var(--line); border-left: 4px solid var(--foil); border-radius: 8px; padding: 12px 16px; font-size: 18px; }
.messages li.error, .messages li.warning { border-left-color: var(--rubric); }

/* ---------- Common blocks ---------- */
.eyebrow { font-family: var(--font-caps); font-size: 17px; letter-spacing: 0.22em; color: var(--rubric); }
.on-night .eyebrow { color: var(--foil); }
h1, h2, h3 { font-family: var(--font-display); font-weight: 400; margin: 0; line-height: 1.1; }
h1 { font-size: clamp(38px, 6vw, 56px); }
h2 { font-size: clamp(28px, 4vw, 38px); }
.lead { font-size: 21px; line-height: 1.5; color: var(--soft); margin: 0; }
.on-night { background: var(--night); color: var(--on-night); }
.on-night h1, .on-night h2 { color: var(--paper); }
.on-night .lead { color: var(--on-night-soft); }

.page-head { padding-top: 56px; padding-bottom: 56px; display: flex; flex-direction: column; gap: 16px; }
.section { padding-top: 48px; padding-bottom: 72px; }
.stack { display: flex; flex-direction: column; gap: 16px; }

.card { background: var(--card); border: 1px solid var(--line); border-radius: 10px; padding: 24px; }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 24px; border-radius: 6px; font-family: inherit; font-size: 19px; text-decoration: none; cursor: pointer; border: 1px solid transparent; }
.btn-primary { background: var(--rubric); color: #FBF6EC; font-weight: 600; }
.btn-primary:hover { background: var(--rubric-dark); color: #FBF6EC; }
.btn-foil { background: var(--foil); color: var(--night); font-weight: 600; }
.btn-foil:hover { background: #D4B47C; color: var(--night); }
.btn-ghost { background: transparent; border-color: var(--rubric); color: var(--rubric); }
.btn-ghost:hover { background: rgba(122,36,24,0.06); }
.btn-small { min-height: 44px; font-size: 17px; padding: 0 16px; }

/* ---------- Sign-in page ---------- */
.scope-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.scope-list li { background: var(--card); border: 1px solid var(--line); border-radius: 10px; padding: 18px 22px; display: flex; flex-direction: column; gap: 4px; }
.scope-list strong { font-family: var(--font-caps); font-weight: 400; letter-spacing: 0.08em; color: var(--rubric); font-size: 17px; }
.scope-list code { font-size: 13px; color: var(--soft-2); }

/* ---------- Characters page ---------- */
.char-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.char-row { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 20px; background: var(--card); border: 1px solid var(--line); border-radius: 10px; padding: 16px 20px; }
.char-row .avatar { width: 56px; height: 56px; font-size: 22px; }
.char-row .who { display: flex; flex-direction: column; margin-right: auto; }
.char-row .who strong { font-family: var(--font-display); font-weight: 400; font-size: 26px; }
.char-row .who span { font-size: 16px; color: var(--soft-2); }
.char-row form { margin: 0; }
.tag { font-family: var(--font-caps); font-size: 14px; letter-spacing: 0.12em; color: var(--rubric); }

/* ---------- Footer ---------- */
.site-footer { background: var(--night); color: #B9AD99; border-top: 1px solid rgba(194,162,106,0.28); }
.site-footer .wrap { padding-top: 40px; padding-bottom: 40px; display: flex; flex-direction: column; gap: 8px; font-size: 15px; line-height: 1.5; }
.site-footer p { margin: 0; }
.stack > p { margin: 0; }

/* ---------- Shared additions (Stage 3) ---------- */
.center { text-align: center; }
.soft { color: var(--soft-2); }
.mono { font-family: ui-monospace, 'Cascadia Mono', Consolas, monospace; font-size: 15px; color: var(--soft); white-space: nowrap; }
.rubric-caps { color: var(--rubric); font-family: var(--font-caps); letter-spacing: 0.06em; }
h2.big { font-size: clamp(32px, 4.5vw, 48px); line-height: 1.08; }
.btn-big { min-height: 56px; padding: 0 28px; font-size: 20px; }
.eyebrow.small { font-size: 15px; letter-spacing: 0.14em; }
.ref { font-family: var(--font-caps); font-size: 18px; letter-spacing: 0.18em; color: var(--foil); }
.foil-link { font-size: 19px; color: var(--foil); text-underline-offset: 4px; }
.foil-link:hover { color: var(--paper); }

/* ---------- Home: hero ---------- */
.hero-inner { padding-top: 56px; padding-bottom: 64px; display: flex; flex-wrap: wrap; align-items: center; gap: 48px 72px; }
.hero-text { flex: 999 1 520px; min-width: 0; display: flex; flex-direction: column; gap: 26px; }
.kicker { display: flex; align-items: center; gap: 12px; font-family: var(--font-caps); font-size: 17px; letter-spacing: 0.24em; color: var(--foil); }
.hero-quote { display: flex; flex-direction: column; gap: 14px; }
.hero-quote h1 { font-size: clamp(34px, 5vw, 54px); line-height: 1.1; color: var(--paper); }
.hero-lead { margin: 0; font-size: 22px; line-height: 1.5; color: var(--on-night-soft); max-width: 600px; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 24px; }
.hero-note { margin: 0; font-size: 16px; color: var(--on-night-muted); max-width: 600px; }
.ranks { margin-top: 10px; padding-top: 24px; border-top: 1px solid rgba(194,162,106,0.25); display: flex; flex-direction: column; gap: 14px; }
.rank-row { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; max-width: 600px; }
.rank { display: flex; flex-direction: column; gap: 8px; }
.rank-line { display: flex; align-items: center; gap: 8px; }
.rank-line .line { flex: 1; height: 1px; background: rgba(194,162,106,0.35); }
.diamond { width: 12px; height: 12px; flex: none; transform: rotate(45deg); border: 1px solid var(--foil); }
.diamond.filled { background: var(--foil); }
.rank-name { font-family: var(--font-caps); font-size: 19px; letter-spacing: 0.06em; color: var(--paper); }
@media (max-width: 480px) { .rank-name { font-size: 15px; letter-spacing: 0.02em; } }

.book { flex: 1 1 380px; min-width: 0; max-width: 460px; display: flex; flex-direction: column; align-items: center; margin: 0 auto; }
.cover { width: 64%; max-width: 270px; aspect-ratio: 2 / 3; object-fit: cover; border-radius: 3px 6px 6px 3px; box-shadow: 0 30px 60px rgba(0,0,0,0.55), 0 0 0 1px rgba(194,162,106,0.25); position: relative; z-index: 1; margin-bottom: -40px; }
.book-card { width: 100%; background: var(--paper); color: var(--ink); border-radius: 10px; padding: 60px 26px 24px; display: flex; flex-direction: column; gap: 14px; box-shadow: 0 20px 50px rgba(0,0,0,0.35); }
.book-title { text-align: center; display: flex; flex-direction: column; gap: 4px; }
.book-title > span:first-child { font-family: var(--font-caps); font-size: 23px; letter-spacing: 0.06em; }
.book-card .meta { font-size: 16px; color: var(--soft-2); }
.book-card .meta.center { font-size: 15px; }

/* ---------- Home: verse band ---------- */
.verse-band { background: var(--paper); border-bottom: 1px solid #DED3BF; }
.verse-inner { max-width: 900px; margin: 0 auto; padding: 56px 32px; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 14px; }
.verse-rule { display: flex; align-items: center; gap: 14px; width: 220px; color: var(--rubric); }
.verse-rule span { flex: 1; height: 1px; background: var(--rubric); }
.verse { margin: 0; font-family: var(--font-display); font-style: italic; font-size: clamp(24px, 3.4vw, 32px); line-height: 1.35; }
.verse-band .ref, .about-verse figcaption { color: var(--rubric); font-size: 17px; }

/* ---------- Home: Rites ---------- */
.rites { background: var(--paper); }
.rites-inner { padding-top: 80px; padding-bottom: 80px; display: flex; flex-direction: column; gap: 40px; }
.rites-head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 16px 48px; }
.rite-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 16px; }
.rite-card { background: var(--card); border: 1px solid var(--line); border-radius: 10px; padding: 22px 22px 20px; display: flex; flex-direction: column; gap: 10px; }
.rite-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.rite-top .num { font-family: var(--font-caps); font-size: 15px; letter-spacing: 0.14em; color: var(--rubric); }
.rite-ref { font-family: var(--font-caps); font-size: 14px; letter-spacing: 0.08em; color: #6A5D50; }
.rite-card h3 { font-size: 25px; line-height: 1.15; }
.rite-card p { margin: 0; font-size: 17px; line-height: 1.45; color: var(--soft); }

/* ---------- Home: Carrying the Word ---------- */
.word { background: var(--panel); color: var(--on-night); }
.word-inner { padding-top: 72px; padding-bottom: 72px; display: flex; flex-wrap: wrap; align-items: center; gap: 40px 72px; }
.word-text { flex: 999 1 460px; min-width: 0; display: flex; flex-direction: column; gap: 16px; }
.word .eyebrow { color: var(--foil); }
.word h2 { color: var(--paper); }
.word .lead { color: var(--on-night-soft); }
.dscan { flex: 1 1 420px; min-width: 0; background: #0E0B08; border: 1px solid rgba(194,162,106,0.35); border-radius: 8px; overflow: hidden; font-family: ui-monospace, 'Cascadia Mono', Consolas, monospace; font-size: 15px; }
.dscan-row { display: grid; grid-template-columns: 1fr 2.2fr 0.9fr; gap: 8px; padding: 10px 16px; }
.dscan-row .r { text-align: right; }
.dscan-row.head { background: #1A1410; color: var(--on-night-muted); border-bottom: 1px solid rgba(194,162,106,0.2); }
.dscan-row.dim { color: #8F8472; }
.dscan-row.lit { background: rgba(194,162,106,0.12); color: var(--paper); }
.dscan-row.lit strong { color: var(--foil); font-weight: 600; }

/* ---------- Home: How to join ---------- */
.join { background: var(--paper); }
.join-inner { padding-top: 80px; padding-bottom: 80px; display: flex; flex-direction: column; gap: 36px; }
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 24px; }
.steps li { display: flex; flex-direction: column; gap: 10px; padding: 0 12px; text-align: center; align-items: center; }
.step-num { width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--rubric); color: var(--rubric); display: flex; align-items: center; justify-content: center; font-family: var(--font-caps); font-size: 22px; }
.steps h3 { font-size: 25px; }
.steps p { margin: 0; font-size: 18px; line-height: 1.45; color: var(--soft); }
.center-row { display: flex; justify-content: center; }

/* ---------- About ---------- */
.about-body { padding-top: 72px; padding-bottom: 80px; display: flex; flex-direction: column; gap: 56px; }
.about-body p { margin: 0; font-size: 20px; line-height: 1.6; }
.about-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; }
.about-cards .card { padding: 22px; display: flex; flex-direction: column; gap: 8px; }
.about-cards .card p { font-size: 18px; line-height: 1.45; }
.about-verse { margin: 0; padding: 36px 0; border-top: 1px solid #DED3BF; border-bottom: 1px solid #DED3BF; text-align: center; display: flex; flex-direction: column; gap: 12px; }
.about-verse blockquote { margin: 0; font-family: var(--font-display); font-style: italic; font-size: 28px; line-height: 1.35; }
.about-verse figcaption { font-family: var(--font-caps); letter-spacing: 0.18em; }
.cta-row { display: flex; flex-wrap: wrap; gap: 14px; }

/* ---------- Offerings (public altar) ---------- */
.altar-head { padding-top: 56px; padding-bottom: 60px; display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 28px 48px; }
.stats { display: flex; flex-wrap: wrap; gap: 36px; }
.stat { display: flex; flex-direction: column; }
.stat strong { font-family: var(--font-display); font-weight: 400; font-size: 44px; line-height: 1; color: var(--paper); }
.stat strong.gold { color: var(--foil); }
.stat span { font-size: 16px; color: var(--on-night-muted); }
.list-meta { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 8px 24px; font-size: 17px; color: var(--soft); }
.table-card { background: var(--card); border: 1px solid var(--line); border-radius: 10px; overflow-x: auto; }
.table { width: 100%; min-width: 560px; border-collapse: collapse; font-size: 17px; }
.table th { text-align: left; font-family: var(--font-caps); font-weight: 400; font-size: 15px; letter-spacing: 0.1em; color: #6A5D50; padding: 12px 24px; border-bottom: 1px solid var(--line); }
.table td { padding: 10px 24px; border-bottom: 1px solid var(--line-soft); }
.table tr:last-child td { border-bottom: 0; }
.pager { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 12px; }
.empty p { margin: 0; font-size: 19px; color: var(--soft); }
.altar-cta { margin-top: 16px; padding: 24px 28px; background: var(--panel); color: var(--on-night); border-radius: 10px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 32px; }
.altar-cta p { margin: 0; font-size: 19px; line-height: 1.45; max-width: 720px; }

/* ---------- Footer nav ---------- */
.footer-nav { display: flex; flex-wrap: wrap; gap: 8px 28px; font-size: 17px; margin-bottom: 12px; }
.footer-nav a { color: var(--on-night); text-decoration: none; }
.footer-nav a:hover { color: var(--foil); }

/* ---------- My Devotion (Stage 4) ---------- */
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.muted { color: var(--on-night-muted); font-size: 17px; }
.banner-inner { padding-top: 48px; padding-bottom: 48px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 32px 56px; }
.who-block { display: flex; align-items: center; gap: 22px; }
.portrait { width: 96px; height: 96px; border-radius: 8px; border: 1px solid rgba(194,162,106,0.5); background: #2A2119; flex: none; }
.devotion-banner h1 { font-size: clamp(36px, 5vw, 52px); }
.rank-progress { flex: 1 1 420px; max-width: 560px; display: flex; flex-direction: column; gap: 14px; }
.ladder { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.ladder-step { display: flex; flex-direction: column; gap: 8px; }
.ladder-step .bar { height: 6px; border-radius: 3px; background: rgba(194,162,106,0.25); overflow: hidden; }
.ladder-step .bar span { display: block; height: 100%; background: var(--foil); }
.step-name { font-family: var(--font-caps); font-size: 17px; letter-spacing: 0.06em; color: #8F8472; }
.ladder-step.reached .step-name { color: var(--paper); }
.piety-line { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 6px 20px; font-size: 18px; }
.piety-total { font-family: var(--font-display); font-weight: 400; font-size: 40px; color: var(--foil); }
.deeds { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 4px; font-size: 17px; color: var(--on-night-soft); }
.deeds .tick { display: inline-block; width: 22px; color: var(--foil); }
.deeds li.done { color: var(--on-night-muted); text-decoration: line-through; }

.notices { padding-top: 24px; display: flex; flex-direction: column; gap: 10px; }
.notice { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 20px; background: var(--card); border: 1px solid var(--line); border-left: 4px solid var(--foil); border-radius: 8px; padding: 14px 18px; }
.notice p { margin: 0; font-size: 18px; }
.notice form { margin: 0; }
.link-btn { background: none; border: 0; padding: 8px 4px; color: var(--rubric); font-family: inherit; font-size: 16px; cursor: pointer; text-decoration: underline; min-height: 44px; }

.dev-section { padding-top: 48px; display: flex; flex-direction: column; gap: 20px; }
.dev-section h2 { font-size: clamp(28px, 3.6vw, 36px); }
.grid-1 { display: grid; gap: 16px; }
.grid-2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 16px; }
.grid-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 16px; }
@media (max-width: 400px) { .grid-2, .grid-3 { grid-template-columns: 1fr; } }
.rite-panel { background: var(--card); border: 1px solid var(--line); border-radius: 10px; padding: 24px; display: flex; flex-direction: column; gap: 12px; }
.rite-panel h3 { font-size: 26px; }
.rite-panel p { margin: 0; font-size: 18px; line-height: 1.45; color: var(--soft); }
.panel-top { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.status-note { font-size: 16px !important; color: var(--soft-2) !important; font-style: italic; }
.status-note.locked { font-style: normal; color: var(--rubric) !important; }
.mini-stats { margin-top: auto; padding-top: 12px; border-top: 1px solid var(--line-soft); display: flex; flex-wrap: wrap; gap: 8px 28px; font-size: 16px; color: var(--soft-2); }
.mini-stats strong { font-family: var(--font-display); font-weight: 400; font-size: 26px; color: var(--ink); margin-right: 4px; }
.small-label { font-size: 15px; color: var(--soft-2); }
.copy-row { display: flex; flex-wrap: wrap; gap: 8px; }
.copy-row input { flex: 1 1 200px; min-width: 0; min-height: 44px; padding: 0 12px; border: 1px solid var(--line); border-radius: 6px; background: #fff; font-family: ui-monospace, Consolas, monospace; font-size: 15px; color: var(--ink); }
.cert-preview { align-self: center; width: 100%; max-width: 280px; aspect-ratio: 11 / 8.5; background: var(--paper); border: 2px solid var(--rubric); outline: 1px solid var(--rubric); outline-offset: -7px; padding: 14px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; text-align: center; color: var(--ink); }
.cert-title { font-family: var(--font-caps); font-size: 11px; letter-spacing: 0.14em; color: var(--rubric); }
.cert-name { font-family: var(--font-display); font-size: 22px; line-height: 1.1; }
.cert-rank { font-family: var(--font-caps); font-size: 16px; letter-spacing: 0.12em; color: var(--rubric); }
.cert-verse { font-family: var(--font-display); font-style: italic; font-size: 11px; line-height: 1.3; color: var(--soft); max-width: 220px; }
.cert-panel { align-items: center; text-align: center; }

/* ---------- Stage 5: location Rites ---------- */
.ok-line { color: #2F6B3A !important; font-weight: 600; }
.small { font-size: 16px !important; color: var(--soft-2) !important; }
.ship-name { color: var(--ink); }
.notice.warn { border-left-color: var(--rubric); }
.pilg-count { display: flex; align-items: baseline; gap: 10px; font-size: 17px; color: var(--soft); }
.big-num { font-family: var(--font-display); font-size: 44px; line-height: 1; color: var(--rubric); }
.days { display: grid; grid-template-columns: repeat(14, 1fr); gap: 4px; }
.days span { height: 10px; border-radius: 2px; background: #E7DDCB; }
.days span.on { background: var(--rubric); }
.mini-bars { display: flex; flex-direction: column; gap: 6px; }
.mini-bar { display: grid; grid-template-columns: 76px 1fr 84px; align-items: center; gap: 10px; font-size: 15px; }
.mini-bar .bar { height: 6px; border-radius: 3px; background: rgba(122,36,24,0.15); overflow: hidden; }
.mini-bar .bar span { display: block; height: 100%; background: var(--rubric); }
.mini-bar .n { text-align: right; color: var(--soft-2); }
.crumbs { font-size: 16px; color: var(--soft-2); }
.rite-head { padding: 18px 0 8px; display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 20px 48px; }
.head-stats { display: flex; gap: 36px; }
.head-stats > span { display: flex; flex-direction: column; }
.head-stats strong { font-family: var(--font-display); font-weight: 400; font-size: 44px; line-height: 1; }
.head-stats strong.rubric { color: var(--rubric); }
.head-stats > span > span { font-size: 16px; color: var(--soft-2); }
.path-layout { padding-top: 32px; padding-bottom: 80px; display: flex; flex-wrap: wrap; gap: 24px; align-items: flex-start; }
.class-list { flex: 1 1 300px; min-width: 0; background: var(--card); border: 1px solid var(--line); border-radius: 10px; padding: 10px; display: flex; flex-direction: column; gap: 4px; }
.class-item { display: flex; flex-direction: column; gap: 8px; min-height: 56px; padding: 10px 14px; border-radius: 8px; text-decoration: none; color: var(--ink); }
.class-item:hover { background: var(--paper); color: var(--ink); }
.class-item.on { background: var(--rubric); color: #FBF6EC; }
.class-top { display: flex; justify-content: space-between; gap: 12px; font-size: 18px; }
.class-top .n { font-size: 16px; opacity: 0.8; }
.class-bar { display: block; height: 6px; border-radius: 3px; background: rgba(122,36,24,0.15); overflow: hidden; }
.class-bar span { display: block; height: 100%; background: var(--rubric); }
.class-item.on .class-bar span { background: #E9C9A8; }
.path-table { flex: 999 1 520px; min-width: 0; }
.table-head { padding: 20px 24px; border-bottom: 1px solid var(--line); display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 8px 24px; }
.table-head h2 { font-size: 30px; }
.empty-row { margin: 0; padding: 24px; color: var(--soft); }
.path-table .pager { padding: 14px; }
.offer-btn { min-height: 40px; min-width: 96px; padding: 0 14px; border-radius: 6px; border: 1px solid var(--rubric); background: transparent; color: var(--rubric); font-family: inherit; font-size: 16px; cursor: pointer; }
.offer-btn.on { background: var(--rubric); color: #FBF6EC; }
.card-links { display: flex; flex-wrap: wrap; gap: 6px 20px; }
.omen-line { font-family: var(--font-display); font-style: italic; font-size: 18px; }
.omen-today { margin: 0; font-family: var(--font-display); font-style: italic; font-size: 22px !important; line-height: 1.35; color: var(--ink) !important; }
.dark-panel { flex: 1 1 320px; min-width: 0; background: var(--night); color: var(--on-night); border-radius: 10px; padding: 26px; display: flex; flex-direction: column; gap: 14px; }
.dark-panel h2 { font-size: 28px; color: var(--paper); }
.dark-panel p { margin: 0; font-size: 18px; line-height: 1.45; color: var(--on-night-soft); }
.dark-panel .small-label { color: var(--on-night-muted); }
.dark-input { min-height: 44px; padding: 0 14px; border: 1px solid rgba(194,162,106,0.4); border-radius: 6px; background: #0E0B08; color: var(--paper); font-family: ui-monospace, Consolas, monospace; font-size: 15px; }
.progress-line { height: 10px; border-radius: 5px; background: #E7DDCB; overflow: hidden; margin-top: 16px; }
.progress-line span { display: block; height: 100%; background: var(--rubric); border-radius: 5px; }
/* Longer menus (German, Russian, French) fit on one line at desktop widths */
.site-header .wrap { gap: 14px 22px; }
.main-nav { gap: 6px 20px; }
@media (min-width: 1100px) { .brand span { font-size: 22px; } }
.danger-zone { margin-top: 32px; padding-top: 24px; border-top: 1px solid var(--line); display: flex; flex-direction: column; gap: 10px; align-items: flex-start; }
.danger-zone h2 { font-size: 26px; }
.danger-zone p { margin: 0; color: var(--soft); }
.deleted-list { margin: 0; padding-left: 22px; font-size: 19px; }

/* About: how the Testaments were made */
.making { display: flex; flex-direction: column; gap: 40px; }
.making > h2 { margin: 0; }
.making-part { display: flex; flex-direction: column; gap: 18px; }
.making-part h3 { margin: 0; font-family: var(--font-caps); font-weight: 400; font-size: 24px; letter-spacing: 0.08em; color: var(--rubric); }
.making-list { margin: 0; padding-left: 1.3em; display: flex; flex-direction: column; gap: 8px; font-size: 19px; line-height: 1.5; }
.making-list li::marker { color: var(--rubric); }
.making-cover { display: block; margin: 4px auto 8px; width: 240px; max-width: 70%; height: auto; border-radius: 4px; box-shadow: 0 18px 40px rgba(22,17,13,0.28); }
.signs { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 0; border-top: 1px solid var(--line); }
.signs li { display: grid; grid-template-columns: 56px 1fr; gap: 18px; align-items: start; padding: 18px 0; border-bottom: 1px solid var(--line); }
.signs .sign-icon { color: var(--rubric); margin-top: 4px; }
.signs p { font-size: 19px; line-height: 1.55; }
@media (max-width: 520px) { .signs li { grid-template-columns: 40px 1fr; gap: 12px; } .signs .sign-icon { width: 36px; height: 36px; } .making-part h3 { font-size: 21px; } }

/* CCP's official "Log in with EVE Online" button (developers.eveonline.com, SSO) */
.eve-sso { display: inline-block; align-self: center; line-height: 0; border-radius: 4px; transition: opacity .15s, transform .15s; }
.eve-sso img { display: block; width: 270px; max-width: 100%; height: auto; }
.eve-sso:hover { opacity: .88; }
.eve-sso:active { transform: translateY(1px); }
.eve-sso:focus-visible { outline: 2px solid var(--foil); outline-offset: 3px; }

/* Optional wallet permission on the sign-in page */
.scope-choice { display: flex; align-items: center; gap: 10px; margin-top: 8px; font-weight: 600; cursor: pointer; }
.scope-choice input { width: 20px; height: 20px; accent-color: var(--rubric); }
.scope-list li.optional { border-style: dashed; }
button.eve-sso { border: 0; padding: 0; background: none; cursor: pointer; }

/* "Listen on Spotify" badge in the book card (English home page only) */
.listen-badge { display: block; width: 216px; margin: 6px auto 0; line-height: 0; border-radius: 10px; transition: opacity .15s; }
.listen-badge:hover { opacity: .88; }
.listen-badge:focus-visible { outline: 2px solid var(--rubric); outline-offset: 3px; }
.listen-badge img { width: 100%; height: auto; }
