/* The Norse pages (norse-calendar.php, birth-rune.php, rune-of-the-day.php): they borrow the Sky Calendar's light band (css/sky-calendar.css, "sc-")
   and add what is Norse here ("nr-"). Tokens only; the forest light band turns --bone, --frost, --gold and --line dark on cream by itself. */

/* "how far back it goes": told apart by the written label first, then the border style (solid, dashed, dotted) */
.nr-kind { display: inline-block; margin-left: 10px; padding: 1px 8px; vertical-align: middle; border: 1px solid var(--gold); border-radius: var(--btn-radius-sm);
  font-family: var(--font-body); font-size: calc(0.6875rem * var(--text-scale)); letter-spacing: 0.06em; text-transform: uppercase; color: var(--gold); }
.nr-kind-name { border-style: dashed; }
.nr-kind-modern { border-style: dotted; color: var(--frost); border-color: var(--frost); }
.nr-nextmark { display: inline-block; margin-left: 10px; padding: 1px 8px; vertical-align: middle; border-radius: var(--btn-radius-sm); background: var(--gold); color: var(--midnight);
  font-family: var(--font-body); font-size: calc(0.6875rem * var(--text-scale)); letter-spacing: 0.08em; text-transform: uppercase; }
/* on the forest light band --gold is bronze: white text keeps the badge readable (6:1) */
.fbp-sec .nr-nextmark { color: var(--white); }
li.nr-next { background: rgba(var(--gold-rgb), 0.08); }
li.nr-past .sc-what, li.nr-past .sc-detail, li.nr-past .sc-when { opacity: 0.9; }   /* dimmed, but still 4.5:1 on cream */

.nr-yearnav { display: flex; align-items: center; gap: 16px; margin: 0 0 14px; }
.nr-yearnav .sc-btn:disabled { opacity: 0.4; cursor: default; }
.nr-year { min-width: 3.5em; text-align: center; font-family: var(--font-heading); font-size: calc(1.25rem * var(--text-scale)); color: var(--bone); }

/* today */
.nr-now { display: flex; flex-wrap: wrap; gap: 20px 48px; align-items: flex-start; }
.nr-today { flex: 1 1 320px; }
.nr-day { font-family: var(--font-heading); font-size: calc(2.125rem * var(--text-scale)); line-height: 1.15; color: var(--gold); }
.nr-sub { margin: 4px 0 10px; font-size: calc(0.9375rem * var(--text-scale)); color: var(--frost); }
.nr-note { margin: 0; font-size: calc(0.90625rem * var(--text-scale)); line-height: 1.65; color: var(--bone); }
.nr-facts { flex: 1 1 280px; margin: 0; padding: 0; list-style: none; font-size: calc(0.90625rem * var(--text-scale)); line-height: 1.7; color: var(--bone); }
.nr-facts li { padding: 6px 0; border-top: 1px solid var(--line); }
.nr-facts li:last-child { border-bottom: 1px solid var(--line); }

@media (max-width: 600px) {
  .nr-day { font-size: calc(1.625rem * var(--text-scale)); }
  .nr-kind, .nr-nextmark { margin-left: 6px; }
}

/* prose, forms */
.nr-prose { margin: 0 0 14px; font-size: calc(0.90625rem * var(--text-scale)); line-height: 1.7; color: var(--bone); }
.nr-form { display: flex; align-items: center; flex-wrap: wrap; gap: 12px 14px; margin: 0 0 16px; }
.nr-label { font-family: var(--font-heading); font-size: calc(0.75rem * var(--text-scale)); letter-spacing: 0.12em; text-transform: uppercase; color: var(--frost); }
.nr-date { width: auto; max-width: 220px; }

/* a rune and its reading */
.nr-rune { display: flex; gap: 28px; align-items: flex-start; flex-wrap: wrap; padding: 22px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.nr-glyph { flex: 0 0 auto; width: 150px; text-align: center; font-family: var(--font-rune), 'Segoe UI Historic', 'Noto Sans Runic', serif; font-size: 96px; line-height: 1.1; color: var(--gold); }
.nr-rbody { flex: 1 1 320px; min-width: 0; }
.nr-rlabel { font-family: var(--font-heading); font-size: calc(0.75rem * var(--text-scale)); letter-spacing: 0.14em; text-transform: uppercase; color: var(--frost); }
.nr-rlabel-sub { margin-top: 14px; }
.nr-rname { margin: 2px 0 4px; font-family: var(--font-heading); font-weight: 400; font-size: calc(1.875rem * var(--text-scale)); color: var(--bone); }
.nr-rsub { margin: 0 0 12px; font-size: calc(0.84375rem * var(--text-scale)); color: var(--frost); }
.nr-keys { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 12px; }
.nr-key { padding: 2px 10px; border: 1px solid var(--line); border-radius: 999px; font-size: calc(0.78125rem * var(--text-scale)); color: var(--bone); }
.nr-more { display: inline-block; margin-top: 4px; font-size: calc(0.875rem * var(--text-scale)); color: var(--gold); }
.nr-sym { font-family: var(--font-rune), 'Segoe UI Historic', 'Noto Sans Runic', serif; }

@media (max-width: 600px) {
  .nr-glyph { width: 100%; font-size: 72px; }
  .nr-rname { font-size: calc(1.5rem * var(--text-scale)); }
}

.nr-facts-wide { max-width: none; margin-top: 18px; }
.nr-links { margin: 0 0 14px; padding-left: 20px; font-size: calc(0.9375rem * var(--text-scale)); line-height: 1.9; color: var(--bone); }
.nr-links a { color: var(--gold); }

/* every Norse page fills the content width, like the other content panes: no narrow reading column (the Sky Calendar caps these) */
.nr-wrap .sc-lead, .nr-wrap .sc-note { max-width: none; }
