
/* ---- 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: 10px; 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: 10px; 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: 10px; 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: 9px; 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; }
.gate-logo { width: 64px; animation: cx-slam .7s cubic-bezier(.14,1.25,.28,1) both; }
.gate-text { font-family: var(--cond); font-size: 13px; letter-spacing: .16em; text-transform: uppercase; color: var(--bone); text-align: center; margin: 0; }
.gate-dots { display: flex; gap: 6px; }
.gate-dots i { width: 7px; height: 7px; border-radius: 50%; background: var(--acid); opacity: .25; animation: gate-dot 1.1s ease-in-out infinite; }
.gate-dots i:nth-child(2) { animation-delay: .16s; }
.gate-dots i:nth-child(3) { animation-delay: .32s; }
@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: 10px; 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%);
  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 {
  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-video { width: 100%; height: 100%; object-fit: contain; display: block; background: #050605; position: relative; z-index: 1; }
/* 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; }
}
.intro .cx-ring {
  position: absolute; top: 8%; width: 120px; height: 120px; border-radius: 50%;
  border: 2px solid rgba(216, 255, 47, 0.8);
  animation: cx-ring 0.9s ease-out both; pointer-events: none;
}
@keyframes cx-ring { from { transform: scale(0.15); opacity: .95; } to { transform: scale(2.6); opacity: 0; } }
.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; }
}
.intro .cx-word {
  width: 100%; height: auto; margin-top: 2px;
  animation: cx-word 0.7s cubic-bezier(.16,.9,.22,1) 0.68s both;
}
@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); }
}
.intro .cx-tag {
  width: 52%; height: auto; margin-top: 12px;
  animation: cx-tag 0.5s ease 1.25s both;
}
@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: 10px;
  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; }

.screen.enter { animation: slide 0.28s cubic-bezier(.2,.7,.2,1); }
@keyframes slide {
  from { transform: translateX(18px); opacity: 0; }
  to { transform: none; opacity: 1; }
}
.rise { animation: rise 0.42s cubic-bezier(.2,.7,.2,1) both; }
.rise:nth-child(2) { animation-delay: 0.04s; }
.rise:nth-child(3) { animation-delay: 0.08s; }
.rise:nth-child(4) { animation-delay: 0.12s; }
.rise:nth-child(5) { animation-delay: 0.16s; }
.rise:nth-child(6) { animation-delay: 0.2s; }
@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;
}

.qa {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-bottom: 16px;
}
.qa button {
  background: var(--card);
  border: 1px solid var(--line);
  color: var(--bone);
  min-height: 64px;
  padding: 8px 6px;
  text-align: left;
  border-radius: 4px;
  transition: transform 0.15s ease, background 0.15s ease;
}
.qa button:active { transform: scale(0.96); background: #1c2418; }
.qa button b {
  display: block;
  font-family: var(--cond);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-size: 14px;
}
.qa button span { color: var(--mute); font-size: 11px; }
.qa button.acid { background: var(--acid); color: #111; border-color: var(--acid); }
.qa button.acid span { color: #243000; }
.qa button.heat { background: var(--heat); border-color: var(--heat); color: white; }
.qa button.heat span { color: #ffd0c8; }

.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; }
.you-dot[hidden] { display: none; }
.you-dot {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 12px;
  height: 12px;
  background: var(--bone);
  transform: translate(-50%, -50%) rotate(45deg);
  box-shadow: 0 0 0 4px rgba(243, 239, 230, 0.2);
}
@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; }
.pc-sk {
  display: block; height: 12px; width: 74%; border-radius: 6px;
  background: linear-gradient(90deg, rgba(243,239,230,.07), rgba(243,239,230,.2), rgba(243,239,230,.07));
  background-size: 200% 100%; animation: sk 1.05s linear infinite;
}
.pc-sk.sm { height: 9px; width: 48%; margin-top: 7px; }
@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: 10px; 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; }
.scan-banner {
  text-align: center;
  font-family: var(--cond);
  letter-spacing: 0.2em;
  color: var(--acid);
  animation: blink 0.6s steps(2) infinite;
}
@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(--acid); color: #111; border-color: var(--acid); }
.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: 10px; 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;
  background:
    radial-gradient(280px 180px at 50% 36%, rgba(216, 255, 47, 0.18), transparent 64%),
    #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(100dvh, 900px); border-radius: 18px; }
}

/* ---- profile (You) layout v2 ---- */
.pf-loc { display: inline-flex; align-items: center; gap: 6px; font-family: var(--cond); letter-spacing: 0.14em; text-transform: uppercase; color: var(--mute); font-size: 13px; margin: 2px 0 12px; }
.pf-loc svg { width: 16px; height: 16px; stroke: var(--acid); fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.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; }
.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-tag { position: absolute; right: 12px; top: 14px; transform: rotate(10deg); font-family: var(--display); color: var(--acid); font-size: 13px; line-height: 1.05; text-align: right; letter-spacing: 0.06em; opacity: 0.85; pointer-events: none; }
.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-plate { position: absolute; inset: 0; background: radial-gradient(circle at 30% 25%, var(--c), #0b0f0b 75%); opacity: 0.6; }
.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 — new duotone glyphs in a soft squircle badge */
.pf-ic {
  flex: 0 0 46px;
  width: 46px;
  height: 46px;
  border-radius: 15px;
  display: grid;
  place-items: center;
  position: relative;
  overflow: hidden;
  color: var(--c);
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(255, 255, 255, 0.1);
  background-image: radial-gradient(130% 120% at 22% 8%, color-mix(in srgb, var(--c) 34%, transparent), transparent 64%);
  border-color: color-mix(in srgb, var(--c) 45%, transparent);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1), 0 10px 22px -16px var(--c);
  transition: transform 0.25s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.25s ease;
}
.pf-ic::after {
  content: "";
  position: absolute;
  top: -46%;
  right: -34%;
  width: 74%;
  height: 74%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.16), transparent 70%);
  pointer-events: none;
}
.pf-ic svg {
  position: relative;
  z-index: 1;
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.65;
  stroke-linecap: round;
  stroke-linejoin: round;
  filter: drop-shadow(0 1px 5px color-mix(in srgb, var(--c) 40%, transparent));
}
.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: 10.5px; }
.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: 10.5px; }

/* 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: 9.5px; 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: 10.5px; color: var(--muted); }
.ln-sport { margin: 6px 0 8px; font-size: 10.5px; 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);
}
.chat-kick { margin: 2px 0 8px; }

.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: 10.5px; 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: 9.5px; 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); }
.city-group { margin: 14px 0 6px; font-family: var(--cond); font-size: 10.5px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--mute); }

/* ============================================================
   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); }
.venue-area { font-family: var(--cond); font-size: 12px; letter-spacing: 0.06em; color: var(--mute); }

/* ============================================================
   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: 10.5px; 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: 10.5px; 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: 10.5px; 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: 10px; 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: 10.5px; 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: 10.5px; }
.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: 10px; 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: 8.5px; 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: 9.5px; 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: 10.5px; 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: 10px; }
.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:10.5px;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:8.5px;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:9.5px;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:8.5px;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:8.5px;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}
