/* ==========================================================================
   Site Hunter : thème "cité engloutie" (sombre, bleu mer, sable)
   ========================================================================== */

:root {
  --bg: #081014;
  --bg-2: #0d191e;
  --panel: #102026;
  --panel-2: #152a31;
  --line: rgba(217, 192, 140, 0.16);
  --line-strong: rgba(217, 192, 140, 0.34);

  --sand: #d9c08c;
  --sand-strong: #ecd49e;
  --gold: #c69c47;
  --sea: #2fb0b8;
  --sea-strong: #5fd2d6;
  --sea-deep: #135b64;

  --text: #ebe3d1;
  --muted: #93a3a3;
  --danger: #e0715f;
  --warn: #e3b25a;
  --ok: #58c28f;

  --ress1: var(--sand-strong);
  --ress2: var(--sea-strong);

  --radius: 10px;
  --shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
  --font-title: 'Cinzel', Georgia, serif;
  --font-body: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --gutter: clamp(16px, 4vw, 32px);
  --maxw: 1180px;

  /* Frise antique (motif en grecque) */
  --frieze: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='40' height='16' viewBox='0 0 40 16'%3E%3Cpath d='M0 15h8V5h14v6h-8V9h4' fill='none' stroke='%23d9c08c' stroke-width='1.4'/%3E%3Cpath d='M20 15h8V5h12' fill='none' stroke='%23d9c08c' stroke-width='1.4'/%3E%3C/svg%3E");
}

*,
*::before,
*::after { box-sizing: border-box; }

html { color-scheme: dark; }
[hidden] { display: none !important; }

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.55;
  color: var(--text);
  background:
    radial-gradient(1200px 600px at 85% -10%, rgba(47, 176, 184, 0.14), transparent 60%),
    radial-gradient(900px 500px at -10% 30%, rgba(198, 156, 71, 0.08), transparent 60%),
    linear-gradient(180deg, var(--bg-2), var(--bg) 40%);
  background-attachment: fixed;
}

h1, h2, h3 {
  font-family: var(--font-title);
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--sand-strong);
  margin: 0 0 0.5em;
  line-height: 1.2;
}
h1 { font-size: clamp(2rem, 5vw, 3.2rem); }
h2 { font-size: 1.25rem; }
h3 { font-size: 0.95rem; color: var(--sand); }

a { color: var(--sea-strong); text-decoration: none; }
a:hover { color: var(--sand-strong); }
img { display: block; }
code { background: var(--panel-2); padding: 0.1em 0.4em; border-radius: 4px; color: var(--sand); }

.muted { color: var(--muted); }
.text-ress1 { color: var(--ress1); }
.text-ress2 { color: var(--ress2); }
.eyebrow {
  margin: 0 0 0.6em;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--sea-strong);
}
.empty { color: var(--muted); font-style: italic; margin: 0.5em 0; }

/* Couleurs de qualité des objets WoW */
.q-poor { color: #9d9d9d; }
.q-common { color: #ffffff; }
.q-uncommon { color: #1eff00; }
.q-rare { color: #0070dd; }
.q-epic { color: #a335ee; }
.q-legendary { color: #ff8000; }

/* --------------------------------------------------------------------------
   Boutons
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  padding: 0.55em 1.1em;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: transparent;
  color: var(--sand-strong);
  font: 600 0.9rem var(--font-body);
  cursor: pointer;
  transition: background 0.15s, border-color 0.15s, color 0.15s, transform 0.1s;
}
.btn:hover { background: rgba(217, 192, 140, 0.08); border-color: var(--sand); color: var(--sand-strong); }
.btn:active { transform: translateY(1px); }
.btn--primary {
  background: linear-gradient(180deg, var(--sand-strong), var(--gold));
  border-color: transparent;
  color: #1b1408;
}
.btn--primary:hover { background: linear-gradient(180deg, #f5e0b0, var(--sand)); color: #1b1408; }
.btn--discord { background: #5865f2; border-color: transparent; color: #fff; }
.btn--discord:hover { background: #4752c4; color: #fff; border-color: transparent; }
.btn--lg { padding: 0.8em 1.6em; font-size: 1rem; }

.link-btn {
  background: none;
  border: 0;
  padding: 0;
  color: var(--muted);
  font: inherit;
  font-size: 0.8rem;
  cursor: pointer;
}
.link-btn:hover { color: var(--danger); }

/* --------------------------------------------------------------------------
   Barre de navigation
   -------------------------------------------------------------------------- */
.topbar {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(8, 16, 20, 0.85);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.topbar::after {
  content: '';
  display: block;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--sea-deep), var(--gold), var(--sea-deep), transparent);
  opacity: 0.6;
}
.topbar__inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0.7rem var(--gutter);
  display: flex;
  align-items: center;
  gap: 1.5rem;
}
.brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font: 700 1.15rem var(--font-title);
  color: var(--sand-strong);
  white-space: nowrap;
}
.brand__logo { height: 48px; width: auto; margin: -6px 0; filter: drop-shadow(0 2px 8px rgba(47, 176, 184, 0.25)); transition: transform 0.2s; }
.brand:hover .brand__logo { transform: rotate(-4deg) scale(1.05); }
.brand__full {
  font-size: 1rem;
  font-weight: 700;
  color: var(--sand-strong);
  letter-spacing: 0.04em;
}

.nav {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}
.nav__links {
  display: flex;
  gap: 0.25rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav__links a {
  display: block;
  padding: 0.45em 0.85em;
  border-radius: 6px;
  color: var(--muted);
  font-weight: 500;
  white-space: nowrap;
}
.nav__links a:hover { color: var(--text); background: rgba(255, 255, 255, 0.04); }
.nav__links a.is-active { color: var(--sand-strong); background: rgba(217, 192, 140, 0.1); }

.nav__account { display: flex; align-items: center; gap: 1rem; }

.wallet { display: flex; gap: 0.5rem; }
.coin {
  display: grid;
  grid-template-columns: auto auto;
  grid-template-rows: auto auto;
  column-gap: 0.45rem;
  align-items: center;
  padding: 0.25em 0.75em 0.25em 0.5em;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  line-height: 1.15;
}
.coin i {
  grid-row: span 2;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: currentColor;
  box-shadow: 0 0 10px currentColor;
}
.coin--ress1 { color: var(--ress1); }
.coin--ress2 { color: var(--ress2); }
.coin strong { font-size: 0.95rem; }
.coin small { font-size: 0.68rem; color: var(--muted); white-space: nowrap; }

.user-chip { display: flex; align-items: center; gap: 0.5rem; }
.user-chip img { border-radius: 50%; border: 1px solid var(--line-strong); }
.user-chip span { font-weight: 600; }

.nav-toggle {
  display: none;
  margin-left: auto;
  width: 40px;
  height: 40px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: transparent;
  cursor: pointer;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 4px;
}
.nav-toggle span { width: 18px; height: 2px; background: var(--sand); border-radius: 2px; }

/* --------------------------------------------------------------------------
   Bandeaux
   -------------------------------------------------------------------------- */
.notice {
  max-width: var(--maxw);
  margin: 1rem auto 0;
  padding: 0.75rem 1rem;
  border-radius: var(--radius);
  border: 1px solid;
  width: calc(100% - 2 * var(--gutter));
}
.notice--warn { color: var(--warn); border-color: rgba(227, 178, 90, 0.4); background: rgba(227, 178, 90, 0.08); }
.flash {
  margin: 0 0 1.25rem;
  padding: 0.75rem 1rem;
  border-radius: var(--radius);
  border: 1px solid;
}
.flash--ok { color: var(--ok); border-color: rgba(88, 194, 143, 0.4); background: rgba(88, 194, 143, 0.08); }
.flash--warn { color: var(--warn); border-color: rgba(227, 178, 90, 0.4); background: rgba(227, 178, 90, 0.08); }
.flash--danger { color: var(--danger); border-color: rgba(224, 113, 95, 0.4); background: rgba(224, 113, 95, 0.08); }
.pill {
  display: inline-grid;
  place-items: center;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  margin-left: 2px;
  border-radius: 999px;
  background: var(--danger);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
}
.notice--danger { color: var(--danger); border-color: rgba(224, 113, 95, 0.4); background: rgba(224, 113, 95, 0.08); }

/* --------------------------------------------------------------------------
   Mise en page
   -------------------------------------------------------------------------- */
.page {
  flex: 1;
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 2rem var(--gutter) 3rem;
}

.hero {
  position: relative;
  text-align: center;
  padding: 3.5rem 1rem 2.5rem;
  margin-bottom: 2rem;
  border: 1px solid var(--line);
  border-radius: calc(var(--radius) * 1.5);
  background:
    radial-gradient(600px 240px at 50% 0%, rgba(47, 176, 184, 0.18), transparent 70%),
    linear-gradient(180deg, rgba(21, 42, 49, 0.9), rgba(16, 32, 38, 0.9));
  box-shadow: var(--shadow);
  overflow: hidden;
}
.hero__glyphs {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.hero__glyphs::before,
.hero__glyphs::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  height: 16px;
  background: var(--frieze) repeat-x;
  opacity: 0.35;
}
.hero__glyphs::before { top: 10px; }
.hero__glyphs::after { bottom: 10px; transform: scaleY(-1); }
.hero h1 {
  background: linear-gradient(180deg, #f7e6bd, var(--gold));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-shadow: 0 2px 30px rgba(198, 156, 71, 0.25);
}
.hero__logo {
  display: block;
  width: min(260px, 60vw);
  height: auto;
  margin: -1rem auto 0.5rem;
  filter: drop-shadow(0 10px 30px rgba(47, 176, 184, 0.35));
}
.hero--compact .hero__logo { width: 120px; margin: -0.5rem auto 0.25rem; }
.hero__lead { max-width: 560px; margin: 0 auto 1.6rem; color: var(--muted); font-size: 1.05rem; }
.hero__stats {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem 2.5rem;
  margin: 2.2rem 0 0;
}
.hero__stats div { min-width: 110px; }
.hero__stats dt { font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.14em; color: var(--muted); }
.hero__stats dd { margin: 0.1rem 0 0; font: 700 1.7rem var(--font-title); color: var(--text); }

.grid { display: grid; gap: 1.5rem; }
.grid--home { grid-template-columns: repeat(2, minmax(0, 1fr)); }

.panel {
  position: relative;
  padding: 1.4rem 1.5rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(180deg, var(--panel-2), var(--panel));
  box-shadow: var(--shadow);
  min-width: 0;
}
.panel::before {
  /* coins dorés façon cartouche */
  content: '';
  position: absolute;
  inset: 6px;
  border-radius: calc(var(--radius) - 4px);
  pointer-events: none;
  background:
    linear-gradient(var(--gold), var(--gold)) top left / 14px 1px no-repeat,
    linear-gradient(var(--gold), var(--gold)) top left / 1px 14px no-repeat,
    linear-gradient(var(--gold), var(--gold)) top right / 14px 1px no-repeat,
    linear-gradient(var(--gold), var(--gold)) top right / 1px 14px no-repeat,
    linear-gradient(var(--gold), var(--gold)) bottom left / 14px 1px no-repeat,
    linear-gradient(var(--gold), var(--gold)) bottom left / 1px 14px no-repeat,
    linear-gradient(var(--gold), var(--gold)) bottom right / 14px 1px no-repeat,
    linear-gradient(var(--gold), var(--gold)) bottom right / 1px 14px no-repeat;
  opacity: 0.55;
}
.panel--wide { grid-column: 1 / -1; }
.panel--center { max-width: 560px; margin: 3rem auto; text-align: center; padding: 2.5rem 2rem; }
.panel--center .btn { margin-top: 1rem; }
.panel__head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 1rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--line);
}
.panel__head h2 { margin: 0; }
.link { font-size: 0.88rem; }

/* --------------------------------------------------------------------------
   Badges
   -------------------------------------------------------------------------- */
.badge {
  display: inline-block;
  padding: 0.12em 0.6em;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 600;
  border: 1px solid var(--line-strong);
  color: var(--sand);
}
.badge--open, .badge--approved { color: var(--ok); border-color: rgba(88, 194, 143, 0.4); }
.badge--closed, .badge--pending { color: var(--warn); border-color: rgba(227, 178, 90, 0.4); }
.badge--paid { color: var(--sea-strong); border-color: rgba(95, 210, 214, 0.4); }
.badge--cancelled, .badge--refused { color: var(--danger); border-color: rgba(224, 113, 95, 0.4); }

/* --------------------------------------------------------------------------
   Raids
   -------------------------------------------------------------------------- */
.raid-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 1rem; }
.raid-card {
  display: flex;
  gap: 1rem;
  padding: 1rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(8, 16, 20, 0.4);
}
.raid-card--open { border-left: 3px solid var(--ok); }
.raid-card--closed { border-left: 3px solid var(--warn); }
.raid-card--paid { border-left: 3px solid var(--sea); }
.raid-card__date {
  flex: none;
  width: 64px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  background: linear-gradient(180deg, rgba(198, 156, 71, 0.12), transparent);
  font-size: 0.72rem;
  text-transform: uppercase;
  color: var(--muted);
}
.raid-card__date strong { font: 700 1.5rem var(--font-title); color: var(--sand-strong); line-height: 1.1; }
.raid-card__body { min-width: 0; }
.raid-card__body h3 { margin: 0; font-size: 1.05rem; color: var(--text); }
.raid-card__body p { margin: 0.2rem 0 0; font-size: 0.85rem; }
.raid-card__meta { display: flex; flex-wrap: wrap; gap: 0.3rem 0.8rem; align-items: center; color: var(--muted); margin-top: 0.5rem !important; }

/* --------------------------------------------------------------------------
   Onglets et classements
   -------------------------------------------------------------------------- */
.tabs-group { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.tabs {
  display: inline-flex;
  padding: 3px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(8, 16, 20, 0.5);
}
.tabs button {
  padding: 0.3em 0.9em;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--muted);
  font: 500 0.82rem var(--font-body);
  cursor: pointer;
}
.tabs button:hover { color: var(--text); }
.tabs button[aria-selected='true'] { background: var(--sea-deep); color: #fff; }

.rankings { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2rem; }
.ranking { list-style: none; margin: 0; padding: 0; }
.ranking li {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.55rem 0;
  border-bottom: 1px dashed var(--line);
}
.ranking li:last-child { border-bottom: 0; }
.ranking img { border-radius: 50%; flex: none; }
.ranking__pos {
  flex: none;
  width: 24px;
  height: 24px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  font: 700 0.75rem var(--font-title);
  color: var(--muted);
  border: 1px solid var(--line);
}
.ranking li:nth-child(1) .ranking__pos { color: #1b1408; background: var(--sand-strong); border-color: transparent; }
.ranking li:nth-child(2) .ranking__pos { color: var(--sand-strong); border-color: var(--sand); }
.ranking li:nth-child(3) .ranking__pos { color: var(--gold); border-color: var(--gold); }
.ranking__name { flex: 1; min-width: 0; display: flex; flex-direction: column; overflow: hidden; }
.ranking__name > span, .ranking__name { white-space: nowrap; text-overflow: ellipsis; }
.ranking__name small { font-size: 0.75rem; }
.ranking__value { font-weight: 700; font-variant-numeric: tabular-nums; }

/* --------------------------------------------------------------------------
   Paie et équipe
   -------------------------------------------------------------------------- */
.last-payout__title { margin: 0 0 1rem; }
.payout {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.5rem;
  margin: 0 0 0.75rem;
  padding: 0.75rem;
  border-radius: 8px;
  background: rgba(8, 16, 20, 0.4);
  border: 1px solid var(--line);
}
.payout dt { font-size: 0.72rem; color: var(--muted); }
.payout dd { margin: 0; font: 700 1.15rem var(--font-title); }

.team { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 0.75rem; }
.team li { display: flex; align-items: center; gap: 0.7rem; }
.team img { border-radius: 50%; border: 2px solid var(--gold); }
.team span { display: flex; flex-direction: column; font-weight: 600; }
.team small { font-weight: 400; font-size: 0.75rem; color: var(--sea-strong); }

/* --------------------------------------------------------------------------
   Pages intérieures, tableaux, listes de joueurs
   -------------------------------------------------------------------------- */
.page-head { margin-bottom: 1.5rem; }
.page-head h1 { font-size: clamp(1.7rem, 4vw, 2.3rem); margin-bottom: 0.2rem; }
.page-head p { margin: 0; }
.stack { display: grid; gap: 1.5rem; }
.count { font: 500 0.9rem var(--font-body); margin-left: 0.3rem; }

.btn--sm { padding: 0.3em 0.8em; font-size: 0.8rem; }
.btn--ok { color: var(--ok); border-color: rgba(88, 194, 143, 0.5); }
.btn--ok:hover { background: rgba(88, 194, 143, 0.12); color: var(--ok); border-color: var(--ok); }
.btn--danger { color: var(--danger); border-color: rgba(224, 113, 95, 0.45); }
.btn--danger:hover { background: rgba(224, 113, 95, 0.12); color: var(--danger); border-color: var(--danger); }

.badge--role-owner { color: #1b1408; background: var(--sand-strong); border-color: transparent; }
.badge--role-admin { color: var(--sea-strong); border-color: rgba(95, 210, 214, 0.45); }
.badge--role-member { color: var(--muted); border-color: var(--line); }

.user-rows { list-style: none; margin: 0; padding: 0; }
.user-row {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  padding: 0.7rem 0;
  border-bottom: 1px dashed var(--line);
}
.user-row:last-child { border-bottom: 0; }
.user-row img { border-radius: 50%; flex: none; }
.user-row__id { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.user-row__actions, .row-actions { display: flex; flex-wrap: wrap; gap: 0.4rem; justify-content: flex-end; }

.table-wrap { overflow-x: auto; margin: 0 -0.25rem; }
.table { width: 100%; border-collapse: collapse; font-size: 0.9rem; }
.table th {
  text-align: left;
  padding: 0.5rem 0.6rem;
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
  border-bottom: 1px solid var(--line-strong);
  white-space: nowrap;
}
.table td { padding: 0.6rem; border-bottom: 1px dashed var(--line); vertical-align: middle; white-space: nowrap; }
.table tbody tr:hover { background: rgba(255, 255, 255, 0.02); }
.table .num { text-align: right; font-variant-numeric: tabular-nums; }
.user-cell { display: flex; align-items: center; gap: 0.6rem; }
.user-cell img { border-radius: 50%; }
.user-cell > span { display: flex; flex-direction: column; font-weight: 600; }
.user-cell small { font-weight: 400; font-size: 0.75rem; }

/* --------------------------------------------------------------------------
   Raids : liste, fiche, formulaire
   -------------------------------------------------------------------------- */
.page-head--actions { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 1rem; }
.page-head > .link { display: inline-block; margin-bottom: 0.5rem; }

.raid-card--link { color: inherit; transition: border-color 0.15s, transform 0.15s, background 0.15s; }
.raid-card--link:hover { color: inherit; border-color: var(--line-strong); background: rgba(21, 42, 49, 0.6); transform: translateY(-1px); }
.raid-card--cancelled { opacity: 0.6; border-left: 3px solid var(--danger); }
.badge--me { color: var(--sea-strong); border-color: rgba(95, 210, 214, 0.45); background: rgba(47, 176, 184, 0.1); }

.raid-hero {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem 2rem;
  justify-content: space-between;
  margin-bottom: 1.5rem;
  padding: 1.75rem;
  border: 1px solid var(--line);
  border-left: 4px solid var(--sea);
  border-radius: calc(var(--radius) * 1.5);
  background:
    radial-gradient(500px 200px at 0% 0%, rgba(47, 176, 184, 0.14), transparent 70%),
    linear-gradient(180deg, var(--panel-2), var(--panel));
  box-shadow: var(--shadow);
}
.raid-hero--open { border-left-color: var(--ok); }
.raid-hero--closed { border-left-color: var(--warn); }
.raid-hero--cancelled { border-left-color: var(--danger); }
.raid-hero__main { flex: 1 1 380px; min-width: 0; }
.raid-hero__main h1 { font-size: clamp(1.7rem, 4vw, 2.4rem); margin-bottom: 0.25rem; }
.raid-hero__date { margin: 0 0 0.6rem; font-size: 1.05rem; color: var(--sand); }
.raid-hero__date::first-letter { text-transform: uppercase; }
.raid-hero__desc { margin: 1rem 0 0; color: var(--muted); white-space: pre-line; }
.raid-hero__side { flex: 0 0 220px; display: flex; flex-direction: column; align-items: stretch; gap: 0.9rem; }
.raid-hero__side .btn { width: 100%; justify-content: center; }
.raid-hero__side form { margin: 0; }
.admin-actions { display: flex; gap: 0.5rem; padding-top: 0.9rem; border-top: 1px dashed var(--line); }
.admin-actions > * { flex: 1; }

.capacity { text-align: center; }
.capacity strong { display: block; font: 700 2.2rem var(--font-title); color: var(--sand-strong); line-height: 1; }
.capacity strong small { font-size: 1.1rem; color: var(--muted); }
.capacity > span { font-size: 0.8rem; color: var(--muted); text-transform: uppercase; letter-spacing: 0.12em; }
.capacity__bar { height: 6px; margin-top: 0.5rem; border-radius: 999px; background: rgba(8, 16, 20, 0.6); overflow: hidden; }
.capacity__bar i { display: block; height: 100%; background: linear-gradient(90deg, var(--sea-deep), var(--sea-strong)); border-radius: inherit; }

.grid--raid { grid-template-columns: minmax(0, 3fr) minmax(0, 2fr); align-items: start; }

.loot { list-style: none; margin: 0; padding: 0; }
.loot__item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.65rem 0;
  border-bottom: 1px dashed var(--line);
}
.loot__item:last-child { border-bottom: 0; }
.loot__name, .loot__bid { display: flex; flex-direction: column; min-width: 0; }
.loot__name span { font-weight: 600; }
.loot__bid { align-items: flex-end; text-align: right; flex: none; }
.loot__bid strong { font-size: 1.05rem; font-variant-numeric: tabular-nums; }

.form { max-width: 820px; }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.1rem 1.5rem; }
.field { display: flex; flex-direction: column; gap: 0.35rem; min-width: 0; margin: 0; padding: 0; border: 0; }
.field--wide { grid-column: 1 / -1; }
.field > span, .field > legend { font-weight: 600; font-size: 0.88rem; color: var(--sand); padding: 0; margin-bottom: 0.35rem; }
.field small { font-size: 0.78rem; }
.field input[type="text"],
.field input[type="number"],
.field input[type="datetime-local"],
.field select,
.field textarea {
  width: 100%;
  padding: 0.6em 0.75em;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  background: rgba(8, 16, 20, 0.6);
  color: var(--text);
  font: inherit;
}
.field textarea { resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--sea); box-shadow: 0 0 0 3px rgba(47, 176, 184, 0.2); }
.choices { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.choice {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.45em 0.9em;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  cursor: pointer;
  font-weight: 500;
}
.choice:has(input:checked) { border-color: var(--sea); background: rgba(47, 176, 184, 0.12); }
.choice input { accent-color: var(--sea); margin: 0; }
.form-actions { display: flex; justify-content: flex-end; gap: 0.75rem; margin-top: 1.5rem; padding-top: 1.25rem; border-top: 1px solid var(--line); }
.errors { margin: 0; padding-left: 1.2rem; }
.btn:disabled { opacity: 0.5; cursor: not-allowed; }

@media (max-width: 860px) {
  .grid--raid { grid-template-columns: minmax(0, 1fr); }
  .raid-hero__side { flex-basis: 100%; }
}
@media (max-width: 600px) {
  .form-grid { grid-template-columns: minmax(0, 1fr); }
}

/* --------------------------------------------------------------------------
   Enchères : salle et cartes
   -------------------------------------------------------------------------- */
.btn--warn { color: var(--warn); border-color: rgba(227, 178, 90, 0.5); }
.btn--warn:hover { background: rgba(227, 178, 90, 0.12); color: var(--warn); border-color: var(--warn); }
.raid-hero__side > form > .btn--warn { width: 100%; justify-content: center; }
.icon-btn {
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  font-size: 0.75rem;
}
.icon-btn:hover { color: var(--danger); border-color: var(--danger); }
.loot__item form { flex: none; }
.item-link { font-weight: 600; }
a.item-link:hover { text-decoration: underline; }

.add-item { margin-top: 1rem; border-top: 1px dashed var(--line); padding-top: 1rem; }
.add-item summary { cursor: pointer; color: var(--sea-strong); font-weight: 600; }
.add-item__form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; margin-top: 1rem; }
.add-item__form .form-actions { margin-top: 0; padding-top: 0; border-top: 0; }

.auction-rooms { display: grid; gap: 0.75rem; }
.auction-room-card {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem 2rem;
  padding: 1rem 1.25rem;
  border: 1px solid var(--line);
  border-left: 3px solid var(--ok);
  border-radius: var(--radius);
  background: rgba(8, 16, 20, 0.4);
  color: inherit;
}
.auction-room-card:hover { color: inherit; border-color: var(--line-strong); background: rgba(21, 42, 49, 0.6); }
.auction-room-card > div:first-child { flex: 1 1 260px; }
.auction-room-card h3 { margin: 0; font-size: 1.1rem; color: var(--text); }
.auction-room-card p { margin: 0.2rem 0 0; font-size: 0.85rem; }
.auction-room-card__stats { display: flex; gap: 1.5rem; color: var(--muted); font-size: 0.85rem; }
.auction-room-card__stats strong { font: 700 1.3rem var(--font-title); color: var(--sand-strong); margin-right: 0.2rem; }
.auction-room-card__stats .text-ress2 strong { color: var(--ress2); }

.wallet--room .coin { padding: 0.45em 1em 0.45em 0.7em; }
.wallet--room .coin strong { font-size: 1.25rem; }

.live-dot { display: inline-flex; align-items: center; gap: 0.35rem; margin-left: 0.5rem; font-size: 0.75rem; color: var(--muted); }
.live-dot::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: var(--muted); }
.live-dot.is-on { color: var(--ok); }
.live-dot.is-on::before { background: var(--ok); box-shadow: 0 0 0 0 rgba(88, 194, 143, 0.6); animation: pulse 2s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 8px rgba(88, 194, 143, 0); } 100% { box-shadow: 0 0 0 0 rgba(88, 194, 143, 0); } }

.lots { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 1rem; }
.lot {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  padding: 1.1rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(180deg, var(--panel-2), var(--panel));
  box-shadow: var(--shadow);
  transition: border-color 0.2s, box-shadow 0.2s;
}
.lot.is-mine { border-color: rgba(95, 210, 214, 0.55); box-shadow: 0 0 0 1px rgba(95, 210, 214, 0.25), var(--shadow); }
.lot--sold, .lot--unsold { opacity: 0.8; }
.lot__head { display: flex; justify-content: space-between; align-items: flex-start; gap: 0.75rem; }
.lot__name { display: flex; flex-direction: column; min-width: 0; }
.lot__name .item-link { font-size: 1.02rem; }
.lot__name small { font-size: 0.78rem; }
.lot__leader {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  min-height: 58px;
  padding: 0.6rem 0.8rem;
  border-radius: 8px;
  background: rgba(8, 16, 20, 0.45);
  border: 1px solid var(--line);
}
.lot__leader img { border-radius: 50%; flex: none; }
.lot__leader > div { display: flex; flex-direction: column; min-width: 0; }
.lot__leader strong { font: 700 1.45rem var(--font-title); line-height: 1.1; font-variant-numeric: tabular-nums; }
.lot__leader small { color: var(--muted); font-size: 0.8rem; }
.lot.is-mine [data-leader-name] { color: var(--sea-strong); font-weight: 700; }
.lot__leader.is-flash { animation: flash 1.2s ease-out; }
@keyframes flash { 0% { background: rgba(217, 192, 140, 0.35); border-color: var(--sand); } 100% { background: rgba(8, 16, 20, 0.45); } }

.lot__bid { display: flex; flex-direction: column; gap: 0.5rem; }
.bid-input { display: flex; gap: 0.5rem; }
.bid-input input {
  flex: 1;
  min-width: 0;
  padding: 0.55em 0.75em;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  background: rgba(8, 16, 20, 0.6);
  color: var(--text);
  font: 600 1rem var(--font-body);
  font-variant-numeric: tabular-nums;
}
.bid-input input:focus { outline: none; border-color: var(--sea); box-shadow: 0 0 0 3px rgba(47, 176, 184, 0.2); }
.bid-quick { display: flex; gap: 0.4rem; }
.chip {
  padding: 0.2em 0.7em;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: transparent;
  color: var(--muted);
  font: 500 0.8rem var(--font-body);
  cursor: pointer;
}
.chip:hover { color: var(--sand-strong); border-color: var(--sand); }
.lot__msg { margin: 0; min-height: 1.2em; font-size: 0.82rem; }
.lot__msg.is-ok { color: var(--ok); }
.lot__msg.is-error { color: var(--danger); }

.lot__history { margin-top: auto; font-size: 0.82rem; }
.lot__history summary { cursor: pointer; color: var(--muted); }
.lot__history ol { list-style: none; margin: 0.5rem 0 0; padding: 0; max-height: 180px; overflow-y: auto; }
.lot__history li { display: grid; grid-template-columns: 1fr auto auto; gap: 0.75rem; padding: 0.25rem 0; border-bottom: 1px dashed var(--line); }
.lot__history li:first-child strong { color: var(--sand-strong); }
.lot__history time { color: var(--muted); }

.toasts { position: fixed; right: 16px; bottom: 16px; z-index: 50; display: flex; flex-direction: column; gap: 0.5rem; max-width: min(380px, calc(100vw - 32px)); }
.toast {
  display: block;
  padding: 0.75rem 1rem;
  border: 1px solid var(--line-strong);
  border-left: 4px solid var(--sea);
  border-radius: 8px;
  background: var(--panel-2);
  color: var(--text);
  box-shadow: var(--shadow);
  animation: toast-in 0.25s ease-out;
  transition: opacity 0.5s, transform 0.5s;
}
a.toast:hover { color: var(--text); border-color: var(--sand); }
.toast--warn { border-left-color: var(--warn); }
.toast.is-leaving { opacity: 0; transform: translateX(20px); }
@keyframes toast-in { from { opacity: 0; transform: translateY(10px); } }

@media (max-width: 600px) {
  .add-item__form { grid-template-columns: minmax(0, 1fr); }
  .lots { grid-template-columns: minmax(0, 1fr); }
}

/* --------------------------------------------------------------------------
   Paie
   -------------------------------------------------------------------------- */
.badge--paying { color: var(--warn); border-color: rgba(227, 178, 90, 0.4); }
.raid-card--paying { border-left: 3px solid var(--warn); }
.raid-hero--paying { border-left-color: var(--warn); }
.payout-summary { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1.5rem; margin-bottom: 1.5rem; }
.payout-card h2 { margin-bottom: 1rem; }
.payout-card dl { margin: 0; display: grid; gap: 0.75rem; }
.payout-card dl > div { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; padding-bottom: 0.6rem; border-bottom: 1px dashed var(--line); }
.payout-card dl > div:last-child { border-bottom: 0; padding-bottom: 0; }
.payout-card dt { color: var(--muted); font-size: 0.88rem; }
.payout-card dd { margin: 0; font: 700 1.3rem var(--font-title); white-space: nowrap; }
.payout-card dd small { font: 400 0.75rem var(--font-body); color: var(--muted); }
.payout-card__total dd { font-size: 1.7rem; color: var(--sand-strong); }
.is-pos { color: var(--ok); }
.is-neg { color: var(--danger); }
.table tr.is-me td { background: rgba(47, 176, 184, 0.08); }
.items-cell { white-space: normal !important; font-size: 0.85rem; min-width: 180px; }
.user-cell small.text-ress1 { color: var(--sand); }

/* --------------------------------------------------------------------------
   Mon compte et banque
   -------------------------------------------------------------------------- */
.profile { display: flex; align-items: center; gap: 1.1rem; }
.profile img { border-radius: 50%; border: 2px solid var(--gold); box-shadow: 0 0 24px rgba(198, 156, 71, 0.25); }
.profile h1 { margin-bottom: 0.2rem; }
.profile p { margin: 0; }

.wallet-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 1.5rem; margin-bottom: 1.5rem; }
.wallet-card { border-top: 3px solid var(--ress1); }
.wallet-card--ress2 { border-top-color: var(--ress2); }
.wallet-card h2 { margin-bottom: 0.5rem; }
.wallet-card__main { display: flex; align-items: baseline; gap: 0.5rem; margin-bottom: 0.9rem; }
.wallet-card__main strong { font: 700 2.4rem var(--font-title); color: var(--text); line-height: 1; }
.wallet-card__main span { color: var(--muted); }
.wallet-card dl { margin: 0; display: grid; gap: 0.4rem; }
.wallet-card dl > div { display: flex; justify-content: space-between; gap: 1rem; font-size: 0.9rem; }
.wallet-card dt { color: var(--muted); }
.wallet-card dt small { font-size: 0.75rem; }
.wallet-card dd { margin: 0; font-weight: 600; font-variant-numeric: tabular-nums; }

.stat-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 0.75rem; margin-bottom: 1.25rem; }
.stat { padding: 0.8rem 1rem; border: 1px solid var(--line); border-radius: 8px; background: rgba(8, 16, 20, 0.4); }
.stat span { display: block; font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--muted); }
.stat strong { font: 700 1.6rem var(--font-title); color: var(--sand-strong); }
.table--compact td, .table--compact th { padding: 0.45rem 0.6rem; }
.table td.wrap { white-space: normal; }
.table tr.is-dim td { opacity: 0.65; }

.bank-help { margin-top: 0; }
.bank-forms { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.25rem; margin-bottom: 1.5rem; }
.bank-form { display: flex; flex-direction: column; gap: 0.8rem; padding: 1.1rem; border: 1px solid var(--line); border-radius: var(--radius); background: rgba(8, 16, 20, 0.35); }
.bank-form h3 { margin: 0; font-size: 1.05rem; }
.bank-form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 0.75rem; }
.bank-form .field input, .bank-form .field select {
  width: 100%;
  padding: 0.55em 0.7em;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  background: rgba(8, 16, 20, 0.6);
  color: var(--text);
  font: inherit;
}
.bank-form .btn { align-self: flex-start; }
.subhead { margin: 0.5rem 0 0.5rem; font-size: 0.95rem; }

.bank-request { border-left: 3px solid var(--ok); padding-left: 0.75rem; }
.bank-request--withdrawal { border-left-color: var(--warn); }
.bank-request .user-row__id a { color: var(--text); }
.bank-request .user-row__id a:hover { color: var(--sand-strong); }
.refuse-form { display: flex; gap: 0.4rem; }
.refuse-form input {
  width: 150px;
  padding: 0.3em 0.6em;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(8, 16, 20, 0.6);
  color: var(--text);
  font: inherit;
  font-size: 0.8rem;
}
.user-cell a { color: var(--text); }
.user-cell a:hover { color: var(--sand-strong); }

.badge--bid-leading { color: var(--sea-strong); border-color: rgba(95, 210, 214, 0.45); }
.badge--bid-outbid { color: var(--warn); border-color: rgba(227, 178, 90, 0.4); }
.badge--bid-won { color: var(--ok); border-color: rgba(88, 194, 143, 0.4); }
.badge--bid-lost { color: var(--muted); border-color: var(--line); }

@media (max-width: 700px) {
  .bank-forms { grid-template-columns: minmax(0, 1fr); }
  .user-row { flex-wrap: wrap; }
  .refuse-form input { width: 120px; }
}

/* --------------------------------------------------------------------------
   Accueil : tableau de bord, étapes, fil des butins
   -------------------------------------------------------------------------- */
.hero--compact { padding: 2.2rem 1rem 1.6rem; }
.hero--compact h1 { font-size: clamp(1.8rem, 4vw, 2.5rem); }
.hero--compact .hero__stats { margin-top: 1.2rem; }

.how { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; margin: -0.5rem 0 2rem; }
.how__step {
  position: relative;
  padding: 1.1rem 1.1rem 1rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(16, 32, 38, 0.7);
}
.how__step span {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  margin-bottom: 0.6rem;
  border-radius: 50%;
  border: 1px solid var(--gold);
  font: 700 0.95rem var(--font-title);
  color: var(--sand-strong);
}
.how__step h3 { margin: 0 0 0.3rem; font-size: 1rem; }
.how__step p { margin: 0; font-size: 0.86rem; color: var(--muted); }

.dashboard__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; }
.dash-tile {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  min-width: 0;
  padding: 1rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(8, 16, 20, 0.4);
}
.dash-tile p { margin: 0; }
.dash-tile .link { margin-top: auto; padding-top: 0.4rem; font-size: 0.84rem; }
.dash-tile__label { font-size: 0.74rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--muted); }
.dash-tile__label strong { color: var(--sand-strong); font-size: 0.9rem; }
.dash-tile__coin strong { font: 700 1.5rem var(--font-title); }
.dash-tile__coin small { color: var(--muted); }
.dash-tile__big { font: 700 2rem var(--font-title); color: var(--sand-strong); line-height: 1.1; }
.dash-tile__admin { display: inline-flex; align-items: center; gap: 0.35rem; }
.dash-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.45rem; }
.dash-list li { display: flex; flex-direction: column; min-width: 0; }
.dash-list li > span, .dash-list li > a { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-weight: 600; }
.dash-list small { font-size: 0.78rem; }

.feed { list-style: none; margin: 0; padding: 0; }
.feed li { display: flex; align-items: center; gap: 0.7rem; padding: 0.55rem 0; border-bottom: 1px dashed var(--line); }
.feed li:last-child { border-bottom: 0; }
.feed img { border-radius: 50%; flex: none; }
.feed li > div { flex: 1; min-width: 0; }
.feed p { margin: 0; font-size: 0.9rem; }
.feed small { font-size: 0.76rem; }
.feed li > span { flex: none; font-weight: 700; font-variant-numeric: tabular-nums; }

.ranking li.is-me .ranking__name { color: var(--sea-strong); font-weight: 700; }

@media (max-width: 960px) {
  .dashboard__grid, .how { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 520px) {
  .dashboard__grid { grid-template-columns: minmax(0, 1fr); }
  .how { gap: 0.6rem; }
  .how__step { padding: 0.8rem; }
  .how__step span { width: 24px; height: 24px; font-size: 0.8rem; margin-bottom: 0.4rem; }
  .how__step p { font-size: 0.8rem; }
}

/* --------------------------------------------------------------------------
   Onglets de page (segmented control) et espacements
   -------------------------------------------------------------------------- */
.segmented {
  display: flex;
  width: fit-content;
  max-width: 100%;
  margin: 0 auto 2rem;
  padding: 4px;
  gap: 4px;
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  background: rgba(8, 16, 20, 0.7);
  box-shadow: var(--shadow);
}
.segmented a {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.6em 1.6em;
  border-radius: 9px;
  color: var(--muted);
  font-weight: 600;
  white-space: nowrap;
  transition: background 0.15s, color 0.15s;
}
.segmented a:hover { color: var(--text); }
.segmented a[aria-selected='true'] {
  background: linear-gradient(180deg, rgba(217, 192, 140, 0.16), rgba(217, 192, 140, 0.06));
  color: var(--sand-strong);
  box-shadow: inset 0 0 0 1px rgba(217, 192, 140, 0.3);
}

.stack--loose { gap: 2rem; }
.stack > .wallet-cards { margin-bottom: 0; }
.wallet-cards { gap: 2rem; }
.grid--two { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2rem; align-items: start; }

.bank-balance { text-align: center; padding: 1.75rem 1.5rem; }
.bank-balance__label { margin: 0 0 0.9rem; color: var(--muted); font-size: 0.9rem; }
.bank-balance__coins { display: flex; flex-wrap: wrap; justify-content: center; gap: 1rem 4rem; }
.bank-balance__coins > div { display: flex; flex-direction: column; align-items: center; }
.bank-balance__coins strong { font: 700 2.6rem var(--font-title); line-height: 1.1; }
.bank-balance__coins span { color: var(--muted); font-size: 0.85rem; }

@media (max-width: 760px) {
  .grid--two { grid-template-columns: minmax(0, 1fr); }
  .stack--loose, .wallet-cards, .grid--two { gap: 1.5rem; }
  .segmented { width: 100%; }
  .segmented a { flex: 1; justify-content: center; padding: 0.6em 0.8em; }
}

/* --------------------------------------------------------------------------
   Dev
   -------------------------------------------------------------------------- */
.dev-users { list-style: none; padding: 0; margin: 1.5rem 0 0; display: grid; gap: 0.5rem; text-align: left; }
.dev-user {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.5rem 0.75rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(8, 16, 20, 0.4);
  color: var(--text);
  font: inherit;
  cursor: pointer;
}
.dev-user:hover { border-color: var(--sand); }
.dev-user img { border-radius: 50%; }
.dev-user span:nth-child(2) { flex: 1; font-weight: 600; }

/* --------------------------------------------------------------------------
   Pied de page
   -------------------------------------------------------------------------- */
.footer { text-align: center; padding: 0 var(--gutter) 2rem; color: var(--muted); font-size: 0.82rem; }
.divider { display: flex; align-items: center; max-width: 320px; margin: 0 auto 1rem; }
.divider::before, .divider::after { content: ''; flex: 1; height: 1px; background: linear-gradient(90deg, transparent, var(--line-strong)); }
.divider::after { transform: scaleX(-1); }
.divider span { width: 8px; height: 8px; margin: 0 10px; transform: rotate(45deg); border: 1px solid var(--gold); }

/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */
@media (max-width: 1100px) {
  .nav-toggle { display: flex; }
  .topbar__inner { flex-wrap: wrap; }
  .nav {
    display: none;
    flex-basis: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 1rem;
    padding: 0.5rem 0 0.75rem;
  }
  .nav.is-open { display: flex; }
  .nav__links { flex-direction: column; }
  .nav__account { flex-direction: column; align-items: stretch; }
  .wallet { justify-content: stretch; }
  .wallet .coin { flex: 1; justify-content: start; }
  .user-chip { justify-content: space-between; }
  .user-chip span { flex: 1; }
}

@media (max-width: 760px) {
  .grid--home, .rankings { grid-template-columns: minmax(0, 1fr); }
  .raid-list { grid-template-columns: minmax(0, 1fr); }
  .brand__full { display: none; }
  .payout { grid-template-columns: minmax(0, 1fr); }
  .hero { padding: 2.5rem 1rem 2rem; }
  .hero__stats { gap: 1rem 1.5rem; }
}
