/* =========================================================
   Self-hosted fonts (GDPR — no external Google Fonts request)
   Inter = variable (wght 100–900), Bebas Neue = single weight 400.
   Subsets: latin + latin-ext — covers German (ä ö ü ß) and punctuation.
   ========================================================= */
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("../fonts/inter-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("../fonts/inter-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Bebas Neue";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/bebas-neue-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Bebas Neue";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/bebas-neue-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* =========================================================
   Wakayashi.gg — design tokens & base styles
   Brand pulled from the Offline-Screen artwork:
   dark anthracite + warm copper/gold + brush typography
   ========================================================= */

:root {
  /* Surfaces — warm light paper, gentle cream */
  --bg-0:        #f6f1e8;  /* page bg */
  --bg-1:        #ffffff;  /* card */
  --bg-2:        #fbf6ec;  /* alt card */
  --bg-3:        #f1e9d7;  /* deeper alt */
  --line:        rgba(168, 127, 68, 0.18);
  --line-strong: rgba(168, 127, 68, 0.36);

  /* Foreground */
  --fg:        #2a2118;
  --fg-strong: #14100a;
  --fg-muted:  #6e604c;
  --fg-subtle: #a1907a;

  /* Brand accents — warm gold family */
  --gold:        #b88634;
  --gold-bright: #d9b26e;
  --gold-deep:   #8a5f1f;

  /* Status */
  --live:    #f04848;
  --offline: #6b6357;

  /* Twitch / YouTube / Instagram brand */
  --twitch:    #9146ff;
  --youtube:   #ff0000;
  --instagram: #e1306c;

  /* Radii */
  --r-xs: 4px;
  --r-sm: 6px;
  --r-md: 10px;
  --r-xl: 20px;
  --r-pill: 999px;

  /* Type */
  --font-display: "Bebas Neue", "Oswald", system-ui, sans-serif;
  --font-body:    "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --display-transform: uppercase;
  --display-tracking: 0.02em;

  /* Shadows */
  --shadow-card:  0 8px 28px rgba(60, 40, 12, 0.10), 0 0 0 1px rgba(168,127,68,0.10);
  --shadow-pop:   0 18px 60px rgba(60, 40, 12, 0.18), 0 0 0 1px rgba(168,127,68,0.18);

  /* Intensity of warm accents */
  --accent-strength: 0.60;
}

/* ---------- Resets ---------- */
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  background: var(--bg-0);
  color: var(--fg);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  min-height: 100vh;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; }
button { font-family: inherit; cursor: pointer; }
a { color: inherit; text-decoration: none; }
a:focus-visible, button:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
  border-radius: var(--r-xs);
}

/* ---------- Base page chrome ---------- */
.page {
  max-width: 1920px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Big diagonal chevron pattern — inverted for light bg */
.bg-chevrons {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background:
    radial-gradient(1200px 600px at 80% -10%, rgba(184,134,52, calc(var(--accent-strength) * 0.14)), transparent 60%),
    radial-gradient(900px 500px at 10% 100%, rgba(184,99,43, calc(var(--accent-strength) * 0.08)), transparent 60%),
    var(--bg-0);
}
.bg-chevrons::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: calc(var(--accent-strength) * 0.55);
  background-image:
    linear-gradient(135deg, transparent 47%, rgba(60,40,12,0.025) 47%, rgba(60,40,12,0.025) 53%, transparent 53%),
    linear-gradient(135deg, transparent 47%, rgba(60,40,12,0.018) 47%, rgba(60,40,12,0.018) 53%, transparent 53%);
  background-size: 220px 220px, 320px 320px;
  background-position: 0 0, 110px 60px;
  mask-image: linear-gradient(180deg, rgba(0,0,0,0.9), rgba(0,0,0,0.4) 60%, transparent);
  -webkit-mask-image: linear-gradient(180deg, rgba(0,0,0,0.9), rgba(0,0,0,0.4) 60%, transparent);
}

main, header, footer { position: relative; z-index: 1; }

/* ---------- Typography helpers ---------- */
.eyebrow {
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
}
.tabular { font-variant-numeric: tabular-nums; }

/* ---------- Pill / Badge ---------- */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  border-radius: var(--r-pill);
  background: rgba(184,134,52, 0.08);
  border: 1px solid rgba(184,134,52, 0.30);
  color: var(--gold-deep);
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
}
.badge .dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--gold);
}
.badge--live {
  background: rgba(220, 38, 38, 0.08);
  border-color: rgba(220,38,38, 0.40);
  color: #b91c1c;
}
.badge--live .dot {
  background: var(--live);
  box-shadow: 0 0 0 0 rgba(240,72,72, 0.7);
  animation: pulse 1.6s infinite;
}
.badge--offline { color: var(--fg-muted); }
.badge--offline .dot { background: var(--offline); }

@keyframes pulse {
  0%   { box-shadow: 0 0 0 0 rgba(240,72,72, 0.55); }
  70%  { box-shadow: 0 0 0 8px rgba(240,72,72, 0); }
  100% { box-shadow: 0 0 0 0 rgba(240,72,72, 0); }
}

@keyframes shimmer {
  0%   { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 20px;
  border-radius: var(--r-md);
  font-weight: 600;
  font-size: 15px;
  border: 1px solid transparent;
  background: transparent;
  color: var(--fg);
  transition: transform 160ms ease, background 160ms ease, border-color 160ms ease, color 160ms ease, box-shadow 200ms ease;
  white-space: nowrap;
  position: relative;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }

.btn--primary {
  background: linear-gradient(180deg, var(--gold-bright), var(--gold));
  color: #14100a;
  border-color: var(--gold-deep);
  box-shadow: 0 6px 18px rgba(184,134,52, 0.30), inset 0 1px 0 rgba(255,255,255,0.45);
}
.btn--primary:hover {
  background: linear-gradient(180deg, #e8c283, var(--gold-bright));
  box-shadow: 0 10px 26px rgba(184,134,52, 0.40), inset 0 1px 0 rgba(255,255,255,0.55);
}

.btn--twitch {
  background: var(--twitch);
  color: white;
  border-color: rgba(255,255,255,0.10);
  box-shadow: 0 6px 20px rgba(145,70,255, 0.30);
}
.btn--twitch:hover { background: #a067ff; }

.btn--ghost {
  background: var(--bg-1);
  border-color: var(--line-strong);
  color: var(--fg-strong);
}
.btn--ghost:hover {
  background: var(--bg-2);
  border-color: var(--gold);
  color: var(--fg-strong);
}

.btn--sm { padding: 8px 14px; font-size: 13px; }
.btn--lg { padding: 14px 24px; font-size: 16px; }

/* ---------- Header ---------- */
.header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(246, 241, 232, 0.85);
  backdrop-filter: saturate(140%) blur(14px);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex;
  align-items: center;
  gap: 24px;
  height: 72px;
}
.brand-mark {
  display: flex;
  align-items: baseline;
  gap: 2px;
}
.brand-mark .glyph {
  font-family: var(--font-display);
  font-size: 28px;
  color: var(--fg-strong);
  line-height: 1;
  letter-spacing: var(--display-tracking);
  text-transform: var(--display-transform);
}
.brand-mark .dotgold {
  color: var(--gold);
}
.brand-mark .tld {
  font-family: var(--font-display);
  font-size: 28px;
  letter-spacing: 0.02em;
  color: var(--gold);
  text-transform: uppercase;
  line-height: 1;
  transform: none;
}

.nav {
  display: flex;
  gap: 4px;
  margin-left: 12px;
}
.nav a {
  padding: 8px 14px;
  border-radius: var(--r-sm);
  font-size: 14px;
  font-weight: 500;
  color: var(--fg-muted);
  transition: color 160ms ease, background 160ms ease;
}
.nav a:hover {
  color: var(--fg-strong);
  background: rgba(184,134,52, 0.08);
}

.header-right {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 14px;
}
.poe-logo {
  height: 42px;
  width: auto;
  display: block;
}

/* ---------- Section spacing ---------- */
section { padding: 72px 0; position: relative; scroll-margin-top: 84px; }

/* Compact PoE 2 tools link bar */
.tools-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}
.tools-row .eyebrow { margin-right: 4px; }
/* Mobile: label on its own line, buttons drop below it */
@media (max-width: 620px) {
  .tools-row .eyebrow { flex-basis: 100%; margin-right: 0; }
}
.section-head { margin-bottom: 32px; max-width: 720px; }
/* Section head with a right-aligned element (button / tool pills), bottom-aligned */
.section-head--row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px 24px;
  max-width: none;
}
.section-head--row > :first-child { max-width: 720px; }
.section-head h2 {
  font-family: var(--font-display);
  font-size: clamp(38px, 4.6vw, 58px);
  line-height: 1.0;
  letter-spacing: var(--display-tracking);
  text-transform: var(--display-transform);
  margin: 8px 0 16px;
  color: var(--fg-strong);
}
/* must come AFTER .section-head h2 (same specificity) to win the cascade */
.section-head--row h2 { margin-bottom: 0; }
.section-head p { color: var(--fg-muted); font-size: 17px; margin: 0; }

/* ---------- Hero + Live grid ---------- */
.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  align-items: stretch;
  margin-top: 32px;
}
@media (max-width: 1024px) {
  .hero-grid { grid-template-columns: 1fr; }
}

.hero {
  position: relative;
  background:
    radial-gradient(900px 600px at 110% 60%, rgba(184,99,43,0.12), transparent 55%),
    linear-gradient(180deg, var(--bg-1) 0%, var(--bg-2) 100%);
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  padding: 40px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: var(--shadow-card);
}
/* The character image keeps the dark photo — fade harder so it blends into the cream bg */
.hero-character {
  position: absolute;
  right: -40px;
  bottom: -20px;
  top: -20px;
  width: 56%;
  max-width: 520px;
  background: url("../img/hero-bg.png") right center / cover no-repeat;
  pointer-events: none;
  z-index: 1;
  opacity: 0.92;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, rgba(0,0,0,0.20) 18%, rgba(0,0,0,0.80) 45%, black 70%);
  mask-image: linear-gradient(90deg, transparent 0%, rgba(0,0,0,0.20) 18%, rgba(0,0,0,0.80) 45%, black 70%);
  /* gentle warm tint to harmonize with cream surface */
  filter: contrast(1.02) brightness(1.0);
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 2;
  background:
    radial-gradient(700px 500px at 18% 35%, rgba(255,255,255,0.55), transparent 55%),
    linear-gradient(180deg, transparent 70%, rgba(246,241,232,0.40) 100%);
}
@media (max-width: 1024px) {
  .hero, .live-panel { min-height: 460px; aspect-ratio: auto; }
  .hero-character {
    width: 70%;
    max-width: none;
    right: -60px;
    opacity: 0.65;
  }
}
@media (max-width: 620px) {
  .hero-character {
    width: 90%;
    right: -80px;
    opacity: 0.45;
  }
}
.hero > *:not(.hero-character) { position: relative; z-index: 3; }

.hero-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.hero-title {
  font-family: var(--font-display);
  font-size: clamp(48px, 6.4vw, 92px);
  line-height: 0.95;
  letter-spacing: var(--display-tracking);
  text-transform: var(--display-transform);
  margin: 18px 0 14px;
  color: var(--fg-strong);
  text-shadow: 0 1px 0 rgba(255,255,255,0.4);
}
.hero-title .accent { color: var(--gold-deep); }
.hero-sub {
  font-size: clamp(15px, 1.5vw, 18px);
  color: var(--fg-muted);
  max-width: 460px;
  margin: 0 0 28px;
}
.hero-ctas { display: flex; gap: 12px; flex-wrap: wrap; }

/* ---------- Live / Twitch panel ---------- */
.live-panel {
  background: var(--bg-1);
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  min-height: 520px;
  box-shadow: var(--shadow-card);
}
.live-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 18px 22px;
  border-bottom: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(184,134,52,0.05), transparent);
}
.live-head .title {
  display: flex; align-items: center; gap: 10px;
  font-weight: 600;
  font-size: 15px;
  color: var(--fg-strong);
  transition: color 160ms ease;
}
a.title:hover { color: var(--gold-deep); }
.live-head .title .twitch-glyph {
  width: 22px; height: 22px;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--twitch); border-radius: 4px; color: white;
}

.player {
  position: relative;
  flex: 1;
  background: #000;
  display: flex; align-items: center; justify-content: center;
  min-height: 420px;
}
.player iframe { width: 100%; height: 100%; border: 0; }
.player-offline {
  position: absolute; inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  text-align: center;
  padding: 24px;
  background: radial-gradient(620px 420px at 50% 32%, rgba(184,134,52,0.12), transparent 62%);
}
.player-offline .offline-stamp {
  font-family: var(--font-display);
  font-size: clamp(48px, 6vw, 88px);
  color: #fff;
  letter-spacing: var(--display-tracking);
  line-height: 1.0;
  text-transform: var(--display-transform);
  text-shadow: 0 4px 24px rgba(0,0,0,0.7);
}
.player-offline .sub {
  font-size: 14px;
  color: #e8d8b8;
  max-width: 340px;
  margin: 0;
}

.live-foot {
  padding: 16px 22px 18px;
  display: flex;
  gap: 12px;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid var(--line);
}
.live-foot .note { font-size: 13px; color: var(--fg-muted); }

/* ---------- Cheat sheet section ---------- */
.sheet-shell {
  background: var(--bg-1);
  border: 1px solid var(--line-strong);
  border-radius: var(--r-xl);
  overflow: hidden;
  box-shadow: var(--shadow-pop);
  position: relative;
}
.sheet-shell::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  border-radius: inherit;
  background:
    linear-gradient(135deg, rgba(184,134,52, calc(var(--accent-strength)*0.10)), transparent 30%),
    linear-gradient(315deg, rgba(184,134,52, calc(var(--accent-strength)*0.06)), transparent 30%);
}
.sheet-head {
  display: flex; align-items: center; justify-content: space-between;
  gap: 14px;
  padding: 18px 24px;
  border-bottom: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(184,134,52,0.07), transparent);
}
.sheet-head .left { display: flex; align-items: center; gap: 14px; min-width: 0; }
.sheet-head .titles { min-width: 0; }
.sheet-head .titles .t1 {
  font-weight: 600; color: var(--fg-strong);
  display: flex; align-items: center; gap: 8px;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.sheet-head .titles .t2 {
  font-size: 13px; color: var(--fg-muted);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.sheet-head .right { display: flex; gap: 8px; align-items: center; }

.sheet-frame {
  position: relative;
  background: white;
  aspect-ratio: 16 / 9;
}
.sheet-frame iframe { width: 100%; height: 100%; border: 0; display: block; }

.sheet-mobile-fallback {
  display: none;
  padding: 40px 24px;
  text-align: center;
  background: var(--bg-2);
  color: var(--fg);
  flex-direction: column;
  gap: 16px;
  align-items: center;
}
.sheet-mobile-fallback .icon-tile-big {
  width: 56px; height: 56px;
  border-radius: var(--r-md);
  background: linear-gradient(180deg, var(--gold-bright), var(--gold));
  color: #14100a;
  display: inline-flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 22px;
  box-shadow: 0 6px 18px rgba(184,134,52,0.30);
}
.sheet-mobile-fallback h3 {
  margin: 0 0 6px;
  color: var(--fg-strong);
  font-family: var(--font-display);
  font-size: 22px;
  letter-spacing: var(--display-tracking);
  text-transform: var(--display-transform);
  line-height: 1.0;
}

@media (max-width: 720px) {
  .sheet-frame { display: none; }
  .sheet-mobile-fallback { display: flex; }
}

/* ---------- YouTube grid ---------- */
.yt-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
@media (max-width: 960px) { .yt-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .yt-grid { grid-template-columns: 1fr; } }

.yt-card {
  background: var(--bg-1);
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transition: transform 220ms ease, border-color 220ms ease, box-shadow 220ms ease;
}
.yt-card:hover { transform: translateY(-3px); border-color: var(--line-strong); box-shadow: var(--shadow-pop); }
.yt-thumb {
  position: relative;
  aspect-ratio: 16 / 9;
  background: linear-gradient(135deg, var(--bg-2), var(--bg-3));
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}
.yt-thumb::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, transparent 40%, rgba(184,134,52,0.10) 50%, transparent 60%),
    linear-gradient(180deg, transparent 60%, rgba(60,40,12,0.20) 100%);
}
.yt-play {
  position: absolute;
  left: 50%; top: 50%;
  transform: translate(-50%, -50%);
  width: 64px; height: 64px;
  border-radius: 50%;
  background: rgba(255,255,255,0.92);
  border: 2px solid var(--fg-strong);
  display: inline-flex; align-items: center; justify-content: center;
  color: var(--fg-strong);
  z-index: 2;
  transition: all 220ms ease;
  box-shadow: 0 6px 18px rgba(0,0,0,0.18);
}
.yt-card:hover .yt-play {
  background: var(--youtube);
  border-color: var(--youtube);
  color: white;
  transform: translate(-50%, -50%) scale(1.06);
}
.yt-body { padding: 20px 22px 22px; }
.yt-body .ytitle {
  font-weight: 700;
  color: var(--fg-strong);
  font-size: 16px;
  margin: 0 0 8px;
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.yt-body .yt-meta {
  display: flex; align-items: center; gap: 10px;
  color: var(--fg-muted); font-size: 13px;
}
.yt-body .yt-meta .dot { width: 3px; height: 3px; border-radius: 50%; background: var(--fg-subtle); }

/* ---------- Footer ---------- */
.footer {
  margin-top: 60px;
  border-top: 1px solid var(--line);
  padding: 48px 0 36px;
  background: linear-gradient(180deg, transparent, rgba(184,134,52,0.06));
}

/* ---------- Countdown ---------- */
.countdown {
  display: flex;
  align-items: center;
  gap: 6px;
}
.countdown .seg {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  min-width: 38px;
  padding: 6px 8px;
  background: var(--bg-1);
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
}
.countdown .seg .num {
  font-family: var(--font-display);
  font-size: 20px;
  color: var(--fg-strong);
  line-height: 1;
  font-variant-numeric: tabular-nums;
}
.countdown .seg .lbl {
  font-size: 9px;
  color: var(--fg-muted);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-top: 2px;
}
.countdown .sep { color: var(--fg-subtle); font-weight: 700; }

/* ---------- Responsive header behavior ---------- */
@media (max-width: 860px) {
  .nav { display: none; }
  .header-right .desktop-only { display: none; }
  .countdown { display: none; }
}

@media (max-width: 520px) {
  section { padding: 56px 0; }
  .hero { padding: 28px; min-height: 460px; }
  .hero-ctas .btn { flex: 1; }
  .page { padding: 0 16px; }
  .header-inner { height: 64px; gap: 12px; }
}

/* ---------- YouTube skeleton cards (before fetch resolves) ---------- */
.yt-card--skeleton {
  pointer-events: none;
}
.yt-thumb--shimmer {
  background: linear-gradient(110deg, var(--bg-2) 30%, var(--bg-3) 50%, var(--bg-2) 70%);
  background-size: 200% 100%;
  animation: shimmer 1.4s linear infinite;
}
.skl {
  height: 14px;
  border-radius: 4px;
  background: var(--bg-3);
}
.skl-1 { width: 82%; margin-bottom: 10px; }
.skl-2 { width: 50%; }



/* Footer — single-row layout (plain HTML version) */
.footer-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.footer-socials {
  display: flex;
  gap: 8px;
  align-items: center;
}
@media (max-width: 520px) {
  .footer-row { justify-content: center; flex-direction: column; gap: 20px; }
}


/* Footer social pills — colored on hover */
.social-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: var(--r-pill);
  background: transparent;
  border: 1px solid var(--line);
  color: var(--fg-muted);
  font-size: 14px;
  font-weight: 500;
  transition: background 160ms ease, border-color 160ms ease, color 160ms ease;
}
.social-pill svg { transition: color 160ms ease; }

.social-pill--twitch:hover {
  background: rgba(145, 70, 255, 0.08);
  border-color: rgba(145, 70, 255, 0.45);
  color: var(--twitch);
}
.social-pill--youtube:hover {
  background: rgba(255, 0, 0, 0.06);
  border-color: rgba(255, 0, 0, 0.40);
  color: var(--youtube);
}
.social-pill--instagram:hover {
  background: rgba(225, 48, 108, 0.06);
  border-color: rgba(225, 48, 108, 0.40);
  color: var(--instagram);
}
.social-pill--discord:hover {
  background: rgba(88, 101, 242, 0.06);
  border-color: rgba(88, 101, 242, 0.40);
  color: #5865f2;
}

@media (max-width: 760px) {
  .footer-socials { flex-wrap: wrap; justify-content: center; }
}


/* =========================================================
   Consent / click-to-load placeholders (GDPR)
   Shown in place of the Twitch player and the Google Sheet until
   the visitor actively loads the external content.
   ========================================================= */
.consent {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  text-align: center;
  padding: 28px;
}
.consent .consent-ico { line-height: 0; opacity: 0.9; }
.consent .consent-note {
  max-width: 380px;
  margin: 0;
  font-size: 14px;
  line-height: 1.5;
}
.consent-live {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-size: 22px;
  letter-spacing: var(--display-tracking);
  text-transform: var(--display-transform);
  color: #fff;
}
.consent-live .dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--live);
  box-shadow: 0 0 0 0 rgba(240,72,72, 0.7);
  animation: pulse 1.6s infinite;
}

/* Player context (dark surface) */
.player .consent {
  color: #e8d8b8;
  background: radial-gradient(620px 420px at 50% 32%, rgba(184,134,52,0.12), transparent 62%);
}
.player .consent .consent-ico { color: var(--twitch); }
.player .consent strong { color: #fff; }

/* Sheet context (light surface) */
.sheet-frame .consent {
  color: var(--fg-muted);
  background: var(--bg-2);
}
.sheet-frame .consent .consent-ico { color: var(--gold-deep); }
.sheet-frame .consent strong { color: var(--fg-strong); }


/* =========================================================
   PoE 2 news cards — reuse the YouTube card look (.yt-card).
   The feed has no images, so the thumbnail is a stylised brand tile.
   ========================================================= */
.news-thumb-ico {
  position: absolute;
  left: 50%; top: 50%;
  transform: translate(-50%, -50%);
  z-index: 2;
  line-height: 0;
  color: rgba(184, 134, 52, 0.45);
  transition: color 220ms ease;
}
.yt-card:hover .news-thumb-ico { color: rgba(184, 134, 52, 0.7); }
.news-excerpt {
  margin: 0 0 12px;
  font-size: 14px;
  line-height: 1.5;
  color: var(--fg-muted);
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}


/* =========================================================
   Responsive fixes
   ========================================================= */
/* Countdown label belongs to the countdown — hide both together on mobile.
   (Replaces an inline display:flex that beat the .desktop-only hide rule.) */
#countdown-wrap { display: flex; align-items: center; gap: 8px; }
@media (max-width: 860px) {
  #countdown-wrap { display: none; }
}

/* Footer fine-print / privacy reset link */
.footer-fineprint {
  margin: 22px 0 0;
  text-align: center;
  font-size: 12px;
  color: var(--fg-subtle);
}
.footer-fineprint button {
  background: none;
  border: 0;
  padding: 0;
  font: inherit;
  color: var(--fg-subtle);
  text-decoration: underline;
  cursor: pointer;
  transition: color 160ms ease;
}
.footer-fineprint button:hover { color: var(--fg-muted); }

/* Countdown replaced by a live note once the patch has launched */
.countdown-live {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
  font-family: var(--font-display);
  font-size: 20px;
  letter-spacing: var(--display-tracking);
  text-transform: var(--display-transform);
  color: var(--gold-deep);
}
.countdown-live .dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: #6fb96a;
}