/* The Crypto Taxi — estilos por sección */

/* ================= CIUDAD ================= */
.view--city { position: relative; height: calc(100dvh - var(--topbar-h) - 8px); overflow: hidden; }
.city { position: absolute; inset: 0; }
.city__scene { position: absolute; inset: 0; }
.city__chips { position: absolute; z-index: 6; top: 14px; left: 18px; right: 18px; display: flex; flex-wrap: wrap; gap: 8px; pointer-events: none; }
.city__chips > * { pointer-events: auto; }
.city__event {
  display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px 7px 10px; border-radius: 99px; font-size: 13px; color: var(--text-dim);
  background: linear-gradient(90deg, rgba(255, 198, 41, .22), rgba(18, 22, 32, .85)); border: 1px solid rgba(255, 198, 41, .5); backdrop-filter: blur(6px);
  transition: transform .2s var(--ease-spring);
}
.city__event:hover { transform: translateY(-1px); }
.city__event .i { color: var(--taxi); width: 16px; height: 16px; }
.city__event b { color: var(--text); }
.city__online {
  position: relative; display: inline-flex; align-items: center; gap: 6px; padding: 7px 14px 7px 12px;
  border-radius: 99px; background: rgba(18, 22, 32, .8); border: 1px solid var(--line-strong); color: var(--text-dim); font-size: 13px; backdrop-filter: blur(6px);
}
.city__online b { color: var(--text); font-variant-numeric: tabular-nums; }
.city__dot { width: 9px; height: 9px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 3px rgba(61, 219, 168, .25); animation: pulse 1.6s ease-in-out infinite; }
.dispatch {
  position: absolute; left: 18px; bottom: 18px; z-index: 6; width: 340px; max-height: calc(100% - 90px); display: flex; flex-direction: column;
  border-radius: 20px; background: rgba(18, 22, 32, .9); border: 1px solid var(--line-strong); box-shadow: var(--shadow-3); backdrop-filter: blur(10px);
  overflow: hidden; animation: toast-in .5s .2s var(--ease-spring) both;
}
.dispatch__head { display: flex; align-items: center; gap: 12px; width: 100%; padding: 14px 16px; border: 0; background: none; text-align: left; }
.dispatch__head strong { display: block; font-size: 15px; }
.dispatch__head small { color: var(--text-dim); font-size: 12.5px; }
.dispatch__head > span:nth-child(2) { flex: 1; }
.dispatch__radio { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 12px; background: var(--taxi); color: var(--text-on-taxi); box-shadow: 0 0 0 4px rgba(255, 198, 41, .15); }
.dispatch__caret { color: var(--text-dim); }
.dispatch__body { overflow: auto; padding: 0 12px 12px; }
.dispatch.is-collapsed .dispatch__body { display: none; }
.dispatch__label { font-size: 11.5px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--text-mute); margin: 10px 6px 6px; }
.dispatch__list { display: grid; gap: 6px; }
.dispatch__empty { display: flex; gap: 8px; padding: 10px 6px; font-size: 13.5px; color: var(--text-dim); }
.dispatch__foot { display: flex; justify-content: space-between; margin-top: 10px; padding: 10px 8px 2px; border-top: 1px solid var(--line); font-size: 13px; color: var(--text-dim); }
.dispatch__foot b { color: var(--usdt-bright); font-variant-numeric: tabular-nums; }
.dispatch .link-btn { display: block; margin: 8px 6px 0; }
.drow { display: flex; align-items: center; gap: 10px; padding: 8px; border-radius: 14px; background: rgba(255, 255, 255, .04); }
.drow__art { flex: none; width: 72px; }
.drow__main { flex: 1; min-width: 0; display: grid; gap: 4px; }
.drow__main b { font-size: 13.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.drow__main small { color: var(--text-dim); font-size: 12px; }
.drow .quota__pips i { width: 5px; height: 10px; }

/* ================= COCHERA ================= */
.garage__wall { position: relative; }
.garage .seg { margin-bottom: 18px; }
.bays { display: grid; grid-template-columns: repeat(auto-fill, minmax(310px, 1fr)); gap: 18px; }
.bay {
  position: relative; display: grid; grid-template-rows: 176px auto; border-radius: 22px; overflow: hidden; cursor: pointer;
  background: var(--asphalt-850); border: 1px solid var(--line); transition: transform .25s var(--ease-out), border-color .25s, box-shadow .25s;
  --lamp: var(--text-mute);
}
.bay:hover { transform: translateY(-3px); border-color: var(--line-strong); box-shadow: var(--shadow-2); }
.bay--ready { --lamp: var(--ok); }
.bay--trip, .bay--rented-trip { --lamp: var(--taxi); }
.bay--rented { --lamp: var(--violet); }
.bay__stage {
  position: relative; display: grid; place-items: end center; padding-bottom: 18px; overflow: hidden;
  background:
    linear-gradient(180deg, transparent 0 56%, rgba(0, 0, 0, .25) 56% 57%, transparent 57%),
    repeating-linear-gradient(180deg, #2B3245 0 11px, #262C3D 11px 13px) top / 100% 56% no-repeat,
    linear-gradient(180deg, #2E3446 56%, #262B39 80%, #1F2431 100%);
}
.bay__stage::before { /* luz del techo */
  content: ""; position: absolute; top: 0; left: 50%; width: 260px; height: 190px; translate: -50% 0; pointer-events: none;
  background: radial-gradient(ellipse at 50% 0%, color-mix(in srgb, var(--lamp) 22%, transparent) 0%, transparent 65%);
}
.bay__lines::before, .bay__lines::after {
  content: ""; position: absolute; bottom: 0; width: 6px; height: 46%; background: var(--taxi); opacity: .75; border-radius: 3px 3px 0 0;
}
.bay__lines::before { left: 9%; transform: skewX(18deg); }
.bay__lines::after { right: 9%; transform: skewX(-18deg); }
.bay__road {
  position: absolute; left: 0; right: 0; bottom: 0; height: 44%;
  background:
    repeating-linear-gradient(90deg, rgba(255, 255, 255, .55) 0 34px, transparent 34px 70px) 0 62% / 140px 4px repeat-x,
    linear-gradient(180deg, #343A4C, #22273A);
  animation: road 0.7s linear infinite;
}
.bay__road::before { /* líneas de velocidad */
  content: ""; position: absolute; left: 0; right: 0; bottom: 100%; height: 70px;
  background: repeating-linear-gradient(90deg, rgba(255, 255, 255, .07) 0 60px, transparent 60px 140px) 0 30% / 280px 2px repeat-x,
              repeating-linear-gradient(90deg, rgba(255, 255, 255, .05) 0 40px, transparent 40px 120px) 0 70% / 200px 2px repeat-x;
  animation: road 0.5s linear infinite;
}
@keyframes road { to { background-position-x: -140px, 0; } }
.bay__car { position: relative; width: 80%; max-width: 270px; filter: drop-shadow(0 10px 7px rgba(0, 0, 0, .5)); transition: transform .35s var(--ease-spring); }
.bay:hover .bay__car { transform: translateY(-4px) scale(1.02); }
.bay__num { position: absolute; z-index: 2; top: 12px; left: 16px; font-family: var(--font-display); font-size: 22px; color: rgba(255, 198, 41, .85); text-shadow: 0 2px 0 rgba(0, 0, 0, .4); }
.bay__num .i { width: 20px; height: 20px; }
.bay__lamp { position: absolute; z-index: 2; top: 16px; right: 16px; width: 12px; height: 12px; border-radius: 50%; background: var(--lamp); box-shadow: 0 0 0 4px color-mix(in srgb, var(--lamp) 20%, transparent), 0 0 14px var(--lamp); }
.bay--trip .bay__lamp, .bay--rented-trip .bay__lamp { animation: pulse 1.2s ease-in-out infinite; }
.bay__info { display: grid; gap: 10px; padding: 16px 18px 18px; align-content: start; }
.bay__title { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.bay__title h3 { font-size: 17px; }
.bay__meta { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; font-size: 13px; }
.bay__status { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.bay__shifts { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.bay__shift { display: flex; align-items: center; gap: 6px; padding: 6px 8px; border-radius: 9px; background: rgba(0, 0, 0, .22); font-size: 12px; color: var(--text-dim); min-width: 0; }
.bay__shift > span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.bay__shift b { color: var(--text); font-weight: 600; }
.bay__shift .i { width: 14px; height: 14px; flex: none; }
.bay__shift.is-me .i { color: var(--taxi); }
.bay__shift.is-listed { background: rgba(255, 182, 72, .08); }
.bay__shift.is-listed b { color: var(--warn); }
.bay__actions { display: flex; gap: 8px; }
.bay__actions .btn--primary { flex: 1; }
.bay--empty {
  display: grid; place-content: center; justify-items: center; gap: 6px; min-height: 360px; grid-template-rows: none; text-align: center;
  background: repeating-linear-gradient(135deg, rgba(255, 255, 255, .015) 0 14px, transparent 14px 28px); border: 2px dashed var(--line-strong); color: var(--text-dim);
}
.bay--empty small { color: var(--text-mute); }
.bay__plus { display: grid; place-items: center; width: 64px; height: 64px; margin-bottom: 8px; border-radius: 20px; background: rgba(255, 198, 41, .1); color: var(--taxi); transition: transform .3s var(--ease-spring); }
.bay__plus .i { width: 30px; height: 30px; }
.bay--empty:hover .bay__plus { transform: rotate(90deg) scale(1.08); }

.bay__bonus {
  position: absolute; z-index: 2; left: 50%; bottom: 8px; translate: -50% 0; display: inline-flex; align-items: center; gap: 5px; white-space: nowrap;
  height: 24px; padding: 0 10px; border-radius: 99px; background: var(--taxi); color: var(--text-on-taxi); font-size: 11.5px; font-weight: 800;
  box-shadow: 0 3px 0 #A87C00, 0 0 18px rgba(255, 198, 41, .4); font-variant-numeric: tabular-nums;
}
.bay__bonus .i { width: 13px; height: 13px; }

.life { display: flex; align-items: center; gap: 8px; }
.life__ic { color: var(--ok); display: inline-flex; }
.life__ic .i { width: 15px; height: 15px; }
.life__bar { flex: 1; height: 6px; border-radius: 99px; background: rgba(255, 255, 255, .08); overflow: hidden; }
.life__bar i { display: block; height: 100%; border-radius: inherit; background: var(--ok); }
.life small { color: var(--text-mute); font-size: 12px; white-space: nowrap; font-variant-numeric: tabular-nums; }
.life.is-infinite .life__ic { font-size: 17px; font-weight: 800; line-height: 1; width: 15px; justify-content: center; }
.life.is-infinite .life__bar i { background: linear-gradient(90deg, var(--ok), var(--info)); }
.life.is-mid .life__ic { color: var(--warn); }
.life.is-mid .life__bar i { background: var(--warn); }
.life.is-low .life__ic, .life.is-dead .life__ic { color: var(--danger); }
.life.is-low .life__bar i { background: var(--danger); }
.life.is-low small { color: #FF8C8F; }
.bay--broken { --lamp: var(--danger); }
.bay--broken .bay__car { filter: grayscale(1) brightness(.55) drop-shadow(0 10px 7px rgba(0, 0, 0, .5)); }
.bay--broken:hover .bay__car { transform: none; }
.bay__stamp {
  position: absolute; z-index: 3; top: 50%; left: 50%; translate: -50% -60%; rotate: -10deg; padding: 4px 14px; border: 3px solid #FF5A5F; border-radius: 8px;
  font-family: var(--font-display); font-size: 22px; letter-spacing: .08em; color: #FF5A5F; background: rgba(18, 22, 32, .55);
}
.bay__smoke { position: absolute; z-index: 2; left: 50%; bottom: 60px; translate: -50% 0; pointer-events: none; }
.bay__smoke i { position: absolute; width: 26px; height: 26px; border-radius: 50%; background: rgba(160, 168, 182, .55); animation: smoke 2.6s ease-out infinite; }
.bay__smoke i:nth-child(2) { left: 14px; animation-delay: -.9s; }
.bay__smoke i:nth-child(3) { left: -14px; animation-delay: -1.7s; }
@keyframes smoke { from { transform: translateY(0) scale(.5); opacity: .8; } to { transform: translateY(-70px) scale(1.6); opacity: 0; } }
.lcard__life { display: flex; align-items: center; gap: 6px; font-size: 12.5px; color: var(--text-dim); }
.lcard__life .i { width: 14px; height: 14px; color: var(--ok); }
.lcard__life b { color: var(--text); }
.lcard__life.is-low .i, .lcard__life.is-low b { color: #FF8C8F; }
.pillm { display: grid; gap: 14px; }
.pillm__hero { display: flex; gap: 14px; align-items: center; padding: 14px; border-radius: 16px; background: linear-gradient(90deg, rgba(255, 90, 95, .12), transparent 70%), rgba(0, 0, 0, .2); }
.pillm__hero p { color: var(--text-dim); font-size: 13.5px; }
.pillm__big .pill-ic { width: 56px; height: 56px; filter: drop-shadow(0 6px 8px rgba(0, 0, 0, .4)); animation: emblem-float 3s ease-in-out infinite; }
.pillm__list { display: grid; gap: 6px; max-height: 340px; overflow: auto; }
.pillm__row { display: flex; align-items: center; gap: 12px; padding: 8px 10px; border-radius: 14px; background: rgba(255, 255, 255, .04); }
.pillm__row.is-focus { box-shadow: inset 0 0 0 1.5px var(--taxi); }
.pillm__art { width: 80px; flex: none; }
.pillm__main { flex: 1; min-width: 0; display: grid; }
.pillm__main small { color: var(--text-mute); font-size: 12.5px; }
.pillm__main em { color: #FF8C8F; font-style: normal; font-weight: 700; }

/* panel del auto (drawer) */
.carp { display: grid; gap: 16px; }
.carp__stage { position: relative; height: 190px; display: grid; place-items: end center; padding-bottom: 20px; border-radius: 20px; overflow: hidden; background: linear-gradient(180deg, #2B3245, #1D2230); }
.carp__glow { position: absolute; inset: 0; background: radial-gradient(ellipse at 50% 100%, color-mix(in srgb, var(--rc) 35%, transparent), transparent 70%); }
.carp__car { position: relative; width: 78%; filter: drop-shadow(0 12px 8px rgba(0, 0, 0, .5)); }
.carp__row { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.carp__blurb { color: var(--text-dim); font-size: 14.5px; }
.carp .panel { padding: 16px; }
.srow { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 8px 10px; padding: 12px 0; border-top: 1px solid var(--line); }
.srow__desc { grid-row: 2; grid-column: 1 / -1; font-size: 13.5px; color: var(--text-dim); }
.srow__desc b { color: var(--text); }
.srow.is-me .shift-chip { box-shadow: inset 0 0 0 1.5px currentColor; }
.publish { display: grid; gap: 12px; padding: 14px; margin: 4px 0 8px; border-radius: 14px; background: rgba(255, 198, 41, .05); border: 1px solid rgba(255, 198, 41, .2); animation: toast-in .3s var(--ease-out); }
.publish__head strong { display: block; }
.publish__head small { color: var(--text-dim); font-size: 12.5px; }
.range-field { display: grid; gap: 4px; font-size: 13px; color: var(--text-dim); font-weight: 600; }
.split { display: grid; gap: 8px; }
.split__bar { display: flex; height: 30px; border-radius: 10px; overflow: hidden; font-size: 12px; font-weight: 800; }
.split__bar span { display: flex; align-items: center; padding: 0 10px; white-space: nowrap; overflow: hidden; transition: width .2s var(--ease-out); min-width: 0; }
.split__owner { background: var(--taxi); color: var(--text-on-taxi); }
.split__renter { background: var(--usdt); color: #fff; justify-content: flex-end; }
.split__est { display: flex; flex-direction: column; gap: 2px; font-size: 13px; color: var(--text-dim); }
.split--mini .split__bar { height: 24px; font-size: 11px; border-radius: 8px; }

/* ================= CONCESIONARIA ================= */
.wallet-mini { display: flex; align-items: center; gap: 12px; padding: 8px 8px 8px 16px; border-radius: 14px; background: var(--asphalt-850); border: 1px solid var(--line); }
.timeline { position: relative; display: grid; grid-template-columns: repeat(12, 1fr); align-items: end; margin: 6px 0 22px; padding: 0 6px; }
.timeline__track { position: absolute; left: 3%; right: 3%; bottom: 9px; height: 4px; border-radius: 4px; background: repeating-linear-gradient(90deg, var(--asphalt-600) 0 12px, transparent 12px 18px); }
.timeline__dot { position: relative; display: grid; justify-items: center; gap: 8px; padding: 0; border: 0; background: none; color: var(--text-mute); }
.timeline__year { font-family: var(--font-display); font-size: 15px; transition: color .2s, transform .25s var(--ease-spring); }
.timeline__pin { width: 22px; height: 22px; border-radius: 50%; background: var(--asphalt-700); border: 3px solid var(--asphalt-500); transition: all .25s var(--ease-spring); }
.timeline__dot.is-owned .timeline__pin { border-color: var(--rc); background: color-mix(in srgb, var(--rc) 30%, var(--asphalt-800)); }
.timeline__dot:hover .timeline__year { color: var(--text); transform: translateY(-2px); }
.timeline__dot.is-on .timeline__year { color: var(--rc); transform: scale(1.15) translateY(-2px); }
.timeline__dot.is-on .timeline__pin { background: var(--rc); border-color: #fff; box-shadow: 0 0 0 5px color-mix(in srgb, var(--rc) 30%, transparent), 0 0 20px var(--rc); }
.timeline__owned { position: absolute; top: -16px; right: 12%; min-width: 18px; height: 18px; padding: 0 4px; border-radius: 99px; background: var(--ok); color: #063; font-size: 11px; font-weight: 800; display: grid; place-items: center; }

.showroom { display: grid; grid-template-columns: 1.35fr 1fr; border-radius: 26px; overflow: hidden; border: 1px solid var(--line-strong); background: var(--asphalt-850); }
.showroom__stage { position: relative; min-height: 380px; display: grid; place-items: end center; padding-bottom: 70px; overflow: hidden; background: linear-gradient(180deg, #252C3D 0%, #1A1F2C 62%, #12161F 62.2%, #161B26 100%); }
.showroom__spot { position: absolute; top: -40%; left: 50%; width: 520px; height: 640px; translate: -50% 0; background: radial-gradient(ellipse at 50% 30%, color-mix(in srgb, var(--rc) 28%, rgba(255, 255, 255, .12)) 0%, transparent 62%); pointer-events: none; }
.showroom__floor { position: absolute; left: 0; right: 0; bottom: 0; height: 38%; background: radial-gradient(ellipse at 50% 0%, color-mix(in srgb, var(--rc) 18%, transparent), transparent 65%); }
.showroom__year {
  position: absolute; top: 18px; left: 50%; translate: -50% 0; font-family: var(--font-display); font-size: clamp(80px, 12vw, 150px); line-height: 1;
  color: transparent; -webkit-text-stroke: 2px rgba(255, 255, 255, .08); pointer-events: none; user-select: none;
}
.showroom__car { position: relative; z-index: 1; width: min(80%, 520px); -webkit-box-reflect: below -14px linear-gradient(transparent 55%, rgba(255, 255, 255, .16)); filter: drop-shadow(0 16px 12px rgba(0, 0, 0, .5)); }
.showroom__nav { position: absolute; z-index: 2; top: 45%; width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--line-strong); background: rgba(0, 0, 0, .35); color: var(--text); display: grid; place-items: center; transition: background-color .2s, transform .2s; }
.showroom__nav:hover { background: rgba(255, 198, 41, .2); transform: scale(1.06); }
.showroom__nav--prev { left: 16px; }
.showroom__nav--next { right: 16px; }
.showroom__info { display: grid; gap: 12px; align-content: start; padding: 30px 30px 28px; border-left: 1px solid var(--line); }
.showroom__tags { display: flex; gap: 8px; flex-wrap: wrap; }
.showroom__info h2 { font-family: var(--font-display); font-weight: 400; font-size: 32px; }
.showroom__nick { color: var(--rc); font-weight: 700; margin-top: -6px; }
.showroom__blurb { color: var(--text-dim); }
.spec-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 4px; }
.spec { padding: 12px 14px; border-radius: 14px; background: rgba(0, 0, 0, .25); }
.spec small { display: block; font-size: 12px; color: var(--text-mute); margin-bottom: 4px; }
.spec b { font-size: 17px; font-variant-numeric: tabular-nums; }
.spec em { font-style: normal; font-size: 13px; color: var(--text-dim); font-weight: 500; }
/* Si queda un dato solo en la última fila, ocupa todo el ancho */
.spec-grid > .spec:last-child:nth-child(odd) { grid-column: 1 / -1; }
.buybar { display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap; margin-top: 8px; padding-top: 18px; border-top: 1px solid var(--line); }
.buybar__price small { display: block; font-size: 12px; color: var(--text-mute); }
.buybar__missing { display: grid; gap: 8px; justify-items: end; font-size: 13.5px; color: var(--text-dim); }
.buybar__missing b { color: var(--cash-bright); }
.gift { display: inline-flex; align-items: center; gap: 8px; font-size: 20px; color: var(--ok); }
.excl { display: inline-flex; align-items: center; gap: 8px; font-size: 20px; color: var(--r-exclusive); font-style: normal; }
.mcard__price .excl, .mtable .excl { font-size: inherit; font-weight: 700; }
.excl-note { display: grid; gap: 10px; justify-items: start; max-width: 320px; }
.excl-note p { color: var(--text-dim); font-size: 13.5px; }

.catalog { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 14px; }
.mcard {
  position: relative; display: grid; gap: 4px; padding: 14px; border-radius: 18px; text-align: left; border: 1px solid var(--line); background: var(--asphalt-850);
  transition: transform .25s var(--ease-out), border-color .2s, box-shadow .2s;
}
.mcard:hover { transform: translateY(-3px); border-color: color-mix(in srgb, var(--rc) 50%, transparent); box-shadow: 0 10px 30px color-mix(in srgb, var(--rc) 12%, transparent); }
.mcard.is-on { border-color: var(--rc); box-shadow: 0 0 0 1px var(--rc), 0 10px 30px color-mix(in srgb, var(--rc) 18%, transparent); }
.mcard__year { font-family: var(--font-display); font-size: 20px; color: var(--rc); }
.mcard__art { height: 92px; display: grid; place-items: end center; margin: 0 -4px 6px; border-radius: 12px; background: radial-gradient(ellipse at 50% 100%, color-mix(in srgb, var(--rc) 16%, transparent), transparent 70%); }
.mcard__art .veh { width: 92%; }
.mcard__body { display: grid; gap: 3px; }
.mcard__body strong { font-size: 14.5px; }
.mcard__nick { color: var(--text-mute); font-size: 12px; margin-top: -2px; }
.mcard__earn { font-size: 12.5px; color: var(--usdt-bright); display: flex; align-items: center; gap: 4px; }
.mcard__earn .i { width: 14px; height: 14px; }
.mcard__price { margin-top: 4px; }
.mcard__price em { color: var(--ok); font-style: normal; font-weight: 700; }
.mcard__owned { position: absolute; top: 14px; right: 14px; display: inline-flex; align-items: center; gap: 3px; height: 22px; padding: 0 8px; border-radius: 99px; background: rgba(61, 219, 168, .14); color: var(--ok); font-size: 12px; font-weight: 800; }
.mcard__owned .i { width: 12px; height: 12px; }
.mcard__limit { font-size: 11.5px; color: var(--text-mute); font-weight: 600; }
.mcard__limit.is-full { color: #FF8C8F; }
.buy-count { margin-left: 4px; padding: 1px 7px; border-radius: 99px; background: rgba(0, 0, 0, .15); font-size: 12px; font-weight: 800; }

/* ================= ALQUILER ================= */
.rules-strip { display: flex; flex-wrap: wrap; gap: 8px 20px; padding: 12px 16px; margin-bottom: 20px; border-radius: 14px; background: var(--asphalt-850); border: 1px solid var(--line); font-size: 13.5px; color: var(--text-dim); }
.rules-strip span { display: inline-flex; align-items: center; gap: 7px; }
.rules-strip .i { width: 16px; height: 16px; color: var(--taxi); }
.rules-strip b { color: var(--text); }
.filters { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-bottom: 18px; }
.chip--x { border-color: var(--taxi); color: var(--taxi); }
.lgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: 16px; }
.lcard { display: grid; grid-template-rows: 150px auto; border-radius: 20px; overflow: hidden; border: 1px solid var(--line); background: var(--asphalt-850); transition: transform .25s var(--ease-out), box-shadow .25s, border-color .2s; }
.lcard:hover { transform: translateY(-3px); box-shadow: var(--shadow-2); border-color: var(--line-strong); }
.lcard__art {
  position: relative; display: grid; place-items: end center; padding-bottom: 14px;
  background: linear-gradient(180deg, color-mix(in srgb, var(--rc) 16%, #283041) 0%, #222838 70%, #1B202C 70%, #1B202C 100%);
}
.lcard__art::after { content: ""; position: absolute; left: 0; right: 0; bottom: 15%; height: 3px; background: repeating-linear-gradient(90deg, rgba(255, 255, 255, .35) 0 22px, transparent 22px 44px); }
.lcard__art .veh { position: relative; z-index: 1; width: 74%; filter: drop-shadow(0 8px 6px rgba(0, 0, 0, .45)); }
.lcard__year { position: absolute; top: 10px; left: 14px; font-family: var(--font-display); font-size: 22px; color: rgba(255, 255, 255, .85); }
.lcard__body { display: grid; gap: 11px; padding: 16px; }
.lcard__title { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.lcard__title h3 { font-size: 16px; }
.lcard__owner { display: flex; align-items: center; gap: 10px; font-size: 13.5px; }
.lcard__owner small { display: flex; align-items: center; gap: 4px; color: var(--text-mute); font-size: 12px; }
.lcard__owner small .i { width: 12px; height: 12px; color: var(--warn); }
.lcard__est { display: flex; align-items: baseline; gap: 6px; flex-wrap: wrap; font-size: 13px; color: var(--text-dim); }
.lcard__est small { color: var(--text-mute); }
.lcard__foot { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding-top: 10px; border-top: 1px solid var(--line); }
.mylist { display: grid; gap: 12px; }
.myl { display: flex; align-items: center; gap: 16px; padding: 14px 16px; border-radius: 18px; background: var(--asphalt-850); border: 1px solid var(--line); }
.myl__art { width: 120px; flex: none; }
.myl__body { flex: 1; display: grid; gap: 8px; }
.myl__body h3 { display: flex; align-items: center; gap: 10px; font-size: 16px; }
.myl__row { display: flex; gap: 8px; flex-wrap: wrap; }
.myl .muted { font-size: 13px; display: flex; align-items: center; gap: 8px; }

/* Pizarra de novedades: marco de madera, pizarra verde y texto "de tiza" */
.modal-wrap--chalk .modal { background: none; border: 0; box-shadow: none; overflow: visible; }
.modal-wrap--chalk .modal__body { padding: 0; }
.chalk {
  position: relative; display: grid; gap: 14px; padding: 26px 24px 16px; border-radius: 16px; color: rgba(243, 245, 249, .92);
  border: 12px solid #A8692F; box-shadow: inset 0 0 0 2px rgba(0, 0, 0, .35), 0 0 0 2px #6B4220, var(--shadow-3);
  background: radial-gradient(120% 90% at 15% 0%, rgba(255, 255, 255, .07), transparent 55%), radial-gradient(80% 60% at 100% 100%, rgba(255, 255, 255, .04), transparent 60%), #22312A;
}
.chalk__x { position: absolute; top: 8px; right: 8px; color: rgba(243, 245, 249, .75); }
.chalk__head { text-align: center; padding: 0 34px; }
.chalk__head h2 { font-family: var(--font-display); font-weight: 400; font-size: 30px; letter-spacing: .04em; text-transform: uppercase; color: #F7F3E8; text-shadow: 0 0 1px rgba(255, 255, 255, .6), 0 0 10px rgba(255, 255, 255, .12); }
.chalk__head p { margin: 2px 0 0; font-size: 13.5px; color: rgba(243, 245, 249, .6); }
.chalk__list { display: grid; max-height: min(58dvh, 520px); overflow: auto; padding-right: 4px; scrollbar-color: rgba(243, 245, 249, .25) transparent; }
.chalk__item { padding: 14px 2px; border-top: 2px dashed rgba(243, 245, 249, .18); }
.chalk__item:first-child { border-top: 0; padding-top: 4px; }
.chalk__meta { display: flex; align-items: center; gap: 8px; font-size: 12px; color: rgba(243, 245, 249, .55); }
.chalk__new { padding: 1px 8px; border-radius: 99px; background: #FF5A5F; color: #fff; font-weight: 700; font-size: 11px; }
.chalk__item h3 { margin: 4px 0 6px; font-size: 17px; line-height: 1.3; color: var(--taxi); text-shadow: 0 0 8px rgba(255, 198, 41, .18); }
.chalk__body p { margin: 0 0 8px; font-size: 14.5px; line-height: 1.55; overflow-wrap: anywhere; }
.chalk__body p:last-child { margin-bottom: 0; }
.chalk__empty { margin: 0; padding: 24px 0; text-align: center; color: rgba(243, 245, 249, .6); }
.chalk__tray { display: flex; align-items: center; gap: 10px; height: 14px; margin: 2px -12px -4px; padding: 0 20px; border-radius: 4px; background: #7E4D22; box-shadow: inset 0 2px 0 rgba(255, 255, 255, .12); }
.chalk__piece { display: block; width: 26px; height: 6px; border-radius: 3px; background: #F3F5F9; }
.chalk__piece--y { width: 18px; background: #FFE38A; }
.chalk__eraser { display: block; margin-left: auto; width: 46px; height: 12px; border-radius: 3px; background: linear-gradient(#5A6D8C 0 40%, #E9DCC7 40%); }
@media (max-width: 560px) {
  .chalk { padding: 22px 14px 12px; border-width: 9px; }
  .chalk__head h2 { font-size: 24px; }
}

/* Banners para invitar (Referidos) */
.bnrs__lead { margin: 0 0 14px; color: var(--text-dim); }
.bnrs__link { margin-bottom: 18px; }
.refbox--link.bnrs__link code { flex: 1 1 220px; white-space: normal; text-overflow: clip; overflow-wrap: anywhere; }
.bnrs { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 200px), 1fr)); gap: 14px; margin-bottom: 14px; }
.bnr { margin: 0; display: grid; gap: 10px; align-content: start; padding: 12px; border-radius: 16px; background: var(--asphalt-850); border: 1px solid var(--line); min-width: 0; }
.bnr--wide { grid-column: 1 / -1; }
.bnr__img { display: grid; place-items: center; min-height: 90px; padding: 10px; border-radius: 12px; background: rgba(0, 0, 0, .3); overflow: hidden; }
.bnr__img img { display: block; max-width: 100%; height: auto; border-radius: 4px; box-shadow: 0 0 0 1px var(--line); }
.bnr:not(.bnr--wide) .bnr__img img { max-height: 320px; width: auto; }
.bnr figcaption { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px; }
.bnr figcaption b { font-variant-numeric: tabular-nums; }
.bnr__btns { display: flex; flex-wrap: wrap; gap: 6px; }
/* En las tarjetas angostas (y en el celular): GIF y PNG en una fila y el código HTML abajo, todos parejos */
.bnr:not(.bnr--wide) figcaption { flex-direction: column; align-items: stretch; }
.bnr:not(.bnr--wide) .bnr__btns { display: grid; grid-template-columns: 1fr auto; }
.bnr:not(.bnr--wide) .bnr__btns .btn { justify-content: center; }
.bnr:not(.bnr--wide) .bnr__btns [data-bn-code] { grid-column: 1 / -1; }
@media (max-width: 560px) {
  .bnr figcaption { flex-direction: column; align-items: stretch; }
  .bnr__btns { display: grid; grid-template-columns: 1fr auto; }
  .bnr__btns .btn { justify-content: center; }
  .bnr__btns [data-bn-code] { grid-column: 1 / -1; }
}

/* Historial de la Central de Alquileres */
.mhist { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: minmax(0, 1fr); gap: 10px; }
.mhist__item { display: flex; align-items: center; gap: 14px; padding: 12px 16px; border-radius: 18px; background: var(--asphalt-850); border: 1px solid var(--line); }
.mhist__item.is-finished { border-color: rgba(61, 219, 168, .28); }
.mhist__body { flex: 1; min-width: 0; display: grid; gap: 4px; }
.mhist__body p { margin: 0; }
.mhist__body small { margin-left: 6px; font-size: 12.5px; }
.mhist__text { color: var(--text-dim); font-size: 14px; }
.mhist__text b { color: var(--text); }
.mhist__tags { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin-top: 4px; }
.mhist__tags .money { font-size: inherit; }
.mhist__art { width: 96px; flex: none; }
@media (max-width: 520px) {
  .mhist__item { align-items: flex-start; padding: 12px; gap: 10px; }
  .mhist__art { width: 64px; }
}

.contract-doc { padding: 18px; border-radius: 16px; background: linear-gradient(180deg, #FBF7EC, #F1EAD8); color: #2A2418; }
.contract-doc__head { display: flex; align-items: center; gap: 12px; padding-bottom: 12px; border-bottom: 1.5px dashed rgba(42, 36, 24, .25); }
.contract-doc__head small { display: block; color: #7A6E55; }
.contract-doc__seal { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; background: #2A2418; color: var(--taxi); }
.contract-doc__art { width: 110px; margin-left: auto; }
.contract-doc__clauses { margin: 14px 0; padding-left: 20px; display: grid; gap: 7px; font-size: 14px; }
.contract-doc__est { padding: 10px 12px; border-radius: 10px; background: rgba(38, 161, 123, .12); font-size: 14px; }
.contract-doc .money--usdt { color: #0E7A58; }

.pubm h4 { font-size: 13px; color: var(--text-dim); margin: 16px 0 8px; }
.pubm h4:first-child { margin-top: 0; }
.pick-cars { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 4px; }
.pick-car { flex: none; display: grid; justify-items: center; gap: 4px; width: 112px; padding: 8px; border-radius: 14px; border: 1.5px solid var(--line-strong); background: rgba(0, 0, 0, .2); text-align: center; transition: border-color .2s, background-color .2s; }
.pick-car small { display: block; font-size: 11px; color: var(--text-mute); }
.pick-car.is-on { border-color: var(--taxi); background: rgba(255, 198, 41, .08); }
.pick-car__art { width: 92px; }

/* ================= CONTRATOS ================= */
.cgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(340px, 1fr)); gap: 16px; }
.cdoc {
  position: relative; display: grid; gap: 14px; padding: 20px; border-radius: 18px; overflow: hidden; color: #2A2418;
  background: linear-gradient(180deg, #FBF7EC, #F1EAD8); box-shadow: 0 1px 0 rgba(255, 255, 255, .6) inset, var(--shadow-2);
}
.cdoc::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 6px; background: repeating-linear-gradient(180deg, #1B1F2A 0 10px, var(--taxi) 10px 20px); }
.cdoc.is-closed { filter: saturate(.4); opacity: .85; }
.cdoc__stamp {
  position: absolute; top: 18px; right: -6px; padding: 4px 12px; border: 3px solid currentColor; border-radius: 8px; transform: rotate(12deg);
  font-family: var(--font-display); font-size: 14px; letter-spacing: .06em; opacity: .75;
}
.cdoc__stamp--on { color: #138A5F; }
.cdoc__stamp--revoked { color: #C2373C; }
.cdoc__stamp--finished { color: #6B6150; }
.cdoc__head { display: flex; align-items: center; gap: 14px; padding-left: 4px; }
.cdoc__head h3 { font-size: 17px; margin: 2px 0 4px; }
.cdoc__head .eyebrow { color: #9A7B1E; }
.cdoc__art { width: 108px; flex: none; }
.cdoc__party { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 12px; background: rgba(42, 36, 24, .06); }
.cdoc__party small { display: block; font-size: 11.5px; color: #7A6E55; }
.cdoc__party > div { flex: 1; }
.cdoc .shift-chip { background: #2A2418; color: #FFE38A; }
.cdoc .shift-chip--PM { color: #D4C7FF; }
.cdoc__terms { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 16px; margin: 0; padding: 0 4px; }
.cdoc__terms div { border-bottom: 1px dashed rgba(42, 36, 24, .2); padding-bottom: 6px; }
.cdoc__terms dt { font-size: 11.5px; color: #7A6E55; }
.cdoc__terms dd { margin: 2px 0 0; font-size: 14px; }
.cdoc .money--usdt { color: #0E7A58; }
.cdoc .money--usdt .money__sym { background: #0E7A58; }
.cdoc__time { display: grid; gap: 6px; font-size: 12.5px; color: #6B6150; }
.cdoc__bar { height: 7px; border-radius: 99px; background: rgba(42, 36, 24, .12); overflow: hidden; }
.cdoc__bar span { display: block; height: 100%; border-radius: inherit; background: #2A2418; }
.cdoc__foot { display: flex; gap: 8px; align-items: center; justify-content: flex-end; flex-wrap: wrap; }
.cdoc .btn--danger-ghost { --bg: rgba(194, 55, 60, .08); --fg: #B3262C; --bd: rgba(194, 55, 60, .35); }
.cdoc .plate { box-shadow: inset 0 0 0 1.5px #2A2418, inset 0 3px 0 #2F6BD8; }
.cdoc .avatar { box-shadow: 0 0 0 2px #fff; }

/* ================= BILLETERA ================= */
.balance-cards { display: grid; grid-template-columns: 1fr auto 1fr; gap: 14px; align-items: stretch; margin-bottom: 26px; }
.bcard { position: relative; display: grid; gap: 6px; padding: 20px 22px; border-radius: 22px; overflow: hidden; color: #fff; }
.bcard::after { content: ""; position: absolute; right: -40px; top: -40px; width: 180px; height: 180px; border-radius: 50%; background: rgba(255, 255, 255, .08); }
.bcard--usdt { background: linear-gradient(135deg, #1E9A74 0%, #11684F 100%); }
.bcard--cash { background: linear-gradient(135deg, #F08A2A 0%, #B65A10 100%); }
.bcard__top { display: flex; align-items: center; gap: 10px; font-weight: 700; }
.bcard__top small { font-weight: 500; opacity: .75; margin-left: 4px; }
.bcard__coin { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: rgba(255, 255, 255, .2); font-family: var(--font-display); }
.bcard__val { font-size: 34px; font-variant-numeric: tabular-nums; line-height: 1.1; }
.bcard > small { opacity: .8; font-size: 13px; }
.bcard__actions { position: relative; z-index: 1; display: flex; gap: 8px; margin-top: 8px; flex-wrap: wrap; }
.bcard__arrow { display: grid; place-content: center; justify-items: center; gap: 2px; color: var(--text-dim); font-size: 12px; }
.bcard__arrow .i { width: 34px; height: 34px; padding: 7px; border-radius: 50%; background: var(--asphalt-700); color: var(--taxi); }
.bcard__arrow em { font-style: normal; font-weight: 700; color: var(--warn); }
.wgrid { display: grid; grid-template-columns: 1.3fr 1fr; gap: 16px; align-items: start; }
.wgrid .seg { margin-bottom: 18px; }
.deposit { display: flex; gap: 20px; align-items: center; padding: 16px; border-radius: 16px; background: rgba(0, 0, 0, .22); margin-bottom: 14px; }
.qr { flex: none; width: 152px; height: 152px; padding: 8px; border-radius: 14px; background: #fff; }
.qr svg { width: 100%; height: 100%; }
.qr__fallback { display: grid; place-items: center; height: 100%; color: #1B1F2A; }
.deposit__addr { display: grid; gap: 8px; min-width: 0; }
.deposit__addr small { color: var(--text-mute); font-size: 12px; }
.addr { display: block; padding: 10px 12px; border-radius: 10px; background: rgba(0, 0, 0, .3); font-family: ui-monospace, Menlo, monospace; font-size: 13px; word-break: break-all; color: var(--text); }
.addr--sm { margin: 6px 0; font-size: 12px; }
.warn-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; font-size: 13.5px; color: var(--text-dim); }
.warn-list li { display: flex; gap: 8px; }
.warn-list .i { width: 16px; height: 16px; margin-top: 2px; color: var(--warn); }
.warn-list li:last-child .i { color: var(--info); }
.warn-list b { color: var(--text); }
.demo-box { margin-top: 16px; padding: 14px; border-radius: 14px; border: 1px dashed rgba(255, 198, 41, .45); background: rgba(255, 198, 41, .04); display: grid; gap: 8px; font-size: 13.5px; color: var(--text-dim); }
.demo-box strong { display: flex; align-items: center; gap: 6px; color: var(--taxi); }
.inline-form { display: flex; gap: 8px; }
.inline-form .input { height: 36px; max-width: 120px; }
.summary { display: grid; gap: 6px; padding: 14px; border-radius: 14px; background: rgba(0, 0, 0, .22); font-size: 14px; }
.summary div { display: flex; justify-content: space-between; }
.summary span { color: var(--text-dim); }
.summary__total { padding-top: 8px; border-top: 1px solid var(--line); font-size: 16px; }
.summary__total b { color: var(--usdt-bright); }
.mini-list { display: grid; gap: 6px; }
.mini-row { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 14px; background: rgba(255, 255, 255, .03); }
.mini-row > div { flex: 1; min-width: 0; display: grid; }
.mini-row small { color: var(--text-mute); font-size: 12px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mini-row__ic { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; background: rgba(255, 255, 255, .06); color: var(--text-dim); flex: none; }
.exchange { max-width: 760px; display: grid; gap: 18px; }
.xbox { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); gap: 14px; align-items: stretch; }
.xbox__mid { align-self: center; }
.xbox__side { min-width: 0; }
.xbox .input-wrap, .xbox .input-wrap input { width: 100%; min-width: 0; }
.xbox .input-wrap--xl input { padding-right: 84px; }
.xbox .input-wrap--xl .input-wrap__unit { right: 14px; }
.xbox .chips { flex-wrap: wrap; }
.xbox__side { display: grid; gap: 10px; padding: 18px; border-radius: 18px; background: rgba(0, 0, 0, .25); }
.xbox__side > small { color: var(--text-mute); font-size: 12.5px; font-weight: 600; }
.xbox__side--out { align-self: stretch; align-content: center; background: linear-gradient(135deg, rgba(255, 159, 67, .14), rgba(255, 159, 67, .04)); border: 1px solid rgba(255, 159, 67, .25); }
.xbox__out { font-size: 40px; font-variant-numeric: tabular-nums; color: var(--cash-bright); line-height: 1; }
.xbox__mid { display: grid; justify-items: center; gap: 4px; color: var(--text-mute); font-size: 12px; }
.xbox__mid span { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--taxi); color: var(--text-on-taxi); box-shadow: 0 0 0 6px rgba(255, 198, 41, .12); }
.txs { display: grid; border-radius: 18px; overflow: hidden; border: 1px solid var(--line); }
.tx { display: flex; align-items: center; gap: 14px; padding: 13px 16px; background: var(--asphalt-850); }
.tx + .tx { border-top: 1px solid var(--line); }
.tx__ic { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 12px; flex: none; background: rgba(255, 255, 255, .06); color: var(--text-dim); }
.tx__ic--trip, .tx__ic--trip_rented, .tx__ic--rent_income, .tx__ic--deposit { background: rgba(38, 161, 123, .14); color: var(--usdt-bright); }
.tx__ic--purchase, .tx__ic--exchange { background: rgba(255, 159, 67, .12); color: var(--cash-bright); }
.tx__ic--penalty { background: rgba(255, 90, 95, .12); color: var(--danger); }
.tx__main { flex: 1; min-width: 0; display: grid; }
.tx__main b { font-weight: 600; font-size: 14px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tx__main small { color: var(--text-mute); font-size: 12px; }
.tx__amt { font-weight: 800; font-variant-numeric: tabular-nums; white-space: nowrap; }
.tx__amt.is-pos { color: var(--ok); }
.tx__amt.is-neg { color: var(--text-dim); }

/* ================= REFERIDOS ================= */
.refhero {
  display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 0; margin-bottom: 18px; border-radius: 26px; overflow: hidden; border: 1px solid var(--line-strong);
  background: radial-gradient(120% 140% at 0% 0%, rgba(255, 198, 41, .14), transparent 55%), var(--asphalt-850);
}
.refhero__share { display: grid; grid-template-columns: minmax(0, 1fr); gap: 14px; align-content: center; padding: 30px; }
.refhero__code {
  font-family: var(--font-display); font-size: clamp(34px, 5vw, 52px); letter-spacing: .08em; color: var(--taxi); line-height: 1;
  text-shadow: 0 3px 0 #6B5000, 0 0 30px rgba(255, 198, 41, .3);
}
.refhero__btns { display: flex; gap: 8px; flex-wrap: wrap; }
.refbox { display: flex; align-items: center; gap: 12px; padding: 10px 10px 10px 16px; border-radius: 14px; background: rgba(0, 0, 0, .25); border: 1px dashed var(--line-strong); flex-wrap: wrap; }
.refbox small { color: var(--text-mute); font-size: 12px; width: 100%; margin-bottom: -6px; }
.refbox__code { flex: 1; font-family: var(--font-display); font-size: 22px; letter-spacing: .08em; color: var(--taxi); }
.refbox--link code { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 13px; color: var(--text-dim); }
.refhero__prize {
  position: relative; display: grid; justify-items: center; align-content: center; gap: 10px; padding: 28px; text-align: center;
  border-left: 1px dashed var(--line-strong); background: repeating-linear-gradient(135deg, rgba(255, 255, 255, .015) 0 14px, transparent 14px 28px);
}
.refhero__prize p { color: var(--text-dim); font-size: 14.5px; max-width: 300px; }
.refhero__prize p b { color: var(--text); }
.refhero__prize > small { font-size: 12.5px; max-width: 280px; }
.refhero__car { width: min(260px, 90%); filter: drop-shadow(0 10px 10px rgba(0, 0, 0, .45)); }
.prize-ticket, .bonus__ticket {
  position: relative; display: inline-grid; justify-items: center; line-height: 1; padding: 10px 18px 9px; border-radius: 12px; color: var(--text-on-taxi);
  background: linear-gradient(180deg, #FFD95A, var(--taxi)); box-shadow: 0 4px 0 #A87C00, 0 10px 24px rgba(255, 198, 41, .3); transform: rotate(-4deg);
}
.prize-ticket::before, .prize-ticket::after, .bonus__ticket::before, .bonus__ticket::after {
  content: ""; position: absolute; top: 50%; width: 12px; height: 12px; margin-top: -6px; border-radius: 50%; background: var(--asphalt-850);
}
.prize-ticket::before, .bonus__ticket::before { left: -6px; }
.prize-ticket::after, .bonus__ticket::after { right: -6px; }
.prize-ticket b { font-family: var(--font-display); font-size: 34px; font-weight: 400; }
.prize-ticket small, .bonus__ticket small { font-size: 11px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }

/* Lado del premio cuando hay viajes extra para cobrar: se elige el taxi y se cobran ahí mismo */
.refhero__prize.is-claim { background: radial-gradient(120% 90% at 50% 0%, rgba(255, 198, 41, .16), transparent 65%), rgba(0, 0, 0, .12); box-shadow: inset 0 0 0 1px rgba(255, 198, 41, .35); }
.refhero__title { font-size: 17px; }
.refhero__claim { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.refhero__pick { max-width: 100%; }
.refhero__pick > span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pickcar-list { display: grid; gap: 8px; padding-bottom: 8px; }
.pickcar {
  display: flex; align-items: center; gap: 12px; width: 100%; padding: 10px 14px; border-radius: 16px; text-align: left; cursor: pointer;
  background: rgba(0, 0, 0, .22); border: 1px solid var(--line); color: var(--text); font: inherit; transition: border-color .15s, background-color .15s;
}
.pickcar:hover { border-color: var(--line-strong); }
.pickcar.is-on { border-color: var(--taxi); background: rgba(255, 198, 41, .08); }
.pickcar > .i { color: var(--taxi); width: 22px; height: 22px; }
.pickcar__art { width: 84px; flex: none; }
.pickcar__body { flex: 1; display: grid; gap: 2px; min-width: 0; }
.pickcar__body small { color: var(--text-mute); font-size: 12.5px; }
@media (max-width: 560px) {
  .refhero__claim .btn { flex: 1 1 100%; justify-content: center; }
}

.steps { list-style: none; margin: 0 0 26px; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; counter-reset: s; }
.steps li { display: flex; gap: 12px; padding: 16px; border-radius: 18px; background: var(--asphalt-850); border: 1px solid var(--line); }
.steps p { color: var(--text-dim); font-size: 13.5px; margin-top: 3px; }
.steps__n { flex: none; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--asphalt-700); color: var(--taxi); font-family: var(--font-display); }

.bonus-list { display: grid; gap: 10px; margin-bottom: 22px; }
.bonus { display: flex; align-items: center; gap: 16px; padding: 14px 18px; border-radius: 18px; background: linear-gradient(90deg, rgba(255, 198, 41, .1), transparent 70%), var(--asphalt-850); border: 1px solid rgba(255, 198, 41, .3); }
.bonus__ticket { padding: 8px 12px 7px; flex: none; }
.bonus__ticket::before, .bonus__ticket::after { background: #2A2A26; }
.bonus__ticket b { font-family: var(--font-display); font-size: 22px; font-weight: 400; }
.bonus__art { width: 110px; flex: none; }
.bonus__body { flex: 1; display: grid; gap: 2px; min-width: 0; }
.bonus__body small { color: var(--text-dim); font-size: 13px; }
.bonus__body [data-countdown] { color: var(--taxi); font-weight: 700; font-variant-numeric: tabular-nums; }
.small { font-size: 12.5px; }

.ref-list { display: grid; border-radius: 18px; overflow: hidden; border: 1px solid var(--line); margin-bottom: 20px; }
.ref-row { display: grid; grid-template-columns: 38px minmax(140px, 1fr) minmax(160px, 1.4fr) auto; align-items: center; gap: 14px; padding: 12px 16px; background: var(--asphalt-850); }
.ref-row + .ref-row { border-top: 1px solid var(--line); }
.ref-row__who { display: grid; min-width: 0; }
.ref-row__who b { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ref-row__who small, .ref-row__prog small { color: var(--text-mute); font-size: 12px; }
.ref-row__prog { display: grid; gap: 5px; }
.ref-bar { position: relative; height: 10px; border-radius: 99px; background: rgba(255, 255, 255, .08); overflow: hidden; }
.ref-bar span { position: absolute; inset: 0 auto 0 0; border-radius: inherit; background: linear-gradient(90deg, var(--usdt), var(--usdt-bright)); transition: width .5s var(--ease-out); }
.ref-bar i { position: absolute; top: 0; bottom: 0; width: 2px; margin-left: -1px; background: var(--asphalt-850); }
.ref-row.is-done .ref-bar span { background: linear-gradient(90deg, var(--taxi-deep), var(--taxi)); }

.podium { display: grid; grid-template-columns: repeat(3, minmax(0, 170px)); justify-content: center; align-items: end; gap: 12px; margin: 10px 0 20px; }
.podium__col { display: grid; justify-items: center; gap: 6px; text-align: center; }
.podium__col > b { font-size: 14px; max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.podium__crown { color: var(--taxi); }
.podium__crown .i { width: 30px; height: 30px; }
.podium__block { width: 100%; display: grid; place-items: center; margin-top: 6px; border-radius: 14px 14px 0 0; font-family: var(--font-display); font-size: 30px; color: rgba(0, 0, 0, .55); }
.podium__col--1 .podium__block { height: 120px; background: linear-gradient(180deg, #FFD95A, var(--taxi-deep)); }
.podium__col--2 .podium__block { height: 90px; background: linear-gradient(180deg, #E3E8F0, #A9B3C3); }
.podium__col--3 .podium__block { height: 70px; background: linear-gradient(180deg, #F0B98A, #B9773F); }
.rank-me { display: flex; align-items: center; gap: 8px; justify-content: center; padding: 12px; margin-bottom: 14px; border-radius: 14px; background: rgba(255, 198, 41, .08); border: 1px solid rgba(255, 198, 41, .25); }
.rank-me .i { color: var(--taxi); }
.rank-table { display: grid; border-radius: 18px; overflow: hidden; border: 1px solid var(--line); margin-bottom: 12px; }
.rank-row { display: grid; grid-template-columns: 40px 30px 1fr auto auto; align-items: center; gap: 12px; padding: 10px 16px; background: var(--asphalt-850); font-size: 14px; }
.rank-row + .rank-row { border-top: 1px solid var(--line); }
.rank-row.is-me { background: rgba(255, 198, 41, .07); }
.rank-row__pos { font-family: var(--font-display); color: var(--text-mute); }
.rank-row .tag { margin-left: 6px; font-style: normal; }
.rank-row .muted { font-size: 12.5px; }

/* ================= GREMIO ================= */
.ghero {
  position: relative; display: grid; grid-template-columns: auto 1fr 300px; grid-template-areas: "emblem head card" "emblem txt card";
  gap: 12px 28px; align-items: center; padding: 30px; border-radius: 28px; overflow: hidden;
  border: 1px solid rgba(155, 123, 255, .3); margin-bottom: 8px;
  background: radial-gradient(90% 140% at 0% 0%, rgba(155, 123, 255, .22), transparent 55%), radial-gradient(60% 90% at 100% 100%, rgba(255, 198, 41, .1), transparent 60%), var(--asphalt-850);
}
.ghero.is-member { border-color: rgba(255, 198, 41, .45); }
.ghero__emblem { grid-area: emblem; }
.ghero__head { grid-area: head; align-self: end; display: grid; gap: 6px; }
.ghero__txt { grid-area: txt; align-self: start; }
.ghero .gcard { grid-area: card; }
.ghero__emblem .emblem { width: 150px; filter: drop-shadow(0 14px 18px rgba(0, 0, 0, .5)); animation: emblem-float 4s ease-in-out infinite; }
@keyframes emblem-float { 50% { transform: translateY(-6px) rotate(-1.5deg); } }
.ghero__txt { display: grid; gap: 12px; }
.ghero__head h1 { font-family: var(--font-display); font-weight: 400; font-size: clamp(26px, 3.4vw, 40px); line-height: 1.05; }
.ghero__lead { color: var(--text-dim); max-width: 560px; }
.ghero__lead b { color: var(--text); }
/* Caja de pago: precio a la izquierda y el botón (o lo que falta) a la derecha; si falta Efectivo, los dos botones
   van parejos abajo */
.ghero__buy {
  display: grid; grid-template-columns: auto 1fr; align-items: center; gap: 14px 24px; width: min(100%, 580px);
  padding: 16px 20px; margin-top: 4px; border-radius: 18px; background: rgba(0, 0, 0, .22); border: 1px solid var(--line);
}
.ghero__buy > .btn { justify-self: end; }
.ghero__price { display: grid; gap: 2px; line-height: 1.1; }
.ghero__price small { color: var(--text-mute); font-size: 12.5px; }
.ghero__price em { font-style: normal; font-size: .5em; margin-left: 4px; color: var(--text-dim); font-weight: 700; }
.ghero__missing { display: flex; align-items: flex-start; gap: 8px; margin: 0; font-size: 14px; line-height: 1.4; color: var(--text-dim); }
.ghero__missing .i { flex: none; width: 17px; height: 17px; margin-top: 1px; color: var(--cash-bright); }
.ghero__missing b { color: var(--cash-bright); white-space: nowrap; }
.ghero__actions { grid-column: 1 / -1; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; padding-top: 14px; border-top: 1px dashed var(--line); }
.ghero__actions .btn { justify-content: center; }
.gstatus { display: grid; gap: 8px; }
.gstatus__row { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; font-size: 14px; color: var(--text-dim); }
.gstatus__row b { color: var(--text); }
.gstatus__bar { height: 8px; border-radius: 99px; background: rgba(255, 255, 255, .08); overflow: hidden; max-width: 460px; }
.gstatus__bar span { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--violet), var(--taxi)); }
.setting--inline { border-top: 0; padding: 4px 0 0; max-width: 460px; }
.ghero .setting--inline { width: min(100%, 580px); max-width: none; padding: 4px 4px 0; }
.gcard {
  position: relative; display: grid; gap: 14px; padding: 18px 18px 24px; border-radius: 18px; color: #1B1F2A; overflow: hidden; transform: rotate(2deg);
  background: linear-gradient(135deg, #FFE38A 0%, var(--taxi) 45%, #E5A800 100%); box-shadow: 0 18px 40px rgba(0, 0, 0, .45), inset 0 1px 0 rgba(255, 255, 255, .6);
}
.gcard.is-off { filter: grayscale(.85) brightness(.75); }
.gcard__head { display: flex; justify-content: space-between; align-items: center; font-family: var(--font-display); font-size: 13px; letter-spacing: .08em; }
.gcard__body { display: flex; align-items: center; gap: 12px; }
.gcard__body b { display: block; font-size: 18px; }
.gcard__body small { color: rgba(27, 31, 42, .7); font-weight: 700; }
.gcard__body .avatar { box-shadow: 0 0 0 3px #1B1F2A; }
.gcard__foot small { display: block; font-size: 11px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: rgba(27, 31, 42, .6); }
.gcard__foot b { font-family: var(--font-display); font-weight: 400; font-size: 18px; }
.gcard__chk { position: absolute; left: 0; right: 0; bottom: 0; height: 10px; background: repeating-conic-gradient(#1B1F2A 0 25%, #F7F3E8 0 50%) 0 0 / 10px 10px; }
.perks { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.perk { display: grid; gap: 8px; align-content: start; padding: 20px; border-radius: 20px; background: var(--asphalt-850); border: 1px solid var(--line); }
.perk h3 { font-size: 17px; }
.perk p { color: var(--text-dim); font-size: 14px; }
.perk p b { color: var(--text); }
.perk small { color: #C6B5FF; font-size: 12.5px; font-weight: 600; }
.perk__ic { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 14px; background: rgba(155, 123, 255, .16); color: #C6B5FF; }
.perk__car { width: 150px; margin: -6px 0 2px; filter: drop-shadow(0 8px 8px rgba(0, 0, 0, .4)); }
.perk--gift { background: radial-gradient(100% 80% at 50% 0%, rgba(255, 198, 41, .12), transparent 70%), var(--asphalt-850); }
.tx__ic--guild { background: rgba(155, 123, 255, .16); color: #C6B5FF; }
.price-old { display: inline-block; margin-right: 8px; color: var(--text-mute); font-size: 15px; font-weight: 600; }
.mcard__price .price-old { font-size: 12px; margin-right: 4px; }
.guild-hint { display: flex; align-items: center; gap: 5px; margin-top: 6px; font-size: 12.5px; font-weight: 600; color: #C6B5FF; }
.guild-hint .i { width: 14px; height: 14px; }
.commission { display: flex; align-items: center; gap: 16px; padding: 16px 20px; margin-bottom: 18px; border-radius: 18px; background: linear-gradient(90deg, rgba(255, 159, 67, .12), transparent 60%), var(--asphalt-850); border: 1px solid rgba(255, 159, 67, .3); flex-wrap: wrap; }
.commission.is-guild { border-color: rgba(155, 123, 255, .45); background: linear-gradient(90deg, rgba(155, 123, 255, .16), transparent 60%), var(--asphalt-850); }
.commission__pct { font-family: var(--font-display); font-size: 40px; line-height: 1; color: var(--cash-bright); }
.commission.is-guild .commission__pct { color: #C6B5FF; }
.commission > div { flex: 1; min-width: 220px; }
.commission p { color: var(--text-dim); font-size: 13.5px; }

/* ================= MISIONES ================= */
.msum { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 18px; }
.msum__item { display: flex; align-items: center; gap: 10px; padding: 10px 16px; border-radius: 14px; background: var(--asphalt-850); border: 1px solid var(--line); color: var(--text-dim); font-size: 14px; }
.msum__item .i { color: var(--taxi); }
.msum__item b { color: var(--text); font-variant-numeric: tabular-nums; }
.msum__item.is-hot { border-color: rgba(255, 198, 41, .5); background: linear-gradient(90deg, rgba(255, 198, 41, .14), transparent), var(--asphalt-850); }
.mgrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-bottom: 14px; }
.mcard2 { position: relative; display: grid; gap: 10px; align-content: start; padding: 20px; border-radius: 20px; background: var(--asphalt-850); border: 1px solid var(--line); transition: border-color .2s, transform .25s var(--ease-out); }
.mcard2.is-done:not(.is-claimed) { border-color: rgba(255, 198, 41, .55); box-shadow: 0 0 0 1px rgba(255, 198, 41, .25), 0 12px 30px rgba(255, 198, 41, .1); }
.mcard2.is-claimed { opacity: .7; }
.mcard2 h3 { font-size: 17px; }
.mcard2 p { color: var(--text-dim); font-size: 13.5px; min-height: 2.6em; }
.mcard2__top { display: flex; justify-content: space-between; align-items: center; }
.mcard2__ic { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 14px; background: rgba(255, 198, 41, .12); color: var(--taxi); }
.mcard2__reward .money { font-size: 17px; }
.mcard2__foot { display: flex; justify-content: space-between; align-items: center; gap: 10px; font-size: 13px; font-variant-numeric: tabular-nums; }
.mbar { height: 10px; border-radius: 99px; background: rgba(255, 255, 255, .08); overflow: hidden; }
.mbar span { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--info), #7CC0FF); transition: width .5s var(--ease-out); }
.mbar.is-done span { background: linear-gradient(90deg, var(--taxi-deep), var(--taxi)); }
.mstate { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 700; color: var(--text-mute); }
.mstate--claimed { color: var(--ok); }
.mstate .i { width: 16px; height: 16px; }
.mclaim { animation: claim-pulse 1.6s ease-in-out infinite; }
@keyframes claim-pulse { 50% { box-shadow: 0 3px 0 var(--sh), 0 0 0 6px rgba(255, 198, 41, .18); } }
.alist { display: grid; border-radius: 18px; overflow: hidden; border: 1px solid var(--line); }
.arow { display: grid; grid-template-columns: 44px 1fr auto 120px; align-items: center; gap: 14px; padding: 12px 16px; background: var(--asphalt-850); }
.arow + .arow, .alist > .vcard + .arow, .alist > .arow + .vcard { border-top: 1px solid var(--line); }
.arow.is-done:not(.is-claimed) { background: linear-gradient(90deg, rgba(255, 198, 41, .1), transparent 60%), var(--asphalt-850); }
.arow.is-claimed { opacity: .65; }
.arow__medal { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--asphalt-700); color: var(--text-mute); }
.arow.is-done .arow__medal { background: radial-gradient(circle at 35% 30%, #FFE38A, var(--taxi-deep)); color: #4A3600; box-shadow: 0 0 0 3px rgba(255, 198, 41, .25); }
.arow__main { display: grid; gap: 6px; min-width: 0; }
.arow__main b { font-size: 14.5px; }
.arow__main small { color: var(--text-mute); font-size: 12px; font-variant-numeric: tabular-nums; }
.arow__main .mbar { height: 7px; max-width: 360px; }
.arow__reward { justify-self: end; }
.arow > :last-child { justify-self: end; }
.vcard { display: grid; gap: 14px; padding: 18px; background: var(--asphalt-850); }
.vcard.is-done { background: linear-gradient(90deg, rgba(61, 219, 168, .08), transparent 60%), var(--asphalt-850); }
.vcard__head { display: flex; align-items: center; gap: 14px; }
.vcard__head > div { flex: 1; display: grid; }
.vcard__head small { color: var(--text-dim); font-size: 13px; }
.vcard__yt { display: grid; place-items: center; width: 44px; height: 32px; border-radius: 9px; background: #FF0033; color: #fff; flex: none; }
.vcard__yt .i { width: 18px; height: 18px; fill: #fff; }
.vcard__rules { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 18px; font-size: 13.5px; color: var(--text-dim); }
.vcard__rules li { display: inline-flex; align-items: center; gap: 6px; }
.vcard__rules li .i { width: 15px; height: 15px; }
.vcard__rules li:first-child .i { color: var(--ok); }
.vcard__rules li:not(:first-child) .i { color: var(--danger); }
.vcard__rules b { color: var(--text); }
.vcard__sent { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; font-size: 13.5px; }
.vcard__sent a { color: var(--info); word-break: break-all; }
.vcard__form { display: flex; gap: 10px; align-items: flex-end; flex-wrap: wrap; }
.vcard__form .field { flex: 1; min-width: 240px; }
/* Logros de Telegram */
.tgrow__medal .tg-ic { width: 26px; height: 26px; }
.tgrow .arow__main small { display: block; }
.tgrow__note { margin-top: 2px; color: var(--info); }
.tgrow__btns { display: flex; flex-wrap: wrap; gap: 6px; justify-content: flex-end; }
/* El botón ("Conectar Telegram", "Unirme" + "Verificar") es más ancho que la columna fija de las otras filas: sin
   esto tapaba el premio */
.arow.tgrow { grid-template-columns: 44px 1fr auto auto; }
/* Logros de Telegram fijos arriba en Misiones */
.mtg { margin-bottom: 18px; border-radius: 18px; overflow: hidden; border: 1px solid rgba(42, 171, 238, .35);
  background: linear-gradient(120deg, rgba(42, 171, 238, .14), transparent 55%), var(--asphalt-850); }
.mtg__head { display: flex; align-items: center; gap: 12px; padding: 14px 16px; }
.mtg__head > div { display: grid; gap: 2px; }
.mtg__head small { color: var(--text-dim); font-size: 13px; }
.mtg__head .tg-ic { flex: none; width: 34px; height: 34px; }
.mtg .alist { border: 0; border-top: 1px solid var(--line); border-radius: 0; }
.mtg .arow { background: transparent; }

/* ================= EVENTO ================= */
/* Marquesina: franja de damero arriba, skyline de fondo y una avenida con taxis abajo */
.evx-hero {
  position: relative; isolation: isolate; display: grid; grid-template-columns: minmax(0, 1fr) 270px; gap: 22px 36px; align-items: start;
  padding: 38px 32px 0; margin-bottom: 18px; border-radius: 26px; overflow: hidden; border: 1px solid rgba(255, 198, 41, .35);
  background:
    radial-gradient(70% 90% at 0% 0%, rgba(255, 90, 95, .17), transparent 60%),
    radial-gradient(55% 80% at 100% 0%, rgba(255, 198, 41, .15), transparent 60%),
    linear-gradient(180deg, #171C2A 0%, #0F131C 100%);
}
.evx-hero::before {
  content: ""; position: absolute; inset: 0 0 auto; height: 10px; opacity: .9;
  background: conic-gradient(#14171F 25%, var(--taxi) 0 50%, #14171F 0 75%, var(--taxi) 0) 0 0 / 20px 20px;
}
.evx-hero__glow {
  position: absolute; inset: auto 0 88px; z-index: -1; height: 150px; opacity: .6; pointer-events: none;
  background:
    linear-gradient(#1E2536, #1E2536) 3% 100% / 6% 55% no-repeat, linear-gradient(#1B2232, #1B2232) 10% 100% / 4% 88% no-repeat,
    linear-gradient(#20283A, #20283A) 16% 100% / 7% 70% no-repeat, linear-gradient(#1A2030, #1A2030) 26% 100% / 5% 100% no-repeat,
    linear-gradient(#1E2536, #1E2536) 34% 100% / 8% 62% no-repeat, linear-gradient(#1B2232, #1B2232) 45% 100% / 4% 80% no-repeat,
    linear-gradient(#20283A, #20283A) 53% 100% / 6% 58% no-repeat, linear-gradient(#1A2030, #1A2030) 62% 100% / 7% 92% no-repeat,
    linear-gradient(#1E2536, #1E2536) 72% 100% / 5% 66% no-repeat, linear-gradient(#1B2232, #1B2232) 80% 100% / 8% 84% no-repeat,
    linear-gradient(#20283A, #20283A) 91% 100% / 6% 60% no-repeat, linear-gradient(#1A2030, #1A2030) 99% 100% / 4% 76% no-repeat;
}
.evx-hero__copy { display: grid; gap: 14px; min-width: 0; }
.evx-hero h1 { margin: 0; font-family: var(--font-display); font-weight: 400; font-size: clamp(30px, 4.2vw, 50px); line-height: 1.02; text-wrap: balance; }
.evx-hero__lead { margin: 0; max-width: 60ch; color: var(--text-dim); font-size: 15.5px; line-height: 1.55; }
.evx-hero__lead b { color: var(--text); }
.evx-live {
  justify-self: start; display: inline-flex; align-items: center; gap: 8px; margin: 0; padding: 6px 12px; border-radius: 99px;
  background: rgba(255, 90, 95, .14); border: 1px solid rgba(255, 90, 95, .4); color: #FF9A9D; font-size: 11.5px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase;
}
.is-over .evx-live { background: rgba(255, 255, 255, .06); border-color: var(--line-strong); color: var(--text-dim); }
.evx-live__dot { width: 8px; height: 8px; border-radius: 50%; background: #FF5A5F; box-shadow: 0 0 0 0 rgba(255, 90, 95, .6); animation: evx-pulse 1.8s ease-out infinite; }
@keyframes evx-pulse { 70% { box-shadow: 0 0 0 8px rgba(255, 90, 95, 0); } 100% { box-shadow: 0 0 0 0 rgba(255, 90, 95, 0); } }

.evclock { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; max-width: 400px; }
.evclock__cell { display: grid; justify-items: center; min-width: 0; padding: 12px 8px 10px; border-radius: 14px; background: rgba(0, 0, 0, .35); border: 1px solid var(--line-strong); box-shadow: inset 0 -12px 18px -14px rgba(255, 198, 41, .35); }
.evclock__cell b { font-family: var(--font-display); font-weight: 400; font-size: 32px; line-height: 1; color: var(--taxi); font-variant-numeric: tabular-nums; }
.evclock__cell small { color: var(--text-mute); font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; margin-top: 5px; }

.evx-stats { display: grid; gap: 10px; margin: 0; }
.evx-stat { display: grid; gap: 4px; padding: 14px 16px; border-radius: 16px; background: rgba(11, 14, 20, .55); border: 1px solid var(--line-strong); backdrop-filter: blur(6px); }
.evx-stat dt { display: flex; align-items: center; gap: 7px; color: var(--text-mute); font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.evx-stat dt .i { width: 15px; height: 15px; }
.evx-stat dd { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 10px; margin: 0; }
.evx-stat dd b { font-family: var(--font-display); font-weight: 400; font-size: 26px; line-height: 1.1; font-variant-numeric: tabular-nums; }
.evx-stat dd span { display: inline-flex; align-items: center; gap: 5px; color: var(--text-dim); font-size: 13.5px; font-weight: 700; }
.evx-stat dd .pill-ic { width: 18px; height: 18px; }
.evx-stat--pool { border-color: rgba(255, 198, 41, .5); background: linear-gradient(160deg, rgba(255, 198, 41, .16), rgba(11, 14, 20, .55) 70%); }
.evx-stat--pool dd b { color: var(--taxi); }
.evx-stat--win dd b { color: var(--ok); }

.evx-road {
  grid-column: 1 / -1; position: relative; height: 92px; margin: 6px -32px 0; overflow: hidden;
  background:
    linear-gradient(90deg, rgba(255, 198, 41, .85) 0 50%, transparent 0) 0 calc(100% - 24px) / 46px 3px repeat-x,
    linear-gradient(180deg, #2A3142 0 3px, #10131B 3px);
  animation: evx-road 1.6s linear infinite;
}
@keyframes evx-road { to { background-position: -46px calc(100% - 24px), 0 0; } }
.evx-road__cars { position: absolute; left: 0; right: 0; bottom: 30px; display: flex; justify-content: space-around; align-items: flex-end; padding: 0 12px; }
.evx-road__car { width: 112px; flex: none; filter: drop-shadow(0 6px 6px rgba(0, 0, 0, .45)); animation: evx-bob 2.4s ease-in-out infinite; }
.evx-road__car:nth-child(2n) { animation-delay: -1.2s; }
.evx-road__car:nth-child(3n) { animation-delay: -.6s; }
.evx-road__car svg { display: block; width: 100%; height: auto; }
@keyframes evx-bob { 50% { transform: translateY(-2px); } }
.is-over .evx-road, .is-over .evx-road__car { animation: none; }

/* Podio de premios */
.evx-prizes { display: grid; gap: 12px; margin-bottom: 18px; }
.evx-medals { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); align-items: end; gap: 12px; }
.evx-medal {
  --m1: #E3E8F0; --m2: #A9B3C3; position: relative; display: grid; justify-items: center; gap: 6px; padding: 26px 14px 18px; border-radius: 22px; text-align: center;
  border: 2px solid transparent;
  background: radial-gradient(90% 70% at 50% 0%, color-mix(in srgb, var(--m1) 16%, transparent), transparent 70%) padding-box,
    linear-gradient(var(--asphalt-850), var(--asphalt-850)) padding-box,
    linear-gradient(160deg, var(--m1), var(--m2) 55%, rgba(255, 255, 255, .06)) border-box;
}
.evx-medal--1 { --m1: #FFE38A; --m2: #E5A800; padding-top: 40px; padding-bottom: 26px; box-shadow: 0 18px 50px -20px rgba(255, 198, 41, .45); }
.evx-medal--3 { --m1: #F5C9A0; --m2: #B9773F; }
.evx-medal__ic {
  display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; color: #1A1505;
  background: linear-gradient(160deg, var(--m1), var(--m2)); box-shadow: 0 8px 20px -8px var(--m2), inset 0 2px 0 rgba(255, 255, 255, .5);
}
.evx-medal--1 .evx-medal__ic { width: 68px; height: 68px; }
.evx-medal__ic .i { width: 28px; height: 28px; }
.evx-medal--1 .evx-medal__ic .i { width: 34px; height: 34px; }
.evx-medal__pos { position: absolute; top: 12px; left: 14px; font-family: var(--font-display); font-size: 16px; color: var(--m1); opacity: .85; }
.evx-medal .money--lg { font-size: 24px; }
.evx-medal--1 .money--lg { font-size: 30px; }
.evx-medal small { color: var(--text-mute); font-size: 12.5px; }
/* Un puesto con varios premios (USDT + pastillas): en las medallas, las pastillas van debajo y más chicas */
.evx-prize { display: inline-flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 4px 6px; }
.evx-prize__plus { font-style: normal; font-weight: 800; color: var(--text-mute); }
.evx-medal .evx-prize { flex-direction: column; gap: 2px; }
.evx-medal .evx-prize__plus { display: none; }
.evx-medal .evx-prize .money--pill { font-size: 14px; color: var(--text-dim); }
.evx-medal .evx-prize .money--pill::before { content: "+"; margin-right: 2px; }
.evx-rest { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; padding: 12px 16px; border-radius: 18px; background: var(--asphalt-850); border: 1px solid var(--line); }
.evx-rest__label { margin-right: auto; color: var(--text-dim); font-size: 13px; font-weight: 700; }
.evx-rest__chip { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px 6px 8px; border-radius: 99px; background: rgba(255, 90, 95, .08); border: 1px solid rgba(255, 90, 95, .22); font-size: 13.5px; }
.evx-rest__chip > b { display: grid; place-items: center; min-width: 26px; height: 26px; padding: 0 4px; border-radius: 99px; background: var(--asphalt-700); font-family: var(--font-display); font-weight: 400; font-size: 12px; color: var(--text-dim); }
.evx-rest__chip .pill-ic { width: 18px; height: 18px; }

/* Tu carrera */
.evx-me {
  display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 18px; margin-bottom: 26px; padding: 18px 20px;
  border-radius: 20px; background: var(--asphalt-850); border: 1px solid var(--line-strong);
}
.evx-me.is-winning { border-color: rgba(61, 219, 168, .5); background: linear-gradient(90deg, rgba(61, 219, 168, .12), transparent 60%), var(--asphalt-850); }
.evx-me__who { position: relative; }
.evx-me__rank {
  position: absolute; right: -10px; bottom: -6px; padding: 2px 7px; border-radius: 99px; background: var(--taxi); color: var(--text-on-taxi);
  font-family: var(--font-display); font-size: 12px; line-height: 1.3; box-shadow: 0 0 0 3px var(--asphalt-850);
}
.evx-me__txt { display: grid; gap: 4px; min-width: 0; }
.evx-me__txt > b { font-size: 16px; }
.evx-me__txt > span { color: var(--text-dim); font-size: 14px; }
.evx-me__txt > span:empty { display: none; }
.evx-me__txt b b, .evx-me__txt span b { color: var(--text); }
.evx-goal { display: grid; gap: 6px; margin-top: 6px; max-width: 520px; }
.evx-goal > span { color: var(--text-dim); font-size: 13.5px; }
.evx-goal > span b { color: var(--taxi); }
.evx-goal__bar { height: 10px; border-radius: 99px; background: var(--asphalt-700); overflow: hidden; }
.evx-goal__bar i { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--taxi-deep), var(--taxi)); transition: width .6s var(--ease-out); }
.evx-me.is-winning .evx-goal__bar i { background: linear-gradient(90deg, var(--usdt), var(--ok)); }
.evx-me__cta { display: grid; gap: 8px; }

/* Ranking */
.podium--ev .podium__block { display: flex; flex-direction: column; justify-content: center; gap: 2px; }
.podium__block small { font-family: var(--font-ui); font-size: 12px; font-weight: 800; color: rgba(0, 0, 0, .55); }
.podium__col.is-me > b { color: var(--taxi); }
.rank-row.is-prize .rank-row__pos { color: var(--taxi); }
.rank-row--ev { grid-template-columns: 40px 30px 1fr auto; }
.rank-row__name { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; min-width: 0; }
.rank-row--ev .rank-row__name { display: grid; gap: 6px; }
.rank-row__who { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; min-width: 0; }
.rank-row__who > b, .rank-row__name > b { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.rank-row__prize { font-size: 12.5px; }
.rank-row__fleet { color: var(--text-dim); font-size: 13px; white-space: nowrap; }
.rank-row__fleet b { color: var(--text); font-size: 16px; font-variant-numeric: tabular-nums; }
.evx-fleetbar { display: block; height: 4px; max-width: 360px; border-radius: 99px; background: rgba(255, 255, 255, .06); overflow: hidden; }
.evx-fleetbar i { display: block; height: 100%; border-radius: inherit; background: var(--asphalt-500); }
.rank-row.is-prize .evx-fleetbar i { background: var(--taxi); }
.evx-zone {
  display: flex; align-items: center; justify-content: center; gap: 8px; padding: 7px; color: var(--taxi); font-size: 11.5px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase;
  background: repeating-linear-gradient(135deg, rgba(255, 198, 41, .07) 0 10px, transparent 10px 20px); border-top: 1px dashed rgba(255, 198, 41, .45);
}
.evx-zone .i { width: 15px; height: 15px; }
@media (max-width: 520px) { .rank-row--ev { grid-template-columns: 26px 30px 1fr auto; } }
.rank-row--gap { grid-template-columns: 1fr; justify-items: center; color: var(--text-mute); padding: 4px; }

/* Cómo se gana */
.evx-how { margin-top: 26px; }
.evx-how__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.evx-step { display: grid; align-content: start; gap: 8px; padding: 18px; border-radius: 18px; background: var(--asphalt-850); border: 1px solid var(--line); }
.evx-step__ic { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 12px; background: rgba(255, 198, 41, .12); color: var(--taxi); }
.evx-step__ic .i { width: 21px; height: 21px; }
.evx-step b { font-size: 16px; }
.evx-step p { margin: 0; color: var(--text-dim); font-size: 14px; line-height: 1.5; }
.evx-rules { margin-top: 12px; border-radius: 18px; background: var(--asphalt-850); border: 1px solid var(--line); }
.evx-rules summary { display: flex; align-items: center; gap: 10px; padding: 14px 18px; font-weight: 700; cursor: pointer; list-style: none; }
.evx-rules summary::-webkit-details-marker { display: none; }
.evx-rules summary span { flex: 1; }
.evx-rules summary .i:last-child { transition: transform .2s var(--ease-out); color: var(--text-mute); }
.evx-rules[open] summary .i:last-child { transform: rotate(180deg); }
.evx-rules ul { display: grid; gap: 8px; margin: 0; padding: 0 18px 18px 38px; color: var(--text-dim); font-size: 14px; line-height: 1.5; }
.evx-rules b { color: var(--text); }

@media (max-width: 900px) {
  .evx-hero { grid-template-columns: minmax(0, 1fr); padding: 30px 20px 0; }
  .evx-stats { grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); }
  .evx-stat--pool { grid-column: 1 / -1; }
  .evx-road { margin: 6px -20px 0; }
  .evx-me { grid-template-columns: auto minmax(0, 1fr); }
  .evx-me__cta { grid-column: 1 / -1; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); }
  .evx-how__grid { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 520px) {
  .evclock__cell b { font-size: 26px; }
  /* el 1° arriba a todo el ancho y el 2° y 3° debajo, así los montos entran completos */
  .evx-medals { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .evx-medal--1 { grid-column: 1 / -1; order: -1; padding: 30px 12px 18px; }
  .evx-medal { padding: 22px 8px 14px; }
  .evx-medal__ic { width: 44px; height: 44px; }
  .evx-medal--1 .evx-medal__ic { width: 56px; height: 56px; }
  .evx-medal .money--lg { font-size: 19px; }
  .evx-medal--1 .money--lg { font-size: 26px; }
  .evx-medal small { font-size: 11.5px; }
  .evx-road__car { width: 86px; }
  .evx-road__car:nth-child(n + 5) { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .evx-road, .evx-road__car, .evx-live__dot { animation: none; }
}

/* ================= PERFIL ================= */
.pgrid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.pcard { display: grid; justify-items: center; text-align: center; gap: 10px; }
.pcard h2 { font-size: 22px; }
.pcard .refbox { width: 100%; text-align: left; }
.setting { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 12px 0; border-top: 1px solid var(--line); cursor: pointer; }
.setting:first-of-type { border-top: 0; }
.setting span { display: grid; }
.setting small { color: var(--text-mute); font-size: 12.5px; }
.setting--range { display: grid; grid-template-columns: 160px 1fr; font-size: 13.5px; color: var(--text-dim); }

/* ================= AYUDA ================= */
.rules { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 14px; }
.rule { display: grid; gap: 8px; align-content: start; padding: 20px; border-radius: 20px; background: var(--asphalt-850); border: 1px solid var(--line); }
.rule h3 { font-size: 17px; }
.rule p { color: var(--text-dim); font-size: 14.5px; }
.rule p b { color: var(--text); }
.rule__ic { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 14px; background: rgba(255, 198, 41, .12); color: var(--taxi); font-family: var(--font-display); font-size: 20px; }
.rule__ic--usdt { background: rgba(38, 161, 123, .16); color: var(--usdt-bright); }
.rule__ic--warn { background: rgba(255, 90, 95, .12); color: var(--danger); }
.table-wrap { overflow-x: auto; border-radius: 18px; border: 1px solid var(--line); }
.mtable { width: 100%; border-collapse: collapse; font-size: 14px; min-width: 640px; }
.mtable th { text-align: left; padding: 12px 16px; font-size: 12px; color: var(--text-mute); font-weight: 700; letter-spacing: .04em; text-transform: uppercase; background: var(--asphalt-800); }
.mtable td { padding: 10px 16px; border-top: 1px solid var(--line); background: var(--asphalt-850); font-variant-numeric: tabular-nums; }
.mtable td:first-child { display: flex; align-items: center; gap: 10px; }
.mtable__car { width: 74px; flex: none; }
.mtable em { color: var(--ok); font-style: normal; font-weight: 700; }

/* ================= RESPONSIVE ================= */
@media (max-width: 1100px) {
  .ghero { grid-template-columns: auto 1fr; grid-template-areas: "emblem head" "emblem txt" "card card"; }
  .ghero .gcard { justify-self: start; width: 320px; margin-top: 10px; }
  .perks { grid-template-columns: 1fr 1fr; }
  .showroom { grid-template-columns: 1fr; }
  .showroom__info { border-left: 0; border-top: 1px solid var(--line); }
  .wgrid { grid-template-columns: 1fr; }
}
@media (max-width: 900px) {
  .view--city { height: calc(100dvh - var(--topbar-h) - 8px - 70px - env(safe-area-inset-bottom)); }
  .dispatch { left: 10px; right: 10px; bottom: 10px; width: auto; max-height: 55%; }
  .city__chips { top: 10px; left: 10px; right: 90px; }
  .city__online, .city__event { font-size: 12px; }
  .timeline { overflow-x: auto; grid-template-columns: repeat(12, 64px); padding-bottom: 4px; }
  .timeline__track { right: auto; width: 748px; }
  .showroom__stage { min-height: 280px; padding-bottom: 50px; }
  .balance-cards { grid-template-columns: 1fr; }
  .bcard__arrow { grid-auto-flow: column; gap: 10px; }
  .bcard__arrow .i { transform: rotate(90deg); }
  .xbox { grid-template-columns: 1fr; }
  .xbox__mid span { transform: rotate(90deg); }
  /* Gremio en celular: escudo chico al lado del título, todo lo demás a lo ancho */
  .ghero { grid-template-columns: 76px 1fr; grid-template-areas: "emblem head" "txt txt" "card card"; gap: 16px 14px; padding: 20px 18px 24px; border-radius: 22px; }
  .ghero__emblem .emblem { width: 76px; }
  .ghero__head { align-self: center; }
  .ghero__head .eyebrow { font-size: 10.5px; }
  .ghero__head h1 { font-size: 26px; }
  .ghero__txt { gap: 14px; }
  .ghero__lead { font-size: 14.5px; }
  .ghero__buy { grid-template-columns: 1fr; width: 100%; gap: 12px; padding: 14px; border-radius: 16px; background: rgba(0, 0, 0, .25); margin-top: 0; }
  .ghero__price { grid-auto-flow: column; justify-content: space-between; align-items: baseline; }
  .ghero__buy > .btn { width: 100%; justify-self: stretch; }
  .ghero__actions { grid-template-columns: 1fr; padding-top: 12px; }
  .setting--inline { max-width: none; gap: 16px; }
  .ghero .gcard { width: 100%; max-width: 380px; justify-self: center; transform: rotate(-1.5deg); margin-top: 4px; }
  .gstatus__row { font-size: 13px; }
  .mgrid { grid-template-columns: 1fr 1fr; }
  .perks { grid-template-columns: 1fr 1fr; }
  .refhero { grid-template-columns: minmax(0, 1fr); }
  .refhero__prize { border-left: 0; border-top: 1px dashed var(--line-strong); }
  .refhero__prize.is-claim { order: -1; border-top: 0; border-bottom: 1px dashed var(--line-strong); }
  .steps { grid-template-columns: 1fr; }
  .ref-row { grid-template-columns: 38px 1fr; }
  .ref-row__prog, .ref-row > .tag { grid-column: 2; }
  .bonus { flex-wrap: wrap; }
  .bonus__art { width: 84px; }
  .pgrid { grid-template-columns: 1fr; }
  .deposit { flex-direction: column; align-items: stretch; }
  .qr { align-self: center; }
}
@media (max-width: 520px) {
  .bays { grid-template-columns: 1fr; }
  .cgrid { grid-template-columns: 1fr; }
  .spec-grid { grid-template-columns: 1fr 1fr; }
  .showroom__info { padding: 20px; }
  .showroom__info h2 { font-size: 26px; }
  .rank-row { grid-template-columns: 30px 30px 1fr auto; }
  .perks { grid-template-columns: 1fr; }
  .mgrid { grid-template-columns: 1fr; }
  .evclock__cell b { font-size: 24px; }
  .arow, .arow.tgrow { grid-template-columns: 40px 1fr; }
  .arow__reward, .arow > :last-child { grid-column: 2; justify-self: start; }
  .rank-row .muted { display: none; }
  .myl { flex-wrap: wrap; }
  .vhead__actions { width: 100%; }
  .vhead__actions .btn { flex: 1; }
  .setting--range { grid-template-columns: 1fr; }
}

/* Calculadora de depósito (USDT → Efectivo) */
.dcalc { display: grid; gap: 12px; margin-top: 18px; padding: 16px; border-radius: 16px; background: rgba(0, 0, 0, .22); border: 1px solid var(--line); }
.dcalc > strong { display: flex; align-items: center; gap: 8px; font-size: 15px; }
.dcalc > strong .i { color: var(--taxi); width: 18px; height: 18px; }
.dcalc__row { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); gap: 12px; align-items: center; }
.dcalc__in, .dcalc__out { display: grid; gap: 6px; min-width: 0; }
.dcalc__in small, .dcalc__out small { color: var(--text-mute); font-weight: 600; font-size: 12.5px; }
.dcalc__in .input-wrap, .dcalc__in input { width: 100%; min-width: 0; }
.dcalc__in input { padding-right: 64px; }
.dcalc__in .input-wrap__unit { right: 14px; }
.dcalc__eq { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--taxi); color: var(--text-on-taxi); }
.dcalc__out { padding: 10px 14px; border-radius: 12px; background: linear-gradient(135deg, rgba(255, 159, 67, .14), rgba(255, 159, 67, .04)); border: 1px solid rgba(255, 159, 67, .25); }
.dcalc__out b { font-size: 26px; line-height: 1; color: var(--cash-bright); font-variant-numeric: tabular-nums; }
@media (max-width: 520px) {
  .dcalc__row { grid-template-columns: 1fr; }
  .dcalc__eq { transform: rotate(90deg); justify-self: center; }
}

/* Cómo se juega: enlaces a los textos legales */
.legal-links { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 8px 10px; margin: 28px 0 8px; color: var(--text-mute); font-size: 13.5px; }
.legal-links .i { width: 16px; height: 16px; }
.legal-links a { color: var(--text-dim); font-weight: 600; }
.legal-links a:hover { color: var(--taxi); }
