/* ---------- fonts, self-hosted (latin) ---------- */
@font-face{font-family:'Anton';font-style:normal;font-weight:400;font-display:swap;src:url('../assets/fonts/anton-400.woff2') format('woff2')}
@font-face{font-family:'Barlow';font-style:normal;font-weight:400;font-display:swap;src:url('../assets/fonts/barlow-400.woff2') format('woff2')}
@font-face{font-family:'Barlow';font-style:normal;font-weight:500;font-display:swap;src:url('../assets/fonts/barlow-500.woff2') format('woff2')}
@font-face{font-family:'Barlow';font-style:normal;font-weight:600;font-display:swap;src:url('../assets/fonts/barlow-600.woff2') format('woff2')}
@font-face{font-family:'Barlow';font-style:normal;font-weight:700;font-display:swap;src:url('../assets/fonts/barlow-700.woff2') format('woff2')}
@font-face{font-family:'Barlow Condensed';font-style:normal;font-weight:600;font-display:swap;src:url('../assets/fonts/barlow-condensed-600.woff2') format('woff2')}
@font-face{font-family:'Barlow Condensed';font-style:normal;font-weight:700;font-display:swap;src:url('../assets/fonts/barlow-condensed-700.woff2') format('woff2')}


/* ---- Radar range + region card ---- */
.rng-card {
  width: 100%; margin: 10px 0 6px; padding: 12px 14px;
  border-radius: 20px; border: 1px solid rgba(243,239,230,.14);
  background: linear-gradient(180deg, rgba(18,22,18,.95), rgba(10,13,10,.95));
  box-shadow: 0 10px 26px rgba(0,0,0,.35);
}
.rng-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.rng-mid { text-align: center; min-width: 0; }
.rng-kick { display: block; font-family: var(--cond); font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: var(--mute); }
.rng-val { display: block; font-family: var(--display); font-size: 34px; line-height: 1; color: var(--bone); }
.rng-val small { font-size: 14px; margin-left: 4px; color: var(--acid); font-family: var(--cond); letter-spacing: .1em; }
.rng-step {
  width: 46px; height: 46px; border-radius: 14px; flex: none;
  border: 1px solid rgba(216,255,47,.4); background: rgba(216,255,47,.08);
  color: var(--acid); font-size: 24px; line-height: 1; font-family: var(--cond);
  display: grid; place-items: center;
}
.rng-step:active { transform: scale(.94); background: rgba(216,255,47,.18); }
.rng-track { margin: 10px 0 2px; }
.rng-range { width: 100%; accent-color: var(--acid); }
.rng-ticks { display: flex; justify-content: space-between; font-family: var(--cond); font-size: 11px; letter-spacing: .08em; color: var(--mute); padding: 0 2px; }
.rng-region {
  display: flex; align-items: center; gap: 10px; width: 100%; margin-top: 10px;
  padding: 10px 12px; border-radius: 14px; text-align: left;
  border: 1px dashed rgba(243,239,230,.22); background: rgba(255,255,255,.02); color: var(--bone);
}
.rng-pin { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: rgba(216,255,47,.14); color: var(--acid); flex: none; }
.rng-pin .ico { width: 16px; height: 16px; }
.rng-txt { min-width: 0; flex: 1; }
.rng-txt small { display: block; font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--mute); font-family: var(--cond); }
.rng-txt strong { display: block; font-size: 13.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rng-chg { font-family: var(--cond); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--acid); flex: none; }

/* ---- Mini player cards ---- */
.pc-row-head { display: flex; align-items: baseline; justify-content: space-between; width: 100%; margin: 8px 0 2px; }
.pc-row-head h3 { font-family: var(--cond); font-size: 15px; letter-spacing: .12em; text-transform: uppercase; margin: 0; color: var(--bone); }
.pf-count { color: var(--acid); margin-left: 4px; }
.see-all { background: none; border: 0; color: var(--acid); font-family: var(--cond); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; padding: 4px 0; }
.pc-cards {
  display: flex; gap: 10px; width: 100%; overflow-x: auto; padding: 8px 2px 10px;
  scroll-snap-type: x mandatory; scrollbar-width: none;
}
.pc-cards::-webkit-scrollbar { display: none; }
.pc-card {
  flex: none; width: 108px; scroll-snap-align: start;
  display: flex; flex-direction: column; align-items: center; gap: 4px;
  padding: 10px 8px 9px; border-radius: 18px;
  border: 1px solid rgba(243,239,230,.13);
  background: linear-gradient(180deg, #141a14, #0b0e0b);
  color: var(--bone); text-align: center;
  opacity: 0; transform: translateY(14px) scale(.94);
  transition: opacity .38s ease, transform .38s cubic-bezier(.16,1,.3,1);
}
.pc-card.in { opacity: 1; transform: none; }
.pc-card.low { margin-top: 12px; }
.pc-card:active { transform: scale(.97); }
.pc-card-ph {
  position: relative; width: 62px; height: 62px; border-radius: 50%;
  display: grid; place-items: center; overflow: visible;
  background: radial-gradient(circle at 30% 25%, color-mix(in srgb, var(--c) 55%, #050705), #0a0d0a);
  border: 1px solid color-mix(in srgb, var(--c) 60%, transparent);
}
.pc-card-ph img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; }
.pc-card-av { font-family: var(--cond); font-size: 20px; letter-spacing: .04em; color: #080a08; }
.pc-card-ph img + .pc-card-av { display: none; }
.pc-card-live {
  position: absolute; right: -2px; bottom: 0; width: 15px; height: 15px; border-radius: 50%;
  background: var(--c); border: 2px solid #0a0d0a;
  box-shadow: 0 0 10px color-mix(in srgb, var(--c) 70%, transparent);
  animation: blink 2s ease-in-out infinite;
}
.pc-card-name { font-family: var(--cond); font-size: 13.5px; letter-spacing: .02em; line-height: 1.15; margin-top: 2px; max-width: 100%; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pc-card-sport { font-family: var(--cond); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--c); width: 100%; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pc-card-km { display: flex; align-items: center; gap: 3px; font-size: 11px; color: var(--mute); }
.pc-card-km .ico { width: 11px; height: 11px; }

/* ---- Session gate ---- */
.intro.gate { background: radial-gradient(280px 200px at 50% 40%, rgba(216,255,47,.16), transparent 70%), #070807; }
.gate .cx-stage { display: flex; flex-direction: column; align-items: center; gap: 14px; }
@keyframes gate-dot { 40% { opacity: 1; transform: translateY(-3px); } }

/* ---- Welcome back chip on login ---- */
.auth-backchip {
  display: flex; align-items: center; gap: 10px; width: 100%;
  padding: 10px 12px; border-radius: 16px; text-align: left;
  border: 1px solid rgba(216,255,47,.5); background: rgba(216,255,47,.09); color: var(--bone);
}
.abc-av {
  width: 38px; height: 38px; border-radius: 50%; flex: none; display: grid; place-items: center;
  background: var(--acid); color: #0a0d0a; font-family: var(--cond); font-size: 17px;
}
.auth-backchip span:nth-child(2) { min-width: 0; flex: 1; }
.auth-backchip b { display: block; font-family: var(--cond); font-size: 15px; letter-spacing: .04em; }
.auth-backchip small { display: block; font-size: 11.5px; color: var(--mute); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.auth-backchip em { font-style: normal; font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--acid); font-family: var(--cond); }
.auth .fine.keep { color: #b9e58a; }
.auth .fine.keep b { color: var(--acid); margin-right: 4px; }
:root {
  --ink: #070807;
  --ink-2: #101410;
  --card: #141814;
  --card-2: #1c221b;
  --line: rgba(216, 255, 47, 0.2);
  --line-2: rgba(243, 239, 230, 0.1);
  --acid: #d8ff2f;
  --heat: #ff2a12;
  --bone: #f3efe6;
  --mute: #8e998c;
  --gold: #ffc14d;
  --ice: #7ee0ff;
  --display: "Anton", Impact, "Arial Narrow", sans-serif;
  --cond: "Barlow Condensed", "Arial Narrow", sans-serif;
  --body: "Barlow", "Segoe UI", sans-serif;
  --dock: 76px;
  --bar: 52px;
  color-scheme: dark;
}

* { box-sizing: border-box; }
html, body { height: 100%; margin: 0; }
body {
  background: #000;
  color: var(--bone);
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.4;
  display: grid;
  place-items: center;
  overflow: hidden;
}
button, input, select, textarea { font: inherit; color: inherit; touch-action: manipulation; }
button.brand { background: none; border: 0; color: inherit; padding: 0; }
.list .m-card { flex: none; width: 100%; margin-bottom: 8px; }
.overlay .card { width: min(100%, 320px); }
.typing { color: var(--acid); font-family: var(--cond); letter-spacing: 0.14em; font-size: 12px; }
button { cursor: pointer; }
button, a { -webkit-tap-highlight-color: transparent; }
img { max-width: 100%; display: block; }
::selection { background: var(--acid); color: #111; }

.phone {
  width: min(430px, 100%);
  /* 100vh first: older Android WebView / older Safari do not know dvh, and a
     dropped height makes the whole app collapse to a black screen. */
  height: 100vh;
  height: 100dvh;
  background:
    radial-gradient(420px 220px at 110% -10%, rgba(255, 42, 18, 0.22), transparent 60%),
    radial-gradient(380px 240px at -20% 0%, rgba(216, 255, 47, 0.08), transparent 55%),
    var(--ink);
  position: relative;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  box-shadow: 0 0 0 1px rgba(216, 255, 47, 0.14);
}
.phone::before {
  content: "";
  pointer-events: none;
  position: absolute;
  inset: 0;
  z-index: 8;
  opacity: 0.035;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='140' height='140'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}

.status {
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: calc(4px + env(safe-area-inset-top)) 16px 0;
  font-family: var(--cond);
  font-size: 12px;
  letter-spacing: 0.14em;
  color: var(--mute);
  flex: none;
}
.status b { color: var(--acid); font-weight: 700; }
.bar-city { margin-left: 10px; padding: 2px 7px; border-radius: 999px; font-family: var(--cond); font-size: 11px; letter-spacing: .14em; font-weight: 700; color: var(--acid); background: rgba(216,255,47,.1); border: 1px solid rgba(216,255,47,.28); vertical-align: middle; white-space: nowrap; max-width: 110px; overflow: hidden; text-overflow: ellipsis; display: inline-block; }
.bar-city:empty { display: none; }
.phone { padding-top: env(safe-area-inset-top); }

.bar {
  height: var(--bar);
  flex: none;
  display: grid;
  grid-template-columns: 44px 1fr auto;
  align-items: center;
  gap: 8px;
  padding: 0 12px;
  z-index: 3;
}
.bar strong {
  font-family: var(--cond);
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 18px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.brand {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--display);
  letter-spacing: 0.08em;
  font-size: 22px;
}
.brand i, .brand .cx-mark {
  width: 26px;
  height: 26px;
  object-fit: contain;
  display: block;
  animation: cx-glow 2.6s ease-in-out infinite;
}
@keyframes cx-glow {
  0%, 100% { filter: drop-shadow(0 0 0 rgba(216, 255, 47, 0)); }
  50% { filter: drop-shadow(0 0 6px rgba(216, 255, 47, 0.9)); }
}
.intro {
  background:
    radial-gradient(280px 180px at 50% 36%, rgba(216, 255, 47, 0.16), transparent 64%),
    #050605;
}
.intro { container-type: size; }
.intro .cx-stage { width: 100%; height: 100%; display: grid; place-items: center; position: relative; }
.intro .cx-still {
  /* the size the user pointed at: about half the screen, centred, then login */
  width: auto; height: auto;
  max-width: 58%; max-height: 40%;
  object-fit: contain; display: block; background: transparent;
  animation: cxsting 2.4s cubic-bezier(.22,.61,.36,1) both;
}
@keyframes cxsting {
  0%   { opacity: 0; transform: scale(.72); filter: brightness(.25) blur(6px); }
  26%  { opacity: 1; transform: scale(1.04); filter: brightness(1.15) blur(0); }
  42%  { transform: scale(.985); }
  70%  { transform: scale(1.005); }
  100% { opacity: .97; transform: scale(1.02); filter: brightness(1) blur(0); }
}
/* landscape / wide screens: let the sting fill the frame instead of sitting small in the middle */
@container (min-aspect-ratio: 1/1) {
  .intro .cx-video { object-fit: cover; }
}
/* the circle effect is back, but it now sits BEHIND the mark (z-index 1) so it
   can never cross the wordmark again: a soft glow that breathes, plus two rings
   that push out from the logo as it lands. */
.intro .cx-glow {
  position: absolute; width: 76%; aspect-ratio: 1; border-radius: 50%; z-index: 1;
  background: radial-gradient(circle, rgba(216, 255, 47, .22) 0%, rgba(216, 255, 47, .08) 42%, transparent 68%);
  animation: cxglow 2.4s ease-out both; pointer-events: none;
}
@keyframes cxglow {
  0%   { opacity: 0; transform: scale(.60); }
  22%  { opacity: 1; transform: scale(1); }
  62%  { opacity: 1; transform: scale(1.06); }
  100% { opacity: .95; transform: scale(1.12); }
}
.intro .cx-ring {
  position: absolute; width: min(58%, 260px); aspect-ratio: 1; border-radius: 50%;
  border: 2px solid rgba(216, 255, 47, .85); z-index: 1;
  animation: cxring 1.5s cubic-bezier(.16, .72, .28, 1) both;
  pointer-events: none;
}
.intro .cx-ring.d2 { animation-delay: .34s; border-color: rgba(216, 255, 47, .55); }
@keyframes cxring {
  0%   { transform: scale(.30); opacity: 0; }
  22%  { opacity: .95; }
  100% { transform: scale(1.55); opacity: 0; }
}
.intro .cx-still {
  position: relative; z-index: 2;
  /* transparent PNG: the glow fades into the black screen, so the emblem has
     no box around it and the ring is gone for good */
}
.intro .cx-x {
  width: 48%; height: auto;
  animation: cx-slam 0.85s cubic-bezier(.14, 1.25, .28, 1) both;
}
@keyframes cx-slam {
  0% { transform: scale(1.65) rotate(-12deg); opacity: 0; filter: blur(8px); }
  60% { opacity: 1; filter: drop-shadow(0 0 16px rgba(216,255,47,.75)); }
  100% { transform: none; opacity: 1; }
}
@keyframes cx-word {
  0% { opacity: 0; transform: translateY(16px); clip-path: inset(0 100% 0 0); }
  100% { opacity: 1; transform: none; clip-path: inset(0 0 0 0); }
}
@keyframes cx-tag { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.intro.out { animation: cx-out 0.4s ease forwards; }
.auth {
  position: absolute; inset: 0; z-index: 36;
  display: flex; flex-direction: column; align-items: stretch;
  overflow-x: hidden; overflow-y: auto;
  padding: 16px 16px 22px;
  background:
    radial-gradient(280px 180px at 50% 12%, rgba(216, 255, 47, 0.2), transparent 70%),
    radial-gradient(220px 160px at 100% 90%, rgba(255, 42, 18, 0.22), transparent 70%),
    #070807;
  animation: auth-bg 7s ease-in-out infinite alternate;
}
@keyframes auth-bg { to { background-position: 20% 8%, 80% 92%, 0 0; } }
.auth.out { animation: cx-out 0.35s ease forwards; }
.auth-card {
  width: 100%; max-width: 100%;
  border: 1px solid rgba(216, 255, 47, 0.22);
  border-radius: 24px;
  background: rgba(10, 12, 10, 0.78);
  padding: 16px 14px 14px;
  box-shadow: 0 18px 40px rgba(0,0,0,.35);
}
.auth-x { width: 46px; height: auto; margin: 0 auto 4px; display: block; animation: cx-slam 0.8s cubic-bezier(.14,1.25,.28,1) both; filter: drop-shadow(0 0 16px rgba(216,255,47,.55)); }
.auth h2 { font-family: var(--display); font-size: 36px; line-height: 0.86; letter-spacing: 0.01em; margin: 2px 0 6px; }
.auth h2 em { font-style: normal; color: var(--acid); }
.auth .fine { color: #c5cec2; font-size: 13px; line-height: 1.35; margin: 0 0 10px; }
.auth-social, .auth-form, .auth-links {
  display: flex; flex-direction: column; align-items: stretch; width: 100%; gap: 8px; min-width: 0;
}
.auth .soc, .auth .btn, .auth input, .auth .auth-back {
  width: 100%; max-width: 100%;
}
.auth .soc {
  display: flex; flex-direction: row; align-items: center; justify-content: flex-start;
  gap: 12px; height: 48px; min-height: 48px; padding: 0 14px;
  border-radius: 14px; border: 1px solid rgba(243,239,230,.16);
  background: #121412; color: var(--bone);
  font-family: var(--cond); letter-spacing: 0.04em; font-size: 16px; font-weight: 700;
  white-space: nowrap; text-align: left;
  transition: transform .18s ease, border-color .18s ease;
}
.auth .soc svg { width: 18px; height: 18px; flex: none; display: block; }
.auth .soc span { flex: 1; text-align: left; }
.auth .soc:hover, .auth .soc:focus-visible { transform: translateY(-2px); border-color: var(--acid); }
.auth .soc.google { background: #ffffff; color: #111; border-color: #ffffff; }
.auth .soc.apple { background: #111; color: #fff; border-color: #333; }
.auth .soc.x { background: #0e0e0e; color: #fff; border-color: #2a2a2a; }
.auth-or { display: flex; align-items: center; gap: 8px; width: 100%; color: var(--mute); font-size: 12px; letter-spacing: 0.14em; margin: 4px 0; }
.auth-or::before, .auth-or::after { content: ""; height: 1px; flex: 1; background: rgba(243,239,230,.12); }
.auth input {
  display: block; height: 48px; border-radius: 14px; border: 1px solid rgba(216,255,47,.7);
  background: #171c17; color: #f3efe6; padding: 0 14px;
}
.auth input::placeholder { color: #8b968a; opacity: 1; }
.auth-lab { font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--acid); font-family: var(--cond); margin: 2px 0 -2px; }
.auth-help { font-size: 12px; line-height: 1.4; color: var(--mute); margin: 0; text-align: left; }
.auth .btn.busy { opacity: 0.65; pointer-events: none; }
.auth-err { margin: 0; padding: 10px 12px; border-radius: 12px; border: 1px solid rgba(255,82,42,.5); background: rgba(255,42,18,.12); color: #ffb3a1; font-size: 13px; line-height: 1.35; animation: rise-in .3s ease both; }
.auth .btn.busy::after { content: "…"; }
.auth .btn { height: 48px; border-radius: 14px; opacity: 1; }
.auth .btn-acid { background: #d8ff2f; color: #111; }
.auth-links { margin-top: 2px; }
.auth-links button, .auth-guest, .auth-back {
  background: none; border: 0; color: var(--acid); font-size: 14px; padding: 4px 0; text-align: left;
}
.auth-guest { display: block; width: 100%; text-align: center; margin-top: 4px; color: var(--mute); }
.auth-mail {
  display: flex; align-items: center; gap: 8px; width: 100%;
  border-radius: 14px; border: 1px solid rgba(216,255,47,.35);
  background: #101410; color: var(--bone); padding: 10px 12px; font-size: 14px;
}
.auth-mail b { color: var(--acid); font-weight: 700; }
.otp { display: flex; flex-direction: row; gap: 8px; justify-content: space-between; width: 100%; margin: 4px 0; }
.otp input { width: 56px; flex: 1; text-align: center; font-size: 22px; font-family: var(--display); padding: 0; }
.preview-code { text-align: center; font-family: var(--cond); letter-spacing: 0.12em; color: var(--acid); margin: 0; font-size: 13px; }
.auth .auth-step {
  display: flex; flex-direction: column; align-items: stretch; width: 100%; min-width: 0; gap: 8px;
  animation: auth-next .42s cubic-bezier(.16,1,.3,1) both;
}
@keyframes auth-next { from { transform: translateX(18px); } to { transform: none; } }
@keyframes rise-in { from { transform: translateY(10px); } to { transform: none; } }
@keyframes cx-out { to { opacity: 0; visibility: hidden; } }
.root-bar { grid-template-columns: 1fr auto; }
.bar-actions { display: flex; gap: 6px; }

.icon-btn {
  width: 42px;
  height: 42px;
  border: 0;
  background: transparent;
  color: var(--bone);
  display: grid;
  place-items: center;
  position: relative;
  border-radius: 8px;
}
.icon-btn:active { transform: scale(0.94); }
.ico { width: 22px; height: 22px; display: block; }
.badge {
  position: absolute;
  top: 4px;
  right: 2px;
  min-width: 16px;
  height: 16px;
  padding: 0 4px;
  border-radius: 99px;
  background: var(--heat);
  color: white;
  font-size: 11px;
  font-weight: 700;
  display: grid;
  place-items: center;
}

.view {
  flex: 1;
  overflow: auto;
  overflow-x: hidden;
  padding: 0 16px 18px;
  scroll-behavior: smooth;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
}
.view::-webkit-scrollbar { width: 0; height: 0; }
/* No scrollbar track anywhere, in any engine (Firefox/Samsung/WebView showed a
   black gutter on the right of scrolling tabs). */
html, body, .phone, .view, .auth, .sheet, .city-list, .sel-list, .bubble-list, .chips, .strip-track, .g-track, .pc-cards { scrollbar-width: none; -ms-overflow-style: none; scrollbar-color: transparent transparent; }
*::-webkit-scrollbar { width: 0 !important; height: 0 !important; display: none; background: transparent; }
.view { overflow-x: clip; scrollbar-gutter: auto; }
.phone { overflow: hidden; }
.auth::-webkit-scrollbar, .sheet::-webkit-scrollbar, .city-list::-webkit-scrollbar, .sel-list::-webkit-scrollbar, .bubble-list::-webkit-scrollbar { width: 0; height: 0; }

.screen.enter { animation: slide 0.28s cubic-bezier(.2,.7,.2,1); }
/* swiping between tabs: the new tab slides in from the side the finger came from */
.screen.swipe-next { animation: swipeNext 0.26s cubic-bezier(.2,.7,.2,1) both; }
.screen.swipe-back { animation: swipeBack 0.26s cubic-bezier(.2,.7,.2,1) both; }
@keyframes swipeNext {
  from { transform: translateX(46px); opacity: 0.35; }
  to { transform: none; opacity: 1; }
}
@keyframes swipeBack {
  from { transform: translateX(-46px); opacity: 0.35; }
  to { transform: none; opacity: 1; }
}
#view { touch-action: pan-y; }
@media (prefers-reduced-motion: reduce) {
  .screen.swipe-next, .screen.swipe-back, .screen.enter { animation: none; }
}
@keyframes slide {
  from { transform: translateX(18px); opacity: 0; }
  to { transform: none; opacity: 1; }
}
@keyframes rise {
  from { transform: translateY(12px); opacity: 0; }
  to { transform: none; opacity: 1; }
}

.kicker {
  margin: 8px 0 0;
  font-family: var(--cond);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-size: 13px;
  font-weight: 600;
  color: var(--acid);
}
.display {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(46px, 14vw, 64px);
  line-height: 0.84;
  letter-spacing: 0.01em;
  margin: 6px 0 8px;
  text-transform: uppercase;
}
.display em { font-style: normal; color: var(--acid); }
.lede { margin: 0 0 14px; color: var(--mute); max-width: 34ch; }

.xp {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 10px;
  align-items: center;
  margin: 8px 0 14px;
}
.xp > span:nth-child(2) { display: block; min-width: 0; }
.rank-pill {
  font-family: var(--display);
  background: var(--acid);
  color: #111;
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  font-size: 22px;
}
.xp-track { display: block; width: 100%; height: 10px; background: #2c3328; border-radius: 99px; overflow: hidden; }
.xp-fill { display: block; height: 100%; background: linear-gradient(90deg, var(--acid), #fff); width: 0; transition: width 0.7s cubic-bezier(.2,.8,.2,1); }
.xp small { color: var(--mute); font-size: 12px; }

.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 6px;
  margin-bottom: 14px;
}
.stat {
  background: var(--card);
  border: 1px solid var(--line-2);
  padding: 8px 6px 7px;
  text-align: center;
}
.stat b {
  display: block;
  font-family: var(--display);
  font-size: 28px;
  line-height: 1;
}
.stat span {
  display: block;
  margin-top: 2px;
  color: var(--mute);
  font-family: var(--cond);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 11px;
}

.sec {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin: 8px 0;
}
.sec h2 {
  margin: 0;
  font-family: var(--cond);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-size: 14px;
  font-weight: 700;
}
.sec button, .linkish {
  background: none;
  border: 0;
  color: var(--acid);
  font-family: var(--cond);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-size: 13px;
  padding: 0;
}

.h-scroll {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 8px;
  margin: 0 -16px 8px;
  padding-left: 16px;
  padding-right: 16px;
}
.h-scroll::-webkit-scrollbar { height: 0; }

.hero-match {
  width: 100%;
  min-height: 168px;
  border: 0;
  border-radius: 6px;
  padding: 12px;
  text-align: left;
  color: white;
  background-size: cover;
  background-position: center;
  position: relative;
  overflow: hidden;
  margin-bottom: 12px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 188px;
}
.hero-match::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,.15), rgba(0,0,0,.82));
}
.hero-match > * { position: relative; z-index: 1; }
.hero-match strong {
  font-family: var(--display);
  font-size: 34px;
  line-height: 0.9;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}
.live-tag, .tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--cond);
  letter-spacing: 0.14em;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
}
.live-tag i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--heat);
  box-shadow: 0 0 0 0 rgba(255, 42, 18, 0.7);
  animation: pulse 1.4s ease-out infinite;
}
@keyframes pulse {
  70% { box-shadow: 0 0 0 7px rgba(255, 42, 18, 0); }
  100% { box-shadow: 0 0 0 0 rgba(255, 42, 18, 0); }
}

.m-card, .v-card, .p-row, .n-row, .t-card {
  background: var(--card);
  border: 1px solid var(--line-2);
  color: var(--bone);
  text-align: left;
  border-radius: 4px;
}
.m-card {
  flex: 0 0 78%;
  scroll-snap-align: start;
  padding: 12px;
  min-height: 132px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  position: relative;
  overflow: hidden;
}
.m-card::before {
  content: "";
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 4px;
  background: var(--c, var(--acid));
}
.m-card strong { font-size: 16px; }
.m-card small, .muted { color: var(--mute); }
.m-top, .m-bot { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.sport-tag {
  font-family: var(--cond);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 12px;
  font-weight: 700;
  color: var(--c, var(--acid));
}
.st {
  font-family: var(--cond);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 11px;
  padding: 2px 6px;
  border: 1px solid var(--line-2);
}
.st.live { color: white; background: var(--heat); border-color: var(--heat); }
.st.soon { color: #111; background: var(--acid); border-color: var(--acid); }
.st.done { color: var(--mute); }

.p-row, .n-row {
  width: 100%;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 10px;
  align-items: center;
  padding: 10px;
  margin-bottom: 8px;
}
.p-row:active, .m-card:active, .n-row:active, .v-card:active { transform: scale(0.985); }
.p-meta { min-width: 0; }
.p-meta strong, .n-row strong { display: block; font-size: 15px; }
.p-meta small, .n-row small { color: var(--mute); display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.p-meta em {
  font-style: normal;
  color: #111;
  background: var(--acid);
  font-family: var(--display);
  font-size: 12px;
  padding: 0 4px;
  margin-left: 4px;
}
.mini {
  font-family: var(--cond);
  letter-spacing: 0.1em;
  font-size: 11px;
  color: var(--heat);
  font-weight: 700;
}

/* initials avatar: hue is the player's own colour, kept as an accent on a dark
   glass tile so it reads like the rest of the app instead of a flat pastel box */
.av {
  position: relative;
  width: 42px;
  height: 42px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  font-family: var(--cond);
  font-weight: 700;
  font-size: 21px;
  letter-spacing: 0.02em;
  color: hsl(var(--h), 92%, 74%);
  background:
    radial-gradient(120% 120% at 22% 12%, hsl(var(--h), 82%, 42%) 0%, hsl(var(--h), 62%, 18%) 46%, #0c100b 100%);
  border: 1px solid hsl(var(--h), 78%, 58%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.14), 0 10px 22px -18px hsl(var(--h), 90%, 60%);
  text-shadow: 0 1px 6px hsl(var(--h), 90%, 30%);
  flex: none;
  overflow: hidden;
}
.av::after {
  content: "";
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(118deg, rgba(255, 255, 255, 0.07) 0 1px, transparent 1px 9px);
  pointer-events: none;
}
.av::before {
  content: "";
  position: absolute;
  right: -14px;
  bottom: -14px;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: hsl(var(--h), 96%, 62%);
  opacity: 0.22;
  filter: blur(2px);
  pointer-events: none;
}
.av.lg { width: 84px; height: 84px; font-size: 46px; border-radius: 24px; }
.av img { position: relative; z-index: 1; width: 100%; height: 100%; object-fit: cover; }
.av:has(img)::before, .av:has(img)::after { display: none; }

.v-card {
  display: grid;
  grid-template-columns: 86px 1fr;
  gap: 10px;
  padding: 8px;
  margin-bottom: 8px;
  width: 100%;
  align-items: center;
}
.v-card > span:last-child { min-width: 0; }
.v-card strong, .v-card small { display: block; }
.v-card small { margin-top: 3px; white-space: normal; }
.v-card .ph {
  height: 72px;
  background: #0c0f0c center/cover no-repeat;
  border-radius: 2px;
}
.plate {
  height: 72px;
  border-radius: 2px;
  background:
    linear-gradient(#243024, #243024) 20% 50% / 60% 2px no-repeat,
    linear-gradient(#243024, #243024) 50% 20% / 2px 60% no-repeat,
    #1a120c;
}
.plate.chess {
  background:
    repeating-conic-gradient(#f3efe6 0 25%, #1a1a1a 0 50%) 50% 50% / 16px 16px;
}

.chips { display: flex; gap: 6px; overflow-x: auto; padding-bottom: 8px; margin-bottom: 4px; }
.chips::-webkit-scrollbar { height: 0; }
.chip {
  flex: none;
  border: 1px solid var(--line-2);
  background: transparent;
  color: var(--bone);
  border-radius: 99px;
  padding: 7px 12px;
  font-family: var(--cond);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 13px;
}
.chip.on { background: var(--acid); color: #111; border-color: var(--acid); }

.search {
  width: 100%;
  background: var(--card);
  border: 1px solid var(--line-2);
  border-radius: 4px;
  padding: 12px 12px;
  margin-bottom: 8px;
  outline: none;
}
.search:focus { border-color: var(--acid); }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 0 16px;
  border-radius: 4px;
  border: 1px solid transparent;
  font-family: var(--cond);
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-size: 16px;
  transition: transform 0.12s ease;
}
.btn:active { transform: scale(0.97); }
.btn-acid { background: var(--acid); color: #111; }
.btn-heat { background: var(--heat); color: white; }
.btn-ghost { background: transparent; color: var(--bone); border-color: var(--line); }
.btn-block { width: 100%; margin-top: 8px; }
.row-btns { display: flex; gap: 8px; }
.row-btns .btn { flex: 1; }

.dock {
  flex: none;
  height: calc(var(--dock) + env(safe-area-inset-bottom));
  padding: 6px 8px calc(8px + env(safe-area-inset-bottom));
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  align-items: end;
  background: rgba(7, 8, 7, 0.92);
  border-top: 1px solid rgba(216, 255, 47, 0.12);
  z-index: 5;
  backdrop-filter: blur(8px);
}
.dock button {
  background: none;
  border: 0;
  color: var(--mute);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  font-family: var(--cond);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 11px;
  min-height: 48px;
}
.dock button.on { color: var(--acid); }
.dock button:active { transform: scale(0.94); }
.radar-btn {
  width: 62px;
  height: 62px;
  margin-top: -30px;
  border-radius: 50% !important;
  background: var(--acid) !important;
  color: #111 !important;
  display: grid !important;
  place-items: center;
  position: relative;
  box-shadow: 0 0 0 6px #070807, 0 10px 24px rgba(216, 255, 47, 0.28);
}
.radar-btn span { display: none; }
.radar-btn .ico { width: 28px; height: 28px; }
.radar-btn::after {
  content: "";
  position: absolute;
  inset: -5px;
  border-radius: 50%;
  border: 2px solid var(--acid);
  animation: ping 1.8s ease-out infinite;
  pointer-events: none;
}
@keyframes ping {
  0% { transform: scale(0.9); opacity: 0.8; }
  100% { transform: scale(1.28); opacity: 0; }
}
.dock button.on .radar-btn, .radar-btn.on { box-shadow: 0 0 0 6px #070807, 0 0 0 8px var(--heat); }

.radar-wrap { display: grid; justify-items: center; }
.radar {
  width: min(76vw, 300px);
  aspect-ratio: 1;
  border-radius: 50%;
  position: relative;
  overflow: hidden;
  background: radial-gradient(circle at 50% 50%, rgba(216,255,47,.07), rgba(6,8,6,.9) 70%);
  border: 1px solid rgba(216, 255, 47, 0.45);
  margin: 10px auto 14px;
  box-shadow: inset 0 0 44px rgba(216, 255, 47, 0.07), 0 0 44px rgba(216, 255, 47, 0.1);
  transform-origin: 50% 50%;
}
/* the radar is born from a single point and grows into a full circle */
.radar.build {
  animation: radar-born 1.15s cubic-bezier(.16,1,.3,1) both;
}
@keyframes radar-born {
  0% { transform: scale(.02); opacity: .25; filter: brightness(2.4); }
  45% { opacity: 1; filter: brightness(1.6); }
  75% { transform: scale(1.03); }
  100% { transform: scale(1); opacity: 1; filter: none; }
}
.radar-halo {
  position: absolute; inset: -2px; border-radius: 50%;
  border: 1px solid rgba(216,255,47,.5);
  box-shadow: 0 0 18px rgba(216,255,47,.45), inset 0 0 26px rgba(216,255,47,.16);
  opacity: 0;
}
.radar.build .radar-halo { animation: halo-in .9s ease .45s both, halo-pulse 3.2s ease-in-out 1.4s infinite; }
@keyframes halo-in { from { opacity: 0; transform: scale(.9); } to { opacity: 1; transform: scale(1); } }
@keyframes halo-pulse { 50% { box-shadow: 0 0 26px rgba(216,255,47,.62), inset 0 0 32px rgba(216,255,47,.22); } }
.radar .ring {
  position: absolute; left: 50%; top: 50%; border-radius: 50%;
  border: 1px solid rgba(216,255,47,.22);
  transform: translate(-50%,-50%) scale(.2);
  opacity: 0;
}
.radar .ring.r1 { width: 34%; height: 34%; }
.radar .ring.r2 { width: 62%; height: 62%; }
.radar .ring.r3 { width: 90%; height: 90%; border-color: rgba(216,255,47,.34); }
.radar.build .ring.r1 { animation: ring-out .55s cubic-bezier(.2,1.2,.3,1) .18s both; }
.radar.build .ring.r2 { animation: ring-out .65s cubic-bezier(.2,1.2,.3,1) .34s both; }
.radar.build .ring.r3 { animation: ring-out .8s cubic-bezier(.2,1.2,.3,1) .5s both; }
@keyframes ring-out { from { transform: translate(-50%,-50%) scale(.1); opacity: 0; } to { transform: translate(-50%,-50%) scale(1); opacity: 1; } }
.radar-label {
  position: absolute; left: 0; right: 0; bottom: 16%;
  text-align: center; font-family: var(--cond); letter-spacing: .22em;
  font-size: 12px; color: var(--acid); animation: blink 1.1s steps(2) infinite;
}
.ticks { position: absolute; inset: 0; opacity: 0; }
.radar.build .ticks { animation: fade-in .6s ease .8s both; }
@keyframes fade-in { to { opacity: 1; } }
.ticks i {
  position: absolute; left: 50%; top: 50%; width: 1px; height: 49%;
  transform-origin: 50% 0; transform: rotate(var(--a));
  background: linear-gradient(to bottom, rgba(216,255,47,.5) 0 4px, transparent 4px);
}
.card-n, .card-e, .card-s, .card-w {
  position: absolute; font-family: var(--cond); font-size: 11px; letter-spacing: .12em;
  color: rgba(216,255,47,.75); z-index: 3;
}
.card-n { top: 6px; left: 50%; transform: translateX(-50%); }
.card-s { bottom: 6px; left: 50%; transform: translateX(-50%); }
.card-e { right: 7px; top: 50%; transform: translateY(-50%); }
.card-w { left: 7px; top: 50%; transform: translateY(-50%); }
.you-pin {
  position: absolute; left: 50%; top: 50%; width: 16px; height: 16px; z-index: 4;
  pointer-events: none;
  transform: translate(-50%,-50%);
  border-radius: 50% 50% 50% 0; rotate: -45deg;
  background: var(--acid); box-shadow: 0 0 0 5px rgba(216,255,47,.16), 0 0 16px rgba(216,255,47,.7);
}
.sweep {
  position: absolute;
  inset: 0; z-index: 1;
  pointer-events: none;
  border-radius: 50%;
  background: conic-gradient(from 0deg, rgba(216,255,47,.42) 0deg, rgba(216,255,47,.10) 24deg, transparent 60deg, transparent 360deg);
  opacity: 0;
}
.radar.build .sweep { animation: fade-in .4s ease both; }
.sweep.spin { animation: fade-in .4s ease both, spin 3.2s linear infinite; }
.radar.live .sweep { animation: fade-in .4s ease both, spin 4.6s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.cross {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(var(--acid), var(--acid)) 50% 0 / 1px 100% no-repeat,
    linear-gradient(var(--acid), var(--acid)) 0 50% / 100% 1px no-repeat;
  opacity: 0.25;
}
.blip {
  position: absolute;
  z-index: 3;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  border: 0;
  transform: translate(-50%, -50%) scale(0);
  animation: pop 0.35s cubic-bezier(.2,1.4,.3,1) forwards;
  box-shadow: 0 0 0 6px rgba(0, 0, 0, 0.35);
}
.blip::after {
  content: "";
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  border: 1px solid currentColor;
  animation: ping 1.6s ease-out infinite;
}
.blip.hot { width: 18px; height: 18px; z-index: 2; outline: 2px solid white; }
@keyframes pop { to { transform: translate(-50%, -50%) scale(1); } }
/* Radar result list: names revealed one by one after the sweep */
.scan-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; width: 100%; margin: 6px 0 2px; }
.scan-line {
  margin: 0; display: flex; align-items: center; gap: 8px; min-width: 0;
  font-family: var(--cond); font-size: 12px; letter-spacing: 0.13em; text-transform: uppercase;
  color: var(--acid);
}
.scan-line.done { color: var(--bone); }
.scan-line.done .dot-pulse { display: none; }
.scan-line.done b { color: var(--acid); }
.dot-pulse { width: 8px; height: 8px; border-radius: 50%; background: var(--acid); flex: none; box-shadow: 0 0 0 0 rgba(216,255,47,.75); animation: dp 1.25s ease-out infinite; }
@keyframes dp { to { box-shadow: 0 0 0 12px rgba(216,255,47,0); } }
.scan-again {
  display: flex; align-items: center; gap: 6px; flex: none;
  border: 1px solid rgba(216,255,47,.35); background: none; color: var(--acid);
  border-radius: 999px; padding: 6px 12px;
  font-family: var(--cond); font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase;
}
.scan-again .ico { width: 16px; height: 16px; }
.scan-again:active { transform: scale(.96); }
.pc-list { display: flex; flex-direction: column; gap: 8px; width: 100%; margin: 6px 0 10px; }
.pc {
  position: relative; display: grid; grid-template-columns: 44px minmax(0, 1fr) auto;
  align-items: center; gap: 12px; width: 100%; min-height: 64px;
  padding: 10px 12px 10px 16px; text-align: left;
  border-radius: 16px; border: 1px solid rgba(243,239,230,.12);
  background: #0e120e; color: var(--bone);
  animation: rise-in .32s ease both;
  transition: border-color .22s ease, transform .18s ease, box-shadow .3s ease;
}
.pc:active { transform: scale(.985); }
.pc::before {
  content: ""; position: absolute; left: 0; top: 12px; bottom: 12px; width: 3px;
  border-radius: 3px; background: var(--c, var(--acid)); opacity: 0; transition: opacity .3s ease;
}
.pc.in::before { opacity: 1; }
.pc.in { border-color: rgba(243,239,230,.2); }
.pc.flash { box-shadow: 0 0 0 2px var(--c, var(--acid)); border-color: transparent; }
.pc-dot {
  width: 44px; height: 44px; border-radius: 15px; display: grid; place-items: center;
  background:
    radial-gradient(120% 120% at 22% 12%, color-mix(in srgb, var(--c, var(--acid)) 55%, #0a0d0a) 0%, color-mix(in srgb, var(--c, var(--acid)) 22%, #0a0d0a) 52%, #0b0e0a 100%);
  border: 1px solid color-mix(in srgb, var(--c, var(--acid)) 62%, transparent);
  color: color-mix(in srgb, var(--c, var(--acid)) 78%, #fff);
  font-family: var(--cond); font-weight: 700; font-size: 17px; letter-spacing: 0.02em;
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.5);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12);
}
.pc-meta { min-width: 0; }
.pc-name { display: block; font-family: var(--cond); font-size: 17px; letter-spacing: 0.03em; text-transform: uppercase; line-height: 1.1; }
.pc-line { display: block; color: var(--mute); font-size: 12.5px; margin-top: 4px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
@keyframes sk { to { background-position: -200% 0; } }
.pc-right { display: flex; flex-direction: column; align-items: flex-end; gap: 5px; flex: none; }
.pc-km { font-style: normal; font-family: var(--cond); font-size: 14px; letter-spacing: 0.04em; color: var(--bone); }
.pc-live, .pc-idle {
  font-family: var(--cond); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase;
  padding: 2px 7px; border-radius: 999px; white-space: nowrap;
}
.pc-live { background: var(--acid); color: #08090a; animation: blink 1.8s ease-in-out infinite; }
.pc-idle { border: 1px solid rgba(243,239,230,.18); color: var(--mute); }
.scan-empty { border: 1px dashed rgba(243,239,230,.2); border-radius: 16px; padding: 14px; text-align: left; }
.scan-empty b { display: block; font-family: var(--cond); font-size: 16px; letter-spacing: 0.05em; text-transform: uppercase; }
.scan-empty p { color: var(--mute); font-size: 13px; margin: 6px 0 10px; }
@keyframes blink { 50% { opacity: 0.35; } }

.range { width: 100%; accent-color: var(--acid); }

.cover {
  height: 180px;
  margin: 0 -16px 12px;
  background: #111 center/cover no-repeat;
  position: relative;
}
.cover .shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(transparent, #070807);
}
.stamp {
  position: absolute;
  right: 16px;
  bottom: 16px;
  border: 3px solid var(--acid);
  color: var(--acid);
  font-family: var(--display);
  letter-spacing: 0.08em;
  font-size: 28px;
  padding: 2px 8px;
  transform: rotate(-8deg) scale(1.4);
  animation: stamp 0.35s cubic-bezier(.2,1.6,.3,1) forwards;
  background: rgba(0, 0, 0, 0.35);
}
@keyframes stamp { to { transform: rotate(-8deg) scale(1); } }

.big-rank {
  font-family: var(--display);
  font-size: 108px;
  line-height: 0.8;
  margin: 0;
  background: linear-gradient(180deg, var(--acid), var(--heat));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.ladder { display: flex; gap: 6px; margin: 10px 0; }
.rung {
  flex: 1;
  text-align: center;
  border: 1px solid var(--line-2);
  padding: 6px 0;
  font-family: var(--display);
  font-size: 18px;
  color: var(--mute);
}
.rung.here { background: var(--rc, var(--acid)); color: #111; border-color: var(--rc, var(--acid)); }
button.rung { background: transparent; border-radius: 8px; min-height: 44px; cursor: pointer; }
button.rung.lock { color: #6B7280; }
button.rung:focus-visible { outline: 2px solid var(--acid); outline-offset: 2px; }
.rk-peek { position: relative; width: 150px; height: 150px; margin: 6px 0 0; border-radius: 16px; background: #0c0f0c; border: 1px solid var(--rc, var(--acid)); overflow: hidden; }
.rk-peek img { width: 100%; height: 100%; object-fit: cover; display: block; }
.rk-peek.lock { border-color: #3A3F4B; }
.rk-peek.lock img { filter: saturate(.55) brightness(.7); }
.rk-peek .rk-lock { position: absolute; right: 8px; bottom: 8px; display: inline-flex; align-items: center; gap: 4px; padding: 4px 8px; border-radius: 999px; font: 700 10px/1 var(--cond, inherit); letter-spacing: .08em; color: #F3F4F6; background: rgba(13,14,17,.85); border: 1px solid #3A3F4B; }
.rank-emblem { background: #0c0f0c; border: 1px solid var(--rc, var(--acid)); border-radius: 8px; overflow: hidden; }
.rank-emblem img { width: 100%; height: 100%; object-fit: cover; display: block; }
.big-rank-wrap { display: flex; align-items: center; gap: 14px; margin: 4px 0 8px; }
.big-emblem { width: 92px; height: 92px; object-fit: cover; border-radius: 14px; border: 1px solid var(--line-2); background: #0c0f0c; flex: none; }
.big-rank-wrap .big-rank { font-size: 44px; line-height: 0.9; background: linear-gradient(180deg, var(--rc, var(--acid)), #fff); -webkit-background-clip: text; background-clip: text; }
.bars { display: flex; align-items: flex-end; gap: 6px; height: 72px; margin: 8px 0 4px; }
.bars i {
  flex: 1;
  background: var(--acid);
  display: block;
  height: var(--h);
  transform-origin: bottom;
  animation: grow 0.5s cubic-bezier(.2,.8,.2,1) both;
}
@keyframes grow { from { transform: scaleY(0); } }

.bubble-list { display: flex; flex-direction: column; gap: 8px; padding-bottom: 8px; }
.bubble {
  max-width: 82%;
  padding: 10px 12px;
  border-radius: 4px 12px 12px 12px;
  background: var(--card-2);
  animation: rise 0.25s ease both;
}
.bubble.me {
  margin-left: auto;
  background: var(--acid);
  color: #111;
  border-radius: 12px 4px 12px 12px;
}
.bubble time { display: block; font-size: 11px; opacity: 0.6; margin-top: 4px; }
.composer {
  display: flex;
  gap: 8px;
  position: sticky;
  bottom: 0;
  background: linear-gradient(transparent, var(--ink) 30%);
  padding: 8px 0 4px;
}
.composer input { flex: 1; margin: 0; }
.quick { display: flex; gap: 6px; overflow-x: auto; margin-bottom: 8px; }
.quick button {
  flex: none;
  background: var(--card);
  border: 1px solid var(--line);
  color: var(--bone);
  border-radius: 99px;
  padding: 8px 10px;
  font-size: 13px;
}

.map {
  height: 220px;
  margin: 8px 0;
  background: #0c120e;
  border: 1px solid var(--line);
  position: relative;
  overflow: hidden;
}
.map svg { width: 100%; height: 100%; }
.route {
  fill: none;
  stroke: var(--acid);
  stroke-width: 1.4;
  stroke-dasharray: 80;
  stroke-dashoffset: 80;
  animation: draw 0.9s ease forwards 0.15s;
}
@keyframes draw { to { stroke-dashoffset: 0; } }
.step { display: flex; gap: 10px; margin: 8px 0; }
.step b {
  font-family: var(--display);
  color: var(--acid);
  font-size: 22px;
  width: 24px;
}

.field { margin-bottom: 10px; }
.field label {
  display: block;
  font-family: var(--cond);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 12px;
  color: var(--mute);
  margin-bottom: 4px;
}
.field input, .field select, .field textarea {
  width: 100%;
  background: var(--card);
  border: 1px solid var(--line-2);
  border-radius: 4px;
  padding: 12px;
  outline: none;
}
.field textarea { min-height: 72px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--acid); }

.toggle {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  background: var(--card);
  border: 1px solid var(--line-2);
  padding: 12px;
  margin-bottom: 8px;
  text-align: left;
}
.switch {
  width: 44px;
  height: 26px;
  border-radius: 99px;
  background: #333;
  position: relative;
  flex: none;
  transition: background 0.2s ease;
}
.switch i {
  position: absolute;
  top: 3px;
  left: 3px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: white;
  transition: transform 0.2s cubic-bezier(.2,.8,.2,1);
}
.switch.on { background: var(--acid); }
.switch.on i { transform: translateX(18px); background: #111; }

.sheet-root, .overlay-root, .toast-root { position: absolute; inset: 0; pointer-events: none; z-index: 20; }
.toast-root { z-index: 64; }
.overlay-root { z-index: 32; }
.sheet-root.on, .overlay-root.on { pointer-events: auto; }
.sheet-back, .overlay-back {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  animation: fade 0.2s ease;
}
@keyframes fade { from { opacity: 0; } }
.sheet-x {
  position: absolute; top: 8px; right: 8px;
  width: 34px; height: 34px; border-radius: 50%;
  display: grid; place-items: center;
  background: rgba(255,255,255,.06); color: #cfd8cc;
  border: 1px solid rgba(255,255,255,.12);
  font-size: 19px; line-height: 1; cursor: pointer;
  z-index: 3;
}
.sheet-x:hover, .sheet-x:focus-visible { color: #111; background: var(--acid); border-color: var(--acid); }
.sheet {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  background: #121612;
  border-top: 2px solid var(--acid);
  padding: 14px 16px calc(18px + env(safe-area-inset-bottom));
  transform: translateY(16px);
  animation: sheetIn 0.28s cubic-bezier(.2,.8,.2,1) forwards;
  max-height: 78%;
  overflow: auto;
}
@keyframes sheetIn { to { transform: none; } }
.sheet h3 { font-family: var(--display); font-size: 32px; margin: 0 0 6px; letter-spacing: 0.02em; }
.overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.82);
  display: grid;
  place-items: center;
  text-align: center;
  padding: 24px;
  animation: fade 0.2s ease;
}
.overlay .card {
  animation: slam 0.4s cubic-bezier(.2,1.4,.3,1);
}
@keyframes slam {
  from { transform: scale(1.3); opacity: 0; }
  to { transform: none; opacity: 1; }
}
.toast-root { display: flex; flex-direction: column; justify-content: flex-start; align-items: center; padding: 82px 12px 0; gap: 6px; }
.toast {
  pointer-events: none;
  max-width: 100%;
  background: var(--acid);
  color: #111;
  font-family: var(--cond);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-weight: 700;
  padding: 8px 12px;
  border-radius: 2px;
  text-align: center;
  animation: toast 1.8s ease forwards;
}
@keyframes toast {
  0% { transform: translateY(10px); opacity: 0; }
  12% { transform: none; opacity: 1; }
  78% { opacity: 1; }
  100% { opacity: 0; }
}

.hub {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}
.hub button {
  background: var(--card);
  border: 1px solid var(--line-2);
  min-height: 72px;
  text-align: left;
  padding: 10px;
  border-radius: 4px;
}
.hub button b { display: block; font-family: var(--cond); letter-spacing: 0.08em; text-transform: uppercase; }
.hub button span { color: var(--mute); font-size: 12px; }
.hub button:active { transform: scale(0.97); }

.empty { color: var(--mute); padding: 12px 0; }
.note {
  font-size: 13px;
  color: var(--mute);
  border-left: 3px solid var(--heat);
  padding-left: 8px;
  margin: 8px 0;
}
.pips { display: flex; gap: 3px; }
.pips i { width: 8px; height: 8px; border-radius: 50%; background: #333; display: block; }
.pips i.on { background: var(--acid); }
.stars button {
  width: 36px;
  height: 36px;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--mute);
}
.stars button.on { background: var(--gold); color: #111; border-color: var(--gold); }

.intro {
  position: absolute;
  inset: 0;
  z-index: 40;
  /* flat black: the logo still carries its own glow, and a matching backdrop
     means the picture never shows as a rectangle */
  /* exactly the black inside the still (6,6,6), so the picture never shows
     up as a slightly lighter square, and a soft mask feathers the JPEG edge */
  background: #050605;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 18px;
  cursor: pointer;
}
.intro p { letter-spacing: 0.4em; color: var(--heat); font-family: var(--cond); margin: 0; }
.intro strong {
  font-family: var(--display);
  font-size: clamp(52px, 16vw, 72px);
  letter-spacing: 0.02em;
  display: block;
  line-height: 0.85;
  animation: slam 0.45s cubic-bezier(.2,1.4,.3,1) both;
}
.intro em { color: var(--acid); font-style: normal; font-family: var(--cond); letter-spacing: 0.22em; }

.err {
  margin: 12px;
  border: 1px solid var(--heat);
  padding: 12px;
  color: white;
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
  }
}
@media (min-width: 900px) {
  body {
    background:
      radial-gradient(500px 300px at 70% 20%, rgba(255, 42, 18, 0.16), transparent 60%),
      #000;
  }
  .phone { height: min(100vh, 900px); height: min(100dvh, 900px); border-radius: 18px; }
}
.pf-card { position: relative; border: 1px solid var(--line); border-radius: 22px; background: linear-gradient(160deg, #141c13, #0a0e0a); padding: 16px; overflow: hidden; }
.pf-head { display: flex; gap: 14px; align-items: center; padding-right: 64px; }
.pf-av { position: relative; width: 76px; height: 76px; flex: 0 0 76px; border-radius: 18px; background: var(--acid); color: #111; display: grid; place-items: center; font-family: var(--display); font-size: 40px; overflow: visible; box-shadow: 0 10px 26px rgba(216, 255, 47, 0.25); }
.pf-av img { width: 100%; height: 100%; object-fit: cover; border-radius: 18px; }
.pf-av i { position: absolute; right: -4px; bottom: -4px; width: 18px; height: 18px; border-radius: 50%; background: #33e26a; border: 3px solid #0a0e0a; }
/* insta-story style add/change photo */
.pf-av.pf-av { overflow: visible; } /* shared .av rule below sets hidden; the + badge must hang outside */
.pf-plus { position: absolute; right: -6px; bottom: -6px; width: 26px; height: 26px; border-radius: 50%; background: var(--acid); color: #111; border: 3px solid #0a0e0a; font: 700 20px/1 var(--cond); display: grid; place-items: center; padding: 0 0 2px; cursor: pointer; box-shadow: 0 4px 12px rgba(0,0,0,.4); }
.pf-plus:active { transform: scale(0.92); }
.pf-id { min-width: 0; flex: 1; }
.pf-pid { margin: 0; display: flex; align-items: center; gap: 6px; font-family: var(--cond); color: var(--acid); letter-spacing: 0.12em; font-size: 13px; font-weight: 700; }
.pf-pid svg { width: 14px; height: 14px; stroke: var(--acid); fill: none; stroke-width: 2; }
.pf-name { margin: 2px 0; font-family: var(--display); font-size: 30px; line-height: 1.05; font-weight: 400; letter-spacing: 0.01em; color: var(--bone); text-transform: uppercase; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pf-rank { margin: 0; color: var(--mute); font-size: 14px; }
.pf-bar { margin-top: 16px; height: 8px; border-radius: 99px; background: #1a211a; overflow: hidden; }
.pf-bar i { display: block; height: 100%; background: linear-gradient(90deg, var(--acid), #7cff6b); border-radius: 99px; transition: width 1s cubic-bezier(0.2, 0.8, 0.2, 1); }
.pf-xp { text-align: right; color: var(--mute); font-size: 12px; margin-top: 6px; }
.pf-stats { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: 12px; border: 1px solid var(--line-2); border-radius: 16px; padding: 12px 4px; }
.pf-stats > div { text-align: center; position: relative; }
.pf-stats > div + div::before { content: ""; position: absolute; left: 0; top: 12%; bottom: 12%; width: 1px; background: var(--line-2); }
.pf-stats svg { width: 24px; height: 24px; stroke: var(--acid); fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.pf-stats b { display: block; font-family: var(--display); font-size: 28px; line-height: 1.15; font-weight: 400; color: var(--bone); }
.pf-stats span { font-family: var(--cond); font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--mute); }
.pf-edit, .pf-switch { width: 100%; display: flex; align-items: center; justify-content: center; gap: 10px; font-family: var(--cond); font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; cursor: pointer; transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s; }
.pf-edit { margin-top: 14px; border: 0; border-radius: 16px; padding: 16px; background: var(--acid); color: #111; font-size: 17px; }
.pf-edit svg { width: 20px; height: 20px; stroke: #111; fill: none; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.pf-switch { margin-top: 12px; border-radius: 16px; padding: 15px; background: #0a0e0a; border: 1px solid var(--acid); color: var(--bone); font-size: 15px; }
.pf-switch svg { width: 20px; height: 20px; }
.pf-edit:hover, .pf-switch:hover { transform: translateY(-2px); box-shadow: 0 12px 26px rgba(216, 255, 47, 0.18); }
.pf-edit:active, .pf-switch:active, .pf-tile:active { transform: scale(0.98); }
.pf-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 14px; }
.pf-tile { display: flex; align-items: center; gap: 12px; text-align: left; background: var(--card); border: 1px solid var(--line-2); border-radius: 18px; padding: 14px 12px; color: var(--bone); cursor: pointer; min-width: 0; transition: transform 0.2s, border-color 0.2s, box-shadow 0.2s; }
.pf-tile:hover { transform: translateY(-3px); border-color: color-mix(in srgb, var(--c) 55%, transparent); box-shadow: 0 14px 30px rgba(0, 0, 0, 0.35); }
.pf-tile > span:nth-child(2) { min-width: 0; flex: 1; }
.pf-tile b { display: block; font-family: var(--cond); letter-spacing: 0.08em; text-transform: uppercase; font-size: 16px; line-height: 1.2; }
.pf-tile .s { display: block; color: var(--mute); font-size: 12.5px; line-height: 1.3; margin-top: 2px; font-family: var(--body); letter-spacing: 0; text-transform: none; }
.pf-ic { flex: 0 0 46px; width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; background: color-mix(in srgb, var(--c) 16%, transparent); border: 1px solid color-mix(in srgb, var(--c) 40%, transparent); }
.pf-ic svg, .pf-tile .go { width: 22px; height: 22px; fill: none; stroke: var(--c); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.pf-tile .go { flex: 0 0 auto; stroke: var(--mute); width: 18px; height: 18px; }
@media (max-width: 340px) { .pf-grid { grid-template-columns: 1fr; } .pf-name { font-size: 26px; } }

/* ---- matches layout v2 (mockup) ---- */
.mc-hero { position: relative; overflow: hidden; border-radius: 22px; border: 1px solid var(--line); min-height: 196px; padding: 18px 18px 20px; display: flex; flex-direction: column; justify-content: flex-end; background: linear-gradient(95deg, rgba(5,6,5,0.94) 16%, rgba(5,6,5,0.45) 62%, rgba(5,6,5,0.15)), url(assets/hero.jpg) center 35% / cover, #050605; }
.mc-hero::after { content: ""; position: absolute; inset: 0; background: radial-gradient(260px 160px at 90% 0%, rgba(255, 42, 18, 0.22), transparent 70%); pointer-events: none; }
.mc-kick { margin: 0 0 4px; font-family: var(--cond); font-weight: 600; font-size: 14px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--acid); position: relative; z-index: 1; }
.mc-title { margin: 0; font-family: var(--display); font-weight: 400; font-size: clamp(44px, 13vw, 58px); line-height: 0.88; text-transform: uppercase; color: var(--bone); position: relative; z-index: 1; }
.mc-title em { font-style: normal; color: var(--acid); }
.mc-side { position: absolute; right: 14px; top: 16px; margin: 0; z-index: 1; text-align: right; font-family: var(--display); font-size: 22px; line-height: 0.92; text-transform: uppercase; color: var(--acid); transform: rotate(-8deg); text-shadow: 0 2px 10px rgba(0, 0, 0, 0.6); }

.mc-search { margin: 14px 0 12px; display: flex; align-items: center; gap: 10px; border: 1px solid var(--line-2); border-radius: 16px; background: var(--card); padding: 0 6px 0 14px; min-height: 52px; }
.mc-search:focus-within { border-color: var(--acid); }
.mc-search input { flex: 1; min-width: 0; border: 0; background: transparent; color: var(--bone); font: inherit; font-size: 15px; outline: none; padding: 12px 0; }
.mc-search input::placeholder { color: var(--mute); }
.mc-search > .mc-ic { width: 20px; height: 20px; stroke: var(--acid); flex: none; }
.mc-filter { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: #161d15; flex: none; }
.mc-filter .mc-ic { width: 20px; height: 20px; stroke: var(--acid); }

.mc-ic { width: 16px; height: 16px; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.chip { display: inline-flex; align-items: center; gap: 7px; }
.chip .mc-ic { width: 16px; height: 16px; }
.chip .mc-sp { width: 26px; height: 26px; margin: -4px 0 -4px -6px; }
.mc-chips { gap: 8px; }
.mc-chips.wrap { flex-wrap: wrap; overflow: visible; }
.mc-sp { width: 24px; height: 24px; border-radius: 50%; background: var(--c); display: grid; place-items: center; flex: none; }
.mc-sp svg { width: 15px; height: 15px; fill: none; stroke: #111; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.mc-live { width: 9px; height: 9px; border-radius: 50%; background: var(--heat); box-shadow: 0 0 0 3px rgba(255, 42, 18, 0.25); flex: none; }
.chip.on .mc-live { background: #111; box-shadow: none; }

.mc-create { position: relative; width: 100%; display: flex; align-items: center; justify-content: center; gap: 12px; margin: 14px 0 16px; padding: 16px 18px; border: 0; border-radius: 16px; background: var(--heat); color: #fff; font-family: var(--cond); font-weight: 700; font-size: 18px; letter-spacing: 0.14em; text-transform: uppercase; transition: transform 0.2s ease, box-shadow 0.2s ease; box-shadow: 0 10px 30px -12px rgba(255, 42, 18, 0.7); }
.mc-create:hover { transform: translateY(-2px); box-shadow: 0 16px 36px -12px rgba(255, 42, 18, 0.9); }
.mc-create:active { transform: scale(0.98); }
.mc-plus { width: 30px; height: 30px; border-radius: 50%; background: #fff; display: grid; place-items: center; flex: none; }
.mc-plus .mc-ic { width: 18px; height: 18px; stroke: var(--heat); stroke-width: 2.6; }
.mc-arrows { position: absolute; right: 18px; top: 50%; transform: translateY(-50%); display: grid; place-items: center; }
.mc-arrows .mc-ic { width: 20px; height: 20px; stroke: #fff; stroke-width: 2.2; }

.mc-list { display: block; margin-top: 0; }
.mc-card { position: relative; display: flex; gap: 12px; width: 100%; margin-bottom: 12px; padding: 10px; border: 1px solid var(--line-2); border-left: 3px solid var(--c); border-radius: 18px; background: linear-gradient(120deg, #141b13, #0a0e0a); color: var(--bone); text-align: left; transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease; animation: mc-rise 0.5s ease both; animation-delay: calc(var(--i, 0) * 70ms); }
.mc-card:hover { transform: translateY(-3px); border-color: var(--c); box-shadow: 0 14px 30px -16px var(--c); }
.mc-card:active { transform: scale(0.985); }
@keyframes mc-rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
.mc-thumb { position: relative; width: 116px; height: 112px; border-radius: 14px; overflow: hidden; flex: none; background: #0a0d0a; }
.mc-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.5s ease; }
.mc-card:hover .mc-thumb img { transform: scale(1.07); }
.mc-badge { position: absolute; left: 7px; bottom: 7px; width: 28px; height: 28px; border-radius: 50%; background: var(--c); display: grid; place-items: center; }
.mc-badge svg { width: 16px; height: 16px; fill: none; stroke: #111; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.mc-body { display: flex; flex-direction: column; gap: 5px; min-width: 0; flex: 1; }
.mc-top { display: flex; justify-content: space-between; align-items: center; gap: 6px; min-width: 0; }
.mc-sport { font-family: var(--cond); font-size: 12px; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--c); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mc-pill { display: inline-flex; align-items: center; gap: 5px; padding: 4px 8px; border-radius: 99px; border: 1px solid var(--line-2); color: var(--mute); font-family: var(--cond); font-size: 11px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; white-space: nowrap; flex: none; }
.mc-pill .mc-ic { width: 12px; height: 12px; }
.mc-pill.live { background: var(--heat); border-color: var(--heat); color: #fff; }
.mc-pill.live i { width: 6px; height: 6px; border-radius: 50%; background: #fff; }
.mc-pill.soon { background: var(--acid); border-color: var(--acid); color: #111; }
.mc-name { font-size: 17px; line-height: 1.15; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mc-row { display: flex; align-items: center; gap: 6px; min-width: 0; color: var(--mute); font-size: 13px; }
.mc-row > span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mc-row .mc-ic { width: 14px; height: 14px; stroke: var(--acid); }
.mc-foot { margin-top: auto; display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.mc-pips { display: inline-flex; flex-wrap: wrap; gap: 3px; }
.mc-pips i { width: 9px; height: 9px; border-radius: 3px; background: #2a322a; }
.mc-pips i.on { background: var(--acid); }
.mc-count { font-family: var(--cond); font-weight: 700; font-size: 14px; color: var(--bone); letter-spacing: 0.04em; }

@media (prefers-reduced-motion: reduce) {
  .mc-card, .mc-create, .mc-thumb img { animation: none; transition: none; }
}

/* ---- badges layout v2 (mockup) ---- */
.bd-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; margin: 6px 0 16px; }
.bd-kick { margin: 0; font-family: var(--cond); font-weight: 600; font-size: 13px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--acid); }
.bd-title { margin: 2px 0 0; font-family: var(--display); font-weight: 400; font-size: clamp(46px, 14vw, 58px); line-height: 0.9; text-transform: uppercase; color: var(--bone); }
.bd-keep { position: relative; display: flex; flex-direction: column; align-items: center; gap: 2px; padding-top: 4px; transform: rotate(6deg); }
.bd-keep svg { width: 26px; height: 26px; fill: none; stroke: var(--acid); stroke-width: 2; stroke-linejoin: round; opacity: 0.85; }
.bd-keep em { font-style: normal; font-family: var(--display); font-size: 20px; line-height: 0.9; text-transform: uppercase; color: var(--acid); opacity: 0.85; text-align: center; }

.bd-seg { display: grid; grid-template-columns: repeat(3, 1fr); padding: 4px; margin-bottom: 16px; border: 1px solid var(--line-2); border-radius: 16px; background: #0d120d; }
.bd-seg-btn { display: flex; align-items: center; justify-content: center; gap: 7px; min-height: 46px; padding: 8px 4px; border: 0; border-radius: 12px; background: transparent; color: var(--bone); font-family: var(--cond); font-weight: 700; font-size: 14px; letter-spacing: 0.08em; text-transform: uppercase; transition: background 0.2s ease, color 0.2s ease; }
.bd-seg-btn.on { background: var(--acid); color: #111; }
.bd-seg-btn b { min-width: 22px; height: 22px; padding: 0 6px; border-radius: 99px; display: inline-grid; place-items: center; background: var(--acid); color: #111; font-size: 12px; font-weight: 700; }
.bd-seg-btn b.grey { background: #8a918a; color: #111; }
.bd-seg-btn.on b { background: #111; color: var(--acid); }
.bd-seg-btn.on b.grey { background: #111; color: #cfd4cf; }

.bd-list { display: block; }
.bd-card { position: relative; display: flex; align-items: center; gap: 14px; margin-bottom: 12px; padding: 14px; border: 1px solid #242b24; border-radius: 18px; background: #0d120d; overflow: hidden; transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease; animation: bd-rise 0.45s ease both; animation-delay: calc(var(--i, 0) * 60ms); }
.bd-card:hover { transform: translateY(-2px); }
@keyframes bd-rise { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
.bd-card.ok { border-color: var(--acid); background: linear-gradient(100deg, #15220f, #0b110a 70%); box-shadow: 0 0 0 1px rgba(216, 255, 47, 0.08), 0 12px 28px -18px var(--acid); }
.bd-card.ok:hover { box-shadow: 0 0 0 1px rgba(216, 255, 47, 0.2), 0 16px 34px -16px var(--acid); }
.bd-card.ok::after { content: ""; position: absolute; right: 16px; bottom: 12px; width: 64px; height: 22px; pointer-events: none; background: linear-gradient(120deg, transparent 38%, var(--acid) 38% 42%, transparent 42% 52%, var(--acid) 52% 56%, transparent 56%); opacity: 0.55; }

.bd-ico { position: relative; flex: none; width: 66px; height: 66px; display: grid; place-items: center; }
.bd-hex { width: 66px; height: 66px; display: grid; place-items: center; clip-path: polygon(50% 0, 93% 25%, 93% 75%, 50% 100%, 7% 75%, 7% 25%); background: #3a403a; }
.bd-card.ok .bd-hex { background: var(--acid); }
.bd-hex svg { width: 30px; height: 30px; fill: none; stroke: #9aa19a; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.bd-card.ok .bd-hex svg { stroke: #111; fill: #111; fill-opacity: 0.12; }
.bd-hex svg text { fill: #9aa19a; }
.bd-card.ok .bd-hex svg text { fill: #111; }
.bd-check { position: absolute; left: -2px; bottom: -2px; width: 24px; height: 24px; border-radius: 50%; background: var(--acid); border: 2px solid #0b110a; display: grid; place-items: center; }
.bd-check svg { width: 13px; height: 13px; fill: none; stroke: #111; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }

.bd-info { display: flex; flex-direction: column; gap: 3px; min-width: 0; flex: 1; position: relative; z-index: 1; }
.bd-info strong { font-size: 18px; font-weight: 600; color: var(--bone); line-height: 1.15; }
.bd-info > small { color: var(--mute); font-size: 14px; line-height: 1.3; }
.bd-card.ok .bd-info > small { color: #c9d6b8; }
.bd-card.locked .bd-info strong { color: #cfd4cf; }
.bd-tag { display: inline-block; width: fit-content; margin-top: 4px; padding: 4px 10px; border-radius: 99px; border: 1px solid rgba(216, 255, 47, 0.35); background: rgba(216, 255, 47, 0.1); color: var(--acid); font-size: 12px; line-height: 1.3; }
.bd-prog { display: flex; align-items: center; gap: 8px; margin-top: 6px; }
.bd-bar { flex: 1; height: 6px; border-radius: 99px; background: #252b25; overflow: hidden; }
.bd-bar i { display: block; height: 100%; border-radius: inherit; background: var(--acid); transition: width 0.6s ease; }
.bd-prog b { font-family: var(--cond); font-size: 13px; color: var(--acid); letter-spacing: 0.04em; white-space: nowrap; }

.bd-lock { flex: none; width: 40px; height: 40px; border-radius: 50%; background: #2a2f2a; display: grid; place-items: center; position: relative; z-index: 1; }
.bd-lock svg { width: 18px; height: 18px; fill: none; stroke: #9aa19a; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

.bd-foot { position: relative; margin: 18px 0 4px; text-align: center; font-family: var(--cond); font-size: 12px; font-weight: 600; letter-spacing: 0.24em; text-transform: uppercase; color: var(--acid); opacity: 0.85; }
.bd-foot::before, .bd-foot::after { content: ""; display: inline-block; vertical-align: middle; width: 36px; height: 1px; background: var(--acid); opacity: 0.6; margin: 0 10px; }

@media (prefers-reduced-motion: reduce) {
  .bd-card { animation: none; transition: none; }
}

/* ---- UX pass: consistency, contrast, empty states, nav label ---- */
:root { --mute: #a9b3a6; }
.chip { font-size: 14px; }
.mc-pill { font-size: 12px; }
.mc-row { font-size: 14px; }
.mc-sport { font-size: 13px; }
.mc-count { font-size: 15px; }
.bd-tag { font-size: 13px; }
.bd-prog b { font-size: 14px; }
.bd-seg-btn { font-size: 15px; }
.mc-kick { font-size: 15px; }

.mc-filter { border: 0; cursor: pointer; transition: background 0.2s ease; }
.mc-filter.open { background: var(--acid); }
.mc-filter.open .mc-ic { stroke: #111; }
.mc-filter:active { transform: scale(0.94); }
.mc-filter:focus-visible, .mc-create:focus-visible, .chip:focus-visible, .bd-seg-btn:focus-visible, .mc-card:focus-visible { outline: 2px solid var(--acid); outline-offset: 2px; }

.h-scroll > .mc-card { flex: 0 0 84%; margin-bottom: 0; scroll-snap-align: start; }

.mc-empty { text-align: center; padding: 28px 16px; border: 1px dashed var(--line); border-radius: 18px; color: var(--mute); }
.mc-empty p { margin: 0 0 14px; font-size: 15px; }
.mc-empty-btns { display: flex; flex-direction: column; gap: 10px; }


/* ---- city / location (profile + sheet) ---- */
.loc-card { width: 100%; display: flex; align-items: center; gap: 12px; margin: 0 0 12px; padding: 14px; border: 1px solid var(--line-2); border-radius: 18px; background: #0d120d; color: var(--bone); text-align: left; cursor: pointer; transition: border-color 0.2s ease, transform 0.2s ease; }
.loc-card:hover { border-color: var(--acid); transform: translateY(-1px); }
.loc-card:active { transform: scale(0.99); }
.loc-ico { width: 40px; height: 40px; border-radius: 12px; background: rgba(216, 255, 47, 0.1); display: grid; place-items: center; flex: none; }
.loc-ico svg { width: 20px; height: 20px; stroke: var(--acid); fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.loc-txt { display: flex; flex-direction: column; gap: 2px; min-width: 0; flex: 1; }
.loc-txt small { color: var(--mute); font-family: var(--cond); font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; }
.loc-txt strong { font-size: 16px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.loc-txt em { font-style: normal; color: var(--mute); font-size: 13px; }
.loc-chg { font-family: var(--cond); font-weight: 700; font-size: 13px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--acid); flex: none; }

.city-list { display: flex; flex-direction: column; gap: 8px; margin-top: 12px; max-height: 52vh; overflow-y: auto; }
.city-row { display: flex; justify-content: space-between; align-items: center; gap: 10px; width: 100%; padding: 12px 14px; border: 1px solid var(--line-2); border-radius: 14px; background: #0d120d; color: var(--bone); text-align: left; cursor: pointer; transition: border-color 0.2s ease; }
.city-row:hover { border-color: var(--acid); }
.city-row.on { border-color: var(--acid); background: #15200f; }
.city-row strong { display: block; font-size: 16px; font-weight: 600; }
.city-row small { color: var(--mute); font-size: 13px; }
.city-tag { font-family: var(--cond); font-size: 12px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; padding: 5px 10px; border-radius: 99px; border: 1px solid var(--line-2); color: var(--mute); flex: none; }
.city-tag.live { background: var(--acid); border-color: var(--acid); color: #111; }

/* ============================================================
   22 Oct fixes — targeted, no redesign
   ============================================================ */

/* bug 6 — the bar keeps its own surface, so scrolled content can
   never show through behind the CONXECT wordmark. Default focus
   rings are gone; only keyboard users see an outline. */
.bar {
  position: relative;
  z-index: 6;
  background: linear-gradient(180deg, #050605 0%, #050605 74%, rgba(5, 6, 5, 0) 100%);
}
.view { padding-top: 6px; scroll-padding-top: 6px; }
button:focus, a:focus, input:focus, select:focus, textarea:focus { outline: none; }
button:focus-visible, a:focus-visible { outline: 2px solid var(--acid); outline-offset: 2px; border-radius: 10px; }

/* bug 7 — chip rows scroll to the edge with a fade hint instead of
   a hard cut on the last chip. */
.chips {
  position: relative;
  margin-right: -16px;
  padding-right: 20px;
  scrollbar-width: none;
  scroll-padding-right: 28px;
}
/* the fade only lives at the edge while there is more row to scroll */
.chips::after {
  content: "";
  position: sticky;
  right: 0;
  flex: 0 0 26px;
  align-self: stretch;
  margin-left: -26px;
  pointer-events: none;
  background: linear-gradient(90deg, rgba(5, 6, 5, 0), #050605 82%);
}
.chips::-webkit-scrollbar { height: 0; }

/* bug 8 — ground name truncates, the time never does. */
.mc-row-where .mc-g { flex: 0 1 auto; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mc-row-where .mc-sep { flex: none; overflow: visible; color: rgba(243, 239, 230, 0.38); }
.mc-row-where .mc-t { flex: none; overflow: visible; white-space: nowrap; color: var(--bone); }

/* bug 3 — a full sheet says FULL and steps back. */
/* the card's entrance animation owns its own opacity, so the step-back is
   applied to the insides instead of the card box */
.mc-card.is-full .mc-body, .mc-card.is-full .mc-thumb { opacity: 0.8; }
.mc-card.is-full:hover .mc-body, .mc-card.is-full:hover .mc-thumb { opacity: 1; }
.mc-card.is-full .mc-thumb img { filter: saturate(0.65); }
.mc-card.is-full { border-left-color: rgba(255, 255, 255, 0.28); }
.mc-pill.full {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.24);
  color: #e2e8de;
}

/* bug 5 — sport plate under every thumb, so a missing photo can
   never leave a blank gradient. */
.mc-fb {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  background: radial-gradient(120% 120% at 28% 18%, color-mix(in srgb, var(--c) 62%, #0b0f0b), #0a0d0a 78%);
}
.mc-fb svg {
  width: 54px;
  height: 54px;
  fill: none;
  stroke: color-mix(in srgb, var(--c) 82%, #fff);
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
  opacity: 0.6;
}
.mc-thumb img { position: relative; z-index: 1; }

/* bug 1 — rows land one after another, but the text is real from the
   first frame. No skeleton can survive a re-render. */
.pc {
  animation: pc-in 0.38s cubic-bezier(0.2, 0.8, 0.2, 1) both;
  animation-delay: calc(var(--i, 0) * 55ms);
}
@keyframes pc-in {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: none; }
}

/* bug 9 — toggle label and helper text at readable size and contrast. */
.toggle b {
  font-family: var(--cond);
  font-weight: 700;
  font-size: 16.5px;
  letter-spacing: 0.03em;
  color: var(--bone);
}
.toggle small, .toggle .muted {
  font-size: 13.5px;
  line-height: 1.35;
  color: #c6d1c2;
}

/* profile tiles — owner's redesign: rounded square, acid outline glow, acid line icon */
.pf-ic {
  flex: 0 0 46px;
  width: 46px;
  height: 46px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  position: relative;
  color: var(--c);
  background: #0b0e0b;
  border: 1.5px solid var(--c);
  box-shadow: 0 0 0 1px rgba(216, 255, 47, 0.12), 0 0 14px rgba(216, 255, 47, 0.35);
  transition: transform 0.25s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.25s ease;
}
.pf-ic::after { content: none; }
.pf-ic svg {
  position: relative;
  z-index: 1;
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.pf-ic svg .duo { fill: currentColor; stroke: none; opacity: 0.26; }
.pf-ic svg .hi { stroke-width: 2; }
.pf-tile:hover .pf-ic { transform: translateY(-1px) scale(1.05); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.14), 0 14px 26px -14px var(--c); }
.pf-tile:active .pf-ic { transform: scale(0.97); }

/* profile identity — the account email sits next to the player id, and a
   missing name gets a clear way to fix it instead of a made-up one. */
.pf-mail {
  display: inline-block;
  margin-left: 6px;
  font-style: normal;
  font-family: var(--body);
  letter-spacing: 0;
  text-transform: none;
  font-size: 11.5px;
  color: var(--mute);
  max-width: 15ch;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  vertical-align: bottom;
}
.pf-setname {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin: 2px 0 2px;
  padding: 5px 10px;
  border-radius: 999px;
  border: 1px solid rgba(216, 255, 47, 0.45);
  background: rgba(216, 255, 47, 0.1);
  color: var(--acid);
  font-family: var(--cond);
  font-size: 12.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
}
.pf-setname:active { transform: scale(0.97); }
.pf-pid { white-space: nowrap; }
.pf-mail2 {
  margin: -2px 0 3px;
  font-size: 11.5px;
  letter-spacing: 0.02em;
  color: var(--mute);
  max-width: 26ch;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.pf-sync {
  width: 100%;
  margin-top: 8px;
  padding: 11px;
  border-radius: 12px;
  background: none;
  border: 1px dashed rgba(243, 239, 230, 0.22);
  color: var(--mute);
  font-family: var(--cond);
  font-size: 13px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
}
.pf-sync:active { transform: scale(0.99); color: var(--acid); border-color: var(--acid); }

/* The preview host pins a "made with previewship" chip at z-index 2147483647 in
   the bottom-right corner, right on top of the You tab. Real taps landed on that
   link instead of the dock, so the profile tab looked dead. */
#ps-badge, a#ps-badge { display: none !important; pointer-events: none !important; }

/* typing indicator: broadcast only, never saved */
.typing { margin: 0 0 6px; color: var(--acid); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; }
.typing[hidden] { display: none; }
/* phone alerts toggle on the alerts screen */
.pf-push { margin-top: 10px; }

/* per-sport ranks on the profile card */
.rr { display: grid; gap: 8px; margin: 6px 0 14px; }
.rr-main { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border: 1px solid rgba(216,255,47,0.35); border-radius: 16px; background: rgba(216,255,47,0.06); }
.rr-main-text { display: grid; gap: 2px; }
.rr-main-text b { font-size: 13px; letter-spacing: 0.04em; }
.rr-main-text small { color: var(--muted); font-size: 11px; }
.rr-row { display: grid; grid-template-columns: 1fr 74px auto; align-items: center; gap: 10px; padding: 9px 12px; border: 1px solid rgba(255,255,255,0.08); border-radius: 14px; }
.rr-sport { display: grid; gap: 2px; font-size: 13px; }
.rr-sport small { color: var(--muted); font-size: 11px; }
.rr-bar { height: 6px; border-radius: 99px; background: rgba(255,255,255,0.1); overflow: hidden; }
.rr-bar i { display: block; height: 100%; width: var(--w, 0%); background: var(--acid); border-radius: 99px; }
.rr-learn { display: grid; gap: 2px; padding: 10px 12px; border-radius: 14px; background: rgba(126,224,255,0.08); border: 1px solid rgba(126,224,255,0.28); }
.rr-learn b { font-size: 12.5px; }
.rr-learn small { color: var(--muted); font-size: 11px; }

/* learning module cards */
.ln-card { border: 1px solid rgba(255,255,255,0.09); border-radius: 18px; padding: 14px; margin-bottom: 12px; background: rgba(255,255,255,0.02); }
.ln-top { display: flex; align-items: center; gap: 8px; }
.ln-top strong { flex: 1; font-size: 14.5px; }
.ln-kind { font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--acid); border: 1px solid rgba(216,255,47,0.4); border-radius: 99px; padding: 3px 8px; }
.ln-time { font-size: 11px; color: var(--muted); }
.ln-sport { margin: 6px 0 8px; font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
.ln-points { margin: 0 0 12px; padding-left: 16px; display: grid; gap: 6px; }
.ln-points li { font-size: 12.5px; line-height: 1.45; color: rgba(244,241,234,0.86); }

/* ---------- chat: Instagram habits, pinned composer ---------- */
.view.is-chat { display: flex; flex-direction: column; overflow: hidden; padding-bottom: 0; }
.view.is-chat .screen { display: flex; flex-direction: column; flex: 1; min-height: 0; }
.chat-wrap { display: flex; flex-direction: column; flex: 1; min-height: 0; }
.chat-wrap .bubble-list { flex: 1; min-height: 0; overflow-y: auto; overscroll-behavior: contain; padding: 4px 0 10px; }
.chat-wrap .composer {
  position: static;
  flex: none;
  margin-top: auto;
  padding: 10px 0 calc(10px + env(safe-area-inset-bottom));
  background: var(--ink);
  border-top: 1px solid rgba(255,255,255,0.07);
}

.cr { display: flex; align-items: flex-end; gap: 8px; margin-top: 2px; }
.cr.me { flex-direction: row-reverse; }
.cr.first { margin-top: 12px; }
.cr-av {
  width: 28px; height: 28px; flex: none; border-radius: 50%;
  display: grid; place-items: center;
  background: rgba(216,255,47,0.16); color: var(--acid);
  font-family: var(--cond); font-size: 11px; letter-spacing: 0.04em;
  visibility: hidden;
}
.cr.first.them .cr-av { visibility: visible; }
.cr-body { display: flex; flex-direction: column; max-width: 76%; }
.cr.me .cr-body { align-items: flex-end; }
.cr-name { font-family: var(--cond); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--mute); margin: 0 0 3px 2px; }
.cr-bub {
  padding: 9px 13px;
  font-size: 14px;
  line-height: 1.4;
  border-radius: 16px;
  background: var(--card-2);
  color: var(--bone);
  word-break: break-word;
  white-space: pre-wrap;
}
.cr.them .cr-bub { border-bottom-left-radius: 6px; }
.cr.them.first .cr-bub { border-top-left-radius: 16px; }
.cr.me .cr-bub { background: var(--acid); color: #111; border-bottom-right-radius: 6px; }
.cr.them + .cr.them .cr-bub { border-top-left-radius: 6px; }
.cr.me + .cr.me .cr-bub { border-top-right-radius: 6px; }
.cr-time { font-size: 11px; color: var(--mute); margin-top: 4px; padding: 0 4px; }

/* ---------- first-run tour ---------- */
/* the tour is a spotlight: the dim is the ring's shadow, so the pointed-at
   control stays tappable and the tap is what moves the guide forward */
.tour { position: absolute; inset: 0; z-index: 70; display: none; pointer-events: none; }
.tour.on { display: block; }
.tour-ring {
  position: absolute; border-radius: 18px; border: 2px solid var(--acid);
  box-shadow: 0 0 0 9999px rgba(4,5,4,0.78), 0 0 22px rgba(216,255,47,0.45);
  opacity: 0; transition: left .22s ease, top .22s ease, width .22s ease, height .22s ease, opacity .2s ease;
  animation: tourPulse 1.6s ease-in-out infinite;
}
.tour-ring.on { opacity: 1; }
@keyframes tourPulse {
  0%, 100% { box-shadow: 0 0 0 9999px rgba(4,5,4,0.78), 0 0 14px rgba(216,255,47,0.35); }
  50% { box-shadow: 0 0 0 9999px rgba(4,5,4,0.82), 0 0 26px rgba(216,255,47,0.7); }
}
.tour-card {
  position: absolute; left: 16px; right: 16px; bottom: 90px; pointer-events: auto;
  border-radius: 22px; padding: 18px 18px 14px; background: var(--card);
  border: 1px solid rgba(216,255,47,0.35); box-shadow: 0 18px 40px rgba(0,0,0,0.5);
  animation: tourIn .22s ease both;
}
@keyframes tourIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.tour-hint { flex: 1; display: grid; place-items: center; font-family: var(--cond); font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--acid); }
.tour-count { margin: 0; font-family: var(--cond); font-size: 11px; letter-spacing: 0.2em; color: var(--acid); }
.tour-title { margin: 6px 0 8px; font-family: var(--display); font-size: 26px; line-height: 1.1; color: var(--bone); text-transform: uppercase; }
.tour-d { margin: 0 0 16px; font-size: 13.5px; line-height: 1.5; color: rgba(244,241,234,0.8); }
.tour-btns { display: flex; gap: 8px; }
.tour-btns .btn { flex: 1; }
.tour-dots { display: flex; gap: 6px; justify-content: center; margin-top: 14px; }
.tour-dots i { width: 6px; height: 6px; border-radius: 50%; background: rgba(255,255,255,0.18); }
.tour-dots i.on { background: var(--acid); }

/* city card when nothing is picked yet */
.loc-card.need { border-color: rgba(216,255,47,0.5); background: rgba(216,255,47,0.08); }

/* ============================================================
   Places — one source for city -> area -> ground
   ============================================================ */
.city-list { max-height: 56vh; }
.city-row .city-tag { font-size: 11px; letter-spacing: 0.08em; text-transform: none; }
.city-row[data-action="townSet"] .city-tag { color: var(--mute); }
.loc-card.need { border-color: var(--heat); }

/* ============================================================
   Grounds: real photos, size, a small map. No hosting needed.
   ============================================================ */
.gallery { position: relative; margin: -14px -14px 12px; }
.g-track { display: flex; gap: 8px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 0 14px 4px; -webkit-overflow-scrolling: touch; scrollbar-width: none; }
.g-track::-webkit-scrollbar { display: none; }
.g-slide { flex: 0 0 86%; margin: 0; scroll-snap-align: center; border-radius: 16px; overflow: hidden; background: #14120c; aspect-ratio: 4 / 3; }
.g-slide img { width: 100%; height: 100%; object-fit: cover; display: block; }
.g-count { position: absolute; right: 16px; bottom: 10px; font-family: var(--cond); font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; background: rgba(0,0,0,0.66); color: var(--bone); padding: 4px 8px; border-radius: 99px; }
.g-credit { margin: 0 0 10px; font-size: 11px; color: var(--mute); }
.g-empty { margin: -14px -14px 12px; padding: 22px 16px; border-radius: 0 0 16px 16px; background: #10160f; border-bottom: 1px solid var(--line-2); }
.g-empty b { font-family: var(--cond); font-size: 13px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--bone); }
.g-empty p { margin: 6px 0 0; font-size: 12.5px; color: var(--mute); line-height: 1.45; }
.g-facts { display: flex; flex-direction: column; gap: 8px; margin: 12px 0; }
.g-fact { display: flex; flex-direction: column; gap: 3px; padding: 10px 12px; border-radius: 12px; background: #0d120d; border: 1px solid var(--line-2); }
.g-fact small { font-family: var(--cond); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--mute); }
.g-fact b { font-size: 13.5px; font-weight: 600; color: var(--bone); line-height: 1.4; }
.mini-map-wrap { margin: 6px 0 14px; }
.mini-map { border-radius: 14px; overflow: hidden; border: 1px solid var(--line-2); background: #0b100b; }
.mini-map svg { display: block; width: 100%; height: 132px; }
.mini-map-link { display: inline-block; margin-top: 8px; font-family: var(--cond); font-size: 11.5px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--acid); text-decoration: none; }
.v-card { position: relative; }
.v-card .ph { flex: none; width: 74px; height: 74px; border-radius: 12px; background-size: cover; background-position: center; display: block; }
.v-count { position: absolute; left: 62px; top: 6px; background: rgba(0,0,0,0.72); color: var(--acid); font-family: var(--cond); font-size: 11px; padding: 1px 5px; border-radius: 99px; }
.v-size { display: block; margin-top: 3px; font-size: 11.5px; color: rgba(244,241,234,0.62); line-height: 1.35; }
.strip { margin: 0 -14px 14px; }
.strip-track { display: flex; gap: 8px; overflow-x: auto; padding: 0 14px 6px; scroll-snap-type: x mandatory; scrollbar-width: none; }
.strip-track::-webkit-scrollbar { display: none; }
.strip-slide { flex: 0 0 44%; padding: 0; border: 0; background: none; border-radius: 14px; overflow: hidden; scroll-snap-align: start; aspect-ratio: 3 / 4; cursor: pointer; }
.strip-slide img { width: 100%; height: 100%; object-fit: cover; display: block; }
.strip-kicker { margin: 2px 14px 0; font-family: var(--cond); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--mute); }
.rev-box { margin-top: 14px; padding: 14px; border-radius: 16px; background: #0d120d; border: 1px solid var(--line-2); }
.rev-box b { font-family: var(--cond); font-size: 13px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--bone); }
.rev-box p { margin: 6px 0 12px; font-size: 12.5px; color: var(--mute); line-height: 1.45; }
.rate-row { display: flex; gap: 8px; margin: 10px 0 6px; }
.rate-btn { flex: 1; padding: 14px 0; border-radius: 12px; border: 1px solid var(--line-2); background: #0d120d; color: var(--bone); font-family: var(--display); font-size: 20px; cursor: pointer; }
.rate-btn:hover, .rate-btn:focus-visible { border-color: var(--acid); color: var(--acid); }

/* permission disclaimer, one row per thing we can ask for */
.perm-row { padding: 10px 0; border-bottom: 1px solid var(--line-2); }
.perm-row:last-of-type { border-bottom: 0; }
.perm-row b { display: block; font-family: var(--cond); font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--acid); }
.perm-row p { margin: 4px 0 0; font-size: 13px; line-height: 1.45; color: rgba(244,241,234,0.82); }

/* home actions: coloured host row, four tinted tiles, one chat row */
.hm-host { position: relative; display: flex; align-items: center; gap: 12px; width: 100%; margin: 14px 0 10px; padding: 14px; border-radius: 17px; border: 1px solid rgba(255, 42, 18, 0.55); background: radial-gradient(120% 160% at 0% 0%, rgba(255, 42, 18, 0.34) 0%, rgba(255, 42, 18, 0.06) 45%, rgba(20, 24, 18, 0.9) 100%), linear-gradient(120deg, #22120f, #14180f); color: var(--bone); text-align: left; overflow: hidden; transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease; box-shadow: 0 12px 30px -20px rgba(255, 42, 18, 0.9); }
.hm-host::after { content: ""; position: absolute; inset: 0; background-image: repeating-linear-gradient(115deg, rgba(255, 255, 255, 0.05) 0 2px, transparent 2px 9px); pointer-events: none; }
.hm-host:active { transform: scale(0.985); border-color: var(--heat); }
.hm-host-ic { position: relative; width: 38px; height: 38px; border-radius: 13px; background: linear-gradient(150deg, #ff5a3c, var(--heat)); display: grid; place-items: center; flex: none; box-shadow: 0 6px 16px -8px rgba(255, 42, 18, 0.95); }
.hm-host-ic .mc-ic { width: 19px; height: 19px; stroke: #fff; stroke-width: 2.8; }
.hm-host-txt { position: relative; display: grid; gap: 3px; min-width: 0; }
.hm-host-txt b { font-family: var(--cond); font-size: 16px; letter-spacing: 0.1em; text-transform: uppercase; }
.hm-host-txt small { color: rgba(255, 214, 208, 0.72); font-size: 11px; }
.hm-host-go { position: relative; margin-left: auto; opacity: 0.6; }
.hm-host-go .mc-ic { width: 18px; height: 18px; stroke: var(--heat-soft, #ff8a6b); stroke-width: 2.4; }

.hm-tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 9px; }
.hm-tiles button { position: relative; display: grid; gap: 7px; padding: 13px 12px 12px; border-radius: 15px; text-align: left; color: var(--bone); overflow: hidden; border: 1px solid color-mix(in srgb, var(--c) 38%, transparent); background: radial-gradient(140% 120% at 0% 0%, color-mix(in srgb, var(--c) 26%, transparent) 0%, transparent 62%), linear-gradient(160deg, #161c13, #10140f); transition: transform 0.15s ease, border-color 0.15s ease; }
.hm-tiles button:active { transform: scale(0.972); border-color: var(--c); }
.hm-wm { position: absolute; right: -8px; bottom: -12px; opacity: 0.12; pointer-events: none; }
.hm-wm .mc-ic { width: 74px; height: 74px; stroke: var(--c); stroke-width: 1.4; fill: none; }
.hm-ic { position: relative; width: 32px; height: 32px; border-radius: 10px; display: grid; place-items: center; background: var(--c); box-shadow: 0 6px 14px -10px var(--c); }
.hm-ic .mc-ic { width: 17px; height: 17px; stroke: #10140f; stroke-width: 2.3; fill: none; }
.hm-tiles b { position: relative; font-family: var(--cond); font-size: 14.5px; letter-spacing: 0.07em; text-transform: uppercase; }
.hm-tiles small { position: relative; margin-top: -5px; font-size: 11px; color: color-mix(in srgb, var(--c) 62%, #f4f1ea); }

.hm-row { position: relative; display: flex; align-items: center; gap: 10px; width: 100%; margin-top: 9px; padding: 11px 13px; border-radius: 14px; color: var(--bone); text-align: left; overflow: hidden; border: 1px solid color-mix(in srgb, var(--c) 34%, transparent); background: radial-gradient(130% 160% at 0% 50%, color-mix(in srgb, var(--c) 20%, transparent) 0%, transparent 60%), linear-gradient(120deg, #171a16, #11140f); }
.hm-row:active { border-color: var(--c); }
.hm-row-ic { flex: none; width: 30px; height: 30px; border-radius: 10px; display: grid; place-items: center; background: var(--c); }
.hm-row-ic .mc-ic { width: 16px; height: 16px; stroke: #10140f; stroke-width: 2.2; fill: none; }
.hm-row b { font-family: var(--cond); font-size: 14.5px; letter-spacing: 0.07em; text-transform: uppercase; }
.hm-row small { font-size: 11px; color: color-mix(in srgb, var(--c) 60%, #f4f1ea); }
.hm-row-go { margin-left: auto; opacity: 0.55; }
.hm-row-go .mc-ic { width: 16px; height: 16px; stroke: var(--c); stroke-width: 2.4; }

/* learning dropdown */
.rr-learn-wrap { margin-top: 10px; }
.rr-learn { display: flex; align-items: center; gap: 10px; width: 100%; text-align: left; color: var(--bone); cursor: pointer; }
.rr-learn-txt { display: grid; gap: 2px; min-width: 0; }
.rr-caret { margin-left: auto; display: grid; place-items: center; opacity: 0.7; transition: transform 0.2s ease; }
.rr-caret .mc-ic { width: 15px; height: 15px; stroke: #7ee0ff; stroke-width: 2.2; fill: none; transform: rotate(90deg); transition: transform 0.2s ease; }
.rr-caret.open .mc-ic { transform: rotate(-90deg); }
.rr-learn-list { display: grid; gap: 6px; margin-top: 10px; }
.rr-learn-item { display: flex; align-items: center; gap: 10px; width: 100%; padding: 10px 12px; border-radius: 11px; background: rgba(255, 255, 255, 0.04); border: 1px solid rgba(255, 255, 255, 0.09); color: var(--bone); text-align: left; }
.rr-learn-item:active { background: rgba(126, 224, 255, 0.12); border-color: rgba(126, 224, 255, 0.4); }
.rr-learn-sport { display: grid; gap: 2px; flex: none; }
.rr-learn-sport b { font-size: 12.5px; }
.rr-learn-sport small { color: var(--mute); font-size: 11px; }
.rr-learn-item .rr-bar { flex: 1; min-width: 40px; }
.rr-learn-go { flex: none; opacity: 0.45; display: grid; place-items: center; }
.rr-learn-go .mc-ic { width: 14px; height: 14px; stroke: var(--bone); stroke-width: 2.2; fill: none; }
.rr-learn-all { width: 100%; padding: 10px; border-radius: 11px; border: 1px dashed rgba(126, 224, 255, 0.35); background: none; color: #7ee0ff; font-family: var(--cond); font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; }

/* folded section header (sport ranks) */
.sec-drop { display: flex; align-items: center; gap: 10px; width: 100%; margin: 18px 0 10px; padding: 11px 13px; border-radius: 13px; background: linear-gradient(120deg, rgba(216, 255, 47, 0.09), rgba(255, 255, 255, 0.02)); border: 1px solid rgba(216, 255, 47, 0.24); color: var(--bone); text-align: left; }
.sec-drop:active { border-color: rgba(216, 255, 47, 0.6); }
.sd-txt { display: grid; gap: 2px; min-width: 0; }
.sd-txt b { font-family: var(--cond); font-size: 13.5px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--acid); }
.sd-txt small { color: var(--mute); font-size: 11px; }
.sec-drop .rr-caret .mc-ic { stroke: var(--acid); transform: rotate(90deg); }
.sec-drop .rr-caret.open .mc-ic { transform: rotate(-90deg); }

/* ---------- themed select (the OS dropdown can't be styled) ---------- */
.sel-wrap { position: relative; }
.sel-btn { display: flex; align-items: center; justify-content: space-between; gap: 10px; width: 100%; padding: 14px 14px; border-radius: 14px; color: var(--bone); text-align: left; font-family: var(--cond); font-size: 15px; letter-spacing: 0.04em; background: linear-gradient(150deg, #161c13, #0f130e); border: 1px solid var(--line-2); transition: border-color 0.15s ease, transform 0.15s ease; }
.sel-btn:active { transform: scale(0.99); border-color: var(--acid); }
.sel-btn.muted .sel-val { color: var(--mute); }
.sel-val { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sel-caret { flex: none; display: grid; place-items: center; }
.sel-caret .mc-ic { width: 16px; height: 16px; stroke: var(--acid); stroke-width: 2.4; transform: rotate(90deg); fill: none; }
select.sel-raw { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; margin: -1px; }
.sel-list { display: grid; gap: 7px; max-height: 52vh; overflow-y: auto; margin: 10px 0 6px; }
.sel-opt { display: flex; align-items: center; justify-content: space-between; gap: 10px; width: 100%; padding: 12px 14px; border-radius: 12px; text-align: left; color: var(--bone); font-size: 14px; background: rgba(255, 255, 255, 0.035); border: 1px solid rgba(255, 255, 255, 0.09); }
.sel-opt.on { background: rgba(216, 255, 47, 0.13); border-color: rgba(216, 255, 47, 0.55); color: #eaffa1; }
.sel-opt em { display: grid; place-items: center; }
.sel-opt em svg { width: 16px; height: 16px; stroke: var(--acid); stroke-width: 2.6; fill: none; }

/* ---------- result feeder ---------- */
.rp { display: flex; gap: 12px; margin: 12px 0; padding: 13px 14px; border-radius: 15px; background: linear-gradient(140deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.015)); border: 1px solid rgba(255, 255, 255, 0.1); }
.rp.mine { background: radial-gradient(120% 140% at 0% 0%, rgba(216, 255, 47, 0.18), rgba(255, 255, 255, 0.02)); border-color: rgba(216, 255, 47, 0.5); }
.rp.need { border-style: dashed; border-color: rgba(255, 90, 60, 0.5); background: radial-gradient(120% 140% at 0% 0%, rgba(255, 90, 60, 0.16), rgba(255, 255, 255, 0.02)); }
.rp-ic { flex: none; width: 32px; height: 32px; border-radius: 10px; display: grid; place-items: center; background: rgba(255, 255, 255, 0.07); }
.rp-ic .mc-ic { width: 17px; height: 17px; stroke: var(--acid); stroke-width: 2.2; fill: none; }
.rp-txt { display: grid; gap: 3px; min-width: 0; }
.rp-title { font-family: var(--cond); font-size: 14px; letter-spacing: 0.08em; text-transform: uppercase; }
.rp-title.acid { color: var(--acid); }
.rp-sub { color: var(--mute); font-size: 11.5px; line-height: 1.45; }
.rp-btns { display: flex; gap: 8px; margin-top: 8px; }
.rp-btns .btn { flex: 1; padding: 11px 10px; font-size: 12px; }
.feed-row { width: 100%; }
.feed-row.on { border-color: rgba(216, 255, 47, 0.5); background: rgba(216, 255, 47, 0.07); }
.feed-tick { font-family: var(--cond); font-size: 11px; letter-spacing: 0.14em; color: var(--acid); font-style: normal; }
.feed-when { display: block; margin-top: 2px; color: var(--mute); font-size: 11px; letter-spacing: 0.04em; text-transform: none; }

/* ---------- ground gallery nav ---------- */
.g-nav { position: absolute; top: 50%; transform: translateY(-50%); width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: rgba(8, 10, 8, 0.66); border: 1px solid rgba(255, 255, 255, 0.18); backdrop-filter: blur(6px); z-index: 2; }
.g-nav .mc-ic { width: 16px; height: 16px; stroke: var(--bone); stroke-width: 2.4; fill: none; }
.g-nav.prev { left: 10px; }
.g-nav.prev .mc-ic { transform: rotate(180deg); }
.g-nav.next { right: 10px; }
.g-nav:active { background: rgba(216, 255, 47, 0.85); }
.g-nav:active .mc-ic { stroke: #10140f; }
.g-dots { position: absolute; left: 50%; transform: translateX(-50%); bottom: 12px; display: flex; gap: 5px; z-index: 2; }
.g-dots i { width: 5px; height: 5px; border-radius: 50%; background: rgba(255, 255, 255, 0.32); transition: width 0.2s ease, background 0.2s ease; }
.g-dots i.on { width: 16px; border-radius: 99px; background: var(--acid); }

/* ---------- squads ---------- */
.sq-hero { display: flex; align-items: center; gap: 16px; padding: 16px; margin: 8px 0 14px; border-radius: 18px; background: radial-gradient(120% 130% at 10% 0%, rgba(126, 224, 255, 0.14), rgba(255, 255, 255, 0.02)); border: 1px solid rgba(126, 224, 255, 0.3); }
.sq-ring { position: relative; width: 96px; height: 96px; flex: none; border-radius: 50%; border: 1px dashed rgba(126, 224, 255, 0.35); display: grid; place-items: center; }
.sq-ring.live { animation: sqspin 26s linear infinite; }
.sq-ring .sq-orbit-item { animation: sqspin 26s linear infinite reverse; }
.sq-orbit-item .av { box-shadow: 0 4px 10px -6px #000; }
.sq-core { display: grid; place-items: center; width: 58px; height: 58px; border-radius: 50%; background: radial-gradient(circle at 30% 25%, #17313a, #0b1210); font-family: var(--cond); font-size: 20px; color: #7ee0ff; }
.sq-core small { font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: rgba(126, 224, 255, 0.7); }
.sq-orbit-item { position: absolute; top: 50%; left: 50%; transform: rotate(var(--a)) translate(52px) rotate(calc(-1 * var(--a))); }
.sq-orbit-item .av { width: 26px; height: 26px; font-size: 12px; border-radius: 9px; }
.sq-copy { display: grid; gap: 4px; min-width: 0; }
.sq-copy b { font-family: var(--cond); font-size: 16px; letter-spacing: 0.06em; text-transform: uppercase; }
.sq-copy small { color: var(--mute); font-size: 11.5px; line-height: 1.45; }
.sq-empty { display: grid; gap: 8px; justify-items: start; padding: 16px; margin: 8px 0 14px; border-radius: 16px; border: 1px dashed rgba(255, 255, 255, 0.16); background: repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.025) 0 1px, transparent 1px 12px); }
.sq-empty-ic { width: 36px; height: 36px; border-radius: 12px; display: grid; place-items: center; background: rgba(216, 255, 47, 0.14); }
.sq-empty-ic .mc-ic { width: 18px; height: 18px; stroke: var(--acid); stroke-width: 2.1; fill: none; }
.sq-empty b { font-family: var(--cond); font-size: 15px; letter-spacing: 0.08em; text-transform: uppercase; }
.sq-empty p { margin: 0; color: var(--mute); font-size: 12.5px; line-height: 1.5; }
.sq-empty .btn { width: 100%; }
@keyframes sqspin { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }
.sq-ring:not(.live) .sq-orbit-item { animation: none; }
@media (prefers-reduced-motion: reduce) { .sq-ring.live, .sq-orbit-item { animation: none; } }

/* ---------- nights ---------- */
.ng-hero { position: relative; display: flex; align-items: center; gap: 14px; padding: 16px; margin: 10px 0 14px; border-radius: 18px; overflow: hidden; background: linear-gradient(140deg, #101a2a, #0b100e 70%); border: 1px solid rgba(126, 224, 255, 0.28); }
.ng-glow { position: absolute; right: -30px; top: -30px; width: 120px; height: 120px; border-radius: 50%; background: radial-gradient(circle, rgba(126, 224, 255, 0.35), transparent 70%); }
.ng-moon { position: relative; flex: none; width: 40px; height: 40px; border-radius: 50%; background: #eaf6ff; box-shadow: inset -11px -4px 0 0 #101a2a, 0 0 18px rgba(126, 224, 255, 0.5); animation: ngfloat 6s ease-in-out infinite; }
.ng-hero b { font-family: var(--cond); font-size: 16px; letter-spacing: 0.06em; text-transform: uppercase; }
.ng-hero small { display: block; margin-top: 3px; color: rgba(234, 246, 255, 0.62); font-size: 11.5px; line-height: 1.45; }
@keyframes ngfloat { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-4px); } }
.ng-row { display: flex; align-items: center; gap: 12px; width: 100%; padding: 12px; margin-bottom: 8px; border-radius: 14px; text-align: left; color: var(--bone); background: linear-gradient(120deg, rgba(126, 224, 255, 0.08), rgba(255, 255, 255, 0.015)); border: 1px solid rgba(126, 224, 255, 0.2); }
.ng-time { flex: none; display: grid; justify-items: center; min-width: 56px; padding: 6px 4px; border-radius: 10px; background: rgba(126, 224, 255, 0.14); }
.ng-time b { font-family: var(--cond); font-size: 14px; color: #bdefff; }
.ng-time small { font-size: 11px; color: rgba(189, 239, 255, 0.7); }
.ng-meta { display: grid; gap: 2px; min-width: 0; }
.ng-meta strong { font-size: 13.5px; }
.ng-meta small { color: var(--mute); font-size: 11px; }
.ng-row .mc-ic, .p-row .mc-ic { width: 15px; height: 15px; stroke: var(--mute); stroke-width: 2.2; fill: none; margin-left: auto; }

/* ---------- kit ---------- */
.kit-card { display: flex; align-items: center; gap: 14px; padding: 14px; margin: 10px 0 12px; border-radius: 16px; background: radial-gradient(120% 130% at 0% 0%, rgba(255, 180, 87, 0.16), rgba(255, 255, 255, 0.02)); border: 1px solid rgba(255, 180, 87, 0.32); }
.kit-ring { flex: none; width: 62px; height: 62px; border-radius: 50%; display: grid; place-items: center; background: conic-gradient(var(--heat) calc(var(--p) * 1%), rgba(255, 255, 255, 0.09) 0); }
.kit-ring span { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; background: #0d120d; font-family: var(--cond); font-size: 13px; color: var(--bone); }
.kit-copy b { font-family: var(--cond); font-size: 15px; letter-spacing: 0.06em; text-transform: uppercase; }
.kit-copy small { display: block; margin-top: 3px; color: var(--mute); font-size: 11.5px; line-height: 1.45; }
.kit-list { display: grid; gap: 7px; }
.kit-item { display: flex; align-items: center; gap: 10px; width: 100%; padding: 11px 13px; border-radius: 12px; text-align: left; color: var(--bone); font-size: 13.5px; background: rgba(255, 255, 255, 0.035); border: 1px solid rgba(255, 255, 255, 0.08); }
.kit-item.on { background: rgba(216, 255, 47, 0.1); border-color: rgba(216, 255, 47, 0.4); color: #eaffa1; }
.kit-box { flex: none; width: 20px; height: 20px; border-radius: 6px; display: grid; place-items: center; border: 1px solid rgba(255, 255, 255, 0.25); }
.kit-item.on .kit-box { background: var(--acid); border-color: var(--acid); }
.kit-box svg { width: 13px; height: 13px; stroke: #10140f; stroke-width: 3; fill: none; }

/* ---------- safety ---------- */
.sf-hero { display: flex; align-items: center; gap: 12px; padding: 14px; margin: 10px 0 14px; border-radius: 16px; background: radial-gradient(120% 130% at 0% 0%, rgba(216, 255, 47, 0.13), rgba(255, 255, 255, 0.02)); border: 1px solid rgba(216, 255, 47, 0.28); }
.sf-shield { flex: none; width: 38px; height: 38px; border-radius: 12px; display: grid; place-items: center; background: rgba(216, 255, 47, 0.16); }
.sf-shield svg { width: 20px; height: 20px; stroke: var(--acid); stroke-width: 1.9; fill: none; }
.sf-hero b { font-family: var(--cond); font-size: 15px; letter-spacing: 0.06em; text-transform: uppercase; }
.sf-hero small { display: block; margin-top: 3px; color: var(--mute); font-size: 11.5px; line-height: 1.45; }
.sf-list { display: grid; gap: 8px; }
.sf-item { padding: 11px 13px; border-radius: 12px; background: rgba(255, 255, 255, 0.03); border-left: 2px solid rgba(216, 255, 47, 0.55); }
.sf-item b { font-size: 13px; }
.sf-item p { margin: 3px 0 0; color: var(--mute); font-size: 12px; line-height: 1.45; }

/* ---------- chat: presence, header, typing, avatars ---------- */
.on-dot { display: inline-block; width: 7px; height: 7px; margin-left: 6px; border-radius: 50%; background: #35e07a; box-shadow: 0 0 0 2px rgba(53, 224, 122, 0.18), 0 0 8px rgba(53, 224, 122, 0.8); vertical-align: middle; animation: onpulse 2.4s ease-in-out infinite; }
@keyframes onpulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.45; } }
.ch-head { display: flex; align-items: center; gap: 10px; padding: 4px 0 10px; border-bottom: 1px solid rgba(255, 255, 255, 0.07); margin-bottom: 8px; }
.ch-av { width: 36px; height: 36px; flex: none; border-radius: 12px; display: grid; place-items: center; overflow: hidden; font-family: var(--cond); font-size: 14px; color: hsl(var(--h, 72), 92%, 76%); background: radial-gradient(120% 120% at 25% 15%, hsl(var(--h, 72), 80%, 40%), #0c100b 75%); border: 1px solid hsl(var(--h, 72), 78%, 56%); }
.ch-av img { width: 100%; height: 100%; object-fit: cover; }
.ch-av .mc-ic { width: 17px; height: 17px; stroke: hsl(var(--h, 72), 92%, 76%); fill: none; stroke-width: 2.1; }
.ch-meta { display: grid; gap: 2px; min-width: 0; }
.ch-meta b { font-family: var(--cond); font-size: 15px; letter-spacing: 0.04em; text-transform: uppercase; }
.ch-meta small { color: var(--mute); font-size: 11px; display: flex; align-items: center; gap: 5px; }

/* typing bubble, WhatsApp style: three dots that bob */
.typing-row { display: flex; align-items: center; gap: 8px; padding: 0 0 8px 36px; }
.typing-row[hidden] { display: none; }
.tr-bub { display: inline-flex; align-items: center; gap: 4px; padding: 9px 12px; border-radius: 14px 14px 14px 5px; background: var(--card-2); }
.tr-bub i { width: 6px; height: 6px; border-radius: 50%; background: var(--mute); animation: tdot 1.2s infinite ease-in-out; }
.tr-bub i:nth-child(2) { animation-delay: 0.15s; }
.tr-bub i:nth-child(3) { animation-delay: 0.3s; }
@keyframes tdot { 0%, 60%, 100% { transform: translateY(0); opacity: 0.5; } 30% { transform: translateY(-4px); opacity: 1; background: var(--acid); } }
.typing-row small { color: var(--mute); font-size: 11px; letter-spacing: 0.06em; }

/* message avatars: always visible, photo when there is one */
.cr { align-items: flex-end; }
.cr-av { width: 26px; height: 26px; border-radius: 9px; overflow: hidden; visibility: visible; background: radial-gradient(120% 120% at 25% 15%, hsl(var(--h, 72), 80%, 38%), #0b0f0a 78%); border: 1px solid hsl(var(--h, 72), 70%, 45%); color: hsl(var(--h, 72), 92%, 78%); font-size: 11px; }
.cr-av img { width: 100%; height: 100%; object-fit: cover; }
.cr.last .cr-av, .cr.first .cr-av { visibility: visible; }
.cr:not(.first):not(.last) .cr-av { opacity: 0.55; }
.dm-row { display: flex; align-items: center; gap: 10px; }
.dm-row .av { width: 38px; height: 38px; font-size: 15px; border-radius: 12px; }

/* profile photo controls */
.pf-photo-actions { display: flex; gap: 8px; margin: 8px 0; }
.pf-photo-btn { flex: 1; display: flex; align-items: center; justify-content: center; gap: 8px; padding: 11px 12px; border-radius: 13px; background: linear-gradient(140deg, rgba(126, 224, 255, 0.16), rgba(255, 255, 255, 0.02)); border: 1px solid rgba(126, 224, 255, 0.4); color: #bdefff; font-family: var(--cond); font-size: 12.5px; letter-spacing: 0.1em; text-transform: uppercase; }
.pf-photo-btn.ghost { flex: none; padding: 11px 14px; background: rgba(255, 255, 255, 0.03); border-color: rgba(255, 255, 255, 0.14); color: var(--mute); }
.pf-photo-btn svg { width: 17px; height: 17px; stroke: currentColor; stroke-width: 1.9; fill: none; }
.pf-photo-btn:active { transform: scale(0.98); }

/* quiet re-renders do not replay entry animations */
.screen.instant .xp-fill { transition: none !important; }
.screen.instant .pf-fill, .screen.instant [data-count] { transition: none !important; }

/* ---------- chat parity: photos, seens, camera ---------- */
.composer .cmp-cam{flex:0 0 44px;height:44px;display:grid;place-items:center;border-radius:14px;
  border:1px solid rgba(216,255,47,.28);background:linear-gradient(180deg,rgba(216,255,47,.12),rgba(0,0,0,.35));
  color:#d8ff2f;cursor:pointer;transition:transform .15s ease, box-shadow .2s ease}
.composer .cmp-cam svg{width:21px;height:21px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
.composer .cmp-cam:active{transform:scale(.94);box-shadow:0 0 0 3px rgba(216,255,47,.18)}
.cr-bub.pic{padding:4px;background:linear-gradient(180deg,rgba(255,255,255,.06),rgba(0,0,0,.28));border:1px solid rgba(255,255,255,.08)}
.cr-pic{display:block;width:min(62vw,230px);max-height:300px;object-fit:cover;border-radius:14px}
.cr-bub.pic .cr-txt{display:block;padding:5px 8px 2px;font-size:11px;letter-spacing:.06em;text-transform:uppercase;color:var(--mut,#9aa08f)}
.cr-seen{display:block;margin:3px 4px 0 auto;font-size: 11px;letter-spacing:.05em;color:#9fb0c8}
.cr.me .cr-seen{text-align:right}

/* ---------- result trust: report + rating stars ---------- */
.rp-btns{display:flex;gap:8px;flex-wrap:wrap;margin-top:10px}
.rp-btns .btn{flex:1 1 auto;min-width:120px}
.stars{display:flex;gap:6px;margin:2px 0 10px}
.stars button{width:38px;height:38px;border-radius:12px;border:1px solid rgba(255,255,255,.14);
  background:rgba(255,255,255,.04);color:#8b9382;font-weight:700;cursor:pointer;transition:.15s}
.stars button.on{background:linear-gradient(180deg,#f6ff7a,#d8ff2f);color:#101408;border-color:transparent;
  box-shadow:0 6px 16px rgba(216,255,47,.22)}

/* ---------- 13+ gate on the consent sheet ---------- */
.age-tick{display:flex;gap:12px;align-items:flex-start;width:100%;margin:14px 0 4px;padding:13px 14px;
  border-radius:16px;border:1px solid rgba(255,255,255,.14);background:rgba(255,255,255,.04);
  text-align:left;cursor:pointer;transition:border-color .18s ease, background .18s ease, transform .12s ease}
.age-tick:active{transform:scale(.995)}
.age-tick.on{border-color:rgba(216,255,47,.55);background:linear-gradient(180deg,rgba(216,255,47,.14),rgba(0,0,0,.28));
  box-shadow:0 8px 22px rgba(216,255,47,.14)}
.age-tick .age-box{flex:0 0 26px;height:26px;border-radius:9px;border:1.5px solid rgba(255,255,255,.28);
  display:grid;place-items:center;color:#101408;background:rgba(0,0,0,.25)}
.age-tick.on .age-box{background:linear-gradient(180deg,#f6ff7a,#d8ff2f);border-color:transparent}
.age-tick .age-box svg{width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:2.6;stroke-linecap:round;stroke-linejoin:round}
.age-tick b{display:block;font-size:14px;letter-spacing:.02em;color:#f2f5ea}
.age-tick small{display:block;margin-top:3px;font-size:11.5px;line-height:1.5;color:#9aa08f}

/* ================= 27 Oct pass: skeleton, alerts, chat, empty state ================= */

/* ---------- skeleton loading (YouTube style) ---------- */
.sk-stage{position:relative;z-index:2;width:min(340px,80vw);display:flex;flex-direction:column;gap:18px}
.sk{display:block;border-radius:10px;background:linear-gradient(90deg,rgba(255,255,255,.055) 0%,rgba(255,255,255,.115) 40%,rgba(255,255,255,.055) 80%);
  background-size:220% 100%;animation:skSweep 1.25s ease-in-out infinite}
@keyframes skSweep{0%{background-position:120% 0}100%{background-position:-40% 0}}
.sk-card{display:flex;flex-direction:column;gap:10px}
.sk-hero{height:118px;border-radius:18px}
.sk-title{display:flex;flex-direction:column;gap:14px}
.sk-row{display:flex;gap:12px;align-items:center}
.sk-av{width:34px;height:34px;border-radius:50%;flex:0 0 34px}
.sk-lines{display:flex;flex-direction:column;gap:8px;flex:1}
.sk-line{height:11px}
.w70{width:70%}.w60{width:60%}.w45{width:45%}.w35{width:35%}
.sk-cap{margin:2px 0 0;font-size:12px;letter-spacing:.14em;text-transform:uppercase;color:#6f776a;text-align:center;animation:skFade 1.8s ease-in-out infinite}
@keyframes skFade{0%,100%{opacity:.45}50%{opacity:.85}}
@media (prefers-reduced-motion: reduce){.sk,.sk-cap{animation:none}}

/* ---------- alerts: unread flashes once, then rests ---------- */
.n-row{position:relative;display:flex;gap:10px;align-items:flex-start;padding:13px 14px 13px 12px}
.n-row.unread{background:linear-gradient(90deg,rgba(216,255,47,.10),rgba(255,255,255,.02));
  border-color:rgba(216,255,47,.28);animation:nFlash 1.6s ease-out 2, nNudge .5s ease-out .1s 1}
.n-row .n-dot{width:7px;height:7px;border-radius:50%;flex:0 0 7px;margin-top:7px;background:transparent}
.n-row.unread .n-dot{background:var(--acid);box-shadow:0 0 0 3px rgba(216,255,47,.14)}
.n-row .n-side{display:flex;flex-direction:column;align-items:flex-end;gap:5px;flex:0 0 auto}
.n-new{font-style:normal;font-size: 11px;letter-spacing:.14em;font-weight:800;color:#101408;background:var(--acid);
  border-radius:5px;padding:2px 5px}
.n-note{margin:16px 2px 0;font-size:11.5px;color:#7d857a}
@keyframes nFlash{0%{box-shadow:0 0 0 0 rgba(216,255,47,.42)}70%{box-shadow:0 0 0 12px rgba(216,255,47,0)}100%{box-shadow:0 0 0 0 rgba(216,255,47,0)}}
@keyframes nNudge{0%,100%{transform:translateX(0)}25%{transform:translateX(-2.5px)}55%{transform:translateX(2px)}80%{transform:translateX(-1px)}}
@media (prefers-reduced-motion: reduce){.n-row.unread{animation:none}}

/* ---------- chat: Instagram-ish bubbles ---------- */
.bubble{max-width:78%;padding:9px 13px;border-radius:20px 20px 20px 6px;background:#191d18;
  border:1px solid rgba(255,255,255,.07);line-height:1.42;font-size:14px}
.bubble.me{margin-left:auto;border-radius:20px 20px 6px 20px;
  background:linear-gradient(180deg,rgba(216,255,47,.98),rgba(198,238,32,.95));color:#0d1008;border-color:transparent}
.bubble time{font-size: 11px;letter-spacing:.06em;margin-top:5px;opacity:.5}
.bubble.me time{opacity:.55;color:#20260f}
.bubble-list{gap:7px}

/* ---------- matches: calm empty state ---------- */
.mc-empty{display:flex;flex-direction:column;align-items:center;gap:8px;text-align:center;
  padding:34px 20px;border-radius:22px;border:1px dashed rgba(255,255,255,.10);background:rgba(255,255,255,.02)}
.mc-empty-ic{display:grid;place-items:center;width:44px;height:44px;border-radius:14px;color:#8d968a;
  background:rgba(255,255,255,.05);margin-bottom:2px}
.mc-empty-ic svg{width:20px;height:20px}
.mc-empty b{font-size:15.5px;letter-spacing:.01em;color:#e8ece2}
.mc-empty p{margin:0;max-width:30ch;font-size:12.5px;line-height:1.55;color:#87907f}
.mc-empty-btns{display:flex;flex-direction:column;gap:8px;width:100%;margin-top:14px}
.btn-quiet{background:rgba(255,255,255,.05);border:1px solid rgba(255,255,255,.12);color:#dfe4d8}

/* ---------- coming soon ---------- */
.soon-chip{font-style:normal;font-size: 11px;font-weight:800;letter-spacing:.13em;color:#0f1208;
  background:var(--acid);border-radius:5px;padding:2px 5px;margin-left:6px;vertical-align:2px}
.soon-card{position:relative;margin:16px 0;padding:18px 16px;border-radius:20px;
  border:1px solid rgba(255,255,255,.09);background:linear-gradient(180deg,rgba(255,255,255,.045),rgba(255,255,255,.015))}
.soon-card b{display:block;font-size:13px;letter-spacing:.05em;margin-bottom:6px;color:#eef2e6}
.soon-card p{margin:0;font-size:12.5px;line-height:1.6;color:#8f988a}
.soon-tag{position:absolute;top:14px;right:14px;font-size: 11px;letter-spacing:.14em;font-weight:800;
  color:#0f1208;background:var(--acid);border-radius:5px;padding:3px 6px}

/* ---------- safety complaint: who else was there ---------- */
.who-list{display:flex;flex-direction:column;gap:2px;max-height:190px;overflow-y:auto;
  border-radius:14px;border:1px solid rgba(255,255,255,.09);background:rgba(255,255,255,.02);padding:4px}
.who-row{display:flex;align-items:center;gap:10px;padding:9px 10px;border-radius:10px;font-size:13.5px;color:#dfe4d8}
.who-row:active{background:rgba(255,255,255,.05)}
.who-row input{width:17px;height:17px;accent-color:#d8ff2f}

/* ==========================================================================
   28 Oct pass — avatars, lighter type, real map feel
   ========================================================================== */

/* ---------- 1. avatars: square, never spill, never blink ---------- */
.av, .cr-av, .ch-av, .pf-av, .dm-row .av {
  position: relative;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  flex: none;
  box-sizing: border-box;
}
.av img, .cr-av img, .ch-av img, .pf-av img, .dm-row .av img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}
/* the old rule hid the avatar on every bubble except the first, which read as
   "photo gayab ho gayi, phir aa gayi". It is always there now. */
.cr .cr-av, .cr.first.them .cr-av, .cr.last .cr-av { visibility: visible; opacity: 1; }
.cr:not(.first):not(.last) .cr-av { opacity: .55; }
.cr { align-items: flex-end; }

/* ---------- 2. lighter type (Anton was reading like a poster, not an app) ---------- */
:root { --display: "Barlow Condensed", "Arial Narrow", sans-serif; }
.display, .mc-title, .pf-name, .auth h2, .gate-text, h1, h2.display {
  font-family: var(--display);
  font-weight: 700;
  letter-spacing: 0;
}
h2.display { line-height: .92; }
.display em, .mc-title em { font-style: normal; font-weight: 600; }
b, strong, .rp-title, .sec h2, .btn { font-weight: 600; }
.btn { letter-spacing: .04em; }
.kicker, .mc-kick, .pf-pid, .cr-name, .ch-meta small { letter-spacing: .10em; }
.mc-title { letter-spacing: -.005em; }
p, .muted, .note, small { font-weight: 400; }

/* ---------- 3. ground map: a sketch you can actually read ---------- */
.g-map {
  position: relative;
  margin: 14px 0 10px;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.10);
  background: #10160f;
  box-shadow: inset 0 0 60px rgba(0,0,0,.55);
}
.g-map svg { display: block; width: 100%; height: auto; }
.g-map .g-map-tag {
  position: absolute; left: 12px; top: 11px;
  font-family: var(--cond); font-size: 11px; letter-spacing: .16em; text-transform: uppercase;
  color: #cfd7c6; background: rgba(10,14,10,.66); border: 1px solid rgba(255,255,255,.10);
  padding: 3px 7px; border-radius: 6px; backdrop-filter: blur(3px);
}
.g-map .g-map-note {
  position: absolute; right: 10px; bottom: 9px;
  font-size: 11px; letter-spacing: .04em; color: #8b947f;
}
.g-legend { display: flex; flex-wrap: wrap; gap: 6px 14px; margin: 2px 2px 12px; }
.g-legend span { display: inline-flex; align-items: center; gap: 6px; font-size: 11px; color: #9aa392; }
.g-legend i { width: 9px; height: 9px; border-radius: 3px; display: inline-block; }
.g-legend i.road { background: #4a5648; }
.g-legend i.water { background: #2f6f8f; }
.g-legend i.mark { background: #d8ff2f; }
.g-legend i.ground { background: #ff5a3c; }
.g-legend i.you { background: #f3efe6; border-radius: 50%; box-shadow: 0 0 0 1.5px #6d7a62 inset; }
.g-legend i.ring { background: none; border: 1px solid #46523c; border-radius: 50%; }

/* landmarks on the ground page */
.g-near { display: flex; flex-direction: column; gap: 8px; margin: 10px 0 4px; }
.g-near-row { display: flex; gap: 10px; align-items: flex-start; padding: 11px 13px; border-radius: 14px;
  background: rgba(255,255,255,.035); border: 1px solid rgba(255,255,255,.07); }
.g-near-row i { flex: none; width: 22px; height: 22px; border-radius: 7px; display: grid; place-items: center;
  background: rgba(216,255,47,.14); color: #d8ff2f; font-size: 11px; font-family: var(--cond); }
.g-near-row b { display: block; font-size: 13px; color: #e8ede1; font-weight: 600; }
.g-near-row small { display: block; margin-top: 2px; font-size: 11.5px; line-height: 1.5; color: #8b947f; }

/* free / paid chip on ground cards and the ground page */
.g-access { display: inline-flex; align-items: center; gap: 5px; font-family: var(--cond);
  font-size: 11px; letter-spacing: .13em; text-transform: uppercase; padding: 3px 8px; border-radius: 6px; }
.g-access.free { color: #0f1208; background: #d8ff2f; }
.g-access.paid { color: #ffd9c8; background: rgba(255,90,60,.18); border: 1px solid rgba(255,90,60,.35); }
.v-card .g-access { margin-top: 4px; }

/* steps, rewritten as plain sentences */
.step { display: flex; gap: 12px; align-items: flex-start; padding: 12px 0; border-bottom: 1px solid rgba(255,255,255,.06); }
.step b { flex: none; width: 22px; height: 22px; border-radius: 7px; display: grid; place-items: center;
  background: rgba(216,255,47,.14); color: #d8ff2f; font-size: 11.5px; font-weight: 700; font-family: var(--cond); }
.step span { font-size: 13.5px; line-height: 1.55; color: #dfe5d7; }
.step:last-of-type { border-bottom: 0; }

/* leader team picking */
.pick-row { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 14px;
  background: rgba(255,255,255,.035); border: 1px solid rgba(255,255,255,.07); margin-bottom: 8px; }
.pick-row .pick-meta { flex: 1; min-width: 0; }
.pick-row b { display: block; font-size: 13.5px; color: #e8ede1; font-weight: 600; }
.pick-row small { display: block; font-size: 11px; color: #8b947f; }
.pick-btns { display: flex; gap: 6px; flex: none; }
.pick-btns button { width: 34px; height: 32px; border-radius: 9px; border: 1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.04); color: #cfd7c6; font-family: var(--cond); font-size: 12px; font-weight: 700; }
.pick-btns button.on { background: #d8ff2f; color: #0f1208; border-color: transparent; }
.pick-btns button.off { background: rgba(255,90,60,.16); color: #ffb49f; border-color: rgba(255,90,60,.3); }

/* 28 Oct · intro: the film on top, the clean still underneath (the film carries
   a tagline in its last frame, the still has none) */
.cx-stage { position: relative; }

/* offline strip: sits under the status bar, never blocks taps */
#offline-bar {
  position: fixed; left: 0; right: 0; top: 0; z-index: 9000;
  padding: calc(env(safe-area-inset-top, 0px) + 6px) 12px 6px;
  text-align: center; font-family: var(--cond); font-weight: 700; font-size: 12px;
  letter-spacing: 0.08em; text-transform: uppercase;
  background: var(--acid); color: #111;
  transform: translateY(-100%); transition: transform 0.25s ease; pointer-events: none;
}
#offline-bar.on { transform: none; }
#offline-bar.off { background: #ff5a36; color: #fff; }

/* ===== Alerts redesign (owner preview, 26 Nov 2026) ===== */
.al-head { display: flex; align-items: center; justify-content: space-between; margin: 14px 0 4px; }
.al-title { font-family: var(--cond); font-weight: 700; font-size: 26px; letter-spacing: 0.12em; margin: 0; color: #fff; }
.al-markall { background: none; border: 0; color: var(--acid); font-family: var(--cond); font-weight: 700; font-size: 17px; letter-spacing: 0.1em; cursor: pointer; padding: 6px 0; }
.al-note { color: var(--mute); font-size: 14px; margin: 0 0 14px; }
.al-list { display: flex; flex-direction: column; gap: 14px; }
.al-card { display: flex; gap: 14px; align-items: flex-start; text-align: left; width: 100%; padding: 18px 16px; border-radius: 18px; background: #16181a; border: 1px solid rgba(255,255,255,0.08); color: var(--bone); cursor: pointer; transition: transform .2s; }
.al-card:active { transform: scale(0.985); }
.al-card.unread { background: #191d14f5; border-color: #c6f81deb; }
.al-ic { flex: 0 0 auto; width: 26px; height: 26px; margin-top: 2px; color: var(--acid); }
.al-ic svg { width: 26px; height: 26px; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.al-ic.big { width: 48px; height: 48px; margin: 0; border-radius: 12px; border: 1px solid var(--acid); background: #0b0e0b; display: grid; place-items: center; box-shadow: 0 0 12px rgba(216,255,47,.25); }
.al-ic.big svg { width: 24px; height: 24px; }
.al-body { flex: 1; min-width: 0; }
.al-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.al-row b { font-size: 17px; font-weight: 700; color: #fff; }
.al-when { display: inline-flex; align-items: center; gap: 10px; color: var(--mute); font-size: 13px; white-space: nowrap; }
.al-body small { display: block; color: #b9c0b4; font-size: 14px; line-height: 1.4; margin-top: 6px; white-space: normal; }
.al-dot { position: relative; width: 11px; height: 11px; border-radius: 50%; background: #ff221a; display: inline-block; animation: 1.75s ease-in-out infinite redDotFlash; }
.al-ping { position: absolute; inset: 0; border-radius: 50%; background: #ff221a; animation: 1.75s cubic-bezier(0,0,.2,1) infinite redDotPing; }
/* subtle flash only — owner's choice */
.unread-card-subtle { animation: 2.4s ease-in-out infinite unreadFlashSubtle; }
@keyframes unreadFlashSubtle { 0%, 100% { background-color: #191d14f5; border-color: #c6f81deb; box-shadow: 0 0 14px #c6f81d3d, 0 0 28px #c6f81d14, inset 0 0 10px #c6f81d0f; } 50% { background-color: #222916fa; border-color: #d4ff38; box-shadow: 0 0 22px #c6f81d70, 0 0 42px #c6f81d29, inset 0 0 18px #c6f81d21; } }
@keyframes redDotFlash { 0%, 100% { opacity: .78; transform: scale(.92); box-shadow: 0 0 10px 2px #ff221a8c, 0 0 20px 4px #ff221a40; } 50% { opacity: 1; transform: scale(1.12); box-shadow: 0 0 14px 4px #ff221ad9, 0 0 28px 8px #ff221a6b; } }
@keyframes redDotPing { 0% { opacity: .7; transform: scale(.9); } 75%, 100% { opacity: 0; transform: scale(2.4); } }
@media (prefers-reduced-motion: reduce) { .unread-card-subtle, .al-dot, .al-ping { animation: none; } }
/* detail sheet */
.al-sh-head { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.al-sh-head > div { flex: 1; min-width: 0; }
.al-kicker { margin: 0; color: var(--acid); font-family: var(--cond); font-weight: 700; letter-spacing: 0.14em; font-size: 13px; text-transform: uppercase; }
.al-sh-title { margin: 2px 0 0; font-size: 22px; font-weight: 700; color: #fff; }
.al-x { width: 36px; height: 36px; border-radius: 50%; border: 1px solid rgba(255,255,255,.12); background: #15181a; color: #ddd; font-size: 14px; cursor: pointer; }
.al-meta { display: flex; align-items: center; justify-content: space-between; margin: 4px 0 12px; color: var(--mute); font-size: 14px; }
.al-read { font-style: normal; color: var(--acid); background: rgba(216,255,47,.12); border: 1px solid rgba(216,255,47,.3); border-radius: 999px; padding: 4px 10px; font-size: 13px; }
.al-lead { font-size: 17px; color: #fff; margin: 0 0 14px; }
.al-facts { border: 1px solid rgba(255,255,255,.1); border-radius: 14px; padding: 12px 14px; display: flex; flex-direction: column; gap: 10px; margin-bottom: 14px; background: #121414; }
.al-facts p { margin: 0; display: flex; align-items: center; gap: 10px; font-size: 15px; color: #e8ebe4; }
.al-facts svg { width: 20px; height: 20px; flex: none; fill: none; stroke: var(--acid); stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.al-chips { display: flex; gap: 6px; flex-wrap: wrap; }
.al-chips i { font-style: normal; font-size: 13px; padding: 4px 9px; border-radius: 8px; background: #1c1f1c; border: 1px solid rgba(255,255,255,.08); }
.al-cta { letter-spacing: 0.16em; font-size: 17px; padding: 16px; }
.al-foot { margin-top: 10px; }
.al-foot .btn { flex: 1; }

/* ===== Home: aggressive & loud (owner file, 26 Nov 2026) ===== */
.hz-hero { position: relative; border-radius: 16px; border: 2px solid #2a2e39; background: #14161b; padding: 16px; margin: 4px 0 16px; overflow: hidden;
  background-image: linear-gradient(to right, rgba(212,255,0,.05) 1px, transparent 1px), linear-gradient(to bottom, rgba(212,255,0,.05) 1px, transparent 1px); background-size: 20px 20px; }
.hz-hero-top { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 10px; }
.hz-kick { display: inline-flex; align-items: center; gap: 4px; padding: 4px 8px; border-radius: 8px; background: #262e00; color: #d4ff00; font: 600 12px/16px var(--body); letter-spacing: .6px; text-transform: uppercase; }
.hz-kick svg { width: 14px; height: 14px; fill: #d4ff00; stroke: none; }
.hz-season { color: #9ca3af; font: 600 12px/16px var(--body); letter-spacing: .6px; }
.hz-h1 { margin: 0; font-family: var(--cond); font-style: italic; font-weight: 800; font-size: 40px; line-height: 1; letter-spacing: -.5px; color: #f3f4f6; text-transform: uppercase; }
.hz-h1 em { display: inline-block; font-style: italic; background: #d4ff00; color: #0d0e11; padding: 0 8px; border-radius: 8px; }
.hz-live { margin: 10px 0 0; color: #d4ff00; font: 600 12px/16px var(--body); letter-spacing: .6px; }
.hz-cta { position: relative; display: flex; align-items: center; gap: 12px; width: 100%; padding: 16px; margin-bottom: 16px; border: 0; border-radius: 16px; background: #ff4d38; color: #0d0e11; text-align: left; cursor: pointer; overflow: hidden;
  background-image: repeating-linear-gradient(-45deg, rgba(13,14,17,.14), rgba(13,14,17,.14) 8px, transparent 8px, transparent 16px); }
.hz-cta:active { transform: scale(.985); }
.hz-cta-ic { flex: none; width: 48px; height: 48px; border-radius: 8px; background: #0d0e11; color: #ff4d38; display: grid; place-items: center; }
.hz-cta-ic.go { width: 36px; height: 36px; margin-left: auto; }
.hz-cta-ic svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }
.hz-cta-tx b { display: block; font-family: var(--cond); font-style: italic; font-weight: 800; font-size: 24px; line-height: 1; letter-spacing: -.2px; }
.hz-cta-tx small { display: block; margin-top: 6px; font: 600 12px/16px var(--body); letter-spacing: .6px; }
.hz-rank { display: block; width: 100%; padding: 16px; margin-bottom: 16px; border-radius: 16px; border: 2px solid #2a2e39; background: #1c1f26; color: #f3f4f6; text-align: left; cursor: pointer; }
.hz-rank-row { display: flex; align-items: center; gap: 10px; }
.hz-rank-em { flex: none; width: 34px; height: 34px; border-radius: 8px; border: 1px solid #d4ff00; background: #262e00; display: grid; place-items: center; }
.hz-rank-em .rank-pill { margin: 0; }
.hz-rank-tx { flex: 1; min-width: 0; }
.hz-rank-tx b { display: block; font-family: var(--cond); font-weight: 800; font-size: 20px; line-height: 1.1; letter-spacing: .5px; }
.hz-rank-tx small { display: block; color: #9ca3af; font-size: 12px; margin-top: 2px; }
.hz-xp { flex: none; padding: 5px 9px; border-radius: 8px; background: #262e00; color: #d4ff00; font: 600 12px/16px var(--body); letter-spacing: .4px; white-space: nowrap; }
.hz-track { display: block; height: 12px; border-radius: 99px; background: #252932; margin: 12px 0; overflow: hidden; }
.hz-fill { display: block; height: 100%; width: 8%; border-radius: 99px; background: #d4ff00; transition: width .6s cubic-bezier(.2,0,0,1); }
.hz-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.hz-stats > span { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 12px 4px; border-radius: 8px; background: #252932; border: 1px solid #2a2e39; }
.hz-stats b { font-family: var(--cond); font-style: italic; font-weight: 800; font-size: 22px; line-height: 1; color: #f3f4f6; }
.hz-stats b i { font-style: inherit; }
.hz-stats .acid b { color: #d4ff00; } .hz-stats .coral b { color: #ff4d38; }
.hz-stats small { color: #9ca3af; font: 600 11px/14px var(--body); letter-spacing: .6px; }
.hz-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 16px; }
.hz-hub { display: flex; flex-direction: column; align-items: flex-start; gap: 0; padding: 16px; border-radius: 16px; border: 2px solid color-mix(in srgb, var(--c) 45%, #14161b); background: #14161b; color: #f3f4f6; text-align: left; cursor: pointer; min-height: 120px; }
.hz-hub:active { transform: scale(.985); }
.hz-hub-top { display: flex; align-items: flex-start; justify-content: space-between; width: 100%; margin-bottom: 16px; }
.hz-hub-top > svg { width: 18px; height: 18px; fill: none; stroke: var(--c); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.hz-hub-ic { width: 40px; height: 40px; border-radius: 8px; background: var(--c); color: #0d0e11; display: grid; place-items: center; }
.hz-hub-ic svg { width: 22px; height: 22px; fill: none; stroke: #0d0e11; stroke-width: 2.1; stroke-linecap: round; stroke-linejoin: round; }
.hz-hub b { font-family: var(--cond); font-style: italic; font-weight: 800; font-size: 20px; line-height: 1; letter-spacing: .3px; }
.hz-hub small { margin-top: 6px; color: #9ca3af; font: 600 12px/16px var(--body); letter-spacing: .6px; }
.hz-lfg { display: flex; align-items: center; justify-content: space-between; gap: 12px; width: 100%; padding: 16px; margin-bottom: 12px; border-radius: 16px; border: 2px solid #2a2e39; background: #14161b; color: #f3f4f6; text-align: left; cursor: pointer; }
.hz-lfg.on { background: #262e00; border-color: #d4ff00; }
.hz-lfg-tx b { display: block; font-family: var(--cond); font-style: italic; font-weight: 800; font-size: 20px; line-height: 1; color: inherit; }
.hz-lfg.on .hz-lfg-tx b { color: #d4ff00; }
.hz-lfg-tx small { display: block; margin-top: 6px; color: #9ca3af; font-size: 13px; }
.hz-lfg.on .hz-lfg-tx small { color: #e8ff75; }
.hz-chat { display: flex; align-items: center; gap: 12px; width: 100%; padding: 12px 16px; margin-bottom: 20px; border-radius: 16px; border: 2px solid #2a2e39; background: #14161b; color: #f3f4f6; text-align: left; cursor: pointer; }
.hz-chat-ic { flex: none; width: 36px; height: 36px; border-radius: 8px; background: #a78bfa; display: grid; place-items: center; }
.hz-chat-ic svg { width: 20px; height: 20px; fill: none; stroke: #0d0e11; stroke-width: 2.1; stroke-linecap: round; stroke-linejoin: round; }
.hz-chat b { font-family: var(--cond); font-style: italic; font-weight: 800; font-size: 18px; letter-spacing: .3px; }
.hz-chat small { color: #9ca3af; font: 600 12px/16px var(--body); letter-spacing: .6px; }
.hz-chev { margin-left: auto; width: 20px; height: 20px; }
.hz-chev svg { width: 20px; height: 20px; fill: none; stroke: #a78bfa; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.hz-sec { display: flex; align-items: center; justify-content: space-between; margin: 4px 0 8px; }
.hz-sec h2 { margin: 0; font-family: var(--cond); font-style: italic; font-weight: 800; font-size: 20px; letter-spacing: .3px; color: #f3f4f6; }
.hz-sec button { background: none; border: 0; padding: 4px 0; color: #d4ff00; font: 600 12px/16px var(--body); letter-spacing: .6px; cursor: pointer; }
.hz-empty { display: flex; align-items: center; gap: 12px; padding: 16px; margin-bottom: 20px; border-radius: 16px; border: 2px solid #2a2e39; background: #14161b; }
.hz-empty-ic { flex: none; width: 40px; height: 40px; border-radius: 8px; background: #1c1f26; color: var(--c); display: grid; place-items: center; }
.hz-empty-ic svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.hz-empty-tx { flex: 1; min-width: 0; }
.hz-empty-tx b { display: block; font-family: var(--cond); font-weight: 700; font-size: 17px; letter-spacing: .4px; color: #f3f4f6; }
.hz-empty-tx small { display: block; color: #9ca3af; font-size: 13px; margin-top: 2px; }
.hz-pill { flex: none; padding: 9px 12px; border-radius: 8px; border: 1px solid var(--c); background: #1c1f26; color: var(--c); font: 700 12px/16px var(--body); letter-spacing: .6px; cursor: pointer; }
.hz-pill.solid { background: var(--c); color: #0d0e11; border-color: var(--c); }

/* =====================================================================
   LOUD THEME — owner's page files (26 Nov 2026). Applied app-wide.
   ===================================================================== */
:root { --acid: #d4ff00; --heat: #ff4d38; --card: #14161b; --card-2: #1c1f26; --line: #2a2e39; --line-2: #2a2e39; --mute: #9ca3af; --bone: #f3f4f6; --ink: #0d0e11; --ink-2: #14161b; }
body, .phone { background: #0d0e11; }
/* header */
.bar { background: #08090b; border-bottom: 2px solid #2a2e39; grid-template-columns: auto 1fr auto; padding: 0 16px; }
.bar.root-bar { grid-template-columns: 1fr auto; }
.brand { font-family: var(--cond); font-style: italic; font-weight: 800; font-size: 22px; letter-spacing: -0.3px; color: #f3f4f6; gap: 8px; }
.brand .cx-mark { width: 30px; height: 30px; border-radius: 0; background: none; padding: 0; animation: cx-glow 2.6s ease-in-out infinite; object-position: center; }
.bar strong { font-family: var(--cond); font-style: italic; font-weight: 800; font-size: 18px; letter-spacing: .04em; }
.bar-actions { gap: 8px; align-items: center; }
.icon-btn { width: 36px; height: 36px; border-radius: 8px; background: #1c1f26; border: 1px solid #2a2e39; }
.icon-btn .ico { width: 20px; height: 20px; }
.icon-btn .badge { top: -5px; right: -5px; }
.bar-city { display: inline-flex; align-items: center; gap: 4px; margin: 0; padding: 0 10px; height: 30px; max-width: 150px; border-radius: 8px; border: 2px solid #d4ff00; background: #1c1f26; color: #d4ff00; font: 600 12px/1 var(--body); letter-spacing: .6px; text-transform: uppercase; cursor: pointer; }
.bar-city .mc-ic { width: 14px; height: 14px; stroke: #d4ff00; flex: none; }
/* dock */
.dock { background: #08090b; border-top: 2px solid #2a2e39; }
.dock button { font: 600 11px/1 var(--body); letter-spacing: .6px; color: #9ca3af; gap: 4px; }
.dock button.on { color: #d4ff00; }
.dock button.on .ico { fill: #d4ff00; }
.radar-btn { background: #d4ff00; }
.radar-btn::after { display: none; }
.dock button.on .radar-btn, .radar-btn.on { box-shadow: 0 0 0 4px #0d0e11, 0 0 0 6px #d4ff00; }
/* hero cards (auto-wrapped kicker + display) */
.hz-auto { padding: 16px; margin: 6px 0 16px; }
.hz-auto .kicker { margin: 0 0 8px; display: inline-flex; padding: 4px 8px; border-radius: 8px; background: #262e00; color: #d4ff00; font: 600 12px/16px var(--body); letter-spacing: .6px; }
.hz-auto .display { margin: 0; font-family: var(--cond); font-style: italic; font-weight: 800; font-size: 34px !important; line-height: 1.05; letter-spacing: -.5px; color: #f3f4f6; }
.hz-auto .display em { display: inline-block; font-style: italic; background: #d4ff00; color: #0d0e11; padding: 0 8px; border-radius: 8px; line-height: 1.1; }
.hz-auto .muted, .hz-auto .lede { margin: 8px 0 0; font-size: 13px; color: #9ca3af; max-width: none; }
.mc-hero { border: 2px solid #2a2e39; border-radius: 16px; min-height: 0; padding: 16px; background: #14161b; background-image: linear-gradient(to right, rgba(212,255,0,.05) 1px, transparent 1px), linear-gradient(to bottom, rgba(212,255,0,.05) 1px, transparent 1px); background-size: 20px 20px; justify-content: flex-start; }
.mc-hero::after { display: none; }
.mc-kick { display: inline-flex; align-self: flex-start; padding: 4px 8px; border-radius: 8px; background: #262e00; color: #d4ff00; font: 600 12px/16px var(--body); letter-spacing: .6px; text-transform: uppercase; margin: 0 0 8px; }
.mc-title { font-family: var(--cond); font-style: italic; font-weight: 800; font-size: 34px; line-height: 1.05; letter-spacing: -.5px; margin: 0; }
.mc-title em { display: inline-block; font-style: italic; background: #d4ff00; color: #0d0e11; padding: 0 8px; border-radius: 8px; }
.mc-side { right: 16px; top: 16px; font-family: var(--cond); font-style: italic; font-weight: 800; color: #d4ff00; font-size: 13px; letter-spacing: .4px; }
/* search, chips, fields, buttons */
.search, .mc-search { border: 1px solid #2a2e39; border-radius: 12px; background: #1c1f26; color: #f3f4f6; }
.search { padding: 14px 14px 14px 40px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%239ca3af' stroke-width='2' stroke-linecap='round'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cpath d='M20 20l-3.5-3.5'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-size: 18px; background-position: 14px center; margin-bottom: 12px; }
.mc-filter { background: #d4ff00; border-radius: 8px; }
.mc-filter .mc-ic { stroke: #0d0e11; }
.chips { gap: 8px; }
.chip { border-radius: 8px; border: 1px solid #2a2e39; background: #1c1f26; color: #f3f4f6; font: 700 12px/16px var(--body); letter-spacing: .6px; padding: 7px 10px; }
.chip.on { background: #d4ff00; color: #0d0e11; border-color: #d4ff00; }
.chip .mc-ic { stroke: currentColor; }
.field label { font: 700 11px/14px var(--body); letter-spacing: .6px; color: #d4ff00; margin-bottom: 6px; }
.field input, .field select, .field textarea { border-radius: 12px; border: 1px solid #2a2e39; background: #1c1f26; color: #f3f4f6; }
.hz-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.btn { border-radius: 12px; font-family: var(--cond); font-style: italic; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.btn-acid { background: #d4ff00; color: #0d0e11; }
.btn-heat { background: #ff4d38; color: #0d0e11; }
.btn-ghost { background: #1c1f26; border: 1px solid #2a2e39; color: #f3f4f6; }
.btn.hz-outline { background: transparent; border: 2px solid #d4ff00; color: #d4ff00; }
.hz-stripe { background-image: repeating-linear-gradient(-45deg, rgba(13,14,17,.14), rgba(13,14,17,.14) 8px, transparent 8px, transparent 16px); font-size: 17px; padding: 16px; }
.mc-create { border-radius: 16px; background: #ff4d38; color: #0d0e11; font-style: italic; letter-spacing: .04em; box-shadow: none; justify-content: flex-start; background-image: repeating-linear-gradient(-45deg, rgba(13,14,17,.14), rgba(13,14,17,.14) 8px, transparent 8px, transparent 16px); }
.mc-create .mc-plus { background: #0d0e11; color: #ff4d38; border-radius: 8px; }
.mc-create .mc-plus .mc-ic { stroke: #ff4d38; }
.mc-create .mc-arrows { margin-left: auto; background: #0d0e11; border-radius: 8px; padding: 6px; }
.mc-create .mc-arrows .mc-ic { stroke: #ff4d38; }
.mc-create b { font-size: 20px; }
/* cards + rows */
.m-card, .v-card, .p-row, .n-row, .t-card, .toggle, .rev-box, .sf-item, .bd-card, .loc-card, .pf-card, .rng-card, .pf-tile, .pc, .mc-empty { border: 2px solid #2a2e39; border-radius: 16px; background: #14161b; }
.toggle { padding: 14px 16px; margin-bottom: 10px; }
.toggle b { font-family: var(--cond); font-weight: 700; font-size: 16px; letter-spacing: .5px; text-transform: uppercase; }
.toggle > span:last-child:not(.switch) { color: #d4ff00; font: 700 12px/16px var(--body); letter-spacing: .6px; text-transform: uppercase; }
.switch { background: #252932; border: 1px solid #2a2e39; }
.switch.on { background: #d4ff00; border-color: #d4ff00; }
.sec h2, .hz-sec h2 { font-family: var(--cond); font-style: italic; font-weight: 800; font-size: 20px; letter-spacing: .3px; }
.sec button, .linkish { color: #d4ff00; font: 700 12px/16px var(--body); letter-spacing: .6px; text-transform: uppercase; }
.rev-box b, .sf-item b, .sf-hero b { font-family: var(--cond); font-style: italic; font-weight: 800; font-size: 16px; letter-spacing: .3px; text-transform: uppercase; color: #f3f4f6; }
.rev-box p, .sf-item p { font-size: 13px; color: #9ca3af; }
.rev-box.hz-rights, .rev-box:nth-of-type(4) { border-color: #d4ff00; background: #262e00; }
.rev-box:nth-of-type(4) p { color: #e8ff75; }
.rev-box:nth-of-type(4) .btn { background: #d4ff00; color: #0d0e11; border: 0; }
.sf-hero { border: 2px solid #d4ff00; border-radius: 16px; background: #262e00; }
.sf-hero b { color: #d4ff00; }
.sf-hero small { color: #e8ff75; }
.sf-shield { background: #d4ff00; border-radius: 8px; }
.sf-shield svg { stroke: #0d0e11; }
.sf-item { border-left-width: 2px; padding: 12px 14px; }
.hz-lock { text-align: center; padding: 20px 16px; margin: 4px 0 14px; border-radius: 16px; border: 2px solid color-mix(in srgb, var(--c) 55%, #14161b); background: #14161b; background-image: linear-gradient(to right, rgba(255,255,255,.03) 1px, transparent 1px), linear-gradient(to bottom, rgba(255,255,255,.03) 1px, transparent 1px); background-size: 20px 20px; }
.hz-lock-ic { display: grid; place-items: center; width: 48px; height: 48px; margin: 0 auto 12px; border-radius: 8px; background: var(--c); color: #0d0e11; }
.hz-lock-ic svg { width: 26px; height: 26px; fill: none; stroke: #0d0e11; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.hz-lock b { display: block; font-family: var(--cond); font-style: italic; font-weight: 800; font-size: 22px; letter-spacing: .3px; color: #f3f4f6; }
.hz-lock p { margin: 6px 0 14px; color: #9ca3af; font-size: 13px; line-height: 1.5; max-width: 30ch; margin-left: auto; margin-right: auto; }
.hz-lock .btn { font-size: 16px; padding: 14px; }
.mc-empty { border-style: solid; }
/* You tab */
.pf-card { background: #14161b; border-radius: 16px; }
.pf-stats { border-radius: 0; border: 0; padding: 0; gap: 8px; }
.pf-stats > div { padding: 12px 4px; border-radius: 8px; background: #252932; border: 1px solid #2a2e39; }
.pf-stats > div + div::before { display: none; }
.pf-stats svg { display: none; }
.pf-stats b { font-family: var(--cond); font-style: italic; font-weight: 800; font-size: 22px; }
.pf-stats > div:nth-child(3) b { color: #d4ff00; } .pf-stats > div:nth-child(4) b { color: #ff4d38; }
.pf-stats span { font: 600 11px/14px var(--body); letter-spacing: .6px; }
.pf-pid { color: #d4ff00; font: 600 12px/16px var(--body); letter-spacing: .6px; text-transform: uppercase; }
.pf-name { font-family: var(--cond); font-style: italic; font-weight: 800; font-size: 26px; }
.pf-av { border-radius: 12px !important; background: #d4ff00 !important; color: #0d0e11 !important; font-family: var(--cond); font-weight: 800; }
.pf-av img { border-radius: 12px; }
.pf-bar { height: 10px; border-radius: 99px; background: #252932; }
.pf-bar i { background: #d4ff00; border-radius: 99px; }
.loc-card.need { border: 2px solid #ff4d38; background: #2c1514; }
.loc-card.need .loc-txt small { color: #ff4d38; }
.loc-ico { background: #ff4d38 !important; border-radius: 8px; }
.loc-ico svg { stroke: #0d0e11 !important; }
.loc-chg { background: #ff4d38; color: #0d0e11; border-radius: 8px; padding: 4px 10px; font: 700 12px/16px var(--body); letter-spacing: .6px; text-transform: uppercase; }
.pf-edit { border-radius: 12px; font-style: italic; font-weight: 800; background: #d4ff00; color: #0d0e11; }
.pf-switch { border-radius: 12px; border: 2px solid #2a2e39; background: #14161b; font-style: italic; font-weight: 800; }
.pf-sync { border-radius: 12px !important; border: 1px solid #2a2e39 !important; background: #14161b !important; }
.pf-grid { gap: 12px; }
.pf-tile { border-radius: 16px; padding: 14px; }
.pf-ic.pf-ic { width: 40px; height: 40px; flex: 0 0 40px; border-radius: 8px; border: 0; background: var(--c); box-shadow: none; }
.pf-ic.pf-ic svg { stroke: #0d0e11; width: 22px; height: 22px; }
.pf-tile b { font-family: var(--cond); font-style: italic; font-weight: 800; font-size: 15px; letter-spacing: .3px; }
.pf-tile .s { color: #9ca3af; font-size: 12px; }
.pf-tile .go { stroke: var(--c); }
/* alerts heading */
.al-title { font-family: var(--cond); font-style: italic; font-weight: 800; font-size: 34px; letter-spacing: -.5px; }
.al-title em { display: inline-block; font-style: italic; background: #d4ff00; color: #0d0e11; padding: 0 8px; border-radius: 8px; }
.al-markall { border: 1px solid #d4ff00; border-radius: 8px; padding: 6px 10px; font: 700 12px/16px var(--body); letter-spacing: .6px; }
.al-card { border-width: 2px; }
/* badges */
.bd-head { padding: 16px; margin: 6px 0 14px; border: 2px solid #2a2e39; border-radius: 16px; background: #14161b; align-items: center; }
.bd-kick { display: inline-flex; padding: 4px 8px; border-radius: 8px; background: #262e00; color: #d4ff00; font: 600 12px/16px var(--body); letter-spacing: .6px; text-transform: uppercase; margin: 0 0 6px; }
.bd-title { font-family: var(--cond); font-style: italic; font-weight: 800; font-size: 32px; letter-spacing: -.5px; margin: 0; display: inline-block; background: #d4ff00; color: #0d0e11; padding: 0 8px; border-radius: 8px; line-height: 1.1; }
.bd-keep { color: #d4ff00; font: 700 12px/16px var(--body); letter-spacing: .6px; text-transform: uppercase; display: flex; flex-direction: column; align-items: center; gap: 4px; }
.bd-keep svg { fill: #d4ff00; width: 20px; height: 20px; }
.bd-seg { border-radius: 12px; background: #1c1f26; border: 1px solid #2a2e39; }
.bd-seg-btn { border-radius: 8px; font: 700 12px/16px var(--body); letter-spacing: .6px; }
.bd-card { background: #14161b; border: 2px solid #2a2e39; }
.bd-card .bd-info strong { font-family: var(--cond); font-style: italic; font-weight: 800; font-size: 16px; letter-spacing: .3px; text-transform: uppercase; }
.bd-hex { background: #1c1f26; border-radius: 8px; }
.bd-foot { color: #d4ff00; font: 700 12px/16px var(--body); letter-spacing: .6px; text-transform: uppercase; text-align: center; }
/* edit profile */
.hz-avcard { display: flex; gap: 12px; align-items: center; margin-bottom: 14px; padding: 16px; border: 2px solid #2a2e39; border-radius: 16px; background: #14161b; }
.hz-avcard .av { border-radius: 12px !important; background: #d4ff00 !important; color: #0d0e11 !important; }
.hz-avcard .btn { padding: 10px 12px; font-size: 13px; }
/* radar */
.rng-card { background: #14161b; }
.radar-wrap { padding: 12px; border: 2px solid #2a2e39; border-radius: 16px; background: #14161b; margin-bottom: 12px; }
.screen > .sec:first-child + .radar-wrap, .screen > .kicker + .sec { border: 0; }
.rd-head { display: flex; align-items: center; gap: 10px; margin: 6px 0 12px; }
.rd-head > div { flex: 1; min-width: 0; }
.rd-head .kicker { margin: 0 0 4px; color: #d4ff00; font: 600 12px/16px var(--body); letter-spacing: .6px; }
.rd-title { margin: 0; font-family: var(--cond); font-style: italic; font-weight: 800; font-size: 30px !important; line-height: 1; letter-spacing: -.5px; }
.rd-pill { padding: 6px 10px; border-radius: 8px; background: #d4ff00; color: #0d0e11; font: 700 12px/16px var(--body); letter-spacing: .6px; white-space: nowrap; }
.rd-km { font: 600 12px/16px var(--body); letter-spacing: .6px; text-transform: uppercase; }
.hz-logout { background: transparent; border: 2px solid #ff4d38; color: #ff4d38; }
.toggle > span > b, .rev-box > b { text-transform: uppercase; }
/* Learn tab (empty state until guides land) */
.hz-hub:disabled { cursor: default; opacity: .92; }
.hz-hub .soon-chip { margin-left: auto; }
/* ---- Learn tab · organized layout (27 Nov) ---- */
.ln2-hero { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; margin: 8px 0 14px; }
.hz-kicker { margin: 0 0 4px; font-family: var(--mono, ui-monospace, monospace); font-size: 11px; letter-spacing: .8px; color: #d4ff00; text-transform: uppercase; }
.ln2-h1 { margin: 0; font-family: var(--cond); font-style: italic; font-weight: 800; font-size: 38px; line-height: .95; letter-spacing: -.5px; color: #f3f4f6; }
.ln2-h1 em { font-style: italic; color: #d4ff00; }
.ln2-count { flex: none; display: grid; gap: 2px; justify-items: end; padding: 8px 12px; border-radius: 12px; border: 1px solid #2a2e39; background: #1c1f26; }
.ln2-count small { font-family: var(--mono, ui-monospace, monospace); font-size: 11px; letter-spacing: .8px; color: #9ca3af; }
.ln2-count b { font-family: var(--mono, ui-monospace, monospace); font-size: 18px; color: #d4ff00; font-variant-numeric: tabular-nums; }
.ln2-pills { margin-bottom: 10px; }
.ln2-seg { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 4px; padding: 4px; margin: 0 0 16px; border-radius: 999px; border: 1px solid #2a2e39; background: #14161b; }
.ln2-seg button { min-height: 36px; border: 0; border-radius: 999px; background: transparent; color: #9ca3af; font-family: var(--mono, ui-monospace, monospace); font-size: 11.5px; letter-spacing: .8px; }
.ln2-seg button.on { background: #1c1f26; color: #f3f4f6; border: 1px solid #2a2e39; }
.ln2-sec { display: flex; align-items: baseline; justify-content: space-between; margin: 18px 2px 8px; font-family: var(--mono, ui-monospace, monospace); font-size: 11px; letter-spacing: .8px; text-transform: uppercase; }
.ln2-sec span { color: #d4ff00; } .ln2-sec small { color: #9ca3af; font-size: 11px; }
.ln2-row { display: flex; align-items: center; gap: 10px; width: 100%; min-height: 56px; padding: 12px 14px; margin-bottom: 10px; border-radius: 16px; border: 1px solid #2a2e39; background: #1c1f26; color: #f3f4f6; text-align: left; }
.ln2-row .ln2-name { flex: 1; display: grid; gap: 2px; min-width: 0; }
.ln2-row .ln2-name b { font-size: 15px; line-height: 1.25; }
.ln2-row .ln2-name small { font-family: var(--mono, ui-monospace, monospace); font-size: 11px; letter-spacing: .6px; color: #d4ff00; }
.ln2-row > svg, .ln2-up svg, .ln2-arrow svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; transform: rotate(90deg); flex: none; color: #9ca3af; }
.ln2-up svg { transform: rotate(-90deg); color: #d4ff00; }
.ln2-arrow svg { transform: none; color: #d4ff00; }
.ln2-row:not(.done) { flex-wrap: wrap; }
.ln2-row:not(.done) .ln2-meta { width: 100%; }
.ln2-row:not(.done) .ln2-name { flex: 1 1 auto; }
.ln2-meta { display: flex; align-items: center; gap: 8px; font-family: var(--mono, ui-monospace, monospace); font-size: 11px; letter-spacing: .8px; color: #9ca3af; }
.ln2-meta em { font-style: normal; padding: 3px 8px; border-radius: 6px; background: #252932; color: #f3f4f6; }
.ln2-card .ln2-meta em { background: #d4ff00; color: #0d0e11; }
.ln2-xp { font-family: var(--mono, ui-monospace, monospace); font-size: 11px; letter-spacing: .6px; color: #d4ff00; }
.ln2-check { flex: none; width: 32px; height: 32px; display: grid; place-items: center; border-radius: 50%; background: #d4ff00; color: #0d0e11; }
.ln2-check svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2.4; }
.ln2-card { padding: 14px; margin-bottom: 10px; border-radius: 18px; border: 2px solid #d4ff00; background: #14161b; }
.ln2-head { display: flex; align-items: center; justify-content: space-between; width: 100%; padding: 0; border: 0; background: transparent; color: inherit; }
.ln2-card h3 { margin: 10px 0 6px; font-size: 19px; line-height: 1.2; font-weight: 700; color: #f3f4f6; }
.ln2-points { margin: 0 0 14px; padding-left: 18px; display: grid; gap: 8px; color: #d1d5db; font-size: 14.5px; line-height: 1.45; }
.ln2-points li::marker { color: #9ca3af; }
.ln2-card .btn svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2.4; vertical-align: -3px; margin-right: 6px; }
.ln2-plan { position: relative; display: grid; gap: 4px; width: 100%; padding: 14px 44px 14px 14px; margin: 16px 0 6px; border-radius: 16px; border: 1px solid #2a2e39; background: #1c1f26; color: #f3f4f6; text-align: left; }
.ln2-plan b { font-size: 16px; } .ln2-plan small { color: #9ca3af; font-size: 13px; }
.ln2-plan .ln2-arrow { position: absolute; right: 14px; top: 50%; transform: translateY(-50%); }


/* ---- 28 Nov 2026: touch targets >= 44px (design skill / WCAG 2.5.8) ------
   Visual size stays; the tap area grows via min-height or an invisible ::after. */
.chip, .pill, .seg-btn, .ln2-pill, .ln2-seg button, .tab, .filter, .sort-btn, .auth-links button, .toggle, .row-btns .btn, .btn-sm, .mini {
  min-height: 44px;
}
.chip { padding-top: 0; padding-bottom: 0; display: inline-flex; align-items: center; }
.bar-city { height: 44px; padding: 0 12px; }
.sec button, .linkish, .cr-av, .al-ic, .age-tick, .n-new, .ln2-row, .mc-row, .nav-back, .auth-back, .sheet-x, .close, [data-action="back"], [data-action="close"] {
  position: relative;
}
.sec button::after, .linkish::after, .pf-plus::after, .nav-back::after, .auth-back::after, .sheet-x::after, .close::after, [data-action="back"]::after, [data-action="close"]::after {
  content: ""; position: absolute; inset: 50% auto auto 50%; width: max(100%, 44px); height: max(100%, 44px); transform: translate(-50%, -50%); border-radius: inherit;
}
input[type="range"] { min-height: 44px; }
input:not([type="checkbox"]):not([type="radio"]):not([type="hidden"]):not([type="file"]):not([type="range"]), select, textarea, button.btn { min-height: 44px; }
.dock button, .dock a { min-height: 48px; }
.age-tick { min-height: 56px; }
.age-guardian { margin: 6px 0 2px; }
.hz-pill, .pf-setname, .scan-again, .see-all, .hz-sec button, .ln2-head { min-height: 44px; display: inline-flex; align-items: center; }
.hz-sec button, .see-all { padding: 0 6px; margin-right: -6px; }
.ln2-head { width: 100%; justify-content: space-between; }
.icon-btn, .mc-filter { width: 44px; height: 44px; }
.pf-sync { min-height: 44px; }
.ln2-meta small, .rr-learn-txt small, .rr-learn-sport small { font-size: 11px; }
.rev-box a, .note a, .fine a { display: inline-block; padding: 8px 0; margin: -8px 0; }
.chip { min-width: 44px; justify-content: center; }
.brand { min-height: 44px; display: inline-flex; align-items: center; }

/* city card: Maps-style solid pin, reads as "location" instantly */
.loc-ico-map svg { width: 26px; height: 26px; stroke: none; fill: none; filter: drop-shadow(0 2px 3px rgba(0,0,0,.45)); }

/* ---- app tour, hz palette (28 Nov 2026) ---- */
.tour-ring { border: 2px solid #D4FF00; border-radius: 14px; box-shadow: 0 0 0 9999px rgba(10,11,14,.82), 0 0 0 6px rgba(212,255,0,.18), 0 0 28px rgba(212,255,0,.5); }
@keyframes tourPulse { 0%,100% { box-shadow: 0 0 0 9999px rgba(10,11,14,.82), 0 0 0 4px rgba(212,255,0,.14), 0 0 16px rgba(212,255,0,.35); } 50% { box-shadow: 0 0 0 9999px rgba(10,11,14,.85), 0 0 0 10px rgba(212,255,0,.22), 0 0 30px rgba(212,255,0,.7); } }
.tour-card { background: #1C1F26; border: 1px solid #2A2E39; border-radius: 16px; box-shadow: 0 18px 40px rgba(0,0,0,.6); }
.tour-count { color: #D4FF00; font: 700 11px/1 var(--body); letter-spacing: .14em; }
.tour-title { font-family: var(--cond); font-style: italic; font-weight: 800; font-size: 26px; color: #F3F4F6; letter-spacing: -.2px; }
.tour-d { color: #9CA3AF; font-size: 13.5px; }
.tour-hint { color: #FF4D38; font: 700 11px/1 var(--body); letter-spacing: .12em; }
.tour-dots i.on { background: #D4FF00; }
.tour-btns .btn { min-height: 44px; }
@media (prefers-reduced-motion: reduce) { .tour-ring { animation: none; } }

/* guide-only outro (/guide) */
.tour-end { position: absolute; inset: 0; z-index: 80; display: flex; flex-direction: column; justify-content: center; gap: 10px; padding: 28px 22px 34px; background: #0A0B0E; color: #F3F4F6; opacity: 0; transition: opacity .35s ease; }
.tour-end.on { opacity: 1; }
.te-logo { width: 150px; margin: 0 0 18px; }
.te-kicker { margin: 0; font: 700 11px/1 var(--body); letter-spacing: .18em; color: #D4FF00; }
.te-title { margin: 6px 0 10px; font-family: var(--cond); font-style: italic; font-weight: 800; font-size: 40px; line-height: .95; letter-spacing: -.5px; text-transform: uppercase; }
.te-title em { font-style: italic; color: #D4FF00; }
.te-d { margin: 0 0 22px; color: #9CA3AF; font-size: 15px; line-height: 1.5; }
.te-cta { display: flex; align-items: center; justify-content: center; text-decoration: none; margin-bottom: 8px; }
.te-foot { margin: 22px 0 0; font: 600 11px/1 var(--body); letter-spacing: .1em; color: #6B7280; text-transform: uppercase; }
.te-soon { margin: -8px 0 18px; font-size: 13px; color: #9CA3AF; } .te-soon span { display: inline-block; margin-right: 8px; padding: 4px 8px; border-radius: 6px; background: rgba(255,77,56,.15); color: #FF4D38; font: 800 10.5px/1 var(--body); letter-spacing: .14em; }

/* radar presence tags */
.pc-recent { display: inline-block; font: 800 9.5px/1 var(--body); letter-spacing: .1em; color: #F59E0B; background: rgba(245,158,11,.14); border: 1px solid rgba(245,158,11,.35); border-radius: 6px; padding: 4px 6px; white-space: nowrap; }
.pc-card-live.recent { background: #F59E0B; animation: none; box-shadow: 0 0 8px rgba(245,158,11,.5); }

.n-row.unread strong { color: var(--acid); }
.new-pill { display: inline-block; margin-left: 6px; padding: 2px 6px; border-radius: 6px; background: var(--acid); color: #0D0E11; font: 800 9.5px/1 var(--body); letter-spacing: .12em; font-style: normal; vertical-align: middle; }
.rng-src { margin: 8px 2px 4px; font-size: 12px; line-height: 1.4; color: #F59E0B; }
.rng-src.gps { color: var(--mute); }
.rng-src .linkish { color: var(--acid); font-weight: 700; }
/* quiet re-renders (presence pump, hydrate, realtime, tab return) must not replay
   entrance animations — only a real screen change (.screen.enter) animates in. */
.screen.quiet .mc-card, .screen.quiet .bd-card, .screen.quiet .pc, .screen.quiet .radar,
.screen.quiet .bars i, .screen.quiet .ladder-bar, .screen.quiet [class*="rise"], .screen.quiet .xp-bar, .screen.quiet .hz-hero,
.screen.quiet .n-row, .screen.quiet .al-card, .screen.quiet .loc-card, .screen.quiet .rung { animation: none !important; }
.screen.quiet .xp-fill, .screen.quiet .hz-fill { transition: none !important; }
/* 1 Dec — the right-hand dark strip on the owner's phone: the body (#000/#0d0e11) showed
   beside a .phone that ended up narrower than the viewport (classic scrollbar gutter on
   <html> / rounding of min(430px,100%) under zoom). On phone widths the app owns the whole
   viewport and the body is painted in the same ink, so no strip can ever appear. */
html { overflow: hidden; overscroll-behavior: none; }
html, body { background: var(--ink) !important; }
@media (max-width: 520px) {
  body { display: block; }
  .phone { width: 100% !important; max-width: none !important; margin: 0 !important; }
}

/* ---------- leaderboard (owner mock, 1 Dec) ---------- */
.lb-segs { display: flex; gap: 6px; padding: 4px; border: 1px solid var(--line-2); border-radius: 14px; background: #0f110f; margin: 4px 0 12px; }
.lb-seg { flex: 1; padding: 10px 0; border: 0; border-radius: 10px; background: transparent; color: #9CA3AF; font: 800 12px/1 var(--cond); letter-spacing: .14em; cursor: pointer; }
.lb-seg.on { background: var(--acid); color: #08090a; }
.lb-season { display: flex; align-items: center; gap: 8px; padding: 10px 12px; border: 1px solid var(--line-2); border-radius: 12px; background: #0f110f; font: 700 11px/1 var(--cond); letter-spacing: .12em; color: #F3F4F6; margin-bottom: 14px; }
.lb-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--acid); box-shadow: 0 0 8px var(--acid); }
.lb-chip { margin-left: auto; padding: 6px 9px; border-radius: 8px; border: 1px solid var(--acid); background: transparent; color: var(--acid); font: 800 10px/1 var(--cond); letter-spacing: .12em; cursor: pointer; }
.lb-podium { display: grid; grid-template-columns: 1fr 1.15fr 1fr; gap: 8px; align-items: end; margin: 6px 0 16px; }
.lb-pod { position: relative; display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 14px 8px 12px; border-radius: 16px; border: 1px solid var(--line-2); background: #121512; text-align: center; min-width: 0; }
.lb-pod.win { border-color: var(--acid); background: #141a10; padding-top: 22px; box-shadow: 0 0 0 1px rgba(212,255,0,.15), 0 10px 30px rgba(212,255,0,.08); }
.lb-pod.empty { opacity: .55; }
.lb-crown { position: absolute; top: -12px; left: 50%; transform: translateX(-50%); color: var(--acid); font-size: 18px; line-height: 1; }
.lb-pod b { font: 800 13px/1.1 var(--cond); color: #F3F4F6; letter-spacing: .04em; max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.lb-pod em { font: 800 13px/1 var(--cond); font-style: normal; color: var(--acid); }
.lb-pod.p2 em, .lb-pod.p3 em { color: #F3F4F6; }
.lb-pod small { font-size: 10px; letter-spacing: .1em; color: #9CA3AF; }
.lb-pos { font: 800 10px/1 var(--cond); letter-spacing: .1em; color: #08090a; background: var(--acid); border-radius: 6px; padding: 3px 6px; }
.lb-pod.p2 .lb-pos, .lb-pod.p3 .lb-pos { background: #2A2E39; color: #F3F4F6; }
.lb-av { width: 44px; height: 44px; border-radius: 12px; background: #1C1F26; border: 1px solid var(--line-2); display: grid; place-items: center; overflow: hidden; font: 800 14px/1 var(--cond); color: #F3F4F6; flex: none; }
.lb-av.big { width: 58px; height: 58px; font-size: 18px; border-color: var(--acid); }
.lb-av img { width: 100%; height: 100%; object-fit: cover; display: block; }
.lb-head { display: flex; justify-content: space-between; font: 700 10px/1 var(--cond); letter-spacing: .14em; color: #9CA3AF; margin: 4px 2px 8px; }
.lb-sort { color: var(--acid); }
.lb-row { display: flex; align-items: center; gap: 10px; width: 100%; padding: 10px 12px; margin-bottom: 8px; border-radius: 14px; border: 1px solid var(--line-2); background: #0f110f; color: #F3F4F6; text-align: left; cursor: pointer; }
.lb-row.me { border-color: var(--acid); }
.lb-n { width: 24px; font: 800 13px/1 var(--cond); color: #9CA3AF; }
.lb-who { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.lb-who b { font: 700 14px/1.1 var(--body); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.lb-who small { font-size: 11px; color: #9CA3AF; letter-spacing: .02em; }
.lb-xp { text-align: right; display: flex; flex-direction: column; gap: 2px; }
.lb-xp b { font: 800 15px/1 var(--cond); color: #F3F4F6; }
.lb-xp small { font: 700 9px/1 var(--cond); letter-spacing: .14em; color: #9CA3AF; }
.lb-empty { padding: 26px 12px; text-align: center; border: 1px dashed var(--line-2); border-radius: 14px; color: #9CA3AF; }
.lb-empty b { display: block; font: 800 14px/1 var(--cond); letter-spacing: .12em; color: #F3F4F6; margin-bottom: 6px; }
.lb-me-wrap { position: sticky; bottom: 8px; padding-top: 10px; margin-top: 6px; }
.lb-me { position: relative; display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 14px; border: 1px solid var(--acid); background: #141a10; box-shadow: 0 8px 30px rgba(0,0,0,.5); }
.lb-me .lb-av { border-color: var(--acid); background: var(--acid); color: #08090a; }
.lb-you { position: absolute; left: 40px; bottom: 8px; font: 800 8px/1 var(--cond); letter-spacing: .12em; background: var(--acid); color: #08090a; padding: 2px 4px; border-radius: 4px; }
.lb-me .lb-who b { font: 800 13px/1 var(--cond); letter-spacing: .08em; display: flex; gap: 6px; align-items: center; }
.lb-tier { font: 800 8px/1 var(--cond); letter-spacing: .12em; font-style: normal; border: 1px solid var(--acid); color: var(--acid); border-radius: 4px; padding: 2px 4px; }
.lb-me .lb-xp b { color: var(--acid); }

/* ---- floating chat button (above dock, bottom-right) ---- */
.fab { position: absolute; right: 14px; bottom: calc(var(--dock) + env(safe-area-inset-bottom) + 14px); width: 56px; height: 56px; z-index: 18; display: none; place-items: center; }
.fab.on { display: grid; }
.fab-ring { display: none; }
.fab-btn { position: relative; width: 56px; height: 56px; padding: 0; border: 1px solid #e4ff8a; border-radius: 50%; overflow: hidden; color: #131b08; display: grid; place-items: center;
  background: radial-gradient(circle at 32% 22%, #e0ff72 0%, #d4ff00 43%, #c5f129 100%);
  box-shadow: 0 0 0 5px rgba(212,255,0,.05), 0 0 28px rgba(200,255,53,.22), 0 10px 24px rgba(0,0,0,.5);
  animation: fab-energy 4.5s ease-in-out infinite; transition: transform .2s cubic-bezier(.2,.75,.25,1); }
.fab-btn:active { transform: rotate(-7deg) scale(.95); }
.fab-btn svg { width: 30px; height: 26px; }
.fab-glint { position: absolute; top: -30%; left: -40%; width: 40%; height: 160%; background: linear-gradient(90deg, transparent, rgba(255,255,255,.4), transparent); transform: skewX(-25deg); animation: fab-glint 4.5s ease-in-out infinite; pointer-events: none; }
.fab-n { position: absolute; top: -2px; right: -2px; min-width: 20px; height: 20px; padding: 0 5px; border-radius: 10px; background: #FF4D38; color: #fff; font: 800 11px/20px var(--cond); text-align: center; border: 2px solid #070807; font-style: normal; }
@keyframes fab-ripple { 0% { transform: scale(1); opacity: .3; } 80%, 100% { transform: scale(1.9); opacity: 0; } }
@keyframes fab-energy { 0%,100% { box-shadow: 0 0 0 5px rgba(212,255,0,.05), 0 0 24px rgba(200,255,53,.18), 0 10px 24px rgba(0,0,0,.5); } 50% { box-shadow: 0 0 0 5px rgba(212,255,0,.08), 0 0 40px rgba(200,255,53,.32), 0 10px 24px rgba(0,0,0,.5); } }
@keyframes fab-glint { 0%, 65% { transform: translateX(-200%) skewX(-25deg); } 82%, 100% { transform: translateX(600%) skewX(-25deg); } }
@media (prefers-reduced-motion: reduce) { .fab-ring, .fab-glint, .fab-btn { animation: none; } }

/* ---- player search bar (Radar top) ---- */
.ps { margin: 0 0 14px; }
.ps-box { display: flex; align-items: center; gap: 10px; height: 50px; padding: 0 14px; border-radius: 14px; background: #1C1F26; border: 1px solid #2a2e39; }
.ps-box:focus-within { border-color: #d4ff00; box-shadow: 0 0 0 3px rgba(212,255,0,.12); }
.ps-box svg { width: 20px; height: 20px; fill: none; stroke: #9CA3AF; stroke-width: 1.8; flex: none; }
.ps-box input { flex: 1; min-width: 0; background: none; border: 0; outline: 0; color: #F3F4F6; font: 500 15px/1 var(--body); }
.ps-box input::placeholder { color: #9CA3AF; }
.ps-x { width: 28px; height: 28px; border-radius: 50%; border: 0; background: #2a2e39; color: #F3F4F6; display: grid; place-items: center; }
.ps-x svg { width: 14px; height: 14px; fill: #F3F4F6; }
.ps-note { margin: 10px 4px 0; color: #9CA3AF; font-size: 13px; }
.ps-note b { color: #F3F4F6; }
.ps-list { margin-top: 8px; border-radius: 14px; overflow: hidden; border: 1px solid #2a2e39; }
.ps-row { display: flex; align-items: center; gap: 12px; width: 100%; padding: 10px 12px; background: #15171c; border: 0; border-bottom: 1px solid #2a2e39; color: inherit; text-align: left; }
.ps-row:last-child { border-bottom: 0; }
.ps-row .av, .ps-row .avatar { width: 40px; height: 40px; flex: none; }
.ps-meta { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.ps-meta strong { font: 700 15px/1.1 var(--body); color: #F3F4F6; }
.ps-meta small { color: #9CA3AF; font-size: 12px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ps-row em { font: 800 14px/1 var(--cond); font-style: normal; color: #d4ff00; letter-spacing: .5px; }
