:root {
  --bg-canvas: #080c14;
  --bg-surface: #0e1420;
  --bg-card: rgba(16, 23, 36, 0.88);
  --bg-card-hover: rgba(23, 33, 50, 0.96);

  --border-subtle: rgba(245, 242, 234, 0.1);
  --border-strong: rgba(245, 242, 234, 0.22);

  --text-primary: #f5f2ea;
  --text-secondary: #c9c7be;
  --text-muted: #8a92a2;

  --tsn-crimson: #d61f2c;
  --tsn-crimson-bright: #ef2b39;
  --ng-forest: #629837;
  --ng-forest-bright: #84c550;
  --amber: #e6aa42;
  --parchment: #e9dcc3;

  --font-display: 'Unbounded', 'Segoe UI', system-ui, sans-serif;
  --font-editorial: 'Playfair Display', Georgia, serif;
  --font-sans: 'Manrope', 'Segoe UI', system-ui, sans-serif;

  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 22px;
  --shadow-card: 0 20px 52px rgba(0, 0, 0, 0.48);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.62;
  color: var(--text-primary);
  background:
    radial-gradient(ellipse 75% 45% at 15% 0%, rgba(214, 31, 44, 0.14), transparent 55%),
    radial-gradient(ellipse 65% 45% at 88% 8%, rgba(98, 152, 55, 0.13), transparent 55%),
    var(--bg-canvas);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img {
  display: block;
  max-width: 100%;
}

button,
input,
textarea {
  font: inherit;
  color: inherit;
}

a {
  color: inherit;
  text-decoration: none;
}

[hidden] {
  display: none !important;
}

.container {
  width: min(1260px, 100% - 32px);
  margin-inline: auto;
}

/* BREAKING TICKER BAR */
.breaking-bar {
  background: #0d060a;
  border-bottom: 1px solid rgba(214, 31, 44, 0.35);
  font-size: 0.78rem;
}

.breaking-inner {
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: 36px;
}

.breaking-tag {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 3px 10px;
  border-radius: 6px;
  background: var(--tsn-crimson);
  color: #fff;
  font-family: var(--font-display);
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  flex-shrink: 0;
}

.live-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 10px rgba(255, 255, 255, 0.85);
}

.live-rail .live-dot {
  background: var(--tsn-crimson-bright);
  box-shadow: 0 0 10px var(--tsn-crimson-bright);
}

.breaking-marquee {
  flex: 1;
  min-width: 0;
  overflow-x: auto;
  scrollbar-width: none;
}

.breaking-marquee::-webkit-scrollbar {
  display: none;
}

.breaking-track {
  display: flex;
  align-items: center;
  gap: 22px;
  white-space: nowrap;
}

.breaking-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 0;
  background: transparent;
  padding: 4px 0;
  cursor: pointer;
  color: var(--text-secondary);
  font-size: 0.78rem;
  transition: color 0.18s ease;
}

.breaking-item:hover {
  color: #fff;
}

.breaking-pill {
  padding: 1px 6px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.08);
  color: var(--parchment);
  font-family: var(--font-display);
  font-size: 0.6rem;
  font-weight: 700;
}

/* STICKY HEADER */
.portal-header {
  position: sticky;
  top: 0;
  z-index: 80;
  background: rgba(8, 12, 20, 0.86);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--border-subtle);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 70px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.brand-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 5px 11px;
  border-radius: 8px;
  background: var(--tsn-crimson);
  color: #fff;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 0.94rem;
  letter-spacing: 0.04em;
  box-shadow: 0 6px 20px rgba(214, 31, 44, 0.4);
}

.brand-copy {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.brand-copy strong {
  font-family: var(--font-display);
  font-size: 0.72rem;
  letter-spacing: 0.05em;
  color: var(--text-primary);
}

.brand-copy span {
  font-size: 0.72rem;
  color: var(--text-muted);
}

.portal-nav {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 4px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-subtle);
}

.nav-pill {
  padding: 6px 13px;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--text-secondary);
  white-space: nowrap;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.nav-pill:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.06);
}

.nav-pill.active {
  background: rgba(214, 31, 44, 0.2);
  color: #ffd5d8;
  border: 1px solid rgba(214, 31, 44, 0.4);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.btn-saved {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 12px;
  border-radius: 10px;
  border: 1px solid var(--border-subtle);
  background: rgba(255, 255, 255, 0.04);
  font-size: 0.78rem;
  font-weight: 700;
  cursor: pointer;
  transition: border-color 0.2s ease, background-color 0.2s ease;
}

.btn-saved:hover {
  border-color: var(--border-strong);
  background: rgba(255, 255, 255, 0.08);
}

.btn-saved svg {
  width: 15px;
  height: 15px;
  color: var(--amber);
}

.saved-badge {
  display: inline-grid;
  place-items: center;
  min-width: 20px;
  height: 20px;
  padding: 0 5px;
  border-radius: 999px;
  background: rgba(230, 170, 66, 0.18);
  color: #ffd787;
  font-family: var(--font-display);
  font-size: 0.66rem;
}

.btn-crimson,
.btn-forest-primary,
.btn-outline,
.btn-copy-handle,
.btn-ghost-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 11px;
  font-weight: 700;
  font-size: 0.84rem;
  cursor: pointer;
  transition: transform 0.16s ease, box-shadow 0.2s ease, background-color 0.2s ease, border-color 0.2s ease;
}

.btn-crimson {
  padding: 9px 16px;
  border: 1px solid rgba(239, 43, 57, 0.6);
  background: linear-gradient(135deg, var(--tsn-crimson), #a91420);
  color: #fff;
  box-shadow: 0 8px 22px rgba(214, 31, 44, 0.34);
  white-space: nowrap;
}

.btn-crimson:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 26px rgba(239, 43, 57, 0.45);
}

.btn-forest-primary {
  padding: 12px 20px;
  border: 1px solid rgba(132, 197, 80, 0.55);
  background: linear-gradient(135deg, var(--ng-forest), #467224);
  color: #fff;
  box-shadow: 0 10px 24px rgba(98, 152, 55, 0.36);
}

.btn-forest-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 30px rgba(132, 197, 80, 0.44);
}

.btn-outline {
  padding: 11px 18px;
  border: 1px solid var(--border-strong);
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-primary);
}

.btn-outline:hover {
  border-color: var(--parchment);
  background: rgba(255, 255, 255, 0.1);
}

.btn-sm {
  padding: 8px 14px;
  font-size: 0.8rem;
}

.btn-ghost-link {
  border: 0;
  background: transparent;
  padding: 10px 12px;
  color: var(--parchment);
  text-decoration: underline;
  text-underline-offset: 4px;
}

/* PILLS */
.pill {
  display: inline-flex;
  align-items: center;
  padding: 4px 11px;
  border-radius: 999px;
  font-family: var(--font-display);
  font-size: 0.64rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.pill-forest {
  background: rgba(98, 152, 55, 0.25);
  border: 1px solid rgba(132, 197, 80, 0.5);
  color: #d6f7b5;
}

.pill-crimson {
  background: rgba(214, 31, 44, 0.2);
  border: 1px solid rgba(239, 43, 57, 0.45);
  color: #ffc8cc;
}

.pill-amber {
  background: rgba(230, 170, 66, 0.2);
  border: 1px solid rgba(230, 170, 66, 0.45);
  color: #ffe09d;
}

.pill-glass {
  background: rgba(8, 12, 20, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.22);
  color: var(--parchment);
  backdrop-filter: blur(8px);
}

/* HERO BROADCAST GRID */
.hero-section {
  padding: 28px 0 46px;
  border-bottom: 1px solid var(--border-subtle);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.32fr 0.88fr;
  gap: 22px;
  margin-bottom: 22px;
  align-items: stretch;
}

.hero-featured {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: var(--bg-card);
  border: 1px solid var(--border-strong);
  box-shadow: var(--shadow-card);
}

.hero-media {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #0a100c;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-media-scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(16, 23, 36, 0.95) 0%, rgba(16, 23, 36, 0.15) 55%, transparent 100%);
}

.hero-badges {
  position: absolute;
  left: 18px;
  right: 18px;
  top: 16px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.hero-body {
  padding: 18px 24px 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: -18px;
  position: relative;
}

.hero-body h1 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.3rem, 2.2vw, 1.85rem);
  line-height: 1.24;
  color: #fff;
}

.hero-deck {
  margin: 0;
  color: var(--text-secondary);
  font-size: 0.96rem;
}

.hero-cta-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-top: 6px;
}

/* LIVE RAIL */
.live-rail {
  display: flex;
  flex-direction: column;
  border-radius: var(--radius-lg);
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  padding: 20px;
  box-shadow: var(--shadow-card);
}

.rail-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--border-subtle);
  margin-bottom: 10px;
}

.rail-title-wrap {
  display: flex;
  align-items: center;
  gap: 9px;
}

.rail-title-wrap h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 0.84rem;
  letter-spacing: 0.04em;
}

.rail-all-link {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--ng-forest-bright);
  white-space: nowrap;
}

.rail-list {
  display: grid;
  gap: 8px;
}

.rail-item {
  width: 100%;
  text-align: left;
  padding: 11px 12px;
  border-radius: 12px;
  border: 1px solid transparent;
  background: rgba(255, 255, 255, 0.025);
  cursor: pointer;
  transition: background-color 0.2s ease, border-color 0.2s ease;
}

.rail-item:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: var(--border-strong);
}

.rail-item-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  font-size: 0.72rem;
  color: var(--text-muted);
  margin-bottom: 4px;
}

.rail-item-cat {
  color: #ffb7bd;
  font-weight: 700;
}

.rail-item h3 {
  margin: 0;
  font-size: 0.88rem;
  line-height: 1.42;
  color: var(--text-primary);
}

/* PULSE STRIP */
.pulse-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.pulse-card {
  text-align: left;
  padding: 15px 18px;
  border-radius: var(--radius-md);
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  cursor: pointer;
  transition: border-color 0.2s ease, background-color 0.2s ease;
}

.pulse-card:hover {
  border-color: var(--border-strong);
  background: var(--bg-card-hover);
}

.pulse-label {
  font-size: 0.74rem;
  font-weight: 700;
  color: var(--text-muted);
  margin-bottom: 4px;
}

.pulse-value {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 4px;
}

.pulse-tone-forest .pulse-value { color: var(--ng-forest-bright); }
.pulse-tone-amber .pulse-value { color: var(--amber); }
.pulse-tone-blue .pulse-value { color: #7dd3fc; }
.pulse-tone-crimson .pulse-value { color: #ff8e96; }

.pulse-detail {
  font-size: 0.78rem;
  color: var(--text-secondary);
}

/* SECTIONS COMMON */
.portal-section {
  padding: 58px 0;
  border-bottom: 1px solid var(--border-subtle);
}

.section-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 22px;
}

.section-eyebrow {
  font-family: var(--font-display);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--tsn-crimson-bright);
  margin-bottom: 6px;
}

.section-head h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.3rem, 2.2vw, 1.85rem);
}

.search-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 14px;
  width: min(360px, 100%);
  height: 44px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-subtle);
}

.search-wrap:focus-within {
  border-color: var(--tsn-crimson-bright);
}

.search-wrap svg {
  width: 17px;
  height: 17px;
  color: var(--text-muted);
  flex-shrink: 0;
}

.search-wrap input {
  border: 0;
  background: transparent;
  width: 100%;
  outline: none;
  font-size: 0.88rem;
}

.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 24px;
}

.filter-chip {
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid var(--border-subtle);
  background: rgba(255, 255, 255, 0.04);
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--text-secondary);
  cursor: pointer;
  transition: all 0.18s ease;
}

.filter-chip:hover {
  color: #fff;
  border-color: var(--border-strong);
}

.filter-chip.active {
  background: var(--tsn-crimson);
  border-color: var(--tsn-crimson-bright);
  color: #fff;
}

/* NEWS GRID */
.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.news-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-card);
  transition: border-color 0.2s ease;
}

.news-card:hover {
  border-color: var(--border-strong);
}

.news-card-media {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #0b101b;
  cursor: pointer;
}

.news-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.card-bookmark-btn {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(8, 12, 20, 0.78);
  display: grid;
  place-items: center;
  cursor: pointer;
  color: var(--text-secondary);
  backdrop-filter: blur(6px);
}

.card-bookmark-btn.saved {
  background: rgba(230, 170, 66, 0.92);
  color: #161106;
  border-color: transparent;
}

.card-bookmark-btn svg {
  width: 17px;
  height: 17px;
}

.news-card-body {
  padding: 18px 20px 20px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.news-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 10px;
  font-size: 0.74rem;
  color: var(--text-muted);
}

.news-card h3 {
  margin: 0 0 8px;
  font-size: 1.02rem;
  line-height: 1.38;
  cursor: pointer;
}

.news-card h3:hover {
  color: #fff;
}

.news-card p {
  margin: 0 0 16px;
  font-size: 0.88rem;
  color: var(--text-secondary);
  flex: 1;
}

.news-card-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding-top: 12px;
  border-top: 1px solid var(--border-subtle);
  font-size: 0.78rem;
  color: var(--text-muted);
}

.read-more-link {
  border: 0;
  background: transparent;
  padding: 0;
  font-weight: 800;
  color: var(--ng-forest-bright);
  cursor: pointer;
}

.empty-state {
  padding: 36px 20px;
  text-align: center;
  border-radius: var(--radius-lg);
  background: var(--bg-card);
  border: 1px dashed var(--border-strong);
  color: var(--text-secondary);
}

/* ISSUES KIOSK ARCHIVE */
.section-archive {
  background:
    radial-gradient(ellipse 65% 55% at 85% 40%, rgba(98, 152, 55, 0.12), transparent 60%),
    var(--bg-canvas);
}

.issues-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.issue-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-card);
}

.issue-card.is-published {
  border-color: rgba(132, 197, 80, 0.42);
}

.issue-cover-wrap {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: #0c120d;
}

.issue-cover-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.issue-card.is-upcoming .issue-cover-wrap img {
  filter: grayscale(0.35) brightness(0.75);
}

.issue-cover-badges {
  position: absolute;
  top: 14px;
  left: 14px;
  right: 14px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px;
}

.issue-body {
  padding: 20px;
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: 10px;
}

.issue-meta {
  font-size: 0.74rem;
  font-weight: 700;
  color: var(--text-muted);
}

.issue-body h3 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 0.98rem;
  line-height: 1.35;
}

.issue-body p {
  margin: 0 0 8px;
  font-size: 0.88rem;
  color: var(--text-secondary);
  flex: 1;
}

.issue-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

/* REDACTION & STUDIO SECTION */
.section-studio {
  border-bottom: 0;
  background: linear-gradient(180deg, var(--bg-canvas) 0%, #090d1b 100%);
}

.redaction-shell {
  display: grid;
  gap: 24px;
}

.studio-spread-card {
  overflow: hidden;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-strong);
  box-shadow: var(--shadow-card);
}

.studio-spread-card img {
  width: 100%;
  aspect-ratio: 3907 / 2200;
  object-fit: cover;
}

.redaction-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 22px;
  align-items: start;
}

.leadership-stack {
  display: grid;
  gap: 16px;
}

.reporter-box,
.tip-cta-box {
  padding: 22px;
  border-radius: var(--radius-lg);
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-card);
}

.reporter-box {
  display: flex;
  align-items: center;
  gap: 18px;
}

.reporter-box img,
.avatar-monogram {
  width: 92px;
  height: 92px;
  border-radius: 16px;
  flex-shrink: 0;
}

.reporter-box img {
  object-fit: cover;
  object-position: center top;
  border: 2px solid rgba(214, 31, 44, 0.6);
}

.avatar-monogram {
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 1.55rem;
  color: #ffe09d;
  background: linear-gradient(135deg, rgba(230, 170, 66, 0.25), rgba(16, 23, 36, 0.95));
  border: 2px solid rgba(230, 170, 66, 0.55);
}

.leader-copy-pill {
  margin-top: 10px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 6px 12px;
  border-radius: 9px;
  border: 1px solid var(--border-strong);
  background: rgba(255, 255, 255, 0.04);
  font-size: 0.78rem;
  color: var(--text-secondary);
  cursor: pointer;
  transition: border-color 0.2s ease, background-color 0.2s ease;
}

.leader-copy-pill:hover {
  border-color: var(--parchment);
  background: rgba(255, 255, 255, 0.08);
}

.leader-copy-pill strong {
  color: #fff;
}

.leader-copy-pill.copied {
  background: #2f855a;
  border-color: transparent;
  color: #fff;
}

.reporter-box h3 {
  margin: 8px 0 4px;
  font-family: var(--font-display);
  font-size: 1.08rem;
}

.reporter-box p {
  margin: 0;
  font-size: 0.88rem;
  color: var(--text-secondary);
}

.tip-cta-box h3 {
  margin: 0 0 8px;
  font-family: var(--font-display);
  font-size: 1.05rem;
}

.tip-cta-box p {
  margin: 0 0 18px;
  color: var(--text-secondary);
  font-size: 0.92rem;
}

.tip-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.btn-copy-handle {
  padding: 10px 16px;
  border: 1px solid var(--border-strong);
  background: rgba(255, 255, 255, 0.05);
  color: #fff;
}

.btn-copy-handle:hover {
  border-color: var(--parchment);
}

.btn-copy-handle.copied {
  background: #2f855a;
  border-color: transparent;
}

.btn-copy-handle svg {
  width: 16px;
  height: 16px;
}

/* FOOTER */
.portal-footer {
  border-top: 1px solid var(--border-subtle);
  background: #05080f;
  padding: 24px 0;
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.footer-left {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--text-muted);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  font-size: 0.84rem;
  font-weight: 700;
  color: var(--parchment);
}

.footer-links a:hover {
  color: #fff;
}

/* MODALS & DRAWERS */
.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(4, 7, 13, 0.84);
  backdrop-filter: blur(8px);
  display: flex;
  justify-content: flex-end;
}

.modal-center {
  justify-content: center;
  align-items: center;
  padding: 20px;
}

.drawer-panel {
  width: min(680px, 100%);
  height: 100%;
  background: #0d131f;
  border-left: 1px solid var(--border-strong);
  display: flex;
  flex-direction: column;
  box-shadow: -20px 0 60px rgba(0, 0, 0, 0.65);
}

.drawer-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 16px 22px;
  border-bottom: 1px solid var(--border-subtle);
}

.drawer-controls {
  display: flex;
  align-items: center;
  gap: 8px;
}

.icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 6px 10px;
  border-radius: 8px;
  border: 1px solid var(--border-subtle);
  background: rgba(255, 255, 255, 0.05);
  font-size: 0.78rem;
  font-weight: 700;
  cursor: pointer;
}

.icon-btn.saved {
  background: rgba(230, 170, 66, 0.24);
  border-color: var(--amber);
  color: #ffe09d;
}

.icon-btn svg {
  width: 15px;
  height: 15px;
}

.drawer-close {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid var(--border-strong);
  background: rgba(255, 255, 255, 0.06);
  font-size: 1.35rem;
  line-height: 1;
  cursor: pointer;
}

.drawer-scroll {
  overflow-y: auto;
  padding: 22px;
}

.drawer-hero-photo {
  margin: 0 0 18px;
  overflow: hidden;
  border-radius: var(--radius-md);
  aspect-ratio: 16 / 9;
}

.drawer-hero-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.drawer-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-bottom: 10px;
}

.drawer-title {
  margin: 0 0 12px;
  font-family: var(--font-display);
  font-size: clamp(1.15rem, 2vw, 1.55rem);
  line-height: 1.28;
}

.drawer-excerpt {
  margin: 0 0 18px;
  font-family: var(--font-editorial);
  font-style: italic;
  font-size: 1.08rem;
  color: var(--parchment);
  border-left: 3px solid var(--tsn-crimson);
  padding-left: 14px;
}

.drawer-body {
  display: grid;
  gap: 14px;
  color: var(--text-secondary);
  margin-bottom: 24px;
}

.drawer-body p {
  margin: 0;
}

.modal-box {
  width: min(560px, 100%);
  max-height: 90vh;
  overflow-y: auto;
  border-radius: var(--radius-lg);
  background: #0e1522;
  border: 1px solid var(--border-strong);
  padding: 24px;
  box-shadow: var(--shadow-card);
}

.modal-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 18px;
}

.modal-head h2 {
  margin: 8px 0 0;
  font-family: var(--font-display);
  font-size: 1.15rem;
}

.tip-form {
  display: grid;
  gap: 14px;
  margin-bottom: 20px;
}

.field-group {
  display: grid;
  gap: 6px;
}

.field-group span {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--parchment);
}

.field-group input,
.field-group textarea {
  padding: 10px 14px;
  border-radius: 10px;
  border: 1px solid var(--border-subtle);
  background: rgba(0, 0, 0, 0.32);
  outline: none;
  font-size: 0.9rem;
}

.field-group input:focus,
.field-group textarea:focus {
  border-color: var(--tsn-crimson-bright);
}

.tip-form-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.tip-history-title {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--text-muted);
  margin-bottom: 8px;
}

.tip-history-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 8px;
}

.tip-history-item {
  padding: 10px 12px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-subtle);
  font-size: 0.84rem;
}

.tip-history-item strong {
  color: #ffb7bd;
}

.portal-lightbox {
  position: fixed;
  inset: 0;
  z-index: 240;
  background: rgba(4, 7, 13, 0.94);
  backdrop-filter: blur(10px);
  display: grid;
  place-items: center;
  padding: 24px;
}

.lightbox-close {
  position: fixed;
  top: 18px;
  right: 22px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.25);
  background: rgba(0, 0, 0, 0.65);
  color: #fff;
  font-size: 1.6rem;
  line-height: 1;
  cursor: pointer;
}

.lightbox-content {
  max-width: 96vw;
  max-height: 94vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.lightbox-content img {
  max-width: 100%;
  max-height: 88vh;
  object-fit: contain;
  border-radius: 14px;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.75);
}

.lightbox-content p {
  margin: 0;
  color: var(--parchment);
  font-size: 0.92rem;
  text-align: center;
}

[data-lightbox],
.drawer-hero-photo img,
.drawer-secondary-img,
.issue-cover-wrap img {
  cursor: zoom-in;
}

.toast {
  position: fixed;
  bottom: 22px;
  right: 22px;
  z-index: 260;
  padding: 12px 18px;
  border-radius: 12px;
  background: #101d15;
  border: 1px solid var(--ng-forest-bright);
  color: #fff;
  font-weight: 700;
  font-size: 0.88rem;
  box-shadow: var(--shadow-card);
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

/* RESPONSIVE */
@media (max-width: 1060px) {
  .portal-nav {
    display: none;
  }

  .hero-grid,
  .redaction-grid {
    grid-template-columns: 1fr;
  }

  .pulse-strip {
    grid-template-columns: repeat(2, 1fr);
  }

  .news-grid,
  .issues-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  html {
    scroll-padding-top: 122px;
  }

  .header-inner {
    flex-wrap: wrap;
    padding: 10px 0;
    min-height: auto;
    gap: 10px;
  }

  .brand {
    width: 100%;
  }

  .header-actions {
    width: 100%;
    justify-content: space-between;
  }

  .btn-crimson {
    flex: 1;
    padding: 9px 12px;
    font-size: 0.78rem;
  }

  .pulse-strip,
  .news-grid,
  .issues-grid {
    grid-template-columns: 1fr;
  }

  .reporter-box {
    flex-direction: column;
    align-items: flex-start;
  }

  .portal-section {
    padding: 42px 0;
  }

  .drawer-topbar {
    flex-wrap: wrap;
  }
}
