:root {
  color-scheme: dark;
  --bg: #05060a;
  --bg-2: #0e0f17;
  --glass: rgba(255, 255, 255, .045);
  --glass-2: rgba(255, 255, 255, .08);
  --card: rgba(255, 255, 255, .045);
  --line: rgba(255, 255, 255, .09);
  --text: #f4f2ee;
  --muted: #8d90a2;
  --gold: #ffb547;
  --gold-2: #ff7a3d;
  --violet: #7c5cff;
  --sky: #22d3ee;
  --free: rgba(255, 255, 255, .06);
  --danger: #ff7a7a;
  --radius: 22px;
  --sans: 'Geist', system-ui, sans-serif;
  --mono: 'Geist Mono', ui-monospace, monospace;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--text); font-family: var(--sans); line-height: 1.55; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
[hidden] { display: none !important; }
a { color: inherit; }
button { font: inherit; color: inherit; }
h2 { font-size: clamp(1.5rem, 4.5vw, 2.3rem); letter-spacing: -.035em; font-weight: 700; margin: 0 0 6px; line-height: 1.15; }

/* Fondo: auroras de color en movimiento + grano */
body::before {
  content: ''; position: fixed; inset: -25%; z-index: 0; pointer-events: none; filter: blur(70px) saturate(150%); opacity: .8;
  background:
    radial-gradient(28vw 28vw at 22% 18%, rgba(124, 92, 255, .9), transparent 70%),
    radial-gradient(24vw 24vw at 80% 22%, rgba(34, 211, 238, .55), transparent 70%),
    radial-gradient(32vw 32vw at 55% 70%, rgba(255, 122, 61, .45), transparent 70%);
  animation: drift 30s ease-in-out infinite alternate;
}
@keyframes drift { to { transform: translate(5vw, 4vh) scale(1.12) rotate(6deg); } }
body::after {
  content: ''; position: fixed; inset: 0; z-index: 0; pointer-events: none; opacity: .06;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
#stars { position: fixed; inset: 0; width: 100%; height: 100%; z-index: 0; pointer-events: none; opacity: .45; }
header, main, footer, .sheet, .modal { position: relative; z-index: 1; }

.glass, .owner, .box, .result, .lookup, .kpi, .adm-wrap, .card, .stat, .stage {
  background: var(--glass); border: 1px solid var(--line); border-radius: var(--radius);
  backdrop-filter: blur(22px) saturate(140%); -webkit-backdrop-filter: blur(22px) saturate(140%);
}

/* ---------- Barra superior ---------- */
.top { display: flex; align-items: center; justify-content: space-between; gap: 12px; max-width: 1180px; margin: 0 auto; padding: 16px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 700; letter-spacing: -.02em; font-size: 1.05rem; text-decoration: none; }
.brand-logo { height: 42px; width: auto; display: block; filter: drop-shadow(0 0 10px rgba(140, 100, 255, .35)); }
.brand .dot, .brand .pulse { width: 10px; height: 10px; border-radius: 50%; background: var(--gold); animation: pulse 1s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(255, 181, 71, .55); } 70% { box-shadow: 0 0 0 10px rgba(255, 181, 71, 0); } 100% { box-shadow: 0 0 0 0 rgba(255, 181, 71, 0); } }
.country-btn { display: flex; align-items: center; gap: 10px; padding: 8px 14px 8px 8px; border-radius: 999px; cursor: pointer; border: 1px solid var(--line); background: var(--glass); backdrop-filter: blur(16px); }
.country-btn img { width: 28px; height: 20px; border-radius: 5px; object-fit: cover; }
.country-btn .t { font-family: var(--mono); font-size: .82rem; color: var(--muted); }
.country-btn .chev { opacity: .5; }

main { max-width: 1180px; margin: 0 auto; padding: 0 16px; }

/* ---------- Botones ---------- */
.btn { border: 0; cursor: pointer; border-radius: 999px; padding: 14px 24px; font-weight: 600; font-size: .98rem; text-decoration: none; display: inline-flex; align-items: center; justify-content: center; gap: 8px; transition: transform .15s, box-shadow .2s, border-color .15s; }
.btn:active { transform: scale(.97); }
.btn-primary { color: #1d1205; background: linear-gradient(135deg, #ffd38a, var(--gold) 40%, var(--gold-2)); box-shadow: 0 12px 34px rgba(255, 140, 60, .35); }
.btn-primary:disabled { opacity: .6; cursor: wait; }
.btn-ghost { background: var(--glass); border: 1px solid var(--line); color: var(--text); }
.btn-ghost:hover { border-color: rgba(255, 255, 255, .25); }
.wide { width: 100%; margin-top: .4rem; }
.mini { font: 600 .75rem var(--sans); padding: 6px 10px; border-radius: 999px; border: 1px solid var(--line); background: var(--bg-2); color: var(--text); cursor: pointer; }
.mini:hover { border-color: var(--gold); }

/* ---------- Banner del dueño del día ---------- */
.day-owner { display: flex; align-items: center; gap: 12px; margin: 6px auto 0; max-width: 640px; padding: 10px 16px; border-radius: 999px; font-size: .9rem; text-decoration: none; }
.day-owner .crown { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: linear-gradient(135deg, var(--gold), var(--gold-2)); color: #1d1205; font-weight: 800; font-size: .8rem; flex: none; }
.day-owner b { color: var(--gold); }
.day-owner .muted { color: var(--muted); }

/* ---------- Reloj con dial ---------- */
.hero { display: grid; place-items: center; padding: 22px 0 10px; text-align: center; }
.dial-wrap { position: relative; width: min(92vw, 470px); aspect-ratio: 1; }
.dial-wrap svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.tick { fill: rgba(255, 255, 255, .14); transition: fill .3s; }
.tick.owned { fill: var(--gold); filter: drop-shadow(0 0 8px rgba(255, 181, 71, .95)); }
.tick.now { fill: #fff; filter: drop-shadow(0 0 12px #fff); }
.tick.past { opacity: .5; }
.tick.owned.past { opacity: .75; }
.sweep { fill: none; stroke: url(#sweepGrad); stroke-width: 2.5; stroke-linecap: round; }
.center { position: absolute; inset: 0; display: grid; place-content: center; gap: 6px; }
.kicker { text-transform: uppercase; letter-spacing: .3em; font-size: .66rem; color: var(--muted); margin: 0; }
.time { font-family: var(--mono); font-weight: 500; font-size: clamp(2.6rem, 12vw, 4.6rem); letter-spacing: -.05em; line-height: 1; font-variant-numeric: tabular-nums; }
.time .s { background: linear-gradient(180deg, #fff, var(--gold)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.date { color: var(--muted); font-size: .88rem; margin: 0; }

.owner-card { margin-top: -6px; width: 100%; max-width: 560px; padding: 18px 20px; display: flex; gap: 14px; align-items: center; text-align: left; min-height: 92px; }
.avatar { width: 54px; height: 54px; border-radius: 16px; display: grid; place-items: center; font-weight: 800; font-size: 1.1rem; flex: none; color: #1d1205; background: linear-gradient(135deg, var(--gold), var(--gold-2)); box-shadow: 0 10px 30px rgba(255, 140, 60, .35); }
.avatar.free { background: var(--glass-2); color: var(--muted); box-shadow: none; border: 1px dashed rgba(255, 255, 255, .2); }
.owner-card .l { font-size: .72rem; text-transform: uppercase; letter-spacing: .16em; color: var(--muted); }
.owner-card .n { font-size: 1.25rem; font-weight: 700; letter-spacing: -.02em; margin: 2px 0; overflow-wrap: anywhere; }
.owner-card .d { color: #d8d5cd; font-size: .95rem; overflow-wrap: anywhere; }
.swap { animation: swap .45s cubic-bezier(.2, .8, .2, 1); }
@keyframes swap { from { opacity: 0; transform: translateY(8px) scale(.98); } }
.ctas { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; margin: 22px 0 8px; }

/* ---------- Ahora en el mundo ---------- */
.world { margin: 34px 0 10px; overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.world-track { display: flex; gap: 12px; width: max-content; animation: marquee 70s linear infinite; }
.world:hover .world-track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }
.w { display: flex; align-items: center; gap: 10px; padding: 10px 14px; border-radius: 16px; white-space: nowrap; font-size: .86rem; text-decoration: none; cursor: pointer; }
.w img { width: 22px; height: 16px; border-radius: 4px; object-fit: cover; }
.w .tm { font-family: var(--mono); color: var(--muted); }
.w b { color: var(--gold); font-weight: 600; }

section.block { margin: 64px 0; }
.sub, .lead { color: var(--muted); margin: 0 0 20px; }

/* ---------- Están por sonar ---------- */
.soon { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.soon li { display: flex; gap: 14px; align-items: baseline; padding: 12px 16px; border-radius: 16px; }
.soon .in { font-family: var(--mono); color: var(--gold); font-weight: 700; min-width: 64px; }
.soon .who { font-weight: 700; text-decoration: none; }
.soon .what { color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; flex: 1; }

/* ---------- Explorador ---------- */
.jump { display: flex; flex-wrap: wrap; gap: 10px; align-items: flex-end; padding: 14px; margin-bottom: 18px; border-radius: 18px; }
.jump label { display: flex; flex-direction: column; gap: 6px; font-size: .74rem; color: var(--muted); font-weight: 600; }
.jump label.grow { flex: 1 1 130px; }
.jump .btn { padding: 12px 20px; }
.crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin-bottom: 16px; font-size: .9rem; }
.crumbs button { background: var(--glass); border: 1px solid var(--line); border-radius: 999px; padding: 7px 12px; cursor: pointer; }
.crumbs button[aria-current] { background: rgba(255, 181, 71, .14); border-color: rgba(255, 181, 71, .5); color: var(--gold); }
.crumbs .sep { color: var(--muted); }
.legend { display: flex; gap: 16px; flex-wrap: wrap; color: var(--muted); font-size: .8rem; margin: 0 0 14px; }
.legend span { display: inline-flex; align-items: center; gap: 6px; }
.legend i { width: 12px; height: 12px; border-radius: 4px; display: inline-block; }
.stage { padding: 18px; min-height: 360px; }
.stage > * { animation: zoom .35s cubic-bezier(.2, .8, .2, 1); }
@keyframes zoom { from { opacity: 0; transform: scale(.97); } }
.loading { color: var(--muted); padding: 30px 0; text-align: center; }

.months { display: grid; grid-template-columns: repeat(auto-fill, minmax(178px, 1fr)); gap: 16px; }
.month { min-width: 0; }
.month h4 { margin: 0 0 8px; font-weight: 600; font-size: .9rem; text-transform: capitalize; }
.dgrid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 4px; }
.dcell { aspect-ratio: 1; padding: 0; min-width: 0; border-radius: 6px; border: 0; cursor: pointer; background: var(--free); position: relative; font-size: .62rem; color: rgba(255, 255, 255, .6); display: grid; place-items: center; font-family: var(--mono); transition: transform .12s; }
.dcell:hover { transform: scale(1.18); z-index: 2; outline: 1px solid var(--gold); }
.dcell.today { outline: 1.5px solid #fff; }
.dcell.hot { color: #1d1205; font-weight: 700; }
.dcell.crowned::after, .dcell.bidding::after { content: ''; position: absolute; top: 2px; right: 2px; width: 5px; height: 5px; border-radius: 50%; background: var(--sky); box-shadow: 0 0 6px var(--sky); }
.dcell.bidding::after { background: var(--violet); box-shadow: 0 0 6px var(--violet); }
.dcell.blank { visibility: hidden; }

.day-head { display: flex; flex-wrap: wrap; gap: 14px; align-items: stretch; margin-bottom: 18px; }
.day-title { flex: 1 1 260px; }
.day-title .big { font-size: clamp(1.8rem, 6vw, 2.6rem); font-weight: 700; letter-spacing: -.04em; }
.crown-card { flex: 1 1 280px; padding: 14px 16px; border-radius: 18px; background: linear-gradient(135deg, rgba(34, 211, 238, .12), rgba(124, 92, 255, .12)); border: 1px solid rgba(34, 211, 238, .3); }
.crown-card .l { font-size: .7rem; letter-spacing: .16em; text-transform: uppercase; color: var(--sky); }
.crown-card .n { font-weight: 700; font-size: 1.1rem; margin: 4px 0; overflow-wrap: anywhere; }
.crown-card .btn { margin-top: 8px; padding: 10px 18px; }
.hours { display: grid; gap: 6px; }
.hrow { display: grid; grid-template-columns: 52px 1fr 74px; align-items: center; gap: 10px; background: none; border: 0; padding: 4px 0; cursor: pointer; text-align: left; }
.hrow .h { font-family: var(--mono); color: var(--muted); font-size: .85rem; }
.bar { height: 14px; border-radius: 999px; background: var(--free); overflow: hidden; }
.bar i { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--gold-2), var(--gold)); }
.hrow .p { font-family: var(--mono); font-size: .76rem; color: var(--muted); text-align: right; }
.hrow:hover .bar { outline: 1px solid rgba(255, 181, 71, .6); }

.cgrid { display: grid; grid-template-columns: repeat(10, minmax(0, 1fr)); gap: 8px; }
.cell { aspect-ratio: 1; padding: 0; min-width: 0; border-radius: 12px; border: 1px solid var(--line); background: var(--free); cursor: pointer; font-family: var(--mono); font-size: .8rem; color: rgba(255, 255, 255, .75); position: relative; overflow: hidden; transition: transform .12s, background .2s; display: grid; place-items: center; }
.cell:hover { transform: translateY(-2px); border-color: rgba(255, 255, 255, .3); }
.cell.owned { background: linear-gradient(135deg, var(--gold), var(--gold-2)); color: #1d1205; border-color: transparent; box-shadow: 0 6px 20px rgba(255, 140, 60, .3); font-weight: 700; }
.cell.fullmin { outline: 2px solid var(--sky); outline-offset: 2px; overflow: visible; }
.cell.sel { outline: 2px solid #fff; outline-offset: 2px; }
.cell .fill { position: absolute; left: 0; bottom: 0; right: 0; background: rgba(255, 181, 71, .35); }
.cell span { position: relative; }
.hint { color: var(--muted); font-size: .85rem; margin-top: 14px; }

/* ---------- Números ---------- */
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 12px; }
.stat { padding: 20px; }
.stat b { display: block; font-family: var(--mono); font-size: clamp(1.4rem, 5vw, 2.1rem); letter-spacing: -.04em; }
.stat span { color: var(--muted); font-size: .88rem; }

.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 12px; }
.card { display: block; text-decoration: none; padding: 16px; transition: border-color .15s, transform .15s; }
.card:hover { border-color: rgba(255, 181, 71, .5); transform: translateY(-2px); }
.card .t { font-family: var(--mono); color: var(--gold); font-size: .78rem; font-weight: 500; }
.card .n { font-weight: 700; margin: .2rem 0; }
.card .d { color: var(--muted); font-size: .9rem; overflow-wrap: anywhere; }

.how ol { padding-left: 1.2rem; display: grid; gap: .7rem; color: #d6d2c8; }
.fine { color: var(--muted); font-size: .82rem; border-top: 1px solid var(--line); padding-top: 1rem; margin-top: 1.4rem; }

/* ---------- Hoja inferior (compra, dueño, subasta) ---------- */
.sheet { position: fixed; left: 50%; bottom: 16px; transform: translate(-50%, 140%); width: min(94vw, 560px); max-height: 86vh; overflow: auto; padding: 22px; z-index: 10; transition: transform .4s cubic-bezier(.2, .8, .2, 1); background: rgba(16, 17, 26, .9); border: 1px solid var(--line); border-radius: var(--radius); backdrop-filter: blur(22px); -webkit-backdrop-filter: blur(22px); }
.sheet { overscroll-behavior: contain; visibility: hidden; transition: transform .4s cubic-bezier(.2, .8, .2, 1), visibility 0s .4s; }
.sheet.open { transform: translate(-50%, 0); visibility: visible; transition: transform .4s cubic-bezier(.2, .8, .2, 1); }
/* Fondo oscuro detrás del panel: tocarlo lo cierra. */
.shade { position: fixed; inset: 0; z-index: 9; background: rgba(0, 0, 0, .45); opacity: 0; pointer-events: none; transition: opacity .3s; }
.shade.on { opacity: 1; pointer-events: auto; }
.modal .mhead { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; }
.modal .x { background: var(--glass); border: 1px solid var(--line); width: 34px; height: 34px; border-radius: 50%; cursor: pointer; color: var(--text); }
.sheet .x { position: sticky; float: right; top: 0; background: var(--glass); border: 1px solid var(--line); width: 34px; height: 34px; border-radius: 50%; cursor: pointer; z-index: 2; }
.sheet .eyebrow { color: var(--muted); font-size: .72rem; letter-spacing: .16em; text-transform: uppercase; }
.sheet .big { font-size: clamp(1.5rem, 4.5vw, 2rem); font-weight: 700; letter-spacing: -.03em; line-height: 1.2; }
.sheet .opts { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 14px; }

/* ---------- Selector de país ---------- */
.modal { position: fixed; inset: 0; z-index: 20; display: grid; place-items: center; background: rgba(0, 0, 0, .55); backdrop-filter: blur(6px); padding: 16px; }
.modal .box { width: min(520px, 100%); max-height: 80vh; display: flex; flex-direction: column; padding: 16px; background: rgba(16, 17, 26, .94); }
.modal input { margin-bottom: 10px; }
.clist { overflow: auto; display: grid; gap: 4px; }
.citem { display: flex; align-items: center; gap: 12px; padding: 10px; border-radius: 12px; background: none; border: 0; cursor: pointer; text-align: left; }
.citem:hover, .citem.on { background: var(--glass-2); }
.citem img { width: 28px; height: 20px; border-radius: 5px; object-fit: cover; }
.citem .tm { margin-left: auto; font-family: var(--mono); color: var(--muted); font-size: .85rem; }

/* ---------- Formularios ---------- */
input, select, textarea { font: 500 1rem var(--sans); color: var(--text); background: rgba(255, 255, 255, .05); border: 1px solid var(--line); border-radius: 14px; padding: 12px 14px; width: 100%; }
input[type="time"] { font-family: var(--mono); }
select option { background: var(--bg-2); color: var(--text); }
textarea { resize: vertical; min-height: 84px; }
input:focus, select:focus, textarea:focus { outline: 2px solid rgba(255, 181, 71, .5); outline-offset: 1px; }
.buy label, .lookup label, .row label { display: flex; flex-direction: column; gap: 6px; font-size: .78rem; color: var(--muted); font-weight: 600; margin-bottom: 12px; }
.lookup { padding: 18px; }
.row { display: flex; gap: 12px; flex-wrap: wrap; align-items: flex-end; }
.row label { min-width: 90px; }
.row label.grow { flex: 1 1 160px; }
.chars { align-self: flex-end; font-family: var(--mono); font-size: .72rem; }
.err { color: var(--danger); font-weight: 600; margin: .4rem 0 0; }
.terms-note { color: var(--muted); font-size: .78rem; margin: .7rem 0 0; text-align: center; }
.units { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 14px 0; }
.unit { cursor: pointer; position: relative; }
.unit input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; pointer-events: none; }
.unit span { display: flex; flex-direction: column; gap: 2px; height: 100%; padding: 12px 14px; border-radius: 14px; border: 1px solid var(--line); background: rgba(255, 255, 255, .03); transition: border-color .15s, background .15s; }
.unit small { color: var(--muted); font-size: .78rem; }
.unit input:checked + span { border-color: var(--gold); background: rgba(255, 181, 71, .08); }
.unit input:focus-visible + span { outline: 2px solid rgba(255, 181, 71, .5); outline-offset: 1px; }

/* ---------- Resultados y precios ---------- */
.result { margin-top: 18px; padding: 22px; }
.when { font-family: var(--mono); color: var(--gold); font-weight: 500; font-size: 1.02rem; margin: 2px 0 10px; }
.price { display: flex; align-items: baseline; gap: .6rem; flex-wrap: wrap; margin: 0 0 1rem; }
.price b { font-size: 2rem; letter-spacing: -.03em; }
.tag { font-size: .75rem; font-weight: 700; color: #1d1205; background: var(--gold); padding: 3px 10px; border-radius: 999px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: .6rem; }
.chip { font: 500 .85rem var(--mono); background: rgba(255, 255, 255, .05); border: 1px solid var(--line); color: var(--text); border-radius: 999px; padding: 8px 12px; cursor: pointer; }
.chip:hover { border-color: var(--gold); color: var(--gold); }
.taken-card { border-left: 3px solid var(--gold); padding: 6px 0 6px 14px; margin: .4rem 0 1rem; }
.taken-card .n { color: var(--gold); font-weight: 700; font-size: 1.2rem; }
.auction { display: grid; gap: 4px; margin: .4rem 0 1rem; }
.auction .big { font-family: var(--mono); font-size: 1.8rem; font-weight: 700; }
.auction .ends { font-family: var(--mono); color: var(--sky); font-weight: 500; }
.banner { max-width: 640px; margin: 0 auto 1.4rem; padding: 14px 18px; border-radius: 16px; background: rgba(255, 181, 71, .12); border: 1px solid rgba(255, 181, 71, .4); font-weight: 600; }
.muted { color: var(--muted); }

/* ---------- Página de un segundo ---------- */
.sec-page { text-align: center; padding: clamp(24px, 6vh, 70px) 0 30px; }
.clock { font-family: var(--mono); font-weight: 500; font-variant-numeric: tabular-nums; font-size: clamp(3rem, 15vw, 8rem); line-height: 1; letter-spacing: -.05em; margin: .3rem 0;
  background: linear-gradient(180deg, #fff 0%, #ffe2a6 55%, var(--gold-2) 100%); -webkit-background-clip: text; background-clip: text; color: transparent; filter: drop-shadow(0 6px 40px rgba(255, 170, 60, .25)); }
.sec-page .date { margin: .5rem 0 1.6rem; }
.owner { max-width: 640px; margin: 0 auto 1.4rem; min-height: 130px; padding: 22px; display: grid; place-items: center; }
.owner-title { font-size: 1.15rem; font-weight: 700; margin: 0 0 .3rem; }
.owner-sub { color: var(--muted); margin: 0; font-size: .95rem; }
.owner-label { color: var(--muted); text-transform: uppercase; letter-spacing: .2em; font-size: .7rem; margin: 0; }
.owner-name { font-size: clamp(1.5rem, 5vw, 2.1rem); font-weight: 800; margin: .15rem 0 .35rem; color: var(--gold); letter-spacing: -.02em; overflow-wrap: anywhere; }
.owner-ded { margin: 0; font-size: 1.05rem; overflow-wrap: anywhere; }
.countdown { font-family: var(--mono); color: var(--sky); font-weight: 500; margin: .4rem 0 1.4rem; }
.actions { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; margin: 1.2rem 0; }
.report { background: none; border: 0; color: var(--muted); font: 400 .8rem var(--sans); text-decoration: underline; cursor: pointer; margin-top: .4rem; }
.box { max-width: 560px; margin: 0 auto; padding: 24px; text-align: left; }
.box h1 { font-size: 1.4rem; margin: 0 0 .6rem; }

/* ---------- Documentos y panel ---------- */
.doc { max-width: 760px; margin: 0 auto; padding: 10px 0 40px; }
.doc h1 { font-size: clamp(1.6rem, 4vw, 2.2rem); letter-spacing: -.03em; }
.doc h2 { margin-top: 1.8rem; font-size: 1.15rem; letter-spacing: -.01em; }
.doc p, .doc li { color: #d6d2c8; }
table.adm { width: 100%; border-collapse: collapse; font-size: .82rem; }
table.adm th, table.adm td { text-align: left; padding: 8px 6px; border-bottom: 1px solid var(--line); vertical-align: top; overflow-wrap: anywhere; }
table.adm th { color: var(--muted); font-weight: 600; }
.adm-wrap { overflow-x: auto; padding: 6px 10px; border-radius: 14px; }
.kpis { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 10px; margin: 1rem 0 2rem; }
.kpi { padding: 14px; border-radius: 14px; }
.kpi b { display: block; font-family: var(--mono); font-size: 1.3rem; color: var(--gold); }

/* ---------- Publicidad: costados (pantallas grandes) y franja (celular). Discreta a propósito. ---------- */
.rail { display: none; }
.ad { display: flex; flex-direction: column; gap: 3px; padding: 12px; border-radius: 16px; background: rgba(255, 255, 255, .03); border: 1px solid var(--line);
  text-align: left; min-width: 0; transition: background .2s, border-color .2s; }
.ad:hover { background: rgba(255, 255, 255, .055); }
.ad.top1 { border-color: rgba(255, 181, 71, .3); }
.ad .tag-ad { font-size: .58rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); display: flex; justify-content: space-between; gap: 6px; opacity: .8; }
.ad .tag-ad b { font-weight: 500; }
.ad .an { font-weight: 600; font-size: .88rem; letter-spacing: -.01em; overflow-wrap: anywhere; }
.ad .at { color: var(--muted); font-size: .8rem; overflow-wrap: anywhere; line-height: 1.4; }
.ad .go { margin-top: 4px; font-size: .76rem; font-weight: 600; color: var(--gold); text-decoration: none; }
.ad.empty { border-style: dashed; cursor: pointer; align-items: flex-start; color: var(--muted); font-size: .78rem; background: transparent; opacity: .7; }
.ad.empty b { color: var(--text); font-weight: 600; font-size: .84rem; }
.ad.empty:hover { opacity: 1; border-color: rgba(255, 181, 71, .5); }
.ads-strip { display: flex; gap: 8px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 2px 2px 8px; margin: 22px 0 0; scrollbar-width: none; }
.ads-strip::-webkit-scrollbar { display: none; }
.ads-strip .ad { flex: 0 0 min(66vw, 220px); scroll-snap-align: start; }
.ads-strip:empty { display: none; }
@media (min-width: 1360px) {
  .rail { display: flex; flex-direction: column; gap: 8px; position: fixed; top: 110px; width: 176px; z-index: 2; max-height: calc(100vh - 130px); overflow: auto; scrollbar-width: none; }
  .rail::-webkit-scrollbar { display: none; }
  .rail-left { left: 18px; }
  .rail-right { right: 18px; }
  .top, main, .foot { max-width: min(1180px, calc(100vw - 460px)); }
  .ads-strip { display: none; }
}

/* ---------- Aviso de arriba: una línea, sin colores fuertes ---------- */
.top-ad { max-width: 640px; margin: 2px auto 0; }
.top-ad .ta { display: flex; gap: 12px; align-items: center; padding: 8px 14px; border-radius: 14px; background: rgba(255, 255, 255, .03); border: 1px solid var(--line);
  animation: swap .5s cubic-bezier(.2, .8, .2, 1); font-size: .86rem; }
.top-ad .ta .badge { font-size: .56rem; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); white-space: nowrap; }
.top-ad .ta .tx { min-width: 0; flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.top-ad .ta .tx b { font-weight: 600; }
.top-ad .ta .tx span { color: var(--muted); }
.top-ad .ta .go { font-weight: 600; font-size: .78rem; color: var(--gold); text-decoration: none; white-space: nowrap; }
.top-ad .ta-empty { display: block; margin: 0 auto; background: none; border: 0; color: var(--muted); font-size: .74rem; cursor: pointer; opacity: .65; padding: 4px; }
.top-ad .ta-empty:hover { opacity: 1; color: var(--text); }

/* ---------- Ingreso ---------- */
.top-right { display: flex; align-items: center; gap: 8px; }
.me-btn { display: flex; align-items: center; gap: 8px; padding: 6px 12px 6px 6px; border-radius: 999px; border: 1px solid var(--line); background: var(--glass); cursor: pointer; font-weight: 600; font-size: .88rem; }
.me-btn img, .me-btn .ini { width: 28px; height: 28px; border-radius: 50%; object-fit: cover; }
.me-btn .ini { display: grid; place-items: center; background: linear-gradient(135deg, var(--gold), var(--gold-2)); color: #1d1205; font-size: .72rem; font-weight: 800; }
.me-btn:not(:has(img, .ini)) { padding: 8px 16px; }
.gbtn { display: flex; justify-content: center; min-height: 44px; }

/* ---------- Calendario: año y mes ---------- */
.dcell.owned { background: linear-gradient(135deg, var(--gold), var(--gold-2)); color: #1d1205; font-weight: 700; }
.dcell.national::after, .dcell.global::after, .dcell.global_top::after { content: ''; position: absolute; top: 2px; right: 2px; width: 5px; height: 5px; border-radius: 50%; }
.dcell.national::after { background: var(--sky); box-shadow: 0 0 6px var(--sky); }
.dcell.global::after, .dcell.global_top::after { background: var(--violet); box-shadow: 0 0 6px var(--violet); }
.month h4 button { all: unset; cursor: pointer; text-transform: capitalize; }
.month h4 button:hover { color: var(--gold); }
.mnav { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-bottom: 10px; }
.mnav .big { font-size: clamp(1.6rem, 5vw, 2.2rem); font-weight: 700; letter-spacing: -.03em; text-transform: capitalize; }
.mlist { display: grid; }
.mrow { display: grid; grid-template-columns: 64px 1fr auto; gap: 14px; align-items: center; padding: 12px 6px; border: 0; border-bottom: 1px solid var(--line); background: none; text-align: left; cursor: pointer; width: 100%; }
.mrow:hover { background: rgba(255, 255, 255, .03); }
.mrow.today { box-shadow: inset 3px 0 0 #fff; }
.mrow .dt { font-family: var(--mono); line-height: 1.1; }
.mrow .dt b { font-size: 1.35rem; font-weight: 500; display: block; }
.mrow .dt small { color: var(--muted); font-size: .72rem; }
.mrow .who { min-width: 0; }
.mrow .who .n { font-weight: 700; color: var(--gold); overflow-wrap: anywhere; }
.mrow .who .t { color: #d8d5cd; font-size: .9rem; overflow-wrap: anywhere; }
.mrow .who .free { color: var(--muted); }
.mrow .htag { display: inline-block; font-size: .68rem; font-weight: 600; padding: 2px 8px; border-radius: 999px; margin: 0 0 4px; }
.mrow .htag.national { background: rgba(34, 211, 238, .14); color: var(--sky); }
.mrow .htag.global, .mrow .htag.global_top { background: rgba(124, 92, 255, .2); color: #b9a8ff; }
.mrow .htag.ad { background: rgba(255, 181, 71, .16); color: var(--gold); }
.mrow .act { font-family: var(--mono); font-size: .85rem; white-space: nowrap; color: var(--text); }
.mrow.owned .act { color: var(--muted); }
.buy label.toggle { flex-direction: row; align-items: center; gap: 10px; font-size: .9rem; font-weight: 500; color: var(--text); margin: 4px 0 16px; cursor: pointer;
  padding: 12px 14px; border: 1px solid var(--line); border-radius: 14px; background: rgba(255, 255, 255, .03); }
.buy label.toggle input { width: 18px; height: 18px; margin: 0; accent-color: var(--gold); flex: none; }

@media (max-width: 560px) {
  .top-ad .ta .badge { display: none; }
  .top-ad .ta .tx::before { content: 'Publicidad · '; color: var(--muted); font-size: .7rem; }
  .me-btn:has(img, .ini) .nm { display: none; }
  .me-btn:has(img, .ini) { padding: 4px; }
  .country-btn #cName { display: none; }
  .mrow { grid-template-columns: 52px 1fr; }
  .mrow .act { grid-column: 2; }
}

/* ---------- Así funciona (3 pasos) ---------- */
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin: 30px 0 0; }
.step { display: flex; gap: 14px; align-items: flex-start; padding: 18px; border-radius: 20px; background: rgba(255, 255, 255, .035); border: 1px solid var(--line); }
.step .num { flex: none; width: 36px; height: 36px; border-radius: 12px; display: grid; place-items: center; font-family: var(--mono); font-weight: 700;
  color: #1d1205; background: linear-gradient(135deg, #ffd38a, var(--gold) 45%, var(--gold-2)); box-shadow: 0 8px 24px rgba(255, 140, 60, .25); }
.step b { display: block; font-size: 1.02rem; margin-bottom: 2px; }
.step p { margin: 0; color: var(--muted); font-size: .88rem; line-height: 1.5; }
@media (max-width: 760px) { .steps { grid-template-columns: 1fr; } }

/* ---------- En vivo ---------- */
.live h2 { display: flex; align-items: center; gap: 10px; }
.live-dot { width: 10px; height: 10px; border-radius: 50%; background: #ff4d5e; box-shadow: 0 0 0 0 rgba(255, 77, 94, .6); animation: livepulse 1.4s infinite; flex: none; }
@keyframes livepulse { 0% { box-shadow: 0 0 0 0 rgba(255, 77, 94, .55); } 70% { box-shadow: 0 0 0 10px rgba(255, 77, 94, 0); } 100% { box-shadow: 0 0 0 0 rgba(255, 77, 94, 0); } }
.feed { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.feed li { display: flex; align-items: center; gap: 12px; padding: 11px 14px; border-radius: 16px; }
.feed li.new { animation: feedin .6s cubic-bezier(.2, .8, .2, 1); border-color: rgba(255, 181, 71, .45); }
@keyframes feedin { from { opacity: 0; transform: translateY(-10px); } }
.feed .ic { flex: none; width: 30px; height: 30px; border-radius: 10px; display: grid; place-items: center; font-size: .85rem; line-height: 1; background: rgba(255, 181, 71, .14); color: var(--gold); }
.feed .ic.edit { background: rgba(34, 211, 238, .14); color: var(--sky); }
.feed .ic.ad, .feed .ic.ad_edit { background: rgba(124, 92, 255, .18); color: #b9a8ff; }
.feed .tx { flex: 1; min-width: 0; font-size: .92rem; }
.feed .tx a { color: var(--gold); text-decoration: none; }
.feed .ago { color: var(--muted); font-size: .76rem; font-family: var(--mono); white-space: nowrap; }

/* ---------- Vista previa mientras se escribe ---------- */
.pv-wrap { margin: 0 0 16px; padding: 14px; border-radius: 18px; border: 1px dashed rgba(255, 181, 71, .35); background: rgba(255, 181, 71, .04); }
.pv-label { font-size: .66rem; letter-spacing: .16em; text-transform: uppercase; color: var(--gold); margin-bottom: 10px; }
.pv-wrap .owner-card { margin: 0; min-height: 0; padding: 14px; }
.pv-wrap .owner-card .n { font-size: 1.1rem; }

/* ---------- Mis compras ---------- */
.mine { display: grid; gap: 8px; margin-top: .6rem; }
.mine-item { display: flex; gap: 12px; align-items: center; padding: 12px; border-radius: 14px; background: rgba(255, 255, 255, .035); border: 1px solid var(--line); }
.mine-item img { width: 28px; height: 20px; border-radius: 4px; object-fit: cover; flex: none; }
.mine-item .rank { flex: none; width: 34px; text-align: center; font-family: var(--mono); color: var(--gold); font-weight: 700; }
.mi-tx { flex: 1; min-width: 0; display: grid; gap: 2px; }
.mi-tx a { color: var(--text); text-decoration: none; }
.mi-tx span { color: #d8d5cd; font-size: .9rem; overflow-wrap: anywhere; }
.mi-tx small { color: var(--muted); font-size: .76rem; }

/* ---------- Calendario de pared (versión noche) ---------- */
.mtabs { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; margin: 0 0 16px; padding-bottom: 2px; }
.mtabs::-webkit-scrollbar { display: none; }
.mtabs button { border: 1px solid var(--line); background: transparent; border-radius: 999px; padding: 8px 15px; cursor: pointer; text-transform: capitalize; font-weight: 600; font-size: .9rem; white-space: nowrap; color: var(--muted); }
.mtabs button:hover { color: var(--text); }
.mtabs button.on { background: #f1ebdf; color: #16130f; border-color: #f1ebdf; }
@media (min-width: 900px) {
  .mtabs { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 5px; }
  .mtabs button { padding: 8px 4px; font-size: clamp(.7rem, 1vw, .86rem); overflow: hidden; text-overflow: ellipsis; }
}
.wall { --w-bg: #1c1a17; --w-ink: #f1ebdf; --w-muted: #8f8676; --w-line: rgba(241, 235, 223, .1); --w-red: #ff6a4d;
  background: var(--w-bg); color: var(--w-ink); border: 1px solid var(--w-line); border-radius: 22px; overflow: hidden; box-shadow: 0 30px 70px -30px rgba(0, 0, 0, .8); }
.wall .wh { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 12px 18px; border-bottom: 2px solid var(--w-ink); }
.wall .wh .m { font-family: 'Fraunces', Georgia, serif; font-size: clamp(1.5rem, 4vw, 1.9rem); font-weight: 800; text-transform: capitalize; letter-spacing: -.02em; line-height: 1; }
.wall .wh .y { color: var(--w-muted); font-size: .85rem; }
.wall .wh .nav { display: flex; gap: 6px; }
.wall .wh .nav button { width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--w-line); background: transparent; color: var(--w-ink); cursor: pointer; font-size: 1.1rem; }
.wall .wgrid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); }
.wall .wdh { padding: 7px 10px; font-size: .68rem; text-transform: uppercase; letter-spacing: .14em; color: var(--w-muted); font-weight: 600; border-bottom: 1px solid var(--w-line); }
.wall .wdh:nth-child(7) { color: var(--w-red); }
.wall .wd { min-height: 0; height: clamp(56px, calc((100vh - 330px) / 6), 92px); padding: 8px 9px; overflow: hidden; border: 0; border-right: 1px solid var(--w-line); border-bottom: 1px solid var(--w-line); cursor: pointer; text-align: left;
  background: none; color: var(--w-ink); display: flex; flex-direction: column; gap: 5px; min-width: 0; transition: background .15s; }
.wall .wd:nth-child(7n) { border-right: 0; }
.wall .wd:hover { background: rgba(241, 235, 223, .04); }
.wall .wd.blank { cursor: default; background: repeating-linear-gradient(135deg, transparent 0 8px, var(--w-line) 8px 9px); }
.wall .wd .n { font-family: 'Fraunces', Georgia, serif; font-size: 1.25rem; font-weight: 600; line-height: 1; }
.wall .wd.sun .n, .wall .wd.hol .n { color: var(--w-red); }
.wall .wd .h { font-size: .66rem; color: var(--w-red); font-weight: 600; line-height: 1.2; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.wall .wd .o { margin-top: auto; padding: 5px 8px; border-radius: 8px; background: var(--w-ink); color: #16130f; font-size: .74rem; font-weight: 600; line-height: 1.25;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.wall .wd .o.ad { background: var(--w-red); color: #fff; }
.wall .wd .p { margin-top: auto; font-size: .72rem; color: var(--w-muted); font-variant-numeric: tabular-nums; }
.wall .wd.today { box-shadow: inset 0 0 0 2px var(--gold); }
.wall .wd.today .n::after { content: ' hoy'; font-family: var(--sans); font-size: .62rem; color: var(--gold); font-weight: 700; letter-spacing: .08em; text-transform: uppercase; vertical-align: middle; }
.wall .wlegend { display: flex; gap: 16px; flex-wrap: wrap; padding: 9px 18px; color: var(--w-muted); font-size: .76rem; }
.wall .wlegend i { display: inline-block; width: 12px; height: 12px; border-radius: 4px; vertical-align: -2px; margin-right: 6px; }
@media (max-width: 640px) {
  .wall .wd { height: 52px; padding: 5px 4px; }
  .wall .wd .n { font-size: 1.05rem; }
  .wall .wd .h, .wall .wd .p { display: none; }
  .wall .wd .o { font-size: 0; padding: 0; height: 7px; border-radius: 4px; }
  .wall .wd.today .n::after { content: ''; }
  .wall .wdh { padding: 8px 4px; font-size: .6rem; letter-spacing: .06em; text-align: center; }
}

/* ---------- Regalá un día ---------- */
.giftpromo { display: grid; grid-template-columns: 1.1fr .9fr; border-radius: 26px; overflow: hidden; border: 1px solid var(--line); background: #161411; }
.giftpromo .gp-tx { padding: 38px; }
.giftpromo h2 em { font-family: 'Fraunces', Georgia, serif; font-style: italic; font-weight: 400; color: #ff8a70; }
.giftpromo p { color: #c9c0b1; line-height: 1.6; }
.giftpromo .gp-card { background: linear-gradient(160deg, #d9381e, #a8240d); display: grid; place-items: center; padding: 30px; }
.gp-env { background: #fbf8f2; color: #16130f; border-radius: 14px; padding: 24px 22px; width: min(100%, 300px); transform: rotate(-3deg); box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .55); }
.gp-env small { text-transform: uppercase; letter-spacing: .16em; font-size: .6rem; color: #857a6b; font-weight: 600; }
.gp-env b { font-family: 'Fraunces', Georgia, serif; font-size: 1.55rem; font-weight: 800; display: block; margin: 8px 0; line-height: 1.05; }
.gp-env p { font-family: 'Fraunces', Georgia, serif; font-style: italic; color: #4b4339; margin: 0; }
@media (max-width: 760px) { .giftpromo { grid-template-columns: 1fr; } .giftpromo .gp-tx { padding: 26px; } }

/* ---------- Publicidad destacada al costado del reloj (#1 izquierda, #2 derecha) ---------- */
.hero-row { display: grid; grid-template-columns: 1fr; justify-items: center; width: 100%; }
.side-ad { display: none; }
@media (min-width: 1100px) {
  .hero-row { grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: center; gap: 28px; }
  .hero-row .dial-wrap { width: min(36vw, 430px); }
  .side-ad { display: block; width: 100%; max-width: 260px; }
  .ads-strip .ad.r1, .ads-strip .ad.r2 { display: none; } /* ya están al lado del reloj */
  #sideAdL { justify-self: end; }
  #sideAdR { justify-self: start; }
  .top-ad { display: none; } /* en pantallas grandes la publicidad va al costado del reloj */
}
.feat { position: relative; text-align: left; padding: 22px 20px 18px; border-radius: 24px; background: linear-gradient(165deg, rgba(255, 255, 255, .07), rgba(255, 255, 255, .02));
  border: 1px solid var(--line); backdrop-filter: blur(22px); -webkit-backdrop-filter: blur(22px); box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .7); overflow: hidden; }
.feat.top1 { border-color: rgba(255, 181, 71, .45); box-shadow: 0 30px 70px -30px rgba(255, 140, 60, .35); }
.feat.top1::before { content: ''; position: absolute; inset: -40% -40% auto auto; width: 70%; aspect-ratio: 1; background: radial-gradient(circle, rgba(255, 181, 71, .22), transparent 70%); pointer-events: none; }
.feat .ftag { display: flex; justify-content: space-between; align-items: center; font-size: .6rem; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); font-weight: 600; }
.feat .ftag b { color: var(--gold); font-weight: 700; letter-spacing: .1em; }
.feat .logo { width: 58px; height: 58px; border-radius: 18px; display: grid; place-items: center; font-weight: 800; font-size: 1.25rem; color: #fff; margin: 16px 0 12px;
  box-shadow: 0 12px 30px -10px rgba(0, 0, 0, .6); letter-spacing: -.02em; }
.feat .fname { font-size: 1.3rem; font-weight: 800; letter-spacing: -.025em; line-height: 1.15; overflow-wrap: anywhere; }
.feat .ftext { color: #d8d5cd; font-size: .92rem; line-height: 1.5; margin: 6px 0 14px; overflow-wrap: anywhere; }
.feat .fcta { display: inline-flex; align-items: center; gap: 6px; padding: 9px 16px; border-radius: 999px; background: #fff; color: #111; font-weight: 700; font-size: .85rem; text-decoration: none; }
.feat .fbeat { display: block; margin-top: 14px; padding-top: 12px; border-top: 1px dashed var(--line); background: none; border-left: 0; border-right: 0; border-bottom: 0; width: 100%;
  padding-left: 0; padding-right: 0; padding-bottom: 0; text-align: left; color: var(--muted); font-size: .76rem; cursor: pointer; font-family: inherit; }
.feat .fbeat:hover { color: var(--gold); }
.feat.empty { border-style: dashed; background: transparent; box-shadow: none; }
.feat.empty .fname { font-size: 1.05rem; }

/* ---------- Pie ---------- */
.foot { max-width: 1180px; margin: 0 auto; padding: 30px 16px 40px; display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; color: var(--muted); font-size: .8rem; }
.legal { display: flex; flex-wrap: wrap; gap: 8px 18px; }
.legal a { color: var(--muted); }
.legal a:hover { color: var(--text); }
.legal .arr { color: var(--gold); font-weight: 700; }

@media (max-width: 560px) {
  .cgrid { grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 7px; }
  .months { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .dgrid { gap: 3px; }
  .dcell { font-size: .55rem; border-radius: 5px; }
  .stage { padding: 14px; }
  .country-btn .t { display: none; }
  .soon li { flex-wrap: wrap; gap: 4px 12px; }
  .soon .what { flex-basis: 100%; white-space: normal; }
  .result, .lookup { padding: 16px; }
}
@media (prefers-reduced-motion: reduce) {
  body::before, .world-track, .brand .dot, .brand .pulse, .swap, .stage > * { animation: none; }
  html { scroll-behavior: auto; }
}

/* Botón de compra dentro de la tarjeta de hoy */
.owner-card .buy-today { margin-top: 8px; padding: 9px 16px; font-size: .88rem; }

/* Selector de 3 opciones en la ficha de compra (para mí / regalo / publicidad) */
.units.three { grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: 0; }
.units.three .unit span { padding: 10px 11px; }
.units.three .unit b { font-size: .9rem; }
.units.three .unit small { font-size: .72rem; line-height: 1.3; }
