/* ============================================================
   SetZero — product UI
   Identidade SetZero — dark premium + acid #D6FB00 como sinal de ação
   ============================================================ */

:root {
  /* ===== cores (dark default) ===== */
  --bg:        #101210;
  --bg-2:      #131513;
  --ink:       #f2f0e8;
  --ink-2:     #b7b4a8;
  --ink-3:     #9a9890;

  --acid:      #d6fb00;
  --acid-ink:  #181a0c;
  --acid-bg:   rgba(214, 251, 0, 0.15);

  --card:      #1e201e;
  --card-2:    #1a1c1a;
  --line:      #262a24;
  --line-soft: #20221c;

  --red:       #e5484d;
  --danger-text: #f0b9bb;
  --warn:      #d9a13b;

  /* ===== arte das arenas (artScene) por tema ===== */
  --art-bg:     #2a2f29;
  --art-l1:     rgba(242, 240, 232, .30);
  --art-l2:     rgba(242, 240, 232, .17);
  --art-l3:     rgba(242, 240, 232, .12);

  /* ===== tipografia — Inter (limpa, esportiva, legível 30+) ===== */
  --font-ui:        'Inter', -apple-system, BlinkMacSystemFont,
                     'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  --font-display:   'Inter', -apple-system, 'Segoe UI', sans-serif;

  /* ===== geometria ===== */
  --radius:      16px;
  --radius-sm:   8px;
  --radius-lg:   16px;
  --radius-pill: 999px;

  /* ===== espaçamento ===== */
  --g-1:  4px;
  --g-2:  8px;
  --g-3:  12px;
  --g-4:  16px;
  --g-5:  20px;
  --g-6:  24px;

  /* ===== dimensões ===== */
  --pad:      20px;
  --pad-sm:   14px;
  --tab-h:    68px;
  --top-h:    60px;
}
[data-theme="light"] {
  --bg:        #f6f5f0;
  --bg-2:      #ffffff;
  --ink:       #1a1d18;
  --ink-2:     #5a5e56;
  --ink-3:     #6a6d62;
  --card:      #ffffff;
  --card-2:    #f0efea;
  --line:      #e3e2dc;
  --line-soft: #edece7;
  --danger-text: #b3261e;
  --art-bg:     #e7e5dc;
  --art-l1:     rgba(26, 29, 24, .30);
  --art-l2:     rgba(26, 29, 24, .17);
  --art-l3:     rgba(26, 29, 24, .12);
}

/* ---------- reset ---------- */

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

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  font-family: var(--font-ui);
  background: var(--bg);
  color: var(--ink);
  font-size: 14px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

p { margin: 0; }

.hidden { display: none !important; }

::selection {
  background: var(--acid);
  color: var(--acid-ink);
}

img, svg {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font-family: inherit;
  cursor: pointer;
  color: inherit;
  border: 0;
  background: transparent;
}

input, select, textarea,
[contenteditable] {
  font-family: inherit;
  color: inherit;
}

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

/* ---------- shell ---------- */

.shell {
  max-width: 480px;
  margin: 0 auto;
  min-height: 100vh;
  background: var(--bg);
  position: relative;
}

@media (min-width: 560px) {
  .shell {
    border-left: 1px solid var(--line);
    border-right: 1px solid var(--line);
  }
}

@media (min-width: 900px) {
  .shell { max-width: 560px; }
}

main {
  padding: var(--pad) var(--pad-sm) 0;
}

.page {
  padding-bottom: var(--g-6);
}

/* ---- topbar funcional ---- */
.topbar {
  position: sticky; top: 0; z-index: 40;
  min-height: 60px;
  display: flex; align-items: center; justify-content: space-between;
  padding: 12px 20px;
  background: var(--bg);
  border-bottom: 1px solid var(--line);
}
.brand { font-weight: 700; font-size: 16px; letter-spacing: -.01em; cursor: pointer; user-select: none; }
.brand .dot { color: var(--acid); }
#top-right { display: flex; align-items: center; gap: 8px; }
#top-right .btn {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--line);
}
/* avatar base (listas de jogadores, cards, amigos, loja) — antes só existia no header */
.avatar {
  width: 28px; height: 28px; flex: none;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 50%;
  background: var(--card);
  border: 1px solid var(--line);
  color: var(--ink);
  font-size: 12px; font-weight: 650; line-height: 1;
}
.avatars { display: inline-flex; align-items: center; }
.avatars .avatar + .avatar { margin-left: -8px; box-shadow: 0 0 0 2px var(--bg); }
#top-right .avatar {
  width: 34px; height: 34px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%;
  background: var(--card);
  border: 1px solid var(--line);
  font-size: 13px; font-weight: 650;
}

/* ---- navegação inferior pill (SetZero-style) ---- */
.tabbar {
  position: fixed; bottom: 0; left: 50%; transform: translateX(-50%);
  width: 100%; max-width: 480px; height: calc(var(--tab-h) + env(safe-area-inset-bottom));
  background: var(--bg);
  border-top: 1px solid var(--line);
  display: grid; grid-template-columns: repeat(5, 1fr);
  grid-template-rows: 100%;
  align-items: center;
  padding: 0 6px;
  padding-bottom: env(safe-area-inset-bottom);
  z-index: 50;
}
@media (min-width: 900px) { .tabbar { max-width: 560px; } }
.tab {
  display: flex; flex-direction: column; align-items: center; justify-content: flex-end; gap: 2px;
  padding: 4px 0 8px; cursor: pointer;
  color: var(--ink-3); border: 0; background: transparent;
  border-radius: 8px; transition: background .2s, color .2s;
}
.tab svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.8; }
.tab span { font-size: 11px; font-weight: 600; letter-spacing: .02em; }
.tab.active { color: var(--acid); background: var(--acid-bg); }
.tab.active span { color: var(--acid); }
.tab-play { position: relative; }
.tab-play .playbtn {
  width: 46px; height: 46px; border-radius: 16px;
  background: var(--acid); color: var(--acid-ink); display: grid; place-items: center;
  border: 2px solid var(--bg); margin-bottom: 8px;
  box-shadow: 0 8px 20px -8px rgba(0,0,0,.55);
}
.tab-play .playbtn svg { width: 22px; height: 22px; stroke-width: 2.1; }
.tab-play span:last-child { font-size: 10px; font-weight: 600; color: var(--ink-3); }
.tab-play.active span:last-child { color: var(--acid); }

main { padding: 12px 20px calc(var(--tab-h) + 36px); }

/* ---- sheet como painel sólido ---- */
.sheet-back { position: fixed; inset: 0; background: rgba(0,0,0,.62); z-index: 60; }
.sheet {
  position: fixed; bottom: 0; left: 50%; transform: translateX(-50%);
  width: 100%; max-width: 480px; z-index: 61;
  background: var(--bg); border-top: 1px solid var(--line); border-radius: 16px 16px 0 0;
  padding: 12px 20px calc(20px + env(safe-area-inset-bottom));
}
@media (min-width: 900px) { .sheet { max-width: 560px; } }
.sheet .grab { width: 36px; height: 4px; border-radius: 999px; background: var(--line); margin: 2px auto 16px; }
.sheet h2 { font-size: 20px; font-weight: 650; letter-spacing: -.02em; text-align: left; margin: 0 0 4px; }
.sheet .sub { text-align: left; color: var(--ink-2); font-size: 13px; margin-bottom: 8px; }

/* ---- toast como confirmação discreta ---- */
.toast {
  position: fixed; bottom: calc(var(--tab-h) + 18px); left: 50%; transform: translateX(-50%);
  background: var(--card); color: var(--ink);
  border: 1px solid var(--line);
  font-weight: 600; font-size: 13px; line-height: 1.45;
  padding: 12px 16px; border-radius: 8px; z-index: 80;
  width: max-content; max-width: min(88vw, 430px); text-align: left;
}
.toast.error { background: rgba(229,72,77,.10); border-color: rgba(229,72,77,.38); color: var(--danger-text); }

/* ---- controles inline mantêm o mesmo vocabulário dos formulários ---- */
.inline-select, .score-input {
  background: var(--bg-2);
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: 8px;
  font-size: 14px;
  padding: 12px;
}
.inline-select:hover, .score-input:hover { border-color: var(--ink-3); }
.inline-select:focus, .score-input:focus { border-color: var(--acid); outline: none; }
.score-input { width: 68px; text-align: center; font-variant-numeric: tabular-nums; }

/* ---------- tipografia ---------- */

.display {
  font-family: var(--font-display);
  font-weight: 690;
  letter-spacing: -0.02em;
  line-height: 1.1;
  color: var(--ink);
}

h1.display { font-size: 40px; }
h2.display { font-size: 24px; }

.sub {
  font-size: 12px;
  color: var(--ink-3);
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: var(--g-2);
  margin: var(--g-5) 0 var(--g-2);
  color: var(--ink-3);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.eyebrow:not(:first-child) { margin-top: var(--g-5); }

.hourlist { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 8px; }
.hourbtn {
  display: flex; flex-direction: column; align-items: center; gap: 2px;
  padding: 16px 8px; border-radius: 16px; cursor: pointer;
  background: var(--card); border: 1px solid var(--line); color: var(--ink);
  transition: border-color .15s, background .15s, transform .1s;
}
.hourbtn:hover { border-color: var(--acid); }
.hourbtn b { font-size: 17px; font-weight: 800; font-variant-numeric: tabular-nums; }
.hourbtn small { font-size: 12px; color: var(--ink-2); }
.hourbtn.sel { background: var(--acid); border-color: var(--acid); color: var(--acid-ink); box-shadow: 0 8px 20px -8px rgba(214, 251, 0, .55); }
.hourbtn.sel small { color: var(--acid-ink); }
.hourbtn:active, .slot:active, .chipbtn:active, .mk-cat:active { transform: scale(0.97); transition: transform 150ms ease; }
.calgrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 8px; }
.court-pick {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  background: var(--card); border: 1px solid var(--line);
  border-radius: 16px; padding: 16px; margin-top: 12px;
  transition: border-color .15s;
}
.court-pick:hover { border-color: var(--ink-3); }
.court-pick .nm { font-weight: 700; font-size: 14px; }
.court-pick .sub { font-size: 12px; color: var(--ink-2); margin-top: 2px; }

.chips { display: flex; flex-wrap: wrap; gap: 8px; }.chipbtn {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 8px 12px; border-radius: 999px;
  background: var(--card); border: 1px solid var(--line); color: var(--ink-2);
  font-size: 13px; font-weight: 600; cursor: pointer;
}
.chipbtn svg { width: 17px; height: 17px; }
.chipbtn.sel { background: var(--acid); border-color: var(--acid); color: var(--acid-ink); }
.amen-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 8px; }
.amen-grid .amen {
  display: flex; align-items: center; gap: 8px;
  background: var(--card); border: 1px solid var(--line);
  border-radius: 8px; padding: 12px;
  font-size: 13px; font-weight: 600; color: var(--ink);
}
.amen-grid .amen svg { width: 20px; height: 20px; color: var(--acid); flex: none; }

/* ---- marketplace (inspirado em ML, identidade SetZero) ---- */
.mk-search {
  display: flex; align-items: center; gap: 8px;
  background: var(--card); border: 1px solid var(--line);
  border-radius: 16px; padding: 4px 12px; margin-top: 12px;
}
.mk-search .mk-ic svg { width: 20px; height: 20px; color: var(--ink-3); display: block; }
.mk-search input { flex: 1; background: none; border: 0; outline: 0; color: var(--ink); font-size: 16px; padding: 12px 0; font-family: inherit; }
.mk-cats { display: flex; gap: 8px; overflow-x: auto; padding: 4px 2px 8px; margin-top: 4px; }
.mk-cat {
  flex: 0 0 auto; width: 76px; padding: 12px 4px;
  display: flex; flex-direction: column; align-items: center; gap: 6px;
  background: var(--card); border: 1px solid var(--line); border-radius: 16px;
  cursor: pointer; text-align: center;
}
.mk-cat .ic { width: 34px; height: 34px; border-radius: 999px; background: var(--card-2); display: grid; place-items: center; color: var(--ink-2); }
.mk-cat .ic svg { width: 19px; height: 19px; }
.mk-cat b { font-size: 12px; font-weight: 600; color: var(--ink-2); }
.mk-cat.sel { border-color: var(--acid); }
.mk-cat.sel .ic { background: var(--acid); color: var(--acid-ink); }
.mk-cat.sel b { color: var(--ink); }
.ml-card {
  display: flex; gap: 12px; margin-top: 8px; cursor: pointer;
  background: var(--card); border: 1px solid var(--line); border-radius: 16px;
  padding: 12px;
}
.ml-photo { width: 96px; height: 96px; border-radius: 8px; object-fit: cover; flex: none; background: var(--card-2); }
.ml-noimg { display: grid; place-items: center; color: var(--ink-3); }
.ml-noimg svg { width: 34px; height: 34px; }
.ml-body { flex: 1; min-width: 0; }
.ml-title {
  font-size: 14px; font-weight: 500; color: var(--ink); line-height: 1.3;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.ml-price { font-size: 20px; font-weight: 700; color: var(--ink); margin-top: 5px; }
.ml-price.big { font-size: 24px; }
.ml-sub { font-size: 12px; color: var(--ink-2); margin-top: 1px; }
.ml-ship { font-size: 12px; color: var(--acid); font-weight: 600; margin-top: 3px; }
.ml-tags { display: flex; align-items: center; gap: 8px; margin-top: 4px; }
.ml-gallery { border-radius: 16px; overflow: hidden; background: var(--card); }
.ml-gallery img { width: 100%; max-height: 320px; object-fit: cover; display: block; }
.ml-pricebox { background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 16px; margin-top: 12px; }

.eyebrow::after {
  content: '';
  height: 1px;
  flex: 1;
  background: var(--line-soft);
}

.lede {
  color: var(--ink-2);
  font-size: 14px;
  line-height: 1.6;
  max-width: 38ch;
}

/* ---------- botões ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--g-2);
  min-height: 44px;
  background: var(--acid);
  color: var(--acid-ink);
  border: 1px solid transparent;
  border-radius: var(--radius-sm);
  font-weight: 650;
  font-size: 14px;
  letter-spacing: 0;
  padding: 12px 18px;
  transition: background-color 140ms ease, border-color 140ms ease,
              color 140ms ease, transform 80ms ease;
  -webkit-tap-highlight-color: transparent;
}

.btn:hover { filter: brightness(1.04); }
.btn:active { transform: translateY(1px); }
.btn.block { width: 100%; }
.btn.dark {
  background: transparent;
  color: var(--ink);
  border-color: var(--line);
}
.btn.dark:hover { border-color: var(--ink-3); }
.btn.secondary {
  background: transparent;
  color: var(--ink);
  border-color: var(--line);
}
.btn.secondary:hover { border-color: var(--ink-3); }
.btn.line,
.btn.ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--line);
}
.btn.line:hover,
.btn.ghost:hover { border-color: var(--ink-3); }
.btn.small {
  min-height: 38px;
  padding: 8px 14px;
  font-size: 13px;
  font-weight: 600;
}
.btn:disabled {
  opacity: 0.45;
  cursor: not-allowed;
  transform: none;
}

[data-busy] {
  opacity: 0.55;
  pointer-events: none;
}

/* ---------- formulários ---------- */

.field {
  margin-bottom: var(--g-3);
  position: relative;
}

.field label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  color: var(--ink-2);
  margin-bottom: 6px;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 12px 16px;
  background: var(--bg-2);
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  font-size: 14px;
  outline: none;
  transition: border-color 140ms ease, background-color 140ms ease;
}

.field input:hover,
.field select:hover {
  border-color: var(--ink-3);
}

.field input:focus,
.field select:focus {
  border-color: var(--acid);
  background: var(--card);
}

.field input::placeholder {
  color: var(--ink-3);
}

.field .hint {
  margin-top: 4px;
  color: var(--ink-3);
  font-size: 12px;
  line-height: 1.5;
}

/* ---------- chips ---------- */

.chip {
  display: inline-flex;
  position: relative;
  align-items: center;
  gap: 4px;
  background: var(--card-2);
  color: var(--ink-2);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 4px 10px;
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
}
.chip::before { content: ''; position: absolute; inset: -8px; }

.chip.acid {
  background: rgba(214, 251, 0, 0.12);
  color: var(--acid);
  border-color: rgba(214, 251, 0, 0.24);
}

.chip.out {
  background: transparent;
  border-color: var(--line);
  color: var(--ink-2);
}

button.chip.out { cursor: pointer; }

button.chip.out:hover {
  color: var(--ink);
  border-color: var(--ink-3);
}

/* ---------- superfícies ---------- */

.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: var(--g-3) var(--g-4);
}

.rowline {
  display: flex;
  align-items: center;
  gap: var(--g-2);
  min-width: 0;
}

.rowline > div { min-width: 0; }

.spread {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--g-2);
}

.muted { color: var(--ink-2); }
.acid  { color: var(--acid); }
.tiny  { font-size: 12px; }

/* ---------- arenas ---------- */

.arena-card {
  display: grid;
  grid-template-columns: 104px minmax(0, 1fr);
  min-height: 108px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: var(--g-2);
}

.arena-card .art {
  position: relative;
  background: var(--bg-2);
  border-right: 1px solid var(--line-soft);
  min-height: 108px;
}

.arena-card .art svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.arena-card .art img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-art { height: 148px; position: relative; overflow: hidden; }
.hero-art img { width: 100%; height: 100%; object-fit: cover; display: block; }

.arena-card .art .timepill {
  position: absolute;
  left: 8px;
  bottom: 8px;
  background: var(--bg);
  color: var(--ink-2);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 4px 9px;
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
}

.arena-card .art .timepill b {
  color: var(--ink);
  font-weight: 700;
}

.arena-card .body {
  padding: 12px 14px;
  min-width: 0;
}

.arena-card .body .t {
  font-size: 14px;
  font-weight: 650;
  letter-spacing: -0.01em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.arena-card .meta {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 4px;
  font-size: 12px;
  color: var(--ink-2);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.arena-card .meta .star {
  color: var(--acid);
  font-weight: 700;
}

.arena-card .foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--g-3);
  margin-top: var(--g-3);
}

.arena-card .price {
  font-size: 14px;
  font-weight: 700;
}

.arena-card .price small {
  color: var(--ink-3);
  font-weight: 500;
  font-size: 12px;
}

/* ---------- jogos ---------- */

.game-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: var(--g-3) var(--g-4);
  margin-bottom: var(--g-2);
}

.game-card .when {
  font-size: 13px;
  font-weight: 650;
}

.game-card .where {
  color: var(--ink-2);
  font-size: 12px;
  margin-top: 2px;
}

.game-card .top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: var(--g-2);
}

.game-card .join {
  margin-top: var(--g-3);
  display: flex;
  flex-wrap: wrap;
  gap: var(--g-2);
  align-items: center;
}

/* ---------- slots ---------- */

.slots {
  display: flex;
  gap: var(--g-2);
  overflow-x: auto;
  padding: 2px 2px var(--g-3);
  scrollbar-width: thin;
}

.slots::-webkit-scrollbar { height: 4px; }
.slots::-webkit-scrollbar-thumb { background: var(--line); border-radius: 999px; }
.slots::-webkit-scrollbar-track { background: transparent; }

.slot {
  flex: 0 0 auto;
  min-width: 76px;
  background: transparent;
  border: 1px solid var(--line);
  color: var(--ink-2);
  border-radius: var(--radius-sm);
  padding: 8px 12px;
  text-align: center;
  cursor: pointer;
  transition: border-color 120ms ease, background-color 120ms ease;
}

.slot:hover { border-color: var(--ink-3); }

.slot b {
  display: block;
  font-size: 13px;
  font-weight: 650;
  color: var(--ink);
}

.slot small {
  display: block;
  margin-top: 1px;
  font-size: 12px;
  font-weight: 500;
  color: var(--ink-3);
}

.slot.busy {
  background: var(--card);
  border-color: var(--line);
  cursor: default;
  opacity: 0.75;
}
.slot.busy b { color: var(--ink-2); }
.slot.sel {
  background: var(--acid);
  border-color: var(--acid);
  color: var(--acid-ink);
}
.slot.sel b, .slot.sel small { color: var(--acid-ink); }

.slot.busy { opacity: 0.38; pointer-events: none; }

/* ---- ranking com hierarquia por posição ---- */
.rank-row { display: flex; align-items: center; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line-soft); }
.rank-row:last-child { border-bottom: 0; }
.rank-row .pos { font-size: 12px; font-weight: 600; font-variant-numeric: tabular-nums; width: 30px; color: var(--ink-3); flex: 0 0 auto; }
.rank-row.top .pos { color: var(--acid); }
.rank-row .nm { font-weight: 600; font-size: 14px; }
.rank-row .sub { font-size: 12px; color: var(--ink-2); }
.rank-row .pts { margin-left: auto; text-align: right; font-variant-numeric: tabular-nums; }
.rank-row .pts b { font-size: 14px; font-weight: 650; }
.rank-row .pts .up { color: var(--acid); font-size: 12px; font-weight: 600; }
.podium { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin: 12px 0 4px; }
.podium .step { background: var(--card); border: 1px solid var(--line); border-radius: 8px; padding: 12px 8px; text-align: center; min-width: 0; }
.podium .step.p1 { border-color: rgba(214, 251, 0,.4); background: rgba(214, 251, 0,.07); }
.podium .step .n { font-size: 12px; font-weight: 700; letter-spacing: .1em; color: var(--ink-3); }
.podium .step.p1 .n { color: var(--acid); }
.podium .step .who { font-weight: 650; font-size: 13px; margin-top: 7px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.podium .step .el { font-size: 12px; color: var(--ink-2); font-variant-numeric: tabular-nums; margin-top: 2px; }
.rank-list { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 2px 16px; }
/* posição do usuário: linha destacada, não bloco colorido */
.me-band {
  margin-top: 12px;
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--card);
  border: 1px solid rgba(214, 251, 0,.35);
  border-radius: var(--radius);
  padding: 12px 14px;
}
.me-band .avatar.big { width: 36px; height: 36px; font-size: 14px; }
.me-band b { font-size: 14px; font-weight: 650; }
.me-band .sub { font-size: 12px; color: var(--ink-2); font-variant-numeric: tabular-nums; }
.me-band .me-pos { margin-left: auto; font-size: 13px; font-weight: 700; color: var(--acid); white-space: nowrap; font-variant-numeric: tabular-nums; }
.me-band .btn-go {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 8px 12px;
  font-size: 12px;
  font-weight: 650;
  cursor: pointer;
  flex: 0 0 auto;
}
.me-band .btn-go:hover { border-color: var(--ink-3); }

/* ---- perfil: cabeçalho humano, números legíveis ---- */
.statgrid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-top: 16px; }
.statgrid .st { background: transparent; border: 1px solid var(--line); border-radius: 8px; padding: 8px 4px; text-align: center; }
.statgrid .st b { display: block; font-size: 16px; font-weight: 650; font-variant-numeric: tabular-nums; }
.statgrid .st span { display: block; margin-top: 2px; font-size: 10px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); }
.statgrid .st .st-acid { color: var(--acid); }
.badges { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 8px; }
.badge { background: var(--card-2); border: 1px solid var(--line); color: var(--ink-2); border-radius: 999px; padding: 6px 12px; font-size: 12px; font-weight: 600; }
.hero-prof { text-align: left; padding: 22px 0 4px; display: grid; grid-template-columns: 60px minmax(0, 1fr); gap: 12px; align-items: center; }
.hero-prof .big { width: 60px; height: 60px; margin: 0; border-radius: 16px; background: var(--card-2); border: 1px solid var(--line); color: var(--ink); display: grid; place-items: center; font-size: 22px; font-weight: 700; }
.prof-photo { width: 60px; height: 60px; margin: 0; border-radius: 16px; object-fit: cover; border: 1px solid var(--line); display: block; }
.hero-prof h1.display { font-size: 22px; }
.hero-prof .lvl { margin-top: 4px; font-size: 12px; color: var(--ink-2); font-variant-numeric: tabular-nums; }
.hero-prof .lvl b { color: var(--ink); }
.lvbar { grid-column: 1 / -1; width: 100%; max-width: 240px; height: 4px; border-radius: 999px; background: var(--card-2); margin: 4px 0 0; overflow: hidden; }
.lvbar i { display: block; height: 100%; background: var(--acid); border-radius: 999px; }
.quick { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 12px; }
.quick .q {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  background: transparent; border: 1px solid var(--line); border-radius: 8px;
  color: var(--ink); padding: 12px 6px; font-size: 12px; font-weight: 600; cursor: pointer;
}
.quick .q:hover { border-color: var(--ink-3); }
.quick .q svg { width: 16px; height: 16px; stroke: var(--ink-2); fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

/* ---- sheet Jogar como lista de escolha ---- */
.play-opt {
  display: flex; align-items: center; gap: 12px;
  width: 100%; text-align: left;
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--line-soft);
  border-radius: 0;
  padding: 16px 2px;
  color: var(--ink);
}
.play-opt:last-of-type { border-bottom: 0; }
.play-opt:hover { background: var(--card); }
.play-opt .ic { width: 38px; height: 38px; border-radius: 8px; background: var(--card-2); border: 1px solid var(--line); color: var(--ink); display: grid; place-items: center; flex: 0 0 auto; }
.play-opt .ic svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; }
.play-opt b { display: block; font-size: 14px; font-weight: 650; }
.play-opt span span, .play-opt > span > span { font-size: 12px; color: var(--ink-2); }
.play-opt::after { content: '›'; margin-left: auto; color: var(--ink-3); font-size: 16px; }

/* ---- autenticação simples e direta ---- */
.auth-hero { padding: 28px 0 4px; text-align: left; }
.auth-logo {
  width: 72px; height: 72px; margin: 0 0 12px; border-radius: 20px;
  display: block; box-shadow: 0 6px 24px rgba(0, 0, 0, .35);
}
.auth-hero h1.display { font-size: 30px; }

/* ---- estados Halaska: empty com hierarquia esportiva ---- */
.h-empty { padding: 48px 8px 32px; text-align: center; }
.h-empty-icon { width: 44px; height: 44px; margin: 0 auto 12px; border: 1px solid var(--line); border-radius: 8px; display: grid; place-items: center; color: var(--ink-3); }
.h-empty-icon svg { width: 22px; height: 22px; }
.h-empty-title { font-size: 16px; font-weight: 700; color: var(--ink); }
.h-empty-desc { font-size: 13px; color: var(--ink-3); margin-top: 4px; line-height: 1.5; max-width: 32ch; margin-left: auto; margin-right: auto; }

/* ---- estados honestos, sem mascote gigante ---- */
.empty { padding: 36px 8px; color: var(--ink-2); font-size: 13px; line-height: 1.6; }
.empty.centered { text-align: center; }
.empty strong { display: block; color: var(--ink); font-size: 14px; margin-bottom: 4px; }
.empty .btn { margin-top: 12px; }
.divider { height: 1px; background: var(--line-soft); margin: 20px 0; }

@media (max-width: 370px) {
  h1.display { font-size: 36px; }
  .statgrid { grid-template-columns: repeat(2, 1fr); }
}

/* ---- detalhe da arena: informação primeiro ---- */
.hero { margin: 0 calc(-1 * var(--pad-sm)); border-radius: 0; overflow: hidden; position: relative; background: var(--card); border-bottom: 1px solid var(--line); }
.hero-art { height: 148px; position: relative; overflow: hidden; }
.hero-art .art-svg { width: 100%; height: 100%; }
.art-svg .art-bg { fill: var(--art-bg); }
.back { position: static; min-width: 44px; min-height: 44px; border-radius: 10px; background: var(--bg); border: 1px solid var(--line); color: var(--ink); display: inline-flex; align-items: center; justify-content: center; padding: 0 12px; cursor: pointer; font-size: 13px; font-weight: 600; z-index: 3; }
.hero .back { position: absolute; top: 12px; left: 12px; }
.back svg { width: 18px; height: 18px; }

/* ---- CTA fixo do detalhe (§5.3: ação principal sempre visível) ---- */
.sticky-cta { position: fixed; bottom: calc(var(--tab-h) + 10px + env(safe-area-inset-bottom)); left: 50%; transform: translateX(-50%); width: min(100% - 24px, 456px); display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 14px; background: var(--card); border: 1px solid var(--line); border-radius: 14px; box-shadow: 0 8px 28px rgba(0, 0, 0, .35); z-index: 40; }
#pick-court, .court-pick { scroll-margin-top: 76px; }
.sticky-cta b { font-size: 14px; }

/* ---- mapa do explorar (Leaflet) ---- */
#ex-map { height: 420px; border-radius: 16px; overflow: hidden; border: 1px solid var(--line); background: var(--card-2); z-index: 0; }
#ex-map .leaflet-pane { z-index: 1; }
#ex-map .leaflet-top, #ex-map .leaflet-bottom { z-index: 2; }
.ex-pin { background: none; border: 0; }
.ex-pin span { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--acid); color: var(--acid-ink); font-size: 11px; font-weight: 800; border: 2px solid var(--bg); box-shadow: 0 2px 8px rgba(0, 0, 0, .35); }
.hero-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; margin-top: 16px; }
.hero-head h1.display { font-size: 24px; }

/* ---- responsividade real: desktop em coluna confortável ---- */
@media (min-width: 900px) {
  body { font-size: 16px; }
  main { padding-left: 36px; padding-right: 36px; }
  h1.display { font-size: 34px; }
  .arena-card { grid-template-columns: 132px minmax(0, 1fr); }
  .hero-art { height: 190px; }
  .game-card .game-name { font-size: 14px; }
}
.rating { color: var(--ink); font-weight: 650; font-variant-numeric: tabular-nums; }
@media (max-width: 370px) {
  .statgrid { grid-template-columns: repeat(2, 1fr); }
  .arena-card { grid-template-columns: 88px minmax(0, 1fr); }
  .btn-row { grid-template-columns: 1fr; }
}

/* ---- Home SetZero compacta — dark premium, acid como sinal ---- */
.kicker {
  font-size: 12px; font-weight: 600; letter-spacing: .08em;
  text-transform: uppercase; color: var(--ink-3);
}
.section-head {
  display: flex; align-items: baseline; justify-content: space-between;
  margin: 18px 0 8px;
}
.section-head h2 { font-size: 17px; font-weight: 800; color: var(--ink); letter-spacing: -.02em; }
.section-head .more { font-size: 12.5px; font-weight: 700; color: var(--acid); cursor: pointer; }
.section-head .more::after { content: ' ›'; }

.bdl-header { display:flex; align-items:center; justify-content:space-between; gap:8px; margin: 4px 0 8px; }
.bdl-greet { font-size:14px; color:var(--ink-2); }
.bdl-greet b { color:var(--ink); font-weight:700; }
.bdl-loc { display:inline-flex; align-items:center; gap:4px; padding:6px 10px; border-radius:999px; border:1px solid var(--line); background:transparent; color:var(--ink-2); font-size:12px; font-weight:600; }
.bdl-loc svg { width:13px; height:13px; color:var(--acid); }
/* chips de intenção numa linha só, com rolagem lateral (não quebra e não cola nos blocos abaixo) */
.chiprow.scroll { flex-wrap:nowrap; overflow-x:auto; margin:0 -16px 12px; padding:0 16px 2px; scrollbar-width:none; }
.chiprow.scroll::-webkit-scrollbar { display:none; }
.chiprow.scroll .fchip { flex:none; }
.bdl-cats { margin-top:16px; }
.bdl-loc.on { border-color: transparent; padding-left:0; }
.using-pointer #app h1[tabindex="-1"]:focus { outline: none; box-shadow: none; }
.rank-row .pos svg { width:16px; height:16px; color:var(--acid); }
.mk-actions { display:flex; gap:8px; margin-top:12px; }
.mk-actions .btn:first-child { flex:1; display:inline-flex; align-items:center; justify-content:center; gap:6px; }
.mk-actions .btn svg { width:16px; height:16px; }
.mk-actions .btn.ghost { display:inline-flex; align-items:center; gap:4px; }
.mk-more { width:48px; font-size:20px; line-height:1; justify-content:center; }
.hourgroup { margin-top:14px; }
.hourgroup-head { display:flex; justify-content:space-between; align-items:baseline; margin-bottom:8px; }
.hourgroup-head b { font-size:14px; color:var(--ink); }
.hourgroup-head span { font-size:12px; color:var(--ink-3); font-weight:600; }
.hourlist.compact { display:grid; grid-template-columns:repeat(4, 1fr); gap:8px; }
.hourlist.compact .hourbtn { min-height:48px; padding:8px 4px; }
.hourlist.compact .hourbtn b { font-size:15px; }

/* ---- busca de quadras (decisões do Laya: menos espaço, ordenação com cara de texto, card sem miniatura) ---- */
.explore .ex-head { display:flex; align-items:center; justify-content:space-between; gap:8px; flex-wrap:wrap; }
.explore .ex-head .display { margin:0; }
.explore .ex-search { margin:10px 0 0; }
.explore .eyebrow { margin: 12px 0 6px; }
.explore .eyebrow:not(:first-child) { margin-top: 12px; }
.sr-only { position:absolute; width:1px; height:1px; overflow:hidden; clip:rect(0 0 0 0); white-space:nowrap; }
.ex-bar { display:flex; gap:8px; align-items:center; }
.ex-searchbox { flex:1; min-width:0; display:flex; align-items:center; gap:8px; height:46px; padding:0 14px; border-radius:12px; background:var(--card); border:1px solid var(--line); }
.ex-searchbox svg { width:17px; height:17px; color:var(--ink-3); flex:none; }
.ex-searchbox input { flex:1; min-width:0; background:none; border:0; outline:0; color:var(--ink); font:inherit; font-size:15px; padding:0; }
.ex-ib { position:relative; width:46px; height:46px; flex:none; display:grid; place-items:center; border-radius:12px; background:var(--card); border:1px solid var(--line); color:var(--ink-2); }
.ex-ib svg { width:18px; height:18px; }
.ex-ib.sel { border-color:var(--acid); color:var(--acid); }
.ex-badge { position:absolute; top:-5px; right:-5px; min-width:18px; height:18px; border-radius:9px; background:var(--acid); color:var(--acid-ink); font-size:11px; font-style:normal; font-weight:800; display:grid; place-items:center; }
.explore .ex-when { margin-top:12px; }
.ex-card { display:block; padding:14px; margin-top:10px; border-radius:14px; background:var(--card); border:1px solid var(--line); cursor:pointer; }
.ex-card-top { display:flex; justify-content:space-between; align-items:baseline; gap:10px; }
.ex-card-top b { font-size:16px; color:var(--ink); }
.ex-card-top span { font-size:15px; font-weight:800; color:var(--ink); white-space:nowrap; }
.ex-card-top small { font-weight:500; color:var(--ink-3); }
.ex-card-sub { font-size:12.5px; color:var(--ink-3); margin-top:2px; }
.ex-card .tslots { flex-wrap:nowrap; overflow:hidden; margin-top:10px; }
/* horários dividem a largura do cartão: o "+N" nunca fica cortado no celular */
.ex-card .tslots .tslot { flex:1 1 0; min-width:0; padding-left:4px; padding-right:4px; justify-content:center; text-align:center; }
.ex-card .tslots .tslot.more { flex:0 0 auto; padding-left:10px; padding-right:10px; }
.explore .daysrow { margin: 12px 0 0; }
.explore .chiprow { margin-top: 8px; }
.fchip.ic { display:inline-flex; align-items:center; gap:6px; }
.fchip.ic svg { width:15px; height:15px; }
.datepick svg { width:16px; height:16px; }
.sortrow { display:flex; align-items:center; gap:14px; overflow-x:auto; margin:12px -16px 0; padding:2px 16px 6px; scrollbar-width:none; }
.sortrow::-webkit-scrollbar { display:none; }
.sortrow-label { flex:none; font-size:12px; color:var(--ink-3); }
.sortopt { flex:none; background:none; border:0; padding:4px 0; font-size:13px; font-weight:600; color:var(--ink-2); border-bottom:2px solid transparent; cursor:pointer; }
.sortopt.sel { color:var(--ink); border-bottom-color:var(--acid); }
.ex-tools { margin-top:8px !important; }
.arena-card.compact { display:block; min-height:0; margin-top:10px; }
.arena-card.compact .body { padding:14px; }
.arena-card.compact .meta { display:flex; align-items:center; gap:5px; }
.arena-card.compact .meta svg { width:13px; height:13px; flex:none; color:var(--ink-3); }
.arena-card.compact .tslots { margin-top:10px; }
.arena-card.compact .tslot { min-height:46px; padding:8px 16px; font-size:15px; }
.brand { display:inline-flex; align-items:center; }
.brand-mark { width:24px; height:24px; border-radius:6px; display:block; margin-right:7px; }
.bdl-welcome { display:flex; align-items:center; gap:8px; }
.bdl-welcome b { font-size:14px; font-weight:700; color:var(--ink); }
.bdl-search { position:relative; width:32px; height:32px; border-radius:8px; background:var(--acid); color:var(--acid-ink); display:grid; place-items:center; }
.bdl-search::before { content: ''; position: absolute; inset: -6px; }
.bdl-search svg { width:16px; height:16px; }
.bdl-title { font-size:20px; font-weight:700; line-height:1.25; color:var(--ink); margin: 2px 0 12px; font-family: var(--font-display); letter-spacing:-.01em; }
.bdl-searchbar { display:flex; align-items:center; gap:10px; width:100%; margin-top:10px; padding:14px; border-radius:14px; background:var(--card); border:1px solid var(--line); color:var(--ink-3); font-size:14px; cursor:pointer; text-align:left; transition: border-color .15s, box-shadow .15s; }
.bdl-searchbar:hover { border-color: var(--acid); box-shadow: 0 0 0 3px var(--acid-bg); }
.bdl-searchbar svg { width:18px; height:18px; flex:0 0 auto; color: var(--acid); }
.bdl-searchbar svg { width:18px; height:18px; flex:0 0 auto; }
.bdl-searchbar span { overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }

/* ---- sugestões da busca (§5.2) ---- */
.ex-sug { position: absolute; left: 0; right: 0; top: 100%; z-index: 30; margin-top: 6px; max-height: 320px; overflow-y: auto; background: var(--card); border: 1px solid var(--line); border-radius: 12px; box-shadow: 0 12px 32px rgba(0, 0, 0, .4); }
.ex-sug.hidden { display: none; }
.ex-sug .eyebrow { padding:0 12px; }
.ex-sug-row { display:flex; align-items:center; gap:10px; width:100%; padding:11px 12px; cursor:pointer; border:0; background:transparent; color:var(--ink); text-align:left; font:inherit; }
.ex-sug-row:hover, .ex-sug-row:focus { background:var(--card-2); outline:none; }
.ex-sug-row + .ex-sug-row { border-top:1px solid var(--line-soft); }
.ex-sug-ic { width:30px; height:30px; border-radius:8px; background:var(--card-2); display:grid; place-items:center; font-size:14px; flex:0 0 auto; }
.ex-sug-tx { display:flex; flex-direction:column; min-width:0; }
.ex-sug-tx b { font-size:14px; font-weight:600; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.ex-sug-tx small { font-size:12px; color:var(--ink-3); }
.bdl-cats { display:grid; grid-template-columns: repeat(3,1fr); gap:8px; margin-bottom:12px; }
.bdl-cat { background:var(--card); border:1px solid var(--line); border-radius: 8px; padding:8px 4px; text-align:center; }
.bdl-cat .ic { width:36px; height:36px; margin:0 auto 8px; border-radius: 999px; background:var(--acid); color:var(--acid-ink); display:grid; place-items:center; }
.bdl-cat .ic svg { width:19px; height:19px; }
.bdl-cat b { font-size: 12px; font-weight:600; color:var(--ink); }

/* compacto mobile (uma mão) */
@media (max-width: 560px) {
  :root { --pad: 14px; --pad-sm: 12px; --tab-h: 58px; --top-h: 52px; }
  body { font-size: 14px; line-height: 1.5; }
  h1.display { font-size: 24px; }
  h2.display { font-size: 20px; }
  .topbar { min-height: 52px; padding: 8px 14px; }
  .brand { font-size: 16px; }
  main { padding-left: 12px; padding-right: 12px; }
  .ex-ib { width: 42px; height: 42px; }
  .ex-searchbox { height: 42px; padding: 0 12px; }
  .chiprow.scroll { margin-left: -12px; margin-right: -12px; padding-left: 12px; padding-right: 12px; }
  .card { padding: 12px; }
  .arena-card { grid-template-columns: 88px minmax(0,1fr); min-height: 88px; }
  .arena-card .art { min-height: 88px; }
  .arena-card .body { padding: 8px 12px; }
  .arena-card .body .t { font-size: 13px; }
  .btn { padding: 12px 16px; font-size: 13px; }
  .ml-price { font-size: 14px; }
  .ml-price.big { font-size: 20px; }
}

/* ---- gamificação: categorias e denúncias ---- */
.chip.cat {
  background: transparent;
  border-color: rgba(214, 251, 0, 0.35);
  color: var(--acid);
  font-variant-numeric: tabular-nums;
}

.report-line {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 8px;
}

.reason-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 4px;
}

.reason-grid .reason {
  flex: 0 1 auto;
  min-width: 0;
  padding: 8px 12px;
}

.field textarea {
  resize: vertical;
  min-height: 74px;
  width: 100%;
  padding: 12px 16px;
  background: var(--bg-2);
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  font-size: 14px;
  outline: none;
  transition: border-color 140ms ease, background-color 140ms ease;
}

.field textarea:hover { border-color: var(--ink-3); }
.field textarea:focus { border-color: var(--acid); background: var(--card); }

.catwin {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--card);
  padding: 12px 14px;
  margin-top: 8px;
}

.catwin .bar {
  height: 4px;
  border-radius: 999px;
  background: var(--card-2);
  overflow: hidden;
  margin-top: 8px;
}

.catwin .bar i {
  display: block;
  height: 100%;
  background: var(--acid);
  border-radius: 999px;
  transition: width 200ms ease;
}

.rank-row .pos.acid { color: var(--acid); }
/* ---------- descoberta (search iFood): chips de contexto, horários no resultado ---------- */
.chiprow { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
.daysrow { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; padding-bottom: 2px; }
.daysrow::-webkit-scrollbar { display: none; }
.fchip {
  border: 1px solid var(--line); background: var(--card-2); color: var(--ink-2);
  border-radius: 999px; padding: 9px 14px; font-size: 12px; font-weight: 700;
  cursor: pointer; white-space: nowrap; transition: background .2s, color .2s, border-color .2s;
  display: inline-flex; align-items: center; gap: 4px;
}
.fchip.sel { background: var(--acid); border-color: var(--acid); color: var(--acid-ink); box-shadow: 0 4px 14px -4px rgba(214, 251, 0, .5); }
.fchip:active { transform: scale(.96); }
.datepick { position: relative; overflow: hidden; }
.datepick input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.tslots { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.tslot {
  min-height: 44px; border: 1px solid var(--line); background: var(--card-2); color: var(--ink);
  border-radius: 10px; padding: 8px 14px; font-size: 13px; font-weight: 700; cursor: pointer;
  font-variant-numeric: tabular-nums; display: inline-flex; align-items: center;
  transition: border-color .15s, background .15s, transform .1s;
}
.tslot:hover { border-color: var(--acid); }
.tslot:active { transform: scale(.95); }
.tslot.ok { background: var(--acid-bg); border-color: var(--acid); color: var(--ink); }
.tslot.warn { background: rgba(217,161,59,.12); border-color: rgba(217,161,59,.5); color: var(--ink-2); }
.tslot.dim { border: 0; background: transparent; color: var(--ink-3); font-weight: 600; padding-left: 0; }
.tslot.more { border: 0; background: transparent; color: var(--ink-3); }
.timepill.ok { background: var(--acid); color: var(--acid-ink); font-weight: 800; }
@media (min-width: 900px) { .fchip { padding: 9px 16px; } }

/* =====================================================================
   DESIGN v3 · "Clube" (29/09/2026) — escolhido pelo Laya (36%, estável)
   e aprovado pelo dono do produto. Público 30–55 anos: fundo claro,
   azul de quadra, texto 16–18px, botões ≥48px escritos por extenso.
   É o tema padrão (claro); o escuro antigo continua em data-theme="dark".
   ===================================================================== */
:root:not([data-theme="dark"]) {
  --bg:        #F6F8FB;
  --bg-2:      #FFFFFF;
  --ink:       #102A2E;
  --ink-2:     #475467;
  --ink-3:     #5B6778;
  --acid:      #00545F;   /* cor de ação (antes verde neon) */
  --acid-ink:  #FFFFFF;
  --acid-bg:   #ECFFB6;
  --card:      #FFFFFF;
  --card-2:    #EEF2F8;
  --line:      #E1E6EE;
  --line-soft: #EDF1F6;
  --danger-text: #B42318;
  --art-bg:    #EAF3E4;
  --art-l1:    rgba(0, 84, 95, .45);
  --art-l2:    rgba(0, 84, 95, .25);
  --art-l3:    rgba(0, 84, 95, .15);
  --radius:    16px;
}
:root:not([data-theme="dark"]) body { font-size: 16px; line-height: 1.5; }
:root:not([data-theme="dark"]) .topbar { background: #FFFFFF; border-bottom: 1px solid var(--line); }
:root:not([data-theme="dark"]) .tabbar { background: #FFFFFF; box-shadow: 0 -1px 0 var(--line); }

/* tipografia maior e hierarquia clara */
:root:not([data-theme="dark"]) .display { font-size: 26px; font-weight: 800; }
:root:not([data-theme="dark"]) .lede { font-size: 16px; }
:root:not([data-theme="dark"]) .tiny { font-size: 14px; }
:root:not([data-theme="dark"]) .kicker { font-size: 13px; letter-spacing: .04em; }
:root:not([data-theme="dark"]) .section-head h2 { font-size: 19px; }
:root:not([data-theme="dark"]) .section-head .more { font-size: 15px; }
:root:not([data-theme="dark"]) .bdl-greet { font-size: 22px; font-weight: 800; color: var(--ink); line-height: 1.25; }
:root:not([data-theme="dark"]) .bdl-greet b { font-weight: 800; }

/* toques grandes (≥48px) */
:root:not([data-theme="dark"]) .btn { min-height: 48px; font-size: 16px; font-weight: 700; border-radius: 12px; }
:root:not([data-theme="dark"]) .btn.small { min-height: 44px; font-size: 15px; padding: 10px 16px; }
:root:not([data-theme="dark"]) .fchip { font-size: 15px; font-weight: 600; padding: 11px 16px; color: var(--ink); background: #FFFFFF; }
:root:not([data-theme="dark"]) .fchip.sel { box-shadow: none; }
:root:not([data-theme="dark"]) .tslot { font-size: 16px; min-height: 48px; }
:root:not([data-theme="dark"]) .hourbtn b { font-size: 17px; }
:root:not([data-theme="dark"]) .tab span { font-size: 13px; font-weight: 600; letter-spacing: 0; }
:root:not([data-theme="dark"]) .tab svg { width: 24px; height: 24px; }

/* cards limpos com sombra leve */
:root:not([data-theme="dark"]) .card,
:root:not([data-theme="dark"]) .arena-card,
:root:not([data-theme="dark"]) .ex-card,
:root:not([data-theme="dark"]) .game-card { box-shadow: 0 1px 2px rgba(15, 27, 45, .06); }
:root:not([data-theme="dark"]) .arena-card .body .t,
:root:not([data-theme="dark"]) .ex-card-top b { font-size: 17px; font-weight: 700; }
:root:not([data-theme="dark"]) .arena-card .meta,
:root:not([data-theme="dark"]) .ex-card-sub { font-size: 14px; }
:root:not([data-theme="dark"]) .timepill { background: rgba(255, 255, 255, .95); color: var(--ink); }
:root:not([data-theme="dark"]) .fchip.sel { background: var(--acid); border-color: var(--acid); color: #FFFFFF; }
:root:not([data-theme="dark"]) .slot.sel { background: var(--acid); border-color: var(--acid); color: #FFFFFF; }

/* fotos de arena: com foto, o desenho da quadra não é pintado por cima (se a foto falhar, onerror remove o <img> e o desenho volta) */
.arena-card .art img ~ svg, .hero-art img ~ svg { display: none; }
/* Design v3: card de arena da home com foto grande em cima (Direção A) */
:root:not([data-theme="dark"]) .arena-card:not(.compact) { display: block; }
:root:not([data-theme="dark"]) .arena-card:not(.compact) .art { position: relative; height: 150px; width: 100%; }
:root:not([data-theme="dark"]) .arena-card:not(.compact) .body { padding: 12px 14px 14px; }
:root:not([data-theme="dark"]) .arena-card:not(.compact) .body .t { white-space: normal; }
:root:not([data-theme="dark"]) .hero-art { height: 210px; }

/* ---------- Amigos: turmas, liga do mês e chat ---------- */
.turma-card { cursor: pointer; margin-top: 10px; }
.turma-name { font-size: 18px; }
.turma-last { display: flex; gap: 8px; align-items: center; margin-top: 10px; padding-top: 10px; border-top: 1px solid var(--line); font-size: 14px; color: var(--ink-2); }
.turma-last svg { width: 16px; height: 16px; flex: none; color: var(--acid); }
.friend-row { display: flex; align-items: center; gap: 12px; margin-top: 8px; }
.league-banner { background: var(--acid); color: var(--acid-ink); border-radius: var(--radius); padding: 16px; margin: 12px 0; }
.league-banner b { display: block; font-size: 20px; }
.league-banner span { font-size: 14px; opacity: .92; }
.league { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.lg-row { display: grid; grid-template-columns: 30px 38px 1fr auto; align-items: center; gap: 10px; padding: 12px 12px; border-bottom: 1px solid var(--line); }
.lg-row:last-child { border-bottom: 0; }
.lg-row.me { background: var(--acid-bg); }
.lg-pos { font-weight: 800; color: var(--ink-3); }
.lg-row.first .lg-pos { color: var(--acid); }
.lg-name b { display: block; font-size: 16px; }
.lg-name small { font-size: 13px; color: var(--ink-2); }
.lg-name i { font-style: normal; font-weight: 800; font-size: 11px; margin-left: 2px; }
.lg-name i.fV { color: #16833A; } .lg-name i.fD { color: #B42318; }
.lg-pts { font-weight: 800; font-size: 18px; text-align: right; }
.lg-pts small { display: block; font-size: 11px; font-weight: 600; color: var(--ink-3); }
.chat-page { display: flex; flex-direction: column; min-height: calc(100vh - 160px); }
.chat-head { display: flex; align-items: center; gap: 10px; padding-bottom: 10px; border-bottom: 1px solid var(--line); }
.chat-list { flex: 1; display: flex; flex-direction: column; gap: 8px; padding: 12px 0; overflow-y: auto; max-height: calc(100vh - 290px); }
.msg { max-width: 82%; background: var(--card); border: 1px solid var(--line); border-radius: 16px 16px 16px 4px; padding: 8px 12px; font-size: 16px; }
.msg b { display: block; font-size: 13px; color: var(--acid); }
.msg small { display: block; text-align: right; font-size: 11px; color: var(--ink-3); margin-top: 2px; }
.msg.mine { align-self: flex-end; background: var(--acid); color: var(--acid-ink); border-color: var(--acid); border-radius: 16px 16px 4px 16px; }
.msg.mine small { color: rgba(255,255,255,.8); }
.chat-form { display: flex; gap: 8px; padding-top: 10px; border-top: 1px solid var(--line); }
.chat-form input { flex: 1; min-height: 48px; font-size: 16px; }

.btn svg, .btn.small svg { width: 18px; height: 18px; flex: none; }
.chat-head .btn svg { width: 20px; height: 20px; }
.lg-challenge { display: inline-block; margin-top: 4px; background: none; border: 0; padding: 4px 0; font: inherit; font-size: 14px; font-weight: 700; color: var(--acid); cursor: pointer; }

/* JOGAR no centro, maior e mais alto: acesso rápido (pedido do dono + Laya) */
:root:not([data-theme="dark"]) .tab-play { overflow: visible; justify-content: flex-end; }
:root:not([data-theme="dark"]) .tab-play .playbtn {
  width: 62px; height: 62px; border-radius: 50%; margin: -30px auto 4px;
  background: var(--acid); color: #FFFFFF; border: 4px solid #FFFFFF;
  box-shadow: 0 8px 22px -6px rgba(0, 84, 95, .55);
}
:root:not([data-theme="dark"]) .tab-play .playbtn svg { width: 28px; height: 28px; }
:root:not([data-theme="dark"]) .tab-play span:last-child { font-size: 13px; font-weight: 700; color: var(--acid); }
:root:not([data-theme="dark"]) { --tab-h: 80px; }
:root:not([data-theme="dark"]) .tab { justify-content: center; padding: 6px 0 10px; }
:root:not([data-theme="dark"]) .tab span { font-size: 12.5px; }
:root:not([data-theme="dark"]) .tab-play { justify-content: flex-end; padding-bottom: 10px; }

/* Chat da turma liberado (30/09/2026) */
.turma-last { display: flex; gap: 8px; align-items: center; margin-top: 10px; padding-top: 10px; border-top: 1px solid var(--line); font-size: 14px; color: var(--ink-2, #475467); }
.turma-last svg { width: 18px; height: 18px; flex: none; color: var(--acid); }
.turma-last span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.chat-entry { margin-top: 16px; cursor: pointer; }
.chat-entry b svg { width: 20px; height: 20px; vertical-align: -4px; margin-right: 6px; color: var(--acid); }
.chat-entry .chat-prev { margin-top: 6px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* Sino de avisos (30/09/2026) */
#top-right .bell { position: relative; display: grid; place-items: center; width: 40px; height: 40px; border: 0; border-radius: 12px; background: transparent; color: var(--ink); cursor: pointer; }
#top-right .bell svg { width: 24px; height: 24px; }
#top-right .bell:hover { background: var(--bg-2, #EEF2F8); }
.bell-n { position: absolute; top: 3px; right: 2px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 99px; background: #D92D20; color: #fff; font-size: 11px; font-weight: 800; line-height: 18px; text-align: center; }
.bell-n.hidden { display: none; }
.aviso { display: flex; gap: 12px; align-items: flex-start; margin-bottom: 10px; cursor: pointer; }
.aviso.new { border-color: var(--acid); background: #F3F7FE; }
.aviso-ic { flex: none; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: #ECFFB6; color: var(--acid); }
.aviso-ic svg { width: 22px; height: 22px; }
.aviso-t { font-size: 15.5px; line-height: 1.4; }
.aviso-t small { display: block; margin-top: 3px; font-size: 13px; color: var(--muted, #5B6778); }

/* Pagamento pelo app (Pix) */
.pay-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--line); }
.pay-row.paid { justify-content: flex-start; color: #16833A; font-weight: 700; font-size: 15px; }
.pay-row.paid svg { width: 18px; height: 18px; margin-right: 6px; }
.pay-row .btn svg { width: 18px; height: 18px; margin-right: 6px; vertical-align: -3px; }
.pix-box { display: flex; gap: 12px; align-items: center; padding: 12px; border-radius: 14px; background: #E8F7F4; font-size: 15px; }
.pix-ic { flex: none; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: #32BCAD; color: #fff; }
.pix-ic svg { width: 22px; height: 22px; }
.pix-code { width: 100%; margin-top: 12px; padding: 10px; border: 1px dashed var(--line); border-radius: 12px; font: 13px/1.4 ui-monospace, Menlo, monospace; color: var(--ink); background: #fff; resize: none; word-break: break-all; }
.pix-status { margin: 12px 0 8px; text-align: center; color: var(--muted, #5B6778); font-size: 14px; }
.pay-row .btn { flex: none; white-space: nowrap; }
.pix-hold { margin: 8px 0 0; padding: 8px 12px; border-radius: 10px; background: #FEF3E2; color: #B54708; font-weight: 700; font-size: 14px; text-align: center; }
.pay-rule { display: flex; gap: 8px; align-items: center; margin-top: 12px; padding: 10px 12px; border-radius: 12px; background: #E8F7F4; color: #0F5F57; font-size: 14.5px; font-weight: 600; }
.pay-rule svg { width: 20px; height: 20px; flex: none; }
.link-cancel { display: block; margin: 10px 0 0 auto; background: none; border: 0; color: var(--muted, #5B6778); font: inherit; font-size: 14px; text-decoration: underline; cursor: pointer; }

/* ---------- Taxa de serviço e SetZero+ ---------- */
.pix-fee { display: flex; justify-content: space-between; gap: 8px; margin: -4px 0 6px; font-size: 13px; color: var(--ink-2); }
.linkbtn { background: none; border: 0; padding: 0; font: inherit; color: var(--acid); font-weight: 700; text-decoration: underline; cursor: pointer; }
.bplus-card { width: 100%; margin-top: 12px; display: flex; gap: 12px; align-items: center; text-align: left; cursor: pointer; font: inherit; color: inherit; }
.bplus-card svg { width: 18px; height: 18px; color: var(--ink-3); }
.bplus-badge { display: inline-flex; align-items: center; padding: 5px 10px; border-radius: 999px; background: var(--acid); color: var(--acid-ink); font-weight: 800; font-size: 13px; letter-spacing: -.01em; white-space: nowrap; }
.bplus-badge.on { background: #fff; color: var(--acid); }
.bplus-hero { background: linear-gradient(135deg, var(--acid), #2F7BEA); color: #fff; border-radius: 20px; padding: 22px 20px; }
.bplus-hero h1 { color: #fff; margin: 12px 0 6px; }
.bplus-hero p { margin: 0; opacity: .92; line-height: 1.45; }
.bplus-list { list-style: none; padding: 0; margin: 16px 0; display: grid; gap: 10px; }
.bplus-list li { display: flex; gap: 10px; align-items: flex-start; font-size: 15px; }
.bplus-list svg { width: 18px; height: 18px; flex: none; color: var(--acid); margin-top: 2px; }
.bplus-plans { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.bplus-plan { display: grid; gap: 2px; text-align: left; padding: 16px; border-radius: 16px; border: 1.5px solid var(--line); background: var(--bg-2); font: inherit; color: inherit; cursor: pointer; }
.bplus-plan span { font-size: 13px; color: var(--ink-2); font-weight: 600; }
.bplus-plan b { font-size: 22px; letter-spacing: -.02em; }
.bplus-plan small { font-size: 12px; color: var(--ink-3); }
.bplus-plan.best { border-color: var(--acid); box-shadow: 0 0 0 3px color-mix(in srgb, var(--acid) 18%, transparent); }
.bplus-plan.best small { color: var(--acid); font-weight: 700; }

/* =====================================================================
   Computador (≥ 1024px): site de verdade, não um celular esticado.
   Menu no topo (a barra de abas sobe para o cabeçalho), conteúdo largo,
   arenas e jogos em grade, página da arena em 2 colunas. Celular não muda.
   ===================================================================== */
.card-grid > * { min-width: 0; }
@media (min-width: 1024px) {
  :root { --desk-w: 1180px; --desk-pad: max(32px, calc((100vw - var(--desk-w)) / 2)); }
  .shell { max-width: none; border: 0; }

  /* cabeçalho: marca à esquerda, menu no centro, entrar/avatar à direita */
  :root:not([data-nodesk]) .topbar { height: 68px; min-height: 68px; padding: 0 var(--desk-pad); }
  .brand { font-size: 19px; }
  .brand .brand-mark { width: 28px; height: 28px; }
  :root:not([data-nodesk]) .tabbar {
    top: 0; bottom: auto; left: 50%; transform: translateX(-50%);
    width: auto; max-width: none; height: 68px;
    display: flex; align-items: center; gap: 4px; padding: 0;
    background: transparent; border: 0; box-shadow: none; z-index: 45;
  }
  :root:not([data-nodesk]) .tab { flex-direction: row; justify-content: center; gap: 8px; height: 40px; padding: 0 14px; border-radius: 10px; }
  :root:not([data-nodesk]) .tab:hover { background: var(--acid-bg); color: var(--ink); }
  :root:not([data-nodesk]) .tab svg { width: 18px; height: 18px; }
  :root:not([data-nodesk]) .tab span { font-size: 14px; letter-spacing: 0; }
  :root:not([data-nodesk]) .tab-play { background: var(--acid); color: var(--acid-ink); margin: 0 6px; }
  :root:not([data-nodesk]) .tab-play:hover { background: var(--acid); filter: brightness(1.08); color: var(--acid-ink); }
  :root:not([data-nodesk]) .tab-play .playbtn { width: auto; height: auto; margin: 0; border: 0; border-radius: 0; background: transparent; box-shadow: none; color: inherit; }
  :root:not([data-nodesk]) .tab-play .playbtn svg { width: 18px; height: 18px; }
  :root:not([data-nodesk]) .tab-play span:last-child, :root:not([data-nodesk]) .tab-play.active span:last-child { font-size: 14px; color: var(--acid-ink); }

  /* conteúdo */
  main { max-width: calc(var(--desk-w) + 64px); margin: 0 auto; padding: 28px 32px 72px; }
  .page { max-width: 760px; margin: 0 auto; }
  .page.wide { max-width: none; }
  .page.auth { max-width: 440px; padding-top: 24px; }
  .card-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; align-items: start; }
  .card-grid > .arena-card, .card-grid > .game-card, .card-grid > .ex-card { margin: 0; height: 100%; }
  .ex-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: 14px; }
  .home .bdl-searchbar { max-width: 640px; }
  .section-head { margin-top: 32px; }

  /* página da arena: fotos e informações à esquerda (fixas), reserva à direita */
  .arena-page { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 40px; align-items: start; }
  .arena-page .ar-info { position: sticky; top: 92px; }
  .arena-page .hero { margin: 0; border-radius: 18px; border: 1px solid var(--line); }
  .arena-page .hero-art { height: 320px; }
  .arena-page .ar-book { background: var(--card); border: 1px solid var(--line); border-radius: 18px; padding: 4px 24px 24px; }
  .arena-page .ar-step1 { margin-top: 20px !important; }
  .arena-page .sticky-gap, .arena-page .sticky-cta { display: none; } /* a lista de quadras já está à vista */

  /* folhas viram janelas no centro; avisos embaixo, sem barra de abas */
  .sheet { top: 50%; bottom: auto; transform: translate(-50%, -50%); max-width: 520px; max-height: 86vh; overflow: auto; border-radius: 18px; border: 1px solid var(--line); }
  .toast { bottom: 24px !important; }
}
@media (min-width: 1024px) and (max-width: 1200px) {
  :root:not([data-nodesk]) .tab { padding: 0 10px; }
  .card-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* ---------- Início do visitante: apresentação, 3 passos e rodapé ---------- */
.vh-hide { display: none; }
.vh { display: grid; gap: 18px; margin: 4px 0 18px; }
.vh-k { margin: 0 0 6px; font-size: 12.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--acid); }
.vh-t { margin: 0; font-size: 30px; line-height: 1.12; font-weight: 800; letter-spacing: -.03em; color: var(--ink); }
.vh-s { margin: 10px 0 0; font-size: 16px; line-height: 1.5; color: var(--ink-2); max-width: 52ch; }
.vh-cta { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; }
.vh-cta .btn { flex: 1 1 auto; }
.vh-mini { margin: 10px 0 0; font-size: 13px; color: var(--ink-3); }
.vh-art { position: relative; border-radius: 18px; overflow: hidden; aspect-ratio: 16 / 10; background: var(--card); border: 1px solid var(--line); }
.vh-art img { width: 100%; height: 100%; object-fit: cover; }
.vh-float { position: absolute; left: 14px; bottom: 14px; display: grid; grid-template-columns: 1fr auto; column-gap: 12px; align-items: center; padding: 10px 14px; border-radius: 14px; background: #FFFFFF; color: #102A2E; box-shadow: 0 10px 30px -10px rgba(15, 27, 45, .45); }
.vh-float b { font-size: 15px; }
.vh-float span { grid-column: 1; font-size: 13px; color: #475467; }
.vh-float i { grid-row: 1 / span 2; grid-column: 2; font-style: normal; font-weight: 800; font-size: 13px; padding: 6px 9px; border-radius: 999px; background: var(--acid); color: var(--acid-ink); }
.vh-steps { list-style: none; padding: 0; margin: 0 0 8px; display: grid; gap: 10px; }
.vh-steps li { display: flex; gap: 12px; align-items: flex-start; padding: 14px; border-radius: 16px; background: var(--card); border: 1px solid var(--line); }
.vh-steps li > b { flex: none; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: var(--acid); color: var(--acid-ink); font-size: 14px; }
.vh-steps strong { display: block; font-size: 15px; color: var(--ink); }
.vh-steps span { display: block; font-size: 14px; color: var(--ink-2); line-height: 1.45; margin-top: 2px; }
.site-foot { margin-top: 36px; padding: 22px 2px 8px; border-top: 1px solid var(--line); display: grid; gap: 12px; font-size: 13.5px; color: var(--ink-3); }
.site-foot-brand { display: flex; align-items: center; gap: 8px; font-weight: 800; font-size: 17px; color: var(--ink); }
.site-foot-brand img { width: 24px; height: 24px; border-radius: 6px; }
.site-foot-brand .dot { color: var(--acid); }
.site-foot nav { display: flex; flex-wrap: wrap; gap: 8px 18px; }
.site-foot a { color: var(--ink-2); font-weight: 600; }
.site-foot a:hover { color: var(--acid); }
.site-foot p { margin: 0; }
@media (min-width: 1024px) {
  .vh { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; align-items: center; margin: 12px 0 28px; }
  .vh-t { font-size: 46px; }
  .vh-s { font-size: 18px; }
  .vh-cta .btn { flex: 0 0 auto; padding-left: 22px; padding-right: 22px; }
  .vh-steps { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-bottom: 4px; }
  .site-foot { grid-template-columns: auto 1fr; align-items: center; gap: 16px 24px; }
  .site-foot .site-foot-links { justify-content: flex-end; }
  .site-foot .site-foot-cities, .site-foot p { grid-column: 1 / -1; }
}
/* o título recebe foco ao trocar de página (leitor de tela anuncia), mas não precisa de moldura:
   não é um controle clicável */
#app h1[tabindex="-1"]:focus, #app h1[tabindex="-1"]:focus-visible { outline: none; box-shadow: none; }
.home .vh-steps + .bdl-header + .chiprow, .home .vh-steps ~ .chiprow { margin-top: 16px; }
.ar-share { display: inline-flex; align-items: center; gap: 6px; margin-top: 10px; }
.ar-share svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.8; }
.auth-note { display: flex; gap: 8px; align-items: center; margin: 12px 0 0; padding: 10px 12px; border-radius: 12px; background: var(--acid-bg); color: var(--ink); font-size: 14px; font-weight: 600; }
.auth-note svg { width: 18px; height: 18px; flex: none; fill: none; stroke: var(--acid); stroke-width: 1.8; }

/* Visitante: sem barra de abas/menu (as abas só levariam ao login); topo com Entrar e Criar conta */
body.guest { --tab-h: 0px; }
body.guest .tabbar { display: none !important; }
body.guest main { padding-bottom: 40px; }
#top-right .btn.primary { background: var(--acid); color: var(--acid-ink); border-color: var(--acid); }
/* quanto custa para o jogador (visitante) */
.vh-price { display: grid; gap: 10px; }
.vh-price > div { padding: 14px 16px; border-radius: 16px; background: var(--card); border: 1px solid var(--line); }
.vh-price b { display: block; font-size: 16px; color: var(--ink); }
.vh-price span { display: block; margin-top: 3px; font-size: 14px; line-height: 1.45; color: var(--ink-2); }
.vh-price .vh-plus { border-color: var(--acid); }
.vh-price .vh-plus b { color: var(--acid); }
@media (min-width: 1024px) { .vh-price { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; } }
.vh-price .vh-plus { cursor: pointer; }

/* SetZero no celular: avisos e atalho na tela de início */
.phone-card { position: relative; display: flex; gap: 12px; align-items: flex-start; margin-top: 12px; }
.phone-ic { flex: 0 0 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; background: var(--acid-bg); color: var(--acid); }
.phone-ic svg { width: 20px; height: 20px; }
.phone-card b { padding-right: 22px; }
.phone-x { position: absolute; top: 6px; right: 8px; width: 32px; height: 32px; border: 0; background: none; color: var(--ink-2); font-size: 22px; line-height: 1; cursor: pointer; border-radius: 8px; }
.ios-steps { margin: 12px 0 0; padding-left: 20px; display: grid; gap: 8px; font-size: 15px; line-height: 1.45; }

/* Meu desempenho */
.perf-link { display: flex; gap: 12px; align-items: center; width: 100%; margin-top: 12px; cursor: pointer; font: inherit; color: inherit; }
.perf-link .phone-ic { flex: 0 0 36px; }
.perf-link > svg, .league-link > svg { flex: 0 0 18px; width: 18px; height: 18px; color: var(--ink-3); } /* seta › à direita */
.elo-chart { width: 100%; height: auto; display: block; margin-top: 10px; overflow: visible; }
.elo-chart .grid { stroke: var(--line); stroke-width: 1; }
.elo-chart .ax { fill: var(--ink-3); font-size: 10px; }
.elo-chart .line { fill: none; stroke: var(--acid); stroke-width: 2; stroke-linejoin: round; stroke-linecap: round; }
.elo-chart .dot { fill: var(--acid); stroke: var(--card); stroke-width: 2; }
.elo-chart .dot.loss { fill: var(--card); stroke: var(--acid); }
.elo-chart .hit { fill: transparent; cursor: pointer; }
.elo-chart .pt:hover .dot { r: 6; }
.perf-key { display: flex; gap: 6px; align-items: center; margin-top: 6px; }
.perf-key .k { width: 9px; height: 9px; border-radius: 50%; border: 2px solid var(--acid); display: inline-block; }
.perf-key .k.win { background: var(--acid); }
.perf-key .k.loss { background: var(--card); margin-left: 8px; }
.perf-tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 12px; }
.perf-tiles .card { display: flex; flex-direction: column; gap: 2px; }
.perf-tiles b { font-size: 22px; letter-spacing: -.3px; }
.perf-person { display: flex; gap: 12px; align-items: center; margin-top: 12px; }

/* Lista de espera (horário lotado) */
.wait-box { margin-top: 14px; padding-top: 12px; border-top: 1px dashed var(--line); }
.wait-box .hourlist { margin-top: 8px; }
.hourbtn.wait { border-style: dashed; }
.hourbtn.wait small { color: var(--ink-2); }
.hourbtn.wait.sel small { color: inherit; }

/* Agenda do celular */
.cal-card .phone-ic { flex: 0 0 36px; margin-right: 12px; }
.cal-btns { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }

/* Liga da cidade */
.league-sponsor { display: flex; gap: 12px; align-items: center; margin-top: 12px; text-decoration: none; color: inherit; }
.league-sponsor img { width: 44px; height: 44px; object-fit: contain; border-radius: 10px; background: #fff; }
.league-link { display: flex; gap: 12px; align-items: center; width: 100%; margin-top: 12px; cursor: pointer; font: inherit; color: inherit; }
.league-link .phone-ic, .league-sponsor .phone-ic { flex: 0 0 36px; }
.rank-row.me { background: var(--acid-bg); border-radius: 10px; }

/* TV da arena (placar ao vivo) */
body.tv-mode .topbar, body.tv-mode .tabbar { display: none !important; }
body.tv-mode #app { padding: 0; max-width: none; }
.tv { min-height: 100vh; background: #0B1B3A; color: #fff; padding: 3vh 4vw; display: flex; flex-direction: column; gap: 3vh; font-size: clamp(14px, 1.6vw, 28px); }
.tv-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 2vw; }
.tv-head h1 { margin: 0; font-size: 2.4em; font-weight: 800; letter-spacing: -.02em; }
.tv-k { opacity: .75; font-size: .9em; }
.tv-k i { font-style: normal; color: #D6FB00; font-weight: 700; }
.tv-brand { display: flex; align-items: center; gap: .5em; font-weight: 800; font-size: 1.4em; }
.tv-brand .dot { color: #D6FB00; }
.tv-grid { display: grid; grid-template-columns: 1.6fr 1fr; gap: 3vw; flex: 1; }
.tv h2 { margin: 0 0 1.5vh; font-size: 1.1em; opacity: .8; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; }
.tv-game { display: grid; grid-template-columns: auto 1fr auto 1fr; gap: 1.2vw; align-items: center; background: rgba(255,255,255,.06); border-radius: 18px; padding: 2vh 1.5vw; margin-bottom: 1.5vh; font-size: 1.15em; }
.tv-game b:last-child { text-align: right; }
.tv-court { opacity: .6; font-weight: 700; }
.tv-sc { font-size: 1.6em; font-weight: 800; font-variant-numeric: tabular-nums; color: #D6FB00; }
.tv-now { display: grid; grid-template-columns: 1fr auto 1fr; gap: 2vw; align-items: center; margin-top: 4vh; }
.tv-side { background: rgba(255,255,255,.06); border-radius: 22px; padding: 4vh 2vw; display: flex; flex-direction: column; gap: 1vh; text-align: center; }
.tv-side span { opacity: .7; }
.tv-side b { font-size: 1.6em; line-height: 1.2; }
.tv-side.king { background: #00545F; }
.tv-x { font-size: 3em; font-weight: 800; opacity: .5; }
.tv-queue { margin-top: 3vh; opacity: .8; font-size: 1.1em; text-align: center; }
.tv-table ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 1vh; }
.tv-table li { display: grid; grid-template-columns: 2.2em 1fr auto; align-items: center; background: rgba(255,255,255,.06); border-radius: 14px; padding: 1.2vh 1vw; }
.tv-table li.top { background: rgba(0, 84, 95,.55); }
.tv-table .p { font-weight: 800; opacity: .8; }
.tv-table .v { font-weight: 800; font-variant-numeric: tabular-nums; }
.tv-foot { opacity: .7; text-align: center; }
.tv-empty { margin: auto; display: flex; flex-direction: column; gap: 1vh; text-align: center; font-size: 1.4em; }
@media (max-width: 800px) { .tv-grid { grid-template-columns: 1fr; } .tv-head h1 { font-size: 1.6em; } }

/* Pacotes de aula */
.pack-offers { display: grid; gap: 8px; margin-top: 8px; }
.pack-offer { display: flex; gap: 12px; align-items: center; }
.pack-bar { height: 6px; border-radius: 999px; background: var(--card-2); overflow: hidden; margin-top: 10px; }
.pack-bar i { display: block; height: 100%; background: var(--acid); border-radius: 999px; }
.play-opt.hot .ic { background: var(--acid); color: var(--acid-ink); }
.site-foot-cities { display: flex; flex-wrap: wrap; gap: 6px 14px; margin-bottom: 10px; font-size: 13px; }
.site-foot-cities a { color: var(--ink-2); }

/* Visitante: confiança sob o botão, recursos, chamada para arenas, dúvidas e convite final */
.vh-trust { list-style: none; padding: 0; margin: 14px 0 0; display: flex; flex-wrap: wrap; gap: 6px 16px; font-size: 13.5px; color: var(--ink-2); }
.vh-trust li { display: inline-flex; align-items: center; gap: 6px; }
.vh-trust svg { width: 16px; height: 16px; stroke: var(--acid); stroke-width: 2.4; }
.vh-feat-grid { display: grid; gap: 10px; }
.vh-feat { display: flex; gap: 12px; align-items: flex-start; padding: 16px; border-radius: 16px; background: var(--card); border: 1px solid var(--line); }
.vh-feat-ic { flex: none; width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: var(--acid-bg); color: var(--acid); }
.vh-feat-ic svg { width: 22px; height: 22px; }
.vh-feat b { display: block; font-size: 15.5px; color: var(--ink); }
.vh-feat span { display: block; margin-top: 3px; font-size: 14px; line-height: 1.45; color: var(--ink-2); }
.vh-arena { margin-top: 28px; padding: 22px; border-radius: 20px; background: #102A2E; color: #FFFFFF; display: grid; gap: 16px; }
.vh-arena .vh-k { color: #D6FB00; }
.vh-arena h2 { margin: 0; font-size: 22px; line-height: 1.2; letter-spacing: -.02em; color: #FFFFFF; }
.vh-arena p:not(.vh-k) { margin: 8px 0 0; font-size: 15px; line-height: 1.5; color: rgba(255, 255, 255, .78); max-width: 60ch; }
.vh-arena .btn { justify-self: start; background: #FFFFFF; color: #102A2E; text-decoration: none; }
.vh-faq details { border-bottom: 1px solid var(--line); }
.vh-faq summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 12px; padding: 16px 2px; font-size: 15.5px; font-weight: 700; color: var(--ink); }
.vh-faq summary::-webkit-details-marker { display: none; }
.vh-faq summary::after { content: '+'; flex: none; font-size: 20px; line-height: 1; color: var(--acid); transition: transform .15s; }
.vh-faq details[open] summary::after { transform: rotate(45deg); }
.vh-faq details p { margin: -4px 2px 16px; font-size: 14.5px; line-height: 1.55; color: var(--ink-2); max-width: 70ch; }
.vh-final { margin-top: 28px; padding: 26px 22px; border-radius: 20px; background: var(--acid-bg); text-align: center; }
.vh-final h2 { margin: 0; font-size: 26px; letter-spacing: -.02em; color: var(--ink); }
.vh-final p { margin: 6px 0 0; color: var(--ink-2); }
.vh-final .vh-cta { justify-content: center; }
@media (min-width: 1024px) {
  .vh-feat-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
  .vh-arena { grid-template-columns: 1fr auto; align-items: center; padding: 32px 36px; gap: 32px; }
  .vh-arena h2 { font-size: 28px; }
  .vh-faq { max-width: 820px; }
  .vh-final { padding: 40px; }
  .vh-final .vh-cta .btn { flex: 0 0 auto; padding-left: 22px; padding-right: 22px; }
}

/* Sequência de semanas, conquistas, confiabilidade, convite */
.wk-card { margin-top: 14px; }
.wk-card.risk { border-color: #F2B33D; }
.wk-top { display: flex; align-items: center; gap: 12px; }
.wk-flame { font-size: 34px; line-height: 1; }
.wk-n { display: block; font-size: 22px; letter-spacing: -.02em; color: var(--ink); }
.wk-dots { display: grid; grid-template-columns: repeat(8, 1fr); gap: 6px; margin-top: 12px; }
.wk-dots i { height: 10px; border-radius: 999px; background: var(--line); }
.wk-dots i.on { background: var(--acid); }
.wk-dots i.now { outline: 2px solid var(--acid); outline-offset: 2px; }
.badge-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
@media (min-width: 720px) { .badge-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.badge-it { display: flex; flex-direction: column; gap: 3px; padding: 14px; border-radius: 16px; background: var(--card); border: 1px solid var(--line); opacity: .72; }
.badge-it.got { opacity: 1; border-color: var(--acid); }
.badge-it b { font-size: 14.5px; color: var(--ink); }
.badge-ic { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: var(--line); color: var(--ink-3); margin-bottom: 4px; }
.badge-it.got .badge-ic { background: var(--acid); color: #fff; }
.badge-ic svg { width: 19px; height: 19px; }
.badge-bar { display: block; height: 5px; border-radius: 999px; background: var(--line); margin-top: 6px; overflow: hidden; }
.badge-bar i { display: block; height: 100%; background: var(--acid); }
.rel-score { flex: none; width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; font-weight: 800; font-size: 18px; color: #fff; margin-right: 12px; }
.rel-score.new { background: var(--acid); font-size: 13px; } .rel-score.ok { background: #1E9E5A; } .rel-score.mid { background: #D99A1E; } .rel-score.low { background: #D64545; }
.chip.rel { display: inline-flex; align-items: center; gap: 4px; background: #E7F6EE; color: #1E7A47; border-color: transparent; }
.chip.rel svg { flex: none; width: 13px; height: 13px; stroke-width: 2.6; }
.chip > svg { flex: none; } /* ícone dentro de chip não encolhe */
@media (max-width: 480px) { .chip.rel > span { display: none; } .chip.rel { padding-left: 6px; padding-right: 6px; } } /* celular: só o ✓ */
.ref-box b.ref-url { display: block; margin-top: 4px; font-size: 16px; word-break: break-all; color: var(--ink); }

/* Feed estilo Strava: posts com placar por set, aplausos e comentários */
.seg { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; padding: 4px; border-radius: 999px; background: var(--card-2); border: 1px solid var(--line); }
.seg-b { border: 0; background: none; font: inherit; font-weight: 700; font-size: 14px; color: var(--ink-2); padding: 9px 10px; border-radius: 999px; cursor: pointer; }
.seg-b.on { background: var(--card); color: var(--ink); box-shadow: 0 1px 3px rgba(0,0,0,.08); }
.post { margin-top: 12px; padding: 16px; }
.post-head { display: flex; align-items: center; gap: 12px; }
.post-head .avatar { flex: none; }
.post-who { flex: 1; min-width: 0; font-size: 15px; color: var(--ink); }
.post-who .chip { margin-left: 4px; vertical-align: 1px; }
.post-score { margin-top: 14px; border-radius: 14px; background: var(--card-2); padding: 6px 14px; }
.ps-row { display: flex; align-items: center; gap: 14px; padding: 8px 0; color: var(--ink-2); }
.ps-row + .ps-row { border-top: 1px solid var(--line); }
.ps-row.won { color: var(--ink); font-weight: 700; }
.ps-team { flex: 1; min-width: 0; display: flex; align-items: center; gap: 8px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ps-team svg, .ps-team i { flex: none; width: 16px; height: 16px; color: var(--acid); }
.ps-set { width: 22px; text-align: center; font-size: 20px; font-variant-numeric: tabular-nums; color: var(--ink-3); font-weight: 700; }
.ps-set.w { color: var(--ink); font-weight: 800; }
.post-meta { margin-top: 10px; }
.post-elo { display: inline-block; font-weight: 800; font-size: 13px; padding: 4px 10px; border-radius: 999px; background: var(--card-2); color: var(--ink-2); }
.post-elo.up { background: var(--acid-bg); color: var(--acid); }
.post-kudos { display: flex; align-items: center; gap: 6px; margin: 12px 0 0; font-size: 13px; color: var(--ink-2); }
.post-kudos svg { width: 15px; height: 15px; color: var(--acid); }
.post-comments:not(:empty) { margin-top: 8px; }
.post-c { margin: 6px 0 0; font-size: 14px; color: var(--ink); overflow-wrap: anywhere; }
.post-comments .linkbtn { font-size: 13px; }
.post-actions { display: flex; gap: 6px; margin-top: 12px; padding-top: 10px; border-top: 1px solid var(--line); }
.post-actions .pa { flex: 1; min-width: 0; display: inline-flex; align-items: center; justify-content: center; gap: 6px; border: 0; background: none; font: inherit; font-size: 13.5px; font-weight: 700; color: var(--ink-2); padding: 8px 4px; border-radius: 10px; cursor: pointer; white-space: nowrap; }
.post-actions .pa:hover { background: var(--card-2); }
.post-actions .pa svg { flex: none; width: 18px; height: 18px; }
.post-actions .pa.on { color: var(--acid); }
.post-actions .pa.on svg { fill: var(--acid-bg); }
.post-reply { display: flex; gap: 8px; margin-top: 10px; }
.post-reply input { flex: 1; min-width: 0; }
.score-grid { display: grid; grid-template-columns: minmax(0, 1fr) repeat(3, 52px); gap: 6px; align-items: center; }
.score-grid .sg-name { font-size: 13px; font-weight: 600; color: var(--ink-2); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.score-grid .sg-in { width: 100%; padding: 8px 0; }
.post-c .linkbtn { color: var(--ink-3); font-weight: 600; font-size: 12px; text-decoration: none; margin-left: 4px; }

/* Lado da quadra, procuro dupla e desempenho por lado */
.chip.side { background: var(--card-2); color: var(--ink-2); border-color: transparent; }
.side-card { margin-top: 12px; }
.duo-row { display: flex; align-items: center; gap: 10px; padding: 8px 0; }
.duo-row + .duo-row { border-top: 1px solid var(--line); }
.duo-row .chip { vertical-align: 1px; }
.duo-row > .btn, .duo-row > .chip, .duo-row > .muted { flex: none; }
.side-perf .sp-row { display: grid; grid-template-columns: 110px 1fr auto; gap: 10px; align-items: center; margin-top: 10px; font-size: 14px; }
.side-perf .sp-bar { height: 8px; border-radius: 999px; background: var(--card-2); overflow: hidden; }
.side-perf .sp-bar i { display: block; height: 100%; background: var(--acid); }
.side-perf .sp-v { font-weight: 700; color: var(--ink); white-space: nowrap; }
.duo-meta { display: flex; flex-wrap: wrap; gap: 4px; margin-top: 4px; }

/* =====================================================================
   DESIGN v4 · "Placar" (08/10/2026) — aprovado pelo dono do produto.
   Barlow no texto, Barlow Condensed em títulos, horários e placares;
   verde-bola como ação principal (Jogar, Chamar, elo ganho); azul para
   links e destaques; azul-marinho nos blocos de destaque. Menos bordas,
   logo no centro do topo no celular, esqueleto ao carregar e movimento
   com função (desligado para quem pede menos movimento no aparelho).
   A marca (SetZero.) continua em Inter 800, como no kit da marca.
   ===================================================================== */
:root {
  --font-ui:      'Barlow', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  --font-display: 'Barlow Condensed', 'Arial Narrow', 'Barlow', sans-serif;
  --font-brand:   'Inter', -apple-system, 'Segoe UI', sans-serif;
  --ball:     #D6FB00;
  --ball-ink: #003B43;
  --navy:     #003B43;
  --ease-out: cubic-bezier(.2, .8, .2, 1);
}
:root:not([data-theme="dark"]) {
  --bg:   #F4F6FA;
  --ink:  #003B43;
  --ink-2: #405A5D;
  --ink-3: #536B6E;
}
.brand { font-family: var(--font-brand); }

/* tipografia de placar: títulos e números condensados */
.display, .bdl-greet, .section-head h2 { font-family: var(--font-display); }
:root:not([data-theme="dark"]) h1.display,
:root:not([data-theme="dark"]) .bdl-greet { font-size: 30px; font-weight: 800; line-height: 1.02; letter-spacing: .005em; text-transform: uppercase; text-wrap: balance; }
:root:not([data-theme="dark"]) .section-head { align-items: baseline; margin: 22px 0 10px; }
:root:not([data-theme="dark"]) .section-head h2 { font-size: 16px; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; color: var(--ink-3); }
:root:not([data-theme="dark"]) .section-head .more { font-family: var(--font-display); font-size: 14px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
:root:not([data-theme="dark"]) .section-head .more::after { content: ''; }
.tnum { font-variant-numeric: tabular-nums; }

/* menos caixas: cartões sem contorno, separados pelo fundo (estados com borda própria continuam) */
:where(:root:not([data-theme="dark"])) .card { border-color: transparent; }
:root:not([data-theme="dark"]) .card,
:root:not([data-theme="dark"]) .game-card { box-shadow: 0 1px 2px rgba(0, 59, 67, .06); }
/* filtro escolhido em azul-marinho (o azul fica para ação e links) */
:root:not([data-theme="dark"]) .fchip { border-color: transparent; box-shadow: 0 1px 2px rgba(0, 59, 67, .06); }
:root:not([data-theme="dark"]) .fchip.sel { background: var(--navy); border-color: var(--navy); color: #FFFFFF; }
/* filtros que rolam para o lado: a ponta esmaece para indicar que tem mais */
.chiprow.scroll { -webkit-mask-image: linear-gradient(90deg, #000 calc(100% - 40px), transparent); mask-image: linear-gradient(90deg, #000 calc(100% - 40px), transparent); }

/* topo no celular: marca no centro, avisos e perfil à direita (visitante segue com a marca à esquerda) */
@media (max-width: 1023px) {
  body:not(.guest) .topbar { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: center; }
  body:not(.guest) .topbar .brand { grid-column: 2; justify-self: center; }
  body:not(.guest) #top-right { grid-column: 3; justify-self: end; }
}

/* barra de baixo: todos os rótulos na mesma linha de base; Jogar em verde-bola no centro */
@media (max-width: 1023px) {
  :root:not([data-theme="dark"]) .tab,
  :root:not([data-theme="dark"]) .tab-play { justify-content: flex-end; gap: 4px; padding: 0 0 12px; }
  :root:not([data-theme="dark"]) .tab.active { background: transparent; }
  :root:not([data-theme="dark"]) .tab.active svg { stroke-width: 2.2; }
  :root:not([data-theme="dark"]) .tab span,
  :root:not([data-theme="dark"]) .tab-play span:last-child { font-size: 12.5px; font-weight: 600; line-height: 1.2; color: inherit; }
  :root:not([data-theme="dark"]) .tab-play { color: var(--ink-3); }
  :root:not([data-theme="dark"]) .tab-play .playbtn {
    width: 56px; height: 56px; margin: -28px auto 2px;
    background: var(--ball); color: var(--ball-ink); border: 4px solid #FFFFFF;
    box-shadow: 0 8px 18px -8px rgba(0, 59, 67, .45);
    transition: transform .15s var(--ease-out);
  }
  :root:not([data-theme="dark"]) .tab-play .playbtn svg { width: 26px; height: 26px; stroke-width: 2.3; }
  :root:not([data-theme="dark"]) .tab-play:active .playbtn { transform: scale(.92); }
}
@media (min-width: 1024px) {
  :root:not([data-nodesk]):not([data-theme="dark"]) .tab-play,
  :root:not([data-nodesk]):not([data-theme="dark"]) .tab-play:hover { background: var(--ball); color: var(--ball-ink); }
  :root:not([data-nodesk]):not([data-theme="dark"]) .tab-play span:last-child,
  :root:not([data-nodesk]):not([data-theme="dark"]) .tab-play.active span:last-child { color: var(--ball-ink); font-weight: 700; }
}
.tab:focus-visible, .sl-slot:focus-visible, .nx-card:focus-visible, .sl-name:focus-visible, .sl-thumb:focus-visible { outline: 2px solid var(--acid); outline-offset: 2px; }

/* esqueleto enquanto carrega */
.skel { display: block; border: 0 !important; border-radius: 14px; box-shadow: none !important;
  background: linear-gradient(90deg, #E6EDE6 25%, #F2F6F1 50%, #E6EDE6 75%) !important; background-size: 200% 100% !important;
  animation: bdl-shimmer 1.1s linear infinite; }
[data-theme="dark"] .skel { background: linear-gradient(90deg, #1c1f1c 25%, #262a24 50%, #1c1f1c 75%) !important; background-size: 200% 100% !important; }
.skel-line { height: 30px; width: 62%; border-radius: 8px; }
@keyframes bdl-shimmer { to { background-position: -200% 0; } }

/* movimento: entra subindo, em sequência (--i = ordem) */
@keyframes bdl-rise { from { opacity: 0; transform: translateY(12px); } }
@keyframes bdl-pop { 0% { opacity: 0; transform: scale(.6); } 70% { transform: scale(1.06); } }
@keyframes bdl-slide { from { opacity: 0; transform: translateX(-10px); } }
@keyframes bdl-fill { from { transform: scaleX(0); } }
@keyframes bdl-pulse { 0%, 100% { box-shadow: 0 0 0 0 rgba(214, 251, 0, .7); } 60% { box-shadow: 0 0 0 7px rgba(214, 251, 0, 0); } }
.rise { animation: bdl-rise .45s var(--ease-out) both; animation-delay: calc(var(--i, 0) * 70ms); }

/* ---------- Início: seu próximo jogo ---------- */
.nx-card { position: relative; overflow: hidden; display: flex; flex-direction: column; gap: 10px; margin-top: 14px; padding: 16px; border-radius: 18px; background: var(--navy); color: #FFFFFF; cursor: pointer; }
.nx-court { position: absolute; right: 16px; top: 38px; width: 64px; height: 84px; opacity: .14; pointer-events: none; }
.nx-court rect, .nx-court path { fill: none; stroke: #FFFFFF; stroke-width: 1.5; }
.nx-k { position: relative; display: flex; justify-content: space-between; gap: 12px; font-family: var(--font-display); font-weight: 700; font-size: 14px; letter-spacing: .1em; text-transform: uppercase; color: var(--ball); }
.nx-cd { font-variant-numeric: tabular-nums; white-space: nowrap; }
.nx-t { position: relative; font-family: var(--font-display); font-weight: 800; font-size: 40px; line-height: .95; text-transform: uppercase; }
.nx-where { position: relative; font-size: 15px; color: #BFE3DC; }
.nx-row { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 44px; }
.nx-avs { display: flex; align-items: center; }
.nx-avs .pav { box-shadow: 0 0 0 2px var(--navy); }
.nx-avs .pav + .pav { margin-left: -6px; }
.nx-avs .pav { animation: bdl-slide .4s var(--ease-out) both; animation-delay: calc(var(--i, 0) * 90ms + 250ms); }
.pav.open { background: transparent; border: 1.5px dashed #8FBFB6; color: #8FBFB6; box-shadow: none; animation: bdl-slide .4s var(--ease-out) both, bdl-pulse 1.6s ease-out 1s 3; animation-delay: calc(var(--i, 0) * 90ms + 250ms), 1s; }
.btn.ball { background: var(--ball); color: var(--ball-ink); border-color: transparent; font-weight: 700; }
.btn.ball svg { width: 18px; height: 18px; }
.nx-chip { display: inline-flex; align-items: center; gap: 6px; font-size: 14px; font-weight: 600; color: #D9F2C2; }
.nx-chip svg { width: 16px; height: 16px; color: var(--ball); }
.nx-pay { position: relative; display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 10px; font-size: 14px; color: #BFE3DC; }
.nx-bar { height: 6px; border-radius: 3px; background: rgba(255, 255, 255, .15); overflow: hidden; }
.nx-bar i { display: block; height: 100%; border-radius: 3px; background: var(--ball); transform-origin: left; animation: bdl-fill .9s var(--ease-out) .4s both; }
.nx-more { display: block; margin-top: 8px; padding: 6px 0; background: none; border: 0; font: inherit; font-size: 14px; font-weight: 700; color: var(--acid); cursor: pointer; }

/* avatar de pessoa com cor própria (mesma cor para a mesma pessoa em todo o site) */
.pav { width: 32px; height: 32px; flex: none; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; font-size: 13px; font-weight: 700; color: #FFFFFF; line-height: 1; }
.pav.c0 { background: #00545F; } .pav.c1 { background: #D46A1F; } .pav.c2 { background: #1E8A68; } .pav.c3 { background: #7A47C9; } .pav.c4 { background: #C23A58; }

/* ---------- Início: horários livres de um toque ---------- */
.slot-list { background: var(--card); border-radius: 16px; box-shadow: 0 1px 2px rgba(0, 59, 67, .06); overflow: hidden; }
.sl-row { display: grid; grid-template-columns: 60px minmax(0, 1fr); gap: 12px; padding: 12px; align-items: start; }
.sl-row + .sl-row { box-shadow: inset 0 1px 0 var(--line); }
.sl-thumb { position: relative; width: 60px; height: 60px; border: 0; padding: 0; border-radius: 12px; overflow: hidden; background: var(--art-bg); cursor: pointer; }
.sl-thumb img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.sl-thumb svg { width: 100%; height: 100%; }
.sl-thumb img ~ svg { display: none; }
.sl-top { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; min-width: 0; }
.sl-name { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; border: 0; background: none; padding: 0; font: inherit; font-size: 16px; font-weight: 700; color: var(--ink); text-align: left; cursor: pointer; }
.sl-meta { flex: none; font-size: 14px; color: var(--ink-3); }
.sl-slots { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; margin-top: 8px; }
.sl-slot { min-height: 52px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; border: 0; border-radius: 10px; background: var(--acid-bg); color: var(--acid); cursor: pointer; animation: bdl-pop .38s var(--ease-out) both; animation-delay: calc(var(--i, 0) * 55ms + 150ms); transition: transform .12s var(--ease-out); }
.sl-slot b { font-family: var(--font-display); font-weight: 800; font-size: 21px; line-height: 1; font-variant-numeric: tabular-nums; }
.sl-slot small { font-size: 12px; font-weight: 600; line-height: 1.1; color: var(--ink-3); }
.sl-slot.hot { background: var(--acid); color: #FFFFFF; }
.sl-slot.hot small { color: rgba(255, 255, 255, .85); }
.sl-slot:hover { filter: brightness(.97); }
.sl-slot:active { transform: scale(.94); }
.sl-none { grid-column: 1 / -1; min-height: 52px; display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 0 4px 0 2px; font-size: 14px; color: var(--ink-3); }
.sl-none .btn { flex: none; }
@media (min-width: 1024px) {
  .home .slot-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); background: transparent; box-shadow: none; gap: 16px; overflow: visible; }
  .home .sl-row { background: var(--card); border-radius: 16px; box-shadow: 0 1px 2px rgba(0, 59, 67, .06); }
  .home .sl-row + .sl-row { box-shadow: 0 1px 2px rgba(0, 59, 67, .06); }
  .home .nx-card { max-width: 640px; }
}

@media (prefers-reduced-motion: reduce) {
  .skel, .rise, .sl-slot, .nx-avs .pav, .pav.open, .nx-bar i { animation: none !important; }
  .tab-play .playbtn, .sl-slot { transition: none; }
}
/* ícones de traço no lugar de emoji */
.ex-sug-ic svg { width: 17px; height: 17px; color: var(--acid); }
.wk-flame { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--navy); color: var(--ball); flex: none; }
.wk-flame svg { width: 22px; height: 22px; }
.home .nx-card + .chiprow, .home .nx-more + .chiprow { margin-top: 16px; }
.nx-t { padding-right: 96px; }
/* auditoria v4: todas as abas vão até o pé da barra (o Jogar é mais alto e descia 3px) */
@media (max-width: 1023px) { .tabbar > .tab { align-self: stretch; } }
/* alvos de toque com pelo menos 44px de altura (dedo de quem joga, 30–55 anos) */
.bdl-loc { min-height: 40px; padding-inline: 12px; }
.sl-name { padding-block: 8px; margin-block: -8px; }
.post-actions .pa, .seg-b { min-height: 44px; }
.link-cancel { display: flex; align-items: center; min-height: 44px; }
.btn-go { min-height: 40px; }
.bdl-loc { white-space: nowrap; flex: none; }
@media (min-width: 1024px) {
  /* topo do Início numa coluna só: saudação, cartão, filtros e busca com a mesma largura */
  .home .bdl-header, .home .chiprow.scroll { max-width: 640px; }
  /* colunas = número de arenas (sem coluna vazia) */
  .home .slot-list { grid-template-columns: repeat(var(--n, 3), minmax(0, 1fr)); }
}
/* consistência v4: avatar de pessoa com a mesma cor em todas as telas */
.avatar.c0, .avatar.c1, .avatar.c2, .avatar.c3, .avatar.c4 { color: #FFFFFF; border-color: transparent; font-weight: 700; }
.avatar.c0 { background: #00545F; } .avatar.c1 { background: #D46A1F; } .avatar.c2 { background: #1E8A68; } .avatar.c3 { background: #7A47C9; } .avatar.c4 { background: #C23A58; }
.avatars .avatar + .avatar { box-shadow: 0 0 0 2px var(--card); }
/* consistência v4: cartões de jogo/categoria sem contorno, como os demais */
:where(:root:not([data-theme="dark"])) .game-card, :where(:root:not([data-theme="dark"])) .catwin, :where(:root:not([data-theme="dark"])) .ex-card { border-color: transparent; }
/* consistência v4: horários do Explorar iguais aos do Início (número condensado em azul) */
:where(:root:not([data-theme="dark"])) .tslot { border-color: transparent; background: var(--acid-bg); color: var(--acid); }
:root:not([data-theme="dark"]) .tslot { font-family: var(--font-display); font-size: 19px; font-weight: 800; }
:root:not([data-theme="dark"]) .tslot.dim, :root:not([data-theme="dark"]) .tslot.more { font-family: var(--font-ui); font-size: 15px; font-weight: 600; }

/* ---------- Design v4 · Feed: cada jogo vira um placar ---------- */
.post { margin-top: 12px; padding: 14px; }
.post-head { align-items: center; gap: 10px; }
.post-head .pav { width: 36px; height: 36px; font-size: 14px; }
.post-who { line-height: 1.3; }
.post-t { font-size: 15px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.post-when { font-size: 13px; color: var(--ink-3); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.post-lvl { flex: none; align-self: flex-start; padding-top: 2px; font-family: var(--font-display); font-weight: 800; font-size: 15px; letter-spacing: .02em; color: var(--acid); }
.post-score { margin-top: 12px; padding: 4px 6px 4px 12px; border-radius: 12px; background: var(--card-2); }
.ps-row { display: grid; grid-template-columns: minmax(0, 1fr) repeat(var(--cols, 2), 36px); align-items: center; gap: 0; padding: 6px 0; color: var(--ink-2); }
.ps-row + .ps-row { border-top: 1px solid var(--line); }
.ps-row.won { color: var(--ink); font-weight: 700; }
.ps-team { display: flex; align-items: center; gap: 8px; min-width: 0; font-size: 15px; }
.ps-names { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ps-avs { display: inline-flex; align-items: center; flex: none; }
.ps-avs .pav { width: 24px; height: 24px; font-size: 10px; box-shadow: 0 0 0 2px var(--card-2); }
.ps-avs .pav + .pav { margin-left: -5px; }
.ps-row:not(.won) .ps-avs .pav { opacity: .75; }
.ps-set { width: auto; text-align: center; font-family: var(--font-display); font-size: 26px; font-weight: 800; line-height: 1; color: #98AFAE; font-variant-numeric: tabular-nums; animation: bdl-pop .35s var(--ease-out) both; animation-delay: calc(var(--i, 0) * 120ms + 150ms); }
.ps-set.w { color: var(--ink); }
.post-foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 10px; min-height: 26px; }
.post-kudos { display: inline-flex; align-items: center; gap: 8px; margin: 0; font-size: 13.5px; color: var(--ink-2); min-width: 0; }
.post-kudos .ps-avs .pav { width: 22px; height: 22px; font-size: 9.5px; box-shadow: 0 0 0 2px var(--card); }
.post-elo { flex: none; font-family: var(--font-display); font-weight: 800; font-size: 15px; letter-spacing: .02em; padding: 2px 8px; border-radius: 6px; background: var(--card-2); color: var(--ink-2); animation: bdl-pop .45s var(--ease-out) .5s both; }
.post-elo.up { background: var(--ball); color: var(--ball-ink); }
.post-actions { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 4px; margin-top: 10px; padding-top: 6px; }
.post-actions .pa { position: relative; color: var(--ink); font-weight: 600; font-size: 14px; }
.post-actions .pa.on { color: var(--acid); }
.pa .plus1 { position: absolute; left: 50%; top: 2px; transform: translateX(-50%); font-family: var(--font-display); font-weight: 800; font-size: 16px; color: var(--acid); opacity: 0; pointer-events: none; }
@keyframes bdl-float { 0% { opacity: 0; transform: translate(-50%, 4px); } 25% { opacity: 1; } 100% { opacity: 0; transform: translate(-50%, -18px); } }
@keyframes bdl-press { 0%, 100% { transform: scale(1); } 40% { transform: scale(.82); } }
.pa.bump .plus1 { animation: bdl-float .9s var(--ease-out) both; }
.pa.bump svg { animation: bdl-press .35s ease; }
@media (prefers-reduced-motion: reduce) { .ps-set, .post-elo, .pa.bump .plus1, .pa.bump svg { animation: none !important; } }

/* ---------- Design v4 · telas vazias que levam ao jogo ---------- */
.mj-empty { margin-top: 14px; padding: 20px 16px 18px; display: flex; flex-direction: column; align-items: center; gap: 6px; text-align: center; }
.mj-ic { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; background: var(--acid-bg); color: var(--acid); }
.mj-ic svg { width: 24px; height: 24px; }
.mj-empty b { font-family: var(--font-display); font-weight: 800; font-size: 22px; line-height: 1.1; text-transform: uppercase; color: var(--ink); }
.mj-empty span:last-child { max-width: 34ch; font-size: 15px; color: var(--ink-2); }
.og-list { background: var(--card); border-radius: 16px; box-shadow: 0 1px 2px rgba(0, 59, 67, .06); overflow: hidden; }
.og-row { display: grid; grid-template-columns: 56px minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 12px; animation: bdl-slide .45s var(--ease-out) both; animation-delay: calc(var(--i, 0) * 110ms + 150ms); }
.og-row + .og-row { box-shadow: inset 0 1px 0 var(--line); }
.og-time { display: flex; flex-direction: column; align-items: center; line-height: 1; }
.og-time b { font-family: var(--font-display); font-weight: 800; font-size: 24px; font-variant-numeric: tabular-nums; color: var(--ink); }
.og-time small { margin-top: 4px; font-size: 11px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: var(--ink-3); }
.og-what { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.og-what b { font-size: 15px; color: var(--ink); }
.og-what > span:not(.ps-avs) { font-size: 13.5px; color: var(--ink-2); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.og-what .ps-avs { margin-top: 4px; }
.og-what .ps-avs .pav { width: 22px; height: 22px; font-size: 9.5px; box-shadow: 0 0 0 2px var(--card); }
.og-book { margin-top: 12px; }
.t-card { margin-top: 10px; }
.t-card .top { gap: 10px; }
.t-card .t-foot { margin-top: 12px; justify-content: space-between; gap: 10px; }
.t-card.past .t-foot { justify-content: flex-end; }
.t-card.past .game-name { color: var(--ink-2); }
@media (prefers-reduced-motion: reduce) { .og-row { animation: none !important; } }
.nowrap { white-space: nowrap; }
/* aviso vazio padrão no mesmo desenho do v4 (círculo com ícone, título condensado) */
.h-empty-icon { width: 52px; height: 52px; border: 0; border-radius: 50%; background: var(--acid-bg); color: var(--acid); }
.h-empty-icon svg { width: 24px; height: 24px; }
:root:not([data-theme="dark"]) .h-empty-title { font-family: var(--font-display); font-weight: 800; font-size: 22px; line-height: 1.1; text-transform: uppercase; }
:root:not([data-theme="dark"]) .h-empty-desc { font-size: 15px; color: var(--ink-2); }
.seg.seg3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
/* abas escolhidas no padrão v4 (azul-marinho) */
:root:not([data-theme="dark"]) .seg-b.on { background: var(--navy); color: #FFFFFF; box-shadow: none; }

/* Excluir conta (perfil): link discreto no fim, folha com o que acontece e confirmação */
.del-acc-wrap { margin: 18px 0 0; text-align: center; }
.link-danger { background: none; border: 0; padding: 12px 8px; min-height: 44px; font: inherit; font-size: 14px; font-weight: 600; color: var(--danger-text); cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
.link-danger:hover { text-decoration-thickness: 2px; }
.del-list { margin: 12px 0 16px; padding-left: 20px; display: grid; gap: 8px; color: var(--ink-2); font-size: 14.5px; line-height: 1.45; }
.btn.danger { background: #C0362C; color: #FFFFFF; border-color: transparent; margin-top: 12px; }
.btn.danger:disabled { opacity: .45; cursor: not-allowed; }
.btn.ghost.block svg { width: 18px; height: 18px; vertical-align: -4px; margin-right: 6px; }

/* Cadastro da arena: fotos das quadras (prévia em grade, a 1ª é a capa) */
.aq-ph-hint { margin: 0 0 10px; }
.aq-photos { display: grid; grid-template-columns: repeat(auto-fill, minmax(100px, 1fr)); gap: 8px; }
.aq-ph { position: relative; margin: 0; aspect-ratio: 4 / 3; border-radius: 12px; overflow: hidden; background: var(--bg-2); }
.aq-ph img { width: 100%; height: 100%; object-fit: cover; display: block; }
.aq-cover { position: absolute; left: 6px; bottom: 6px; padding: 2px 8px; border-radius: 99px; background: var(--ball); color: var(--ball-ink); font-size: 11.5px; font-weight: 700; }
.aq-ph-rm { position: absolute; top: 4px; right: 4px; width: 32px; height: 32px; border-radius: 50%; border: 0; background: rgba(0, 59, 67, .72); color: #fff; display: grid; place-items: center; cursor: pointer; }
.aq-ph-rm svg { width: 16px; height: 16px; }
.aq-ph-rm::after { content: ""; position: absolute; inset: -6px; } /* área de toque de 44px */
.aq-ph-add { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; border: 1.5px dashed var(--line); background: transparent; color: var(--ink-2); font-size: 13px; font-weight: 600; cursor: pointer; text-align: center; padding: 6px; }
.aq-ph-add svg { width: 22px; height: 22px; }
.aq-ph-add:focus-within { outline: 2px solid var(--acid); outline-offset: 2px; }

/* Página da arena: fila de fotos das quadras */
.ar-photos { display: flex; gap: 8px; overflow-x: auto; scroll-snap-type: x mandatory; margin: 14px -2px 0; padding: 2px; scrollbar-width: none; }
.ar-photos::-webkit-scrollbar { display: none; }
.ar-ph { flex: 0 0 auto; width: 148px; aspect-ratio: 4 / 3; padding: 0; border: 0; border-radius: 12px; overflow: hidden; background: var(--bg-2); cursor: zoom-in; scroll-snap-align: start; }
.ar-ph img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ph-full { display: block; width: 100%; max-height: 70vh; object-fit: contain; border-radius: 12px; background: #000; }

/* Free agent: card do perfil, faixa da aba Torneios e selo na lista de dupla */
.fa-card { margin-top: 12px; }
.fa-head { display: flex; align-items: center; gap: 14px; }
.fa-switch { flex: none; position: relative; width: 52px; height: 32px; border-radius: 99px; border: 0; padding: 0; background: var(--line); cursor: pointer; transition: background .18s var(--ease-out); }
.fa-switch i { position: absolute; top: 4px; left: 4px; width: 24px; height: 24px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0, 59, 67, .25); transition: transform .18s var(--ease-out); }
.fa-switch.on { background: var(--acid); }
.fa-switch.on i { transform: translateX(20px); }
.fa-switch::after { content: ""; position: absolute; inset: -6px; } /* toque de 44px */
.fa-switch:focus-visible { outline: 2px solid var(--acid); outline-offset: 3px; }
.fa-list { display: grid; gap: 6px; margin-top: 12px; }
.fa-t { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 10px; min-height: 44px; padding: 8px 10px; border: 0; border-radius: 10px; background: var(--bg-2); color: var(--ink); font: inherit; text-align: left; cursor: pointer; }
.fa-t-d { font-family: var(--font-display); font-weight: 700; font-size: 15px; letter-spacing: .02em; color: var(--ink-2); white-space: nowrap; }
.fa-t-n { font-weight: 600; font-size: 14.5px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.fa-t svg { width: 16px; height: 16px; color: var(--ink-3); }
.fa-form { margin-top: 12px; }
.fa-form .field { margin-bottom: 10px; }
.fa-banner { display: flex; align-items: center; gap: 12px; margin-top: 16px; padding: 14px; border-radius: 14px; background: var(--navy); color: #CFE6E1; }
.fa-banner > svg { flex: none; width: 22px; height: 22px; color: var(--ball); }
.fa-banner b { display: block; color: #fff; font-size: 15px; }
.fa-banner span { display: block; font-size: 13.5px; line-height: 1.4; margin-top: 2px; }
.fa-banner .btn { flex: none; }
.fa-banner .btn.ghost { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .35); }
.fa-banner:not(.on) .btn { background: var(--ball); color: var(--ball-ink); }
.chip.fa { background: var(--navy); color: #fff; border-color: transparent; text-transform: lowercase; }
.t-seek { display: block; margin-top: 2px; color: var(--acid); font-weight: 700; }

/* Página da arena: compartilhar + favoritar lado a lado */
.ar-acts { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.ar-acts .ar-share { margin: 0; }
.ar-fav svg { width: 16px; height: 16px; }
.ar-fav.on { color: #C2334D; border-color: rgba(194, 51, 77, .35); }
.ar-fav.on svg { fill: currentColor; }

/* ---------- Perfil: cartão do jogador (Pacote 3) ---------- */
.pcard { position: relative; overflow: hidden; margin-top: 16px; padding: 18px 18px 16px; border-radius: 20px; background: var(--navy); color: #FFFFFF; }
.pcard::after { content: ''; position: absolute; right: -60px; top: -60px; width: 180px; height: 180px; border-radius: 50%; border: 22px solid rgba(214, 251, 0, .10); pointer-events: none; }
.pc-top { position: relative; z-index: 1; display: grid; grid-template-columns: 56px minmax(0, 1fr) 44px; gap: 12px; align-items: center; }
.pc-ph { width: 56px; height: 56px; border-radius: 16px; overflow: hidden; display: grid; place-items: center; background: #00545F; box-shadow: 0 0 0 2px var(--ball); font-family: var(--font-display); font-weight: 800; font-size: 26px; }
.pc-ph img { width: 100%; height: 100%; object-fit: cover; display: block; }
.pc-id { min-width: 0; }
.pc-id h1 { margin: 0; font-family: var(--font-display); font-weight: 800; font-size: 26px; line-height: 1; text-transform: uppercase; letter-spacing: .01em; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow-wrap: anywhere; color: #FFFFFF; }
.pc-id p { margin: 4px 0 0; font-size: 14px; color: #BFE3DC; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pc-gear { width: 44px; height: 44px; display: grid; place-items: center; border: 0; border-radius: 12px; background: rgba(255, 255, 255, .10); color: #FFFFFF; cursor: pointer; }
.pc-gear:hover { background: rgba(255, 255, 255, .18); }
.pc-gear svg { width: 20px; height: 20px; }
.pc-mid { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 12px; margin-top: 18px; }
.pc-mid > div { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.pc-k { font-family: var(--font-display); font-weight: 700; font-size: 13px; letter-spacing: .1em; text-transform: uppercase; color: var(--ball); }
.pc-lvl b, .pc-elo b { font-family: var(--font-display); font-weight: 800; font-size: 48px; line-height: .95; font-variant-numeric: tabular-nums; color: #FFFFFF; }
.pc-n { font-size: 14px; color: #D9F2C2; }
.pc-elo { position: relative; }
.pc-d { font-size: 13px; font-weight: 700; font-variant-numeric: tabular-nums; }
.pc-d.up { color: var(--ball); }
.pc-d.down { color: #FFB4B4; }
.pc-er { display: flex; align-items: center; gap: 8px; min-height: 30px; }
.pc-spark { width: 96px; height: 30px; flex: 0 1 96px; min-width: 0; }
.pc-spark path { fill: none; stroke: var(--ball); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.pc-spark circle { fill: var(--ball); }
.pc-hint { position: relative; z-index: 1; margin: 10px 0 0; font-size: 13px; color: #BFE3DC; }
.pc-nums { position: relative; z-index: 1; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: 14px; padding-top: 14px; border-top: 1px solid rgba(255, 255, 255, .14); }
.pc-nums > div { display: flex; flex-direction: column; gap: 2px; min-width: 0; padding: 0 8px; }
.pc-nums > div:first-child { padding-left: 0; }
.pc-nums > div + div { border-left: 1px solid rgba(255, 255, 255, .14); }
.pc-nums b { font-family: var(--font-display); font-weight: 800; font-size: 30px; line-height: 1; font-variant-numeric: tabular-nums; }
.pc-nums span { font-size: 13px; color: #BFE3DC; line-height: 1.2; }
.pc-badges { display: flex; flex-direction: column; gap: 10px; width: 100%; margin-top: 12px; text-align: left; cursor: pointer; font: inherit; color: inherit; }
.pc-bh { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; }
.pc-brow { display: flex; gap: 8px; overflow: hidden; }
.pc-b { flex: 0 0 auto; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: var(--line); color: var(--ink-3); opacity: .55; }
.pc-b.got { background: var(--ball); color: var(--ball-ink); opacity: 1; }
.pc-b svg { width: 20px; height: 20px; }
.aj-list { display: flex; flex-direction: column; margin-top: 8px; border-top: 1px solid var(--line); }
.aj-row { display: flex; align-items: center; gap: 12px; width: 100%; min-height: 52px; padding: 8px 2px; border: 0; border-bottom: 1px solid var(--line); background: none; font: inherit; font-size: 15px; font-weight: 600; color: var(--ink); text-align: left; cursor: pointer; }
.aj-row > svg { width: 20px; height: 20px; color: var(--ink-3); flex: 0 0 auto; }
.aj-row > span, .aj-row > label { flex: 1; }
.aj-row select { min-height: 40px; padding: 6px 10px; border: 1px solid var(--line); border-radius: 10px; background: var(--bg-2); color: var(--ink); font: inherit; font-size: 14px; }
@media (min-width: 900px) {
  .pcard { padding: 24px; }
  .pc-mid, .pc-nums { max-width: 560px; }
  .pc-lvl b, .pc-elo b { font-size: 56px; }
}
@media (max-width: 420px) { .pc-b:nth-child(n+7) { display: none; } }

/* Confirmar e-mail (aviso no Início e no Perfil) */
.vf-bar { display: flex; align-items: center; gap: 12px; margin-top: 14px; padding: 14px; border-radius: 14px; background: var(--card); border: 1px solid var(--line); border-left: 4px solid var(--ball); }
.vf-bar > svg { flex: none; width: 22px; height: 22px; color: var(--acid); }
.vf-bar b { display: block; color: var(--ink); font-size: 15px; }
.vf-bar span { display: block; font-size: 13.5px; line-height: 1.4; margin-top: 2px; color: var(--ink-2); }
.vf-bar .btn { flex: none; }
.vf-bar .vf-mail { display: inline; font-size: inherit; color: var(--ink); font-weight: 600; overflow-wrap: anywhere; }
.home .vf-bar { margin-bottom: 12px; }
@media (max-width: 480px) {
  .vf-bar { flex-wrap: wrap; align-items: flex-start; }
  .vf-bar > div { flex: 1 1 calc(100% - 34px) !important; }
  .vf-bar .btn { margin-left: 34px; }
}

/* =====================================================================
   DESIGN v5 · "uma voz" (15/10/2026, crítica de design)
   - Títulos de página em Barlow Condensed caixa-alta; seções em frase normal (menos gritaria).
   - Azul só para ação; verde-bola para o que é seu / destaque; azul-marinho para superfície especial.
   - Menos contornos: separação pelo fundo e pelo espaço.
   ===================================================================== */
:root:not([data-theme="dark"]) .section-head { margin: 26px 0 10px; }
:root:not([data-theme="dark"]) .section-head h2 { font-family: var(--font-display); font-size: 22px; font-weight: 700; letter-spacing: .005em; text-transform: none; color: var(--ink); line-height: 1.1; }
:root:not([data-theme="dark"]) .section-head .more { display: inline-block; font-family: var(--font-ui); font-size: 14px; font-weight: 600; letter-spacing: 0; text-transform: lowercase; color: var(--acid); white-space: nowrap; }
:root:not([data-theme="dark"]) .section-head .more::first-letter { text-transform: uppercase; }
:root:not([data-theme="dark"]) .section-head .more::after { content: ' ›'; }
/* rótulo pequeno de seção ("Estrutura", "1 · Quando?") sem espaçamento gritado */
:root:not([data-theme="dark"]) .kicker { font-size: 13px; letter-spacing: .04em; color: var(--ink-3); }

/* visitante: o título principal fala a mesma língua do resto (placar) */
.vh-t { font-family: var(--font-display); font-weight: 800; text-transform: uppercase; letter-spacing: .005em; line-height: 1; font-size: 40px; text-wrap: balance; }
@media (min-width: 1024px) { .vh-t { font-size: 56px; } }

/* chip "do seu nível" (verde-bola: é sobre você) */
.chip.lvl-ok { display: inline-flex; align-items: center; gap: 4px; background: rgba(214, 251, 0, .22); border-color: transparent; color: var(--ball-ink); font-weight: 700; }
.chip.lvl-ok svg { width: 13px; height: 13px; }

/* torneio: inscrito é confirmação, não botão desligado */
.t-in { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; border-radius: 12px; background: rgba(214, 251, 0, .22); color: var(--ball-ink); font-weight: 700; font-size: 15px; }
.t-in svg { width: 18px; height: 18px; }

/* ---------- Explorar: cartão com foto ---------- */
.ex-card { border-color: transparent; box-shadow: 0 1px 2px rgba(0, 59, 67, .06); transition: box-shadow .15s ease, transform .15s ease; }
.ex-card:hover { box-shadow: 0 6px 18px rgba(0, 59, 67, .10); }
.ex-card.has-ph { padding-top: 0; overflow: hidden; }
.ex-ph { margin: 0 -14px 12px; height: 132px; background: var(--bg-2); }
.ex-ph img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ex-card-top b { font-family: var(--font-display); font-size: 20px; font-weight: 700; letter-spacing: .005em; }
.ex-card .tslots .tslot { background: var(--bg); color: var(--ink); font-weight: 700; }
.ex-card .tslots .tslot:first-child { background: var(--acid); color: #FFFFFF; }

/* ---------- Página da arena ---------- */
html .arena-page .hero-art { height: 220px; }
@media (min-width: 1024px) { html .arena-page .hero-art { height: 360px; } }
html:root:not([data-theme="dark"]) .arena-page .hero-art { height: 220px; }
@media (min-width: 1024px) { html:root:not([data-theme="dark"]) .arena-page .hero-art { height: 360px; } }
:root:not([data-theme="dark"]) .arena-page .hero-head h1.display { font-size: 32px; line-height: 1; }
@media (min-width: 1024px) { :root:not([data-theme="dark"]) .arena-page .hero-head h1.display { font-size: 40px; } }
.arena-page .lede { font-size: 15px; }
/* comodidades: etiquetas, não botões */
.amen-grid { display: flex; flex-wrap: wrap; gap: 6px 14px; margin-top: 6px; }
.amen-grid .amen { background: none; border: 0; padding: 4px 0; font-size: 14px; font-weight: 600; color: var(--ink-2); }
.amen-grid .amen svg { width: 18px; height: 18px; }
#ar-next:not(:empty) { margin-top: 12px; }

/* DESIGN v5 · pódio: degraus de alturas diferentes, o 1º em navy com o número em verde-bola */
.podium { align-items: end; gap: 8px; }
.podium .step { display: flex; flex-direction: column; align-items: center; justify-content: flex-start; border: 0; border-radius: 14px 14px 6px 6px; padding: 14px 6px 0; overflow: hidden; background: var(--card); box-shadow: inset 0 0 0 1px var(--line); }
.podium .step .avatar { width: 40px; height: 40px; font-size: 16px; }
.podium .step .who { font-size: 14px; font-weight: 700; max-width: 100%; }
.podium .step .n { margin-top: auto; width: 100%; padding: 6px 0 8px; font-family: var(--font-display, 'Barlow Condensed', sans-serif); font-size: 30px; font-weight: 800; letter-spacing: 0; line-height: 1; color: var(--ink-3); }
.podium .step.p2 { min-height: 150px; }
.podium .step.p3 { min-height: 132px; }
.podium .step.p1 { min-height: 178px; background: #003B43; box-shadow: none; color: #fff; }
.podium .step.p1 .avatar { width: 52px; height: 52px; font-size: 20px; background: #D6FB00; color: #003B43; }
.podium .step.p1 .who { color: #fff; font-size: 15px; }
.podium .step.p1 .el { color: rgba(255, 255, 255, .78); }
.podium .step.p1 .n { color: #D6FB00; font-size: 40px; }
.podium .step.p1 .chip, .podium .step.p1 .cat { color: inherit; }
.podium .empty { grid-column: 1 / -1; }

/* DESIGN v5 · Meus jogos: valor em cima, botão inteiro embaixo; "Cancelar reserva" discreto, sem buraco */
.pay-row:not(.paid) { flex-direction: column; align-items: stretch; gap: 10px; }
.pay-row:not(.paid) .btn { width: 100%; justify-content: center; }
.pay-row:not(.paid) > .muted { font-size: 14px; }
.pay-row.muted.tiny { flex-direction: row; }
.link-cancel { margin: 6px 0 -8px; padding: 0; min-height: 44px; text-decoration: none; font-size: 14px; font-weight: 600; color: var(--ink-3, #5B6778); }
.link-cancel:hover { color: #B42318; text-decoration: underline; }
@media (min-width: 900px) {
  .pay-row:not(.paid) { flex-direction: row; align-items: center; }
  .pay-row:not(.paid) .btn { width: auto; }
}
/* login: idioma no rodapé, fora do meio do formulário */
.auth-lang { display: flex; justify-content: center; gap: 4px; margin-top: 28px; padding-top: 14px; border-top: 1px solid var(--line); }
.auth-lang button { min-height: 44px; padding: 0 12px; border: 0; background: none; color: var(--ink-3, #5B6778); font: inherit; font-size: 14px; font-weight: 600; cursor: pointer; border-radius: 8px; }
.auth-lang button.sel { color: var(--ink, #102A2E); text-decoration: underline; text-underline-offset: 4px; }
