/* ===================================================================
   PRESS ROOM (/press), November 2026
   The page the townPages function renders from a weekly edition (functions/press-render.js), on top
   of styles.css and its Ink / Paper / Volt layer. A newspaper masthead in ink, then five numbered
   chapters of quotable figures on paper. Every figure card carries its own "copy with credit".
   =================================================================== */

.press-page { background: var(--paper); }
.press { padding-bottom: 5rem; }

/* --- Masthead --- */
.press-mast {
  position: relative;
  overflow: hidden;
  background: var(--ink);
  color: var(--paper);
  padding: calc(var(--header-height) + 3rem) 0 3.25rem;
  isolation: isolate;
}
.press-mast::before {
  /* the faint grid of a radar screen */
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(200, 245, 59, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(200, 245, 59, 0.05) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: linear-gradient(180deg, #000 30%, transparent 100%);
  mask-image: linear-gradient(180deg, #000 30%, transparent 100%);
  z-index: -1;
}
.press-mast__radar {
  position: absolute;
  right: -14vmin;
  top: 50%;
  width: 78vmin;
  aspect-ratio: 1;
  transform: translateY(-46%);
  border-radius: 50%;
  z-index: -1;
  pointer-events: none;
}
.press-mast__radar i {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 1px solid rgba(200, 245, 59, 0.16);
}
.press-mast__radar i:nth-child(2) { inset: 17%; }
.press-mast__radar i:nth-child(3) { inset: 34%; border-color: rgba(200, 245, 59, 0.24); }
.press-mast__radar b {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  /* The bright edge leads (at the turn's angle) and the glow trails behind it, so a blip lights as the
     edge reaches it (script.js section 15 reads this animation's time). */
  background: conic-gradient(from 0deg, transparent 0deg 290deg, rgba(200, 245, 59, 0) 290deg, rgba(200, 245, 59, 0.34) 360deg);
  animation: press-sweep 9s linear infinite;
}
@keyframes press-sweep { to { transform: rotate(360deg); } }
.press-mast__radar .radar-blips { z-index: 1; }

.press-mast__inner { position: relative; }
.press-crumb, .press-crumb a { color: rgba(243, 240, 231, 0.6); }
.press-crumb a { text-decoration-color: rgba(243, 240, 231, 0.3); }
.press-crumb a:hover { color: var(--volt); }

.press-mast__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.6rem 1.4rem;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(243, 240, 231, 0.7);
  padding-bottom: 1.1rem;
  border-bottom: 1px solid rgba(243, 240, 231, 0.18);
}
.press-mast__no {
  background: var(--volt);
  color: var(--ink);
  font-weight: 700;
  padding: 0.3rem 0.65rem;
  border-radius: 4px;
}
.press-mast__meta time { margin-left: auto; color: var(--paper); }
.press-mast__draft { width: 100%; color: var(--amber); }

.press-mast__title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(5rem, 17vw, 13rem);
  line-height: 0.78;
  letter-spacing: -0.01em;
  text-transform: uppercase;
  color: var(--paper);
  margin: 1.6rem 0 1.4rem;
}
.press-mast__title em {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  text-transform: none;
  letter-spacing: -0.02em;
  color: var(--volt);
  font-size: 0.62em;
  margin-left: 0.04em;
}
.press-mast__lead {
  max-width: 58ch;
  font-size: 1.16rem;
  line-height: 1.6;
  color: rgba(243, 240, 231, 0.8);
}

.press-ticker {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  margin: 2.6rem 0 0;
  padding: 0;
  border: 1px solid rgba(243, 240, 231, 0.2);
  border-radius: var(--radius-xl);
  overflow: hidden;
  background: rgba(7, 16, 11, 0.55);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
}
.press-ticker li + li { border-left: 1px solid rgba(243, 240, 231, 0.14); }
.press-ticker a {
  display: block;
  padding: 1.1rem 1.2rem 1rem;
  color: var(--paper);
  text-decoration: none;
  height: 100%;
  transition: background-color 0.25s;
}
.press-ticker a:hover { background: rgba(200, 245, 59, 0.1); color: var(--paper); }
.press-ticker em {
  display: block;
  font-style: normal;
  font-family: var(--font-mono);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--paper);
  margin-bottom: 0.55rem;
}
.press-ticker em::before { content: ''; display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: var(--volt); margin-right: 6px; vertical-align: 1px; }
.press-ticker strong {
  display: block;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.9rem, 3.4vw, 2.7rem);
  line-height: 1;
  color: var(--volt);
  white-space: nowrap;
}
.press-ticker span {
  display: block;
  margin-top: 0.45rem;
  font-size: 0.8rem;
  line-height: 1.4;
  color: rgba(243, 240, 231, 0.62);
}

/* --- Section bar --- */
.press-nav {
  position: sticky;
  top: var(--header-height);
  z-index: 50;
  background: rgba(243, 240, 231, 0.92);
  -webkit-backdrop-filter: blur(14px) saturate(1.3);
  backdrop-filter: blur(14px) saturate(1.3);
  border-bottom: 1px solid var(--line);
}
.press-nav__inner {
  display: flex;
  gap: 0.35rem;
  overflow-x: auto;
  scrollbar-width: none;
  padding-top: 0.6rem;
  padding-bottom: 0.6rem;
}
.press-nav__inner::-webkit-scrollbar { display: none; }
.press-nav a {
  flex: none;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink);
  text-decoration: none;
  padding: 0.5rem 0.85rem;
  border-radius: 999px;
  transition: background-color 0.2s, color 0.2s;
}
.press-nav a span { color: var(--text-muted); }
.press-nav a:hover { background: var(--ink); color: var(--paper); }
.press-nav a:hover span { color: var(--volt); }
.press-nav__cite { margin-left: auto; box-shadow: inset 0 0 0 1.5px var(--ink); }

.press-body { max-width: 1180px; padding-top: 3rem; }
.press-section, .press-cite, .press-about, .press-archive { scroll-margin-top: calc(var(--header-height) + 4rem); }

/* --- Credit box --- */
.press-cite {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 1.5rem;
  background: var(--card);
  border: 1.5px solid var(--ink);
  border-radius: 20px;
  padding: 2rem 2.2rem 2rem 1.6rem;
  box-shadow: 8px 8px 0 var(--volt), 8px 8px 0 1.5px var(--ink);
  margin: 0 0 4.5rem;
}
.press-cite__mark {
  font-family: var(--font-serif);
  font-size: 8rem;
  line-height: 0.7;
  color: var(--volt-deep);
  -webkit-text-stroke: 1.5px var(--ink);
  padding-top: 0.6rem;
}
.press-cite__label {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  background: var(--ink);
  color: var(--volt);
  padding: 0.3rem 0.6rem;
  border-radius: 4px;
}
.press-cite h2 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.8rem, 3.6vw, 2.6rem);
  line-height: 0.98;
  text-transform: uppercase;
  margin: 0.8rem 0 0.7rem;
  text-wrap: balance;
}
.press-cite p { color: var(--text-secondary); max-width: 64ch; }
.press-cite__line {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.8rem;
  margin: 1.2rem 0 1.1rem;
  background: var(--ink);
  border-radius: 12px;
  padding: 0.75rem 0.75rem 0.75rem 1.1rem;
}
.press-cite__line code {
  flex: 1 1 18rem;
  font-family: var(--font-mono);
  font-size: 0.95rem;
  color: var(--paper);
  background: none;
}
.press-cite__rules {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.9rem 1.4rem;
}
.press-cite__rules li {
  font-size: 0.86rem;
  line-height: 1.55;
  color: var(--text-secondary);
  padding-top: 0.75rem;
  border-top: 1px solid var(--line);
}
.press-cite__rules b { display: block; color: var(--ink); font-family: var(--font-mono); font-size: 0.66rem; letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 0.25rem; }

/* --- Copy buttons --- */
.press-copy {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink);
  background: transparent;
  border: 0;
  box-shadow: inset 0 0 0 1.5px var(--ink);
  border-radius: 999px;
  padding: 0.55rem 0.95rem;
  cursor: pointer;
  transition: background-color 0.2s, color 0.2s, transform 0.25s var(--ease-swift);
}
.press-copy::before { content: ''; width: 7px; height: 7px; border-radius: 2px; background: var(--volt); box-shadow: inset 0 0 0 1.5px var(--ink); }
.press-copy:hover { background: var(--ink); color: var(--paper); transform: translateY(-1px); }
.press-copy.is-done { background: var(--volt); color: var(--ink); }
.press-copy--light { color: var(--ink); background: var(--volt); box-shadow: none; }
.press-copy--light::before { background: var(--ink); box-shadow: none; }
.press-copy--light:hover { background: var(--paper); color: var(--ink); }

/* --- Sections --- */
.press-section { margin: 0 0 5.5rem; }
.press-section__head {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 0 1.8rem;
  align-items: start;
  padding-top: 1.6rem;
  border-top: 1.5px solid var(--ink);
  margin-bottom: 2rem;
}
.press-section__no {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(4.5rem, 9vw, 7.5rem);
  line-height: 0.8;
  color: transparent;
  -webkit-text-stroke: 1.5px var(--ink);
  letter-spacing: -0.02em;
}
.press-section__head h2 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2.3rem, 5.4vw, 4rem);
  line-height: 0.92;
  text-transform: uppercase;
  margin: 0.6rem 0 0.9rem;
  text-wrap: balance;
}
.press-section__lead { font-size: 1.06rem; line-height: 1.65; color: var(--text-secondary); max-width: 66ch; }
.press-period {
  margin-top: 0.8rem;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.press-period::before { content: ''; display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--volt-deep); margin-right: 8px; box-shadow: 0 0 0 3px rgba(164, 214, 19, 0.25); }

/* --- Figure cards --- */
/* Flex, not grid: whatever the number of figures, the last row stretches to the full width. */
.press-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}
.press-fact {
  flex: 1 1 300px;
  min-width: 0;
  display: flex;
  flex-direction: column;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 1.5rem 1.5rem 1.2rem;
  scroll-margin-top: calc(var(--header-height) + 5rem);
  transition: border-color 0.25s, transform 0.35s var(--ease-swift), box-shadow 0.35s var(--ease-swift);
}
.press-fact:hover { border-color: var(--ink); transform: translateY(-3px); box-shadow: 0 5px 0 var(--ink); }
.press-fact:target { border-color: var(--ink); box-shadow: 0 0 0 4px var(--volt); }
.press-fact__stat strong {
  display: block;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 3.1rem;
  line-height: 0.95;
  letter-spacing: 0.005em;
  color: var(--ink);
}
.press-fact__stat span {
  display: block;
  margin-top: 0.45rem;
  font-family: var(--font-mono);
  font-size: 0.64rem;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.press-fact__quote {
  font-family: var(--font-serif);
  font-size: 1.42rem;
  line-height: 1.28;
  color: var(--ink);
  margin: 1.1rem 0 0.7rem;
  text-wrap: pretty;
}
.press-fact__detail { font-size: 0.87rem; line-height: 1.6; color: var(--text-secondary); margin: 0 0 1rem; }
.press-fact__actions {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem;
  padding-top: 0.9rem;
  border-top: 1px dashed var(--line);
}
.press-link {
  font-family: var(--font-mono);
  font-size: 0.64rem;
  letter-spacing: 0.04em;
  color: var(--text-muted);
  text-decoration: none;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.press-link:hover { color: var(--ink); }

/* The first figure of a chapter leads it: ink card, volt numbers. */
.press-facts > .press-fact:first-child {
  flex: 2 1 560px;
  background: var(--ink);
  border-color: var(--ink);
  color: var(--paper);
  position: relative;
  overflow: hidden;
}
.press-facts > .press-fact:first-child::after {
  content: '';
  position: absolute;
  right: -90px;
  top: -90px;
  width: 260px;
  height: 260px;
  border-radius: 50%;
  border: 1px solid rgba(200, 245, 59, 0.22);
  box-shadow: 0 0 0 40px rgba(200, 245, 59, 0.04), 0 0 0 80px rgba(200, 245, 59, 0.025);
  pointer-events: none;
}
.press-facts > .press-fact:first-child:hover { box-shadow: 0 5px 0 var(--volt-deep); }
.press-facts > .press-fact:first-child .press-fact__stat strong { color: var(--volt); font-size: clamp(3.6rem, 7vw, 5.4rem); }
.press-facts > .press-fact:first-child .press-fact__stat span,
.press-facts > .press-fact:first-child .press-link { color: rgba(243, 240, 231, 0.6); }
.press-facts > .press-fact:first-child .press-fact__quote { color: var(--paper); font-size: clamp(1.5rem, 2.4vw, 1.9rem); max-width: 34ch; }
.press-facts > .press-fact:first-child .press-fact__detail { color: rgba(243, 240, 231, 0.72); max-width: 70ch; }
.press-facts > .press-fact:first-child .press-fact__actions { border-top-color: rgba(243, 240, 231, 0.18); }
.press-facts > .press-fact:first-child .press-copy { color: var(--ink); background: var(--volt); box-shadow: none; }
.press-facts > .press-fact:first-child .press-copy::before { background: var(--ink); box-shadow: none; }
.press-facts > .press-fact:first-child .press-copy:hover { background: var(--paper); }

/* --- Figures: the price chart and the charger heat map ---
   Fuel colours match the town pages' charts (petrol green, diesel orange); every line also carries its
   name at its end, so colour is never the only way to tell them apart. */
.press-chart, .press-heat {
  --fuel-petrol: #2e7d32;
  --fuel-diesel: #e8710a;
  position: relative;
  margin: 1.5rem 0 0;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 1.3rem 1.4rem 1.1rem;
}
.press-chart__plot { position: relative; }
.press-chart svg { display: block; width: 100%; height: auto; overflow: visible; touch-action: pan-y; }
.press-chart__grid { stroke: rgba(7, 16, 11, 0.08); stroke-width: 1; }
.press-chart__axis { stroke: rgba(7, 16, 11, 0.35); stroke-width: 1; }
.press-chart__month { stroke: rgba(7, 16, 11, 0.35); stroke-width: 1; }
.press-chart__tick { font-family: var(--font-mono); font-size: 11px; fill: var(--text-muted); font-variant-numeric: tabular-nums; }
.press-chart__line { fill: none; stroke: var(--c); stroke-width: 2; stroke-linejoin: round; stroke-linecap: round; }
.press-chart__dot, .press-chart__hover { fill: var(--c); stroke: var(--card); stroke-width: 2; }
.press-chart__cross, .press-chart__hover { visibility: hidden; pointer-events: none; }
.press-chart__cross { stroke: var(--ink); stroke-width: 1; }
.press-chart.is-active .press-chart__cross, .press-chart.is-active .press-chart__hover { visibility: visible; }
.press-chart__end { font-family: var(--font-mono); font-size: 12px; font-weight: 700; fill: var(--ink); font-variant-numeric: tabular-nums; }
.press-chart__end-name { font-weight: 500; fill: var(--text-secondary); }

.press-legend {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.8rem;
  margin: 0 0 1rem;
  padding: 0 0 0.9rem;
  border-bottom: 1px solid var(--line);
}
.press-legend li { display: inline-flex; align-items: baseline; gap: 0.55rem; font-size: 0.9rem; color: var(--text-secondary); }
.press-legend i { align-self: center; width: 18px; height: 3px; border-radius: 2px; background: var(--c); }
.press-legend b { font-family: var(--font-display); font-weight: 800; font-size: 1.5rem; line-height: 1; color: var(--ink); }
.press-legend em { font-style: normal; font-family: var(--font-mono); font-size: 0.7rem; color: var(--text-muted); }

/* The one tooltip: value first, then what it is. */
.press-tip {
  position: absolute;
  z-index: 5;
  min-width: 9rem;
  display: grid;
  gap: 0.25rem;
  padding: 0.6rem 0.75rem;
  background: var(--ink);
  color: var(--paper);
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(7, 16, 11, 0.25);
  pointer-events: none;
  font-size: 0.8rem;
  white-space: nowrap;
}
.press-tip[hidden] { display: none; }
.press-tip__title { font-family: var(--font-mono); font-size: 0.64rem; letter-spacing: 0.06em; text-transform: uppercase; color: rgba(243, 240, 231, 0.6); }
.press-tip__row { display: flex; align-items: center; gap: 0.45rem; color: rgba(243, 240, 231, 0.75); }
.press-tip__row i { width: 12px; height: 3px; border-radius: 2px; background: var(--c); }
.press-tip__row b { font-family: var(--font-mono); font-size: 0.9rem; color: var(--paper); }

.press-chart figcaption, .press-heat figcaption {
  margin-top: 0.8rem;
  font-family: var(--font-mono);
  font-size: 0.66rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--text-muted);
}

/* --- Heat map: one green scale, light where quiet, dark where busy (six named steps) --- */
.press-heat__top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0.6rem 1.5rem; margin-bottom: 1rem; }
.press-heat__title { margin: 0; font-size: 0.9rem; font-weight: 700; color: var(--ink); }
.press-heat__legend { list-style: none; display: flex; flex-wrap: wrap; gap: 0.35rem 0.8rem; margin: 0; padding: 0; }
.press-heat__legend li { display: inline-flex; align-items: center; gap: 0.35rem; font-family: var(--font-mono); font-size: 0.66rem; color: var(--text-secondary); font-variant-numeric: tabular-nums; }
.press-heat__legend i { width: 14px; height: 14px; border-radius: 3px; }
.press-heat__grid { display: grid; gap: 2px; }
.press-heat__row { display: grid; grid-template-columns: 2.6rem repeat(24, minmax(0, 1fr)); gap: 2px; align-items: center; }
.press-heat__day { font-family: var(--font-mono); font-size: 0.64rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--text-secondary); }
.press-heat__cell { display: block; height: 26px; border-radius: 4px; transition: box-shadow 0.15s; }
.press-heat__cell:hover { box-shadow: 0 0 0 2px var(--card), 0 0 0 4px var(--ink); position: relative; z-index: 1; }
.press-heat__cell--0 { background: #eef4d6; }
.press-heat__cell--1 { background: #d6ec8c; }
.press-heat__cell--2 { background: #b4dc3c; }
.press-heat__cell--3 { background: #7fb51e; }
.press-heat__cell--4 { background: #4d8a1f; }
.press-heat__cell--5 { background: #24561c; }
.press-heat__cell--none { background: repeating-linear-gradient(45deg, var(--paper-2) 0 3px, transparent 3px 6px); }
.press-heat__hours span { font-family: var(--font-mono); font-size: 0.6rem; color: var(--text-muted); }

/* --- Occupancy on request --- */
.press-offer {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 1rem 1.2rem;
  margin-top: 1.2rem;
  padding: 1.3rem 1.5rem;
  border: 1.5px dashed var(--ink);
  border-radius: 18px;
  background: rgba(200, 245, 59, 0.14);
}
.press-offer > .material-symbols-outlined {
  display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%;
  background: var(--ink); color: var(--volt); font-size: 22px;
}
.press-offer h3 { margin: 0 0 0.35rem; font-family: var(--font-display); font-weight: 800; font-size: 1.5rem; line-height: 1; text-transform: uppercase; }
.press-offer p { margin: 0 0 0.9rem; font-size: 0.92rem; line-height: 1.6; color: var(--text-secondary); max-width: 72ch; }

/* --- Outlook card inside the page --- */
.press-outlook { margin-top: 1.5rem; }
.press-outlook h3 { font-family: var(--font-display); font-weight: 800; font-size: 1.9rem; line-height: 1; text-transform: uppercase; color: var(--paper); margin: 0.9rem 0 0.6rem; }
.press-outlook p { color: rgba(243, 240, 231, 0.74); }
.press-outlook .outlook__result { margin-top: 0.9rem; padding-top: 0.9rem; border-top: 1px solid rgba(243, 240, 231, 0.14); color: var(--paper); }
.press-outlook a { color: var(--volt); text-underline-offset: 3px; }

/* --- Town rankings --- */
.press-ranks {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 1.5rem;
}
.press-rank {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 1.3rem 1.4rem 1rem;
}
.press-rank h3 {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin: 0 0 0.6rem;
  padding-bottom: 0.7rem;
  border-bottom: 1.5px solid var(--ink);
}
.press-rank ol { list-style: none; margin: 0; padding: 0; }
.press-rank li {
  display: grid;
  grid-template-columns: 2.2rem minmax(0, 1fr) auto 6.2rem;
  align-items: baseline;
  gap: 0.6rem;
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--line);
}
.press-rank li:last-child { border-bottom: 0; }
.press-rank__no { font-family: var(--font-mono); font-size: 0.72rem; color: var(--text-muted); }
.press-rank a { color: var(--ink); font-weight: 700; text-decoration: none; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.press-rank a:hover { text-decoration: underline; text-decoration-color: var(--volt-deep); text-decoration-thickness: 2px; }
.press-rank__price { font-family: var(--font-display); font-weight: 700; font-size: 1.35rem; line-height: 1; }
.press-rank__diff { font-family: var(--font-mono); font-size: 0.66rem; color: var(--text-muted); text-align: right; }
.press-rank:nth-child(odd) li:first-child .press-rank__price { background: var(--volt); padding: 0.1rem 0.35rem; border-radius: 4px; box-shadow: inset 0 0 0 1.5px var(--ink); }

/* --- From the app --- */
.press-app { margin-top: 2rem; }
.press-app__label {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink);
  margin: 0;
}
.press-app__label .material-symbols-outlined { font-size: 18px; color: var(--volt-deep); }
.press-app .insight h3 { margin: 0 0 0.4rem; font-size: 1.08rem; font-weight: 800; }
.press-app .insight p { margin: 0; font-size: 0.93rem; line-height: 1.65; color: var(--text-secondary); }

/* --- Tables --- */
.press-table-title {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin: 2.2rem 0 0.6rem;
}
.press-section .table-scroll {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 0.2rem 1.2rem;
}
.press-table { width: 100%; border-collapse: collapse; }
.press-table thead th { white-space: nowrap; }
.press-table tbody th { width: auto; font-family: var(--font-family); font-size: 0.92rem; letter-spacing: 0; text-transform: none; color: var(--ink); }
.press-table tbody th a { color: var(--ink); text-decoration: none; }
.press-table tbody th a:hover b { text-decoration: underline; text-decoration-color: var(--volt-deep); text-decoration-thickness: 2px; }
.press-table td { padding-left: 1rem; font-size: 0.86rem; }
.press-table thead th + th { padding-left: 1rem; }
.press-num,
.press-table th.press-num,
.press-table td.press-num { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; padding-left: 1rem; }
.press-table td.press-num:last-child, .press-table th.press-num:last-child { padding-right: 0; }
.press-table td.press-num { font-family: var(--font-mono); font-size: 0.85rem; }

.press-details {
  margin-top: 2rem;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
}
.press-details summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.8rem;
  padding: 1rem 1.2rem;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  transition: background-color 0.2s;
}
.press-details summary::-webkit-details-marker { display: none; }
.press-details summary::before {
  content: '+';
  display: grid;
  place-items: center;
  width: 1.6rem;
  height: 1.6rem;
  flex: none;
  border-radius: 50%;
  background: var(--volt);
  box-shadow: inset 0 0 0 1.5px var(--ink);
  font-size: 1rem;
  transition: transform 0.3s var(--ease-swift);
}
.press-details[open] summary::before { transform: rotate(45deg); }
.press-details summary:hover { background: rgba(200, 245, 59, 0.12); }
.press-details__count { margin-left: auto; color: var(--text-muted); font-weight: 500; }
.press-details .table-scroll { border: 0; border-top: 1px solid var(--line); border-radius: 0; max-height: 34rem; overflow: auto; }

.press-table-foot { margin: 0.8rem 0 0; display: flex; justify-content: flex-end; }
.press-csv {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink);
  text-decoration: none;
  padding: 0.5rem 0.9rem;
  border-radius: 999px;
  box-shadow: inset 0 0 0 1.5px var(--ink);
  transition: background-color 0.2s, color 0.2s;
}
.press-csv .material-symbols-outlined { font-size: 16px; }
.press-csv:hover { background: var(--ink); color: var(--volt); }
.press-csv--solid { background: var(--ink); color: var(--volt); }
.press-csv--solid:hover { background: var(--volt); color: var(--ink); }
.press-table-foot { gap: 0.5rem; flex-wrap: wrap; }
.press-offer__actions { display: flex; flex-wrap: wrap; gap: 0.5rem; margin: 0 !important; }

.press-notes {
  margin-top: 1.4rem;
  display: grid;
  gap: 0.35rem;
}
.press-notes p { margin: 0; font-size: 0.8rem; line-height: 1.6; color: var(--text-muted); max-width: 90ch; }
.press-notes p::before { content: '* '; color: var(--volt-deep); font-weight: 700; }
.press-notes__source { font-family: var(--font-mono); font-size: 0.68rem !important; letter-spacing: 0.02em; }
.press-notes p.press-notes__source::before { content: ''; }

/* --- About and contact --- */
.press-about {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
  gap: 1.5rem;
  margin: 0 0 1.5rem;
  padding-top: 1.6rem;
  border-top: 1.5px solid var(--ink);
}
.press-about h2 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2.1rem, 4.4vw, 3.2rem);
  line-height: 0.95;
  text-transform: uppercase;
  margin: 0.6rem 0 1rem;
}
.press-about p { color: var(--text-secondary); line-height: 1.7; }
.press-about a { color: var(--ink); font-weight: 700; text-decoration-color: var(--volt-deep); text-decoration-thickness: 2px; text-underline-offset: 3px; }
.press-contact {
  background: var(--ink);
  color: var(--paper);
  border-radius: 20px;
  padding: 1.7rem 1.7rem 1.4rem;
}
.press-contact h3 { font-family: var(--font-mono); font-size: 0.7rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--volt); margin: 0 0 0.5rem; }
.press-contact h3 + p { margin-top: 0; }
.press-contact p { color: rgba(243, 240, 231, 0.74); font-size: 0.92rem; }
.press-contact p + h3 { margin-top: 1.6rem; }
.press-contact a:not(.btn) { color: var(--paper); text-decoration-color: rgba(200, 245, 59, 0.6); }
.press-contact a:not(.btn):hover { color: var(--volt); }
.press-contact .btn { display: inline-flex; align-items: center; gap: 0.5rem; text-transform: none; letter-spacing: 0; font-size: 0.86rem; box-shadow: none; margin: 0.4rem 0 1.8rem; }
.press-contact p { margin: 0 0 0.6rem; }
.press-about p { margin: 0 0 1rem; }
.press-contact .btn .material-symbols-outlined { font-size: 18px; }

.press-archive {
  margin: 0 0 1.5rem;
  padding: 1.5rem 1.7rem;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--card);
}
.press-archive h2 { display: flex; align-items: center; gap: 0.5rem; font-family: var(--font-mono); font-size: 0.74rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; margin: 0 0 0.9rem; }
.press-archive ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0.45rem; }
.press-archive a { display: inline-block; font-family: var(--font-mono); font-size: 0.72rem; color: var(--ink); text-decoration: none; padding: 0.45rem 0.8rem; border-radius: 999px; box-shadow: inset 0 0 0 1px var(--line-strong); }
.press-archive a:hover { background: var(--volt); }

/* --- Narrow screens --- */
@media (max-width: 900px) {
  .press-ticker { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .press-ticker li + li { border-left: 0; }
  .press-ticker li { border-top: 1px solid rgba(243, 240, 231, 0.14); }
  .press-ticker li:nth-child(-n + 2) { border-top: 0; }
  .press-ticker li:nth-child(even) { border-left: 1px solid rgba(243, 240, 231, 0.14); }
  .press-ticker li:last-child:nth-child(odd) { grid-column: span 2; }
  .press-cite__rules { grid-template-columns: 1fr; }
  .press-ranks, .press-about { grid-template-columns: 1fr; }
}
@media (max-width: 680px) {
  .press-mast { padding-top: calc(var(--header-height) + 2rem); }
  .press-mast__meta time { margin-left: 0; width: 100%; }
  .press-mast__radar { width: 120vmin; right: -60vmin; opacity: 0.6; }
  .press-mast__radar .radar-blips { display: none; }
  .press-cite { grid-template-columns: 1fr; padding: 1.5rem 1.3rem; box-shadow: 5px 5px 0 var(--volt), 5px 5px 0 1.5px var(--ink); }
  .press-cite__mark { display: none; }
  .press-section__head { grid-template-columns: 1fr; }
  .press-section__no { font-size: 3.6rem; margin-bottom: 0.4rem; }
  .press-fact, .press-facts > .press-fact:first-child { flex-basis: 100%; }
  .press-fact__quote { font-size: 1.28rem; }
  .press-heat { padding: 1rem 0.8rem 0.9rem; }
  .press-heat__row { grid-template-columns: 2rem repeat(24, minmax(0, 1fr)); gap: 1px; }
  .press-heat__grid { gap: 1px; }
  .press-heat__cell { border-radius: 2px; height: 18px; }
  .press-chart { padding: 1rem 0.9rem 0.9rem; }
  .press-chart__tick { font-size: 19px; }
  .press-chart__end { font-size: 20px; }
  .press-chart__line { stroke-width: 3; }
  .press-offer { grid-template-columns: 1fr; }
  .press-rank li { grid-template-columns: 1.8rem minmax(0, 1fr) auto; }
  .press-rank__diff { display: none; }
  .press-nav__cite { margin-left: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .press-mast__radar b { animation: none; }
  .press-fact, .press-copy, .press-heat__cell { transition: none; }
  .press-fact:hover { transform: none; }
}
