/* =========================================================
   Qadras - mobile visual v2
   Frontend-only polish layer for Capacitor/FastAPI migration.
   ========================================================= */
:root {
  --pq-ink: #143523;
  --pq-ink-soft: #315742;
  --pq-muted: #6b7f72;
  --pq-green: #16a765;
  --pq-green-dark: #075e3a;
  --pq-green-soft: #e8f6ed;
  --pq-court: #b9edcb;
  --pq-gold: #e4a11b;
  --pq-blue: #2563eb;
  --pq-rose: #e85d75;
  --pq-paper: #f7f8f5;
  --pq-surface: #ffffff;
  --pq-surface-2: #f3f5f1;
  --pq-line: #e4e7df;
  --pq-line-strong: #ccd5cb;
  --pq-shadow-1: 0 1px 2px rgba(17, 17, 17, .05), 0 8px 22px rgba(17, 17, 17, .06);
  --pq-shadow-2: 0 18px 46px rgba(17, 17, 17, .14);
  --pq-radius: 18px;
  --pq-tabbar-height: 78px;
  --pq-safe-top: env(safe-area-inset-top, 0px);
  --pq-safe-bottom: env(safe-area-inset-bottom, 0px);
}

* {
  letter-spacing: 0;
}

html {
  background: #e6f1e9;
}

body {
  min-height: 100vh;
  background: var(--pq-paper);
  color: var(--pq-ink);
  letter-spacing: 0;
}

h1,
h2,
h3,
.brand,
.price,
.kpi .val,
.day .n,
.bb-total,
.summary .total,
.success h2,
.empty h3,
.rb-num,
.ticket .code {
  letter-spacing: 0;
}

.app-wrap {
  padding: 0;
  align-items: stretch;
}

.phone {
  width: min(100%, 430px);
  min-height: 100vh;
  height: auto;
  max-height: none;
  margin: 0 auto;
  border-radius: 0;
  box-shadow: none;
  background: var(--pq-paper);
}

.screen {
  background: var(--pq-paper);
  padding-bottom: calc(var(--pq-tabbar-height) + 6px + var(--pq-safe-bottom));
}

html[data-route="mapa"] .screen {
  height: calc(100dvh - var(--pq-tabbar-height) - var(--pq-safe-bottom));
  min-height: 0;
  flex: 0 0 calc(100dvh - var(--pq-tabbar-height) - var(--pq-safe-bottom));
  overflow: hidden;
  padding-bottom: 0;
}

html[data-route="mapa"] [data-route-view],
html[data-route="mapa"] .mobile-map-route {
  height: 100%;
  min-height: 0;
}

.container {
  padding: 22px 16px 32px;
}

.route-page {
  animation: route-in .14s ease-out;
}

@keyframes route-in {
  from {
    opacity: 0;
    transform: translateY(6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* [hidden] tem que esconder. Sempre.

   O navegador aplica [hidden]{display:none} pela folha DELE, e qualquer
   regra de autor que declare display ganha, independentemente de
   especificidade. Neste projeto isso ja causou quatro bugs: o painel de
   conversa do clube desenhado por cima de todas as abas, o cabecalho de
   Mensagens duplicado, os tres passos do onboarding empilhados e o botao de
   voltar aparecendo no primeiro passo.

   O !important e o unico jeito de a folha de autor perder para si mesma.
   Nada legitimo precisa de um elemento [hidden] visivel. */
[hidden] {
  display: none !important;
}

.topbar {
  padding: calc(24px + var(--pq-safe-top)) 18px 20px;
  background:
    linear-gradient(145deg, #00b95f 0%, #00a859 56%, #008f4c 100%);
  border-bottom: 0;
}

.topbar::before {
  display: none;
}

.topbar::after {
  content: "";
  display: none;
}

.brand {
  font-size: 16px;
  font-weight: 900;
}

.logo-mark {
  width: 30px;
  height: 30px;
  border-radius: var(--pq-radius);
  background: #ffffff;
  color: var(--pq-green);
  border: 0;
  box-shadow: none;
}

.greet {
  margin-top: 22px;
  color: rgba(255, 255, 255, .9);
  font-size: 13px;
  font-weight: 800;
}

.topbar h1 {
  max-width: 365px;
  margin-top: 5px;
  font-size: 29px;
  line-height: 1.08;
  font-weight: 900;
}

.home-subtitle {
  margin-top: 7px;
  color: rgba(255, 255, 255, .78);
  font-size: 12.5px;
  font-weight: 600;
}

.searchbar {
  min-height: 52px;
  margin-top: 18px;
  padding: 0 16px;
  border-radius: 20px;
  box-shadow: 0 14px 28px rgba(0, 73, 38, .24);
  border: 0;
}

.searchbar .ic,
.field .ic {
  color: var(--pq-green);
}

.searchbar input,
.field select,
.field input,
.inp input,
.inp select,
.inp textarea {
  font-size: 16px;
}

.searchbar input::placeholder {
  color: #87928c;
}

.field {
  margin-top: 14px;
}

.field > label,
.field-lbl {
  color: #29342e;
  font-size: 12.5px;
  font-weight: 850;
  letter-spacing: 0;
}

.select-wrap::after {
  right: 18px;
  border-color: #718076;
}

.field select,
.field input[type="text"],
.field input[type="email"],
.field input[type="tel"],
.field input[type="password"],
.field input[type="number"] {
  min-height: 54px;
  border-radius: 16px;
  border: 1px solid #dfe5dd;
  background: var(--pq-surface);
  box-shadow: 0 1px 0 rgba(255, 255, 255, .8);
}

.field select:focus,
.field input:focus,
.inp input:focus,
.inp select:focus,
.inp textarea:focus {
  border-color: var(--pq-green);
  box-shadow: 0 0 0 4px rgba(21, 115, 71, .12);
}

.btn,
.btn-mini,
.pwa-go {
  border-radius: 10px;
  background: #008f4c;
  color: #fff;
  font-weight: 900;
  box-shadow: 0 12px 24px rgba(0, 143, 76, .22);
}

.btn.block {
  min-height: 56px;
  margin-top: 14px;
}

.btn:hover,
.btn-mini:hover,
.pwa-go:hover {
  background: #007c42;
}

.btn:focus-visible,
.btn-mini:focus-visible,
.chip:focus-visible,
.tabbar a:focus-visible,
.tabbar button:focus-visible,
.icon-btn:focus-visible {
  outline: 3px solid rgba(200, 240, 90, .9);
  outline-offset: 2px;
}

.sec-head {
  margin: 30px 0 12px;
}

.sec-head h2 {
  font-size: 19px;
  font-weight: 900;
}

.sec-head a {
  color: var(--pq-green);
  font-weight: 850;
}

.chips {
  gap: 8px;
  padding: 2px 1px 4px;
}

.chip {
  border-radius: 999px;
  border: 1px solid #dfe5dd;
  background: var(--pq-surface);
  color: var(--pq-ink);
  font-weight: 800;
  box-shadow: none;
}

.chip.on {
  background: var(--pq-green);
  border-color: var(--pq-green);
  color: #fff;
  box-shadow: 0 10px 20px rgba(0, 168, 89, .24);
}

.card,
.res-card,
.order-card,
.booking-card,
.summary,
.ticket,
.empty,
.pwa-prompt {
  border-radius: var(--pq-radius);
  border: 1px solid var(--pq-line);
  background: var(--pq-surface);
  box-shadow: var(--pq-shadow-1);
}

.card {
  overflow: hidden;
  margin-bottom: 16px;
  transition: transform .16s ease, box-shadow .16s ease, border-color .16s ease;
}

.card:active {
  transform: scale(.992);
}

.card .photo {
  height: 190px;
  background: #dfe9df;
}

.card .photo::after {
  background: linear-gradient(180deg, rgba(5, 13, 9, 0) 40%, rgba(5, 13, 9, .54));
}

.card .body {
  padding: 16px 15px 15px;
}

.card .body h3 {
  font-size: 18.5px;
  line-height: 1.15;
  font-weight: 900;
}

.meta,
.card .meta,
.res-meta {
  color: var(--pq-muted);
}

.tags {
  gap: 6px;
}

.tag {
  border-radius: 6px;
  background: var(--pq-green-soft);
  color: var(--pq-green-dark);
  border: 1px solid rgba(21, 115, 71, .12);
}

.pill {
  border-radius: 999px;
  font-weight: 800;
  box-shadow: 0 8px 18px rgba(5, 13, 9, .16);
}

.pill.tr {
  color: #007c42;
}

.pill.star {
  background: rgba(7, 94, 58, .9);
}

.pill.star .ic {
  color: var(--pq-gold);
  fill: var(--pq-gold);
}

.card .foot,
.res-foot {
  gap: 10px;
  border-top: 1px solid var(--pq-line);
  padding-top: 13px;
}

.price {
  min-width: 0;
  color: var(--pq-ink);
  font-size: 22px;
  font-weight: 900;
  white-space: nowrap;
}

.price small {
  color: var(--pq-muted);
}

.navbar {
  padding: 18px 16px;
  background: rgba(247, 248, 244, .90);
  border-bottom: 1px solid rgba(228, 231, 223, .78);
  backdrop-filter: blur(16px) saturate(140%);
}

.route-navbar {
  min-height: 88px;
}

.sec-head.compact {
  margin-top: 18px;
}

.navbar .title {
  font-size: 18px;
}

.navbar > div:not(.view-seg) {
  min-width: 0;
}

.navbar .title,
.navbar .sub {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.icon-btn {
  flex: 0 0 auto;
  border-radius: var(--pq-radius);
  border-color: var(--pq-line);
  box-shadow: 0 5px 18px rgba(11, 24, 18, .06);
}

.tabbar {
  position: fixed;
  z-index: 80;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0;
  left: 50%;
  right: auto;
  bottom: 0;
  width: min(100vw, 430px);
  min-height: calc(68px + var(--pq-safe-bottom));
  padding: 6px 12px max(6px, var(--pq-safe-bottom));
  transform: translateX(-50%);
  border-radius: 0;
  border: 0;
  border-top: 1px solid #e7ece5;
  background: rgba(255, 255, 255, .96);
  box-shadow: 0 -8px 26px rgba(17, 17, 17, .08);
  backdrop-filter: blur(18px) saturate(160%);
}

.tabbar .tabbar-brand {
  display: none;
}

.tabbar a,
.tabbar button {
  min-height: 54px;
  min-width: 0;
  padding: 4px 2px;
  border-radius: 10px;
  color: #68726d;
}

.tabbar a span,
.tabbar button span {
  max-width: 100%;
  overflow: hidden;
  font-size: 10px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.tabbar a.on,
.tabbar button.on {
  color: var(--pq-green);
  background: transparent;
  font-weight: 900;
}

.tabbar a.on .ic,
.tabbar button.on .ic {
  stroke-width: 2.4;
}

.ic {
  display: block;
  overflow: visible;
}

a .ic,
button .ic,
.tabbar .ic {
  pointer-events: none;
}

.toast {
  position: fixed;
  right: 14px;
  left: 14px;
  bottom: calc(var(--pq-tabbar-height) + 6px + var(--pq-safe-bottom));
  width: auto;
  max-width: none;
  min-height: 48px;
  transform: none;
  padding: 10px 14px;
  border-radius: var(--pq-radius);
  justify-content: flex-start;
  border: 1px solid rgba(22, 138, 72, .2);
  background: rgba(255, 255, 255, .98);
  color: var(--pq-ink);
  box-shadow: 0 14px 34px rgba(5, 13, 9, .18);
  animation: pq-toast-in .22s cubic-bezier(.2, .8, .2, 1);
}

.toast .ic {
  width: 26px;
  height: 26px;
  padding: 5px;
  border-radius: 50%;
  background: var(--pq-green);
  color: #fff;
}

@keyframes pq-toast-in {
  from {
    opacity: 0;
    transform: translateY(10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.empty {
  padding: 28px 20px;
}

.loader {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--pq-muted);
  font-size: 13px;
  font-weight: 700;
}

.loader[hidden] {
  display: none;
}

.pwa-prompt {
  left: 12px;
  right: 12px;
  bottom: calc(var(--pq-tabbar-height) + 6px + var(--pq-safe-bottom));
}

/* ---------- fluxo completo do jogador ---------- */
.venue-card {
  position: relative;
}

.venue-card-link {
  display: block;
}

.favorite-float,
.hero-favorite {
  position: absolute;
  z-index: 4;
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: var(--pq-radius);
  background: rgba(255, 255, 255, .94);
  color: #819087;
  box-shadow: 0 8px 20px rgba(5, 13, 9, .2);
}

.favorite-float {
  top: 12px;
  left: 12px;
}

.favorite-float.on,
.hero-favorite.on {
  color: #e33155;
}

.favorite-float .ic,
.hero-favorite .ic {
  width: 21px;
  height: 21px;
}

.hero-favorite {
  top: 50px;
  right: 16px;
}

.venue-distance {
  top: 50px;
  right: 68px;
  bottom: auto;
  width: auto;
  min-height: 40px;
  padding: 0 12px;
  background: rgba(255, 255, 255, .94);
}

.venue-booking {
  padding-top: 12px;
}

.day {
  display: flex;
  flex-direction: column;
  align-items: center;
  color: var(--pq-ink);
  touch-action: manipulation;
}

.day.on {
  border-color: var(--pq-green) !important;
  background: #168a48 !important;
  box-shadow: 0 8px 18px rgba(22, 138, 72, .24) !important;
}

.day.on .d,
.day.on .n {
  color: #fff !important;
}

.slot {
  min-height: 48px;
  touch-action: manipulation;
}

.avail-slots .slot.sel {
  border-color: var(--pq-green) !important;
  background: #168a48 !important;
  color: #fff !important;
}

.method {
  width: 100%;
  color: var(--pq-ink);
  text-align: left;
}

.method > span:nth-child(2) {
  min-width: 0;
}

.method small {
  display: block;
  margin-top: 2px;
  color: var(--pq-muted);
  font-size: 11.5px;
  font-weight: 600;
}

.summary,
.mini-card,
.info-rows,
.book-bar,
.ticket {
  border-radius: var(--pq-radius);
  border-color: var(--pq-line);
}

.summary {
  background: var(--pq-green-soft);
}

.success {
  min-height: calc(100vh - 150px);
  padding: 50px 4px 24px;
}

.success .ring {
  background: var(--pq-green-soft);
  box-shadow: 0 0 0 10px rgba(0, 168, 89, .08);
}

.ticket .row {
  gap: 18px;
}

.ticket .row .v {
  min-width: 0;
  text-align: right;
}

/* ---------- busca e mapa dedicado ---------- */
.explore-filters {
  margin-bottom: 18px;
}

.mobile-map-route {
  display: flex;
  height: 100%;
  min-height: 0;
  overflow: hidden;
  flex-direction: column;
  animation: none;
}

.map-navbar {
  position: relative;
  flex: 0 0 auto;
  padding-top: calc(16px + var(--pq-safe-top));
}

.map-navbar .icon-btn {
  color: var(--pq-green);
}

.map-filter-strip {
  position: relative;
  z-index: 3;
  flex: 0 0 auto;
  padding: 10px 14px;
  border-bottom: 1px solid var(--pq-line);
  background: var(--pq-surface);
}

.leaflet-map-shell {
  position: relative;
  flex: 1;
  min-height: 0;
  overflow: hidden;
  background: #dfeee3;
}

.leaflet-mobile-map {
  width: 100%;
  height: 100%;
  min-height: 0;
  max-height: none;
  background: #dfeee3;
}

.leaflet-container {
  font-family: var(--ui);
}

.leaflet-control-zoom {
  overflow: hidden;
  border: 1px solid var(--pq-line) !important;
  border-radius: var(--pq-radius) !important;
  box-shadow: 0 8px 24px rgba(5, 13, 9, .14) !important;
}

.leaflet-control-zoom a {
  color: var(--pq-ink) !important;
}

.leaflet-control-attribution {
  font-size: 8px !important;
}

.map-user-marker {
  background: transparent;
  border: 0;
}

.map-user-marker span {
  display: block;
  width: 20px;
  height: 20px;
  border: 4px solid #fff;
  border-radius: 50%;
  background: var(--pq-blue);
  box-shadow: 0 0 0 6px rgba(37, 99, 235, .2), 0 4px 12px rgba(5, 13, 9, .22);
}

.map-price-marker {
  border: 0;
  background: transparent;
}

.map-price-marker span {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 62px;
  min-height: 31px;
  padding: 6px 9px;
  border: 2px solid var(--pq-green);
  border-radius: 999px;
  background: #fff;
  color: var(--pq-ink);
  box-shadow: 0 7px 18px rgba(5, 13, 9, .2);
  font-size: 11.5px;
  font-weight: 900;
  white-space: nowrap;
}

.map-price-marker span::after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 50%;
  width: 8px;
  height: 8px;
  transform: translateX(-50%) rotate(45deg);
  border-right: 2px solid var(--pq-green);
  border-bottom: 2px solid var(--pq-green);
  background: #fff;
}

.leaflet-popup-content-wrapper {
  border-radius: var(--pq-radius);
  box-shadow: 0 14px 34px rgba(5, 13, 9, .2);
}

.leaflet-popup-content {
  margin: 10px !important;
}

.map-venue-popup {
  display: grid;
  grid-template-columns: 64px 1fr;
  align-items: center;
  gap: 10px;
  color: var(--pq-ink) !important;
}

.map-venue-popup img {
  width: 64px;
  height: 64px;
  border-radius: 6px;
  object-fit: cover;
}

.map-venue-popup > span {
  display: flex;
  min-width: 0;
  flex-direction: column;
}

.map-venue-popup strong {
  overflow: hidden;
  font-size: 13px;
  font-weight: 900;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.map-venue-popup small {
  overflow: hidden;
  margin-top: 3px;
  color: var(--pq-muted);
  font-size: 10px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.map-venue-popup b {
  margin-top: 7px;
  color: var(--pq-green-dark);
  font-size: 12px;
}

.map-venue-popup em {
  color: var(--pq-muted);
  font-size: 9px;
  font-style: normal;
  font-weight: 600;
}

.map-location-label {
  position: absolute;
  z-index: 500;
  right: 12px;
  bottom: 24px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 11px;
  border: 1px solid var(--pq-line);
  border-radius: 999px;
  background: rgba(255, 255, 255, .94);
  box-shadow: 0 8px 22px rgba(5, 13, 9, .14);
  color: var(--pq-ink);
  font-size: 10.5px;
  font-weight: 800;
}

.map-location-label span {
  width: 9px;
  height: 9px;
  border: 2px solid #fff;
  border-radius: 50%;
  background: var(--pq-blue);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, .2);
}

.map-unavailable {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  height: 100%;
  min-height: 430px;
  flex-direction: column;
  color: var(--pq-muted);
  text-align: center;
}

.map-unavailable .ic {
  margin-bottom: 6px;
  color: var(--pq-green);
}

.map-unavailable strong {
  color: var(--pq-ink);
  font-size: 15px;
}

.map-unavailable span {
  font-size: 12px;
}

/* ---------- carteira ---------- */
.mobile-wallet {
  position: relative;
  overflow: hidden;
  padding: 24px 20px 20px;
  border-radius: var(--pq-radius);
  background: #082c1b;
  color: #fff;
}

.mobile-wallet::after {
  content: "";
  position: absolute;
  right: -52px;
  bottom: -66px;
  width: 180px;
  height: 180px;
  border: 2px solid rgba(255, 255, 255, .12);
  border-radius: 50%;
}

.mobile-wallet > * {
  position: relative;
  z-index: 1;
}

.mobile-wallet > span {
  display: block;
  color: rgba(255, 255, 255, .72);
  font-size: 12px;
  font-weight: 700;
}

.mobile-wallet > strong {
  display: block;
  margin-top: 6px;
  font-family: var(--display);
  font-size: 34px;
  font-weight: 900;
}

.wallet-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 22px;
}

.wallet-actions .btn {
  min-height: 46px;
  padding: 11px 8px;
  font-size: 13px;
}

.wallet-primary {
  background: var(--pq-court);
  color: #102014;
}

.wallet-secondary {
  border: 1px solid rgba(255, 255, 255, .2);
  background: rgba(255, 255, 255, .1);
}

.mobile-section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 12px;
  margin: 28px 0 12px;
}

.mobile-section-head h2 {
  font-size: 18px;
  font-weight: 900;
}

.mobile-section-head > span {
  color: var(--pq-muted);
  font-size: 11.5px;
  font-weight: 700;
}

.payment-list,
.transaction-list,
.account-menu,
.settings-section,
.coupon-list {
  overflow: hidden;
  border: 1px solid var(--pq-line);
  border-radius: var(--pq-radius);
  background: var(--pq-surface);
}

.payment-row,
.transaction-row,
.coupon-row {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  padding: 14px;
  border-bottom: 1px solid var(--pq-line);
  color: var(--pq-ink);
  text-align: left;
}

.payment-row:last-child,
.transaction-row:last-child,
.coupon-row:last-child {
  border-bottom: 0;
}

.payment-row .badge-ic,
.menu-icon {
  display: grid;
  flex: 0 0 auto;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: var(--pq-radius);
  background: var(--pq-green-soft);
  color: var(--pq-green);
}

.payment-row > span:nth-child(2),
.transaction-row > div,
.coupon-row > span {
  display: flex;
  flex: 1;
  min-width: 0;
  flex-direction: column;
}

.payment-row strong,
.transaction-row strong,
.coupon-row strong {
  overflow: hidden;
  font-size: 13.5px;
  font-weight: 850;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.payment-row small,
.transaction-row span,
.coupon-row small {
  margin-top: 2px;
  color: var(--pq-muted);
  font-size: 11.5px;
}

.payment-row .row-check {
  color: var(--pq-green);
}

.transaction-row > b {
  flex: 0 0 auto;
  font-size: 13px;
}

.transaction-row > b.positive {
  color: var(--pq-green);
}

.referral-band {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 12px;
  margin-top: 24px;
  padding: 16px;
  border: 1px solid rgba(0, 168, 89, .18);
  border-radius: var(--pq-radius);
  background: var(--pq-green-soft);
}

.referral-icon {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: var(--pq-radius);
  background: var(--pq-green);
  color: #fff;
}

.referral-band strong {
  font-size: 14px;
}

.referral-band p {
  margin-top: 3px;
  color: var(--pq-muted);
  font-size: 11.5px;
  line-height: 1.4;
}

.referral-band button {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: var(--pq-radius);
  background: #fff;
  color: var(--pq-green);
}

.balance-inline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px;
  border-radius: var(--pq-radius);
  background: var(--pq-green-soft);
  color: var(--pq-muted);
  font-size: 13px;
  font-weight: 700;
}

.balance-inline strong {
  color: var(--pq-green-dark);
  font-size: 17px;
}

.amount-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.amount-option {
  min-height: 52px;
  border: 1px solid var(--pq-line);
  border-radius: var(--pq-radius);
  background: #fff;
  color: var(--pq-ink);
  font-size: 15px;
  font-weight: 850;
}

.amount-option.on {
  border-color: var(--pq-green);
  background: var(--pq-green-soft);
  color: var(--pq-green-dark);
  box-shadow: inset 0 0 0 1px var(--pq-green);
}

.coupon-form {
  margin-bottom: 28px;
}

.coupon-row {
  justify-content: space-between;
  background: #fff;
}

.coupon-row small {
  white-space: normal;
}

/* ---------- perfil e configuracoes ---------- */
.profile-hero {
  display: block;
  overflow: hidden;
  padding: 0;
  border: 1px solid #d5eadc;
  border-radius: 26px;
  background: var(--pq-panel);
  box-shadow: var(--pq-shadow-1);
}

.profile-cover {
  position: relative;
  height: 92px;
  background: #dff3e6;
}

.profile-role {
  position: absolute;
  top: 16px;
  left: 16px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 30px;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .88);
  color: var(--pq-brand-deep);
  font-size: 10px;
  font-weight: 850;
}

.profile-role .ic {
  width: 14px;
  height: 14px;
}

.profile-identity {
  position: relative;
  padding: 0 16px 18px;
}

.profile-avatar-wrap {
  position: relative;
  width: fit-content;
  margin-top: -40px;
}

.profile-avatar {
  display: grid;
  flex: 0 0 auto;
  overflow: hidden;
  place-items: center;
  width: 80px;
  height: 80px;
  border: 4px solid #fff;
  border-radius: 50%;
  background: var(--pq-green-dark);
  color: #fff;
  font-family: var(--display);
  font-size: 29px;
  font-weight: 900;
  box-shadow: 0 8px 20px rgba(7, 94, 58, .16);
}

.profile-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.profile-avatar-edit {
  position: absolute;
  right: -4px;
  bottom: -2px;
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border: 3px solid #fff;
  border-radius: 50%;
  background: var(--pq-brand);
  color: #fff;
  cursor: pointer;
}

.profile-avatar-edit .ic {
  width: 14px;
  height: 14px;
}

.profile-edit-action {
  position: absolute;
  top: 12px;
  right: 16px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 38px;
  padding: 8px 12px;
  border: 1px solid var(--pq-line);
  border-radius: 999px;
  background: #f8fcf9;
  color: var(--pq-brand-deep);
  font-size: 11px;
  font-weight: 850;
}

.profile-edit-action .ic {
  width: 15px;
  height: 15px;
}

.profile-identity-copy {
  margin-top: 13px;
}

.profile-hero h1 {
  font-size: 23px;
  line-height: 1.1;
}

.profile-hero p {
  margin-top: 4px;
  color: var(--pq-muted);
  font-size: 12.5px;
}

.profile-location {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin-top: 9px;
  color: var(--pq-brand-deep);
  font-size: 11.5px;
  font-weight: 750;
}

.profile-location .ic {
  width: 14px;
  height: 14px;
}

.profile-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-top: 20px;
}

.profile-stats > div {
  display: flex;
  align-items: center;
  flex-direction: column;
  padding: 14px 6px;
  border: 1px solid var(--pq-line);
  border-radius: 18px;
  background: var(--pq-panel);
}

.profile-stats > div:last-child {
  border-right: 1px solid var(--pq-line);
}

.profile-stats strong {
  font-family: var(--display);
  font-size: 20px;
  font-weight: 900;
}

.profile-stats span {
  margin-top: 2px;
  color: var(--pq-muted);
  font-size: 10.5px;
  font-weight: 700;
}

.favorite-sport {
  display: flex;
  align-items: center;
  gap: 7px;
  width: fit-content;
  margin: 12px 0 18px;
  padding: 8px 11px;
  border-radius: 999px;
  background: #e8f6ed;
  color: var(--pq-muted);
  font-size: 12px;
}

.favorite-sport .ic {
  width: 16px;
  height: 16px;
  color: var(--pq-gold);
  fill: var(--pq-gold);
}

.favorite-sport strong {
  color: var(--pq-ink);
}

.account-menu a {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 12px;
  min-height: 68px;
  padding: 13px 14px;
  border-bottom: 1px solid var(--pq-line);
}

.account-menu a:last-child {
  border-bottom: 0;
}

.account-menu a > span:nth-child(2) {
  display: flex;
  min-width: 0;
  flex-direction: column;
}

.account-menu strong {
  font-size: 13.5px;
}

.account-menu small {
  margin-top: 2px;
  color: var(--pq-muted);
  font-size: 11.5px;
}

.account-menu > a > .ic {
  width: 17px;
  height: 17px;
  color: var(--pq-muted);
}

.profile-edit-sheet__panel {
  max-height: min(92dvh, 780px);
}

.profile-edit-form {
  padding-top: 2px;
}

.profile-edit-photo {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 11px;
  min-height: 68px;
  margin: 16px 0 4px;
  padding: 11px 0;
  border-bottom: 1px solid var(--pq-line);
  cursor: pointer;
}

.profile-edit-photo > span:first-child {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: #dff3e6;
  color: var(--pq-brand-deep);
}

.profile-edit-photo > span:nth-child(2) {
  display: flex;
  min-width: 0;
  flex-direction: column;
}

.profile-edit-photo strong {
  font-size: 13px;
}

.profile-edit-photo small {
  margin-top: 2px;
  color: var(--pq-muted);
  font-size: 10.5px;
}

.profile-edit-photo > .ic {
  width: 17px;
  height: 17px;
  color: var(--pq-muted);
}

.profile-edit-actions {
  display: grid;
  grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr);
  gap: 9px;
  margin-top: 20px;
}

.profile-edit-actions .btn {
  min-height: 50px;
}

.field input[type="email"],
.field input[type="tel"],
.field input[type="number"],
.field input[type="password"] {
  width: 100%;
  min-height: 54px;
  padding: 14px 15px;
  border: 1px solid #dfe5dd;
  border-radius: 16px;
  outline: none;
  background: var(--pq-surface);
  color: var(--pq-ink);
  font: 500 16px var(--ui);
}

.input-row.mobile-two {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.settings-section {
  margin-bottom: 16px;
  padding: 5px 16px;
}

.settings-section h2 {
  padding: 14px 0 10px;
  font-size: 16px;
  font-weight: 900;
}

.settings-section .field {
  margin: 0 0 14px;
}

.switch-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  min-height: 58px;
  border-top: 1px solid var(--pq-line);
  cursor: pointer;
}

.switch-row > span:first-child {
  display: flex;
  flex: 1;
  min-width: 0;
  flex-direction: column;
  color: var(--pq-ink);
  font-size: 13px;
  font-weight: 750;
}

.switch-row small {
  margin-top: 3px;
  color: var(--pq-muted);
  font-size: 10.5px;
  font-weight: 500;
}

.switch {
  position: relative;
  flex: 0 0 auto;
  width: 44px;
  height: 26px;
  border-radius: 999px;
  background: #cfd6d1;
  transition: background .16s ease;
}

.switch::after {
  content: "";
  position: absolute;
  top: 3px;
  left: 3px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 2px 6px rgba(5, 13, 9, .18);
  transition: transform .16s ease;
}

.switch.on {
  background: var(--pq-green);
}

.switch.on::after {
  transform: translateX(18px);
}

.logout-link {
  display: block;
  padding: 18px 0 4px;
  color: #c8324d;
  text-align: center;
  font-size: 13px;
  font-weight: 800;
}

/* ---------- mensagens ---------- */
.messages-page {
  min-height: 100%;
}

.mobile-chat-list {
  padding: 10px 16px 28px;
}

.mobile-conversation {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 12px;
  padding: 14px 0;
  border-bottom: 1px solid var(--pq-line);
}

.conversation-avatar {
  display: grid;
  flex: 0 0 auto;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: var(--pq-radius);
  background: var(--pq-green-dark);
  color: #fff;
  font-family: var(--display);
  font-weight: 900;
}

.conversation-main {
  min-width: 0;
}

.conversation-top {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
}

.conversation-top strong {
  overflow: hidden;
  font-size: 13.5px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.conversation-top small {
  flex: 0 0 auto;
  color: var(--pq-muted);
  font-size: 10.5px;
}

.conversation-preview {
  display: block;
  overflow: hidden;
  margin-top: 3px;
  color: var(--pq-muted);
  font-size: 12px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.mobile-conversation > .ic {
  width: 17px;
  height: 17px;
  color: var(--pq-muted);
}

/* A conversa ocupa a tela menos a tabbar. Com 100vh - 72px o compositor
   caia atras da barra de baixo e a pessoa nao achava onde escrever. */
.mobile-chat-thread {
  display: flex;
  min-height: calc(100dvh - var(--pq-tabbar-height) - var(--pq-safe-bottom));
  flex-direction: column;
  background: #eef3ef;
}

.mobile-chat-thread[hidden] {
  display: none;
}

/* .navbar declara display, entao ganha do [hidden] do navegador. Sem isto o
   cabecalho "Mensagens" ficava em cima do cabecalho da conversa. */
.messages-navbar[hidden] {
  display: none;
}

.mobile-thread-head {
  display: grid;
  grid-template-columns: auto auto 1fr;
  align-items: center;
  gap: 10px;
  padding: 14px 16px;
  border-bottom: 1px solid var(--pq-line);
  background: #fff;
}

.mobile-thread-head .icon-btn {
  width: 36px;
  height: 36px;
}

.mobile-thread-head .conversation-avatar {
  width: 38px;
  height: 38px;
}

.mobile-thread-head > div {
  display: flex;
  min-width: 0;
  flex-direction: column;
}

.mobile-thread-head strong {
  overflow: hidden;
  font-size: 13.5px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.mobile-thread-head small {
  overflow: hidden;
  margin-top: 2px;
  color: var(--pq-muted);
  font-size: 10.5px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.mobile-bubbles {
  display: flex;
  flex: 1;
  gap: 8px;
  min-height: 360px;
  padding: 16px;
  flex-direction: column;
  overflow-y: auto;
}

.bubble {
  max-width: 82%;
  padding: 10px 12px 7px;
  border-radius: var(--pq-radius);
  box-shadow: 0 1px 2px rgba(5, 13, 9, .08);
}

.bubble.them {
  align-self: flex-start;
  background: #fff;
}

.bubble.me {
  align-self: flex-end;
  background: #c8f7d9;
}

.bub-txt {
  font-size: 13px;
  line-height: 1.45;
}

.bub-time {
  margin-top: 4px;
  color: var(--pq-muted);
  text-align: right;
  font-size: 9.5px;
}

.mobile-composer {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 9px;
  padding: 10px 12px max(10px, var(--pq-safe-bottom));
  border-top: 1px solid var(--pq-line);
  background: #fff;
}

.mobile-composer input {
  min-width: 0;
  height: 46px;
  padding: 0 14px;
  border: 1px solid var(--pq-line);
  border-radius: var(--pq-radius);
  outline: 0;
  background: var(--pq-surface-2);
  color: var(--pq-ink);
  font: 500 14px var(--ui);
}

.mobile-composer input:focus {
  border-color: var(--pq-green);
  box-shadow: 0 0 0 3px rgba(0, 168, 89, .12);
}

.mobile-composer button {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: var(--pq-radius);
  background: var(--pq-green);
  color: #fff;
}

@media (max-width: 390px) {
  .container {
    padding-right: 14px;
    padding-left: 14px;
  }

  .topbar {
    padding-right: 16px;
    padding-left: 16px;
  }

  .topbar h1 {
    font-size: 27px;
  }

  .navbar {
    padding-right: 14px;
    padding-left: 14px;
  }

  .card .photo {
    height: 176px;
  }

  .btn-mini {
    padding-right: 12px;
    padding-left: 12px;
    font-size: 12px;
  }

  .method {
    gap: 10px;
    padding: 13px;
  }

  .method .badge-ic {
    width: 36px;
    height: 36px;
  }

  .res-card img {
    width: 76px;
    height: 88px;
  }
}

@media (max-width: 360px) {
  .topbar h1 {
    font-size: 26px;
  }

  .tabbar a span,
  .tabbar button span {
    font-size: 9px;
  }

  .input-row.mobile-two {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .info-rows .row,
  .ticket .row {
    font-size: 13px;
  }

  .profile-stats > div {
    padding-right: 3px;
    padding-left: 3px;
  }
}

@media (min-width: 600px) and (pointer: coarse) {
  .phone {
    width: 100%;
    max-width: none;
  }

  .tabbar {
    width: 100%;
    max-width: none;
  }

  .container:not(.venue-booking) {
    width: min(100%, 760px);
    margin-right: auto;
    margin-left: auto;
  }

  [data-featured-list],
  [data-venue-list],
  [data-favorites-list] {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
  }

  [data-featured-list] .card,
  [data-venue-list] .card,
  [data-favorites-list] .card {
    margin-bottom: 0;
  }

  .leaflet-mobile-map {
    max-height: none;
  }
}

/* ---------- avaliações, pagamento e aprovação da arena ---------- */
.booking-flow li.is-error {
  color: #b4233c;
}

.booking-flow li.is-error > span {
  border-color: #efbdc6;
  background: #fff0f2;
  color: #b4233c;
}

.booking-flow li.is-error > span .ic {
  width: 15px;
  height: 15px;
}

.venue-review-list {
  margin-top: 18px;
  border-top: 1px solid var(--pq-line);
}

.venue-review {
  padding: 17px 0;
  border-bottom: 1px solid var(--pq-line);
}

.venue-review:last-child {
  border-bottom: 0;
}

.venue-review header {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
}

.venue-review__avatar {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #e2f4e8;
  color: var(--pq-brand-deep);
  font-size: 12px;
  font-weight: 900;
}

.venue-review header > div {
  display: grid;
  gap: 1px;
}

.venue-review header strong {
  font-size: 11px;
}

.venue-review header small {
  color: var(--pq-muted);
  font-size: 8.5px;
}

.venue-review__stars {
  display: flex;
  gap: 1px;
  color: #e7a51a;
}

.venue-review__stars .ic {
  width: 12px;
  height: 12px;
  fill: currentColor;
}

.venue-review__stars .ic.is-empty {
  color: #d5ded8;
  fill: none;
}

.venue-review > p {
  margin: 10px 0 0 46px;
  color: var(--pq-ink-soft);
  font-size: 10.5px;
  line-height: 1.55;
}

.checkout-mobile {
  padding-bottom: calc(var(--pq-tabbar-height) + var(--pq-safe-bottom) + 24px);
}

.approval-policy {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 11px;
  margin-top: 20px;
  padding: 14px 0;
  border-top: 1px solid var(--pq-line);
  border-bottom: 1px solid var(--pq-line);
}

.approval-policy > span {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #e2f4e8;
  color: var(--pq-brand-strong);
}

.approval-policy > span .ic {
  width: 18px;
  height: 18px;
}

.approval-policy strong {
  display: block;
  font-size: 11px;
}

.approval-policy p {
  margin-top: 3px;
  color: var(--pq-muted);
  font-size: 9px;
  line-height: 1.45;
}

.checkout-action .note {
  display: grid;
  width: fit-content;
  max-width: 100%;
  grid-template-columns: 15px minmax(0, 1fr);
  align-items: start;
  gap: 7px;
  margin: 11px auto 0;
  line-height: 1.45;
  text-align: left;
}

.checkout-action .note .ic {
  width: 15px;
  height: 15px;
  margin-top: 1px;
}

.booking-confirmation {
  padding-bottom: calc(var(--pq-tabbar-height) + var(--pq-safe-bottom) + 28px);
}

.approval-view {
  width: 100%;
  max-width: 430px;
  margin: 0 auto;
  padding: 12px 0 24px;
  text-align: center;
}

.approval-live-visual {
  position: relative;
  width: 220px;
  height: 108px;
  margin: 0 auto 5px;
}

.approval-live-visual__route {
  position: absolute;
  z-index: 0;
  top: 53px;
  right: 47px;
  left: 47px;
  height: 4px;
  overflow: hidden;
  border-radius: 999px;
  background: linear-gradient(90deg, #dcefe3 0%, #a8d9b9 50%, #dcefe3 100%);
  box-shadow: inset 0 0 0 1px rgba(8, 81, 47, .04);
}

.approval-live-visual__route::after {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 46%;
  border-radius: inherit;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .95), transparent);
  filter: blur(.2px);
  animation: pq-approval-route-flow 2.5s cubic-bezier(.4, 0, .2, 1) infinite;
}

.approval-live-visual__endpoint {
  position: absolute;
  z-index: 2;
  top: 33px;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid #c8e5d2;
  border-radius: 50%;
  background: #f5fbf7;
  color: var(--pq-brand-deep);
  box-shadow: 0 7px 20px rgba(8, 81, 47, .1);
}

.approval-live-visual__endpoint .ic {
  width: 21px;
  height: 21px;
}

.approval-live-visual__user {
  left: 16px;
}

.approval-live-visual__arena {
  right: 16px;
  border-color: var(--pq-brand);
  background: var(--pq-brand);
  color: #fff;
  animation: pq-approval-arena-breathe 2.3s ease-in-out infinite;
}

.approval-live-visual__pulse {
  position: absolute;
  z-index: 1;
  top: 22px;
  right: 5px;
  width: 66px;
  height: 66px;
  border: 2px solid rgba(22, 167, 101, .28);
  border-radius: 50%;
  animation: pq-approval-signal 2.2s ease-out infinite;
}

.approval-live-visual__pulse--two {
  animation-delay: 1.1s;
}

.approval-live-caption {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin: 0 auto 15px;
  color: var(--pq-brand-deep);
  font-size: 9.5px;
}

.approval-live-caption > span {
  display: inline-flex;
  align-items: center;
  gap: 2px;
}

.approval-live-caption i {
  display: block;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--pq-brand);
  animation: pq-approval-dot 1.1s ease-in-out infinite;
}

.approval-live-caption i:nth-child(2) {
  animation-delay: .15s;
}

.approval-live-caption i:nth-child(3) {
  animation-delay: .3s;
}

.approval-live-caption strong {
  font-size: inherit;
}

@keyframes pq-approval-route-flow {
  0% {
    opacity: 0;
    transform: translateX(-130%);
  }
  20% {
    opacity: 1;
  }
  78% {
    opacity: 1;
  }
  100% {
    opacity: 0;
    transform: translateX(320%);
  }
}

@keyframes pq-approval-signal {
  0% {
    opacity: 0;
    transform: scale(.58);
  }
  28% {
    opacity: .7;
  }
  100% {
    opacity: 0;
    transform: scale(1.15);
  }
}

@keyframes pq-approval-arena-breathe {
  0%,
  100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.06);
  }
}

@keyframes pq-approval-dot {
  0%,
  70%,
  100% {
    opacity: .35;
    transform: translateY(0);
  }
  35% {
    opacity: 1;
    transform: translateY(-3px);
  }
}

.approval-symbol {
  display: grid;
  place-items: center;
  width: 68px;
  height: 68px;
  margin: 0 auto 18px;
  border-radius: 50%;
  background: #e2f4e8;
  color: var(--pq-brand-strong);
  box-shadow: 0 0 0 10px rgba(22, 167, 101, .08);
}

.approval-symbol .ic {
  width: 29px;
  height: 29px;
}

.approval-eyebrow {
  color: var(--pq-brand-strong);
  font-size: 9px;
  font-weight: 900;
  text-transform: uppercase;
}

.approval-view > h1 {
  margin-top: 5px;
  font-size: 24px;
  line-height: 1.15;
}

.approval-view > p {
  max-width: 330px;
  margin: 8px auto 0;
  color: var(--pq-muted);
  font-size: 11px;
  line-height: 1.55;
}

.approval-view > p strong {
  color: var(--pq-ink);
}

.approval-timer {
  margin-top: 24px;
  padding: 17px 0;
  border-top: 1px solid var(--pq-line);
  border-bottom: 1px solid var(--pq-line);
}

.approval-timer > div:first-child {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
}

.approval-timer span {
  color: var(--pq-muted);
  font-size: 10px;
  font-weight: 750;
}

.approval-timer strong {
  color: var(--pq-brand-deep);
  font-size: 24px;
  font-variant-numeric: tabular-nums;
}

.approval-progress {
  overflow: hidden;
  height: 6px;
  margin-top: 11px;
  border-radius: 999px;
  background: #dfe9e2;
}

.approval-progress > span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: var(--pq-brand);
  transition: width .3s linear;
}

.approval-reservation {
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr) auto;
  align-items: center;
  gap: 11px;
  margin-top: 18px;
  padding: 14px 0;
  border-bottom: 1px solid var(--pq-line);
  text-align: left;
}

.approval-reservation img {
  width: 54px;
  height: 54px;
  border-radius: 15px;
  object-fit: cover;
}

.approval-reservation > div {
  display: grid;
  gap: 3px;
}

.approval-reservation strong,
.approval-reservation > b {
  font-size: 11px;
}

.approval-reservation span {
  color: var(--pq-muted);
  font-size: 9px;
}

.approval-payment-note {
  display: grid;
  grid-template-columns: auto minmax(0, max-content);
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin: 18px auto;
  padding: 13px;
  border-radius: 18px;
  background: #edf8f1;
  color: var(--pq-brand-strong);
  text-align: left;
}

.approval-payment-note > .ic {
  width: 20px;
  height: 20px;
}

.approval-payment-note > span {
  display: grid;
  gap: 2px;
  justify-items: start;
}

.approval-payment-note strong {
  font-size: 10.5px;
}

.approval-payment-note small {
  color: var(--pq-muted);
  font-size: 8.5px;
  line-height: 1.4;
}

.approval-view--rejected .approval-symbol {
  background: #fff0f2;
  color: #b4233c;
  box-shadow: 0 0 0 10px rgba(180, 35, 60, .07);
}

.approval-view--rejected .approval-eyebrow {
  color: #b4233c;
}

.approval-recovery-actions,
.confirmation-actions {
  display: grid;
  gap: 9px;
}

.approval-view--accepted .ring {
  animation: pq-approval-success-pop .5s cubic-bezier(.2, .9, .25, 1.25) both;
}

@keyframes pq-approval-success-pop {
  from {
    opacity: 0;
    transform: scale(.55);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@media (prefers-reduced-motion: reduce) {
  /* Passou a cobrir tambem as animacoes estruturais. Antes so o bloco de
     aprovacao respeitava a preferencia; route-in, o onboarding e as folhas
     continuavam se mexendo. */
  .route-page,
  .onb-step,
  .onb-check,
  .toast,
  .market-sheet__panel { animation: none; }

  .onb-progress > span { transition: none; }

  .approval-live-visual__arena,
  .approval-live-visual__route::after,
  .approval-live-visual__pulse,
  .approval-live-caption i,
  .approval-view--accepted .ring {
    animation: none;
  }

  .approval-live-visual__route::after {
    opacity: .55;
    transform: translateX(115%);
  }
}

.approval-view--accepted {
  padding-top: 8px;
}

@media (max-width: 359px) {
  .booking-flow li small {
    font-size: 7.5px;
  }

  .venue-review header {
    grid-template-columns: auto minmax(0, 1fr);
  }

  .venue-review__stars {
    grid-column: 2;
  }
}

/* ---------- catalogo da arena e calendario de reserva ---------- */
.arena-identity {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 12px;
}

.arena-logo {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border: 1px solid #cce8d6;
  border-radius: 50%;
  background: #e2f6e9;
  color: var(--pq-brand-deep);
  font-size: 15px;
  font-weight: 950;
}

.arena-identity__copy {
  min-width: 0;
}

.arena-identity__copy h1 {
  overflow-wrap: anywhere;
}

.arena-facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 15px;
  padding-top: 13px;
  border-top: 1px solid var(--pq-line);
}

.arena-facts > span {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 1px 8px;
  min-width: 0;
  padding: 1px 10px;
}

.arena-facts > span:first-child {
  padding-left: 0;
}

.arena-facts > span + span {
  border-left: 1px solid var(--pq-line);
}

.arena-facts .ic {
  grid-row: 1 / 3;
  width: 18px;
  height: 18px;
  color: var(--pq-brand);
}

.arena-facts .arena-rating .ic {
  color: #e7a51a;
  fill: #e7a51a;
}

.arena-facts b {
  min-width: 0;
  font-size: 12px;
  line-height: 1.15;
}

.arena-facts small {
  overflow: hidden;
  color: var(--pq-muted);
  font-size: 9px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.venue-catalog {
  padding-top: 0;
  padding-bottom: 0;
}

.venue-catalog__section,
.venue-reviews {
  padding: 23px 0;
  border-bottom: 1px solid var(--pq-line);
}

.venue-section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 13px;
}

.venue-section-head > div > span {
  color: var(--pq-brand-strong);
  font-size: 9px;
  font-weight: 900;
  text-transform: uppercase;
}

.venue-section-head h2 {
  margin-top: 2px;
  font-size: 17px;
  line-height: 1.2;
}

.venue-section-head > small {
  color: var(--pq-muted);
  font-size: 9px;
  font-weight: 750;
}

.venue-gallery-strip {
  display: grid;
  grid-template-columns: 1.35fr 1fr 1fr;
  gap: 7px;
}

.venue-gallery-thumb {
  position: relative;
  overflow: hidden;
  min-width: 0;
  aspect-ratio: 1.25;
  padding: 0;
  border: 2px solid transparent;
  border-radius: 16px;
  background: #dce9df;
  cursor: pointer;
}

.venue-gallery-thumb:first-child {
  aspect-ratio: auto;
}

.venue-gallery-thumb.on {
  border-color: var(--pq-brand);
}

.venue-gallery-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.venue-amenities {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 15px;
}

.venue-amenity {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 9px;
  min-width: 0;
  min-height: 50px;
  border-bottom: 1px solid #e8efea;
}

.venue-amenity > span {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: #e5f5eb;
  color: var(--pq-brand-strong);
}

.venue-amenity .ic {
  width: 15px;
  height: 15px;
}

.venue-amenity strong {
  min-width: 0;
  font-size: 10.5px;
  overflow-wrap: anywhere;
}

.booking-calendar {
  width: 100%;
  max-width: 430px;
  margin: 2px auto 0;
}

.booking-calendar__head {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr) 38px;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
}

.booking-calendar__head > strong {
  text-align: center;
  font-size: 13px;
  text-transform: capitalize;
}

.calendar-nav {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  padding: 0;
  border: 1px solid var(--pq-line);
  border-radius: 50%;
  background: #fff;
  color: var(--pq-ink);
  cursor: pointer;
}

.calendar-nav:disabled {
  opacity: .3;
  cursor: default;
}

.calendar-nav .ic {
  width: 17px;
  height: 17px;
}

.booking-calendar__weekdays,
.booking-calendar__grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
}

.booking-calendar__weekdays {
  margin-bottom: 6px;
}

.booking-calendar__weekdays span {
  color: var(--pq-muted);
  font-size: 8px;
  font-weight: 850;
  text-align: center;
  text-transform: uppercase;
}

.booking-calendar__grid {
  row-gap: 5px;
}

.calendar-day,
.calendar-empty {
  width: calc(100% - 4px);
  max-width: 42px;
  aspect-ratio: 1;
  justify-self: center;
}

.calendar-day {
  display: grid;
  place-items: center;
  padding: 0;
  border: 1px solid transparent;
  border-radius: 50%;
  background: transparent;
  color: var(--pq-ink);
  font-size: 11px;
  font-weight: 800;
  cursor: pointer;
}

.calendar-day:hover:not(:disabled) {
  background: #e9f7ee;
}

.calendar-day.is-today:not(.on) {
  border-color: #a8d6b7;
  color: var(--pq-brand-strong);
}

/* Todas as datas do plano, nao so a escolhida: no mensalista a pessoa
   precisa ver a recorrencia inteira do mes. Vem ANTES de .on para o dia
   selecionado continuar solido por cima. */
.calendar-day.is-plan:not(.on) {
  border-color: var(--pq-signal);
  background: var(--pq-signal-soft);
  color: var(--pq-brand-strong);
  font-weight: 800;
}

.calendar-day.on {
  border-color: var(--pq-brand-strong);
  background: var(--pq-brand-strong);
  color: #fff;
  box-shadow: 0 4px 10px rgba(0, 138, 75, .2);
}

.calendar-day:disabled {
  color: #c0c8c2;
  cursor: default;
}

.book-bar__assurance {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 9px;
  padding-top: 11px;
  border-top: 1px solid var(--pq-line);
  color: var(--pq-brand-strong);
}

.book-bar__assurance > .ic {
  width: 18px;
  height: 18px;
}

.book-bar__assurance > span {
  display: grid;
  gap: 1px;
}

.book-bar__assurance strong {
  font-size: 10px;
}

.book-bar__assurance small {
  color: var(--pq-muted);
  font-size: 8.5px;
  line-height: 1.35;
}

.venue-reviews {
  margin-top: 8px;
  padding-bottom: 30px;
  border-bottom: 0;
  border-top: 1px solid var(--pq-line);
}

.venue-review-summary {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 18px;
}

.venue-review-score {
  display: grid;
  justify-items: start;
  min-width: 112px;
}

.venue-review-score > strong {
  color: var(--pq-ink);
  font-size: 31px;
  line-height: 1;
}

.venue-review-stars {
  display: flex;
  gap: 2px;
  margin-top: 5px;
  color: #e7a51a;
}

.venue-review-stars .ic {
  width: 13px;
  height: 13px;
  fill: currentColor;
}

.venue-review-stars .ic.is-empty {
  color: #d5ded8;
  fill: none;
}

.venue-review-score > small {
  margin-top: 5px;
  color: var(--pq-muted);
  font-size: 8.5px;
}

.venue-review-summary > p {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: start;
  gap: 8px;
  color: var(--pq-muted);
  font-size: 9.5px;
  line-height: 1.5;
}

.venue-review-summary > p .ic {
  width: 17px;
  height: 17px;
  color: var(--pq-brand);
}

@media (max-width: 359px) {
  .arena-facts > span {
    padding-right: 6px;
    padding-left: 6px;
  }

  .venue-gallery-strip {
    gap: 5px;
  }

  .venue-amenities {
    grid-template-columns: 1fr;
  }

  .venue-review-summary {
    grid-template-columns: 1fr;
    gap: 12px;
  }
}

/* Formas esportivas: circulos nos pontos de acao, cards preservados para leitura. */
.btn,
.btn-mini,
.pwa-go,
.market-search,
.explore-search,
.market-shortcut,
.availability-pulse,
.sport-filter-chip,
.map-filter-strip .chip,
.filter-choice-grid label > span,
.market-sheet__secondary {
  border-radius: 999px;
}

.location-switch__icon,
.market-notification,
.market-search button,
.explore-search button,
.market-shortcut > span,
.sport-item > span,
.availability-pulse__icon,
.favorite-float,
.hero-favorite,
.venue-hero .back,
.icon-btn,
.market-sheet__close,
.current-location-action > span:first-child,
.notification-list__icon,
.filter-now > span:first-child,
.referral-icon,
.profile-avatar,
.conversation-avatar {
  border-radius: 50%;
}

.market-shortcut {
  padding-right: 13px;
  padding-left: 10px;
}

.venue-distance-pill,
.venue-availability,
.verified-label {
  border-radius: 999px;
}

.day {
  flex-basis: 66px;
  min-height: 66px;
  border-radius: 50%;
}

.slot,
.dur {
  border-radius: 999px;
}

.filter-now {
  border-radius: 16px;
}

@media (orientation: landscape) and (max-height: 600px) {
  .map-navbar {
    padding-top: 10px;
    padding-bottom: 10px;
  }

  .map-filter-strip {
    padding-top: 7px;
    padding-bottom: 7px;
  }

  .leaflet-mobile-map {
    height: 100%;
    min-height: 0;
    max-height: none;
  }
}

/* =========================================================
   Marketplace mobile v3
   Descoberta rapida, disponibilidade e reserva em primeiro plano.
   ========================================================= */
:root {
  --pq-brand: #16a765;
  --pq-brand-strong: #0c8b52;
  --pq-brand-deep: #075e3a;
  --pq-signal: #b9edcb;
  --pq-signal-soft: #edf9f1;
  /* Ambar de estado: "vai acontecer". Distinto de --pq-gold, que e ambar de
     sinalizacao (estrelas, cartao amarelo, Time B) — ajustar um nao move o outro. */
  --pq-amber: #ea580c;
  --pq-amber-strong: #9a3412;
  --pq-amber-soft: #ffedd5;
  --pq-coral: #4cb77b;
  --pq-sky: #219565;
  --pq-app-bg: #f3f8f4;
  --pq-panel: #ffffff;
  --pq-ink: #143523;
  --pq-ink-soft: #315742;
  --pq-muted: #6b7f72;
  --pq-line: #dce9df;
  --pq-shadow-1: 0 2px 4px rgba(7, 94, 58, .03), 0 12px 28px rgba(7, 94, 58, .07);
}

html {
  background: #e6f1e9;
}

body {
  background: var(--pq-app-bg);
  color: var(--pq-ink);
}

body.market-sheet-open .screen {
  overflow: hidden;
}

.phone,
.screen {
  background: var(--pq-app-bg);
}

.phone {
  min-height: 100dvh;
}

html[data-route="mapa"] .phone {
  height: 100dvh;
  min-height: 100dvh;
  overflow: hidden;
}

.screen {
  padding-bottom: calc(var(--pq-tabbar-height) + var(--pq-safe-bottom));
}

.container {
  padding: 20px 16px 34px;
}

.ic {
  stroke-width: 2;
}

.location-switch:focus-visible,
.market-notification:focus-visible,
.market-search button:focus-visible,
.market-shortcut:focus-visible,
.sport-item:focus-visible,
.availability-pulse:focus-visible,
.sport-filter-chip:focus-visible,
.market-sheet button:focus-visible,
.notification-list a:focus-visible {
  outline: 3px solid rgba(207, 255, 71, .9);
  outline-offset: 2px;
}

.btn,
.btn-mini,
.pwa-go {
  border-radius: 16px;
  background: var(--pq-brand-strong);
  box-shadow: none;
}

.btn-mini,
.pwa-go {
  border-radius: 999px;
}

.btn:hover,
.btn-mini:hover,
.pwa-go:hover {
  background: var(--pq-brand-deep);
}

.btn:active,
.btn-mini:active {
  transform: translateY(1px);
}

.btn.outline {
  border: 1px solid var(--pq-line);
  background: var(--pq-panel);
  color: var(--pq-brand-deep);
}

.btn.block {
  min-height: 54px;
}

/* ---------- home e cabecalho de marketplace ---------- */
.market-header {
  position: relative;
  padding: calc(18px + var(--pq-safe-top)) 16px 18px;
  border-bottom: 1px solid var(--pq-line);
  background: #edf8f1;
}

.market-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.location-switch {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  min-width: 0;
  gap: 9px;
  padding: 0;
  background: transparent;
  color: var(--pq-ink);
  text-align: left;
}

.location-switch__icon {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--pq-brand);
  color: #fff;
}

.location-switch__icon .ic {
  width: 19px;
  height: 19px;
}

.location-switch__copy {
  display: flex;
  min-width: 0;
  flex-direction: column;
}

.location-switch__copy small {
  overflow: hidden;
  color: var(--pq-brand-deep);
  font-size: 9px;
  font-weight: 900;
  text-overflow: ellipsis;
  text-transform: uppercase;
  white-space: nowrap;
}

.location-switch__copy strong {
  overflow: hidden;
  margin-top: 2px;
  font-size: 13.5px;
  font-weight: 850;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.location-switch__chevron {
  width: 16px;
  height: 16px;
  color: var(--pq-muted);
}

.market-notification {
  position: relative;
  display: grid;
  flex: 0 0 auto;
  place-items: center;
  width: 40px;
  height: 40px;
  border: 1px solid var(--pq-line);
  border-radius: 50%;
  background: #f9fdf9;
  color: var(--pq-brand-deep);
}

.market-notification .ic {
  width: 20px;
  height: 20px;
}

.market-notification > span {
  position: absolute;
  top: 7px;
  right: 7px;
  width: 8px;
  height: 8px;
  border: 2px solid #fff;
  border-radius: 50%;
  background: var(--pq-coral);
}

.market-notification > span[hidden] {
  display: none;
}

.market-copy {
  margin-top: 20px;
}

.market-copy p {
  color: var(--pq-muted);
  font-size: 13px;
  font-weight: 700;
}

.market-copy h1 {
  max-width: 330px;
  margin-top: 4px;
  font-size: 24px;
  line-height: 1.12;
  font-weight: 900;
}

.market-search,
.explore-search {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 11px;
  min-height: 56px;
  border: 1px solid var(--pq-line);
  border-radius: 20px;
  background: var(--pq-panel);
  box-shadow: 0 8px 24px rgba(16, 24, 19, .07);
}

.market-search {
  margin-top: 18px;
  padding: 6px 7px 6px 15px;
}

.market-search > .ic,
.explore-search > .ic {
  width: 20px;
  height: 20px;
  color: var(--pq-brand);
}

.market-search input,
.explore-search input {
  width: 100%;
  min-width: 0;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--pq-ink);
  font: 650 14px var(--ui);
}

.market-search input::placeholder,
.explore-search input::placeholder {
  color: #89948d;
}

.market-search button,
.explore-search button {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
}

.market-search button {
  background: var(--pq-brand);
  color: #fff;
}

.market-search button .ic,
.explore-search button .ic {
  width: 18px;
  height: 18px;
}

.market-shortcuts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 9px;
  margin-top: 10px;
}

.market-shortcut {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  min-height: 66px;
  gap: 0 10px;
  padding: 10px 11px;
  border: 1px solid #cae7d4;
  border-radius: 20px;
  background: #e8f6ed;
  color: var(--pq-ink);
}

.market-shortcut--now {
  border-color: var(--pq-brand);
  background: var(--pq-brand);
  color: #fff;
}

.market-shortcut > span {
  display: grid;
  grid-row: 1 / 3;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #fff;
  color: var(--pq-brand-deep);
}

.market-shortcut--now > span {
  background: rgba(255, 255, 255, .18);
  color: #fff;
}

.market-shortcut .ic {
  width: 18px;
  height: 18px;
}

.market-shortcut strong {
  align-self: end;
  overflow: hidden;
  font-size: 12.5px;
  font-weight: 900;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.market-shortcut small {
  align-self: start;
  margin-top: 1px;
  color: var(--pq-muted);
  font-size: 9.5px;
  font-weight: 650;
}

.market-shortcut--now small {
  color: rgba(255, 255, 255, .78);
}

.market-home {
  padding: 4px 0 30px;
}

.market-section {
  padding: 22px 0 0;
}

.market-section__head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 14px;
  padding: 0 16px 12px;
}

.market-section__head > div {
  min-width: 0;
}

.market-section__head span,
.booking-title > span,
.explore-header > div > span,
.market-sheet__head > div > span {
  color: var(--pq-brand-strong);
  font-size: 9.5px;
  font-weight: 900;
  text-transform: uppercase;
}

.market-section__head h2 {
  margin-top: 2px;
  font-size: 19px;
  line-height: 1.18;
  font-weight: 900;
}

.market-section__head > a {
  flex: 0 0 auto;
  color: var(--pq-brand-strong);
  font-size: 11.5px;
  font-weight: 850;
}

.sport-rail,
.venue-rail,
.sport-filter-rail {
  display: flex;
  overflow-x: auto;
  scrollbar-width: none;
  scroll-snap-type: x proximity;
}

.sport-rail::-webkit-scrollbar,
.venue-rail::-webkit-scrollbar,
.sport-filter-rail::-webkit-scrollbar {
  display: none;
}

.sport-rail {
  gap: 9px;
  padding: 0 16px 3px;
}

.sport-item {
  display: flex;
  flex: 0 1 74px;
  align-items: center;
  gap: 7px;
  scroll-snap-align: start;
  flex-direction: column;
  color: var(--pq-ink-soft);
  text-align: center;
}

.sport-item > span {
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  border: 1px solid var(--pq-line);
  border-radius: 50%;
  background: var(--pq-panel);
  color: var(--pq-brand);
  box-shadow: 0 5px 14px rgba(16, 24, 19, .04);
}

/* Havia aqui um degrade decorativo tingindo o 2o, 3o e 4o circulos. Como era
   por POSICAO e nao por esporte, o 3o ficava visivelmente mais escuro que os
   vizinhos e lia como "selecionado" — um estado que nem existe nesta lista.
   Alem disso mudava de esporte se a ordem mudasse. Todos iguais agora. */

.sport-item .ic {
  width: 24px;
  height: 24px;
}

.sport-item strong {
  width: 100%;
  overflow: hidden;
  font-size: 10.5px;
  font-weight: 800;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.availability-pulse {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 11px;
  min-height: 68px;
  margin: 22px 16px 0;
  padding: 11px 13px;
  border: 1px solid #cae7d4;
  border-radius: 22px;
  background: #e5f6eb;
  color: var(--pq-ink);
}

.availability-pulse__icon {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--pq-brand);
  color: #fff;
}

.availability-pulse__icon .ic {
  width: 20px;
  height: 20px;
}

.availability-pulse > span:nth-child(2) {
  display: flex;
  min-width: 0;
  flex-direction: column;
}

.availability-pulse strong {
  overflow: hidden;
  font-size: 12.5px;
  font-weight: 900;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.availability-pulse small {
  overflow: hidden;
  margin-top: 2px;
  color: var(--pq-muted);
  font-size: 9.5px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.availability-pulse > .ic {
  width: 18px;
  height: 18px;
  color: var(--pq-brand-strong);
}

.venue-rail {
  gap: 12px;
  /* scroll-padding acompanha o padding: sem ele o encaixe cola o card na
     borda, que era a sensacao de "encostando na lateral". */
  padding: 0 16px 6px;
  scroll-padding-left: 16px;
}

.venue-rail .venue-card {
  /* 78vw deixa uma espiada folgada do proximo card em vez de corta-lo
     rente a borda da tela. */
  flex: 0 0 min(78vw, 300px);
  margin: 0;
  scroll-snap-align: start;
}

/* ---------- cards existentes, agora como produto ---------- */
.card,
.res-card,
.order-card,
.booking-card,
.summary,
.ticket,
.empty,
.pwa-prompt,
.mini-card,
.info-rows,
.book-bar {
  border-radius: 22px;
}

.venue-card {
  overflow: hidden;
  border: 1px solid var(--pq-line);
  background: var(--pq-panel);
  box-shadow: var(--pq-shadow-1);
}

.venue-card .photo {
  height: 176px;
  background: #dce5dd;
}

.venue-card .photo::after {
  display: none;
}

.venue-card .body {
  padding: 15px 16px 16px;
}

.venue-distance-pill,
.venue-availability {
  position: absolute;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  min-height: 29px;
  padding: 6px 9px;
  border-radius: 999px;
  font-size: 10px;
  font-weight: 850;
}

.venue-distance-pill {
  top: 10px;
  right: 10px;
  background: rgba(255, 255, 255, .95);
  color: var(--pq-brand-deep);
}

.venue-availability {
  bottom: 10px;
  left: 10px;
  background: #dff5e7;
  color: var(--pq-brand-deep);
}

.venue-distance-pill .ic,
.venue-availability .ic {
  width: 13px;
  height: 13px;
}

.favorite-float {
  top: 10px;
  left: 10px;
}

.favorite-float.on .ic,
.hero-favorite.on .ic {
  fill: currentColor;
  stroke: currentColor;
}

.venue-card-kicker {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  color: var(--pq-brand-deep);
  font-size: 10px;
  font-weight: 850;
}

.venue-card-kicker > span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.venue-card-kicker b {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 4px;
  color: var(--pq-ink);
}

.venue-card-kicker .ic {
  width: 13px;
  height: 13px;
  color: #e8a416;
  fill: #e8a416;
}

.venue-card .body h3 {
  margin-top: 5px;
  font-size: 18px;
}

.venue-card .meta {
  margin-top: 5px;
  font-size: 11.5px;
}

.venue-card .tags {
  margin-top: 10px;
}

.venue-card .tag {
  padding: 5px 7px;
  border: 0;
  border-radius: 999px;
  background: #edf7f0;
  color: var(--pq-brand-deep);
  font-size: 9.5px;
}

.venue-card .foot {
  margin-top: 12px;
  padding-top: 11px;
}

.venue-card .price {
  font-size: 19px;
}

.venue-card .price small {
  font-size: 10px;
  font-weight: 600;
}

.venue-card .btn-mini {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  min-height: 38px;
  padding: 9px 11px;
  font-size: 11px;
}

.venue-card .btn-mini .ic {
  width: 14px;
  height: 14px;
}

/* ---------- explorar ---------- */
.explore-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: calc(20px + var(--pq-safe-top)) 16px 16px;
  border-bottom: 1px solid var(--pq-line);
  background: #edf8f1;
}

.explore-header > div {
  min-width: 0;
}

.explore-header .title {
  margin-top: 3px;
  font: 900 25px/1.08 var(--display);
}

.explore-header .sub {
  overflow: hidden;
  margin-top: 5px;
  color: var(--pq-muted);
  font-size: 11.5px;
  font-weight: 650;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.explore-header .icon-btn {
  width: 42px;
  height: 42px;
  border-color: var(--pq-brand);
  background: var(--pq-brand);
  color: #fff;
}

.explore-market {
  padding-top: 14px;
}

.explore-search {
  min-height: 54px;
  padding: 5px 5px 5px 14px;
  box-shadow: none;
}

.explore-search button {
  border: 1px solid var(--pq-line);
  background: #e2f3e8;
  color: var(--pq-brand-deep);
}

.sport-filter-rail {
  gap: 7px;
  margin: 13px -16px 0;
  padding: 0 16px 3px;
}

.sport-filter-chip {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 6px;
  min-height: 38px;
  padding: 8px 11px;
  border: 1px solid var(--pq-line);
  border-radius: 999px;
  background: var(--pq-panel);
  color: var(--pq-ink-soft);
  font-size: 10.5px;
  font-weight: 800;
}

.sport-filter-chip .ic {
  width: 15px;
  height: 15px;
  color: var(--pq-brand);
}

.sport-filter-chip.on {
  border-color: var(--pq-brand);
  background: var(--pq-brand);
  color: #fff;
}

.sport-filter-chip.on .ic {
  color: #fff;
}

.result-context {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin: 16px 0 11px;
  color: var(--pq-muted);
  font-size: 10.5px;
}

.result-context > span {
  display: inline-flex;
  min-width: 0;
  align-items: center;
  gap: 5px;
}

.result-context strong {
  overflow: hidden;
  color: var(--pq-ink-soft);
  text-overflow: ellipsis;
  white-space: nowrap;
}

.result-context .ic {
  width: 14px;
  height: 14px;
  color: var(--pq-brand);
}

.result-context > a {
  flex: 0 0 auto;
  color: var(--pq-brand-strong);
  font-weight: 850;
}

.explore-market [data-venue-list] .venue-card {
  margin-bottom: 14px;
}

/* ---------- navegacao fixa ---------- */
.tabbar {
  min-height: calc(var(--pq-tabbar-height) + var(--pq-safe-bottom));
  padding: 8px 8px max(8px, var(--pq-safe-bottom));
  border-top: 1px solid var(--pq-line);
  border-radius: 24px 24px 0 0;
  background: rgba(255, 255, 255, .97);
  box-shadow: 0 -8px 24px rgba(7, 94, 58, .08);
}

.tabbar.tabbar--legacy {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.tabbar > a,
.tabbar > button {
  min-height: 54px;
  gap: 4px;
  padding: 5px 2px;
  border-radius: 16px;
  color: #738079;
  font-size: 10px;
  font-weight: 750;
}

.tabbar > a > .ic,
.tabbar > button > .ic {
  width: 21px;
  height: 21px;
}

.tabbar > a > span,
.tabbar > button > span {
  font-size: 9.5px;
}

.tabbar > a.on,
.tabbar > button.on {
  background: transparent;
  color: var(--pq-brand-strong);
}

.tabbar .tabbar-map {
  position: relative;
  z-index: 2;
  min-height: 54px;
  transform: none;
  color: #738079;
}

.tabbar .tabbar-map > span {
  display: grid;
  overflow: visible;
  place-items: center;
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: 50%;
  background: #e4f4e9;
  box-shadow: none;
  color: var(--pq-brand-strong);
}

.tabbar .tabbar-map > span .ic {
  width: 20px;
  height: 20px;
}

.tabbar .tabbar-map em {
  color: #627067;
  font-size: 9.5px;
  font-style: normal;
  font-weight: 800;
}

.tabbar .tabbar-map.on > span {
  background: var(--pq-brand);
  color: #fff;
}

.tabbar .tabbar-map.on em {
  color: var(--pq-brand-strong);
}

/* ---------- detalhe e reserva ---------- */
.venue-hero {
  height: 270px;
  border-radius: 0;
  background: #dce5dd;
}

.venue-hero::after {
  background: linear-gradient(180deg, rgba(6, 18, 11, .2), transparent 42%, rgba(6, 18, 11, .36));
}

.venue-hero .back,
.venue-hero .hero-favorite {
  top: calc(16px + var(--pq-safe-top));
}

.venue-hero .back {
  left: 16px;
  width: 42px;
  height: 42px;
  border-radius: 50%;
}

.venue-hero .hero-favorite {
  right: 16px;
  width: 42px;
  height: 42px;
}

.venue-hero .venue-distance {
  top: auto;
  right: 16px;
  bottom: 14px;
  min-height: 34px;
  border-radius: 999px;
}

.venue-hero-photo-count {
  position: absolute;
  z-index: 4;
  bottom: 14px;
  left: 16px;
  display: inline-flex;
  min-height: 34px;
  align-items: center;
  gap: 3px;
  padding: 0 11px;
  border: 1px solid rgba(255, 255, 255, .55);
  border-radius: 999px;
  background: rgba(255, 255, 255, .92);
  color: var(--pq-ink);
  font-size: 10px;
  font-weight: 800;
  box-shadow: 0 5px 18px rgba(6, 18, 11, .14);
}

.venue-hero-photo-count .ic {
  width: 14px;
  height: 14px;
  margin-right: 2px;
  color: var(--pq-brand-strong);
}

.venue-hero-dots {
  position: absolute;
  z-index: 4;
  bottom: 25px;
  left: 50%;
  display: flex;
  align-items: center;
  gap: 5px;
  transform: translateX(-50%);
}

.venue-hero-dot {
  width: 6px;
  height: 6px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, .58);
  box-shadow: 0 1px 5px rgba(6, 18, 11, .18);
  transition: width .2s ease, background-color .2s ease;
}

.venue-hero-dot.on {
  width: 20px;
  background: #fff;
}

.detail-head {
  padding: 17px 16px 16px;
  border-bottom: 1px solid var(--pq-line);
  background: #f8fcf9;
}

.verified-label {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: var(--pq-brand-strong);
  font-size: 9.5px;
  font-weight: 900;
  text-transform: uppercase;
}

.verified-label .ic {
  width: 15px;
  height: 15px;
}

.detail-head h1 {
  margin-top: 6px;
  font-size: 24px;
  line-height: 1.1;
}

.detail-head .meta {
  margin-top: 6px;
  font-size: 12px;
}

.venue-proof {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 15px;
  border-top: 1px solid var(--pq-line);
  border-bottom: 1px solid var(--pq-line);
  border-radius: 18px;
  background: #edf8f1;
}

.venue-proof > span {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 0 7px;
  min-width: 0;
  padding: 11px 8px 11px 0;
}

.venue-proof > span + span {
  padding-left: 12px;
  border-left: 1px solid var(--pq-line);
}

.venue-proof .ic {
  grid-row: 1 / 3;
  width: 19px;
  height: 19px;
  color: var(--pq-brand);
}

.venue-proof > span:first-child .ic {
  color: #e8a416;
  fill: #e8a416;
}

.venue-proof b {
  font-size: 12px;
  line-height: 1.1;
}

.venue-proof small {
  overflow: hidden;
  margin-top: 2px;
  color: var(--pq-muted);
  font-size: 9px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.venue-booking {
  padding-top: 16px;
}

.venue-booking > .tags {
  margin: 0 0 20px;
}

.booking-title {
  margin: 0 0 12px;
}

.booking-title h2 {
  margin-top: 2px;
  font-size: 20px;
  line-height: 1.15;
}

.days {
  gap: 8px;
  margin-right: -16px;
  padding: 1px 16px 4px 0;
  scroll-snap-type: x proximity;
}

.day {
  flex: 0 0 64px;
  min-height: 68px;
  scroll-snap-align: start;
  border-radius: 50%;
  background: var(--pq-panel);
}

.day.on {
  border-color: var(--pq-brand-strong) !important;
  background: var(--pq-brand-strong) !important;
  box-shadow: 0 6px 14px rgba(0, 168, 90, .2) !important;
}

.sec-head {
  margin: 25px 0 11px;
}

.sec-head h2 {
  font-size: 18px;
}

.legend {
  margin-bottom: 11px;
}

.avail {
  gap: 15px;
}

.avail-lbl {
  margin-bottom: 7px;
  color: var(--pq-muted);
  font-size: 10px;
}

.avail-slots {
  gap: 8px;
}

.slot {
  min-height: 50px;
  border-radius: 999px;
  background: var(--pq-panel);
  font-size: 13px;
}

.avail-slots .slot.sel {
  border-color: var(--pq-brand-strong) !important;
  background: var(--pq-brand-strong) !important;
  box-shadow: 0 5px 12px rgba(0, 168, 90, .18) !important;
}

.slot.busy {
  border-color: #e5e9e5;
  background: #ecefec;
  color: #a8b0aa;
}

.dur-seg {
  gap: 8px;
}

.dur {
  min-height: 49px;
  border-radius: 999px;
  background: var(--pq-panel);
}

.dur.on {
  border-color: var(--pq-brand-strong);
  background: var(--pq-brand-strong);
  box-shadow: none;
  color: #fff;
}

.book-bar {
  margin-top: 20px;
  padding: 15px;
  border: 1px solid var(--pq-line);
  background: var(--pq-panel);
  box-shadow: var(--pq-shadow-1);
}

.book-bar .btn {
  background: var(--pq-brand-strong);
}

.note {
  gap: 6px;
  color: var(--pq-muted);
  font-size: 10.5px;
}

.note .ic {
  color: var(--pq-brand);
}

.booking-flow {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin: 2px 0 25px;
  padding: 0;
  list-style: none;
}

.booking-flow::before {
  position: absolute;
  z-index: 0;
  top: 17px;
  right: 12.5%;
  left: 12.5%;
  height: 2px;
  background: #dce8df;
  content: "";
}

.booking-flow li {
  position: relative;
  z-index: 1;
  display: grid;
  justify-items: center;
  gap: 5px;
  color: #86948b;
}

.booking-flow li > span {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border: 2px solid #dce8df;
  border-radius: 50%;
  background: var(--pq-paper);
  font-size: 11px;
  font-weight: 900;
}

.booking-flow li > span .ic {
  width: 15px;
  height: 15px;
}

.booking-flow li small {
  font-size: 9px;
  font-weight: 800;
}

.booking-flow li.is-current,
.booking-flow li.is-done {
  color: var(--pq-brand-strong);
}

.booking-flow li.is-current > span {
  border-color: var(--pq-brand);
  background: var(--pq-brand);
  color: #fff;
  box-shadow: 0 0 0 4px #e5f5eb;
}

.booking-flow li.is-done > span {
  border-color: #b9ddc5;
  background: #e4f4e9;
  color: var(--pq-brand-strong);
}

.booking-intro {
  margin-bottom: 8px;
}

.booking-intro > span,
.checkout-recap__eyebrow,
.checkout-section__head span,
.success-eyebrow {
  color: var(--pq-brand-strong);
  font-size: 9.5px;
  font-weight: 900;
  text-transform: uppercase;
}

.booking-intro h2 {
  margin-top: 3px;
  font-size: 22px;
  line-height: 1.15;
}

.booking-intro p {
  max-width: 350px;
  margin-top: 7px;
  color: var(--pq-muted);
  font-size: 11.5px;
  line-height: 1.5;
}

.booking-step {
  padding: 23px 0;
  border-bottom: 1px solid var(--pq-line);
}

.booking-step:last-of-type {
  border-bottom: 0;
}

.booking-step__head {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
}

.booking-step__number {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #e1f3e7;
  color: var(--pq-brand-strong);
  font-size: 12px;
  font-weight: 900;
}

.booking-step__head small {
  display: block;
  color: var(--pq-muted);
  font-size: 9px;
  font-weight: 800;
  text-transform: uppercase;
}

.booking-step__head h2 {
  margin-top: 1px;
  font-size: 17px;
  line-height: 1.15;
}

.booking-step__status {
  padding: 5px 8px;
  border-radius: 999px;
  background: #eaf6ee;
  color: var(--pq-brand-strong);
  font-size: 9px;
  font-weight: 850;
}

.booking-step .days {
  margin-top: 2px;
}

.booking-step .day {
  flex: 0 0 70px;
  min-height: 78px;
  padding: 8px 5px;
  border-radius: 20px;
}

.booking-step .day .d {
  font-size: 9px;
  font-weight: 800;
  text-transform: uppercase;
}

.booking-step .day .n {
  margin-top: 1px;
  font-size: 20px;
  line-height: 1;
}

.booking-step .day .m {
  margin-top: 3px;
  color: var(--pq-muted);
  font-size: 8.5px;
  font-weight: 750;
  text-transform: uppercase;
}

.booking-step .day.on .m {
  color: rgba(255, 255, 255, .76);
}

.booking-step .legend {
  flex-wrap: wrap;
  gap: 7px 14px;
  margin: -2px 0 12px 44px;
  font-size: 9.5px;
}

.booking-step .avail {
  gap: 17px;
}

.booking-step .avail-group {
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr);
  align-items: start;
  gap: 8px;
}

.booking-step .avail-lbl {
  margin: 14px 0 0;
  font-size: 8.5px;
}

.booking-step .avail-slots {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.booking-step .slot {
  min-height: 46px;
  border-radius: 16px;
}

.booking-step .slot.sel {
  box-shadow: 0 0 0 3px #dcefe3 !important;
}

.booking-step .dur-seg {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.booking-step .dur {
  display: flex;
  min-height: 62px;
  padding: 8px 5px;
  border-radius: 18px;
  flex-direction: column;
  gap: 2px;
}

.booking-step .dur strong {
  font-size: 16px;
}

.booking-step .dur span {
  color: var(--pq-muted);
  font-size: 8.5px;
  font-weight: 700;
}

.booking-step .dur.on span {
  color: rgba(255, 255, 255, .78);
}

.duration-help {
  min-height: 17px;
  margin-top: 9px;
  color: var(--pq-muted);
  font-size: 9.5px;
  line-height: 1.4;
}

.venue-booking .book-bar {
  position: sticky;
  z-index: 25;
  bottom: calc(var(--pq-tabbar-height) + var(--pq-safe-bottom) + 8px);
  display: grid;
  gap: 12px;
  margin: 8px 0 14px;
  padding: 14px;
  border-radius: 24px;
  border-color: #cfe4d6;
  background: rgba(255, 255, 255, .97);
  box-shadow: 0 14px 34px rgba(7, 94, 58, .15);
  backdrop-filter: blur(14px);
}

.book-bar__selection {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 10px;
}

.book-bar__icon {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #e0f3e7;
  color: var(--pq-brand-strong);
}

.book-bar__icon .ic {
  width: 19px;
  height: 19px;
}

.book-bar__selection > span:last-child {
  display: grid;
  min-width: 0;
  grid-template-columns: 1fr auto;
  gap: 1px 8px;
}

.book-bar__selection small {
  grid-column: 1 / -1;
  color: var(--pq-muted);
  font-size: 8.5px;
  font-weight: 800;
  text-transform: uppercase;
}

.book-bar__selection strong,
.book-bar__selection em {
  min-width: 0;
  font-size: 11px;
  font-style: normal;
  overflow-wrap: anywhere;
}

.book-bar__selection em {
  color: var(--pq-muted);
  text-align: right;
}

.book-bar__price {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
  padding-top: 11px;
  border-top: 1px solid var(--pq-line);
}

.book-bar__price > span {
  color: var(--pq-ink-soft);
  font-size: 11px;
  font-weight: 750;
}

.book-bar__price small {
  display: block;
  margin-top: 2px;
  color: var(--pq-muted);
  font-size: 8.5px;
  font-weight: 650;
}

.book-bar__price > strong {
  color: var(--pq-brand-deep);
  font-size: 20px;
}

.book-bar .btn {
  display: flex;
  justify-content: space-between;
  border-radius: 16px;
}

.book-bar .btn .ic {
  width: 18px;
  height: 18px;
}

/* ---------- checkout e confirmacao ---------- */
.navbar {
  min-height: 76px;
  padding: calc(16px + var(--pq-safe-top)) 16px 14px;
  border-bottom: 1px solid var(--pq-line);
  background: #f5fbf7;
  backdrop-filter: none;
}

.navbar .title {
  font-size: 18px;
  font-weight: 900;
}

.navbar .sub {
  margin-top: 2px;
  font-size: 10.5px;
}

.icon-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--pq-panel);
}

.checkout-mobile .mini-card {
  padding: 0 0 14px;
  border: 0;
  border-bottom: 1px solid var(--pq-line);
  border-radius: 0;
}

.checkout-mobile .mini-card img {
  width: 72px;
  height: 72px;
  border-radius: 16px;
}

.booking-flow--checkout,
.booking-flow--confirmation {
  margin-top: 0;
}

.checkout-recap {
  padding: 15px;
  border: 1px solid var(--pq-line);
  border-radius: 22px;
  background: var(--pq-panel);
  box-shadow: var(--pq-shadow-1);
}

.checkout-recap__eyebrow {
  display: block;
  margin-bottom: 3px;
}

.checkout-recap .mini-card h3 {
  font-size: 15px;
}

.checkout-recap .info-rows {
  margin-top: 4px;
  border: 0;
  border-radius: 0;
  background: transparent;
}

.checkout-recap .info-rows .row {
  min-height: 43px;
  padding: 9px 2px;
  border-bottom: 1px solid var(--pq-line);
}

.checkout-recap .info-rows .row:last-child {
  border-bottom: 0;
}

.checkout-recap .info-rows .k {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--pq-muted);
}

.checkout-recap .info-rows .k .ic {
  width: 16px;
  height: 16px;
  color: var(--pq-brand);
}

.checkout-recap .info-rows .v {
  font-size: 11.5px;
  font-weight: 850;
  text-align: right;
}

.checkout-section {
  margin-top: 24px;
}

.checkout-section__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}

.checkout-section__head h2 {
  margin-top: 2px;
  font-size: 18px;
}

.checkout-section__head > .ic {
  width: 22px;
  height: 22px;
  color: var(--pq-brand);
}

.checkout-total {
  margin-top: 20px;
  padding: 15px;
  border: 1px solid #cfe6d7;
  border-radius: 20px;
  background: #f2faf5;
}

.checkout-total .line {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 6px 0;
  font-size: 11.5px;
}

.checkout-total .total {
  margin-top: 6px;
  padding-top: 12px;
  border-top: 1px solid #d5eadc;
  color: var(--pq-brand-deep);
  font-size: 18px;
  font-weight: 900;
}

.checkout-total p {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 10px;
  color: var(--pq-muted);
  font-size: 9px;
}

.checkout-total p .ic {
  width: 14px;
  height: 14px;
  color: var(--pq-brand);
}

.pay-methods {
  gap: 9px;
}

.method {
  min-height: 64px;
  padding: 11px 12px;
  border-radius: 18px;
  background: var(--pq-panel);
}

.method .badge-ic {
  border-radius: 50%;
}

.method > span:nth-child(2) strong {
  display: block;
  font-size: 12px;
}

.method .check {
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  margin-left: auto;
  border: 1.5px solid #d5dfd7;
  border-radius: 50%;
  color: transparent;
}

.method .check .ic {
  width: 13px;
  height: 13px;
}

.method.on {
  border-color: var(--pq-brand);
  background: #f3fbf6;
  box-shadow: 0 0 0 3px #e4f3e9;
}

.method.on .check {
  border-color: var(--pq-brand);
  background: var(--pq-brand);
  color: #fff;
}

.method.is-unavailable {
  border-color: #e5e9e5;
  background: #f0f2f0;
  color: #9aa49d;
  cursor: not-allowed;
}

.method.is-unavailable .badge-ic,
.method.is-unavailable small {
  color: #9aa49d;
}

.checkout-action {
  position: static;
  margin: 12px 0 0;
  padding: 0 0 26px;
  border: 0;
  background: transparent;
  backdrop-filter: none;
}

.checkout-action .btn {
  display: flex;
  min-height: 52px;
  justify-content: space-between;
  border-radius: 16px;
}

.checkout-action .btn .ic {
  width: 17px;
  height: 17px;
}

.booking-confirmation {
  padding-top: calc(22px + var(--pq-safe-top));
}

.booking-confirmation .success {
  min-height: auto;
  padding-top: 14px;
}

.booking-confirmation .success .ring {
  width: 64px;
  height: 64px;
  margin-bottom: 16px;
  background: #ddf3e5;
  color: var(--pq-brand-strong);
  box-shadow: 0 0 0 9px rgba(22, 167, 101, .09);
}

.booking-confirmation .success-eyebrow {
  display: block;
  margin-bottom: 5px;
}

.booking-confirmation .success h2 {
  font-size: 24px;
}

.booking-confirmation .success > p {
  max-width: 290px;
  margin: 6px auto 0;
  font-size: 11.5px;
}

.booking-confirmation .ticket {
  width: 100%;
  margin: 23px 0 18px;
  border-radius: 22px;
  text-align: left;
  box-shadow: var(--pq-shadow-1);
}

.ticket-venue {
  display: grid;
  grid-template-columns: 66px minmax(0, 1fr);
  align-items: center;
  gap: 12px;
  padding: 13px;
  border-bottom: 1px solid var(--pq-line);
  background: #eef8f1;
}

.ticket-venue img {
  width: 66px;
  height: 66px;
  border-radius: 16px;
  object-fit: cover;
}

.ticket-venue span {
  color: var(--pq-brand-strong);
  font-size: 8.5px;
  font-weight: 900;
  text-transform: uppercase;
}

.ticket-venue h3 {
  margin-top: 2px;
  font-size: 14px;
}

.ticket-venue p {
  margin-top: 3px;
  color: var(--pq-muted);
  font-size: 9.5px;
}

.ticket-details {
  padding: 4px 14px;
}

.booking-code {
  display: flex;
  width: calc(100% - 24px);
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: 3px 12px 12px;
  padding: 11px 13px;
  border: 1px dashed #aad2b7;
  border-radius: 16px;
  background: #f2faf5;
  color: var(--pq-brand-deep);
  text-align: left;
}

.booking-code span {
  display: grid;
  gap: 2px;
}

.booking-code small {
  color: var(--pq-muted);
  font-size: 8px;
  font-weight: 750;
  text-transform: uppercase;
}

.booking-code strong {
  font-size: 14px;
}

.booking-code .ic {
  width: 18px;
  height: 18px;
}

.confirmation-actions {
  display: grid;
  width: 100%;
  gap: 9px;
}

/* ---------- reservas, perfil e carteira ---------- */
.seg {
  gap: 4px;
  padding: 4px;
  border-radius: 999px;
  background: #e3f1e7;
}

.seg-item {
  border-radius: 999px;
}

.seg-item.on {
  background: var(--pq-panel);
  color: var(--pq-brand-deep);
  box-shadow: 0 4px 12px rgba(7, 94, 58, .08);
}

.res-card {
  border-radius: 22px;
  background: var(--pq-panel);
}

.res-card img {
  border-radius: 16px;
}

.mobile-wallet {
  border-radius: 24px;
  background: linear-gradient(145deg, var(--pq-brand-deep), var(--pq-brand-strong));
}

.mobile-wallet::after {
  border-color: rgba(207, 255, 71, .18);
}

.wallet-primary {
  background: var(--pq-signal);
}

.payment-list,
.transaction-list,
.account-menu,
.settings-section,
.coupon-list {
  border-radius: 22px;
}

.profile-avatar {
  border-radius: 50%;
  background: var(--pq-brand);
}

.favorite-sport .ic {
  color: #e8a416;
  fill: none;
}

.menu-icon {
  border-radius: 50%;
}

.settings-section {
  background: var(--pq-panel);
}

/* ---------- toast util e legivel ---------- */
.toast {
  right: 12px;
  left: 12px;
  bottom: calc(var(--pq-tabbar-height) + 6px + var(--pq-safe-bottom));
  min-height: 52px;
  border: 0;
  border-radius: 18px;
  background: rgba(7, 94, 58, .97);
  color: #fff;
  box-shadow: 0 14px 34px rgba(16, 24, 19, .24);
}

.toast .ic {
  background: var(--pq-signal);
  color: var(--pq-ink);
}

/* ---------- paineis de acao ---------- */
.market-sheet {
  position: fixed;
  z-index: 120;
  inset: 0;
  width: min(100vw, 430px);
  margin: 0 auto;
}

.market-sheet[hidden] {
  display: none;
}

.market-sheet__backdrop {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  background: rgba(7, 52, 31, .34);
}

.market-sheet__panel {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  max-height: min(82dvh, 720px);
  overflow-y: auto;
  padding: 18px 16px calc(18px + var(--pq-safe-bottom));
  border-radius: 28px 28px 0 0;
  background: var(--pq-panel);
  box-shadow: 0 -18px 46px rgba(8, 15, 10, .22);
  animation: market-sheet-in .2s cubic-bezier(.2, .8, .2, 1);
}

@keyframes market-sheet-in {
  from {
    transform: translateY(28px);
    opacity: 0;
  }

  to {
    transform: translateY(0);
    opacity: 1;
  }
}

.market-sheet__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--pq-line);
}

.market-sheet__head h2 {
  margin-top: 2px;
  font-size: 21px;
  line-height: 1.15;
}

.market-sheet__close {
  display: grid;
  flex: 0 0 auto;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #e7f4eb;
  color: var(--pq-brand-deep);
}

.current-location-action {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 11px;
  width: 100%;
  padding: 15px 0;
  border-bottom: 1px solid var(--pq-line);
  color: var(--pq-ink);
  text-align: left;
}

.current-location-action > span:first-child {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: #dff4e7;
}

.current-location-action > span:nth-child(2),
.location-options button > span,
.notification-list a > span:last-child {
  display: flex;
  min-width: 0;
  flex-direction: column;
}

.current-location-action strong,
.location-options strong,
.notification-list strong {
  font-size: 13px;
  font-weight: 850;
}

.current-location-action small,
.location-options small,
.notification-list small {
  margin-top: 2px;
  color: var(--pq-muted);
  font-size: 10.5px;
}

.current-location-action > .ic,
.location-options button > .ic {
  width: 17px;
  height: 17px;
  color: var(--pq-brand);
}

.market-sheet__label {
  display: block;
  padding: 17px 0 7px;
  color: var(--pq-muted);
  font-size: 9.5px;
  font-weight: 900;
  text-transform: uppercase;
}

.location-options button {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 12px;
  width: 100%;
  min-height: 58px;
  border-bottom: 1px solid var(--pq-line);
  background: transparent;
  color: var(--pq-ink);
  text-align: left;
}

.notification-list a {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: start;
  gap: 11px;
  padding: 14px 0;
  border-bottom: 1px solid var(--pq-line);
}

.notification-list__icon {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #dff4e7;
  color: var(--pq-brand-deep);
}

.notification-list__icon--success {
  background: #e6faee;
  color: var(--pq-brand);
}

.notification-list em {
  margin-top: 6px;
  color: var(--pq-brand-strong);
  font-size: 9px;
  font-style: normal;
  font-weight: 800;
}

.market-sheet__secondary {
  width: 100%;
  min-height: 44px;
  margin-top: 13px;
  border: 1px solid var(--pq-line);
  border-radius: 999px;
  background: #edf7f0;
  color: var(--pq-brand-deep);
  font-size: 12px;
  font-weight: 850;
}

.market-filter-form fieldset {
  margin-top: 18px;
  border: 0;
}

.market-filter-form legend {
  margin-bottom: 9px;
  color: var(--pq-ink);
  font-size: 12px;
  font-weight: 850;
}

.filter-choice-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 7px;
}

.filter-choice-grid--sports {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.filter-choice-grid label {
  min-width: 0;
}

.filter-choice-grid input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.filter-choice-grid label > span {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 44px;
  padding: 8px;
  border: 1px solid var(--pq-line);
  border-radius: 999px;
  background: var(--pq-panel);
  color: var(--pq-ink-soft);
  font-size: 11px;
  font-weight: 800;
}

.filter-choice-grid label > span .ic {
  width: 16px;
  height: 16px;
  color: var(--pq-brand);
}

.filter-choice-grid input:checked + span {
  border-color: var(--pq-brand);
  background: var(--pq-brand);
  color: #fff;
}

.filter-choice-grid input:checked + span .ic {
  color: #fff;
}

.filter-choice-grid input:focus-visible + span {
  outline: 3px solid rgba(207, 255, 71, .8);
  outline-offset: 2px;
}

.filter-now {
  position: relative;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  margin-top: 18px;
  padding: 13px;
  border: 1px solid var(--pq-line);
  border-radius: 20px;
  cursor: pointer;
}

.filter-now > span:first-child {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #dff4e7;
}

.filter-now > span:nth-child(2) {
  display: flex;
  min-width: 0;
  flex-direction: column;
}

.filter-now strong {
  font-size: 12.5px;
}

.filter-now small {
  margin-top: 2px;
  color: var(--pq-muted);
  font-size: 9.5px;
}

.filter-now input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.filter-switch {
  position: relative;
  width: 42px;
  height: 25px;
  border-radius: 999px;
  background: #cdd5ce;
}

.filter-switch::after {
  content: "";
  position: absolute;
  top: 3px;
  left: 3px;
  width: 19px;
  height: 19px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 2px 5px rgba(16, 24, 19, .2);
  transition: transform .16s ease;
}

.filter-now input:checked + .filter-switch {
  background: var(--pq-brand);
}

.filter-now input:checked + .filter-switch::after {
  transform: translateX(17px);
}

.filter-now input:focus-visible + .filter-switch {
  outline: 3px solid rgba(207, 255, 71, .8);
  outline-offset: 2px;
}

/* ---------- mapas ---------- */
.map-navbar {
  background: #edf8f1;
}

.map-filter-strip {
  background: var(--pq-panel);
}

.map-filter-strip .chip {
  min-height: 36px;
  border-radius: 999px;
  font-size: 10.5px;
}

.map-filter-strip .chip.on {
  border-color: var(--pq-brand);
  background: var(--pq-brand);
  box-shadow: none;
}

.map-price-marker span {
  border-color: var(--pq-brand);
}

.map-price-marker span::after {
  border-color: var(--pq-brand);
}

@media (max-width: 370px) {
  .market-copy h1 {
    font-size: 22px;
  }

  .market-shortcuts {
    grid-template-columns: 1fr;
  }

  .market-shortcut {
    min-height: 58px;
  }

  .market-shortcut strong {
    font-size: 12px;
  }

  .venue-rail .venue-card {
    flex-basis: 84vw;
  }

  .tabbar > a > span,
  .tabbar > button > span,
  .tabbar .tabbar-map em {
    font-size: 9px;
  }

  .profile-stats {
    gap: 5px;
  }

  .profile-stats > div {
    padding-right: 3px;
    padding-left: 3px;
  }

  .profile-edit-action {
    width: 38px;
    min-width: 38px;
    padding: 0;
    justify-content: center;
  }

  .profile-edit-action span {
    display: none;
  }

  .res-card {
    gap: 10px;
    padding: 10px;
  }

  .res-card img {
    width: 72px;
    height: 78px;
  }

  .venue-card .foot {
    align-items: flex-start;
    flex-direction: column;
  }

  .venue-card .btn-mini {
    width: 100%;
  }
}

@media (min-width: 600px) and (pointer: coarse) {
  .market-header > *,
  .market-home {
    max-width: 760px;
    margin-right: auto;
    margin-left: auto;
  }

  .venue-rail .venue-card {
    flex-basis: 310px;
  }

  .explore-market [data-venue-list] {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
  }

  .explore-market [data-venue-list] .venue-card {
    margin-bottom: 0;
  }

  .market-sheet {
    width: 100%;
    max-width: none;
  }

  .market-sheet__panel {
    width: min(100%, 620px);
    margin: 0 auto;
  }
}

/* Controles mais calmos e meios de pagamento visualmente centralizados. */
.pay-methods .method {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr) 24px;
  align-items: center;
  column-gap: 10px;
}

.pay-methods .method > span:nth-child(2) {
  min-width: 0;
  justify-self: center;
  text-align: center;
}

.pay-methods .method .check,
.pay-methods .method .ck {
  justify-self: end;
  margin-left: 0;
}

.btn,
.btn-mini,
.pwa-go {
  box-shadow: 0 2px 6px rgba(7, 94, 58, .08) !important;
}

.day.on,
.avail-slots .slot.sel,
.method.on,
.sport-filter-chip.on,
.map-filter-strip .chip.on {
  box-shadow: none !important;
}

/* ---------- clube ---------- */
/* Reaproveita .profile-hero (identidade), .profile-stats, .res-card (pelada),
   .payment-row (membro), .seg (presenca) e .mobile-bubbles (conversa).
   O que segue e so o que esses idiomas nao cobrem. */
/* Na Conversa o cabecalho e o botao de reservar so ocupam espaco — a tela
   e para ler e escrever mensagem. */
.clube-page:has([data-club-panel="chat"]:not([hidden])) .profile-hero,
.clube-page:has([data-club-panel="chat"]:not([hidden])) .club-schedule {
  display: none;
}

/* Cabecalho do clube centralizado: e uma identidade, nao um formulario —
   o eixo central da o ar de "escudo do time". */
.clube-page .profile-identity {
  text-align: center;
}

.clube-page .profile-avatar-wrap {
  margin-left: auto;
  margin-right: auto;
}

.clube-page .profile-location {
  justify-content: center;
}

.clube-page .profile-identity-copy p {
  margin-top: 4px;
  color: var(--pq-muted);
  font-size: 12px;
  line-height: 1.45;
}

.club-schedule {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 14px;
}

.club-schedule .ic {
  width: 17px;
  height: 17px;
}

/* Conversa do clube: tela de chat, nao secao de pagina. A lista come o
   espaco livre e rola sozinha; o compositor fica preso embaixo, acima da
   barra contextual. */
/* A Conversa ocupa a tela inteira, do cabecalho ate a barra de baixo.

   Antes a altura era calc(100dvh - 170px - ...), e os 170px eram o
   cabecalho MAIS o hero do clube MAIS o botao de marcar pelada. So que os
   dois ultimos ja ficam escondidos nesta aba, entao sobrava 74px de branco
   embaixo do compositor.

   Agora quem manda e o flex: a pagina preenche a tela e o painel cresce no
   que sobrar. Nao ha numero para envelhecer quando o cabecalho mudar. */
.clube-page:has([data-club-panel="chat"]:not([hidden])) {
  display: flex;
  min-height: calc(100dvh - var(--pq-tabbar-height) - var(--pq-safe-bottom));
  flex-direction: column;
}

.clube-page:has([data-club-panel="chat"]:not([hidden])) [data-club-view] {
  display: flex;
  min-height: 0;
  flex: 1;
  flex-direction: column;
}

.club-chat-panel {
  display: flex;
  /* min-height: 0 para o overflow das bolhas funcionar dentro do flex */
  min-height: 0;
  flex: 1;
  flex-direction: column;
  margin: 0 -16px;
}

/* O display acima e regra de autor e ganha do [hidden] do navegador, entao
   o painel da Conversa ficava desenhado por cima em TODAS as abas: quem
   abria Peladas via as mensagens. selectClubSection marcava hidden certinho
   e nao adiantava nada. */
.club-chat-panel[hidden] {
  display: none;
}

.club-chat-panel .mobile-bubbles {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  padding: 16px;
  scrollbar-width: none;
}

.club-chat-panel .mobile-bubbles::-webkit-scrollbar { display: none; }

.club-chat-composer {
  flex: 0 0 auto;
  padding: 10px 16px calc(10px + var(--pq-safe-bottom));
  border-top: 1px solid var(--pq-line);
  background: var(--pq-panel);
}

/* Na Conversa a pagina nao rola: quem rola e a lista de mensagens. */
.clube-page:has([data-club-panel="chat"]:not([hidden])) .container {
  padding-bottom: 0;
}

.bub-name {
  margin-bottom: 3px;
  color: var(--pq-brand-strong);
  font-size: 9.5px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .03em;
}

/* Presenca dentro do card da pelada: o mesmo controle segmentado das
   abas de reservas, so um pouco menor. */
.pelada-card__seg {
  margin: 12px 0 0;
}

.pelada-card__seg .seg-item {
  padding: 8px 6px;
  font-size: 12px;
}

.member-row__avatar {
  display: grid;
  place-items: center;
  font-size: 13px;
  font-weight: 900;
}

.member-rating {
  display: flex;
  align-items: center;
  gap: 3px;
  color: var(--pq-muted);
  font-size: 11.5px;
  font-weight: 800;
}

.member-rating .ic {
  width: 13px;
  height: 13px;
  color: var(--pq-gold);
  fill: var(--pq-gold);
}

/* ── folha de agendar pelada ── */
.pelada-kind {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  padding: 0;
  border: 0;
  margin-bottom: 4px;
}

.pelada-kind legend {
  margin-bottom: 8px;
  color: var(--pq-muted);
  font-size: 11px;
  font-weight: 800;
}

.pelada-kind label {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 11px 12px;
  border: 1px solid var(--pq-line);
  border-radius: 16px;
  background: var(--pq-panel);
  cursor: pointer;
}

.pelada-kind label:has(input:checked) {
  border-color: var(--pq-brand);
  background: var(--pq-signal-soft);
}

.pelada-kind label > span {
  display: flex;
  min-width: 0;
  flex-direction: column;
}

.pelada-kind strong { font-size: 12.5px; font-weight: 900; }

.pelada-kind small {
  overflow: hidden;
  margin-top: 1px;
  color: var(--pq-muted);
  font-size: 9.5px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

/* ---------- barra contextual (clube / partida) ----------
   Irma da .tabbar: mesma caixa fixa, mesma largura, mesmo raio, mesmo blur
   e — de proposito — a MESMA altura. E essa igualdade que dispensa um token
   novo: o padding-bottom da .screen, a conta de 100dvh do mapa e o offset do
   .toast continuam todos valendo sem nenhuma outra edicao.

   O gatilho e html[data-bottombar], escrito por renderClub / renderGame, e
   nao a rota: assim o caminho de falha (sem partida, erro de montagem, sem
   clube) devolve a navegacao normal sozinho. */
html[data-bottombar] .tabbar { display: none; }

html[data-bottombar="clube"] .contextbar--clube,
html[data-bottombar="game"] .contextbar--game { display: grid; }

.contextbar {
  position: fixed;
  z-index: 80;
  display: none;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 4px;
  left: 50%;
  right: auto;
  bottom: 0;
  width: min(100vw, 430px);
  min-height: calc(var(--pq-tabbar-height) + var(--pq-safe-bottom));
  padding: 8px 8px max(8px, var(--pq-safe-bottom));
  transform: translateX(-50%);
  border: 0;
  border-top: 1px solid var(--pq-line);
  border-radius: 24px 24px 0 0;
  background: rgba(255, 255, 255, .97);
  box-shadow: 0 -8px 24px rgba(7, 94, 58, .08);
  backdrop-filter: blur(18px) saturate(160%);
}

.contextbar__tab,
.contextbar__primary {
  display: flex;
  min-height: 54px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  padding: 5px 2px;
  border: 0;
  border-radius: 16px;
  background: transparent;
  color: #738079;
  font-family: inherit;
  font-size: 9.5px;
  font-weight: 800;
  cursor: pointer;
}

.contextbar__tab .ic {
  width: 21px;
  height: 21px;
}

.contextbar__tab span {
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.contextbar__tab.is-active { color: var(--pq-brand-strong); }
.contextbar__tab.is-active .ic { stroke-width: 2.4; }

.contextbar__tab:active,
.contextbar__primary:active { transform: translateY(1px); }

.contextbar__tab:focus-visible,
.contextbar__primary:focus-visible {
  outline: 3px solid rgba(207, 255, 71, .9);
  outline-offset: 2px;
}

/* Espaco em destaque — mesmo desenho do .tabbar-map ativo: circulo cheio na
   cor da marca com o rotulo embaixo. E o vocabulario que o app ja tem para
   "um espaco fala mais alto que os outros". */
.contextbar__primary > span {
  display: grid;
  overflow: visible;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--pq-brand);
  color: #fff;
  box-shadow: 0 8px 18px rgba(7, 94, 58, .28);
}

.contextbar__primary > span .ic {
  width: 20px;
  height: 20px;
}

.contextbar__primary em {
  color: var(--pq-brand-strong);
  font-size: 9.5px;
  font-style: normal;
  font-weight: 800;
}

/* Na partida as abas moram no rodape. A fileira de pilulas do topo passa a
   ser so do desktop — o pc.html nao carrega este arquivo. */
html[data-bottombar="game"] .game-tabs { display: none; }

/* ---------- plano da reserva: avulso x mensalista ----------
   E a primeira escolha do fluxo, entao pesa mais que os passos seguintes:
   dois cartoes lado a lado em vez de chips. */
.plan-choice {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.plan-option {
  display: flex;
  min-width: 0;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
  padding: 14px 13px;
  border: 1px solid var(--pq-line);
  border-radius: 20px;
  background: var(--pq-panel);
  color: var(--pq-ink);
  font-family: inherit;
  text-align: left;
  cursor: pointer;
}

.plan-option.on {
  border-color: var(--pq-brand);
  background: var(--pq-signal-soft);
  box-shadow: 0 8px 20px rgba(7, 94, 58, .1);
}

.plan-option:active { transform: translateY(1px); }

.plan-option__icon {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  margin-bottom: 6px;
  border-radius: 50%;
  background: var(--pq-surface-2, #f3f5f1);
  color: var(--pq-brand-strong);
}

.plan-option.on .plan-option__icon {
  background: var(--pq-brand);
  color: #fff;
}

.plan-option__icon .ic { width: 18px; height: 18px; }

.plan-option strong {
  font-size: 14px;
  font-weight: 900;
}

.plan-option small {
  color: var(--pq-muted);
  font-size: 10.5px;
  line-height: 1.35;
}

.plan-option em {
  margin-top: 6px;
  color: var(--pq-brand-deep);
  font-size: 12.5px;
  font-style: normal;
  font-weight: 900;
}

.plan-option__tag {
  margin-top: 5px;
  padding: 3px 8px;
  border-radius: 999px;
  background: var(--pq-amber-soft, #ffedd5);
  color: var(--pq-amber-strong, #9a3412);
  font-size: 9px;
  font-weight: 900;
  text-transform: uppercase;
}

.plan-option__tag[hidden] { display: none; }

/* Dia da semana — o compromisso do mensalista e semanal, nao uma data */
.weekday-choice {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 6px;
}

.weekday-choice[hidden] { display: none; }

.weekday {
  min-height: 46px;
  border: 1px solid var(--pq-line);
  border-radius: 14px;
  background: var(--pq-panel);
  color: var(--pq-ink-soft);
  font-family: inherit;
  font-size: 11px;
  font-weight: 850;
  cursor: pointer;
}

.weekday.on {
  border-color: transparent;
  background: var(--pq-brand);
  color: #fff;
}

.weekday:active { transform: translateY(1px); }

/* ---------- galeria da arena: arrastavel ----------
   Antes eram duas setas sobre a foto: ficavam no caminho do polegar e
   escondiam parte da imagem. Arrastar e o gesto que a pessoa ja tenta. */
.venue-hero-track {
  display: flex;
  width: 100%;
  height: 100%;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior-x: contain;
}

.venue-hero-track::-webkit-scrollbar { display: none; }

.venue-hero-track img {
  width: 100%;
  height: 100%;
  flex: 0 0 100%;
  object-fit: cover;
  scroll-snap-align: center;
  scroll-snap-stop: always;
}

.venue-hero-track:focus-visible {
  outline: 3px solid rgba(207, 255, 71, .9);
  outline-offset: -3px;
}

/* Distancia personalizada no filtro */
.filter-range {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 12px;
  margin-top: 10px;
  padding: 12px 14px;
  border: 1px solid var(--pq-line);
  border-radius: 18px;
  background: var(--pq-panel);
}

.filter-range[hidden] { display: none; }

.filter-range input[type="range"] {
  width: 100%;
  accent-color: var(--pq-brand);
}

.filter-range output {
  min-width: 56px;
  color: var(--pq-brand-deep);
  font-size: 13px;
  font-weight: 900;
  text-align: right;
}

/* ---------- mensalidade do jogador ---------- */
.plan-card {
  margin-bottom: 12px;
  padding: 16px;
  border: 1px solid var(--pq-line);
  border-radius: 22px;
  background: var(--pq-panel);
  box-shadow: var(--pq-shadow-1);
}

.plan-card__head {
  display: flex;
  align-items: center;
  gap: 9px;
}

.plan-card__tag {
  padding: 4px 9px;
  border-radius: 999px;
  background: var(--pq-amber-soft, #ffedd5);
  color: var(--pq-amber-strong, #9a3412);
  font-size: 8.5px;
  font-weight: 900;
  text-transform: uppercase;
}

.plan-card__head strong {
  overflow: hidden;
  font-size: 15px;
  font-weight: 900;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.plan-card__when {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 8px;
  color: var(--pq-muted);
  font-size: 12px;
  font-weight: 700;
}

.plan-card__when .ic {
  width: 15px;
  height: 15px;
  color: var(--pq-brand-strong);
}

.plan-card__next {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 14px;
  padding: 12px 14px;
  border-radius: 16px;
  background: var(--pq-signal-soft);
}

.plan-card__next small {
  display: block;
  color: var(--pq-muted);
  font-size: 9.5px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .04em;
}

.plan-card__next strong {
  display: block;
  margin-top: 3px;
  color: var(--pq-brand-deep);
  font-size: 14px;
  font-weight: 900;
}

.plan-card__sessions {
  margin: 12px 0 0;
  padding: 0;
  list-style: none;
}

.plan-card__sessions li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 9px 0;
  border-bottom: 1px solid var(--pq-line);
  font-size: 12.5px;
  font-weight: 700;
}

.plan-card__sessions li:last-child { border-bottom: 0; }

.plan-card__sessions li.is-done {
  color: var(--pq-muted);
  text-decoration: line-through;
}

.plan-card__sessions em {
  color: var(--pq-muted);
  font-size: 11.5px;
  font-style: normal;
  font-weight: 800;
}

/* ═══════════════ Entrar, cadastro e onboarding ═══════════════ */

/* Sem barra de baixo nestas telas, entao o respiro que a .screen reserva
   para a tabbar vira buraco. */
html[data-bottombar="none"] .screen {
  padding-bottom: var(--pq-safe-bottom);
}

.auth-page {
  display: flex;
  min-height: calc(100dvh - var(--pq-safe-bottom));
  flex-direction: column;
  padding: 12px 20px calc(24px + var(--pq-safe-bottom));
}

.auth-back {
  align-self: flex-start;
}

.auth-hero {
  padding: 26px 0 22px;
  text-align: center;
}

.auth-mark {
  display: inline-flex;
  width: 60px;
  height: 60px;
  align-items: center;
  justify-content: center;
  border-radius: 20px;
  margin-bottom: 16px;
  background: var(--pq-brand);
  color: #fff;
}

.auth-mark .ic { width: 30px; height: 30px; }

.auth-hero h1 {
  margin: 0 0 6px;
  font-size: 26px;
  font-weight: 800;
  letter-spacing: -.02em;
}

.auth-hero p {
  margin: 0;
  color: var(--pq-muted);
  font-size: 14px;
}

.auth-body { flex: 1; }

.auth-google {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-weight: 700;
}

.auth-google__mark {
  display: inline-flex;
  width: 22px;
  height: 22px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--pq-line);
  border-radius: 50%;
  background: #fff;
  color: #4285f4;
  font-weight: 800;
}

.auth-divider {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 18px 0;
  color: var(--pq-muted);
  font-size: 12px;
}

.auth-divider::before,
.auth-divider::after {
  height: 1px;
  flex: 1;
  background: var(--pq-line);
  content: '';
}

.auth-link {
  display: block;
  padding: 14px 0 2px;
  color: var(--pq-brand-strong);
  font-size: 13px;
  font-weight: 600;
  text-align: center;
  text-decoration: none;
}

.auth-swap {
  margin: 22px 0 0;
  color: var(--pq-muted);
  font-size: 14px;
  text-align: center;
}

.auth-swap a {
  color: var(--pq-brand-strong);
  font-weight: 700;
  text-decoration: none;
}

.auth-terms {
  margin: 14px 0 0;
  color: var(--pq-muted);
  font-size: 12px;
  line-height: 1.5;
  text-align: center;
}

/* ── Onboarding ── */

.onb-page {
  display: flex;
  min-height: calc(100dvh - var(--pq-safe-bottom));
  flex-direction: column;
  padding: 12px 20px calc(24px + var(--pq-safe-bottom));
}

.onb-head {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-bottom: 22px;
}

.onb-progress {
  height: 4px;
  flex: 1;
  overflow: hidden;
  border-radius: 999px;
  background: var(--pq-line);
}

.onb-progress > span {
  display: block;
  width: 33.33%;
  height: 100%;
  border-radius: 999px;
  background: var(--pq-brand);
  /* Transicao, e nao keyframe: transicao interpola a partir do valor atual,
     entao a barra avanca de um passo ao outro. Um keyframe reiniciaria do
     zero a cada troca. */
  transition: width .28s cubic-bezier(.2, .8, .2, 1);
}

.onb-skip {
  color: var(--pq-muted);
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
}

.onb-step {
  display: flex;
  flex: 1;
  flex-direction: column;
  /* Horizontal de proposito: route-in e vertical, entao a direcao sozinha
     diz "mesmo lugar, outro passo" em vez de "outra tela". */
  animation: pq-step-in .18s cubic-bezier(.2, .8, .2, 1);
}

.onb-page--back .onb-step {
  animation-name: pq-step-in-back;
}

@keyframes pq-step-in {
  from { opacity: 0; transform: translateX(12px); }
  to { opacity: 1; transform: translateX(0); }
}

@keyframes pq-step-in-back {
  from { opacity: 0; transform: translateX(-12px); }
  to { opacity: 1; transform: translateX(0); }
}

.onb-step h1 {
  margin: 0 0 6px;
  font-size: 24px;
  font-weight: 800;
  letter-spacing: -.02em;
}

.onb-step > p {
  margin: 0 0 22px;
  color: var(--pq-muted);
  font-size: 14px;
}

/* .btn.block ja declara margin-top e tem duas classes; um seletor de uma
   classe so perderia e o botao ficaria colado no conteudo. */
.onb-step .btn.onb-next {
  margin-top: auto;
}

/* Duas colunas, nao tres: "Meio-campo" e "Jogo de tudo" nao cabem em um
   terco da tela e vazavam para fora do cartao. */
.onb-page [data-onb-positions] {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.onb-levels {
  grid-template-columns: 1fr;
}

.onb-levels label span {
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
  text-align: left;
}

.onb-levels label small {
  color: var(--pq-muted);
  font-size: 12px;
  font-weight: 500;
}

.onb-step--done {
  align-items: center;
  justify-content: center;
  text-align: center;
}

.onb-check {
  display: inline-flex;
  width: 76px;
  height: 76px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  margin-bottom: 20px;
  background: var(--pq-brand);
  color: #fff;
  /* Reusa o pop que a tela de aprovacao ja usa — mesma sensacao de "deu
     certo", sem inventar um segundo vocabulario. */
  animation: pq-approval-success-pop .5s cubic-bezier(.2, .9, .25, 1.25) both;
}

.onb-check .ic { width: 38px; height: 38px; stroke-width: 3; }

.onb-hint {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 14px;
  border-radius: 14px;
  margin: 20px 0;
  background: var(--pq-signal-soft);
  color: var(--pq-brand-strong);
  font-size: 13px;
  line-height: 1.45;
  text-align: left;
}

.onb-hint .ic { flex: 0 0 auto; width: 18px; height: 18px; }

.onb-step--done .btn { width: 100%; margin-top: auto; }

/* ── Resultado da busca de clube ── */

.club-hit .btn-xs {
  padding: 8px 14px;
  font-size: 12px;
}

/* ── Código do clube e zona de risco ── */

.club-code {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 6px 5px 12px;
  border: 1px dashed var(--pq-line);
  border-radius: 999px;
  margin-top: 12px;
  background: var(--pq-paper);
}

.club-code__value {
  color: var(--pq-brand-strong);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: .08em;
}

.club-code__btn {
  display: inline-flex;
  width: 30px;
  height: 30px;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 50%;
  background: #fff;
  color: var(--pq-brand-strong);
  cursor: pointer;
}

.club-code__btn .ic { width: 15px; height: 15px; }
.club-code__btn:active { transform: translateY(1px); }

.club-danger {
  padding-top: 20px;
  margin-top: 20px;
  border-top: 1px solid var(--pq-line);
}

.club-danger__delete {
  border-color: #f2c7c7;
  color: #c0392b;
}

.club-danger__delete:disabled {
  border-color: var(--pq-line);
  color: var(--pq-muted);
  opacity: .6;
}

.club-danger__hint {
  margin: 8px 0 0;
  color: var(--pq-muted);
  font-size: 12px;
  text-align: center;
}

.member-remove {
  display: inline-flex;
  width: 32px;
  height: 32px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--pq-line);
  border-radius: 50%;
  background: #fff;
  color: #c0392b;
  cursor: pointer;
}

.member-remove .ic { width: 16px; height: 16px; }

/* ── Ficha de jogador no Perfil ── */

.player-card {
  padding: 16px;
  border: 1px solid var(--pq-line);
  border-radius: 18px;
  margin: 16px 0;
  background: var(--pq-panel);
}

.player-card__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 14px;
}

.player-card__head h2 {
  margin: 0;
  font-size: 15px;
  font-weight: 800;
}

.player-card__edit {
  border: 0;
  background: none;
  color: var(--pq-brand-strong);
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
}

.player-card__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px 10px;
}

.player-card__grid span {
  display: block;
  margin-bottom: 2px;
  color: var(--pq-muted);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.player-card__grid strong {
  font-size: 15px;
  font-weight: 700;
}

/* baseline, e nao flex-start: com o texto como no solto, o half-leading da
   linha empurrava as letras ~4px para baixo e o icone ficava boiando acima
   delas. O <span> em volta do texto e o que da uma baseline para alinhar. */
.player-card__hint {
  display: flex;
  align-items: baseline;
  gap: 8px;
  padding: 12px;
  border-radius: 12px;
  margin: 16px 0 0;
  background: var(--pq-signal-soft);
  color: var(--pq-brand-strong);
  font-size: 12.5px;
  line-height: 1.45;
}

.player-card__hint .ic { position: relative; top: 2px; flex: 0 0 auto; width: 16px; height: 16px; }

.auth-error {
  padding: 10px 12px;
  border: 1px solid #f2c7c7;
  border-radius: 12px;
  margin: 0 0 12px;
  background: #fdf2f2;
  color: #c0392b;
  font-size: 13px;
}

/* Nota da tela de Pagamento: diz por que nao ha saldo. */
.payment-note {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  padding: 13px 14px;
  border-radius: 14px;
  margin: 18px 0 0;
  background: var(--pq-signal-soft);
  color: var(--pq-brand-strong);
  font-size: 12.5px;
  line-height: 1.45;
}

.payment-note .ic { flex: 0 0 auto; width: 17px; height: 17px; }
