/* ==================================================================
   Der Zirkel — design system
   Midnight blue-black canvas, champagne-gold hairlines, ivory type.
   Display: Fraunces · UI/body: Outfit
   ================================================================== */

:root {
  --bg: #0a0c12;
  --bg-2: #0e1119;
  --panel: rgba(255, 255, 255, 0.035);
  --panel-strong: rgba(255, 255, 255, 0.06);
  --line: rgba(214, 196, 158, 0.12);
  --line-strong: rgba(214, 196, 158, 0.28);
  --text: #ece8de;
  --muted: #94908a;
  --faint: #6b6862;
  --gold: #c6a468;
  --gold-2: #e9d3a3;
  --green: #86b491;
  --red: #cf7f6e;
  --mid-tone: #a79e85;
  --shadow: 0 1px 2px rgba(0, 0, 0, 0.4), 0 24px 60px rgba(0, 0, 0, 0.45);
  --radius: 18px;
  --radius-small: 11px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --font-display: "Fraunces", Georgia, "Times New Roman", serif;
  --font-body: "Outfit", -apple-system, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

html, body {
  margin: 0;
  min-height: 100%;
}

body {
  background:
    radial-gradient(ellipse 90% 60% at 50% -20%, #10131d 0%, transparent 60%),
    linear-gradient(180deg, #0b0e15 0%, #090b11 55%, #0a0c12 100%);
  background-attachment: fixed;
  color: var(--text);
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

/* fine film grain for a tactile, premium surface */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

::selection { background: rgba(198, 164, 104, 0.32); }

/* Ambient gold aura – slowly breathing and drifting */
.aura {
  position: fixed;
  inset: -6%;
  pointer-events: none;
  z-index: 0;
  background:
    radial-gradient(ellipse 62% 40% at 50% -6%, rgba(198, 164, 104, 0.16), transparent 62%),
    radial-gradient(ellipse 34% 26% at 12% 30%, rgba(198, 164, 104, 0.05), transparent 60%),
    radial-gradient(ellipse 45% 32% at 88% 106%, rgba(120, 132, 168, 0.09), transparent 60%),
    radial-gradient(ellipse 26% 20% at 78% 14%, rgba(233, 211, 163, 0.05), transparent 65%);
  animation: auraDrift 26s ease-in-out infinite alternate;
  will-change: transform;
}
@keyframes auraDrift {
  from { transform: translate3d(-1.5%, -1%, 0) scale(1); }
  to { transform: translate3d(1.5%, 1.2%, 0) scale(1.05); }
}

/* floating gold dust */
.aura::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 3px; height: 3px;
  border-radius: 50%;
  background: transparent;
  box-shadow:
    18vw 22vh 0 0 rgba(233, 211, 163, 0.35),
    72vw 12vh 0 -1px rgba(233, 211, 163, 0.28),
    85vw 55vh 0 0 rgba(198, 164, 104, 0.22),
    32vw 68vh 0 -1px rgba(233, 211, 163, 0.2),
    55vw 34vh 0 -1px rgba(233, 211, 163, 0.26),
    8vw 78vh 0 0 rgba(198, 164, 104, 0.18);
  animation: dustFloat 18s ease-in-out infinite alternate;
}
@keyframes dustFloat {
  from { transform: translateY(0); opacity: 0.7; }
  to { transform: translateY(-26px); opacity: 1; }
}

/* ------------------------------------------------------------------
   The seal — signature element (two interlocking circles = two members)
   ------------------------------------------------------------------ */

.seal circle {
  fill: none;
  stroke-width: 2.5;
  vector-effect: non-scaling-stroke;
}
.seal circle:first-child { stroke: var(--gold); }
.seal circle:last-child { stroke: var(--gold-2); opacity: 0.85; }

.seal-small { width: 26px; height: 26px; }
.seal-hero { width: 76px; height: 76px; }

.seal-boot { width: 64px; height: 64px; }
.seal-boot circle {
  stroke-dasharray: 101;
  stroke-dashoffset: 101;
  animation: sealDraw 1.4s var(--ease) infinite alternate;
}
.seal-boot circle:last-child { animation-delay: 0.18s; }

@keyframes sealDraw {
  to { stroke-dashoffset: 0; }
}

.boot {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  background: var(--bg);
  transition: opacity 0.5s var(--ease), visibility 0.5s;
}
.boot.gone { opacity: 0; visibility: hidden; }

/* ------------------------------------------------------------------
   Layout chrome
   ------------------------------------------------------------------ */

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  gap: 22px;
  padding: 14px clamp(18px, 4vw, 44px);
  background: rgba(10, 12, 18, 0.62);
  backdrop-filter: blur(20px) saturate(1.4);
  -webkit-backdrop-filter: blur(20px) saturate(1.4);
  border-bottom: none;
  animation: fadeDown 0.6s var(--ease) both;
}
.topbar::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent 4%, rgba(198, 164, 104, 0.45) 50%, transparent 96%);
}

@keyframes fadeDown {
  from { opacity: 0; transform: translateY(-10px); }
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--text);
}
.brand-name {
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 500;
  letter-spacing: 0.06em;
  background: linear-gradient(120deg, var(--text) 40%, var(--gold-2));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.topnav {
  display: flex;
  gap: 4px;
  margin-left: auto;
}
.topnav a {
  color: var(--muted);
  text-decoration: none;
  font-size: 14px;
  font-weight: 400;
  letter-spacing: 0.04em;
  padding: 7px 13px;
  border-radius: 999px;
  transition: color 0.25s, background 0.25s;
}
.topnav a:hover { color: var(--text); background: var(--panel); }
.topnav a.active { color: var(--gold-2); background: rgba(198, 164, 104, 0.1); }

.view {
  position: relative;
  z-index: 1;
  flex: 1;
  width: 100%;
  max-width: 1040px;
  margin: 0 auto;
  padding: clamp(28px, 5vw, 64px) clamp(18px, 4vw, 44px) 80px;
  outline: none;
}

/* Page transition – orchestrated cascade */
.page {
  animation: pageIn 0.55s var(--ease) both;
}
.page > * { animation: rise 0.7s var(--ease) both; }
.page > *:nth-child(2) { animation-delay: 0.07s; }
.page > *:nth-child(3) { animation-delay: 0.14s; }
.page > *:nth-child(4) { animation-delay: 0.21s; }
.page > *:nth-child(n+5) { animation-delay: 0.28s; }
@keyframes rise {
  from { opacity: 0; transform: translateY(18px) scale(0.995); }
}
@keyframes pageIn {
  from { opacity: 0; transform: translateY(16px); }
}
.page.leaving {
  animation: pageOut 0.22s ease both;
}
@keyframes pageOut {
  to { opacity: 0; transform: translateY(-10px); }
}

.footer {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: center;
  gap: 10px;
  padding: 26px 20px 34px;
  color: var(--faint);
  font-size: 12.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

/* ------------------------------------------------------------------
   Typography
   ------------------------------------------------------------------ */

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 500;
  letter-spacing: 0.01em;
  margin: 0;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 18px;
}
.eyebrow::before,
.eyebrow.centered::after {
  content: "";
  width: 26px;
  height: 1px;
  background: var(--line-strong);
}

.lead {
  color: var(--muted);
  font-size: 17px;
  max-width: 52ch;
}

/* ------------------------------------------------------------------
   Panels (glass)
   ------------------------------------------------------------------ */

.panel {
  position: relative;
  background: linear-gradient(160deg, var(--panel-strong), var(--panel));
  border: 1px solid transparent;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  padding: clamp(22px, 3.5vw, 34px);
  transition: transform 0.35s var(--ease), box-shadow 0.35s;
}
/* gradient gold hairline running around each panel */
.panel::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(160deg,
    rgba(233, 211, 163, 0.34), rgba(214, 196, 158, 0.1) 28%,
    rgba(214, 196, 158, 0.07) 68%, rgba(233, 211, 163, 0.18));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  mask-composite: exclude;
  pointer-events: none;
}
.panel:hover {
  transform: translateY(-2px);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.4), 0 30px 70px rgba(0, 0, 0, 0.5),
    0 0 40px rgba(198, 164, 104, 0.06);
}

.panel + .panel { margin-top: 22px; }

/* Gold spotlight that follows the pointer over panels and cards */
.panel, .auftrag { --mx: 50%; --my: 40%; }
.auftrag { position: relative; }
.panel::after, .auftrag::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  background: radial-gradient(360px circle at var(--mx) var(--my),
    rgba(233, 211, 163, 0.075), transparent 62%);
  opacity: 0;
  transition: opacity 0.4s var(--ease);
}
.panel:hover::after, .auftrag:hover::after { opacity: 1; }

/* ------------------------------------------------------------------
   Forms
   ------------------------------------------------------------------ */

.field { margin-bottom: 20px; }

.field label {
  display: block;
  font-size: 12.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 8px;
}

.field input {
  width: 100%;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--line);
  border-radius: var(--radius-small);
  color: var(--text);
  font: inherit;
  font-weight: 300;
  padding: 13px 15px;
  outline: none;
  transition: border-color 0.25s, background 0.25s, box-shadow 0.25s;
}
.field input::placeholder { color: var(--faint); }
.field input:hover { border-color: var(--line-strong); }
.field input:focus {
  border-color: var(--gold);
  background: rgba(255, 255, 255, 0.055);
  box-shadow: 0 0 0 3px rgba(198, 164, 104, 0.14);
}

.field .hint {
  margin-top: 7px;
  font-size: 13px;
  color: var(--faint);
}

.field select {
  width: 100%;
  appearance: none;
  -webkit-appearance: none;
  background: rgba(255, 255, 255, 0.04)
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23c6a468' stroke-width='1.6'/%3E%3C/svg%3E")
    no-repeat right 15px center;
  border: 1px solid var(--line);
  border-radius: var(--radius-small);
  color: var(--text);
  font: inherit;
  font-weight: 300;
  padding: 13px 40px 13px 15px;
  outline: none;
  cursor: pointer;
  transition: border-color 0.25s, background-color 0.25s, box-shadow 0.25s;
}
.field select:hover { border-color: var(--line-strong); }
.field select:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(198, 164, 104, 0.14);
}
.field select option { background: #14181f; color: var(--text); }

/* 50 € price stepper */
.stepper {
  display: flex;
  align-items: stretch;
  border: 1px solid var(--line);
  border-radius: var(--radius-small);
  background: rgba(255, 255, 255, 0.04);
  overflow: hidden;
  transition: border-color 0.25s, box-shadow 0.25s;
}
.stepper:focus-within {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(198, 164, 104, 0.14);
}
.stepper input {
  flex: 1;
  min-width: 0;
  border: none;
  background: transparent;
  color: var(--text);
  font: inherit;
  font-weight: 400;
  font-variant-numeric: tabular-nums;
  text-align: center;
  padding: 13px 4px;
  outline: none;
  appearance: textfield;
}
.stepper input::-webkit-inner-spin-button,
.stepper input::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }
.stepper input::placeholder { color: var(--faint); }
.stepper-unit {
  align-self: center;
  color: var(--gold);
  font-size: 14px;
  padding-right: 6px;
}
.step-btn {
  border: none;
  background: rgba(198, 164, 104, 0.08);
  color: var(--gold-2);
  font-size: 19px;
  font-weight: 400;
  width: 52px;
  cursor: pointer;
  transition: background 0.2s, transform 0.15s var(--ease);
  user-select: none;
}
.step-btn:first-child { border-right: 1px solid var(--line); }
.step-btn:last-child { border-left: 1px solid var(--line); }
.step-btn:hover { background: rgba(198, 164, 104, 0.18); }
.step-btn:active { transform: scale(0.92); }

/* gold scrollbar */
::-webkit-scrollbar { width: 11px; height: 11px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb {
  background: rgba(198, 164, 104, 0.22);
  border-radius: 8px;
  border: 3px solid #0a0c12;
}
::-webkit-scrollbar-thumb:hover { background: rgba(198, 164, 104, 0.4); }

.checkbox {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14.5px;
  color: var(--muted);
  cursor: pointer;
  user-select: none;
}
.checkbox input {
  appearance: none;
  width: 19px;
  height: 19px;
  margin: 0;
  border: 1.5px solid var(--line-strong);
  border-radius: 6px;
  background: transparent;
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: background 0.2s, border-color 0.2s, transform 0.2s var(--ease);
}
.checkbox input:checked {
  background: linear-gradient(135deg, var(--gold-2), var(--gold));
  border-color: var(--gold);
  transform: scale(1.05);
}
.checkbox input:checked::after {
  content: "";
  width: 5px;
  height: 9px;
  border: solid #14110a;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg) translateY(-1px);
}

.form-error {
  display: none;
  margin: 0 0 18px;
  padding: 12px 15px;
  border-radius: var(--radius-small);
  border: 1px solid rgba(207, 127, 110, 0.4);
  background: rgba(207, 127, 110, 0.09);
  color: #e8b3a7;
  font-size: 14.5px;
}
.form-error.show { display: block; animation: pageIn 0.35s var(--ease); }

/* ------------------------------------------------------------------
   Buttons
   ------------------------------------------------------------------ */

.btn {
  --btn-bg: linear-gradient(135deg, var(--gold-2), var(--gold) 55%, #a9884f);
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: none;
  border-radius: 999px;
  padding: 13px 26px;
  font-family: var(--font-body);
  font-size: 14.5px;
  font-weight: 500;
  letter-spacing: 0.05em;
  color: #17130a;
  background: var(--btn-bg);
  cursor: pointer;
  overflow: hidden;
  transition: transform 0.2s var(--ease), box-shadow 0.25s, opacity 0.2s;
}
.btn:hover {
  transform: translateY(-1.5px);
  box-shadow: 0 10px 34px rgba(198, 164, 104, 0.38), 0 2px 8px rgba(0, 0, 0, 0.3);
}
.btn {
  box-shadow: 0 4px 18px rgba(198, 164, 104, 0.16);
}
.btn:active { transform: translateY(0) scale(0.98); }
.btn:disabled { opacity: 0.55; cursor: default; transform: none; box-shadow: none; }

/* sheen sweep on hover */
.btn::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg, transparent 30%, rgba(255, 255, 255, 0.45) 50%, transparent 70%);
  transform: translateX(-120%);
  transition: transform 0.7s var(--ease);
  pointer-events: none;
}
.btn:hover::after { transform: translateX(120%); }

.btn-ghost {
  background: transparent;
  border: 1px solid var(--line-strong);
  color: var(--text);
  box-shadow: none;
}
.btn-ghost:hover { box-shadow: none; background: var(--panel-strong); }
.btn-ghost::after { display: none; }

.btn-danger {
  background: linear-gradient(135deg, #e0937f, var(--red) 60%, #a95c4d);
  color: #1c0f0a;
}
.btn-danger:hover { box-shadow: 0 10px 30px rgba(207, 127, 110, 0.25); }

.btn-small { padding: 8px 16px; font-size: 13.5px; }
.btn-block { width: 100%; }

/* button spinner while busy */
.btn.busy { color: transparent; pointer-events: none; }
.btn.busy::before {
  content: "";
  position: absolute;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 2px solid rgba(23, 19, 10, 0.3);
  border-top-color: #17130a;
  animation: spin 0.7s linear infinite;
}
.btn-ghost.busy::before { border-color: rgba(236, 232, 222, 0.3); border-top-color: var(--text); }

@keyframes spin { to { transform: rotate(360deg); } }

.linklike {
  background: none;
  border: none;
  padding: 0;
  font: inherit;
  font-size: 14px;
  color: var(--gold);
  cursor: pointer;
  text-decoration: none;
  transition: color 0.2s;
}
a.linklike { color: var(--gold); }
.linklike:hover { color: var(--gold-2); text-decoration: underline; text-underline-offset: 3px; }

/* ------------------------------------------------------------------
   Landing
   ------------------------------------------------------------------ */

.hero {
  min-height: 58vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding-top: 4vh;
}

.hero .seal-hero {
  margin-bottom: 30px;
  animation: sealFloat 6s ease-in-out infinite;
}
@keyframes sealFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-7px); }
}

.hero h1 {
  font-size: clamp(42px, 7vw, 74px);
  line-height: 1.05;
  font-weight: 500;
  letter-spacing: 0.005em;
  background: linear-gradient(160deg, var(--text) 55%, var(--gold-2));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-bottom: 20px;
}

.hero .lead { margin: 0 auto 38px; }

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  justify-content: center;
}

.availability {
  margin-top: 46px;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 10px 20px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--panel);
  font-size: 13.5px;
  letter-spacing: 0.06em;
  color: var(--muted);
}
.availability .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 10px var(--green);
  animation: pulse 2.4s ease-in-out infinite;
}
.availability.full .dot { background: var(--red); box-shadow: 0 0 10px var(--red); }
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.45; }
}

/* seat indicator: I / II */
.seats {
  display: inline-flex;
  gap: 7px;
}
.seat {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  border: 1px solid var(--line-strong);
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-size: 12px;
  color: var(--faint);
  transition: all 0.4s var(--ease);
}
.seat.taken {
  border-color: var(--gold);
  color: var(--gold-2);
  background: rgba(198, 164, 104, 0.1);
}

/* ------------------------------------------------------------------
   Auth card
   ------------------------------------------------------------------ */

.auth-wrap {
  max-width: 440px;
  margin: 0 auto;
}
.auth-wrap .panel { animation: pageIn 0.6s var(--ease) both 0.05s; }

.auth-head {
  text-align: center;
  margin-bottom: 30px;
}
.auth-head h1 { font-size: 32px; margin-bottom: 8px; }
.auth-head p { color: var(--muted); margin: 0; font-size: 15px; }

.auth-alt {
  text-align: center;
  margin-top: 24px;
  font-size: 14.5px;
  color: var(--muted);
}

.form-row-between {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 22px;
  flex-wrap: wrap;
}

/* membership full state */
.full-card {
  text-align: center;
  padding: clamp(34px, 5vw, 54px);
}
.full-card .seal-hero { margin-bottom: 22px; }
.full-card .seal-hero circle { stroke: var(--faint); }
.full-card h1 { font-size: 30px; margin-bottom: 14px; }
.full-card p { color: var(--muted); max-width: 44ch; margin: 0 auto 26px; }

/* ------------------------------------------------------------------
   Dashboard
   ------------------------------------------------------------------ */

.dash-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
  margin-bottom: 28px;
}
.dash-head h1 {
  font-size: clamp(30px, 4.5vw, 42px);
  background: linear-gradient(155deg, var(--text) 60%, var(--gold-2));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.dash-sub { color: var(--muted); margin-top: 6px; font-size: 15px; }

.members-chip {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 9px 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--panel);
  font-size: 13.5px;
  color: var(--muted);
}

.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-bottom: 22px;
}
.stat-card {
  padding: 20px 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.stat-num {
  font-family: var(--font-display);
  font-size: 34px;
  font-weight: 500;
  color: var(--text);
  font-variant-numeric: tabular-nums;
  line-height: 1.1;
}
.stat-card.gold .stat-num { color: var(--gold-2); }
.stat-label {
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--faint);
  margin-top: 5px;
}

.progress {
  height: 5px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.07);
  overflow: hidden;
  margin-bottom: 26px;
}
.progress-fill {
  height: 100%;
  width: 0%;
  border-radius: 4px;
  background: linear-gradient(90deg, var(--gold), var(--gold-2), var(--gold));
  background-size: 200% 100%;
  transition: width 0.8s var(--ease);
  animation: shimmer 3s linear infinite;
}
@keyframes shimmer {
  to { background-position: 200% 0; }
}

.task-form {
  display: flex;
  gap: 10px;
  margin-bottom: 8px;
}
.task-form input {
  flex: 1;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--line);
  border-radius: var(--radius-small);
  color: var(--text);
  font: inherit;
  font-weight: 300;
  padding: 13px 15px;
  outline: none;
  transition: border-color 0.25s, box-shadow 0.25s;
}
.task-form input:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(198, 164, 104, 0.14);
}

.task-list { list-style: none; margin: 14px 0 0; padding: 0; }

.task {
  padding: 16px 4px;
  border-bottom: 1px solid var(--line);
  animation: taskIn 0.45s var(--ease) both;
}
.task:last-child { border-bottom: none; }
@keyframes taskIn {
  from { opacity: 0; transform: translateX(-10px); }
}

.task-row {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.check {
  width: 23px;
  height: 23px;
  flex-shrink: 0;
  margin-top: 1px;
  border: 1.5px solid var(--line-strong);
  border-radius: 50%;
  background: none;
  cursor: pointer;
  position: relative;
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), background 0.25s, border-color 0.25s;
}
.check:hover { border-color: var(--gold); }
.check:active { transform: scale(0.85); }
.check.done {
  background: linear-gradient(135deg, var(--gold-2), var(--gold));
  border-color: var(--gold);
}
.check.done::after {
  content: "";
  position: absolute;
  left: 7px;
  top: 3px;
  width: 5px;
  height: 10px;
  border: solid #17130a;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.task-main { flex: 1; min-width: 0; }

.task-text {
  font-size: 16px;
  line-height: 1.45;
  word-break: break-word;
  transition: color 0.3s, opacity 0.3s;
}
.task.is-done .task-text {
  color: var(--faint);
  text-decoration: line-through;
  text-decoration-color: rgba(198, 164, 104, 0.5);
}

.task-meta {
  margin-top: 4px;
  font-size: 12.5px;
  color: var(--faint);
  display: flex;
  gap: 10px;
  align-items: center;
  flex-wrap: wrap;
}

.icon-btn {
  background: none;
  border: none;
  color: var(--faint);
  cursor: pointer;
  font-size: 15px;
  line-height: 1;
  padding: 6px;
  border-radius: 8px;
  transition: color 0.2s, background 0.2s, transform 0.2s;
}
.icon-btn:hover { color: var(--text); background: var(--panel-strong); }
.icon-btn.danger:hover { color: var(--red); }

.idea-toggle {
  background: none;
  border: none;
  padding: 0;
  font: inherit;
  font-size: 12.5px;
  color: var(--gold);
  cursor: pointer;
  letter-spacing: 0.04em;
}
.idea-toggle:hover { color: var(--gold-2); }

/* ideas */
.ideas {
  margin: 14px 0 4px 37px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius-small);
  background: rgba(255, 255, 255, 0.025);
  animation: pageIn 0.4s var(--ease);
}

.idea {
  display: flex;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid rgba(214, 196, 158, 0.07);
}
.idea:first-child { padding-top: 0; }
.idea:last-of-type { border-bottom: none; }

.avatar {
  width: 32px;
  height: 32px;
  flex-shrink: 0;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 12px;
  font-weight: 500;
  color: #17130a;
  background: linear-gradient(135deg, var(--gold-2), var(--gold));
}
.avatar.seat-2 { background: linear-gradient(135deg, #cfd6e6, #98a4c0); }

.idea-body { flex: 1; min-width: 0; }
.idea-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 8px;
}
.idea-name { font-size: 13px; font-weight: 500; color: var(--muted); letter-spacing: 0.03em; }
.idea-text { font-size: 15px; margin-top: 2px; word-break: break-word; }

.vote-row { display: flex; gap: 8px; margin-top: 9px; }
.vote-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  font: inherit;
  font-size: 13px;
  padding: 4px 12px;
  cursor: pointer;
  transition: all 0.2s var(--ease);
}
.vote-btn:hover { border-color: var(--line-strong); transform: translateY(-1px); }
.vote-btn.active { border-color: var(--gold); color: var(--gold-2); background: rgba(198, 164, 104, 0.1); }
.vote-btn span { font-variant-numeric: tabular-nums; }

.vote-names {
  margin-top: 7px;
  font-size: 12px;
  color: var(--faint);
}

.idea-form { display: flex; gap: 8px; margin-top: 14px; }
.idea-form input {
  flex: 1;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--line);
  border-radius: 9px;
  color: var(--text);
  font: inherit;
  font-size: 14.5px;
  padding: 9px 12px;
  outline: none;
  transition: border-color 0.25s;
}
.idea-form input:focus { border-color: var(--gold); }

.empty {
  text-align: center;
  padding: 44px 20px;
  color: var(--faint);
}
.empty .seal-hero { opacity: 0.35; margin-bottom: 14px; }
.empty p { margin: 0; font-size: 15px; }

/* skeleton loading */
.skeleton {
  border-radius: var(--radius-small);
  background: linear-gradient(90deg, rgba(255,255,255,0.04) 25%, rgba(255,255,255,0.09) 50%, rgba(255,255,255,0.04) 75%);
  background-size: 200% 100%;
  animation: skel 1.3s linear infinite;
}
@keyframes skel { to { background-position: -200% 0; } }

/* ------------------------------------------------------------------
   Aufträge
   ------------------------------------------------------------------ */

.field textarea {
  width: 100%;
  resize: vertical;
  min-height: 110px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--line);
  border-radius: var(--radius-small);
  color: var(--text);
  font: inherit;
  font-weight: 300;
  line-height: 1.55;
  padding: 13px 15px;
  outline: none;
  transition: border-color 0.25s, background 0.25s, box-shadow 0.25s;
}
.field textarea::placeholder { color: var(--faint); }
.field textarea:hover { border-color: var(--line-strong); }
.field textarea:focus {
  border-color: var(--gold);
  background: rgba(255, 255, 255, 0.055);
  box-shadow: 0 0 0 3px rgba(198, 164, 104, 0.14);
}

.field-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 16px;
}
@media (max-width: 560px) {
  .field-grid { grid-template-columns: 1fr; }
}

/* file drop zone */
.file-drop {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 15px 17px;
  border: 1.5px dashed var(--line-strong);
  border-radius: var(--radius-small);
  background: rgba(255, 255, 255, 0.025);
  color: var(--muted);
  cursor: pointer;
  transition: border-color 0.25s, background 0.25s, transform 0.2s var(--ease);
}
.file-drop:hover { border-color: var(--gold); background: rgba(198, 164, 104, 0.05); }
.file-drop.drag {
  border-color: var(--gold-2);
  background: rgba(198, 164, 104, 0.1);
  transform: scale(1.008);
}
.file-drop.has-file {
  border-style: solid;
  border-color: var(--gold);
  color: var(--text);
}
.file-drop .file-icon {
  font-size: 17px;
  color: var(--gold);
}
.file-drop .file-name {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 14.5px;
}
.sr-file {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  overflow: hidden;
}

/* segmented status control */
.segmented {
  display: inline-flex;
  padding: 4px;
  gap: 4px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.03);
}
.seg-btn {
  border: none;
  background: transparent;
  color: var(--muted);
  font: inherit;
  font-size: 14px;
  font-weight: 400;
  letter-spacing: 0.03em;
  padding: 8px 18px;
  border-radius: 999px;
  cursor: pointer;
  transition: color 0.25s, background 0.3s var(--ease), transform 0.2s;
}
.seg-btn:hover { color: var(--text); }
.seg-btn.active {
  background: linear-gradient(135deg, var(--gold-2), var(--gold));
  color: #17130a;
  font-weight: 500;
}

/* auftrag cards */
.auftrag {
  padding: 18px 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius-small);
  background: rgba(255, 255, 255, 0.025);
  margin-bottom: 12px;
  animation: taskIn 0.45s var(--ease) both;
  transition: border-color 0.25s, transform 0.25s var(--ease);
}
.auftrag:hover {
  border-color: rgba(198, 164, 104, 0.35);
  transform: translateY(-2px);
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.35), 0 0 26px rgba(198, 164, 104, 0.05);
}
.auftrag:last-child { margin-bottom: 0; }
.auftrag.is-done { opacity: 0.72; }

.auftrag-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 14px;
  flex-wrap: wrap;
}
.auftrag-title h3 {
  font-size: 18px;
  margin: 0 0 3px;
}
.auftrag.is-done .auftrag-title h3 {
  text-decoration: line-through;
  text-decoration-color: rgba(198, 164, 104, 0.5);
  color: var(--muted);
}
.auftrag-loc {
  font-size: 13.5px;
  color: var(--muted);
}
.auftrag-actions {
  display: flex;
  align-items: center;
  gap: 6px;
}
.auftrag-notes {
  margin: 12px 0 0;
  font-size: 14.5px;
  color: var(--muted);
  white-space: pre-wrap;
  word-break: break-word;
}
.auftrag .task-meta { margin-top: 12px; }

.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.03);
  color: var(--muted);
  font: inherit;
  font-size: 13px;
  letter-spacing: 0.04em;
  padding: 6px 14px;
  cursor: pointer;
  transition: all 0.25s var(--ease);
}
.status-pill:hover { transform: translateY(-1px); border-color: var(--gold); }
.status-pill .pill-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 8px var(--gold);
  animation: pulse 2.4s ease-in-out infinite;
}
.status-pill.done {
  border-color: rgba(134, 180, 145, 0.5);
  color: var(--green);
  background: rgba(134, 180, 145, 0.07);
}
.status-pill.done .pill-dot {
  background: var(--green);
  box-shadow: 0 0 8px var(--green);
  animation: none;
}

.attachment-link {
  color: var(--gold);
  text-decoration: none;
  font-size: 13px;
  transition: color 0.2s;
  word-break: break-all;
}
.attachment-link:hover { color: var(--gold-2); text-decoration: underline; text-underline-offset: 3px; }
.att-size { color: var(--faint); }

/* time clock ("Stempeluhr") */
.stempel-row {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid rgba(214, 196, 158, 0.07);
}

.btn-stop {
  background: linear-gradient(135deg, #e0937f, var(--red) 60%, #a95c4d);
  color: #1c0f0a;
}
.btn-stop:hover { box-shadow: 0 10px 30px rgba(207, 127, 110, 0.25); }

.timer-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  font-size: 13px;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.03);
}
.timer-chip.running {
  border-color: rgba(198, 164, 104, 0.55);
  color: var(--gold-2);
  background: rgba(198, 164, 104, 0.08);
}
.timer-chip.other { color: var(--muted); }
.live-timer {
  font-variant-numeric: tabular-nums;
  font-weight: 500;
  letter-spacing: 0.04em;
}

.total-chip {
  font-size: 13px;
  color: var(--muted);
  font-variant-numeric: tabular-nums;
}

.completed-note {
  margin: 12px 0 0;
  font-size: 13.5px;
  color: var(--green);
}

/* price / model chips */
.deal-row {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 12px;
}
.deal-chip {
  display: inline-flex;
  align-items: center;
  padding: 5px 13px;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  background: rgba(255, 255, 255, 0.03);
  font-size: 13px;
  color: var(--muted);
  letter-spacing: 0.03em;
}
.deal-chip.price {
  border-color: rgba(198, 164, 104, 0.55);
  color: var(--gold-2);
  background: rgba(198, 164, 104, 0.08);
  font-variant-numeric: tabular-nums;
  font-weight: 500;
}

.infos-block {
  margin: 12px 0 0;
  font-size: 13.5px;
  color: var(--muted);
  white-space: pre-wrap;
  word-break: break-word;
  padding: 10px 14px;
  border-left: 2px solid var(--line-strong);
  background: rgba(255, 255, 255, 0.02);
  border-radius: 0 var(--radius-small) var(--radius-small) 0;
}
.infos-label {
  color: var(--gold);
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.session-log {
  margin-top: 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius-small);
  background: rgba(255, 255, 255, 0.02);
  padding: 6px 14px;
  animation: pageIn 0.35s var(--ease);
}
.session-entry {
  display: flex;
  align-items: baseline;
  gap: 14px;
  padding: 9px 0;
  border-bottom: 1px solid rgba(214, 196, 158, 0.06);
  font-size: 13.5px;
}
.session-entry:last-child { border-bottom: none; }
.session-entry.running .session-dur { color: var(--gold-2); }
.session-user { font-weight: 500; color: var(--text); min-width: 70px; }
.session-when { color: var(--muted); flex: 1; }
.session-dur { color: var(--muted); font-variant-numeric: tabular-nums; white-space: nowrap; }

@media (max-width: 460px) {
  .session-entry { flex-wrap: wrap; gap: 4px 14px; }
}

/* ------------------------------------------------------------------
   Profile — membership card
   ------------------------------------------------------------------ */

.member-card {
  position: relative;
  max-width: 460px;
  margin: 34px auto 26px;
  aspect-ratio: 1.62;
  border-radius: 22px;
  border: 1px solid var(--line-strong);
  background:
    radial-gradient(120% 160% at 8% 0%, rgba(198, 164, 104, 0.16), transparent 55%),
    linear-gradient(155deg, #171b26, #0d1017 65%);
  box-shadow: var(--shadow);
  padding: 26px 30px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
  transition: transform 0.4s var(--ease), box-shadow 0.4s;
}
.member-card:hover {
  transform: translateY(-4px) rotate(-0.4deg);
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.55);
}
.member-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg, transparent 42%, rgba(233, 211, 163, 0.07) 50%, transparent 58%);
  transform: translateX(-130%);
  transition: transform 1.1s var(--ease);
  pointer-events: none;
}
.member-card:hover::after { transform: translateX(130%); }

.card-top { display: flex; justify-content: space-between; align-items: flex-start; }
.card-brand {
  font-family: var(--font-display);
  letter-spacing: 0.18em;
  font-size: 13px;
  text-transform: uppercase;
  color: var(--gold-2);
}
.card-no {
  font-family: var(--font-display);
  font-size: 30px;
  color: var(--gold);
}
.card-name {
  font-family: var(--font-display);
  font-size: clamp(22px, 4vw, 28px);
  letter-spacing: 0.03em;
}
.card-bottom {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  color: var(--faint);
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.profile-facts {
  max-width: 460px;
  margin: 0 auto;
}
.fact-row {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 13px 2px;
  border-bottom: 1px solid var(--line);
  font-size: 14.5px;
}
.fact-row:last-child { border-bottom: none; }
.fact-row dt { color: var(--muted); margin: 0; }
.fact-row dd { margin: 0; text-align: right; word-break: break-word; }

/* ------------------------------------------------------------------
   Settings
   ------------------------------------------------------------------ */

.settings-wrap { max-width: 560px; margin: 0 auto; }
.settings-wrap h1 { font-size: 34px; margin-bottom: 26px; }
.panel h2 { font-size: 20px; margin-bottom: 18px; }
.panel .panel-desc { color: var(--muted); font-size: 14.5px; margin: -8px 0 20px; }

.danger-zone { border-color: rgba(207, 127, 110, 0.3); }

/* ------------------------------------------------------------------
   Toasts
   ------------------------------------------------------------------ */

.toasts {
  position: fixed;
  bottom: 26px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 60;
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: center;
  pointer-events: none;
  width: min(92vw, 480px);
}

.toast {
  pointer-events: auto;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 13px 20px;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  background: rgba(18, 21, 30, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: var(--shadow);
  font-size: 14.5px;
  animation: toastIn 0.45s cubic-bezier(0.34, 1.4, 0.64, 1) both;
  max-width: 100%;
}
.toast.out { animation: toastOut 0.35s ease both; }
.toast .t-dot {
  width: 8px;
  height: 8px;
  flex-shrink: 0;
  border-radius: 50%;
  background: var(--gold);
}
.toast.error .t-dot { background: var(--red); }
.toast.success .t-dot { background: var(--green); }

@keyframes toastIn {
  from { opacity: 0; transform: translateY(18px) scale(0.96); }
}
@keyframes toastOut {
  to { opacity: 0; transform: translateY(10px) scale(0.97); }
}

/* ------------------------------------------------------------------
   Dialog
   ------------------------------------------------------------------ */

.dialog {
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background: linear-gradient(160deg, #161a24, #0e1119);
  color: var(--text);
  padding: 30px;
  max-width: 400px;
  width: calc(100vw - 40px);
  box-shadow: var(--shadow);
}
.dialog::backdrop {
  background: rgba(6, 7, 11, 0.7);
  backdrop-filter: blur(6px);
}
.dialog[open] { animation: pageIn 0.35s var(--ease); }
.dialog h2 { font-size: 21px; margin-bottom: 10px; }
.dialog p { color: var(--muted); font-size: 15px; margin: 0 0 24px; }
.dialog-actions { display: flex; justify-content: flex-end; gap: 10px; }

/* ------------------------------------------------------------------
   Accessibility & responsiveness
   ------------------------------------------------------------------ */

:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
  border-radius: 6px;
}

@media (max-width: 720px) {
  .stats { grid-template-columns: 1fr; }
  .topnav a { padding: 7px 10px; font-size: 13.5px; }
  .brand-name { display: none; }
  .ideas { margin-left: 0; }
  .hero { min-height: 48vh; }
  .dash-head { align-items: flex-start; flex-direction: column; }
}

@media (max-width: 460px) {
  .task-form { flex-direction: column; }
  .hero-actions .btn { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  html { scroll-behavior: auto; }
}

/* ------------------------------------------------------------------
   V8 – Bestätigungen, Bewertungen, Rangliste
   ------------------------------------------------------------------ */
.status-pill { cursor: default; }
.status-pill.waiting { border-color: rgba(198,164,104,.55); color: var(--gold-2); background: rgba(198,164,104,.08); }
.confirm-row { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-top: 14px; }
.confirm-chip { display: inline-flex; align-items: center; gap: 6px; padding: 5px 13px; border-radius: 999px; border: 1px solid rgba(134,180,145,.45); background: rgba(134,180,145,.07); color: var(--green); font-size: 13px; }
.stars { color: var(--gold-2); letter-spacing: 2px; font-size: 15px; }
.stars .off { color: rgba(214,196,158,.22); }
.star-input { display: flex; gap: 4px; margin-bottom: 12px; }
.star-btn { background: none; border: none; font-size: 26px; line-height: 1; cursor: pointer; color: rgba(214,196,158,.25); transition: color .15s, transform .15s var(--ease); padding: 2px; }
.star-btn:hover { transform: scale(1.15); }
.star-btn.on { color: var(--gold-2); text-shadow: 0 0 14px rgba(233,211,163,.4); }
.review { padding: 14px 0; border-top: 1px solid rgba(214,196,158,.08); }
.review-head { display: flex; justify-content: space-between; gap: 10px; align-items: baseline; flex-wrap: wrap; margin-bottom: 4px; }
.review-name { font-weight: 500; font-size: 14px; }
.review-date { font-size: 12px; color: var(--faint); }
.review-text { font-size: 14.5px; color: var(--muted); margin: 4px 0 0; white-space: pre-wrap; word-break: break-word; }
.review-ta { width: 100%; background: rgba(255,255,255,.04); border: 1px solid var(--line); border-radius: var(--radius-small); color: var(--text); font: inherit; font-weight: 300; padding: 12px 14px; outline: none; margin-bottom: 12px; resize: vertical; transition: border-color .25s, box-shadow .25s; }
.review-ta:focus { border-color: var(--gold); box-shadow: 0 0 0 3px rgba(198,164,104,.14); }
.done-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 12px; padding: 14px 16px; border: 1px solid var(--line); border-radius: var(--radius-small); background: rgba(255,255,255,.02); }
.done-cell .k { font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--faint); }
.done-cell .v { font-size: 15px; margin-top: 3px; font-variant-numeric: tabular-nums; word-break: break-word; }
.done-cell .v.gold { color: var(--gold-2); font-weight: 500; }
.rank-card { margin-top: 22px; }
.rank-row { display: flex; align-items: center; gap: 14px; padding: 13px 6px; border-top: 1px solid rgba(214,196,158,.08); }
.rank-row:first-of-type { border-top: none; }
.rank-pos { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; font-family: var(--font-display); font-size: 15px; border: 1px solid var(--line-strong); color: var(--muted); flex-shrink: 0; }
.rank-row.first .rank-pos { background: linear-gradient(135deg, var(--gold-2), var(--gold)); color: #17130a; border-color: var(--gold); box-shadow: 0 0 18px rgba(198,164,104,.35); }
.rank-name { flex: 1; }
.rank-row.first .rank-name { color: var(--gold-2); font-weight: 500; }
.rank-val { font-variant-numeric: tabular-nums; color: var(--muted); }
.rank-row.first .rank-val { color: var(--text); }
.history-row { display: flex; justify-content: space-between; gap: 12px; padding: 11px 2px; border-top: 1px solid rgba(214,196,158,.08); font-size: 14px; flex-wrap: wrap; }
.history-row:first-child { border-top: none; }
.history-row .h-meta { color: var(--faint); font-size: 13px; }
