/* ============================================================
   STRAIN — Editorial Design System
   Default: dark (Northern-Lights, plum-on-ink).
   Light variant via body.theme-light (warm cream paper).
   ============================================================ */

:root {
  /* ── SURFACE (dark default) ── deep warm-tinted with plum undertone */
  --paper-0: #0d0a14;
  --paper-1: #14101e;
  --paper-2: #1e1828;
  --paper-card: #181323;
  --paper-elev: #1a1426;

  /* ── INK ── warm-cream text scale */
  --ink-1: #f6f1e6;
  --ink-2: #c5b8a3;
  --ink-3: #8b7e6a;
  --ink-4: #5a5044;

  /* ── LINES ── hairlines on dark */
  --line-1: rgba(246, 241, 230, 0.06);
  --line-2: rgba(246, 241, 230, 0.11);
  --line-3: rgba(246, 241, 230, 0.20);

  /* ── ACCENT ── brighter plum, calibrated for dark */
  --plum: #b794f4;
  --plum-deep: #8a5cf0;
  --plum-soft: rgba(183, 148, 244, 0.10);
  --plum-line: rgba(183, 148, 244, 0.28);
  --plum-tint: #d8c5f9;

  /* ── SEMANTIC ── */
  --gold: #e8c46b;
  --gold-soft: rgba(232, 196, 107, 0.10);
  --sage: #8fcf7f;
  --brick: #e08a7a;

  /* ── RADII ── */
  --r-xs: 2px;
  --r-sm: 3px;
  --r-md: 4px;
  --r-lg: 6px;

  /* ── TYPE ── */
  --font-display: "Fraunces", "Cormorant Garamond", "Georgia", serif;
  --font-body: "Inter", -apple-system, "Helvetica Neue", sans-serif;
  /* --font-mono ist jetzt Inter mit letter-spacing + uppercase — */
  /* 2 schriften statt 3, mono-charakter bleibt durch caps + tracking. */
  --font-mono: "Inter", -apple-system, "Helvetica Neue", sans-serif;

  /* ── DENSITY ── */
  --pad-page: 56px;
  --pad-section: 40px;
}

/* ══ LIGHT THEME (warm paper) — opt-in via body.theme-light or .theme-light ══ */
body.theme-light,
.theme-light {
  --paper-0: #f3ece0;
  --paper-1: #ede4d3;
  --paper-2: #e2d6bf;
  --paper-card: #faf3e5;
  --paper-elev: #fdf8ec;

  --ink-1: #1c1612;
  --ink-2: #4a3f33;
  --ink-3: #7d6f5e;
  --ink-4: #a89880;

  --line-1: rgba(28, 22, 18, 0.08);
  --line-2: rgba(28, 22, 18, 0.14);
  --line-3: rgba(28, 22, 18, 0.24);

  --plum: #4f2d7a;
  --plum-deep: #311a52;
  --plum-soft: rgba(79, 45, 122, 0.08);
  --plum-line: rgba(79, 45, 122, 0.22);
  --plum-tint: #6f4ba1;

  --gold: #9a7234;
  --gold-soft: rgba(154, 114, 52, 0.10);
  --sage: #5b7a55;
  --brick: #a04634;
}

/* ── Northern-Lights aurora — visible in dark only, animiert ── */
.ed-bg-aurora {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
  opacity: 1;
  transition: opacity 400ms;
}
body.theme-light .ed-bg-aurora,
.theme-light .ed-bg-aurora { opacity: 0; }
.ed-bg-aurora::before,
.ed-bg-aurora::after {
  content: "";
  position: absolute;
  width: 90vw; height: 65vh;
  border-radius: 50%;
  filter: blur(140px);
  opacity: 0.38;
  will-change: transform, opacity;
}
.ed-bg-aurora::before {
  top: -28vh; left: -14vw;
  background: radial-gradient(circle, var(--plum-deep), transparent 70%);
  animation: ed-aurora-drift-a 28s ease-in-out infinite alternate;
}
.ed-bg-aurora::after {
  top: -20vh; right: -18vw;
  background: radial-gradient(circle, var(--plum), transparent 70%);
  opacity: 0.22;
  animation: ed-aurora-drift-b 36s ease-in-out infinite alternate;
}

/* Globaler ambient-aurora: dezenter, immer im hintergrund (auch wenn kein
   .ed-bg-aurora-element vorhanden ist). Wirkt wie ein leichter glow
   hinter dem ganzen layout. */
.ed-ambient {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
  opacity: 0.5;
}
body.theme-light .ed-ambient,
.theme-light .ed-ambient { opacity: 0.15; }
.ed-ambient::before,
.ed-ambient::after {
  content: "";
  position: absolute;
  width: 70vw; height: 70vh;
  border-radius: 50%;
  filter: blur(120px);
  will-change: transform;
}
.ed-ambient::before {
  bottom: -25vh; left: -20vw;
  background: radial-gradient(circle, rgba(138,92,240,0.32), transparent 65%);
  animation: ed-ambient-drift-a 32s ease-in-out infinite alternate;
}
.ed-ambient::after {
  top: 40vh; right: -25vw;
  background: radial-gradient(circle, rgba(167,139,250,0.18), transparent 65%);
  animation: ed-ambient-drift-b 42s ease-in-out infinite alternate;
}

@keyframes ed-aurora-drift-a {
  0%   { transform: translate(0, 0) scale(1);    opacity: 0.36; }
  100% { transform: translate(8vw, 6vh) scale(1.08); opacity: 0.44; }
}
@keyframes ed-aurora-drift-b {
  0%   { transform: translate(0, 0) scale(1);    opacity: 0.22; }
  100% { transform: translate(-6vw, 4vh) scale(1.12); opacity: 0.30; }
}
@keyframes ed-ambient-drift-a {
  0%   { transform: translate(0, 0) scale(1); }
  100% { transform: translate(12vw, -8vh) scale(1.1); }
}
@keyframes ed-ambient-drift-b {
  0%   { transform: translate(0, 0) scale(1); }
  100% { transform: translate(-10vw, 12vh) scale(1.15); }
}

/* User-gesteuerte Mouse-Parallax via CSS-vars (gesetzt aus JS) */
.ed-ambient::before {
  transform: translate(calc(var(--px, 0) * 18px), calc(var(--py, 0) * 12px));
}
.ed-ambient::after {
  transform: translate(calc(var(--px, 0) * -14px), calc(var(--py, 0) * -10px));
}

/* Reduced-motion: keine drift, keine parallax */
@media (prefers-reduced-motion: reduce) {
  .ed-bg-aurora::before,
  .ed-bg-aurora::after,
  .ed-ambient::before,
  .ed-ambient::after { animation: none !important; }
}

/* Smooth scroll global */
html { scroll-behavior: smooth; }

/* Card-fade-in: subtle staggered entry fuer feed/sorten/events cards */
.ed-page > * { animation: ed-fade-in 480ms ease-out both; }
.ed-page > *:nth-child(2) { animation-delay: 60ms; }
.ed-page > *:nth-child(3) { animation-delay: 120ms; }
.ed-page > *:nth-child(4) { animation-delay: 180ms; }
.ed-page > *:nth-child(5) { animation-delay: 240ms; }
.ed-page > *:nth-child(n+6) { animation-delay: 300ms; }
@keyframes ed-fade-in {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: translateY(0); }
}
@media (prefers-reduced-motion: reduce) {
  .ed-page > * { animation: none !important; }
}

/* The light variant kept the primary button white-on-plum which inverts
   incorrectly on dark; in dark we want dark-text on bright-plum. */
.ed-btn-primary {
  color: #0d0a14 !important;
}
body.theme-light .ed-btn-primary,
.theme-light .ed-btn-primary { color: #fbf5e9 !important; }

/* On dark, image grading prefers a touch more saturation */
.ed-feature-media img,
.ed-entry-thumb img,
.ed-hero-media img,
.ed-seedcard-media img {
  filter: saturate(0.95) contrast(1.04);
}
body.theme-light .ed-feature-media img,
body.theme-light .ed-entry-thumb img,
body.theme-light .ed-hero-media img,
body.theme-light .ed-seedcard-media img,
.theme-light .ed-feature-media img,
.theme-light .ed-entry-thumb img,
.theme-light .ed-hero-media img,
.theme-light .ed-seedcard-media img {
  filter: saturate(0.85) contrast(1.02);
}

/* ====== Base ====== */
* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }

body {
  font-family: var(--font-body);
  background: var(--paper-0);
  color: var(--ink-1);
  font-size: 14px;
  line-height: 1.55;
  font-feature-settings: "ss01", "cv11", "case";
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  letter-spacing: -0.003em;
}

button { font-family: inherit; cursor: pointer; background: none; border: 0; color: inherit; padding: 0; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }

/* ====== Type primitives ====== */
.serif {
  font-family: var(--font-display);
  font-weight: 400;
  font-variation-settings: "opsz" 144, "SOFT" 50;
  letter-spacing: -0.018em;
}
.serif-italic { font-style: italic; font-variation-settings: "opsz" 144, "SOFT" 100; }
.mono {
  font-family: var(--font-mono);
  font-size: 0.78em;
  letter-spacing: 0.04em;
}
.eyebrow {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-3);
  font-weight: 500;
}
.eyebrow-num { color: var(--plum); }
.smallcaps {
  font-feature-settings: "smcp", "c2sc";
  letter-spacing: 0.06em;
}

.rule {
  height: 1px;
  background: var(--line-2);
  border: 0;
  margin: 0;
}
.rule-thick { height: 2px; background: var(--ink-1); }
.rule-double {
  border-top: 1px solid var(--ink-1);
  border-bottom: 1px solid var(--ink-1);
  height: 4px;
}

/* Numerals: tabular lining figures — keeps columns aligned, no kerning quirks */
.ed-num,
.ed-price-amt,
.ed-stat-val,
.ed-score-num,
.ed-axis-val,
.ed-idx-num {
  font-family: var(--font-display);
  font-variation-settings: "opsz" 144;
  font-feature-settings: "tnum", "lnum";
  font-style: normal;
  font-weight: 400;
}


.ed-app {
  min-height: 100vh;
  background: var(--paper-0);
  display: grid;
  grid-template-columns: 232px 1fr;
}

/* ====== Sidebar ====== */
.ed-sidebar {
  border-right: 1px solid var(--line-2);
  padding: 32px 24px 28px;
  position: sticky;
  top: 0;
  height: 100vh;
  background: var(--paper-1);
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.ed-brand {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--line-2);
}
.ed-brand-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.ed-brand-mark {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 32px;
  line-height: 0.9;
  letter-spacing: -0.04em;
  color: var(--ink-1);
}
.ed-brand-mark em {
  font-style: italic;
  font-variation-settings: "opsz" 144;
  color: var(--plum);
}
.ed-brand-vol {
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.2em;
  color: var(--ink-3);
  text-transform: uppercase;
}
.ed-brand-tag {
  font-family: var(--font-display);
  font-size: 13px;
  color: var(--ink-3);
  letter-spacing: 0;
  margin-top: 6px;
}

.ed-nav-section { display: flex; flex-direction: column; gap: 2px; }
.ed-nav-section-title {
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--ink-4);
  margin: 0 0 10px;
  padding: 0 4px;
}
.ed-nav-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 9px 4px 9px 12px;
  border-radius: 0;
  color: var(--ink-2);
  font-size: 13.5px;
  font-family: var(--font-display);
  letter-spacing: -0.005em;
  cursor: pointer;
  position: relative;
  transition: color 200ms;
  border-left: 1px solid transparent;
}
.ed-nav-item:hover { color: var(--ink-1); }
.ed-nav-item.active {
  color: var(--plum);
  border-left-color: var(--plum);
  background: linear-gradient(90deg, var(--plum-soft), transparent 60%);
}
.ed-nav-item-num {
  font-family: var(--font-mono);
  font-size: 9px;
  color: var(--ink-4);
  letter-spacing: 0.1em;
  min-width: 22px;
}
.ed-nav-item.active .ed-nav-item-num { color: var(--plum); }
.ed-nav-item.soon {
  opacity: 0.42;
  cursor: not-allowed;
}
.ed-nav-item.soon:hover {
  color: var(--ink-2);
  background: transparent;
  border-left-color: transparent;
}
.ed-nav-soon-badge {
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: var(--ink-4);
  padding: 1px 6px;
  border: 1px solid var(--line-2);
  border-radius: 3px;
  margin-left: 6px;
  flex-shrink: 0;
}
.ed-nav-item-icon {
  width: 16px; height: 16px;
  display: inline-flex;
  align-items: center; justify-content: center;
  color: currentColor;
  opacity: 0.7;
}
.ed-nav-item-label { flex: 1; }
.ed-nav-sub {
  display: flex;
  flex-direction: column;
  gap: 1px;
  padding: 4px 0 6px 36px;
  margin-bottom: 2px;
}
.ed-nav-sub-item {
  padding: 5px 4px;
  font-size: 12px;
  font-family: var(--font-body);
  color: var(--ink-3);
  cursor: pointer;
  letter-spacing: 0;
  display: flex;
  align-items: center;
  gap: 8px;
}
.ed-nav-sub-item:hover { color: var(--ink-1); }
.ed-nav-sub-item.active { color: var(--plum); font-weight: 500; }
.ed-nav-sub-item::before {
  content: "";
  width: 6px; height: 1px;
  background: currentColor;
  opacity: 0.5;
}

.ed-side-foot {
  margin-top: auto;
  padding-top: 20px;
  border-top: 1px solid var(--line-2);
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.18em;
  color: var(--ink-4);
  text-transform: uppercase;
  line-height: 1.8;
}

/* ====== Topbar ====== */
.ed-topbar {
  position: sticky;
  top: 0;
  z-index: 10;
  background: var(--paper-elev);
  border-bottom: 1px solid var(--line-2);
  padding: 18px 56px;
  display: grid;
  grid-template-columns: 1fr auto auto;
  align-items: center;
  gap: 24px;
}
.ed-topbar-meta {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink-3);
  display: flex;
  gap: 24px;
}
.ed-topbar-meta b {
  color: var(--ink-1);
  font-weight: 500;
}
.ed-search {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 7px 14px;
  border: 1px solid var(--line-2);
  border-radius: 999px;
  background: var(--paper-card);
  color: var(--ink-3);
  font-size: 12.5px;
  min-width: 280px;
}
.ed-search input {
  background: none; border: 0; outline: 0;
  flex: 1; color: var(--ink-1);
  font: inherit;
  font-family: var(--font-body);
}
.ed-kbd {
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.1em;
  color: var(--ink-4);
  padding: 2px 5px;
  border: 1px solid var(--line-2);
  border-radius: 3px;
}
.ed-top-actions { display: flex; align-items: center; gap: 12px; }

/* ====== Buttons ====== */
.ed-btn {
  font-family: var(--font-body);
  font-size: 12px;
  letter-spacing: 0.02em;
  padding: 9px 18px;
  border: 1px solid var(--ink-1);
  border-radius: var(--r-sm);
  background: transparent;
  color: var(--ink-1);
  transition: all 180ms;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.ed-btn:hover { background: var(--ink-1); color: var(--paper-0); }
.ed-btn-primary {
  background: var(--plum);
  border-color: var(--plum);
  color: #fbf5e9;
}
.ed-btn-primary:hover { background: var(--plum-deep); border-color: var(--plum-deep); }
.ed-btn-ghost {
  border-color: var(--line-2);
  padding: 8px 14px;
}
.ed-btn-ghost:hover { background: var(--paper-1); color: var(--ink-1); }
.ed-btn-icon {
  width: 36px; height: 36px;
  border-radius: 999px;
  border: 1px solid var(--line-2);
  padding: 0;
  justify-content: center;
  color: var(--ink-2);
}
.ed-btn-icon:hover { background: var(--paper-1); color: var(--ink-1); }
.ed-btn-link {
  border: 0;
  padding: 0;
  color: var(--plum);
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}
.ed-btn-link::after { content: " →"; }

/* Underlined link variant — Hermès-y */
.ed-link-uline {
  border-bottom: 1px solid currentColor;
  padding-bottom: 1px;
  transition: color 180ms;
}
.ed-link-uline:hover { color: var(--plum); }

/* ====== Page wrapper ====== */
.ed-page {
  max-width: 1320px;
  padding: var(--pad-page) var(--pad-page) 120px;
  margin: 0 auto;
}
.ed-page-narrow { max-width: 920px; }

.ed-page-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 32px;
  padding-bottom: 32px;
  margin-bottom: 48px;
  border-bottom: 1px solid var(--ink-1);
  position: relative;
}
.ed-page-head::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -4px;
  height: 1px;
  background: var(--ink-1);
}
.ed-page-title {
  font-family: var(--font-display);
  font-size: 86px;
  line-height: 0.9;
  letter-spacing: -0.04em;
  margin: 0;
  font-weight: 400;
  color: var(--ink-1);
  font-variation-settings: "opsz" 144;
}
.ed-page-title em {
  font-style: italic;
  color: var(--plum);
}
.ed-page-sub {
  font-family: var(--font-display);
  font-size: 18px;
  line-height: 1.45;
  font-style: italic;
  color: var(--ink-2);
  max-width: 44ch;
  margin: 12px 0 0;
  font-weight: 400;
}
.ed-page-aside {
  text-align: right;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink-3);
  line-height: 1.9;
}
.ed-page-aside b {
  display: block;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 24px;
  letter-spacing: -0.01em;
  text-transform: none;
  color: var(--plum);
  font-style: italic;
  margin-top: 2px;
}

/* Sub-tabs under page head (Blüten / Samen etc.) */
.ed-subtabs {
  display: flex;
  gap: 28px;
  padding: 0 0 18px;
  margin: -32px 0 28px;
  border-bottom: 1px solid var(--line-2);
}
.ed-subtab {
  font-family: var(--font-display);
  font-size: 18px;
  letter-spacing: -0.01em;
  color: var(--ink-3);
  padding: 0 0 14px;
  cursor: pointer;
  position: relative;
  border-bottom: 2px solid transparent;
  margin-bottom: -19px;
  transition: color 180ms;
  display: flex;
  align-items: center;
  gap: 10px;
}
.ed-subtab:hover { color: var(--ink-1); }
.ed-subtab.active {
  color: var(--ink-1);
  border-bottom-color: var(--plum);
}
.ed-subtab-count {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  color: var(--ink-3);
}

/* ====== Section heads ====== */
.ed-section { margin: 0 0 72px; }
.ed-section-head {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: baseline;
  gap: 24px;
  padding-bottom: 14px;
  margin-bottom: 28px;
  border-bottom: 1px solid var(--line-2);
}
.ed-section-num {
  font-family: var(--font-display);
  font-size: 18px;
  color: var(--plum);
}
.ed-section-title {
  font-family: var(--font-display);
  font-size: 28px;
  letter-spacing: -0.02em;
  font-weight: 400;
  margin: 0;
  color: var(--ink-1);
}
.ed-section-aside {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-3);
}

/* ====== Filter row ====== */
.ed-filter-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line-2);
  margin-bottom: 28px;
  flex-wrap: wrap;
}
.ed-chip {
  font-family: var(--font-body);
  font-size: 12px;
  letter-spacing: 0.01em;
  padding: 6px 14px;
  border-radius: 999px;
  border: 1px solid var(--line-2);
  color: var(--ink-2);
  background: transparent;
  transition: all 180ms;
}
.ed-chip:hover { border-color: var(--ink-2); color: var(--ink-1); }
.ed-chip.active {
  background: var(--ink-1);
  color: var(--paper-0);
  border-color: var(--ink-1);
}
.ed-chip-plum.active { background: var(--plum); border-color: var(--plum); }

/* ====== Feed cards — editorial, not Reddit ====== */
.ed-feed {
  display: flex;
  flex-direction: column;
  gap: 0;
}

/* Feature: large editorial entry */
.ed-feature {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 56px;
  align-items: stretch;
  padding: 56px 0;
  border-bottom: 1px solid var(--line-2);
  cursor: pointer;
  transition: opacity 200ms;
}
.ed-feature:hover { opacity: 0.94; }
.ed-feature-media {
  position: relative;
  aspect-ratio: 5 / 4;
  background: var(--paper-1);
  overflow: hidden;
  border-radius: var(--r-sm);
}
.ed-feature-media img {
  width: 100%; height: 100%;
  object-fit: cover;
  filter: saturate(0.85) contrast(1.02);
  transition: transform 800ms ease;
}
.ed-feature:hover .ed-feature-media img { transform: scale(1.02); }
.ed-feature-cap {
  position: absolute;
  bottom: 14px;
  left: 14px;
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #fbf5e9;
  background: rgba(28, 22, 18, 0.78);
  padding: 5px 10px;
  border-radius: var(--r-xs);
  backdrop-filter: blur(8px);
}
.ed-feature-body {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 8px 0;
}
.ed-feature-meta {
  display: flex;
  align-items: center;
  gap: 14px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin-bottom: 24px;
}
.ed-feature-meta b {
  color: var(--plum);
  font-weight: 500;
}
.ed-feature-title {
  font-family: var(--font-display);
  font-size: 44px;
  line-height: 1.02;
  letter-spacing: -0.025em;
  margin: 0 0 20px;
  font-weight: 400;
  color: var(--ink-1);
  font-variation-settings: "opsz" 144;
}
.ed-feature-dek {
  font-family: var(--font-display);
  font-size: 17px;
  line-height: 1.55;
  font-style: italic;
  color: var(--ink-2);
  margin: 0 0 28px;
  max-width: 44ch;
}
.ed-feature-foot {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-top: auto;
  padding-top: 20px;
  border-top: 1px solid var(--line-2);
}
.ed-feature-byline {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 12.5px;
  color: var(--ink-2);
}
.ed-feature-byline b { color: var(--ink-1); font-weight: 500; }

/* Standard list row entry */
.ed-entry {
  display: grid;
  grid-template-columns: 56px 200px 1fr auto;
  gap: 32px;
  padding: 28px 0;
  border-bottom: 1px solid var(--line-2);
  cursor: pointer;
  align-items: start;
  transition: background 200ms;
}
.ed-entry:hover { background: rgba(28, 22, 18, 0.018); }
.ed-entry-num {
  font-family: var(--font-display);
  font-feature-settings: "tnum", "lnum";
  font-size: 24px;
  font-style: normal;
  color: var(--plum);
  letter-spacing: -0.02em;
  padding-top: 4px;
}
.ed-entry-thumb {
  aspect-ratio: 5 / 4;
  background: var(--paper-1);
  overflow: hidden;
  border-radius: var(--r-sm);
}
.ed-entry-thumb img {
  width: 100%; height: 100%;
  object-fit: cover;
  filter: saturate(0.85);
}
.ed-entry-body { min-width: 0; }
.ed-entry-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-mono);
  font-size: 9.5px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin-bottom: 12px;
}
.ed-entry-meta b { color: var(--plum); font-weight: 500; }
.ed-entry-title {
  font-family: var(--font-display);
  font-size: 24px;
  line-height: 1.15;
  letter-spacing: -0.018em;
  margin: 0 0 10px;
  font-weight: 400;
  font-variation-settings: "opsz" 144;
}
.ed-entry-dek {
  font-size: 13.5px;
  line-height: 1.6;
  color: var(--ink-2);
  margin: 0 0 14px;
  max-width: 60ch;
}
.ed-entry-foot {
  display: flex;
  gap: 18px;
  align-items: center;
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--ink-3);
  letter-spacing: 0.1em;
}
.ed-entry-aside {
  text-align: right;
  min-width: 140px;
  padding-top: 4px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-3);
}
.ed-entry-aside b {
  display: block;
  font-family: var(--font-display);
  font-size: 30px;
  font-variation-settings: "opsz" 144;
  color: var(--ink-1);
  font-weight: 400;
  letter-spacing: -0.01em;
  text-transform: none;
}
.ed-entry-aside-sub {
  font-family: var(--font-display);
  text-transform: none;
  letter-spacing: 0;
  color: var(--ink-3);
  font-size: 13px;
  display: block;
  margin-top: 2px;
}

/* ====== Tag / pill ====== */
.ed-tag {
  font-family: var(--font-mono);
  font-size: 9.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding: 3px 8px;
  border: 1px solid var(--line-2);
  border-radius: var(--r-xs);
  color: var(--ink-2);
  background: transparent;
}
.ed-tag-plum {
  color: var(--plum);
  border-color: var(--plum-line);
  background: var(--plum-soft);
}
.ed-tag-gold {
  color: var(--gold);
  border-color: rgba(154, 114, 52, 0.3);
  background: var(--gold-soft);
}
.ed-tag-sage {
  color: var(--sage);
  border-color: rgba(91, 122, 85, 0.3);
  background: rgba(91, 122, 85, 0.08);
}
.ed-tag-ink {
  background: var(--ink-1);
  color: var(--paper-0);
  border-color: var(--ink-1);
}

/* ====== Verified seal ====== */
.ed-seal {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-mono);
  font-size: 9.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  padding: 3px 9px 3px 6px;
  border: 1px solid rgba(154, 114, 52, 0.4);
  border-radius: var(--r-xs);
  background: var(--gold-soft);
}

/* ====== Avatar (paper monogram) ====== */
.ed-avatar {
  width: 32px; height: 32px;
  border-radius: 999px;
  background: var(--paper-1);
  border: 1px solid var(--line-2);
  color: var(--ink-1);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 14px;
  font-weight: 400;
  flex-shrink: 0;
  letter-spacing: -0.01em;
}
.ed-avatar.lg { width: 64px; height: 64px; font-size: 26px; }
.ed-avatar.md { width: 40px; height: 40px; font-size: 16px; }
.ed-avatar.sm { width: 22px; height: 22px; font-size: 11px; }
.ed-avatar-plum {
  background: var(--plum);
  color: #fbf5e9;
  border-color: var(--plum);
}

/* ====== Score / Rating ====== */
.ed-score {
  display: flex;
  align-items: baseline;
  gap: 4px;
  font-family: var(--font-display);
}
.ed-score-num {
  font-size: 30px;
  font-variation-settings: "opsz" 144;
  font-weight: 400;
  letter-spacing: -0.02em;
  color: var(--ink-1);
}
.ed-score-of {
  font-size: 13px;
  color: var(--ink-3);
}
.ed-score.sm .ed-score-num { font-size: 19px; }

.ed-axes { display: grid; gap: 10px; }
.ed-axis-row {
  display: grid;
  grid-template-columns: 90px 1fr 32px;
  align-items: center;
  gap: 12px;
}
.ed-axis-label {
  font-family: var(--font-mono);
  font-size: 9.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-3);
}
.ed-axis-track {
  height: 2px;
  background: var(--line-2);
  position: relative;
  overflow: hidden;
}
.ed-axis-fill {
  position: absolute;
  inset: 0 auto 0 0;
  background: var(--plum);
  border-radius: 0;
}
.ed-axis-val {
  font-family: var(--font-display);
  font-feature-settings: "tnum", "lnum";
  font-size: 13px;
  text-align: right;
  color: var(--ink-1);
  letter-spacing: 0;
}

/* ====== Card / surface ====== */
.ed-card {
  background: var(--paper-card);
  border: 1px solid var(--line-2);
  border-radius: var(--r-sm);
  padding: 24px;
}

/* ====== Strain detail hero ====== */
.ed-hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: stretch;
  padding-bottom: 64px;
  margin-bottom: 48px;
  border-bottom: 1px solid var(--ink-1);
}
.ed-hero-media {
  aspect-ratio: 4 / 5;
  background: var(--paper-1);
  overflow: hidden;
  border-radius: var(--r-sm);
  position: relative;
}
.ed-hero-media img {
  width: 100%; height: 100%;
  object-fit: cover;
  filter: saturate(0.88) contrast(1.02);
}
.ed-hero-body {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 12px 0;
}
.ed-hero-title {
  font-family: var(--font-display);
  font-size: 76px;
  line-height: 0.92;
  letter-spacing: -0.04em;
  margin: 0;
  font-weight: 400;
  font-variation-settings: "opsz" 144;
}
.ed-hero-sub {
  font-family: var(--font-display);
  font-size: 22px;
  color: var(--ink-2);
  margin: 18px 0 0;
  letter-spacing: -0.005em;
}

/* ====== Specifications table — Hermès product specs ====== */
.ed-specs {
  display: grid;
  gap: 0;
  margin-top: 32px;
}
.ed-spec {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 24px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line-2);
  align-items: baseline;
}
.ed-spec:first-child { border-top: 1px solid var(--line-2); }
.ed-spec-label {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink-3);
}
.ed-spec-val {
  font-family: var(--font-display);
  font-size: 17px;
  color: var(--ink-1);
}
.ed-spec-val em {
  font-feature-settings: "tnum", "lnum";
  color: var(--plum);
}
.ed-spec-val small {
  font-family: var(--font-display);
  font-size: 13px;
  color: var(--ink-3);
  letter-spacing: 0;
  margin-left: 8px;
}

/* ====== Pricing matrix ====== */
.ed-pricing {
  display: grid;
  gap: 0;
}
.ed-price-row {
  display: grid;
  grid-template-columns: 1fr auto auto auto;
  gap: 24px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line-2);
  align-items: center;
}
.ed-price-row:first-child { border-top: 1px solid var(--ink-1); }
.ed-price-vendor {
  font-family: var(--font-display);
  font-size: 16px;
  letter-spacing: -0.01em;
}
.ed-price-vendor-meta {
  font-family: var(--font-mono);
  font-size: 9.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin-top: 2px;
}
.ed-price-amt {
  font-family: var(--font-display);
  font-variation-settings: "opsz" 144;
  font-feature-settings: "tnum", "lnum";
  font-size: 24px;
  letter-spacing: -0.012em;
}
.ed-price-amt.best { color: var(--plum); }
.ed-price-mg {
  font-family: var(--font-display);
  font-feature-settings: "tnum", "lnum";
  font-size: 13px;
  letter-spacing: 0;
  color: var(--ink-3);
  min-width: 70px;
  text-align: right;
}
.ed-price-action {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--plum);
}

/* ====== Two-col with sidebar ====== */
.ed-twocol {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 64px;
}

/* ── Hermès-Polish-Layer ──────────────────────────────────────
   Custom-easing fuer alle interaktiven hover/active states.
   Subtile lift + glow auf cards, plum focus-rings, pulse beim klick.
─────────────────────────────────────────────────────────────── */

/* Globale custom-easing fuer transitions */
:root {
  --ease-hermes: cubic-bezier(0.22, 0.61, 0.36, 1);
}

/* Buttons: smoothere transitions, micro-lift bei active */
.ed-btn, .ed-btn-icon, .ed-btn-primary, .ed-btn-ghost {
  transition: background-color 280ms var(--ease-hermes),
              border-color 280ms var(--ease-hermes),
              color 280ms var(--ease-hermes),
              transform 180ms var(--ease-hermes),
              box-shadow 280ms var(--ease-hermes) !important;
}
.ed-btn:active, .ed-btn-icon:active, .ed-btn-primary:active, .ed-btn-ghost:active {
  transform: translateY(1px) scale(0.985);
}
.ed-btn-primary:hover {
  box-shadow: 0 8px 28px rgba(138, 92, 240, 0.32);
}

/* Card-hover-lift: cards die clickable-articles sind kriegen einen
   sehr dezenten lift mit warmem shadow */
article[onclick],
button article,
.ed-feature, .ed-entry {
  transition: transform 340ms var(--ease-hermes),
              box-shadow 340ms var(--ease-hermes),
              border-color 240ms var(--ease-hermes);
}
.ed-feature:hover,
.ed-entry:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.10);
}
body.theme-light .ed-feature:hover,
.theme-light .ed-feature:hover,
body.theme-light .ed-entry:hover,
.theme-light .ed-entry:hover {
  box-shadow: 0 16px 36px rgba(120, 90, 60, 0.08);
}

/* Focus-rings: schmal, plum, kein dicker chrome-default */
*:focus-visible {
  outline: none;
  box-shadow: 0 0 0 2px var(--paper-0), 0 0 0 4px var(--plum);
  border-radius: inherit;
  transition: box-shadow 180ms var(--ease-hermes);
}

/* Inputs: cleanere focus-treatment ohne den ring zu doppeln */
.ed-input:focus,
input.ed-input:focus,
textarea.ed-input:focus,
select.ed-input:focus {
  outline: none;
  border-color: var(--plum);
  box-shadow: 0 0 0 3px rgba(138, 92, 240, 0.16);
}

/* Like-/Vote-pulse: tritt auf elementen mit .ed-pulse-on-click auf, wenn
   .ed-pulse-active draufgesetzt wird (z.b. nach erfolgreichem vote).
   nutzung: <button className="ed-pulse-on-click" + temp .ed-pulse-active>. */
.ed-pulse-on-click { transform-origin: center center; }
.ed-pulse-active {
  animation: ed-pulse 380ms var(--ease-hermes);
}
@keyframes ed-pulse {
  0%   { transform: scale(1); }
  35%  { transform: scale(1.18); }
  70%  { transform: scale(0.96); }
  100% { transform: scale(1); }
}

/* Eingangs-glow auf primary-CTA: kommen mit kleinem pulse rein, einmalig */
.ed-cta-enter {
  animation: ed-cta-glow 1.2s var(--ease-hermes) 200ms both;
}
@keyframes ed-cta-glow {
  0%   { box-shadow: 0 0 0 0 rgba(138, 92, 240, 0); }
  40%  { box-shadow: 0 0 0 6px rgba(138, 92, 240, 0.18); }
  100% { box-shadow: 0 0 0 0 rgba(138, 92, 240, 0); }
}

/* Selection-Color: plum statt browser-blau */
::selection {
  background: rgba(138, 92, 240, 0.32);
  color: inherit;
}

@media (prefers-reduced-motion: reduce) {
  .ed-feature, .ed-entry, .ed-btn, .ed-btn-primary, .ed-btn-icon, .ed-btn-ghost {
    transition: none !important;
  }
  .ed-pulse-active { animation: none !important; }
  .ed-cta-enter { animation: none !important; }
}

/* ====== Drop cap for editorial paragraphs ====== */
.ed-dropcap::first-letter {
  font-family: var(--font-display);
  font-size: 72px;
  line-height: 0.85;
  float: left;
  margin: 4px 12px 0 -2px;
  color: var(--plum);
  font-variation-settings: "opsz" 144;
  font-style: italic;
  font-weight: 400;
}
.ed-prose {
  font-family: var(--font-display);
  font-size: 19px;
  line-height: 1.55;
  color: var(--ink-1);
  max-width: 32em;
  font-variation-settings: "opsz" 24;
}
.ed-prose p { margin: 0 0 1.1em; }
.ed-prose-lead {
  font-size: 22px;
  font-style: italic;
  color: var(--ink-2);
  margin-bottom: 1.4em;
  line-height: 1.45;
}

/* Pull-quote */
.ed-pullquote {
  border-top: 1px solid var(--ink-1);
  border-bottom: 1px solid var(--ink-1);
  padding: 28px 0;
  margin: 36px 0;
  text-align: center;
}
.ed-pullquote q {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 30px;
  line-height: 1.25;
  letter-spacing: -0.015em;
  color: var(--ink-1);
  quotes: "“" "”";
  font-variation-settings: "opsz" 144;
}
.ed-pullquote q::before { color: var(--plum); margin-right: 4px; }
.ed-pullquote q::after { color: var(--plum); margin-left: 4px; }
.ed-pullquote-att {
  display: block;
  margin-top: 14px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink-3);
}

/* ====== Aside cards (sidebar) ====== */
.ed-aside-card {
  background: var(--paper-card);
  border: 1px solid var(--line-2);
  border-radius: var(--r-sm);
  padding: 22px 22px 24px;
  margin-bottom: 16px;
}
.ed-aside-title {
  font-family: var(--font-mono);
  font-size: 9.5px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin: 0 0 14px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--line-2);
}
.ed-aside-card .ed-aside-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 6px 0;
  font-size: 13px;
}
.ed-aside-card .ed-aside-row b {
  font-family: var(--font-display);
  font-weight: 400;
  color: var(--ink-1);
}

/* ====== Auth screen ====== */
.ed-auth {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  background: var(--paper-0);
}
.ed-auth-art {
  background: var(--paper-1);
  padding: 64px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  overflow: hidden;
  border-right: 1px solid var(--line-2);
}
.ed-auth-quote {
  font-family: var(--font-display);
  font-size: 64px;
  line-height: 0.96;
  letter-spacing: -0.035em;
  max-width: 16ch;
  margin: 0;
  font-weight: 400;
  font-variation-settings: "opsz" 144;
}
.ed-auth-quote em {
  font-style: italic;
  color: var(--plum);
}
.ed-auth-form {
  padding: 64px 80px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  max-width: 520px;
}

/* ====== Form ====== */
.ed-field { margin-bottom: 20px; }
.ed-label {
  display: block;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin-bottom: 8px;
}
.ed-input,
.ed-textarea {
  width: 100%;
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--line-2);
  padding: 8px 0;
  color: var(--ink-1);
  font: inherit;
  font-size: 15px;
  font-family: var(--font-display);
  outline: none;
  transition: border-color 200ms;
  border-radius: 0;
}
.ed-input:focus,
.ed-textarea:focus { border-bottom-color: var(--plum); }
.ed-input::placeholder { color: var(--ink-4); font-style: italic; }

/* ====== Comments — editorial ====== */
.ed-comment {
  padding: 24px 0;
  border-bottom: 1px solid var(--line-2);
}
.ed-comment-head {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 12px;
}
.ed-comment-head-meta {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.ed-comment-head-name {
  font-family: var(--font-display);
  font-size: 15px;
  font-style: italic;
  color: var(--ink-1);
}
.ed-comment-head-time {
  font-family: var(--font-mono);
  font-size: 9.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-3);
}
.ed-comment-body {
  font-size: 14px;
  line-height: 1.65;
  color: var(--ink-1);
  margin-bottom: 10px;
  padding-left: 46px;
}
.ed-comment-actions {
  display: flex;
  gap: 24px;
  padding-left: 46px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-3);
}
.ed-comment-actions button { color: inherit; font: inherit; }
.ed-comment-actions button:hover { color: var(--plum); }
.ed-comment-children {
  padding-left: 46px;
  margin-top: 4px;
  border-left: 1px solid var(--line-2);
  padding-left: 24px;
  margin-left: 22px;
}

/* ====== Number / Stat block ====== */
.ed-stat {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.ed-stat-val {
  font-family: var(--font-display);
  font-size: 38px;
  line-height: 1;
  letter-spacing: -0.025em;
  color: var(--ink-1);
  font-variation-settings: "opsz" 144;
  font-weight: 400;
}
.ed-stat-val em { color: var(--plum); }
.ed-stat-label {
  font-family: var(--font-mono);
  font-size: 9.5px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink-3);
}

/* ====== Sparkline ====== */
.ed-spark {
  width: 80px;
  height: 24px;
  display: block;
}

/* ====== Density variants for cards-grid (samen, etc.) ====== */
.ed-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px 28px;
}
.ed-grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}
.ed-grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

/* Samen / Seed cards */
.ed-seedcard {
  display: flex;
  flex-direction: column;
  cursor: pointer;
}
.ed-seedcard-media {
  aspect-ratio: 1;
  background: var(--paper-1);
  border: 1px solid var(--line-2);
  border-radius: var(--r-sm);
  margin-bottom: 14px;
  overflow: hidden;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}
.ed-seedcard-media img {
  width: 100%; height: 100%; object-fit: cover;
  filter: saturate(0.85);
}
.ed-seedcard-num {
  position: absolute;
  top: 12px; left: 14px;
  font-family: var(--font-mono);
  font-size: 9.5px;
  letter-spacing: 0.2em;
  color: var(--ink-3);
}
.ed-seedcard-name {
  font-family: var(--font-display);
  font-size: 22px;
  letter-spacing: -0.015em;
  margin: 0 0 4px;
  font-weight: 400;
}
.ed-seedcard-breeder {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 14px;
  color: var(--ink-3);
  margin-bottom: 14px;
}
.ed-seedcard-foot {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding-top: 12px;
  border-top: 1px solid var(--line-2);
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-3);
}
.ed-seedcard-price {
  font-family: var(--font-display);
  font-feature-settings: "tnum", "lnum";
  font-size: 22px;
  color: var(--plum);
  letter-spacing: -0.015em;
  text-transform: none;
}

/* ====== Index / numbered list ====== */
.ed-idx {
  display: grid;
  gap: 0;
}
.ed-idx-row {
  display: grid;
  grid-template-columns: 56px 1fr auto;
  gap: 24px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line-2);
  align-items: center;
  cursor: pointer;
  transition: background 200ms;
}
.ed-idx-row:hover { background: rgba(28, 22, 18, 0.018); }
.ed-idx-row:first-child { border-top: 1px solid var(--ink-1); }
.ed-idx-num {
  font-family: var(--font-display);
  font-feature-settings: "tnum", "lnum";
  font-size: 22px;
  color: var(--ink-3);
  letter-spacing: -0.01em;
}
.ed-idx-row.top .ed-idx-num { color: var(--plum); }
.ed-idx-name {
  font-family: var(--font-display);
  font-size: 19px;
  letter-spacing: -0.012em;
  font-weight: 400;
}
.ed-idx-sub {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 13px;
  color: var(--ink-3);
  margin-top: 2px;
}
.ed-idx-meta {
  display: flex;
  gap: 32px;
  align-items: center;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--ink-2);
  letter-spacing: 0.05em;
}

/* ====== Mobile frames ====== */
.ed-mobile {
  width: 390px;
  background: var(--paper-0);
  font-size: 14px;
  overflow: hidden;
}
.ed-mobile .ed-page {
  padding: 24px 20px 80px;
  max-width: none;
}
.ed-mobile .ed-page-head {
  flex-direction: column;
  display: flex;
  border-bottom-width: 1px;
  padding-bottom: 16px;
  margin-bottom: 20px;
  gap: 8px;
  align-items: flex-start;
}
.ed-mobile .ed-page-head::after { display: none; }
.ed-mobile .ed-page-title { font-size: 44px; }
.ed-mobile .ed-page-sub { font-size: 15px; margin-top: 6px; }
.ed-mobile .ed-section { margin-bottom: 40px; }
.ed-mobile .ed-section-head { gap: 12px; }
.ed-mobile .ed-section-title { font-size: 18px; }

/* Mobile topbar */
.ed-mobile-topbar {
  padding: 14px 20px 12px;
  border-bottom: 1px solid var(--line-2);
  background: var(--paper-elev);
  display: flex;
  align-items: center;
  gap: 12px;
}
.ed-mobile-topbar .ed-brand-mark { font-size: 26px; }

/* Mobile tabbar */
.ed-mobile-tabbar {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  border-top: 1px solid var(--line-2);
  background: var(--paper-elev);
  padding: 10px 0 22px;
}
.ed-mobile-tabbar button {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  font-family: var(--font-mono);
  font-size: 8.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-3);
  padding: 6px 0 2px;
}
.ed-mobile-tabbar button.active { color: var(--plum); }
.ed-mobile-tabbar button svg { opacity: 0.85; }
.ed-mobile-tabbar button.active svg { stroke: var(--plum); }

/* Mobile feature */
.ed-mobile .ed-feature {
  grid-template-columns: 1fr;
  gap: 22px;
  padding: 28px 0;
}
.ed-mobile .ed-feature-title { font-size: 28px; }
.ed-mobile .ed-feature-dek { font-size: 15px; }
.ed-mobile .ed-feature-media { aspect-ratio: 4/3; }

.ed-mobile .ed-entry {
  grid-template-columns: 90px 1fr;
  gap: 18px;
  padding: 20px 0;
}
.ed-mobile .ed-entry-num { display: none; }
.ed-mobile .ed-entry-title { font-size: 18px; }
.ed-mobile .ed-entry-dek {
  font-size: 13px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.ed-mobile .ed-entry-aside { display: none; }

.ed-mobile .ed-hero {
  grid-template-columns: 1fr;
  gap: 24px;
  padding-bottom: 32px;
  margin-bottom: 24px;
}
.ed-mobile .ed-hero-title { font-size: 44px; }
.ed-mobile .ed-hero-sub { font-size: 16px; }
.ed-mobile .ed-twocol { grid-template-columns: 1fr; gap: 32px; }
.ed-mobile .ed-subtabs { gap: 18px; margin-top: -16px; }
.ed-mobile .ed-subtab { font-size: 15px; }
.ed-mobile .ed-spec { grid-template-columns: 1fr 1fr; gap: 12px; padding: 12px 0; }
.ed-mobile .ed-spec-val { font-size: 14px; }

/* iOS bezel utility */
.ed-ios-bezel {
  width: 414px;
  background: #1c1612;
  border-radius: 48px;
  padding: 12px;
  box-shadow:
    0 0 0 1px rgba(28, 22, 18, 0.4) inset,
    0 30px 80px rgba(28, 22, 18, 0.18),
    0 8px 20px rgba(28, 22, 18, 0.08);
}
.ed-ios-screen {
  border-radius: 38px;
  overflow: hidden;
  background: var(--paper-0);
  width: 390px;
  height: 844px;
  position: relative;
  display: flex;
  flex-direction: column;
}
.ed-ios-screen .ed-statusbar {
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 28px;
  font-family: -apple-system, "SF Pro Text", sans-serif;
  font-size: 14px;
  font-weight: 600;
  color: var(--ink-1);
  flex-shrink: 0;
}
.ed-ios-screen .ed-statusbar-icons {
  display: flex;
  gap: 6px;
  align-items: center;
}
.ed-ios-notch {
  position: absolute;
  top: 8px; left: 50%;
  transform: translateX(-50%);
  width: 122px; height: 36px;
  background: #1c1612;
  border-radius: 20px;
  z-index: 2;
}
.ed-ios-body {
  flex: 1;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.ed-ios-content {
  flex: 1;
  overflow-y: auto;
}

/* Section labels for design canvas */
.ed-canvas-section-label {
  font-family: var(--font-display);
  font-size: 28px;
  font-style: italic;
  letter-spacing: -0.015em;
  color: var(--ink-1);
}

/* Tabs (Feed: Editorial / Trending / Freunde) */
.ed-tabs {
  display: flex;
  gap: 28px;
  border-bottom: 1px solid var(--line-2);
  margin-bottom: 32px;
}
.ed-tab {
  font-family: var(--font-display);
  font-size: 17px;
  letter-spacing: -0.01em;
  color: var(--ink-3);
  padding: 0 0 14px;
  cursor: pointer;
  position: relative;
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
  transition: color 180ms;
  font-style: italic;
}
.ed-tab.active {
  color: var(--ink-1);
  border-bottom-color: var(--plum);
}
.ed-tab-num {
  font-family: var(--font-mono);
  font-size: 10px;
  font-style: normal;
  letter-spacing: 0.1em;
  color: var(--ink-3);
  margin-left: 6px;
}

/* Util */
.row { display: flex; align-items: center; gap: 8px; }
.row-between { display: flex; align-items: center; justify-content: space-between; }
.gap-sm { gap: 8px; }
.gap-md { gap: 16px; }
.gap-lg { gap: 32px; }
.mb-sm { margin-bottom: 8px; }
.mb-md { margin-bottom: 16px; }
.mb-lg { margin-bottom: 32px; }
.muted { color: var(--ink-3); }
.dim { color: var(--ink-2); }

/* Scrollbar */
::-webkit-scrollbar { width: 8px; height: 8px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: var(--line-2); border-radius: 999px; }
::-webkit-scrollbar-thumb:hover { background: var(--line-3); }

/* Image filter for editorial mood (slightly less saturated) */
.ed-img-mood {
  filter: saturate(0.82) contrast(1.04);
}

/* Status badge dot */
.ed-dot {
  width: 6px; height: 6px;
  border-radius: 999px;
  background: var(--plum);
  display: inline-block;
}
.ed-dot.sage { background: var(--sage); }
.ed-dot.gold { background: var(--gold); }
.ed-dot.brick { background: var(--brick); }

/* Aurora — kept but on cream paper, very subtle */
.ed-aurora {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  z-index: 0;
}
.ed-aurora::before {
  content: "";
  position: absolute;
  top: -20%; left: -20%;
  width: 80%; height: 80%;
  background: radial-gradient(circle, var(--plum-soft), transparent 70%);
  filter: blur(80px);
}
