/* landing/landing.css — LPFB v3 — Matchday Programme (mobile-first) */

/* ── ZITAT DES TAGES ─────────────────────────────────────────── */
#zitat-des-tages {
  padding: 1.2rem 1.4rem 1.4rem;
  text-align: center;
  border-bottom: 1px solid rgba(212,146,10,0.08);
  background: linear-gradient(180deg, transparent 0%, rgba(212,146,10,0.03) 100%);
}
.zitat-eyebrow {
  font-family: 'DM Mono', monospace;
  font-size: 0.56rem;
  letter-spacing: 0.34em;
  color: rgba(212,146,10,0.78);
  text-transform: uppercase;
  margin-bottom: 0.7rem;
}
.zitat-text {
  font-family: 'Anton', sans-serif;
  font-size: clamp(1.25rem, 5.5vw, 2.1rem);
  line-height: 1.15;
  color: var(--cream);
  letter-spacing: 0.01em;
  margin: 0 auto 0.55rem;
  padding: 0 0.3rem;
  max-width: 28rem;
}
.zitat-text::before { content: '„'; color: var(--amber); margin-right: 0.02em; }
.zitat-text::after  { content: '"'; color: var(--amber); margin-left: 0.02em; }
.zitat-author {
  font-family: 'DM Mono', monospace;
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  color: rgba(255,243,208,0.55);
  text-transform: uppercase;
}
.zitat-author::before { content: '— '; }

/* Tappable + „share"-affordance */
#zitat-des-tages.zitat-tappable {
  cursor: pointer;
  position: relative;
  transition: background 0.15s ease-out, transform 0.1s ease-out;
  -webkit-tap-highlight-color: transparent;
}
#zitat-des-tages.zitat-tappable:hover {
  background: linear-gradient(180deg, transparent 0%, rgba(212,146,10,0.06) 100%);
}
#zitat-des-tages.zitat-tappable:active { transform: scale(0.985); }
#zitat-des-tages.zitat-tappable::after {
  content: '📲 TEILEN';
  position: absolute;
  top: 0.5rem;
  right: 0.7rem;
  font-family: 'DM Mono', monospace;
  font-size: 0.52rem;
  letter-spacing: 0.16em;
  color: rgba(245,176,48,0.55);
  pointer-events: none;
}

/* ── CHAOS-MULTI BADGE (persistent XP-Event-Indikator) ─────── */
.chaos-badge {
  position: fixed;
  top: calc(env(safe-area-inset-top, 0px) + 0.55rem);
  right: 0.7rem;
  z-index: 50;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.35rem 0.7rem;
  background: linear-gradient(135deg, rgba(245,176,48,0.28), rgba(212,30,30,0.22));
  border: 1px solid rgba(245,176,48,0.6);
  border-radius: 999px;
  color: var(--cream);
  font-family: 'DM Mono', monospace;
  font-size: 0.62rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  box-shadow: 0 0 14px rgba(245,176,48,0.35);
  animation: chaos-badge-pulse 2.4s ease-in-out infinite;
  transition: transform 0.1s ease-out;
}
.chaos-badge[hidden] { display: none; }
.chaos-badge:active { transform: scale(0.94); }
.chaos-badge-icon { font-size: 0.95rem; line-height: 1; }
.chaos-badge-mult {
  color: var(--amber);
  font-weight: 600;
}
.chaos-badge-name {
  font-weight: 500;
  letter-spacing: 0.12em;
}

@keyframes chaos-badge-pulse {
  0%, 100% { box-shadow: 0 0 14px rgba(245,176,48,0.35); }
  50%      { box-shadow: 0 0 22px rgba(245,176,48,0.65); }
}
@keyframes chaos-badge-shake {
  0%, 100% { transform: translateX(0) rotate(0); }
  20%      { transform: translateX(-4px) rotate(-2deg); }
  40%      { transform: translateX(4px) rotate(2deg); }
  60%      { transform: translateX(-3px) rotate(-1deg); }
  80%      { transform: translateX(3px) rotate(1deg); }
}
.chaos-badge-shake { animation: chaos-badge-shake 0.5s ease-in-out; }

/* Mini-Toast (Clipboard-Feedback) */
.zitat-toast {
  position: fixed;
  left: 50%;
  bottom: 5.5rem;
  transform: translate(-50%, 12px);
  padding: 0.6rem 1rem;
  background: rgba(6,4,0,0.92);
  color: var(--cream);
  border: 1px solid rgba(245,176,48,0.35);
  border-radius: 999px;
  font-family: 'DM Mono', monospace;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  z-index: 10001;
  opacity: 0;
  transition: opacity 0.22s ease, transform 0.22s ease;
  pointer-events: none;
  box-shadow: 0 8px 24px rgba(0,0,0,0.4);
}
.zitat-toast.visible { opacity: 1; transform: translate(-50%, 0); }

/* ── ABEND-INTRO-OVERLAY (Commitment-Moment nach Crew-Confirm) ── */
.abend-intro {
  position: fixed; inset: 0; z-index: 9998;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  background: radial-gradient(circle at center, rgba(24,12,0,0.98) 0%, rgba(6,4,0,1) 60%);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  opacity: 0;
  pointer-events: none;
  transition: opacity .35s ease;
  padding: 2rem 1.5rem;
}
.abend-intro.visible { opacity: 1; pointer-events: auto; }
.abend-intro::before {
  content: '';
  position: absolute; inset: -20%;
  background: radial-gradient(circle at center, var(--amber, #F5B030) 0%, transparent 55%);
  opacity: 0.1;
  animation: abend-intro-glow 2.4s ease-in-out infinite;
  pointer-events: none;
}
@keyframes abend-intro-glow {
  0%, 100% { transform: scale(1); opacity: 0.08; }
  50% { transform: scale(1.12); opacity: 0.18; }
}
.abend-intro-photo {
  width: 160px; height: 160px;
  border-radius: 50%;
  border: 4px solid var(--amber);
  background-size: cover;
  background-position: center top;
  background-color: rgba(24,12,0,0.6);
  box-shadow: 0 0 56px rgba(245,176,48,0.45), inset 0 0 0 2px rgba(255,243,208,0.15);
  opacity: 0;
  transform: scale(0.5);
  animation: abend-intro-pop 0.55s cubic-bezier(.34,1.56,.64,1) 0.1s forwards;
  margin-bottom: 1.4rem;
  position: relative;
  z-index: 2;
}
@keyframes abend-intro-pop {
  0%   { transform: scale(0.5); opacity: 0; }
  60%  { transform: scale(1.08); opacity: 1; }
  100% { transform: scale(1); opacity: 1; }
}
.abend-intro-eyebrow {
  font-family: 'DM Mono', monospace;
  font-size: 0.65rem;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: rgba(255,243,208,0.55);
  margin-bottom: 0.75rem;
  opacity: 0;
  animation: abend-intro-fade .5s ease 0.3s forwards;
  position: relative; z-index: 2;
}
.abend-intro-title {
  font-family: 'Anton', sans-serif;
  font-size: clamp(2.4rem, 11vw, 5rem);
  line-height: 0.9;
  color: var(--cream);
  text-transform: uppercase;
  text-align: center;
  margin-bottom: 0.5rem;
  text-shadow: 0 3px 32px rgba(0,0,0,0.55);
  opacity: 0;
  animation: abend-intro-fade .5s ease 0.45s forwards;
  position: relative; z-index: 2;
}
.abend-intro-sub {
  font-family: 'Anton', sans-serif;
  font-size: clamp(1rem, 4vw, 1.45rem);
  color: var(--amber);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 1.3rem;
  opacity: 0;
  animation: abend-intro-fade .5s ease 0.6s forwards;
  position: relative; z-index: 2;
}
.abend-intro-tagline {
  font-family: 'DM Mono', monospace;
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255,243,208,0.75);
  max-width: 22rem;
  text-align: center;
  line-height: 1.6;
  opacity: 0;
  animation: abend-intro-fade .5s ease 0.85s forwards;
  position: relative; z-index: 2;
}
@keyframes abend-intro-fade { to { opacity: 1; } }

/* ── GEBURTSTAGS-BANNER ──────────────────────────────────────── */
#bday-banner {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  margin: 1rem 1rem 0;
  padding: 0.7rem 1rem 0.7rem 0.7rem;
  background: linear-gradient(135deg, rgba(212,146,10,0.14), rgba(212,146,10,0.05));
  border: 1px solid rgba(212,146,10,0.4);
  border-radius: 14px;
  box-shadow: 0 0 16px rgba(212,146,10,0.08);
}
.bday-banner-photo {
  flex-shrink: 0;
  width: 52px; height: 52px;
  border-radius: 50%;
  background: center/cover no-repeat #1a1400;
  border: 2px solid rgba(245,176,48,0.55);
  box-shadow: 0 0 10px rgba(212,146,10,0.35);
}
.bday-banner-body {
  flex: 1;
  min-width: 0;
}
.bday-banner-label {
  font-family: 'DM Mono', monospace;
  font-size: 0.6rem;
  letter-spacing: 0.18em;
  color: rgba(245,176,48,0.6);
  text-transform: uppercase;
  margin-bottom: 0.2rem;
}
.bday-banner-name {
  font-family: 'Anton', sans-serif;
  font-size: 1.1rem;
  letter-spacing: 0.05em;
  color: var(--cream);
  line-height: 1.1;
}
.bday-banner-days {
  font-family: 'Anton', sans-serif;
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  color: var(--amber-hi);
  margin-top: 0.1rem;
}
.bday-banner-crown {
  font-size: 1.5rem;
  flex-shrink: 0;
}

/* ── GEBURTSTAGS-POPUP ───────────────────────────────────────── */
#bday-popup {
  position: fixed; inset: 0; z-index: 5000;
  display: flex; align-items: center; justify-content: center;
  padding: 1rem;
}
.bday-backdrop {
  position: absolute; inset: 0;
  background: rgba(6,4,0,0.88);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.bday-card {
  position: relative; z-index: 1;
  background: linear-gradient(160deg, #1a1100 0%, #0a0800 100%);
  border: 1px solid rgba(212,146,10,0.45);
  border-radius: 20px;
  padding: 2rem 1.5rem 1.5rem;
  max-width: 340px; width: 100%;
  text-align: center;
  overflow: hidden;
  box-shadow: 0 0 60px rgba(212,146,10,0.2), 0 8px 40px rgba(0,0,0,0.7);
  animation: bdayIn 0.4s cubic-bezier(.34,1.56,.64,1) both;
}
.bday-video {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: 0.3;
  pointer-events: none;
}
@keyframes bdayIn {
  from { transform: scale(0.82) translateY(20px); opacity: 0; }
  to   { transform: scale(1) translateY(0); opacity: 1; }
}
.bday-close {
  position: absolute; top: 0.75rem; right: 0.9rem;
  background: none; border: none; cursor: pointer;
  font-size: 1.4rem; color: rgba(255,243,208,0.4);
  line-height: 1;
}
.bday-crown {
  font-size: 2rem;
  margin-bottom: 0.3rem;
  animation: bdayCrownBounce 1.2s ease-in-out infinite alternate;
}
@keyframes bdayCrownBounce {
  from { transform: translateY(0) rotate(-5deg); }
  to   { transform: translateY(-5px) rotate(5deg); }
}
.bday-photo {
  width: 100px; height: 100px;
  border-radius: 50%;
  margin: 0 auto 0.6rem;
  background: center/cover no-repeat #1a1400;
  border: 3px solid rgba(245,176,48,0.6);
  box-shadow: 0 0 30px rgba(212,146,10,0.4);
}
.bday-cake {
  font-size: 1.6rem;
  margin-bottom: 0.4rem;
}
.bday-name {
  font-family: 'Anton', sans-serif;
  font-size: 1.7rem;
  letter-spacing: 0.08em;
  color: var(--amber-hi);
  margin-bottom: 0.8rem;
  text-shadow: 0 0 20px rgba(212,146,10,0.5);
}
.bday-msg {
  font-family: 'DM Mono', monospace;
  font-size: 0.78rem;
  line-height: 1.55;
  color: rgba(255,243,208,0.75);
  margin-bottom: 0.6rem;
  font-style: italic;
}
.bday-tag {
  font-family: 'Anton', sans-serif;
  font-size: 0.85rem;
  letter-spacing: 0.06em;
  color: var(--amber);
  margin-bottom: 1.2rem;
}
.bday-btn {
  width: 100%;
  padding: 0.85rem;
  font-family: 'Anton', sans-serif;
  font-size: 1.1rem;
  letter-spacing: 0.1em;
  background: linear-gradient(135deg, #D4920A, #8B6020);
  color: var(--black);
  border: none; border-radius: 10px; cursor: pointer;
  box-shadow: 0 0 20px rgba(212,146,10,0.3);
}

/* ── BODY ────────────────────────────────────────────────────── */
body {
  background: var(--black);
  color: var(--cream);
  font-family: 'DM Mono', monospace;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* GRAIN OVERLAY */
body::after {
  content: '';
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.82' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 180px 180px;
  opacity: 0.045;
  pointer-events: none;
  z-index: 9998;
  mix-blend-mode: overlay;
}

/* ── TICKER ──────────────────────────────────────────────────── */
#ticker {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: 32px; /* slightly taller on mobile for readability */
  background: var(--amber);
  overflow: hidden;
  z-index: 300;
  display: flex;
  align-items: center;
}
.ticker-inner {
  display: flex;
  align-items: center;
  white-space: nowrap;
  animation: tickerScroll 48s linear infinite;
}
.ticker-inner span {
  font-family: 'Anton', sans-serif;
  font-size: 0.62rem;
  letter-spacing: 0.17em;
  text-transform: uppercase;
  color: var(--black);
  padding: 0 0.9rem;
}
.ticker-inner .sep {
  padding: 0 0.1rem;
  font-size: 0.75rem;
  opacity: 0.55;
}
@keyframes tickerScroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

@media (min-width: 768px) {
  #ticker { height: 28px; }
  .ticker-inner span { font-size: 0.6rem; }
}

/* ── FICK FRIDAY SKIN (body.fick-friday) ────────────────────── */
body.fick-friday #ticker {
  background: linear-gradient(90deg, #a8180c 0%, #d62315 50%, #a8180c 100%);
}
body.fick-friday #ticker .ticker-inner span {
  color: #fff4d0;
  text-shadow: 0 0 6px rgba(255,90,40,0.4);
}
body.fick-friday #ticker .ticker-inner .sep {
  color: #ffd260;
  opacity: 0.85;
}

#ff-banner {
  position: fixed;
  top: 32px;
  left: 0; right: 0;
  height: 26px;
  background: #0a0300;
  border-top: 1px solid #ff3a2a;
  border-bottom: 1px solid rgba(255,58,42,0.4);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 299;
  font-family: 'Anton', sans-serif;
  font-size: 0.72rem;
  letter-spacing: 0.35em;
  color: #ff5a2a;
  text-shadow: 0 0 8px rgba(255,58,42,0.55);
  text-transform: uppercase;
  pointer-events: none;
  animation: ffPulse 2.2s ease-in-out infinite;
}
body.fick-friday #ff-banner { display: flex; }
body.fick-friday #topbar { top: 58px; }
body.fick-friday #hero { padding-top: 24px; }
@keyframes ffPulse {
  0%, 100% { filter: brightness(1); }
  50% { filter: brightness(1.35); }
}
@media (min-width: 768px) {
  #ff-banner { top: 28px; height: 22px; font-size: 0.65rem; }
  body.fick-friday #topbar { top: 50px; }
}

/* Cards red tint on Fridays */
body.fick-friday .game-card.active .card-mask {
  background: linear-gradient(
    to top,
    rgba(42,6,2,0.94) 0%,
    rgba(42,6,2,0.68) 30%,
    rgba(42,6,2,0.08) 65%,
    rgba(42,6,2,0)    100%
  );
}
body.fick-friday .game-card.active::before {
  color: #ff3a2a;
  opacity: 0.08;
}

/* ── TOPBAR ──────────────────────────────────────────────────── */
#topbar {
  position: fixed;
  top: 32px; left: 0; right: 0; /* sits below 32px mobile ticker */
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 1.3rem;
  z-index: 200;
  transition: background 0.25s ease-out, border-color 0.25s ease-out, box-shadow 0.25s ease-out;
  border-bottom: 1px solid transparent;
}
#topbar.solid {
  background: rgba(6,4,0,0.97);
  border-color: rgba(212,146,10,0.22);
  box-shadow: 0 2px 20px rgba(212,146,10,0.08);
}
.tb-logo {
  font-family: 'Anton', sans-serif;
  font-size: 1.15rem;
  letter-spacing: 0.1em;
  color: var(--amber);
  text-decoration: none;
}
.tb-tag {
  font-size: 0.55rem;
  letter-spacing: 0.22em;
  color: rgba(212,146,10,0.35);
  text-transform: uppercase;
}
.tb-nav-group {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}
.tb-nav-link {
  font-family: 'DM Mono', monospace;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  color: #f5b030;
  text-transform: uppercase;
  text-decoration: none;
  padding: 0.32rem 0.85rem;
  border: 1px solid rgba(245,176,48,0.6);
  border-radius: 4px;
  background: rgba(6,4,0,0.72);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  text-shadow: 0 1px 4px rgba(0,0,0,0.9);
  box-shadow: 0 0 10px rgba(0,0,0,0.5);
}

@media (min-width: 768px) {
  #topbar { top: 28px; padding: 0 2rem; }
}

/* ── HERO ────────────────────────────────────────────────────── */
#hero {
  position: relative;
  min-height: 88svh; /* mobile: peek games below fold */
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 0 1.4rem 3.5rem;
  overflow: hidden;
}

.hero-bg-rot {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1.4s ease;
  filter: brightness(0.55) saturate(1.15) contrast(1.05);
  animation: kenBurns 14s ease-in-out infinite alternate;
  will-change: opacity, transform;
}
.hero-bg.active { opacity: 1; }
.hero-bg-b { animation-delay: -7s; } /* de-sync the two layers */
@keyframes kenBurns {
  from { transform: scale(1.04) translate(0%, 0%); }
  to   { transform: scale(1.10) translate(-1.6%, 1%); }
}
@media (prefers-reduced-motion: reduce) {
  .hero-bg { animation: none; transition: none; }
}

/* Ghost year */
.hero-ghost {
  position: absolute;
  right: -3vw;
  bottom: -4vh;
  font-family: 'Anton', sans-serif;
  font-size: clamp(12rem, 48vw, 34rem); /* smaller on mobile */
  line-height: 0.78;
  color: transparent;
  -webkit-text-stroke: 1px rgba(212,146,10,0.062);
  pointer-events: none;
  z-index: 1;
  user-select: none;
  letter-spacing: -0.02em;
}

/* Scan-lines */
#hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    to bottom, transparent 0, transparent 3px,
    rgba(0,0,0,0.05) 3px, rgba(0,0,0,0.05) 4px
  );
  z-index: 2;
  pointer-events: none;
}
/* Gradient vignette */
#hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(6,4,0,0.1)  0%,
    rgba(6,4,0,0.0)  20%,
    rgba(6,4,0,0.08) 50%,
    rgba(6,4,0,0.55) 100%
  );
  z-index: 3;
  pointer-events: none;
}

/* Hero content — centered on mobile */
.hero-content {
  position: relative;
  z-index: 4;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

@keyframes riseIn {
  from { transform: translateY(30px); opacity: 0; }
  to   { transform: translateY(0);    opacity: 1; }
}
@keyframes rulerIn {
  from { transform: scaleX(0); }
  to   { transform: scaleX(1); }
}

.hero-label {
  font-size: 0.68rem;
  letter-spacing: 0.28em;
  color: var(--amber);
  text-transform: uppercase;
  margin-bottom: 0.85rem;
  animation: riseIn 0.55s ease 0.1s both;
}

h1 {
  font-family: 'Anton', sans-serif;
  font-size: clamp(4rem, 20vw, 10.5rem);
  line-height: 0.85;
  letter-spacing: 0.005em;
  text-transform: uppercase;
  color: var(--cream);
  margin-bottom: 0.8rem;
  animation: riseIn 0.75s ease 0.22s both;
  text-align: center;
}
h1 .gold {
  background: linear-gradient(
    118deg,
    var(--amber-hi) 0%,
    var(--amber) 52%,
    #b87800 100%
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-rule {
  width: 42px; height: 2px;
  background: var(--amber);
  margin-bottom: 0.9rem;
  transform-origin: center center;
  animation: rulerIn 0.5s ease 0.72s both;
}
.hero-motto {
  font-size: 0.78rem;
  font-style: italic;
  color: rgba(255,243,208,0.85);
  line-height: 1.82;
  max-width: 280px;
  text-align: center;
  animation: riseIn 0.55s ease 0.88s both;
}

.hero-quote {
  display: inline-block;
  margin-top: 1rem;
  padding: 0.45rem 0.85rem 0.45rem 0.75rem;
  background: rgba(212,146,10,0.12);
  border-left: 3px solid rgba(212,146,10,0.70);
  font-size: 0.72rem;
  font-style: italic;
  color: rgba(245,176,48,0.92);
  letter-spacing: 0.02em;
  min-height: 1.6rem;
  transition: opacity 0.45s ease;
  animation: riseIn 0.55s ease 1s both;
}
.hero-quote.fade { opacity: 0; }

.hero-cue {
  margin-top: 2rem;
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  font-size: 0.53rem;
  letter-spacing: 0.3em;
  color: rgba(212,146,10,0.52);
  text-transform: uppercase;
  animation: riseIn 0.5s ease 1.08s both;
}
.cue-pip {
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--amber);
  opacity: 0.6;
  animation: pipBounce 1.6s ease-in-out infinite;
}
@keyframes pipBounce {
  0%,100% { transform: translateY(0);   opacity: 0.6; }
  50%      { transform: translateY(6px); opacity: 1; }
}

/* Scroll hint — CSS-only chevron arrows */
.hero-scroll-hint {
  position: absolute;
  bottom: 1rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 5;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  animation: riseIn 0.6s ease 1.4s both;
}
.hero-scroll-hint span {
  display: block;
  width: 10px; height: 10px;
  border-right: 2px solid var(--amber);
  border-bottom: 2px solid var(--amber);
  transform: rotate(45deg);
  animation: chevronBounce 1.5s ease-in-out infinite;
}
.hero-scroll-hint span:nth-child(2) {
  animation-delay: 0.18s;
  opacity: 0.55;
}
@keyframes chevronBounce {
  0%,100% { transform: rotate(45deg) translateY(0); }
  50%      { transform: rotate(45deg) translateY(4px); }
}

@media (min-width: 768px) {
  #hero {
    min-height: 100svh;
    padding: 0 3rem 4rem;
  }
  .hero-ghost { font-size: clamp(16rem, 54vw, 34rem); }
  .hero-content {
    text-align: left;
    align-items: flex-start;
  }
  h1 { font-size: clamp(4.6rem, 21vw, 10.5rem); text-align: left; }
  .hero-rule { transform-origin: left center; }
  .hero-motto { text-align: left; }
}

/* ── STAT STRIP ──────────────────────────────────────────────── */
.stat-strip {
  position: relative;
  width: 100%;
  height: 48px;
  background: rgba(6,4,0,0.98);
  border-top: 1px solid rgba(212,146,10,0.25);
  border-bottom: 1px solid rgba(212,146,10,0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  z-index: 10;
}
.stat-strip::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(to right, transparent, var(--amber-hi), transparent);
  opacity: 0.5;
}
.stat-strip-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 560px;
  padding: 0 1rem;
}
.stat-strip-item {
  font-family: 'DM Mono', monospace;
  font-size: clamp(0.68rem, 2.6vw, 0.78rem);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--amber);
  white-space: nowrap;
  flex: 1;
  text-align: center;
  line-height: 1;
}
.stat-strip-pipe {
  display: block;
  width: 1px;
  height: 20px;
  background: var(--amber);
  opacity: 0.4;
  flex-shrink: 0;
  margin: 0 0.5rem;
}

@media (min-width: 768px) {
  .stat-strip { height: 44px; }
  .stat-strip-item { font-size: 0.7rem; letter-spacing: 0.22em; }
}

/* ── GAMES ───────────────────────────────────────────────────── */
#games {
  padding-top: 4rem;
  counter-reset: game-num;
}
.games-header {
  padding: 0 1.4rem 1.5rem;
  border-bottom: 1px solid rgba(212,146,10,0.08);
}
.games-eyebrow {
  font-size: 0.56rem;
  letter-spacing: 0.32em;
  color: rgba(212,146,10,0.4);
  text-transform: uppercase;
  margin-bottom: 0.35rem;
}

/* ── Filter bar: „Wie viele seid ihr?" ───────────────────────── */
.games-filter {
  margin-top: 1.2rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(212,146,10,0.08);
}
.games-filter-label {
  font-family: 'DM Mono', monospace;
  font-size: 0.56rem;
  letter-spacing: 0.32em;
  color: rgba(212,146,10,0.55);
  text-transform: uppercase;
  margin-bottom: 0.6rem;
}
.games-filter-pills {
  display: flex;
  gap: 0.4rem;
  flex-wrap: wrap;
}
.gf-pill {
  flex: 1 1 0;
  min-width: 64px;
  padding: 0.7rem 0.5rem;
  background: transparent;
  border: 1.5px solid rgba(212,146,10,0.32);
  border-radius: 3px;
  color: var(--amber);
  font-family: 'Anton', sans-serif;
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  transition: background 0.12s ease-out, color 0.12s ease-out, border-color 0.12s ease-out, transform 0.1s ease-out;
}
.gf-pill:active {
  transform: scale(0.96);
}
.gf-pill.active {
  background: var(--amber);
  border-color: var(--amber);
  color: var(--black);
}
@media (min-width: 768px) {
  .gf-pill {
    flex: 0 1 auto;
    padding: 0.75rem 1.4rem;
    font-size: 0.95rem;
  }
}

/* Hidden state when filter excludes card */
.game-card.gf-hidden {
  display: none;
}

/* Empty state when filter matches nothing */
.games-empty {
  padding: 3rem 1.4rem 3rem;
  text-align: center;
  border-bottom: 1px solid rgba(212,146,10,0.07);
}
.games-empty-icon {
  font-size: 3.5rem;
  margin-bottom: 0.6rem;
  opacity: 0.7;
}
.games-empty-title {
  font-family: 'Anton', sans-serif;
  font-size: clamp(1.8rem, 7vw, 2.8rem);
  letter-spacing: 0.02em;
  color: var(--cream);
  line-height: 1;
  margin-bottom: 0.5rem;
}
.games-empty-sub {
  font-size: 0.72rem;
  color: rgba(255,243,208,0.55);
  letter-spacing: 0.02em;
  max-width: 380px;
  margin: 0 auto;
}
@media (min-width: 768px) {
  .games-empty {
    grid-column: 1 / -1;
  }
}
h2 {
  font-family: 'Anton', sans-serif;
  font-size: clamp(2.8rem, 12vw, 6rem);
  letter-spacing: 0.02em;
  line-height: 1;
  color: var(--cream);
}

/* Game card base */
.game-card {
  position: relative;
  width: 100%;
  overflow: hidden;
  border-bottom: 1px solid rgba(212,146,10,0.07);
  opacity: 0;
  transform: translateY(36px);
  transition: opacity 0.5s ease-out, transform 0.5s cubic-bezier(.2,.6,.35,1);
  counter-increment: game-num;
}
.game-card.visible { opacity: 1; transform: translateY(0); }

/* Active cards: 62svh on mobile — shows 2nd card peeking */
.game-card.active {
  min-height: 62svh;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}
.game-card.locked { min-height: 36svh; }

/* Ghost card number — CSS counter overlay */
.game-card.active::before {
  content: counter(game-num, decimal-leading-zero);
  font-family: 'Anton', sans-serif;
  font-size: clamp(5rem, 22vw, 12rem);
  line-height: 1;
  color: var(--amber);
  opacity: 0.07;
  position: absolute;
  top: 0.5rem;
  right: 0.75rem;
  z-index: 2;
  pointer-events: none;
  letter-spacing: -0.02em;
}

.card-photo {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center top;
  filter: grayscale(0.15) brightness(0.78) saturate(1.2);
  transition: filter 0.3s ease-out, transform 0.3s ease-out;
}
#cp-4  { background-position: center 35%; }   /* Quatsch — Zeigen sichtbar halten */
#cp-10 { background-position: center bottom; } /* Suppe — Topf nicht abschneiden */
.game-card.active:active .card-photo {
  filter: grayscale(0.05) brightness(0.88) saturate(1.3);
  transform: scale(1.012);
}
.game-card.locked .card-photo { filter: grayscale(1) brightness(0.18); }
.card-mask {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(6,4,0,0.92) 0%,
    rgba(6,4,0,0.65) 30%,
    rgba(6,4,0,0.05) 65%,
    rgba(6,4,0,0)    100%
  );
}
.game-card.active .card-mask::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 42%;
  background: linear-gradient(to top, rgba(90,44,0,0.48), transparent);
}

.card-body {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 62svh;
  padding: 1.5rem 1.4rem 1.6rem;
}
.game-card.locked .card-body {
  min-height: 36svh;
}

/* LIVE indicator */
.card-status {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.54rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
}
.card-status.live { color: #00e864; }
.card-status.soon { color: rgba(255,243,208,0.26); }
.status-pip { width: 6px; height: 6px; border-radius: 50%; flex-shrink: 0; }
.live .status-pip {
  background: #00e864;
  animation: livePulse 1.1s ease-in-out infinite;
}
@keyframes livePulse {
  0%, 100% { opacity: 1; box-shadow: 0 0 0 0   rgba(0,232,100,0.72); }
  60%       { opacity: 0.8; box-shadow: 0 0 0 7px rgba(0,232,100,0); }
}
.soon .status-pip { border: 1px solid rgba(255,243,208,0.26); }

.card-title {
  font-family: 'Anton', sans-serif;
  font-size: clamp(3rem, 13.5vw, 7.5rem);
  line-height: 0.87;
  letter-spacing: 0.005em;
  text-transform: uppercase;
  color: var(--cream);
  margin-bottom: 0.75rem;
}
.game-card.locked .card-title { color: rgba(255,243,208,0.26); }
.card-desc {
  font-size: 0.67rem;
  color: rgba(255,243,208,0.72);
  line-height: 1.72;
  max-width: none; /* full width on mobile */
}
.game-card.locked .card-desc { display: none; }
.card-lock-note {
  font-size: 0.56rem;
  letter-spacing: 0.18em;
  color: rgba(255,243,208,0.50);
  text-transform: uppercase;
  margin-bottom: 1.2rem;
}

/* CTA button — bigger on mobile for fat thumbs */
.card-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--amber);
  color: var(--black);
  padding: 0 1.4rem;
  min-height: 68px; /* was 60px — bigger tap target */
  font-family: 'Anton', sans-serif;
  font-size: 1.25rem;
  letter-spacing: 0.14em;
  text-decoration: none;
  text-transform: uppercase;
  margin-top: 1.5rem;
  position: relative;
  overflow: hidden;
  transition: background 0.1s ease-out;
  -webkit-tap-highlight-color: transparent;
}
.card-cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent 0%, rgba(255,255,255,0.12) 50%, transparent 100%);
  transform: translateX(-100%);
  transition: transform 0.3s cubic-bezier(.2,.6,.35,1);
}
.card-cta:active { background: var(--amber-hi); }
.card-cta:active::before { transform: translateX(100%); }
.cta-arrow {
  font-size: 1.4rem;
  transition: transform 0.1s ease-out;
}
.game-card.active:active .cta-arrow { transform: translateX(5px); }

/* ── MINI CARDS (Komplement + More-Grid) ───────────────────────── */
/* Override .active height for mini variant — compact row-layout. */
.game-card.active.mini,
.game-card.mini {
  min-height: auto;
  display: flex;
  align-items: stretch;
  background: rgba(24,16,4,0.45);
  border: 1px solid rgba(212,146,10,0.14);
  border-radius: 4px;
  overflow: hidden;
  margin-bottom: 0;
}
.game-card.mini::before { display: none; } /* kein Nummern-Overlay */
.game-card.mini .card-photo {
  position: relative;
  inset: auto;
  width: 88px;
  flex-shrink: 0;
  background-size: cover;
  background-position: center;
  filter: grayscale(0.1) brightness(0.85) saturate(1.15);
}
.game-card.mini .card-mask,
.game-card.mini .card-body,
.game-card.mini .card-cta,
.game-card.mini .card-status,
.game-card.mini .card-players,
.game-card.mini .card-title,
.game-card.mini .card-desc { display: none; }

.card-mini-body {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 0.7rem 0.9rem;
  gap: 0.2rem;
}
.card-mini-meta {
  font-size: 0.52rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(255,243,208,0.56);
}
.card-mini-title {
  font-family: 'Anton', sans-serif;
  font-size: 1.15rem;
  line-height: 0.95;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  color: var(--cream);
}
.card-mini-desc {
  font-size: 0.6rem;
  color: rgba(255,243,208,0.6);
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.card-mini-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  flex-shrink: 0;
  background: var(--amber);
  color: var(--black);
  font-size: 1.6rem;
  font-weight: 700;
  text-decoration: none;
  transition: background 0.1s ease-out;
  -webkit-tap-highlight-color: transparent;
}
.card-mini-cta:active { background: var(--amber-hi); }
.game-card.mini:active .card-photo {
  filter: grayscale(0.02) brightness(0.95) saturate(1.25);
}

/* Primary wrapper — holds the 4 always-visible cards (3 hero + bier-sim mini) */
.games-primary {
  display: flex;
  flex-direction: column;
}

/* Mini-Grid & More-Grid container — single column, gap between rows */
.games-mini-grid,
.games-more-grid {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  padding: 0.6rem 1rem;
}
.games-mini-grid { padding-top: 1rem; }

/* Expanded/collapsed animation for secondary grid */
.games-more-grid[hidden] { display: none; }
.games-more-grid:not([hidden]) {
  animation: games-more-fade 0.28s ease both;
}
@keyframes games-more-fade {
  from { opacity: 0; transform: translateY(-6px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* Expand-Toggle */
.games-more-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  width: calc(100% - 2rem);
  margin: 0.4rem 1rem 0.2rem;
  padding: 0.95rem 1rem;
  background: transparent;
  border: 1px dashed rgba(212,146,10,0.32);
  border-radius: 4px;
  color: var(--amber);
  font-family: 'Anton', sans-serif;
  font-size: 0.95rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  transition: background 0.12s ease-out, border-color 0.12s ease-out;
}
.games-more-toggle:active {
  background: rgba(212,146,10,0.08);
  border-color: var(--amber);
}
.games-more-toggle-arrow {
  display: inline-block;
  transition: transform 0.2s cubic-bezier(.2,.6,.35,1);
}
.games-more-toggle[aria-expanded="true"] .games-more-toggle-arrow {
  transform: rotate(180deg);
}

/* Filter: Mini-Cards vs. normale Cards — filter nutzt .gf-hidden */
.game-card.mini.gf-hidden { display: none; }

@media (min-width: 768px) {
  #games {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    padding: 4rem 1.5rem 5rem;
  }
  .games-header {
    grid-column: 1 / -1;
    padding: 0 1rem 1.5rem;
  }
  .game-card {
    margin-bottom: 0;
    border-radius: 3px;
    border-bottom: none;
  }
  .game-card.active { min-height: 68vh; }
  .game-card.locked { min-height: 32vh; }
  .game-card.active .card-body { min-height: 68vh; }
  .game-card.locked .card-body { min-height: 32vh; }
  .card-body { padding: 1.5rem 1.8rem 1.8rem; }
  .card-cta  { padding: 0 1.8rem; }
  .card-desc { max-width: 340px; }

  /* Parallax prep — photo overscales and tracks cursor */
  .game-card.active .card-photo {
    transform: scale(1.06) translate3d(var(--px, 0), var(--py, 0), 0);
    transition: transform 0.2s ease-out, filter 0.3s ease-out;
    will-change: transform;
  }
  .game-card.active:hover .card-photo {
    filter: grayscale(0.02) brightness(0.92) saturate(1.3);
  }
  .game-card.active:hover .card-title {
    text-shadow: 0 2px 24px rgba(0,0,0,0.55);
  }

  /* Primary wrapper spans both columns, carries its own 2-col grid */
  .games-primary {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
  }

  /* Mini-Wrapper spannen volle Breite, interne 2-col für Mini-Cards */
  .games-mini-grid,
  .games-more-grid {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.8rem;
    padding: 0.8rem 1rem;
  }
  /* Solo bier-sim card in primary mini-grid — span both cols of outer grid */
  .games-primary-mini {
    grid-column: 1 / -1;
    grid-template-columns: 1fr;
    padding: 0.8rem 0;
  }
  .games-more-toggle {
    grid-column: 1 / -1;
    width: calc(100% - 2rem);
  }
  .game-card.mini { min-height: auto; }
  .game-card.mini .card-photo { width: 110px; }
}

/* ── DAS SIND WIR ────────────────────────────────────────────── */
#crew { padding-top: 4rem; }
.crew-header {
  padding: 0 1.4rem 2rem;
  border-bottom: 1px solid rgba(212,146,10,0.08);
}
.crew-eyebrow {
  font-size: 0.62rem;
  letter-spacing: 0.28em;
  color: rgba(212,146,10,0.7);
  text-transform: uppercase;
  margin-bottom: 0.35rem;
}

/* Mobile: portrait grid — more photo per column */
/* Unified horizontal scroll strip (mobile + desktop) */
.crew-strip {
  display: flex;
  overflow-x: auto;
  gap: 3px;
  padding: 1.5rem 1.4rem;
  scrollbar-width: none;
  -ms-overflow-style: none;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
}
.crew-strip::-webkit-scrollbar { display: none; }

.crew-photo {
  flex-shrink: 0;
  width: 72vw;
  max-width: 320px;
  aspect-ratio: 3 / 4;
  background-size: cover;
  background-position: center;
  filter: grayscale(0.1) brightness(0.92) saturate(1.25);
  opacity: 0;
  transform: translateX(20px);
  transition: opacity 0.45s ease-out, transform 0.45s cubic-bezier(.2,.6,.35,1);
  scroll-snap-align: start;
}
.crew-photo.visible { opacity: 1; transform: translateX(0); }

/* Desktop: larger landscape-ish tiles */
@media (min-width: 768px) {
  .crew-photo {
    width: 55vw;
    max-width: 380px;
    aspect-ratio: 4 / 3;
  }
}

/* ── HALL OF PILS FAME ───────────────────────────────────────── */
#hall-of-fame {
  padding-top: 0;
  position: relative;
  background: linear-gradient(to bottom, var(--black) 0%, #0b0700 60%, var(--black) 100%);
}

/* Dramatic header with atmospheric background photo */
.hof-header {
  position: relative;
  min-height: 38svh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 0 1.4rem 2.2rem;
  margin-bottom: 0;
  overflow: hidden;
}
.hof-header-bg {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center 40%;
  filter: grayscale(0.25) brightness(0.35) saturate(1.1);
}
.hof-header-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(6,4,0,0.22) 0%,
    rgba(6,4,0,0.15) 30%,
    rgba(6,4,0,0.72) 75%,
    rgba(6,4,0,1.0)  100%
  );
}
/* Amber glow line at bottom of header */
.hof-header::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, var(--amber-hi) 35%, var(--amber) 65%, transparent 100%);
  opacity: 0.65;
}
.hof-header-content {
  position: relative;
  z-index: 2;
}
.hof-eyebrow {
  font-size: 0.52rem;
  letter-spacing: 0.38em;
  color: var(--amber);
  text-transform: uppercase;
  margin-bottom: 0.5rem;
  opacity: 0.75;
}
/* Override h2 for HoF header specifically */
#hall-of-fame .hof-header h2 {
  font-size: clamp(3.2rem, 14vw, 7rem);
  line-height: 0.88;
  margin-bottom: 0;
}
#hall-of-fame .hof-header h2 .hof-h2-top {
  display: block;
  color: var(--cream);
}
#hall-of-fame .hof-header h2 .hof-h2-bot {
  display: block;
  background: linear-gradient(118deg, var(--amber-hi) 0%, var(--amber) 52%, #b87800 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ── AMTIEREND — reigning champions ─────────────────────────── */
.hof-amtierend {
  display: flex;
  flex-direction: column;
  gap: 2px;
  margin-bottom: 0;
}

/* Each crown card is a hero-sized portrait panel */
.hof-crown-card {
  position: relative;
  min-height: 64svh;
  overflow: hidden;
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.55s ease-out, transform 0.55s cubic-bezier(.2,.6,.35,1);
}
.hof-crown-card.visible { opacity: 1; transform: translateY(0); }

/* Amber championship stripe at top */
.hof-crown-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--amber) 0%, var(--amber-hi) 55%, #b87800 100%);
  z-index: 4;
}

.hof-crown-photo {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center top;
  filter: grayscale(0.05) brightness(0.88) saturate(1.3);
  transform: scale(1.04);
  transition: transform 8s ease;
}
.hof-crown-card.visible .hof-crown-photo {
  transform: scale(1.0);
}

/* Deep vignette bottom + subtle amber warmth */
.hof-crown-mask {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to top,
      rgba(6,4,0,0.97)  0%,
      rgba(6,4,0,0.6)   28%,
      rgba(6,4,0,0.0)   58%,
      rgba(6,4,0,0)     100%
    ),
    linear-gradient(to top,
      rgba(90,44,0,0.5) 0%,
      rgba(90,44,0,0)   38%
    );
}

.hof-crown-body {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 64svh;
  padding: 1.5rem 1.4rem 1.8rem;
}

/* Icon badge — styled like a real award seal */
.hof-crown-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.6rem;
  height: 2.6rem;
  background: rgba(212,146,10,0.14);
  border: 1px solid rgba(212,146,10,0.4);
  border-radius: 50%;
  font-size: 1.1rem;
  margin-bottom: 0.75rem;
  backdrop-filter: blur(4px);
}

.hof-crown-label {
  font-size: 0.45rem;
  letter-spacing: 0.32em;
  color: var(--amber);
  text-transform: uppercase;
  margin-bottom: 0.45rem;
  opacity: 0.9;
}

/* Big dramatic name */
.hof-crown-name {
  font-family: 'Anton', sans-serif;
  font-size: clamp(3rem, 13vw, 6rem);
  line-height: 0.85;
  text-transform: uppercase;
  color: var(--cream);
  letter-spacing: 0.005em;
}

/* Amber underline accent beneath the name */
.hof-crown-name::after {
  content: '';
  display: block;
  width: 2.2rem;
  height: 2px;
  background: var(--amber);
  margin-top: 0.65rem;
  opacity: 0.75;
}

@media (min-width: 768px) {
  .hof-header { min-height: 46svh; padding: 0 3rem 2.5rem; }
  .hof-amtierend {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2px;
  }
  .hof-crown-card { min-height: 56vh; }
  .hof-crown-body { min-height: 56vh; padding: 1.8rem 2.2rem 2rem; }
  .hof-crown-name { font-size: clamp(2.8rem, 7vw, 5rem); }
}

/* ── SUBSECTION STRUCTURE ────────────────────────────────────── */
.hof-sub-block {
  margin-bottom: 0;
  border-top: 1px solid rgba(212,146,10,0.06);
}

.hof-sub-header {
  display: flex;
  align-items: flex-end;
  gap: 1rem;
  padding: 2.8rem 1.4rem 0;
  margin-bottom: 1.8rem;
}
.hof-sub-header-text { flex: 1; }
.hof-sub-eyebrow {
  font-size: 0.5rem;
  letter-spacing: 0.34em;
  color: rgba(212,146,10,0.42);
  text-transform: uppercase;
  margin-bottom: 0.3rem;
}
.hof-sub-heading {
  font-family: 'Anton', sans-serif;
  font-size: clamp(2.4rem, 11vw, 5rem);
  letter-spacing: 0.01em;
  line-height: 0.88;
  color: var(--cream);
}
/* Decorative amber number/count badge in the heading row */
.hof-sub-count {
  font-family: 'Anton', sans-serif;
  font-size: clamp(3rem, 14vw, 6rem);
  color: rgba(212,146,10,0.14);
  line-height: 1;
  flex-shrink: 0;
  padding-bottom: 0.1rem;
  letter-spacing: -0.02em;
  user-select: none;
}

/* ── JAHRESSIEGER — horizontal trophy scroll on mobile ───────── */
.hof-jahres-list {
  list-style: none;
  display: flex;
  overflow-x: auto;
  gap: 3px;
  padding: 0 1.4rem 1.8rem;
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.hof-jahres-list::-webkit-scrollbar { display: none; }

.hof-jahres-item {
  flex-shrink: 0;
  width: 72vw;
  max-width: 320px;
  position: relative;
  min-height: 56svh;
  overflow: hidden;
  border-radius: 2px;
  opacity: 0;
  transform: translateX(24px);
  transition: opacity 0.5s ease-out, transform 0.5s cubic-bezier(.2,.6,.35,1);
}
.hof-jahres-item.visible { opacity: 1; transform: translateX(0); }

/* Gold top stripe */
.hof-jahres-item::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--amber-hi), var(--amber) 60%, transparent);
  z-index: 4;
}

.hof-jahres-photo {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center top;
  filter: grayscale(0.08) brightness(0.88) saturate(1.3);
  transition: filter 0.3s ease-out;
}
.hof-jahres-mask {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to top,
      rgba(6,4,0,0.97)  0%,
      rgba(6,4,0,0.62)  38%,
      rgba(6,4,0,0.05)  72%,
      rgba(6,4,0,0)     100%
    );
}

.hof-jahres-body {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 56svh;
  padding: 1.4rem 1.2rem 1.6rem;
}

/* Ghost year number — rotated like a stamp */
.hof-jahres-ghost {
  font-family: 'Anton', sans-serif;
  font-size: clamp(6rem, 30vw, 13rem);
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1px rgba(212,146,10,0.28);
  letter-spacing: -0.02em;
  position: absolute;
  right: -0.8rem;
  top: 0.6rem;
  z-index: 1;
  pointer-events: none;
  user-select: none;
  transform: rotate(-6deg);
  transform-origin: center right;
}

/* Champion stamp — diagonal corner callout */
.hof-jahres-item::after {
  content: 'CHAMPION';
  position: absolute;
  top: 1.1rem;
  left: -2.2rem;
  transform: rotate(-42deg);
  background: var(--amber);
  color: var(--black);
  font-family: 'Anton', sans-serif;
  font-size: 0.62rem;
  letter-spacing: 0.35em;
  padding: 0.25rem 2.6rem;
  z-index: 5;
  box-shadow: 0 2px 8px rgba(0,0,0,0.45);
  pointer-events: none;
}

/* Amber foil shimmer — fires on viewport entry via .visible */
.hof-jahres-item .hof-jahres-photo::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg,
    transparent 30%,
    rgba(245,176,48,0.0) 42%,
    rgba(245,176,48,0.35) 50%,
    rgba(255,243,208,0.18) 52%,
    rgba(245,176,48,0.0) 62%,
    transparent 70%);
  transform: translateX(-110%);
  pointer-events: none;
  mix-blend-mode: screen;
}
.hof-jahres-item.visible .hof-jahres-photo::after {
  animation: hofFoilShimmer 1.6s ease-out 0.3s 1 forwards;
}
@keyframes hofFoilShimmer {
  0%   { transform: translateX(-110%); }
  100% { transform: translateX(110%); }
}

.hof-jahres-label {
  font-size: 0.52rem;
  letter-spacing: 0.3em;
  color: var(--amber);
  text-transform: uppercase;
  margin-bottom: 0.3rem;
}
.hof-jahres-year-num {
  font-family: 'Anton', sans-serif;
  font-size: 0.9rem;
  color: rgba(212,146,10,0.7);
  letter-spacing: 0.12em;
  margin-bottom: 0.4rem;
}
.hof-jahres-name {
  font-family: 'Anton', sans-serif;
  font-size: clamp(2.4rem, 10vw, 3.8rem);
  line-height: 0.85;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  color: var(--cream);
}
.hof-jahres-reason {
  font-size: 0.6rem;
  font-style: italic;
  color: rgba(255,243,208,0.55);
  margin-top: 0.65rem;
  line-height: 1.55;
}

@media (min-width: 768px) {
  .hof-sub-header { padding: 2.8rem 3rem 0; }
  .hof-jahres-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    overflow-x: visible;
    padding: 0 1.5rem 2rem;
    gap: 4px;
  }
  .hof-jahres-item {
    width: auto;
    max-width: none;
    min-height: 52vh;
  }
  .hof-jahres-body { min-height: 52vh; padding: 1.5rem 1.5rem 1.8rem; }
}

/* ── MONATSSIEGER — league table ─────────────────────────────── */
.hof-monats-block { margin-bottom: 0.5rem; }

/* Year banner — prominent season divider */
.hof-monats-year-label {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 1.4rem;
  background: rgba(212,146,10,0.09);
  border-left: 4px solid rgba(212,146,10,0.65);
  margin-bottom: 2px;
}
.hof-monats-year-label::before {
  content: attr(data-year);
  font-family: 'Anton', sans-serif;
  font-size: 1.5rem;
  color: rgba(212,146,10,0.85);
  letter-spacing: 0.04em;
}
/* Rule extends right */
.hof-monats-year-label::after {
  content: '';
  flex: 1;
  height: 1px;
  background: linear-gradient(to right, rgba(212,146,10,0.28), transparent);
}

.hof-monats-list { list-style: none; }

.hof-monats-item {
  display: grid;
  grid-template-columns: 3rem 64px 1fr;
  align-items: center;
  gap: 1rem;
  padding: 0.7rem 1.4rem;
  min-height: 72px;
  border-bottom: 1px solid rgba(212,146,10,0.06);
  opacity: 0;
  transform: translateX(-14px);
  transition: opacity 0.38s ease-out, transform 0.38s cubic-bezier(.2,.6,.35,1);
}
.hof-monats-item:nth-child(odd) {
  background: rgba(212,146,10,0.028);
}
.hof-monats-item.visible { opacity: 1; transform: translateX(0); }

.hof-monats-month {
  font-size: 0.62rem;
  letter-spacing: 0.16em;
  color: rgba(212,146,10,0.7);
  text-transform: uppercase;
  line-height: 1.3;
  font-weight: 500;
}

/* Chamfered portrait chip */
.hof-monats-thumb {
  width: 64px; height: 64px;
  background-size: cover;
  background-position: center top;
  flex-shrink: 0;
  filter: grayscale(0.1) brightness(0.92) saturate(1.25);
  border: 1px solid rgba(212,146,10,0.28);
  clip-path: polygon(0 0, 100% 0, 100% 82%, 86% 100%, 0 100%);
}

.hof-monats-name {
  font-family: 'Anton', sans-serif;
  font-size: clamp(1.15rem, 5vw, 1.55rem);
  color: var(--cream);
  text-transform: uppercase;
  letter-spacing: 0.01em;
}

@media (min-width: 768px) {
  .hof-monats-year-label { padding-left: 3rem; padding-right: 3rem; }
  .hof-monats-item {
    padding-left: 3rem; padding-right: 3rem;
    grid-template-columns: 3.2rem 68px 1fr;
    min-height: 76px;
  }
  .hof-monats-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }
  .hof-monats-item:nth-child(odd) { background: transparent; }
  .hof-monats-item:nth-child(4n+1),
  .hof-monats-item:nth-child(4n+2) { background: rgba(212,146,10,0.025); }
  .hof-monats-block { border-bottom: 1px solid rgba(212,146,10,0.06); margin-bottom: 1.5rem; }
}

/* ── SONDERPREISE — award plaques ────────────────────────────── */
.hof-sonder-list { list-style: none; }

.hof-sonder-item {
  position: relative;
  display: grid;
  grid-template-columns: 76px 1fr;
  align-items: center;
  gap: 1.2rem;
  padding: 1.3rem 1.4rem;
  border-bottom: 1px solid rgba(212,146,10,0.08);
  overflow: hidden;
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.4s ease-out, transform 0.4s cubic-bezier(.2,.6,.35,1);
}
.hof-sonder-item.visible { opacity: 1; transform: translateY(0); }

/* Amber top-edge plaque line */
.hof-sonder-item::before {
  content: '';
  position: absolute;
  top: 0; left: 1.4rem; right: 1.4rem;
  height: 1px;
  background: linear-gradient(90deg, var(--amber), transparent 60%);
  opacity: 0.45;
}

/* Member photo with icon overlay */
.hof-sonder-thumb-wrap {
  position: relative;
  width: 76px;
  height: 76px;
  flex-shrink: 0;
}
.hof-sonder-thumb {
  width: 76px; height: 76px;
  background-size: cover;
  background-position: center top;
  filter: grayscale(0.1) brightness(0.92) saturate(1.25);
  border: 1px solid rgba(212,146,10,0.32);
  clip-path: polygon(0 0, 100% 0, 100% 80%, 80% 100%, 0 100%);
}
.hof-sonder-award-icon {
  position: absolute;
  bottom: -4px;
  right: -5px;
  font-size: 1.3rem;
  line-height: 1;
  filter: drop-shadow(0 1px 4px rgba(0,0,0,0.9));
}

.hof-sonder-content { flex: 1; min-width: 0; }
.hof-sonder-title {
  font-family: 'Anton', sans-serif;
  font-size: clamp(1rem, 4.2vw, 1.25rem);
  color: var(--cream);
  text-transform: uppercase;
  margin-bottom: 0.3rem;
  line-height: 1.1;
  letter-spacing: 0.01em;
}
.hof-sonder-name {
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  color: var(--amber);
  text-transform: uppercase;
  margin-bottom: 0.15rem;
}
.hof-sonder-meta {
  font-size: 0.52rem;
  letter-spacing: 0.16em;
  color: rgba(255,243,208,0.38);
  text-transform: uppercase;
}

@media (min-width: 768px) {
  .hof-sonder-item { padding-left: 3rem; padding-right: 3rem; }
  .hof-sonder-item::before { left: 3rem; right: 3rem; }
  .hof-sonder-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }
}
.crew-name {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 1.8rem 0.6rem 0.5rem;
  font-family: 'Anton', sans-serif;
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  color: var(--cream);
  text-transform: uppercase;
  text-align: center;
  background: linear-gradient(to top, rgba(6,4,0,0.82), transparent);
  pointer-events: none;
}
.crew-challenge {
  font-family: 'DM Mono', monospace;
  font-size: 0.42rem;
  letter-spacing: 0.1em;
  color: rgba(245,176,48,0.85);
  text-transform: none;
  margin-top: 3px;
}
.crew-photo.profile-trigger:active { filter: brightness(1.1) saturate(1.3); }

/* ── GROUP MOMENTS STRIP ─────────────────────────────────────── */
.crew-moments-label {
  font-size: 0.52rem;
  letter-spacing: 0.3em;
  color: rgba(212,146,10,0.35);
  text-transform: uppercase;
  padding: 1.5rem 1.4rem 0.75rem;
}
.group-strip {
  display: flex;
  overflow-x: auto;
  gap: 3px;
  padding: 0 0 2rem;
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.group-strip::-webkit-scrollbar { display: none; }
.group-photo {
  flex-shrink: 0;
  width: 75vw;
  max-width: 440px;
  aspect-ratio: 4 / 3;
  background-size: cover;
  background-position: center;
  filter: grayscale(0.1) brightness(0.9) saturate(1.2);
  opacity: 0;
  transform: translateX(20px);
  transition: opacity 0.45s ease-out, transform 0.45s cubic-bezier(.2,.6,.35,1);
}
.group-photo.visible { opacity: 1; transform: translateX(0); }


/* ── CARD PLAYERS BADGE ──────────────────────────────────────── */
.card-players {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.58rem;
  letter-spacing: 0.18em;
  color: var(--cream);
  text-transform: uppercase;
  background: rgba(6,4,0,0.65);
  border: 1px solid rgba(245,176,48,0.45);
  border-radius: 2px;
  padding: 0.28rem 0.6rem;
  margin-bottom: 0.55rem;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

/* Wahrheit card: button CTA reset */
button.card-cta {
  border: none;
  cursor: pointer;
  width: 100%;
  text-align: left;
}

/* ── LANDING POPUP ───────────────────────────────────────────── */
.landing-popup {
  position: fixed;
  inset: 0;
  background: rgba(4,2,0,0.92);
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}
.landing-popup.visible { display: flex; }
.landing-popup.entering .landing-popup-inner {
  animation: landingPopupIn 0.35s cubic-bezier(0.34,1.56,0.64,1) forwards;
}
.landing-popup-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  background: var(--black);
  border: 1px solid rgba(212,146,10,0.25);
  border-radius: 4px;
  padding: 2.5rem 2rem;
  max-width: 320px;
  width: 100%;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.landing-popup-inner::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--amber), transparent);
}
.landing-popup-beer {
  font-size: 3.8rem;
  line-height: 1;
  animation: landingBeerPulse 1.4s ease-in-out infinite;
}
@keyframes landingBeerPulse {
  0%,100% { transform: scale(1)    rotate(0deg);  }
  50%      { transform: scale(1.1) rotate(3deg);  }
}
.landing-popup-title {
  font-family: 'Anton', sans-serif;
  font-size: clamp(1.3rem, 5.5vw, 1.9rem);
  letter-spacing: 0.05em;
  color: var(--cream);
  line-height: 1.1;
}
.landing-popup-sub {
  font-size: 0.8rem;
  color: rgba(255,200,80,0.6);
  line-height: 1.6;
  max-width: 260px;
}
.landing-popup-btn {
  margin-top: 0.5rem;
  width: 100%;
  padding: 0.85rem 1rem;
  background: var(--amber);
  color: var(--black);
  border: none;
  font-family: 'Anton', sans-serif;
  font-size: 1.1rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  cursor: pointer;
  transition: transform 0.1s ease-out, box-shadow 0.1s ease-out;
  touch-action: manipulation;
}
.landing-popup-btn:active {
  transform: scale(0.96);
  box-shadow: 0 0 0 3px rgba(245,166,35,0.4);
}
@keyframes landingPopupIn {
  from { opacity: 0; transform: scale(0.88) translateY(12px); }
  to   { opacity: 1; transform: scale(1)    translateY(0);     }
}

/* ── FOOTER ──────────────────────────────────────────────────── */
footer {
  padding: 3.5rem 1.4rem 5rem;
  border-top: 1px solid rgba(212,146,10,0.06);
}
.footer-wordmark {
  font-family: 'Anton', sans-serif;
  font-size: clamp(3rem, 14vw, 7rem);
  letter-spacing: 0.02em;
  color: rgba(212,146,10,0.07);
  line-height: 1;
  margin-bottom: 1rem;
}
.footer-meta {
  font-size: 0.56rem;
  letter-spacing: 0.22em;
  color: rgba(255,243,208,0.14);
  line-height: 2.2;
  text-transform: uppercase;
}

@media (min-width: 768px) {
  footer { padding-left: 3rem; padding-right: 3rem; }
}

/* ── PROMO POPUP ─────────────────────────────────────────────── */
.promo-popup {
  position: fixed;
  inset: 0;
  z-index: 8000;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}
@media (min-width: 480px) {
  .promo-popup { align-items: center; }
}

.promo-popup-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(6,4,0,0.78);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  cursor: pointer;
  animation: promoFadeIn 0.35s ease forwards;
}

.promo-popup-card {
  position: relative;
  width: 100%;
  max-width: 380px;
  background: #0d0900;
  border: 1px solid rgba(212,146,10,0.28);
  border-bottom: none;
  padding: 2rem 1.6rem 1.8rem;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  animation: promoSlideUp 0.42s cubic-bezier(0.22, 1, 0.36, 1) forwards;
  box-shadow: 0 -4px 40px rgba(0,0,0,0.6), 0 0 0 1px rgba(212,146,10,0.08);
}
@media (min-width: 480px) {
  .promo-popup-card {
    border: 1px solid rgba(212,146,10,0.28);
    animation: promoPopIn 0.42s cubic-bezier(0.22, 1, 0.36, 1) forwards;
    box-shadow: 0 24px 60px rgba(0,0,0,0.7), 0 0 0 1px rgba(212,146,10,0.06);
  }
}

.promo-popup-close {
  position: absolute;
  top: 0.75rem; right: 0.85rem;
  background: none;
  border: none;
  color: rgba(255,243,208,0.3);
  font-size: 1.6rem;
  line-height: 1;
  cursor: pointer;
  padding: 0.25rem;
  transition: color 0.12s ease-out;
  -webkit-tap-highlight-color: transparent;
}
.promo-popup-close:hover { color: rgba(255,243,208,0.7); }

.promo-popup-eyebrow {
  font-size: 0.45rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: rgba(212,146,10,0.55);
}

.promo-popup-img-wrap {
  width: 100%;
  aspect-ratio: 16/7;
  background: #0a0700;
  overflow: hidden;
  border: 1px solid rgba(212,146,10,0.08);
  margin: 0.15rem 0;
}
.promo-popup-img {
  width: 100%; height: 100%;
  object-fit: contain;
  padding: 10px;
  display: block;
}

.promo-popup-title {
  font-family: 'Anton', sans-serif;
  font-size: clamp(1.6rem, 9vw, 2.2rem);
  letter-spacing: 0.03em;
  text-transform: uppercase;
  line-height: 1;
  color: var(--cream);
}

.promo-popup-subtitle {
  font-size: 0.6rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(255,243,208,0.55);
  margin-top: -0.2rem;
}

.promo-popup-code-row {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  margin-top: 0.3rem;
}
.promo-popup-code {
  font-family: 'Anton', sans-serif;
  font-size: 1.35rem;
  letter-spacing: 0.12em;
  color: var(--amber);
  background: rgba(212,146,10,0.08);
  border: 1px dashed rgba(212,146,10,0.4);
  padding: 0.45rem 0.9rem;
  flex: 1;
  text-align: center;
}
.promo-popup-copy {
  background: rgba(212,146,10,0.12);
  border: 1px solid rgba(212,146,10,0.3);
  color: var(--amber);
  font-family: 'DM Mono', monospace;
  font-size: 0.52rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  padding: 0.45rem 0.85rem;
  cursor: pointer;
  transition: background 0.12s ease-out, color 0.12s ease-out;
  white-space: nowrap;
  -webkit-tap-highlight-color: transparent;
}
.promo-popup-copy:hover { background: rgba(212,146,10,0.22); }
.promo-popup-copy.copied {
  color: #5fc87a;
  border-color: rgba(95,200,122,0.35);
  background: rgba(95,200,122,0.07);
}

.promo-popup-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--amber);
  color: var(--black);
  font-family: 'Anton', sans-serif;
  font-size: 1rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 0.9rem 1.4rem;
  text-decoration: none;
  transition: background 0.12s ease-out;
  margin-top: 0.2rem;
  -webkit-tap-highlight-color: transparent;
}
.promo-popup-cta:hover { background: var(--amber-hi); }

.promo-popup-hint {
  font-size: 0.44rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(212,146,10,0.3);
  text-align: center;
}

@keyframes promoFadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}
@keyframes promoSlideUp {
  from { transform: translateY(100%); opacity: 0; }
  to   { transform: translateY(0);    opacity: 1; }
}
@keyframes promoPopIn {
  from { transform: scale(0.93) translateY(12px); opacity: 0; }
  to   { transform: scale(1) translateY(0);       opacity: 1; }
}

/* ─── ABEND-MODUS ─────────────────────────────────────────────────────────────── */
#abend-bar {
  margin: 0.5rem 1rem 0;
  padding: 0.6rem 1rem;
  background: rgba(212,146,10,0.06);
  border: 1px solid rgba(212,146,10,0.3);
  border-left: 3px solid #F5B030;
  border-radius: 3px;
  display: flex; align-items: center; gap: 0.7rem;
}
.abend-start-btn {
  font-family: 'Anton', sans-serif; font-size: 0.9rem; letter-spacing: 0.06em;
  background: #D4920A; color: #060400; border: none; border-radius: 2px;
  padding: 0.5rem 1.1rem; cursor: pointer; line-height: 1;
  transition: background 0.12s ease-out;
}
.abend-start-btn:active { background: #F5B030; }
.abend-bar-active-side { display: flex; align-items: center; gap: 0.7rem; width: 100%; flex-wrap: wrap; }
.abend-bar-active-side[hidden],
.abend-bar-idle-side[hidden] { display: none !important; }
/* Hard guard: in idle state never show active content, and vice-versa.
   Prevents leak if a stale DOM attribute / cached class gets out of sync. */
#abend-bar.abend-bar-idle .abend-bar-active-side { display: none !important; }
#abend-bar:not(.abend-bar-idle) .abend-bar-idle-side { display: none !important; }
.abend-scores-line { font-family: 'Anton', sans-serif; font-size: 0.8rem; color: #F5B030; flex: 1; min-width: 0; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.abend-scores-line b { color: #fff; }
.abend-end-btn {
  font-family: 'DM Mono', monospace; font-size: 0.65rem; letter-spacing: 0.1em;
  background: transparent; color: rgba(245,176,48,0.6); border: 1px solid rgba(245,176,48,0.3);
  border-radius: 2px; padding: 0.35rem 0.7rem; cursor: pointer; white-space: nowrap;
}
.abend-end-btn:active { color: #F5B030; border-color: #F5B030; }

/* Crew Selection Overlay */
.abend-overlay {
  position: fixed; inset: 0; z-index: 9000;
  background: rgba(6,4,0,0.88); backdrop-filter: blur(6px);
  display: flex; align-items: flex-end; justify-content: center;
}
.abend-overlay[hidden] { display: none; }
.abend-modal {
  position: relative;
  width: min(480px, 100%); max-height: 85vh;
  background: #0e0b02; border: 1px solid rgba(212,146,10,0.35);
  border-top-left-radius: 18px; border-top-right-radius: 18px;
  padding: 1.8rem 1.2rem 2rem;
  overflow-y: auto;
  animation: abendSlideUp 0.32s cubic-bezier(0.34,1.56,0.64,1);
}
@keyframes abendSlideUp { from{transform:translateY(100%)} to{transform:translateY(0)} }
.abend-modal-eyebrow { font-family:'DM Mono',monospace;font-size:0.62rem;letter-spacing:0.22em;color:rgba(245,176,48,0.55);margin-bottom:0.3rem; }
.abend-modal-title { font-family:'Anton',sans-serif;font-size:1.4rem;color:#fff;margin:0 0 0.4rem; }
.abend-modal-hint { font-family:'DM Mono',monospace;font-size:0.7rem;line-height:1.5;color:rgba(255,243,208,0.6);margin:0 0 1rem;letter-spacing:0.01em; }
.abend-crew-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(80px,1fr)); gap: 0.65rem;
  margin-bottom: 1.2rem;
}
.abend-crew-item {
  display: flex; flex-direction: column; align-items: center; gap: 0.3rem;
  padding: 0.5rem 0.3rem; border: 1px solid rgba(212,146,10,0.2); border-radius: 6px;
  cursor: pointer; transition: border-color 0.12s ease-out, background 0.12s ease-out;
  background: rgba(212,146,10,0.04);
}
.abend-crew-item.selected { border-color: #F5B030; background: rgba(245,176,48,0.12); }
.abend-crew-item:active { background: rgba(245,176,48,0.08); }
.abend-crew-photo {
  width: 52px; height: 52px; border-radius: 50%; object-fit: cover;
  border: 2px solid rgba(212,146,10,0.3);
}
.abend-crew-item.selected .abend-crew-photo { border-color: #F5B030; }
.abend-crew-name { font-family:'DM Mono',monospace;font-size:0.6rem;color:rgba(255,243,208,0.7);text-align:center;line-height:1.2; }
.abend-crew-item.selected .abend-crew-name { color:#F5B030; }
.abend-modal-footer { display:flex;align-items:center;justify-content:space-between;gap:1rem; }
.abend-selected-count { font-family:'DM Mono',monospace;font-size:0.65rem;color:rgba(245,176,48,0.6); }
.abend-confirm-btn {
  font-family:'Anton',sans-serif;font-size:0.95rem;letter-spacing:0.05em;
  background:#D4920A;color:#060400;border:none;border-radius:2px;
  padding:0.6rem 1.4rem;cursor:pointer;transition:background 0.12s ease-out;
}
.abend-confirm-btn:disabled { opacity:0.4;cursor:default; }
.abend-confirm-btn:not(:disabled):active { background:#F5B030; }
.abend-close-btn {
  position:absolute;top:1rem;right:1.1rem;
  background:none;border:none;color:rgba(255,243,208,0.5);font-size:1.5rem;cursor:pointer;line-height:1;
}

/* Emmy Dekret Finale */
.abend-dekret {
  position: fixed; inset: 0; z-index: 9100;
  background: rgba(6,4,0,0.95); backdrop-filter: blur(8px);
  display: flex; align-items: center; justify-content: center; padding: 1rem;
}
.abend-dekret[hidden] { display: none; }
.abend-dekret-inner {
  width: min(420px, 100%); max-height: 90vh; overflow-y: auto;
  background: #0e0b02; border: 1px solid rgba(212,146,10,0.4);
  border-top: 3px solid #F5B030; border-radius: 8px;
  padding: 1.8rem 1.4rem; text-align: center;
  animation: abendFadeIn 0.4s ease;
}
@keyframes abendFadeIn { from{opacity:0;transform:scale(0.95)} to{opacity:1;transform:scale(1)} }
.abend-dekret-eyebrow { font-family:'DM Mono',monospace;font-size:0.62rem;letter-spacing:0.22em;color:rgba(245,176,48,0.55);margin-bottom:0.8rem; }
.abend-dekret-emmy {
  width: 72px; height: 72px; border-radius: 50%; object-fit: cover;
  border: 2px solid #F5B030; box-shadow: 0 0 20px rgba(245,176,48,0.35);
  margin-bottom: 0.8rem;
}
.abend-dekret-emmy[src=""] { display: none; }
.abend-dekret-title { font-family:'Anton',sans-serif;font-size:1.3rem;color:#fff;margin:0 0 1.2rem; }
.abend-dekret-board { display:flex;flex-direction:column;gap:0.5rem;margin-bottom:1.2rem;text-align:left; }
.abend-dekret-row { display:flex;align-items:center;gap:0.7rem;padding:0.45rem 0.7rem;border-radius:4px;background:rgba(212,146,10,0.05); }
.abend-dekret-row.adr-1 { background:rgba(245,176,48,0.12);border-left:3px solid #F5B030; }
.abend-dekret-rank { font-family:'Anton',sans-serif;font-size:0.9rem;color:rgba(245,176,48,0.55);width:1.4rem;text-align:center; }
.abend-dekret-photo { width:36px;height:36px;border-radius:50%;object-fit:cover;border:1px solid rgba(212,146,10,0.4); }
.abend-dekret-name { font-family:'DM Mono',monospace;font-size:0.75rem;color:#FFF3D0;flex:1; }
.abend-dekret-pts { font-family:'Anton',sans-serif;font-size:1rem;color:#F5B030; }
.abend-dekret-verdict { font-family:'DM Mono',monospace;font-size:0.73rem;color:rgba(255,243,208,0.7);font-style:italic;line-height:1.6;margin-bottom:1.4rem;border-left:2px solid rgba(245,176,48,0.3);padding-left:0.8rem;text-align:left; }
.abend-dekret-btns { display:flex;gap:0.7rem;justify-content:center; }
.abend-dekret-reset {
  font-family:'DM Mono',monospace;font-size:0.7rem;letter-spacing:0.08em;
  background:transparent;border:1px solid rgba(245,176,48,0.4);color:rgba(245,176,48,0.8);
  border-radius:2px;padding:0.5rem 1rem;cursor:pointer;
}
.abend-dekret-reset:active { color:#F5B030;border-color:#F5B030; }
.abend-dekret-close {
  font-family:'Anton',sans-serif;font-size:0.9rem;letter-spacing:0.04em;
  background:#D4920A;color:#060400;border:none;border-radius:2px;
  padding:0.5rem 1.2rem;cursor:pointer;
}
.abend-dekret-close:active { background:#F5B030; }

/* ─── TAXI FAB ────────────────────────────────────────────────────────────────── */
#taxi-sheet {
  position: fixed;
  bottom: calc(5.5rem + env(safe-area-inset-bottom, 0px));
  left: 50%;
  transform: translateX(-50%);
  z-index: 4000;
  background: #111007; border: 1px solid rgba(212,146,10,0.4);
  border-radius: 16px; padding: .75rem;
  min-width: 240px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.7);
  display: none;
}
#taxi-sheet.open { display: block; animation: txIn .18s ease both; }
@keyframes txIn {
  from { opacity: 0; transform: translateX(-50%) translateY(8px); }
  to   { opacity: 1; transform: translateX(-50%) translateY(0); }
}
.taxi-label {
  font-family: 'Anton', sans-serif; font-size: .62rem; letter-spacing: .2em;
  color: rgba(245,176,48,.5); padding: 0 .4rem .5rem; border-bottom: 1px solid rgba(255,255,255,.06);
  margin-bottom: .4rem;
}
.taxi-opt {
  display: flex; align-items: center; gap: .75rem;
  padding: .55rem .4rem; border-radius: 10px; text-decoration: none;
  transition: background .1s ease-out;
}
.taxi-opt:active { background: rgba(212,146,10,.12); }
.taxi-ico { font-size: 1.2rem; width: 24px; text-align: center; }
.taxi-info { display: flex; flex-direction: column; }
.taxi-info strong { font-family: 'Anton', sans-serif; font-size: .9rem; letter-spacing: .04em; color: #FFF3D0; }
.taxi-info small { font-family: 'DM Mono', monospace; font-size: .65rem; color: rgba(255,243,208,.45); margin-top: 1px; }

/* ── PICKER — „WAS ZOCKEN WIR?" ─────────────────────────── */
#picker {
  margin: 1.6rem .85rem 1.2rem;
}
.picker-shell {
  position: relative;
  border-radius: 22px;
  padding: 1.6rem 1.1rem 1.35rem;
  background:
    radial-gradient(120% 90% at 50% 0%, rgba(245,176,48,.18) 0%, rgba(6,4,0,0) 55%),
    linear-gradient(180deg, #17110A 0%, #0B0805 100%);
  border: 1px solid rgba(212,146,10,.35);
  box-shadow:
    0 0 0 1px rgba(245,176,48,.08) inset,
    0 18px 44px -22px rgba(245,176,48,.55),
    0 8px 22px -10px rgba(0,0,0,.9);
  text-align: center;
  overflow: hidden;
}
.picker-shell::before {
  content: '';
  position: absolute; inset: -2px;
  border-radius: inherit;
  background: conic-gradient(from 0deg,
    rgba(245,176,48,.0) 0deg,
    rgba(245,176,48,.55) 60deg,
    rgba(245,176,48,.0) 140deg,
    rgba(245,176,48,.45) 240deg,
    rgba(245,176,48,.0) 360deg);
  filter: blur(14px);
  opacity: .45;
  z-index: 0;
  pointer-events: none;
  animation: pickerSpin 9s linear infinite;
}
.picker-shell > * { position: relative; z-index: 1; }
@keyframes pickerSpin {
  to { transform: rotate(1turn); }
}
.picker-eyebrow {
  font-family: 'DM Mono', monospace;
  font-size: .65rem;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: var(--amber);
  margin: 0 0 .35rem;
  opacity: .85;
}
.picker-title {
  font-family: 'Anton', sans-serif;
  font-size: clamp(2.1rem, 9vw, 3.1rem);
  line-height: .95;
  letter-spacing: .02em;
  color: var(--cream);
  margin: 0 0 .3rem;
  text-shadow: 0 2px 0 rgba(0,0,0,.55), 0 0 26px rgba(245,176,48,.25);
}
.picker-sub {
  font-family: 'DM Mono', monospace;
  font-size: .78rem;
  color: rgba(255,243,208,.75);
  margin: 0 0 1.05rem;
}
.picker-stage {
  position: relative;
  min-height: 108px;
  border-radius: 14px;
  padding: .9rem .8rem;
  margin: 0 0 1rem;
  background: linear-gradient(180deg, rgba(0,0,0,.55), rgba(0,0,0,.25));
  border: 1px dashed rgba(245,176,48,.35);
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
}
.picker-slot {
  width: 100%;
  transition: transform .18s cubic-bezier(.2,.8,.2,1), opacity .15s ease-out;
}
.picker-slot.rolling {
  animation: pickerShake .08s linear infinite;
}
.picker-slot.landed {
  animation: pickerSnap .45s cubic-bezier(.2, 1.6, .3, 1);
}
@keyframes pickerShake {
  0%   { transform: translateY(-1px) skewX(-1deg); }
  50%  { transform: translateY(1px)  skewX(1deg); }
  100% { transform: translateY(-1px) skewX(-1deg); }
}
@keyframes pickerSnap {
  0%   { transform: scale(.7); filter: blur(4px); }
  40%  { transform: scale(1.12); filter: blur(0); }
  70%  { transform: scale(.97); }
  100% { transform: scale(1); }
}
.picker-slot-title {
  font-family: 'Anton', sans-serif;
  font-size: clamp(1.35rem, 6vw, 1.85rem);
  line-height: 1.05;
  letter-spacing: .02em;
  color: var(--amber-hi);
  margin: 0 0 .3rem;
  text-shadow: 0 0 18px rgba(245,176,48,.35);
}
.picker-slot-desc {
  font-family: 'DM Mono', monospace;
  font-size: .72rem;
  color: rgba(255,243,208,.78);
  line-height: 1.3;
  max-width: 30ch;
  margin: 0 auto;
}
.picker-flash {
  position: absolute; inset: 0;
  background: radial-gradient(circle at 50% 50%, rgba(245,176,48,.8) 0%, rgba(245,176,48,0) 60%);
  opacity: 0;
  pointer-events: none;
}
.picker-flash.boom {
  animation: pickerFlash .7s ease-out;
}
@keyframes pickerFlash {
  0%   { opacity: 0; transform: scale(.4); }
  30%  { opacity: .9; transform: scale(1.05); }
  100% { opacity: 0; transform: scale(1.2); }
}
.picker-btn-primary {
  display: inline-flex; align-items: center; justify-content: center;
  gap: .6rem;
  width: 100%;
  min-height: 64px;
  padding: 0 1rem;
  border: 0;
  border-radius: 14px;
  background: linear-gradient(180deg, var(--amber-hi) 0%, var(--amber) 100%);
  color: var(--black);
  font-family: 'Anton', sans-serif;
  font-size: 1.35rem;
  letter-spacing: .06em;
  cursor: pointer;
  box-shadow:
    0 10px 24px -10px rgba(245,176,48,.75),
    0 2px 0 rgba(0,0,0,.35),
    inset 0 1px 0 rgba(255,255,255,.35);
  transition: transform .1s ease-out, box-shadow .15s ease-out, filter .15s ease-out;
}
.picker-btn-primary:active {
  transform: translateY(2px) scale(.985);
  box-shadow: 0 4px 10px -4px rgba(245,176,48,.6), inset 0 1px 0 rgba(255,255,255,.2);
}
.picker-btn-primary[disabled] {
  filter: saturate(.6) brightness(.85);
  cursor: wait;
}
.picker-btn-dice {
  display: inline-block;
  font-size: 1.6rem;
  transform-origin: 50% 55%;
}
.picker-btn-primary.rolling .picker-btn-dice {
  animation: pickerDice .5s linear infinite;
}
@keyframes pickerDice {
  0%   { transform: rotate(0deg) translateY(0); }
  25%  { transform: rotate(180deg) translateY(-3px); }
  50%  { transform: rotate(360deg) translateY(0); }
  75%  { transform: rotate(540deg) translateY(-3px); }
  100% { transform: rotate(720deg) translateY(0); }
}
.picker-cta {
  display: inline-flex; align-items: center; justify-content: center;
  gap: .4rem;
  width: 100%;
  min-height: 62px;
  margin-top: .7rem;
  padding: 0 1rem;
  border-radius: 14px;
  text-decoration: none;
  font-family: 'Anton', sans-serif;
  font-size: 1.25rem;
  letter-spacing: .06em;
  color: var(--cream);
  background: linear-gradient(180deg, rgba(245,176,48,.16), rgba(245,176,48,.06));
  border: 2px solid var(--amber);
  box-shadow: 0 0 0 0 rgba(245,176,48,.5);
  animation: pickerCtaPulse 1.8s ease-in-out infinite;
}
.picker-cta:active {
  transform: translateY(1px);
  background: rgba(245,176,48,.22);
}
.picker-cta-arrow {
  display: inline-block;
  transition: transform .12s ease-out;
}
.picker-cta:hover .picker-cta-arrow,
.picker-cta:focus .picker-cta-arrow {
  transform: translateX(4px);
}
@keyframes pickerCtaPulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(245,176,48,.55); }
  50%      { box-shadow: 0 0 0 10px rgba(245,176,48,0); }
}
.picker-btn-secondary {
  display: inline-block;
  margin-top: .6rem;
  padding: .5rem 1rem;
  border: 0;
  background: transparent;
  color: rgba(255,243,208,.7);
  font-family: 'DM Mono', monospace;
  font-size: .78rem;
  letter-spacing: .1em;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-color: rgba(245,176,48,.4);
}
.picker-btn-secondary:active {
  color: var(--amber-hi);
}
@media (min-width: 640px) {
  #picker { margin: 2rem 1rem 1.4rem; }
  .picker-shell { padding: 2rem 1.6rem 1.6rem; }
  .picker-stage { min-height: 128px; }
}

/* ─── STATUS HERO (Solo-First): Level + Progress + Quick-Actions ─────────── */
#status-hero {
  margin: 1.2rem 1rem 0.9rem;
}
.status-hero-card {
  padding: 1.3rem 1.2rem 1.1rem;
  background:
    radial-gradient(ellipse at top right, rgba(245,176,48,0.15), transparent 65%),
    linear-gradient(180deg, rgba(212,146,10,0.12), rgba(6,4,0,0.3));
  border: 1px solid rgba(245,176,48,0.38);
  border-left: 4px solid #F5B030;
  border-radius: 8px;
  position: relative;
  overflow: hidden;
}
.status-hero-top {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  margin-bottom: 1rem;
}
.status-hero-avatar {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid rgba(245,176,48,0.6);
  flex-shrink: 0;
  background: rgba(212,146,10,0.15);
}
.status-hero-info {
  flex: 1;
  min-width: 0;
}
.status-hero-eyebrow {
  font-family: 'DM Mono', monospace;
  font-size: 0.62rem;
  letter-spacing: 0.22em;
  color: rgba(245,176,48,0.7);
  text-transform: uppercase;
  line-height: 1;
  margin-bottom: 0.3rem;
}
.status-hero-level {
  font-family: 'Anton', sans-serif;
  font-size: 1.7rem;
  line-height: 1;
  color: #FFF3D0;
  letter-spacing: 0.02em;
  margin-bottom: 0.1rem;
}
.status-hero-rank {
  font-family: 'DM Mono', monospace;
  font-size: 0.72rem;
  color: #F5B030;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.pfb-trophy-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin-top: 0.4rem;
  padding: 0.22rem 0.6rem 0.22rem 0.5rem;
  background: rgba(212,146,10,0.14);
  border: 1px solid rgba(245,176,48,0.45);
  border-radius: 999px;
  font-family: 'Anton', sans-serif;
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  color: #FFF3D0;
  text-transform: uppercase;
  line-height: 1;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  transition: transform 0.08s ease-out, background 0.12s ease-out, border-color 0.12s ease-out;
}
.pfb-trophy-chip[hidden] { display: none; }
.pfb-trophy-chip:hover {
  background: rgba(212,146,10,0.22);
  border-color: rgba(245,176,48,0.7);
}
.pfb-trophy-chip:active { transform: scale(0.96); }
.pfb-trophy-chip-ico {
  font-size: 0.9rem;
  filter: drop-shadow(0 0 3px rgba(245,176,48,0.55));
}
.pfb-trophy-chip-count {
  color: #F5B030;
}
.status-hero-streak {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0.5rem 0.7rem;
  background: rgba(245,176,48,0.14);
  border: 1px solid rgba(245,176,48,0.3);
  border-radius: 4px;
  min-width: 52px;
  flex-shrink: 0;
}
.streak-flame { font-size: 0.95rem; line-height: 1; }
.status-hero-streak .streak-num {
  font-family: 'Anton', sans-serif;
  font-size: 1.3rem;
  color: #FFF3D0;
  line-height: 1.1;
}
.status-hero-streak .streak-label {
  font-family: 'DM Mono', monospace;
  font-size: 0.58rem;
  color: rgba(245,176,48,0.75);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.status-hero-progress {
  margin-bottom: 0.9rem;
}
.status-hero-progress-bar {
  height: 8px;
  background: rgba(6,4,0,0.5);
  border: 1px solid rgba(245,176,48,0.22);
  border-radius: 2px;
  overflow: hidden;
  margin-bottom: 0.4rem;
}
.status-hero-progress-fill {
  height: 100%;
  background: linear-gradient(90deg, #D4920A, #F5B030);
  transition: width 0.5s ease;
  box-shadow: 0 0 8px rgba(245,176,48,0.5);
}
.status-hero-progress-label {
  font-family: 'DM Mono', monospace;
  font-size: 0.68rem;
  color: rgba(255,243,208,0.65);
  letter-spacing: 0.02em;
}
.status-hero-quick {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  width: 100%;
  padding: 0.95rem 1rem;
  background: linear-gradient(135deg, #D4920A 0%, #F5B030 70%, #FFD24A 100%);
  color: #060400;
  font-family: 'Anton', sans-serif;
  font-size: 1rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: 3px;
  border: 2px solid transparent;
  margin-bottom: 0.55rem;
  box-shadow: 0 3px 14px rgba(245,176,48,0.22);
  transition: transform 0.08s ease-out, box-shadow 0.12s ease-out, background 0.12s ease-out;
  -webkit-tap-highlight-color: transparent;
  cursor: pointer;
}
.status-hero-quick:active {
  transform: translateY(1px);
  box-shadow: 0 1px 6px rgba(245,176,48,0.3);
}
.status-hero-quick .quick-icon {
  font-size: 1.15rem;
}
.status-hero-quick.rolling .quick-icon {
  animation: quick-roll 0.28s ease-in-out;
}
@keyframes quick-roll {
  0%   { transform: rotate(0) scale(1); }
  50%  { transform: rotate(180deg) scale(1.3); }
  100% { transform: rotate(360deg) scale(1); }
}
/* ── Online-Presence strip ──────────────────────────────── */
.status-hero-online {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.5rem 0.75rem;
  margin: 0 0 0.6rem;
  background: rgba(6,4,0,0.35);
  border: 1px solid rgba(245,176,48,0.2);
  border-radius: 999px;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  transition: background 0.12s ease-out, border-color 0.12s ease-out, transform 0.1s ease-out;
  width: 100%;
  text-align: left;
  font-family: inherit;
}
.status-hero-online[hidden] { display: none; }
.status-hero-online:hover { background: rgba(6,4,0,0.55); border-color: rgba(245,176,48,0.4); }
.status-hero-online:active { transform: scale(0.985); }

.online-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: #6cd36c;
  box-shadow: 0 0 8px rgba(108,211,108,0.65);
  animation: online-dot-pulse 2s ease-in-out infinite;
  flex-shrink: 0;
}
@keyframes online-dot-pulse {
  0%, 100% { opacity: 0.75; }
  50%      { opacity: 1; }
}

.online-avatars {
  display: flex;
  flex-shrink: 0;
}
.online-avatar {
  width: 26px; height: 26px;
  border-radius: 50%;
  background-size: cover;
  background-position: center;
  background-color: rgba(212,146,10,0.2);
  border: 2px solid #060400;
  margin-left: -8px;
  box-shadow: 0 0 0 1px rgba(245,176,48,0.4);
}
.online-avatar:first-child { margin-left: 0; }
.online-avatar.online-more {
  background: rgba(245,176,48,0.18);
  color: var(--amber);
  font-family: 'DM Mono', monospace;
  font-size: 0.58rem;
  display: flex;
  align-items: center;
  justify-content: center;
  letter-spacing: 0.02em;
}

.online-label {
  color: rgba(255,243,208,0.7);
  font-family: 'DM Mono', monospace;
  font-size: 0.66rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  flex: 1;
}

.status-hero-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem;
}
.status-hero-btn {
  font-family: 'Anton', sans-serif;
  font-size: 0.88rem;
  letter-spacing: 0.06em;
  padding: 0.75rem 0.6rem;
  border-radius: 3px;
  text-align: center;
  cursor: pointer;
  border: 1px solid rgba(245,176,48,0.4);
  background: rgba(212,146,10,0.1);
  color: #FFF3D0;
  text-decoration: none;
  transition: background 0.12s ease-out, border-color 0.12s ease-out;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.3rem;
}
.status-hero-btn:active {
  background: rgba(245,176,48,0.22);
  border-color: #F5B030;
}
.status-hero-btn-primary {
  background: #D4920A;
  color: #060400;
  border-color: #F5B030;
}
.status-hero-btn-primary:active {
  background: #F5B030;
}

@media (min-width: 640px) {
  .status-hero-card { padding: 1.5rem 1.6rem 1.3rem; }
  .status-hero-level { font-size: 2rem; }
}

/* ─── ABEND-BAR IDLE (kompakt, nicht mehr Hero) ──────────────────────────── */
#abend-bar.abend-bar-idle {
  margin: 0 1rem 1.2rem;
  padding: 0.85rem 1rem;
  background: linear-gradient(90deg, rgba(212,146,10,0.1), rgba(212,146,10,0.04));
  border: 1px solid rgba(245,176,48,0.3);
  border-left: 3px solid #F5B030;
  border-radius: 4px;
  display: flex;
  align-items: center;
  gap: 0.8rem;
}
.abend-bar-idle-side {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  flex: 1;
  min-width: 0;
}
.abend-compact-left {
  flex: 1;
  min-width: 0;
}
.abend-compact-eyebrow {
  font-family: 'DM Mono', monospace;
  font-size: 0.58rem;
  letter-spacing: 0.18em;
  color: rgba(245,176,48,0.8);
  text-transform: uppercase;
  line-height: 1;
  margin-bottom: 0.25rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.abend-compact-title {
  font-family: 'Anton', sans-serif;
  font-size: 1rem;
  line-height: 1.05;
  color: #FFF3D0;
  letter-spacing: 0.03em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.abend-compact-sub {
  font-family: 'DM Mono', monospace;
  font-size: 0.62rem;
  color: rgba(255,243,208,0.55);
  letter-spacing: 0.02em;
  margin-top: 0.2rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.abend-start-btn.abend-start-btn-compact {
  font-family: 'Anton', sans-serif;
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  padding: 0.55rem 0.8rem;
  border-radius: 3px;
  white-space: nowrap;
  background: #D4920A;
  color: #060400;
  border: none;
  cursor: pointer;
  line-height: 1;
  flex-shrink: 0;
}
/* Narrow screens: stack text + button vertically so nothing gets cramped */
@media (max-width: 380px) {
  .abend-bar-idle-side {
    flex-direction: column;
    align-items: stretch;
    gap: 0.55rem;
  }
  .abend-start-btn.abend-start-btn-compact {
    width: 100%;
    padding: 0.6rem 0.9rem;
    font-size: 0.9rem;
  }
}
.abend-start-btn.abend-start-btn-compact:active { background: #F5B030; }

/* Active-Mode — Card mit klarer LIVE-Indikation */
#abend-bar:not(.abend-bar-idle) {
  margin: 0 1rem 1.2rem;
  padding: 0.95rem 1rem 0.85rem;
  border-radius: 6px;
  background:
    radial-gradient(ellipse at top right, rgba(245,176,48,0.1), transparent 70%),
    linear-gradient(180deg, rgba(212,146,10,0.12), rgba(6,4,0,0.2));
  border: 1px solid rgba(245,176,48,0.38);
  border-left: 3px solid #F5B030;
  display: block;
}
.abend-bar-active-side {
  display: flex !important;
  flex-direction: column;
  gap: 0.6rem;
  width: 100%;
}
.abend-active-header {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  font-family: 'DM Mono', monospace;
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.abend-live-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: #ff4444;
  box-shadow: 0 0 8px rgba(255,68,68,0.6);
  animation: abendLivePulse 1.4s ease-in-out infinite;
  flex-shrink: 0;
}
@keyframes abendLivePulse {
  0%, 100% { opacity: 0.6; transform: scale(0.85); }
  50%      { opacity: 1; transform: scale(1.1); }
}
.abend-active-title {
  color: #F5B030;
  font-weight: 500;
}
.abend-active-count {
  color: rgba(255,243,208,0.55);
  flex: 0 1 auto;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.abend-active-timer {
  color: rgba(245,176,48,0.85);
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.1em;
  font-weight: 500;
  white-space: nowrap;
  flex: 0 0 auto;
}
.abend-active-timer[hidden] { display: none; }
.abend-info-btn {
  background: transparent;
  border: 1px solid rgba(245,176,48,0.3);
  border-radius: 50%;
  width: 22px; height: 22px;
  padding: 0;
  font-size: 0.7rem;
  cursor: pointer;
  line-height: 1;
  color: rgba(245,176,48,0.9);
  flex-shrink: 0;
  margin-left: auto;
}
.abend-info-btn:active { background: rgba(245,176,48,0.2); }
.abend-bar-active-side .abend-scores-line {
  font-family: 'Anton', sans-serif;
  font-size: 0.95rem;
  color: #FFF3D0;
  white-space: normal;
  overflow: visible;
  text-overflow: clip;
  letter-spacing: 0.02em;
  line-height: 1.3;
}
.abend-bar-active-side .abend-scores-line b { color: #F5B030; }
.abend-active-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.45rem;
}
.abend-play-btn,
.abend-bar-active-side .abend-end-btn {
  font-family: 'Anton', sans-serif;
  font-size: 0.85rem;
  letter-spacing: 0.06em;
  padding: 0.7rem 0.5rem;
  border-radius: 3px;
  text-align: center;
  cursor: pointer;
  text-decoration: none;
  line-height: 1;
  border: 1px solid rgba(245,176,48,0.4);
  transition: background 0.12s ease-out, border-color 0.12s ease-out;
}
.abend-play-btn {
  background: #D4920A;
  color: #060400;
  border-color: #F5B030;
}
.abend-play-btn:active { background: #F5B030; }
.abend-bar-active-side .abend-end-btn {
  background: rgba(6,4,0,0.3);
  color: rgba(245,176,48,0.85);
}
.abend-bar-active-side .abend-end-btn:active {
  background: rgba(245,176,48,0.15);
  color: #F5B030;
  border-color: #F5B030;
}

/* ─── ABEND-INFO POPOVER ─────────────────────────────────────────────────── */
.abend-info-popover {
  position: fixed; inset: 0; z-index: 9100;
  background: rgba(6,4,0,0.88); backdrop-filter: blur(6px);
  display: flex; align-items: center; justify-content: center;
  padding: 1rem;
}
.abend-info-popover[hidden] { display: none !important; }
.abend-info-inner {
  max-width: 440px;
  width: 100%;
  background: linear-gradient(180deg, rgba(20,14,6,0.98), rgba(6,4,0,0.98));
  border: 1px solid rgba(245,176,48,0.45);
  border-left: 4px solid #F5B030;
  border-radius: 8px;
  padding: 1.5rem 1.4rem;
  box-shadow: 0 20px 60px rgba(0,0,0,0.6);
}
.abend-info-eyebrow {
  font-family: 'DM Mono', monospace;
  font-size: 0.62rem;
  letter-spacing: 0.22em;
  color: rgba(245,176,48,0.7);
  text-transform: uppercase;
  margin-bottom: 0.3rem;
}
.abend-info-title {
  font-family: 'Anton', sans-serif;
  font-size: 1.4rem;
  color: #FFF3D0;
  letter-spacing: 0.02em;
  margin: 0 0 1rem;
}
.abend-info-steps {
  font-family: 'DM Mono', monospace;
  font-size: 0.8rem;
  line-height: 1.55;
  color: rgba(255,243,208,0.85);
  padding-left: 1.2rem;
  margin: 0 0 1rem;
}
.abend-info-steps li { margin-bottom: 0.5rem; }
.abend-info-steps b { color: #F5B030; font-weight: 500; }
.abend-info-note {
  display: flex;
  gap: 0.7rem;
  padding: 0.85rem 0.9rem;
  background: rgba(245,176,48,0.08);
  border: 1px solid rgba(245,176,48,0.22);
  border-radius: 4px;
  font-family: 'DM Mono', monospace;
  font-size: 0.75rem;
  line-height: 1.5;
  color: rgba(255,243,208,0.82);
  margin-bottom: 1.1rem;
}
.abend-info-note-icon { font-size: 1.2rem; flex-shrink: 0; line-height: 1.3; }
.abend-info-note b { color: #F5B030; font-weight: 500; display: block; margin-bottom: 0.15rem; }
.abend-info-close-btn {
  width: 100%;
  font-family: 'Anton', sans-serif;
  font-size: 1rem;
  letter-spacing: 0.08em;
  padding: 0.85rem 1rem;
  background: #D4920A;
  color: #060400;
  border: none;
  border-radius: 3px;
  cursor: pointer;
}
.abend-info-close-btn:active { background: #F5B030; }

/* ── Day-Play-Streak Chip (Status-Hero) ───────────────────────────── */
/* Sits at top of the hero card above the avatar row so it reads as a
   separate "daily-commitment" signal and doesn't fight the weekly-streak
   box that lives inside the top row. Hides itself when streak < 2. */
.status-hero-daystreak {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin: -0.3rem 0 0.7rem;
  padding: 0.32rem 0.7rem 0.32rem 0.55rem;
  background: linear-gradient(135deg, rgba(245,176,48,0.92), rgba(212,146,10,0.85));
  color: #060400;
  font-family: 'DM Mono', monospace;
  font-size: 0.58rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border-radius: 999px;
  border: 1px solid rgba(255,243,208,0.35);
  box-shadow: 0 2px 8px rgba(245,176,48,0.35);
  align-self: flex-start;
  animation: daystreak-pulse 2.4s ease-in-out infinite;
}
.status-hero-daystreak[hidden] { display: none; }
.daystreak-flame {
  font-size: 0.85rem;
  line-height: 1;
  filter: drop-shadow(0 0 4px rgba(255,120,40,0.6));
}
.daystreak-num {
  font-family: 'Anton', sans-serif;
  font-size: 0.95rem;
  line-height: 1;
  letter-spacing: 0;
}
.daystreak-label {
  font-weight: 500;
  opacity: 0.82;
}
@keyframes daystreak-pulse {
  0%, 100% { box-shadow: 0 2px 8px rgba(245,176,48,0.35); }
  50%      { box-shadow: 0 2px 14px rgba(245,176,48,0.55); }
}

/* ── "Heute freigespielt" Feed ────────────────────────────────────── */
.heute-freigespielt {
  padding: 0.6rem 1rem 0.85rem;
  border-bottom: 1px solid rgba(212,146,10,0.08);
}
.heute-freigespielt[hidden] { display: none; }
.hf-header {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.55rem;
}
.hf-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: #F5B030;
  box-shadow: 0 0 8px rgba(245,176,48,0.7);
  animation: hf-dot-pulse 2s ease-in-out infinite;
}
@keyframes hf-dot-pulse {
  0%, 100% { opacity: 0.7; }
  50%      { opacity: 1; }
}
.hf-eyebrow {
  font-family: 'DM Mono', monospace;
  font-size: 0.58rem;
  letter-spacing: 0.28em;
  color: rgba(245,176,48,0.85);
  text-transform: uppercase;
}
.hf-row {
  display: flex;
  gap: 0.5rem;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  padding-bottom: 0.15rem;
  scrollbar-width: none;
}
.hf-row::-webkit-scrollbar { display: none; }
.hf-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  flex-shrink: 0;
  padding: 0.4rem 0.65rem;
  background: rgba(6,4,0,0.4);
  border: 1px solid rgba(245,176,48,0.28);
  border-radius: 999px;
  font-family: 'DM Mono', monospace;
  font-size: 0.68rem;
  color: var(--cream);
  white-space: nowrap;
  transition: transform 0.1s;
}
.hf-chip:active { transform: scale(0.97); }
.hf-chip-who {
  font-family: 'Anton', sans-serif;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--amber-hi);
}
.hf-chip-icon { font-size: 0.95rem; line-height: 1; }
.hf-chip-title {
  font-size: 0.66rem;
  letter-spacing: 0.04em;
}
/* Rarity tints */
.hf-chip-rare {
  border-color: rgba(130,200,255,0.5);
  background: linear-gradient(135deg, rgba(6,4,0,0.5), rgba(60,120,180,0.18));
}
.hf-chip-rare .hf-chip-who { color: #a8d8ff; }
.hf-chip-epic {
  border-color: rgba(200,130,255,0.55);
  background: linear-gradient(135deg, rgba(6,4,0,0.5), rgba(130,60,180,0.22));
}
.hf-chip-epic .hf-chip-who { color: #d9b3ff; }
.hf-chip-legendary {
  border-color: rgba(255,200,60,0.7);
  background: linear-gradient(135deg, rgba(6,4,0,0.5), rgba(212,146,10,0.32));
  box-shadow: 0 0 10px rgba(245,176,48,0.28);
}
.hf-chip-legendary .hf-chip-who { color: #FFD24A; }

/* ── Leaderboard: Online-Presence Dot ─────────────────────────────── */
.lb-avatar-wrap {
  position: relative;
  display: inline-block;
  flex-shrink: 0;
  line-height: 0;
}
.lb-avatar-wrap .lb-avatar {
  display: block;
}
.lb-online-dot {
  position: absolute;
  right: -1px;
  bottom: -1px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #F5B030;
  border: 2px solid #060400;
  box-shadow: 0 0 6px rgba(245,176,48,0.75);
  animation: lb-online-pulse 1.8s ease-in-out infinite;
  pointer-events: none;
}
@keyframes lb-online-pulse {
  0%, 100% { transform: scale(1);   box-shadow: 0 0 4px rgba(245,176,48,0.6); }
  50%      { transform: scale(1.18); box-shadow: 0 0 10px rgba(245,176,48,0.95); }
}

/* ══════════════════════════════════════════════════════════════════ */
/* M3.8 — Card-Loop Videos (subtle, opacity-0.35, over card-photo)    */
/* ══════════════════════════════════════════════════════════════════ */
.game-card.has-video .game-card-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  opacity: 0;
  z-index: 1;
  pointer-events: none;
  transition: opacity 1.2s ease;
  /* poster fallback via card-photo stays visible at opacity:0 */
}
/* Only fade in once the video element actually has data to play */
.game-card.has-video.video-ready .game-card-bg {
  opacity: 0.42;
}
.game-card.has-video .card-photo {
  /* When the video kicks in, still show the photo beneath as a safety net */
  z-index: 0;
}
.game-card.has-video .card-mask {
  z-index: 2;
  pointer-events: none;
}
/* Extra darkening on top of video so text stays legible — but not so dark
   that the amber CTA looks disabled. Ease the bottom so the button reads. */
.game-card.has-video.video-ready .card-mask {
  background: linear-gradient(
    to top,
    rgba(6,4,0,0.72) 0%,
    rgba(6,4,0,0.55) 28%,
    rgba(6,4,0,0.14) 62%,
    rgba(6,4,0,0.02) 100%
  );
}
/* CTA must sit ABOVE the mask so the amber stays vibrant. Without this the
   0.42-opacity video + dark gradient dull the button to "looks disabled". */
.game-card.has-video .card-cta {
  z-index: 3;
}
/* On mini cards: video fills the small card-photo cell only (not overlay body text) */
.game-card.has-video.mini .game-card-bg {
  position: absolute;
  left: 0;
  top: 0;
  width: 88px;
  height: 100%;
  object-position: center center;
  border-radius: inherit;
}
.game-card.has-video.mini.video-ready .game-card-bg {
  opacity: 0.85;
}
.game-card.has-video.mini.video-ready .card-photo {
  /* Hide the still thumb once video is playing so it doesn't double-up */
  opacity: 0;
  transition: opacity 0.8s ease;
}
/* Reduced motion: no videos */
@media (prefers-reduced-motion: reduce) {
  .game-card.has-video .game-card-bg { display: none !important; }
}

/* ══════════════════════════════════════════════════════════════════ */
/* M4.6 — Monats-König Subtle Shimmer & Breath                        */
/* First hof-crown-card = Monats-König (rendered first in landing.js) */
/* ══════════════════════════════════════════════════════════════════ */
.hof-amtierend .hof-crown-card:first-child {
  animation: hof-monarch-breath 4.2s ease-in-out infinite;
  will-change: transform, box-shadow;
}
.hof-amtierend .hof-crown-card:first-child .hof-crown-icon {
  position: relative;
  background: linear-gradient(
    120deg,
    rgba(212,146,10,0.14) 0%,
    rgba(245,176,48,0.45) 42%,
    rgba(255,220,120,0.9) 50%,
    rgba(245,176,48,0.45) 58%,
    rgba(212,146,10,0.14) 100%
  );
  background-size: 240% 100%;
  animation: hof-monarch-shimmer 3.8s linear infinite;
  box-shadow: 0 0 18px rgba(245,176,48,0.55);
}
.hof-amtierend .hof-crown-card:first-child .hof-crown-label {
  background: linear-gradient(
    90deg,
    rgba(212,146,10,0.6) 0%,
    rgba(255,220,120,1) 50%,
    rgba(212,146,10,0.6) 100%
  );
  background-size: 240% 100%;
  -webkit-background-clip: text;
          background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  animation: hof-monarch-shimmer 3.8s linear infinite;
}
@keyframes hof-monarch-breath {
  0%, 100% {
    box-shadow:
      inset 0 0 0 1px rgba(245,176,48,0.12),
      0 0 18px rgba(245,176,48,0.14);
    transform: translateY(0) scale(1);
  }
  50% {
    box-shadow:
      inset 0 0 0 1px rgba(245,176,48,0.26),
      0 0 28px rgba(245,176,48,0.28);
    transform: translateY(0) scale(1.008);
  }
}
@keyframes hof-monarch-shimmer {
  0%   { background-position: 200% 50%; }
  100% { background-position: -60% 50%; }
}
@media (prefers-reduced-motion: reduce) {
  .hof-amtierend .hof-crown-card:first-child,
  .hof-amtierend .hof-crown-card:first-child .hof-crown-icon,
  .hof-amtierend .hof-crown-card:first-child .hof-crown-label {
    animation: none !important;
  }
  /* Restore readable static fill when shimmer is off */
  .hof-amtierend .hof-crown-card:first-child .hof-crown-label {
    background: none;
    -webkit-text-fill-color: var(--amber);
    color: var(--amber);
  }
  .hof-amtierend .hof-crown-card:first-child .hof-crown-icon {
    background: rgba(212,146,10,0.14);
    box-shadow: none;
  }
}

/* ══════════════════════════════════════════════════════════════════ */
/* M4.3 — Remote-Join: Host Join-Code Sheet + Join Form               */
/* ══════════════════════════════════════════════════════════════════ */

/* Join-Code Button in Active Abend-Bar — takes full width below play/end row */
.abend-bar-active-side:has(.abend-join-btn:not([hidden])) .abend-active-actions {
  grid-template-areas: "play end" "join join";
  grid-template-columns: 1fr 1fr;
  gap: 0.45rem;
}
.abend-bar-active-side:has(.abend-join-btn:not([hidden])) .abend-play-btn {
  grid-area: play;
}
.abend-bar-active-side:has(.abend-join-btn:not([hidden])) .abend-end-btn {
  grid-area: end;
}
.abend-join-btn {
  grid-area: join;
  appearance: none;
  border: 1px solid rgba(212,146,10,0.45);
  background: rgba(212,146,10,0.08);
  color: var(--amber-hi);
  font-family: 'DM Mono', monospace;
  font-size: 0.62rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  padding: 0.6rem 0.85rem;
  border-radius: 6px;
  cursor: pointer;
  transition: background 0.15s ease-out, transform 0.1s ease-out;
}
.abend-join-btn:active { transform: scale(0.98); background: rgba(212,146,10,0.2); }

/* Join-Code Sheet (host shows code to friends) */
.pfb-join-sheet {
  position: fixed;
  inset: 0;
  z-index: 2900;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(6,4,0,0.88);
  backdrop-filter: blur(8px);
  padding: 1.2rem;
}
.pfb-join-sheet[hidden] { display: none; }
.pfb-join-sheet-inner {
  background: linear-gradient(175deg, #1a1205 0%, #0a0600 100%);
  border: 1px solid rgba(212,146,10,0.35);
  border-radius: 14px;
  padding: 2rem 1.6rem 1.8rem;
  max-width: 22rem;
  width: 100%;
  text-align: center;
  position: relative;
  box-shadow: 0 20px 60px rgba(0,0,0,0.65), inset 0 1px 0 rgba(212,146,10,0.1);
}
.pfb-join-sheet-eyebrow {
  font-family: 'DM Mono', monospace;
  font-size: 0.54rem;
  letter-spacing: 0.34em;
  color: var(--amber);
  text-transform: uppercase;
  margin-bottom: 0.5rem;
  opacity: 0.88;
}
.pfb-join-sheet-title {
  font-family: 'Anton', sans-serif;
  font-size: 1.6rem;
  letter-spacing: 0.02em;
  color: var(--cream);
  margin-bottom: 0.2rem;
  text-transform: uppercase;
}
.pfb-join-sheet-sub {
  font-family: 'DM Mono', monospace;
  font-size: 0.72rem;
  color: rgba(255,243,208,0.72);
  margin-bottom: 1.3rem;
}
.pfb-join-code-display {
  display: flex;
  gap: 0.5rem;
  justify-content: center;
  margin-bottom: 1.3rem;
}
.pfb-join-code-display > span {
  font-family: 'Anton', sans-serif;
  font-size: 2.8rem;
  line-height: 1;
  width: 3.1rem;
  padding: 0.6rem 0;
  background: rgba(212,146,10,0.1);
  border: 1px solid rgba(212,146,10,0.35);
  border-radius: 8px;
  color: var(--amber-hi);
  letter-spacing: 0;
  box-shadow: inset 0 0 20px rgba(245,176,48,0.1);
}
.pfb-join-actions {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}
.pfb-join-share-btn,
.pfb-join-copy-btn {
  appearance: none;
  border: none;
  font-family: 'DM Mono', monospace;
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  padding: 0.85rem;
  border-radius: 8px;
  cursor: pointer;
  transition: transform 0.1s ease-out, background 0.15s ease-out;
}
.pfb-join-share-btn {
  background: linear-gradient(180deg, var(--amber-hi), var(--amber));
  color: #060400;
  font-weight: 500;
}
.pfb-join-copy-btn {
  background: rgba(212,146,10,0.12);
  color: var(--amber-hi);
  border: 1px solid rgba(212,146,10,0.4);
}
.pfb-join-share-btn:active,
.pfb-join-copy-btn:active { transform: scale(0.97); }
.pfb-join-sheet-close {
  position: absolute;
  top: 0.5rem;
  right: 0.6rem;
  background: transparent;
  border: none;
  color: rgba(255,243,208,0.65);
  font-size: 1.6rem;
  line-height: 1;
  width: 2rem;
  height: 2rem;
  cursor: pointer;
}
.pfb-join-sheet-hint {
  font-family: 'DM Mono', monospace;
  font-size: 0.6rem;
  color: rgba(255,243,208,0.5);
  margin-top: 1rem;
  letter-spacing: 0.1em;
}

/* Crew-Overlay: CODE EINGEBEN Button + Input-Row */
.abend-join-entry {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(212,146,10,0.12);
  text-align: center;
}
.abend-join-entry-btn {
  appearance: none;
  background: transparent;
  border: 1px dashed rgba(212,146,10,0.4);
  color: var(--amber-hi);
  font-family: 'DM Mono', monospace;
  font-size: 0.68rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 0.7rem 1rem;
  border-radius: 10px;
  cursor: pointer;
  width: 100%;
  transition: background 0.15s ease-out;
}
.abend-join-entry-btn:active { background: rgba(212,146,10,0.1); }

.abend-join-code-row {
  display: flex;
  gap: 0.5rem;
  justify-content: center;
  margin: 0.9rem 0 0.6rem;
}
.abend-join-code-row input {
  width: 2.6rem;
  height: 3.2rem;
  font-family: 'Anton', sans-serif;
  font-size: 1.8rem;
  text-align: center;
  background: rgba(255,243,208,0.04);
  border: 1px solid rgba(212,146,10,0.35);
  border-radius: 8px;
  color: var(--cream);
  caret-color: var(--amber-hi);
  outline: none;
  transition: border-color 0.12s ease-out, box-shadow 0.12s ease-out;
}
.abend-join-code-row input:focus {
  border-color: var(--amber-hi);
  box-shadow: 0 0 0 2px rgba(245,176,48,0.25);
}
.abend-join-status {
  font-family: 'DM Mono', monospace;
  font-size: 0.65rem;
  letter-spacing: 0.14em;
  color: rgba(255,243,208,0.7);
  min-height: 1rem;
  margin-top: 0.4rem;
}
.abend-join-status.error { color: #ff8a8a; }
.abend-join-status.ok    { color: var(--amber-hi); }

/* Auto-Join Confirm Prompt */
.pfb-autojoin-prompt {
  position: fixed;
  inset: 0;
  z-index: 2950;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(6,4,0,0.92);
  backdrop-filter: blur(10px);
  padding: 1.2rem;
}
.pfb-autojoin-prompt[hidden] { display: none; }
.pfb-autojoin-card {
  background: linear-gradient(175deg, #1a1205 0%, #0a0600 100%);
  border: 1px solid rgba(212,146,10,0.4);
  border-radius: 14px;
  padding: 2rem 1.6rem 1.6rem;
  max-width: 22rem;
  text-align: center;
  box-shadow: 0 20px 60px rgba(0,0,0,0.7);
}
.pfb-autojoin-title {
  font-family: 'Anton', sans-serif;
  font-size: 1.6rem;
  letter-spacing: 0.02em;
  color: var(--cream);
  margin-bottom: 0.4rem;
  text-transform: uppercase;
}
.pfb-autojoin-host {
  font-family: 'DM Mono', monospace;
  font-size: 0.82rem;
  color: var(--amber-hi);
  margin-bottom: 0.3rem;
}
.pfb-autojoin-sub {
  font-family: 'DM Mono', monospace;
  font-size: 0.68rem;
  color: rgba(255,243,208,0.66);
  margin-bottom: 1.2rem;
}
.pfb-autojoin-actions {
  display: flex;
  gap: 0.5rem;
  justify-content: center;
}
.pfb-autojoin-actions button {
  appearance: none;
  border: none;
  font-family: 'DM Mono', monospace;
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  padding: 0.8rem 1.3rem;
  border-radius: 8px;
  cursor: pointer;
  flex: 1;
}
.pfb-autojoin-yes {
  background: linear-gradient(180deg, var(--amber-hi), var(--amber));
  color: #060400;
}
.pfb-autojoin-no {
  background: rgba(255,243,208,0.06);
  color: rgba(255,243,208,0.85);
  border: 1px solid rgba(255,243,208,0.18);
}

/* ── Daily-Quest Widget (landing-integration) ───────────────────────────── */
/* Base styling lives in shared/daily-quest.css; here we sync margins to the
 * abend-bar and hero-area spacing so the widget sits flush between them. */
#pfb-daily-quest {
  /* Match abend-bar's horizontal inset for visual continuity */
  margin: 0.5rem 1rem 0;
}
/* Nudge when directly after an active (non-idle) abend-bar so the crew bar
 * and quest card visually group. */
#abend-bar:not(.abend-bar-idle) + #pfb-daily-quest {
  margin-top: 0.4rem;
}

/* ══════════════════════════════════════════════════════════════════ */
/* M3.10 — Reduced Motion (universal fallback)                        */
/* Keep section-specific overrides above; this shortens everything    */
/* that still runs so users with prefers-reduced-motion never get     */
/* hung up on slow scroll-reveals or splash loops.                    */
/* ══════════════════════════════════════════════════════════════════ */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* ─────────────────────────────────────────────────────────────────────── */
/*  Card-Alive — CSS-only „lebende" Mini-Cards als Ersatz für Loop-Videos  */
/*  Ken-Burns auf dem Foto + card-spezifischer Ambient-FX-Layer.           */
/*  Gesichter bleiben 1:1 identisch (ist ja das Originalbild).             */
/* ─────────────────────────────────────────────────────────────────────── */

.card-alive .card-fx {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}
/* Mini-body + CTA über den FX-Layer zwingen, falls Browser-Stacking ziert */
.card-alive .card-mini-body,
.card-alive .card-mini-cta {
  position: relative;
  z-index: 1;
}

@media (prefers-reduced-motion: no-preference) {

  /* ── Ken-Burns (shared) ─────────────────────────────────────────────── */
  .card-alive .card-photo {
    animation: cardAliveKenBurns 18s ease-in-out infinite alternate;
    will-change: transform;
  }
  @keyframes cardAliveKenBurns {
    0%   { transform: scale(1.00) translate3d(0, 0, 0); }
    100% { transform: scale(1.055) translate3d(-1.2%, -0.8%, 0); }
  }

  /* ── Quatsch oder Pils: warme Lichterketten-Flackerei + Amber-Puls ──── */
  /* Foto hat Lichterketten oben-rechts + goldene Lampe — wir verstärken   */
  /* das Flackern mit einem Multi-Layer-Radial-Gradient.                   */
  .card-alive-quatsch .card-fx {
    background:
      /* Lichterketten-Punkte rechts oben */
      radial-gradient(2.5px 2.5px at 68% 12%, rgba(255, 225, 140, 0.95) 50%, transparent 100%),
      radial-gradient(2px 2px at 78% 8%,    rgba(255, 235, 160, 0.90) 50%, transparent 100%),
      radial-gradient(2.2px 2.2px at 88% 14%, rgba(255, 220, 130, 0.95) 50%, transparent 100%),
      radial-gradient(2px 2px at 58% 10%,   rgba(255, 230, 150, 0.85) 50%, transparent 100%),
      radial-gradient(2.5px 2.5px at 48% 6%, rgba(255, 215, 120, 0.80) 50%, transparent 100%),
      /* Warme Lampe unten-links über dem Beschuldigten */
      radial-gradient(ellipse 40% 35% at 18% 55%,
        rgba(245, 176, 48, 0.14) 0%,
        rgba(245, 176, 48, 0)    70%);
    mix-blend-mode: screen;
    animation: cardAliveFlicker 3.6s ease-in-out infinite;
  }
  @keyframes cardAliveFlicker {
    0%, 100% { opacity: 0.92; }
    23%      { opacity: 0.55; }
    27%      { opacity: 0.98; }
    56%      { opacity: 0.78; }
    72%      { opacity: 0.45; }
    75%      { opacity: 0.95; }
  }

  /* ── Kneipentour: Stadtlichter twinkeln + Scheinwerfer-Glanz ────────── */
  /* Foto zeigt Auto-Cockpit mit Stadt-Panorama dahinter — Lichter funkeln.*/
  .card-alive-kneipentour .card-fx {
    background:
      /* Stadtlichter hinter der Windschutzscheibe (Zeile ~15-40% Höhe) */
      radial-gradient(1.5px 1.5px at 12% 28%, rgba(255, 220, 160, 0.95) 50%, transparent 100%),
      radial-gradient(1px 1px at 22% 32%,   rgba(255, 240, 200, 0.85) 50%, transparent 100%),
      radial-gradient(2px 2px at 33% 24%,   rgba(255, 210, 140, 0.90) 50%, transparent 100%),
      radial-gradient(1.2px 1.2px at 45% 30%, rgba(255, 235, 170, 0.95) 50%, transparent 100%),
      radial-gradient(1.8px 1.8px at 58% 26%, rgba(255, 220, 150, 0.88) 50%, transparent 100%),
      radial-gradient(1.5px 1.5px at 68% 34%, rgba(255, 245, 210, 0.92) 50%, transparent 100%),
      radial-gradient(1px 1px at 78% 28%,   rgba(255, 225, 160, 0.85) 50%, transparent 100%),
      radial-gradient(2px 2px at 88% 32%,   rgba(255, 215, 140, 0.90) 50%, transparent 100%),
      /* Innenraum-Warmlicht oben-mitte (Auto-Dome-Light) */
      radial-gradient(ellipse 55% 25% at 50% 8%,
        rgba(255, 210, 140, 0.12) 0%,
        rgba(255, 210, 140, 0)    70%);
    mix-blend-mode: screen;
    animation: cardAliveTwinkle 2.8s ease-in-out infinite;
  }
  @keyframes cardAliveTwinkle {
    0%, 100% { opacity: 0.55; transform: translate3d(0, 0, 0); }
    30%      { opacity: 1.00; }
    60%      { opacity: 0.50; transform: translate3d(0.3%, 0, 0); }
    85%      { opacity: 0.92; transform: translate3d(-0.3%, 0, 0); }
  }

  /* Ken-Burns für Kneipentour sanfter — Cockpit-Perspektive verträgt weniger Pan */
  .card-alive-kneipentour .card-photo {
    animation-duration: 22s;
  }
  @keyframes cardAliveKenBurnsKneipe {
    0%   { transform: scale(1.00) translate3d(0, 0, 0); }
    100% { transform: scale(1.04)  translate3d(0, -0.6%, 0); }
  }
  .card-alive-kneipentour .card-photo {
    animation-name: cardAliveKenBurnsKneipe;
  }
}
