/* ==========================================================================
   FAMILY - default theme. Warm black, antique gold, Playfair Display caps,
   photography everywhere: location tiles, page banners, profile backdrops.
   Scoped to .theme-family.
   ========================================================================== */

.theme-family {
  --bg: #0c0b09;
  --bg-2: #12110e;
  --panel: #15130f;
  --panel-solid: #15130f;
  --panel-2: #1c1914;
  --line: rgba(214, 178, 94, .13);
  --line-2: rgba(214, 178, 94, .26);
  --text: #ece5d5;
  --muted: #a59c87;
  --dim: #6f6856;
  --gold: #d4ae5a;
  --gold-hi: #f1d690;
  --gold-lo: #9a7832;
  --accent: #d4ae5a;
  --red: #c9372c;
  --good: #7cc47f;
  --bad: #e0574a;
  --warn: #e5b04a;
  --info: #7fa8d9;
  --hp: #d24a3d;
  --energy: #d4ae5a;
  --awake: #6c9fd6;
  --nerve: #a07fdc;
  --radius: 8px;
  --radius-sm: 6px;
  --font: "Inter", system-ui, sans-serif;
  --display: "Playfair Display", Georgia, serif;
  --brand-font: "Big Shoulders Display", "Oswald", Impact, sans-serif; /* the logo text: swap this one line to change it */
  --quote: "Playfair Display", Georgia, serif;
  --mono: "Inter", system-ui, sans-serif;
  --shadow: 0 18px 40px -24px rgba(0, 0, 0, .9);
  --accent-soft: rgba(212, 174, 90, .12);
  --accent-line: rgba(212, 174, 90, .45);
  --btn-gold: linear-gradient(180deg, #edd18a 0%, #cfa24a 52%, #a9822f 100%);
}
body.theme-family {
  background-color: var(--bg);
  background-image:
    radial-gradient(1200px 520px at 50% -140px, rgba(212, 174, 90, .07), transparent 70%),
    repeating-linear-gradient(100deg, transparent 0 22px, rgba(255, 255, 255, .012) 22px 23px, transparent 23px 61px);
  background-attachment: fixed;
}
body.theme-family::before { opacity: .06; }
.theme-family .mesh { display: none !important; }
.theme-family ::selection { background: var(--gold); color: #1a1407; }

/* ---------- type ---------- */
.theme-family h1, .theme-family h2, .theme-family h3, .theme-family .card__title { font-family: var(--display); font-weight: 800; letter-spacing: .005em; }
.theme-family h1 { text-transform: uppercase; }
.theme-family .card__title { font-size: 21px; font-weight: 700; }
.theme-family .eyebrow { color: var(--gold); font-size: 10.5px; letter-spacing: .24em; font-weight: 600; }
.theme-family a { color: var(--gold-hi); }
.theme-family a:hover { color: #fff; }
.theme-family .mono, .theme-family .num, .theme-family .kv dd, .theme-family .vital__num, .theme-family .chip, .theme-family .rail__row b { font-family: var(--font); font-variant-numeric: tabular-nums; }

/* ---------- surfaces ---------- */
.theme-family .card, .theme-family .stat, .theme-family .rail__card, .theme-family .district, .theme-family .ach, .theme-family .podium__spot,
.theme-family .theme-card, .theme-family .crime-result, .theme-family .fight, .theme-family .medal--big, .theme-family td.ma-alert, .theme-family td.lockout,
.theme-family .crime, .theme-family .quick__btn {
  background: linear-gradient(180deg, #17150f, #13110d); border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: inset 0 1px 0 rgba(255, 235, 190, .04), var(--shadow); backdrop-filter: none;
}
.theme-family .card:hover { border-color: var(--line-2); }
.theme-family .card__head { border-bottom: 1px solid var(--line); padding-bottom: 12px; }
.theme-family .stat__label .ico, .theme-family .quick__btn .ico { color: var(--gold); }
.theme-family .stat__value { font-family: var(--display); font-weight: 800; font-size: 28px; letter-spacing: 0; }
.theme-family .section-title { color: var(--gold); letter-spacing: .24em; font-size: 10.5px !important; font-family: var(--font) !important; }
.theme-family .section-title::after { content: ""; display: block; height: 1px; margin-top: 10px; background: linear-gradient(90deg, var(--line-2), transparent); }

/* legacy content rows */
.theme-family td.contenthead { font-family: var(--display); font-weight: 700; font-size: 20px; letter-spacing: .01em; background: var(--panel-2); border: 1px solid var(--line); border-bottom: 1px solid var(--line-2); border-radius: var(--radius) var(--radius) 0 0; padding: 14px 20px 12px; backdrop-filter: none; }
.theme-family td.contentcontent { background: var(--panel); border: 1px solid var(--line); border-top: 0; backdrop-filter: none; }
.theme-family tr:has(> td.contentcontent):not(:has(+ tr > td.contentcontent)) > td.contentcontent { box-shadow: var(--shadow); }
.theme-family td.contentcontent table td { border-bottom-color: var(--line); }
.theme-family td.contentcontent table tr:first-child > td > b { color: var(--gold); font-weight: 600; font-size: 12px; letter-spacing: .08em; text-transform: uppercase; }
.theme-family td.ma-alert { border-left: 3px solid var(--c, var(--gold)); }

/* ---------- controls ---------- */
.theme-family input[type=submit], .theme-family input[type=button], .theme-family button.btn, .theme-family .btn, .theme-family button[type=submit]:not(.iconbtn) {
  background: var(--btn-gold); color: #1c1506; border: 1px solid #7f6024; border-radius: 4px;
  font: 700 12px/1 var(--display); text-transform: uppercase; letter-spacing: .14em; min-height: 40px; padding: 0 20px;
  box-shadow: inset 0 1px 0 rgba(255, 245, 210, .6), inset 0 -2px 0 rgba(90, 64, 16, .45), 0 6px 18px -8px rgba(212, 174, 90, .55); filter: none;
}
.theme-family .btn:hover, .theme-family input[type=submit]:hover, .theme-family button[type=submit]:not(.iconbtn):hover { filter: brightness(1.08); color: #1c1506; }
.theme-family .btn:active, .theme-family input[type=submit]:active { transform: translateY(1px); box-shadow: inset 0 2px 4px rgba(90, 64, 16, .5); }
.theme-family .btn.btn--ghost, .theme-family button.btn.btn--ghost { background: rgba(212, 174, 90, .04); color: var(--gold-hi); border: 1px solid var(--line-2); box-shadow: none; }
.theme-family .btn.btn--ghost:hover { border-color: var(--gold); background: rgba(212, 174, 90, .1); color: #fff; }
.theme-family .btn--sm { min-height: 30px; font-size: 10.5px; padding: 0 12px; }
.theme-family .btn .ico { width: 15px; height: 15px; }
.theme-family input[type=text], .theme-family input[type=password], .theme-family input[type=email], .theme-family input[type=number], .theme-family input[type=url],
.theme-family input:not([type]), .theme-family select, .theme-family textarea { background: #0e0d0a; border: 1px solid var(--line-2); border-radius: 4px; }
.theme-family input:focus, .theme-family select:focus, .theme-family textarea:focus { border-color: var(--gold); box-shadow: 0 0 0 3px rgba(212, 174, 90, .14); }
.theme-family .progress { background: rgba(255, 255, 255, .06); border-radius: 2px; }
.theme-family .progress > span { background: linear-gradient(90deg, var(--gold-lo), var(--gold-hi)); border-radius: 2px; }
.theme-family .pill { border-radius: 3px; }
.theme-family .pill--accent { color: var(--gold-hi); background: rgba(212, 174, 90, .1); border-color: var(--line-2); }
.theme-family .badge { background: var(--red); color: #fff; border-radius: 4px; }
.theme-family .badge--new { background: transparent; color: var(--gold); border-color: var(--line-2); }
.theme-family .tab { border-radius: 4px; background: transparent; border-color: var(--line); font-family: var(--display); font-weight: 700; text-transform: uppercase; letter-spacing: .08em; font-size: 11.5px; }
.theme-family .tab.is-active { background: rgba(212, 174, 90, .12); border-color: var(--gold); color: var(--gold-hi); }

/* ---------- sidebar ---------- */
.theme-family .sidebar { background: #0f0e0b; border-right: 1px solid var(--line); backdrop-filter: none; padding-top: 16px; }
.theme-family .brand { padding: 4px 12px 18px; margin-bottom: 6px; border-bottom: 1px solid var(--line); }
.theme-family .brand__mark { color: var(--gold); width: 34px; height: 34px; }
.theme-family .brand__name { font-family: var(--brand-font); font-weight: 800; font-size: 25px; line-height: 1; text-transform: uppercase; letter-spacing: .03em; background: linear-gradient(180deg, var(--gold-hi), var(--gold) 60%, var(--gold-lo)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.theme-family .nav__label { color: var(--gold); opacity: .8; font-size: 9.5px; letter-spacing: .24em; padding: 12px 12px 6px; }
.theme-family .nav__item { border-radius: 4px; color: #c6bda8; padding: 7px 12px; }
.theme-family .nav__item .ico { color: var(--gold-lo); }
.theme-family .nav__item:hover { background: rgba(212, 174, 90, .06); color: var(--text); }
.theme-family .nav__item.is-active { background: linear-gradient(90deg, rgba(212, 174, 90, .16), rgba(212, 174, 90, .02)); color: var(--gold-hi); }
.theme-family .nav__item.is-active::before { background: var(--gold); }
.theme-family .nav__item.is-active .ico { color: var(--gold-hi); }

/* ---------- top HUD ---------- */
.theme-family .topbar { background: linear-gradient(180deg, #13110d, #0f0e0b); border-bottom: 1px solid var(--line-2); backdrop-filter: none; }
.theme-family .me__ring { background: conic-gradient(var(--gold) calc(var(--p) * 1%), rgba(255, 255, 255, .08) 0); }
.theme-family .me__name { font-family: var(--display); font-weight: 700; font-size: 15px; }
.theme-family .vital { padding: 6px 10px; border: 1px solid var(--line); border-radius: 4px; background: rgba(0, 0, 0, .25); }
.theme-family .vital__label { text-transform: uppercase; letter-spacing: .08em; font-size: 10px; }
.theme-family .vital__track { height: 3px; border-radius: 0; }
.theme-family .vital__fill { box-shadow: none; background: var(--c); border-radius: 0; }
.theme-family .chip { border-radius: 4px; background: rgba(0, 0, 0, .25); border-color: var(--line); }
.theme-family .chip--money { color: var(--gold-hi); border-color: var(--line-2); }
.theme-family .chip--money .ico { color: var(--gold); }
.theme-family .iconbtn { border-radius: 4px; background: rgba(0, 0, 0, .25); border-color: var(--line); }
.theme-family .ticker { background: #0a0908; color: var(--muted); border-bottom: 1px solid var(--line); font-size: 12px; }
.theme-family .ticker__track span::before { content: "\2726"; color: var(--gold); margin-right: 12px; }

/* ---------- page banners (photo) ---------- */
.theme-family .pagehero, .theme-family .hero, .theme-family .dash-hero {
  position: relative; overflow: hidden; border: 1px solid var(--line-2); border-radius: var(--radius); box-shadow: var(--shadow);
  background: linear-gradient(90deg, rgba(10, 9, 7, .94) 0%, rgba(10, 9, 7, .72) 45%, rgba(10, 9, 7, .25) 100%), var(--page-img, none) center 55% / cover no-repeat, #15130f;
}
.theme-family .pagehero::after, .theme-family .hero::after, .theme-family .dash-hero::after { content: ""; position: absolute; inset: auto 0 0 0; height: 40%; background: linear-gradient(180deg, transparent, rgba(12, 11, 9, .7)); pointer-events: none; }
.theme-family .pagehero > *, .theme-family .hero > *, .theme-family .dash-hero > * { position: relative; z-index: 1; }
.theme-family .pagehero { display: flex; align-items: flex-end; min-height: 190px; padding: 26px 28px; margin-bottom: 18px; }
.theme-family .pagehero h1, .theme-family .hero h1 { font-size: clamp(34px, 4.4vw, 56px); margin: 6px 0 0; text-shadow: 0 4px 24px rgba(0, 0, 0, .8); color: #f5ebd4; }
.theme-family .hero { padding: 30px 28px; min-height: 200px; display: flex; flex-direction: column; justify-content: flex-end; }
.theme-family .hero p { color: #cfc5ae; }
.theme-family .hero--compact > .spread { align-items: flex-end; }
/* the first legacy section under a banner doesn't need its title again */
.theme-family .pagehero + table.content > tbody > tr:first-child > td.contenthead, .theme-family .pagehero + table.content > tr:first-child > td.contenthead { margin-top: 0; }

/* ---------- dashboard ---------- */
.theme-family .dash-hero { --page-img: url(../img/loc/hero.webp); padding: 30px 28px; min-height: 230px; }
.theme-family .dash-hero h1 { font-size: clamp(46px, 6vw, 76px); margin: 6px 0 14px; color: #f5ebd4; text-shadow: 0 4px 30px rgba(0, 0, 0, .9); }
.theme-family .dash-hero h1 .gold-text { background: linear-gradient(180deg, var(--gold-hi), var(--gold) 60%, var(--gold-lo)); -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-fill-color: transparent; }
.theme-family .dash-hero h1 .dim { font-family: var(--font); text-transform: none; font-weight: 500; font-size: 14px; color: var(--muted); letter-spacing: .02em; display: block; margin-top: 10px; -webkit-text-fill-color: currentColor; }
.theme-family .quick__btn { background: rgba(12, 11, 9, .72); backdrop-filter: blur(6px); }
.theme-family .quick__btn span { font-family: var(--display); font-weight: 700; }
.theme-family .quick__btn:hover { border-color: var(--gold); }
.theme-family .ring__fg { stroke: var(--gold); }

/* ---------- location tiles ---------- */
.districts-tiles { margin: 18px 0 20px; }
.dtabs { display: flex; gap: 2px; border-bottom: 1px solid var(--line-2); margin-bottom: 14px; overflow-x: auto; scrollbar-width: none; }
.dtab { appearance: none; background: none; border: 0; border-bottom: 2px solid transparent; margin-bottom: -1px; padding: 10px 18px; cursor: pointer;
  font: 700 12px/1 var(--display); letter-spacing: .16em; text-transform: uppercase; color: var(--muted); white-space: nowrap; }
.dtab:hover { color: var(--text); }
.dtab.is-active { color: var(--gold-hi); border-bottom-color: var(--gold); }
.tiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.tiles[hidden] { display: none; }
.tile { position: relative; display: block; aspect-ratio: 16 / 10; border-radius: var(--radius, 8px); overflow: hidden; border: 1px solid var(--line-2); background: #111; isolation: isolate; text-decoration: none !important; }
.tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: saturate(.85) brightness(.72) contrast(1.05); transition: transform .6s cubic-bezier(.2, .8, .2, 1), filter .4s; z-index: -2; }
.tile__shade { position: absolute; inset: 0; z-index: -1; background: radial-gradient(120% 90% at 50% 20%, transparent 30%, rgba(0, 0, 0, .55)), linear-gradient(180deg, rgba(0, 0, 0, .45) 0%, transparent 35%, transparent 60%, rgba(0, 0, 0, .8) 100%); }
.tile__title { position: absolute; top: 14px; left: 0; right: 0; text-align: center; font: 800 clamp(20px, 2.1vw, 28px)/1 "Playfair Display", Georgia, serif; color: #f6e7c1; text-shadow: 0 2px 0 rgba(0, 0, 0, .6), 0 6px 20px rgba(0, 0, 0, .9); letter-spacing: .01em; }
.tile__sub { position: absolute; left: 14px; right: 14px; bottom: 12px; font-size: 12px; font-weight: 500; color: rgba(255, 245, 225, .82); text-shadow: 0 1px 6px #000; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tile::after { content: ""; position: absolute; inset: 0; border-radius: inherit; box-shadow: inset 0 0 0 1px rgba(241, 214, 144, 0); transition: box-shadow .3s; }
.tile:hover img { transform: scale(1.06); filter: saturate(1) brightness(.9) contrast(1.05); }
.tile:hover::after { box-shadow: inset 0 0 0 2px rgba(241, 214, 144, .7); }
.tile:focus-visible { outline: 2px solid var(--gold, #d4ae5a); outline-offset: 3px; }

/* ---------- rail: stats, chat, wire ---------- */
.theme-family .rail__card { padding: 16px 16px 10px; }
.theme-family .rail__card h4 { color: var(--gold); display: flex; align-items: center; gap: 8px; font-size: 10px; letter-spacing: .22em; }
.theme-family .rank__name { font-family: var(--display); font-weight: 800; font-size: 30px; text-transform: uppercase; color: #f5ebd4; }
.theme-family .rank__pct { color: var(--gold); }
.theme-family .rail__row .ico { color: var(--gold-lo); }
.chat { display: flex; flex-direction: column; }
.chat__log { height: 280px; overflow-y: auto; display: flex; flex-direction: column; gap: 8px; padding: 4px 2px 8px; scrollbar-width: thin; scrollbar-color: var(--line-2) transparent; overscroll-behavior: contain; }
.chat__msg { font-size: 13px; line-height: 1.45; }
.chat__msg .chat__who { font-weight: 600; margin-right: 6px; }
.chat__msg time { font-size: 10.5px; color: var(--dim); }
.chat__msg p { margin: 1px 0 0; color: var(--text); overflow-wrap: anywhere; }
.chat__msg.is-me p { color: var(--gold-hi, var(--accent)); }
.chat__empty { color: var(--dim); font-size: 13px; margin: auto 0; text-align: center; }
.chat__form { display: flex; gap: 6px; border-top: 1px solid var(--line); padding-top: 10px; }
.chat__form input { flex: 1; min-width: 0; min-height: 34px; font-size: 13px; }
.wire__item { display: flex; gap: 10px; justify-content: space-between; padding: 8px 0; border-top: 1px solid var(--line); font-size: 12.5px; }
.wire__item time { color: var(--dim); white-space: nowrap; font-size: 11px; }
.theme-family .rail { background: #0f0e0b; border-left: 1px solid var(--line); backdrop-filter: none; padding-top: 16px; }
.theme-family .rail__head { padding: 4px 12px 18px; margin-bottom: 6px; border-bottom: 1px solid var(--line); }
.theme-family .rail__rankname { font-family: var(--display); font-weight: 800; font-size: 19px; background: linear-gradient(180deg, var(--gold-hi), var(--gold) 60%, var(--gold-lo)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.theme-family .rail__pct { color: var(--gold); font-family: var(--font); font-variant-numeric: tabular-nums; }
.theme-family .rail__item b { font-family: var(--font); color: #efe6d2; }
.theme-family .rail__item--static, .theme-family .rail__item--static:hover { color: #c6bda8; }

/* ---------- other rebuilt pages ---------- */
.theme-family .crime { border-radius: 6px; }
.theme-family .crime__name { font-family: var(--display); font-weight: 700; font-size: 16px; }
.theme-family .crime:hover { border-color: var(--gold); }
.theme-family .nerve-meter b { font-family: var(--display); font-weight: 800; }
.theme-family .district { border-radius: 8px; }
.theme-family .district__title { color: var(--gold) !important; font-family: var(--font) !important; letter-spacing: .2em; background: none !important; padding: 0 !important; }
.theme-family .place > .ico:first-child { color: var(--gold-lo); }
.theme-family .gymcard__icon { background: rgba(212, 174, 90, .1); color: var(--gold); border-radius: 6px; }
.theme-family .gymcard__val, .theme-family .podium__val, .theme-family .pcount b, .theme-family .pack__price { font-family: var(--display); font-weight: 800; letter-spacing: 0; }
.theme-family .podium__spot--1 { border-color: var(--gold); }
.theme-family .podium__place { background: var(--gold); }
.theme-family .fight__vs span { background: var(--btn-gold); color: #1c1506; box-shadow: 0 0 24px rgba(212, 174, 90, .4); font-family: var(--display); }
.theme-family .pname { font-family: var(--display) !important; font-weight: 800; text-transform: uppercase; }
.theme-family .ptitle { color: var(--gold-hi); border-color: var(--line-2); }
.theme-family .pmotto { font-style: italic; font-family: var(--display); }
.theme-family .opt--chip:has(input:checked) { border-color: var(--gold); background: rgba(212, 174, 90, .08); box-shadow: none; }
.theme-family .foot { border-top-color: var(--line); }
.theme-family .tabbar { background: rgba(15, 14, 11, .94); border-color: var(--line-2); border-radius: 8px; }
.theme-family .tabbar .is-active { color: var(--gold-hi); background: rgba(212, 174, 90, .12); }
.theme-family .toast { background: #17150f; border-color: var(--line-2); border-radius: 6px; }

@media (max-width: 1100px) { .tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 720px) {
  .tiles { gap: 8px; }
  .tile__title { font-size: 18px; top: 10px; }
  .tile__sub { font-size: 11px; left: 10px; bottom: 8px; }
  .theme-family .pagehero { min-height: 140px; padding: 18px; }
  .theme-family .vital { padding: 4px 8px; }
}
.theme-family .quick { display: none; }
.theme-family .dash-hero { background: linear-gradient(90deg, rgba(10, 9, 7, .92) 0%, rgba(10, 9, 7, .55) 50%, rgba(10, 9, 7, .1) 100%), var(--page-img) right 30% / cover no-repeat, #15130f; }
.theme-family .stat__value, .theme-family .gymcard__val, .theme-family .pcount b, .theme-family .podium__val, .theme-family .pack__price, .theme-family .nerve-meter b { font-family: var(--font); font-weight: 700; letter-spacing: -.02em; }
.theme-family .dash-hero__prog { max-width: 520px; }

/* ---------- logged-out pages ---------- */
.theme-family.auth-body { background-color: var(--bg); }
.theme-family .auth-top { border-bottom: 1px solid var(--line); max-width: none; padding-left: clamp(16px, 4vw, 48px); padding-right: clamp(16px, 4vw, 48px); }
.theme-family .auth-top nav a:not(.btn) { color: var(--muted); font-family: var(--display); font-weight: 700; text-transform: uppercase; letter-spacing: .12em; font-size: 12px; }
.theme-family .auth-main { max-width: 1240px; padding-top: 0; }
.theme-family .auth-foot { border-top: 1px solid var(--line); }
.btn--lg { min-height: 50px !important; padding: 0 28px !important; font-size: 13px !important; }
.lhero { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 40px; align-items: center; min-height: 560px; margin: 0 calc(-1 * clamp(16px, 4vw, 40px)); padding: 60px clamp(16px, 4vw, 48px);
  background: linear-gradient(90deg, rgba(12, 11, 9, .96) 0%, rgba(12, 11, 9, .82) 38%, rgba(12, 11, 9, .35) 70%, rgba(12, 11, 9, .6) 100%), url(../img/loc/hero.webp) right center / cover no-repeat; border-bottom: 1px solid var(--line-2); }
.lhero::after { content: ""; position: absolute; inset: auto 0 0; height: 120px; background: linear-gradient(180deg, transparent, var(--bg)); pointer-events: none; }
.lhero > * { position: relative; z-index: 1; }
.lhero h1 { font-family: var(--display); font-weight: 800; text-transform: none; font-size: clamp(44px, 5.6vw, 76px); line-height: 1.02; margin: 14px 0 18px; color: #f5ebd4; }
.lhero h1 br + * { color: var(--gold); }
.lhero p { font-size: 17px; line-height: 1.6; color: #cdc3ac; max-width: 52ch; margin: 0 0 26px; }
.lhero__cta { display: flex; gap: 12px; flex-wrap: wrap; }
.lhero__ticks { display: flex; gap: 20px; list-style: none; padding: 0; margin: 18px 0 0; font-size: 12.5px; color: var(--muted); }
.lhero__ticks li::before { content: "\2713"; color: var(--gold); margin-right: 6px; }
.theme-family .authcard { background: rgba(18, 16, 12, .88); border: 1px solid var(--line-2); border-radius: 8px; box-shadow: 0 30px 60px -20px #000; backdrop-filter: blur(8px); }
.theme-family .authcard h2 { font-family: var(--display); font-weight: 800; font-size: 30px; }
.lstats { display: grid; grid-template-columns: repeat(4, 1fr); border-bottom: 1px solid var(--line); margin-bottom: 40px; }
.lstats div { display: grid; justify-items: center; padding: 22px 10px; }
.lstats div + div { border-left: 1px solid var(--line); }
.lstats b { font-family: var(--display); font-weight: 800; font-size: 32px; color: var(--gold-hi); }
.lstats span { font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); margin-top: 4px; }
.lsection { text-align: center; margin-bottom: 44px; }
.lsection h2 { font-family: var(--display); font-weight: 800; text-transform: uppercase; font-size: clamp(30px, 3.4vw, 44px); margin: 8px 0 24px; }
.tiles--landing { text-align: left; }
.tiles--landing .tile__sub { white-space: normal; }
.lsplit { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 14px; margin-bottom: 40px; }
.lsplit__medals { display: flex; gap: 8px; margin-top: 14px; }
@media (max-width: 960px) {
  .lhero { grid-template-columns: 1fr; min-height: 0; padding-top: 40px; background-position: 70% center; }
  .lstats { grid-template-columns: 1fr 1fr; }
  .lstats div:nth-child(3) { border-left: 0; }
  .lsplit { grid-template-columns: 1fr; }
}
.theme-family .auth-top .brand { border-bottom: 0; padding: 0; margin: 0; }
.lsplit > .card { margin-top: 0 !important; }
.lhero { margin-left: calc(50% - 50vw); margin-right: calc(50% - 50vw); padding-left: max(clamp(16px, 4vw, 48px), calc(50vw - 620px)); padding-right: max(clamp(16px, 4vw, 48px), calc(50vw - 620px)); }
.theme-family .auth-main { overflow-x: clip; }
@media (max-width: 720px) { .theme-family .stat__value { font-size: 20px; } }

/* ---------- cars ---------- */
.theme-family button.crime { background: linear-gradient(180deg, #17150f, #13110d); }
.theme-family .car, .theme-family .build, .theme-family .part, .theme-family .gta-foot > div { background: linear-gradient(180deg, #17150f, #13110d); border-color: var(--line); }
.theme-family .car__name, .theme-family .build__name { font-family: var(--display); font-weight: 800; }
.theme-family .car__val b, .theme-family .gta-foot b, .theme-family .part__q, .theme-family .slot__q { font-family: var(--display); font-weight: 800; }
.theme-family .build__rating { background: rgba(212, 174, 90, .08); border-color: var(--line-2); }
.theme-family .build__rating b { font-family: var(--display); font-weight: 800; color: var(--gold-hi); }
.theme-family .slot__ico { background: rgba(212, 174, 90, .1); color: var(--gold); }
.theme-family .bin__slot { color: var(--gold); }
.theme-family .picker__opt { border-radius: 4px; }
.theme-family .picker__opt.is-active { border-color: var(--gold); background: rgba(212, 174, 90, .12); color: var(--gold-hi); }
.theme-family .picker__opt b { color: var(--gold); }
.theme-family .car__actions form:not(:first-child) button.btn { font: 600 12px/1 var(--font); letter-spacing: 0; text-transform: none; padding: 0 6px; }
.theme-family .listing, .theme-family .tgood, .theme-family .citycard { background: linear-gradient(180deg, #17150f, #13110d); }
.theme-family .listing__body h3, .theme-family .citycard h3 { font-family: var(--display); font-weight: 700; }
.theme-family .listing__buy b, .theme-family .tgood__px b { font-family: var(--display); font-weight: 800; }
