/* ============================================================
   Tío Stream — tema oscuro cinemático
   El color de acento (--p, --p2) lo inyecta app.js según la
   plataforma seleccionada en el hero slider.
   ============================================================ */
:root {
  --bg: #07070a;
  --bg2: #0d0d12;
  --card: rgba(255, 255, 255, .045);
  --card2: rgba(255, 255, 255, .08);
  --line: rgba(255, 255, 255, .09);
  --tx: #f5f6fa;
  --mu: #9a9aab;
  --p: #ff2d55;
  --p2: #a3ff12;
  --ok: #2ee06b;
  --warn: #ffcf3a;
  --bad: #ff4d5a;
  --r: 18px;
  --ease: cubic-bezier(.22, .9, .25, 1);
  color-scheme: dark;
}

* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html, body { margin: 0; }
body {
  background: var(--bg);
  color: var(--tx);
  font: 16px/1.5 "Inter", "Manrope", -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
  overflow-x: hidden;
  padding-bottom: env(safe-area-inset-bottom);
  font-feature-settings: "kern" 1;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3 { margin: 0; letter-spacing: -.02em; line-height: 1.1; }
small { color: var(--mu); }

/* ---------- Navbar ---------- */
.nav {
  position: sticky; top: 0; z-index: 40;
  display: flex; align-items: center; gap: 18px;
  padding: 12px clamp(14px, 4vw, 44px);
  background: linear-gradient(180deg, rgba(7, 7, 10, .92), rgba(7, 7, 10, .55) 70%, transparent);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  transition: background .3s, box-shadow .3s;
}
.nav.solid { background: rgba(7, 7, 10, .92); box-shadow: 0 1px 0 var(--line); }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 900; font-size: 20px; letter-spacing: -.03em; white-space: nowrap; }
.brand .mark {
  width: 36px; height: 36px; border-radius: 12px; display: grid; place-items: center;
  background: linear-gradient(135deg, var(--p), var(--p2));
  box-shadow: 0 0 18px -2px var(--p), 0 0 42px -10px var(--p2), inset 0 1px 0 rgba(255, 255, 255, .35);
  transition: background .5s var(--ease), box-shadow .5s var(--ease);
}
.brand .mark svg { width: 16px; height: 16px; filter: drop-shadow(0 0 4px rgba(0, 0, 0, .5)); }
.brand span b { color: var(--p); transition: color .5s var(--ease); }
.brand:hover .mark { transform: rotate(-6deg) scale(1.05); }
.links { display: flex; gap: 4px; margin-left: 8px; flex: 1; }
.links a, .links button {
  border: 0; background: none; cursor: pointer; color: var(--mu); font-weight: 600; font-size: 14.5px;
  padding: 9px 14px; border-radius: 99px; transition: color .2s, background .2s;
}
.links a:hover, .links button:hover { color: var(--tx); background: var(--card2); }
.links a.on { color: var(--tx); background: var(--card2); box-shadow: inset 0 0 0 1px var(--line); }
.nav .right { display: flex; align-items: center; gap: 8px; margin-left: auto; }

/* ---------- Botones ---------- */
.btn {
  border: 0; cursor: pointer; border-radius: 12px; padding: 11px 18px; font-weight: 700; font-size: 14.5px;
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  background: var(--card2); color: var(--tx);
  box-shadow: inset 0 0 0 1px var(--line);
  transition: transform .18s var(--ease), background .2s, box-shadow .2s, opacity .2s;
  white-space: nowrap;
}
.btn:hover { background: rgba(255, 255, 255, .12); transform: translateY(-1px); }
.btn:active { transform: translateY(0) scale(.99); }
.btn.primary {
  background: linear-gradient(135deg, var(--p), var(--p2));
  color: #fff; box-shadow: 0 8px 26px -10px var(--p), 0 0 0 1px rgba(255, 255, 255, .08) inset;
  text-shadow: 0 1px 2px rgba(0, 0, 0, .35);
}
.btn.primary:hover { box-shadow: 0 12px 34px -10px var(--p), 0 0 22px -6px var(--p2); }
.btn.wa { background: #128c4b; color: #fff; box-shadow: 0 8px 26px -12px #25d366; }
.btn.wa:hover { background: #15a057; }
.btn.ghost { background: transparent; }
.btn.sm { padding: 8px 12px; font-size: 13px; border-radius: 10px; }
.btn.block { width: 100%; }
.btn:disabled { opacity: .4; cursor: not-allowed; transform: none; }

/* ---------- Hero slider ---------- */
.hero {
  position: relative; isolation: isolate;
  min-height: min(88vh, 760px);
  margin: -72px 0 0; padding: 120px clamp(14px, 4vw, 44px) 28px;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}
.hero .layer {
  position: absolute; inset: 0; z-index: -2;
  background-size: cover; background-position: center 30%;
  opacity: 0; transform: scale(1.08);
  transition: opacity .55s var(--ease), transform .9s var(--ease), filter .55s;
  filter: saturate(.9) contrast(1.05);
  will-change: opacity, transform;
}
.hero .layer.on { opacity: .95; transform: scale(1); }
.hero .shade {
  position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(120% 70% at 85% 10%, transparent 0%, rgba(7, 7, 10, .35) 55%, rgba(7, 7, 10, .96) 100%),
    linear-gradient(90deg, rgba(7, 7, 10, .96) 0%, rgba(7, 7, 10, .72) 42%, rgba(7, 7, 10, .25) 75%, transparent 100%),
    linear-gradient(0deg, var(--bg) 0%, transparent 38%);
}
.hero .inner { max-width: 1240px; margin: 0 auto; display: grid; grid-template-columns: 1.15fr .85fr; gap: 28px; align-items: end; }
.hero .copy { max-width: 620px; }
.hero .kicker {
  display: inline-flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 800; letter-spacing: .16em;
  text-transform: uppercase; color: var(--tx); background: rgba(0, 0, 0, .35);
  border: 1px solid color-mix(in srgb, var(--p) 55%, transparent);
  padding: 7px 12px; border-radius: 99px; backdrop-filter: blur(6px);
}
.hero .kicker i { width: 7px; height: 7px; border-radius: 50%; background: var(--p); box-shadow: 0 0 10px var(--p); }
.hero .plogo { width: 66px; height: 66px; border-radius: 18px; margin: 18px 0 14px; box-shadow: 0 10px 30px -12px var(--p); }
.hero h1 { font-size: clamp(36px, 6.2vw, 74px); font-weight: 900; letter-spacing: -.045em; text-shadow: 0 6px 30px rgba(0, 0, 0, .55); }
.hero h1 em { font-style: normal; background: linear-gradient(100deg, #fff 10%, color-mix(in srgb, var(--p) 70%, #fff) 60%, var(--p2)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero .tagline { margin: 12px 0 0; font-size: clamp(15px, 1.7vw, 19px); color: #dadbe6; max-width: 54ch; }
.hero .meta { display: flex; flex-wrap: wrap; gap: 8px 18px; margin: 18px 0 0; color: var(--mu); font-size: 13.5px; }
.hero .meta b { color: var(--tx); }
.hero .price { display: flex; align-items: baseline; gap: 8px; margin: 18px 0 4px; }
.hero .price .v { font-size: clamp(34px, 4.6vw, 52px); font-weight: 900; letter-spacing: -.04em; }
.hero .price small { font-size: 14px; }
.hero .actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }
.hero .badges { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.pill { font-size: 12px; font-weight: 700; padding: 6px 10px; border-radius: 99px; background: rgba(255, 255, 255, .07); color: #d7d8e2; box-shadow: inset 0 0 0 1px var(--line); }

/* Animación de entrada del copy (slide-up + fade) */
.anim { opacity: 0; transform: translateY(18px); animation: rise .62s var(--ease) forwards; animation-delay: var(--d, 0ms); }
@keyframes rise { to { opacity: 1; transform: translateY(0); } }

/* Mini ficha lateral del hero */
.hero .aside {
  justify-self: end; width: min(330px, 100%);
  background: rgba(12, 12, 16, .62); border: 1px solid var(--line); border-radius: 22px;
  padding: 16px; backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .9); margin-bottom: 8px;
}
.hero .aside h3 { font-size: 14px; letter-spacing: .02em; }
.hero .aside .item { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 9px 0; border-top: 1px solid var(--line); font-size: 13.5px; }
.hero .aside .item:first-of-type { border-top: 0; }
.hero .aside .item span { color: var(--mu); }
.hero .aside .item b { font-weight: 700; text-align: right; }
.hero .dots { display: flex; gap: 6px; justify-content: center; margin: 18px 0 14px; }
.hero .dots button { width: 7px; height: 7px; padding: 0; border-radius: 99px; border: 0; cursor: pointer; background: rgba(255, 255, 255, .25); transition: width .3s var(--ease), background .3s; }
.hero .dots button.on { width: 26px; background: linear-gradient(90deg, var(--p), var(--p2)); }

/* ---------- Carrusel ---------- */
.railwrap { position: relative; max-width: 1240px; margin: -4px auto 0; padding: 0 clamp(14px, 4vw, 44px); }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 14px; margin: 34px 0 14px; }
.section-head h2 { font-size: clamp(20px, 2.6vw, 28px); font-weight: 800; }
.section-head p { margin: 4px 0 0; color: var(--mu); font-size: 14px; }
.railnav { display: flex; gap: 8px; }
.railnav button { width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--line); background: var(--card); color: var(--tx); cursor: pointer; font-size: 16px; transition: background .2s, transform .2s; }
.railnav button:hover { background: var(--card2); transform: translateY(-1px); }
.rail {
  display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth;
  padding: 6px 4px 18px; margin: 0 -4px;
  scrollbar-width: none; -ms-overflow-style: none;
}
.rail::-webkit-scrollbar { display: none; }
.tile {
  position: relative; flex: 0 0 auto; width: 168px; border: 0; padding: 0; cursor: pointer; scroll-snap-align: start;
  border-radius: 16px; overflow: hidden; background: var(--card);
  box-shadow: 0 10px 30px -22px #000, inset 0 0 0 1px var(--line);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), filter .3s;
  text-align: left; color: var(--tx);
}
.tile img { width: 100%; aspect-ratio: 3/4.2; object-fit: cover; transition: transform .5s var(--ease); }
.tile .cap { position: absolute; inset: auto 0 0 0; padding: 10px 12px; background: linear-gradient(0deg, rgba(0, 0, 0, .88), transparent); }
.tile .cap b { display: block; font-size: 14px; }
.tile .cap span { font-size: 12px; color: #cfd0dc; }
.tile:hover, .tile:focus-visible { transform: translateY(-8px) scale(1.02); box-shadow: 0 26px 44px -24px #000, 0 0 0 1px color-mix(in srgb, var(--p) 55%, transparent), 0 0 40px -16px var(--p); outline: none; }
.tile:hover img { transform: scale(1.06); }
.tile.on { box-shadow: 0 0 0 2px var(--p), 0 22px 40px -24px #000, 0 0 46px -14px var(--p); transform: translateY(-8px); }
.tile.on::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 45%, color-mix(in srgb, var(--p) 28%, transparent)); pointer-events: none; }
.tile .price-tag { position: absolute; top: 8px; right: 8px; font-size: 11.5px; font-weight: 800; padding: 4px 8px; border-radius: 99px; background: rgba(0, 0, 0, .6); backdrop-filter: blur(6px); }

/* ---------- Secciones / catálogo ---------- */
.section { max-width: 1240px; margin: 0 auto; padding: 14px clamp(14px, 4vw, 44px) 44px; }
.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 14px; }
.pcard { position: relative; border-radius: 18px; overflow: hidden; background: var(--card); box-shadow: inset 0 0 0 1px var(--line); transition: transform .35s var(--ease), box-shadow .35s; }
.pcard:hover { transform: translateY(-6px); box-shadow: 0 24px 44px -28px #000, inset 0 0 0 1px var(--line); }
.pcard img { width: 100%; aspect-ratio: 3/4.2; object-fit: cover; }
.pcard .body { padding: 12px 14px 14px; }
.pcard h3 { font-size: 16px; }
.pcard p { margin: 4px 0 10px; font-size: 13px; color: var(--mu); min-height: 36px; }
.pcard .foot { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.pcard .foot b { font-size: 17px; }
.pcard .foot .btn { padding: 8px 12px; font-size: 13px; }

/* ---------- Mis alquileres ---------- */
.rental { display: grid; grid-template-columns: 92px 1fr; gap: 14px; padding: 14px; border-radius: 18px; background: var(--card); box-shadow: inset 0 0 0 1px var(--line); margin-bottom: 12px; }
.rental img { width: 92px; border-radius: 12px; }
.rental .top { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.rental h3 { font-size: 16px; }
.rental .acts { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }

.chip { display: inline-flex; align-items: center; gap: 6px; font-size: 11.5px; font-weight: 800; letter-spacing: .02em; padding: 4px 9px; border-radius: 99px; color: #08100a; }
.chip.reposo { background: #c9c4ff; } .chip.activa { background: #7ef2a8; } .chip.por_vencer, .chip.pendiente { background: #ffd76a; }
.chip.caida { background: #ff8b93; } .chip.reembolsada { background: #9dc9ff; }
.code { font-size: clamp(30px, 8vw, 44px); font-weight: 900; letter-spacing: .26em; text-align: center; padding: 14px; border-radius: 14px; background: rgba(0, 0, 0, .35); box-shadow: inset 0 0 0 1px var(--line); font-variant-numeric: tabular-nums; }

/* ---------- Formularios (portal, checkout) ---------- */
.field { display: block; margin: 10px 0; }
.field > span { display: block; font-size: 12.5px; font-weight: 700; color: var(--mu); margin-bottom: 6px; letter-spacing: .02em; text-transform: uppercase; }
input, select, textarea {
  width: 100%; background: rgba(255, 255, 255, .04); color: var(--tx);
  border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; outline: none;
  transition: border-color .2s, box-shadow .2s, background .2s;
}
input:focus, select:focus, textarea:focus { border-color: color-mix(in srgb, var(--p) 70%, #fff); box-shadow: 0 0 0 3px color-mix(in srgb, var(--p) 22%, transparent); background: rgba(255, 255, 255, .06); }
textarea { min-height: 120px; resize: vertical; }
select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--mu) 50%), linear-gradient(135deg, var(--mu) 50%, transparent 50%); background-position: calc(100% - 18px) 51%, calc(100% - 13px) 51%; background-size: 5px 5px; background-repeat: no-repeat; }
.panel { background: rgba(14, 14, 19, .78); border: 1px solid var(--line); border-radius: 22px; padding: clamp(16px, 3vw, 26px); box-shadow: 0 30px 60px -40px #000; }
.center { max-width: 560px; margin: 24px auto; }
.err { color: var(--bad); font-size: 13.5px; }
.okc { color: var(--ok); font-size: 13.5px; }

/* ---------- Checkout ---------- */
.overlay { position: fixed; inset: 0; z-index: 80; background: rgba(4, 4, 7, .72); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); display: grid; place-items: center; padding: 16px; animation: fade .25s var(--ease); }
@keyframes fade { from { opacity: 0; } }
.sheet { width: min(560px, 100%); max-height: calc(100vh - 32px); overflow: auto; background: #0e0e14; border: 1px solid var(--line); border-radius: 24px; padding: 22px; box-shadow: 0 40px 80px -30px #000; animation: rise .35s var(--ease); }
.sheet .head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 6px; }
.sheet .head h2 { font-size: 21px; }
.steps { display: flex; gap: 6px; margin: 12px 0 18px; }
.steps div { flex: 1; height: 4px; border-radius: 99px; background: rgba(255, 255, 255, .1); overflow: hidden; }
.steps div i { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--p), var(--p2)); transition: width .4s var(--ease); }
.steps div.done i, .steps div.on i { width: 100%; }
.paygrid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.payopt { border: 1px solid var(--line); background: rgba(255, 255, 255, .03); border-radius: 14px; padding: 12px; cursor: pointer; text-align: left; transition: border-color .2s, background .2s, transform .2s; }
.payopt b { display: block; font-size: 15px; }
.payopt small { font-size: 12px; }
.payopt.on { border-color: var(--p); background: color-mix(in srgb, var(--p) 12%, transparent); box-shadow: 0 0 24px -12px var(--p); }
.qrbox { display: grid; place-items: center; gap: 10px; padding: 14px; border-radius: 18px; background: #fff; margin: 12px auto; width: fit-content; }
.qrbox img { width: min(240px, 62vw); height: auto; image-rendering: pixelated; }
.payamt { font-size: 30px; font-weight: 900; letter-spacing: -.03em; }
.copyrow { display: flex; gap: 8px; align-items: center; }
.drop { border: 1.5px dashed var(--line); border-radius: 16px; padding: 18px; text-align: center; cursor: pointer; transition: border-color .2s, background .2s; }
.drop:hover, .drop.hover { border-color: var(--p); background: color-mix(in srgb, var(--p) 8%, transparent); }
.drop img { max-height: 200px; margin: 10px auto 0; border-radius: 10px; }
/* ---------- Tarjeta de pago (QR generado por código) ---------- */
.paytabs { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin: 4px 0 14px; }
.paytab { display: flex; align-items: center; gap: 10px; border: 1px solid var(--line); background: rgba(255, 255, 255, .03); border-radius: 14px; padding: 10px 12px; cursor: pointer; text-align: left; transition: border-color .2s, background .2s, transform .2s; }
.paytab:hover { background: rgba(255, 255, 255, .07); transform: translateY(-1px); }
.paytab.on { border-color: var(--p); background: color-mix(in srgb, var(--p) 10%, transparent); box-shadow: 0 0 22px -14px var(--p); }
.paytab b { display: block; font-size: 14.5px; }
.paytab small { font-size: 11.5px; color: var(--mu); }
.paylogo { flex: 0 0 34px; width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; background: rgba(255, 255, 255, .9); overflow: hidden; }
.paylogo svg { width: 26px; height: 26px; }

.paycard { border: 1px solid var(--line); border-radius: 20px; overflow: hidden; background: linear-gradient(180deg, rgba(255, 255, 255, .06), rgba(255, 255, 255, .015)); box-shadow: 0 20px 50px -34px #000; }
.paycard-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; padding: 14px 16px 10px; border-bottom: 1px dashed var(--line); flex-wrap: wrap; }
.paylbl { font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--mu); font-weight: 800; }
.payholder { font-size: clamp(20px, 4.5vw, 26px); font-weight: 900; letter-spacing: -.02em; line-height: 1.15; margin-top: 2px; }
.paywallets { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 8px; }
.wchip { font-size: 11px; font-weight: 800; padding: 3px 9px; border-radius: 99px; background: rgba(255, 255, 255, .08); box-shadow: inset 0 0 0 1px var(--line); color: #dcdde6; }
.payamount { text-align: right; }
.payamount small { display: block; font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--mu); font-weight: 800; }
.payamount b { font-size: clamp(24px, 5.5vw, 32px); font-weight: 900; letter-spacing: -.03em; background: linear-gradient(100deg, #fff, color-mix(in srgb, var(--p) 80%, #fff)); -webkit-background-clip: text; background-clip: text; color: transparent; }

.payqr { display: flex; gap: 16px; align-items: center; padding: 14px 16px; flex-wrap: wrap; justify-content: center; }
.payqr-frame { background: #fff; padding: 12px; border-radius: 16px; box-shadow: 0 12px 30px -18px #000, 0 0 0 1px rgba(0, 0, 0, .06); }
.payqr-frame img { width: 190px; height: 190px; object-fit: contain; image-rendering: crisp-edges; }
.payqr-side { flex: 1; min-width: 170px; }
.payqr-side b { display: block; font-size: 17px; }
.payqr-side small { display: block; margin-top: 2px; }
.paynote { display: block; margin-top: 10px; font-size: 12.5px; color: var(--mu); line-height: 1.5; }

.paysteps { margin: 0; padding: 12px 18px 12px 36px; border-top: 1px solid var(--line); color: var(--mu); font-size: 12.5px; line-height: 1.6; }
.paysteps b { color: var(--tx); }
.payfoot { padding: 0 16px 16px; }

@media (max-width: 560px) {
  .paytabs { grid-template-columns: 1fr; }
  .paycard-top { flex-direction: column; }
  .payamount { text-align: left; }
  .payqr-frame img { width: 170px; height: 170px; }
}

/* Pantalla de espera (pago en verificación) */
.wait { display: flex; gap: 8px; justify-content: center; margin: 4px 0 18px; }
.wait span { width: 12px; height: 12px; border-radius: 50%; background: linear-gradient(135deg, var(--p), var(--p2)); animation: pulse 1.2s var(--ease) infinite; }
.wait span:nth-child(2) { animation-delay: .18s; } .wait span:nth-child(3) { animation-delay: .36s; }
@keyframes pulse { 0%, 100% { transform: scale(.7); opacity: .45; } 50% { transform: scale(1.12); opacity: 1; } }
.steps-li { margin: 10px 0 14px; padding-left: 20px; color: var(--mu); font-size: 13.5px; line-height: 1.7; }
.steps-li b { color: var(--tx); }
.qrbox img { border-radius: 6px; }
.recap { display: flex; align-items: center; gap: 12px; padding: 12px; border-radius: 14px; background: var(--card); box-shadow: inset 0 0 0 1px var(--line); margin-bottom: 14px; }
.recap img { width: 54px; border-radius: 10px; }
.totals { margin-top: 14px; border-top: 1px solid var(--line); padding-top: 12px; font-size: 14px; }
.totals div { display: flex; justify-content: space-between; padding: 4px 0; color: var(--mu); }
.totals div b { color: var(--tx); }
.actions2 { display: flex; gap: 10px; margin-top: 16px; }
.actions2 .btn { flex: 1; }

/* ---------- Admin ---------- */
.wrap { max-width: 1240px; margin: 0 auto; padding: 18px clamp(14px, 4vw, 44px) 60px; }
.tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 10px; margin-bottom: 16px; }
.stat { border-radius: 16px; padding: 14px; background: var(--card); box-shadow: inset 0 0 0 1px var(--line); }
.stat b { display: block; font-size: 30px; font-weight: 900; letter-spacing: -.03em; }
.stat span { font-size: 12.5px; color: var(--mu); }
.stat .bar { height: 4px; border-radius: 99px; margin-bottom: 10px; }
.card { background: var(--card); border-radius: var(--r); padding: 16px; box-shadow: inset 0 0 0 1px var(--line); margin-bottom: 12px; }
.card h3 { font-size: 16px; margin-bottom: 8px; }
.row { display: flex; gap: 10px; align-items: center; justify-content: space-between; padding: 10px 0; border-top: 1px solid var(--line); flex-wrap: wrap; }
.row:first-of-type { border-top: 0; }
.dot { display: inline-block; width: 9px; height: 9px; border-radius: 50%; margin-right: 6px; }
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 10px; }
.grid2 .full { grid-column: 1 / -1; }
details summary { cursor: pointer; color: var(--mu); font-size: 13px; margin: 6px 0; }
details .grid2 { margin-top: 6px; }
.hint { font-size: 12.5px; color: var(--mu); margin: 6px 0 0; }
.seg { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 14px; }
.seg button { border: 1px solid var(--line); background: transparent; border-radius: 99px; padding: 8px 13px; font-size: 13.5px; font-weight: 700; color: var(--mu); cursor: pointer; }
.seg button.on { color: #0a0a0d; background: var(--tx); border-color: transparent; }

/* ---------- Toast ---------- */
.toast { position: fixed; left: 50%; bottom: 22px; transform: translate(-50%, 20px); z-index: 120; background: #16161d; border: 1px solid var(--line); color: var(--tx); padding: 11px 16px; border-radius: 12px; font-size: 14px; box-shadow: 0 20px 40px -20px #000; opacity: 0; pointer-events: none; transition: opacity .25s, transform .25s var(--ease); max-width: min(90vw, 520px); }
.toast.on { opacity: 1; transform: translate(-50%, 0); }
.toast.bad { border-color: rgba(255, 77, 90, .5); }

footer { border-top: 1px solid var(--line); padding: 26px clamp(14px, 4vw, 44px) 34px; color: var(--mu); font-size: 13px; display: flex; flex-wrap: wrap; gap: 10px 22px; justify-content: space-between; }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .hero { min-height: 0; padding-top: 104px; margin-top: -64px; }
  .hero .inner { grid-template-columns: 1fr; }
  .hero .aside { display: none; }
  .links { display: none; }
  .hero .layer { background-position: center 20%; }
}
@media (max-width: 560px) {
  .hero { padding-bottom: 10px; }
  .hero h1 { font-size: clamp(30px, 9vw, 44px); }
  .hero .plogo { width: 54px; height: 54px; border-radius: 15px; }
  .hero .actions .btn { flex: 1; }
  .tile { width: 138px; }
  .cards { grid-template-columns: 1fr 1fr; }
  .pcard p { display: none; }
  .paygrid { grid-template-columns: 1fr; }
  .rental { grid-template-columns: 68px 1fr; }
  .rental img { width: 68px; }
  .grid2 { grid-template-columns: 1fr; }
  .sheet { padding: 16px; border-radius: 20px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}
