/* =========================================================
   Ticketera FanMedia · estilos propios (sobre css/styles.css)
   ========================================================= */
:root {
  --tk-card: #001040;
  --tk-card-2: #00174f;
  --tk-line: rgba(255, 255, 255, .09);
  --tk-ok: #2ee6b6;
  --tk-warn: #f5a524;
  --tk-err: #ff4d5e;
}

.tk { background: radial-gradient(ellipse at 80% -10%, #0a2a7a 0%, var(--bg) 55%) no-repeat, var(--bg); }
.tk-main { min-height: 60vh; padding: 120px 0 72px; }
.tk-skip { position: absolute; left: -9999px; top: 8px; z-index: 100; background: var(--pink); padding: 10px 16px; border-radius: 6px; font-weight: 800; }
.tk-skip:focus { left: 8px; }
.tk-accent { color: var(--pink); }
.tk :focus-visible { outline: 3px solid var(--pink-2); outline-offset: 3px; border-radius: 4px; }
.tk-hint { color: var(--muted); font-size: 14px; margin: 6px 0 0; }
.tk-link { background: none; border: 0; padding: 0; color: #d9dbe5; font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; text-decoration: underline; text-underline-offset: 4px; text-decoration-color: var(--pink); transition: color .3s; }
.tk-link:hover { color: var(--pink); }
.tk-back { display: inline-block; margin-bottom: 18px; font-size: 13px; font-weight: 700; color: var(--muted); transition: color .3s, transform .3s var(--ease); }
.tk-back:hover { color: #fff; transform: translateX(-4px); }
.tk button.btn { color: #fff; border: 0; }
.tk button.btn--ghost { border: 2px solid rgba(255,255,255,.85); }
.tk button.btn--ghost:hover { color: var(--ink); }
.btn.is-disabled { opacity: .55; cursor: not-allowed; }
.btn.is-disabled:hover { background: transparent; color: #fff; }
.tk-foot-note { font-size: 12px; color: var(--muted); }
.tk-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* ---------- Hero listado ---------- */
.tk-hero { padding: 24px 0 36px; text-align: center; }
.tk-hero .section-title { font-size: clamp(34px, 6vw, 64px); }
.tk-hero__sub { max-width: 560px; margin: 0 auto; color: #c9cbd6; font-size: 16px; }

/* ---------- Tarjetas de evento ---------- */
.tk-events { display: grid; gap: 28px; }
.tk-event {
  display: grid; grid-template-columns: minmax(260px, 0.9fr) 1.4fr;
  background: linear-gradient(160deg, var(--tk-card-2), var(--tk-card));
  border: 1px solid var(--tk-line); border-radius: 18px; overflow: hidden;
  transition: transform .5s var(--ease), box-shadow .5s var(--ease), border-color .5s;
}
.tk-event.is-visible { transition: opacity .9s var(--ease) var(--d, 0s), transform .5s var(--ease), box-shadow .5s var(--ease), border-color .5s; }
.tk-event:hover { transform: translateY(-4px); border-color: rgba(138, 168, 245, .45); box-shadow: 0 30px 60px -30px rgba(138, 168, 245, .45); }
.tk-event.is-selected { border-color: var(--pink); box-shadow: 0 0 0 1px var(--pink), 0 30px 60px -30px rgba(138, 168, 245, .6); }
.tk-event__media { position: relative; min-height: 240px; overflow: hidden; }
.tk-event__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease), filter .6s; }
.tk-event__media img:first-child { filter: brightness(.55) saturate(1.1); }
.tk-event:hover .tk-event__media img:first-child { transform: scale(1.06); filter: brightness(.7) saturate(1.3); }
.tk-event__media .tk-event__logo {
  inset: auto; left: 46%; top: 50%; z-index: 1;
  width: 70%; height: auto; object-fit: contain;
  transform: translate(-50%, -50%);
  filter: drop-shadow(0 6px 18px rgba(0,0,0,.55));
}
.tk-event:hover .tk-event__media .tk-event__logo { transform: translate(-50%, -50%) scale(1.06); filter: drop-shadow(0 6px 18px rgba(0,0,0,.55)); }
.tk-event__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, transparent 50%, rgba(16, 18, 31, .9)); }
.tk-event__body { padding: 30px 34px 32px; display: flex; flex-direction: column; gap: 14px; }
.tk-event__title { font-family: var(--font-display); font-size: clamp(28px, 3.6vw, 42px); line-height: 1; text-transform: uppercase; }
.tk-badge { position: absolute; top: 16px; left: 16px; z-index: 1; padding: 7px 12px; border-radius: 999px; font-size: 11px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.tk-badge--on { background: var(--pink); box-shadow: 0 8px 24px -8px rgba(138, 168, 245, .8); }
.tk-badge--soon { background: rgba(7, 8, 15, .8); border: 1px solid rgba(255,255,255,.4); backdrop-filter: blur(6px); }
.tk-badge--off { background: #3a3d52; }
.tk-meta { display: grid; gap: 6px; font-weight: 600; font-size: 14.5px; color: #e6e7ee; }
.tk-meta li { display: flex; gap: 10px; align-items: center; }
.tk-meta svg { width: 18px; height: 18px; flex: none; fill: none; stroke: var(--pink); stroke-width: 2; }
.tk-types { display: grid; gap: 10px; margin-top: 4px; }
.tk-type { display: flex; justify-content: space-between; gap: 16px; align-items: center; padding: 14px 16px; border-radius: 12px; background: rgba(255,255,255,.035); border: 1px solid var(--tk-line); transition: border-color .3s, background .3s; }
.tk-type:hover { border-color: rgba(255,255,255,.2); background: rgba(255,255,255,.06); }
.tk-type strong { display: block; font-weight: 800; }
.tk-type small, .tk-row small { display: block; color: var(--muted); font-size: 13px; }
.tk-type__right { text-align: right; display: grid; gap: 4px; justify-items: end; }
.tk-price { font-family: var(--font-display); font-size: 22px; white-space: nowrap; }
small.tk-early, .tk-early { color: var(--gold); font-weight: 700; }
.tk-avail { display: inline-block; padding: 3px 9px; border-radius: 999px; font-size: 11px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.tk-avail--low { background: rgba(245, 165, 36, .15); color: var(--gold); }
.tk-avail--soldout { background: rgba(255, 77, 94, .15); color: var(--tk-err); }
.tk-event__ctas { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; margin-top: 6px; }

.tk-faq { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 56px; }
.tk-faq__item { padding: 22px; border-radius: 14px; border: 1px solid var(--tk-line); background: rgba(255,255,255,.02); }
.tk-faq__item strong { display: block; margin-bottom: 6px; text-transform: uppercase; font-size: 13px; letter-spacing: .1em; color: var(--pink-2); }
.tk-faq__item p { color: #c9cbd6; font-size: 14px; }
.tk-faq__item a { text-decoration: underline; }

/* ---------- Páginas genéricas ---------- */
.tk-page__head { margin-bottom: 24px; }
.tk-page__head .section-title { margin-bottom: 6px; }

/* ---------- Stepper ---------- */
.tk-stepper { display: flex; gap: 0; margin: 0 0 30px; padding: 0; list-style: none; counter-reset: s; max-width: 620px; }
.tk-stepper__item { flex: 1; display: flex; align-items: center; gap: 10px; position: relative; color: var(--muted); font-weight: 700; font-size: 13px; text-transform: uppercase; letter-spacing: .08em; }
.tk-stepper__item:not(:last-child)::after { content: ""; flex: 1; height: 2px; margin: 0 12px; background: var(--tk-line); border-radius: 2px; transition: background .5s; }
.tk-stepper__num { display: grid; place-items: center; width: 34px; height: 34px; flex: none; border-radius: 50%; border: 2px solid rgba(255,255,255,.2); font-family: var(--font-display); transition: all .4s var(--ease); }
.tk-stepper__item.is-active { color: #fff; }
.tk-stepper__item.is-active .tk-stepper__num { background: var(--pink); border-color: var(--pink); box-shadow: 0 0 0 6px rgba(138, 168, 245, .18); }
.tk-stepper__item.is-done { color: #e6e7ee; }
.tk-stepper__item.is-done .tk-stepper__num { border-color: var(--pink); color: var(--pink); }
.tk-stepper__item.is-done::after { background: var(--pink); }

/* ---------- Alertas ---------- */
.tk-alert { padding: 14px 18px; border-radius: 12px; margin: 0 0 22px; border: 1px solid; font-size: 14.5px; }
.tk-alert ul { list-style: disc; padding-left: 20px; margin-top: 6px; }
.tk-alert--error { background: rgba(255, 77, 94, .1); border-color: rgba(255, 77, 94, .5); }
.tk-alert--info { background: rgba(0, 66, 234, .12); border-color: rgba(0, 66, 234, .5); }
.tk-alert:focus { outline: none; }

/* ---------- Checkout ---------- */
.tk-checkout { display: grid; grid-template-columns: 1fr 360px; gap: 28px; align-items: start; }
.tk-checkout__main { display: grid; gap: 22px; min-width: 0; }
.tk-step { margin: 0; padding: 28px; border: 1px solid var(--tk-line); border-radius: 18px; background: linear-gradient(160deg, var(--tk-card-2), var(--tk-card)); min-width: 0; scroll-margin-top: 110px; }
.tk-js #checkout .tk-step:not(.is-current) { display: none; }
.tk-js #checkout .tk-step.is-current { animation: tkIn .5s var(--ease); }
@keyframes tkIn { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
.tk-step__title { float: left; width: 100%; display: flex; align-items: center; gap: 12px; padding: 0; margin-bottom: 8px; font-family: var(--font-display); font-size: 22px; text-transform: uppercase; }
.tk-step__title + * { clear: both; }
.tk-step__title span { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--pink); font-size: 16px; }
.tk-step__nav { display: flex; justify-content: space-between; gap: 12px; margin-top: 26px; flex-wrap: wrap; }
.tk-step__nav .btn--primary:only-child { margin-left: auto; }
.tk-rows { display: grid; gap: 12px; margin-top: 18px; }
.tk-row { display: grid; grid-template-columns: 1fr auto auto; gap: 18px; align-items: center; padding: 16px 18px; border-radius: 14px; border: 1px solid var(--tk-line); background: rgba(255,255,255,.03); transition: border-color .3s, background .3s, box-shadow .3s; }
.tk-row:hover { border-color: rgba(255,255,255,.22); }
.tk-row.has-qty { border-color: var(--pink); background: rgba(138, 168, 245, .07); box-shadow: 0 10px 30px -18px rgba(138, 168, 245, .8); }
.tk-row.is-soldout { opacity: .55; }
.tk-row label { cursor: pointer; }
.tk-row__info { display: grid; gap: 3px; }
.tk-row__price { font-family: var(--font-display); font-size: 20px; white-space: nowrap; }
.tk-chip { display: inline-block; margin-left: 6px; padding: 2px 9px; border-radius: 999px; background: rgba(255,255,255,.1); font-size: 12px; font-weight: 700; }
.tk-qty { display: flex; align-items: center; gap: 6px; }
.tk-qty select { appearance: none; -webkit-appearance: none; width: 52px; height: 40px; text-align: center; text-align-last: center; border-radius: 10px; border: 1px solid rgba(255,255,255,.2); background: #001C62; color: #fff; font: inherit; font-weight: 800; font-size: 16px; }
.tk-qty__btn { width: 40px; height: 40px; border-radius: 10px; border: 1px solid rgba(255,255,255,.2); background: transparent; color: #fff; font-size: 20px; font-weight: 800; line-height: 1; transition: background .3s, border-color .3s, transform .2s; }
.tk-qty__btn:hover:not(:disabled) { background: var(--pink); border-color: var(--pink); }
.tk-qty__btn:active:not(:disabled) { transform: scale(.92); }
.tk-qty__btn:disabled { opacity: .35; cursor: not-allowed; }
html:not(.tk-js) .tk-qty__btn { display: none; }

.tk-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 18px; margin-top: 18px; }
.tk-field { display: grid; gap: 6px; align-content: start; }
.tk-field label, .tk-field > span { font-size: 12.5px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: #d9dbe5; }
.tk-field label small { text-transform: none; letter-spacing: 0; color: var(--muted); font-weight: 600; }
.tk-field input, .tk-field select {
  width: 100%; height: 48px; padding: 0 14px; border-radius: 10px;
  border: 1px solid rgba(255,255,255,.18); background: #001C62; color: #fff; font: inherit; font-size: 15px;
  transition: border-color .3s, box-shadow .3s;
}
.tk-field input:hover, .tk-field select:hover { border-color: rgba(255,255,255,.35); }
.tk-field input:focus, .tk-field select:focus { outline: none; border-color: var(--pink); box-shadow: 0 0 0 4px rgba(138, 168, 245, .2); }
.tk-field input[aria-invalid="true"], .tk-check input[aria-invalid="true"] { border-color: var(--tk-err); }
.tk-field__err { color: var(--tk-err); font-size: 13px; font-weight: 700; margin: 2px 0 0; }
.tk-sub { margin-top: 28px; font-size: 15px; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; }
.tk-sub small { color: var(--muted); text-transform: none; letter-spacing: 0; font-weight: 600; }
.tk-checks { display: grid; gap: 12px; margin-top: 26px; }
.tk-check { display: flex; gap: 12px; align-items: flex-start; font-size: 14px; color: #d9dbe5; cursor: pointer; }
.tk-check input { width: 20px; height: 20px; margin: 1px 0 0; flex: none; accent-color: var(--pink); }
.tk-check a { color: #fff; text-decoration: underline; text-decoration-color: var(--pink); text-underline-offset: 3px; }

/* ---------- Resumen ---------- */
.tk-summary { position: sticky; top: 100px; padding: 26px; border-radius: 18px; border: 1px solid rgba(138, 168, 245, .35); background: linear-gradient(170deg, rgba(138, 168, 245, .1), var(--tk-card) 45%); box-shadow: 0 30px 60px -40px rgba(138, 168, 245, .7); }
.tk-summary__title { font-family: var(--font-display); font-size: 20px; text-transform: uppercase; margin-bottom: 10px; }
.tk-summary__event { font-weight: 800; margin-bottom: 14px; }
.tk-summary__event small { font-weight: 600; color: var(--muted); }
.tk-summary__lines { display: grid; gap: 10px; padding: 14px 0; border-top: 1px dashed rgba(255,255,255,.18); border-bottom: 1px dashed rgba(255,255,255,.18); font-size: 14px; }
.tk-summary__lines li { display: flex; justify-content: space-between; gap: 12px; animation: tkIn .4s var(--ease); }
.tk-summary__empty { color: var(--muted); }
.tk-summary__total { display: flex; justify-content: space-between; align-items: baseline; margin-top: 14px; font-weight: 800; text-transform: uppercase; }
.tk-summary__total strong { font-family: var(--font-display); font-size: 30px; color: var(--pink); }
.tk-summary__note { font-size: 12.5px; color: var(--muted); margin-top: 12px; }

/* ---------- Pago ---------- */
.tk-hold { font-size: 16px; margin: 10px 0 4px; }
.tk-countdown { color: var(--pink); font-family: var(--font-display); font-variant-numeric: tabular-nums; }
.tk-pay { margin: 24px 0 8px; display: grid; gap: 10px; justify-items: start; }
.tk-pay__btn { font-size: 16px; --pad: 20px 32px; }
.tk-test-flag { display: inline-block; padding: 6px 12px; border-radius: 6px; background: repeating-linear-gradient(45deg, #f5a524, #f5a524 10px, #e0901a 10px, #e0901a 20px); color: #12131f; font-weight: 900; font-size: 12px; letter-spacing: .1em; }
.tk-test-flag--big { font-size: 15px; padding: 10px 16px; margin-bottom: 16px; }
.tk-cancel-form { margin-top: 18px; }
.tk-demo-box { max-width: 560px; margin: 0 auto; padding: 36px; border-radius: 18px; border: 2px dashed var(--gold); background: var(--tk-card); text-align: center; }
.tk-demo-box__title { font-family: var(--font-display); font-size: 28px; text-transform: uppercase; margin-bottom: 10px; }
.tk-demo-box__actions { display: flex; gap: 14px; justify-content: center; margin-top: 24px; flex-wrap: wrap; }
.tk-dl { display: grid; grid-template-columns: auto 1fr; gap: 8px 18px; text-align: left; margin: 20px 0 0; font-size: 14.5px; }
.tk-dl dt { color: var(--muted); font-weight: 700; }
.tk-dl dd { margin: 0; word-break: break-word; }
.tk-dl__big { font-family: var(--font-display); font-size: 24px; color: var(--pink); }

/* ---------- Resultado ---------- */
.tk-result__box { max-width: 620px; margin: 20px auto 0; text-align: center; display: grid; gap: 16px; justify-items: center; padding: 42px 30px; border-radius: 20px; border: 1px solid var(--tk-line); background: var(--tk-card); }
.tk-result__icon { width: 84px; height: 84px; border-radius: 50%; display: grid; place-items: center; font-size: 42px; font-weight: 900; animation: tkPop .6s var(--ease); }
.tk-result__icon--ok { background: var(--tk-ok); color: #000928; box-shadow: 0 0 0 10px rgba(46, 230, 182, .15); }
.tk-result__icon--ko { background: var(--tk-err); box-shadow: 0 0 0 10px rgba(255, 77, 94, .15); }
@keyframes tkPop { from { transform: scale(.4); opacity: 0; } to { transform: none; opacity: 1; } }
.tk-spinner { width: 64px; height: 64px; border-radius: 50%; border: 5px solid rgba(255,255,255,.12); border-top-color: var(--pink); animation: tkSpin 1s linear infinite; }
@keyframes tkSpin { to { transform: rotate(360deg); } }

/* ---------- Entradas ---------- */
.tk-tickets { display: grid; gap: 26px; }
.tk-ticket {
  position: relative; display: grid; grid-template-columns: 1fr 250px; overflow: hidden;
  border-radius: 20px; background: linear-gradient(135deg, #0a2a7a 0%, var(--tk-card) 55%);
  border: 1px solid rgba(138, 168, 245, .4); box-shadow: 0 30px 60px -35px rgba(138, 168, 245, .6);
}
.tk-ticket::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 6px; background: var(--pink); }
.tk-ticket__main { padding: 28px 32px; display: grid; gap: 8px; align-content: start; }
.tk-ticket__logo { height: 34px; width: auto; margin-bottom: 10px; }
.tk-ticket__event { font-family: var(--font-display); font-size: clamp(26px, 3.4vw, 38px); text-transform: uppercase; line-height: 1; }
.tk-ticket__info { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 24px; margin: 14px 0 0; }
.tk-ticket__info dt { font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); font-weight: 700; }
.tk-ticket__info dd { margin: 2px 0 0; font-weight: 800; }
.tk-ticket__foot { margin-top: 14px; font-size: 12px; color: var(--muted); }
.tk-ticket__stub { position: relative; display: grid; place-items: center; align-content: center; gap: 10px; padding: 24px; background: #fff; color: var(--ink); border-left: 2px dashed rgba(18, 19, 31, .35); }
.tk-ticket__stub::before, .tk-ticket__stub::after { content: ""; position: absolute; left: -13px; width: 24px; height: 24px; border-radius: 50%; background: var(--bg); }
.tk-ticket__stub::before { top: -12px; }
.tk-ticket__stub::after { bottom: -12px; }
.tk-ticket__qr { width: 190px; height: 190px; }
.tk-ticket__qr svg { width: 100%; height: 100%; display: block; }
.tk-ticket__code { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-weight: 800; font-size: 17px; letter-spacing: .08em; }
.tk-ticket.is-void { filter: grayscale(1); opacity: .6; }
.tk-ticket__void { color: #c00; font-weight: 900; letter-spacing: .2em; }

/* ---------- Legal ---------- */
.tk-legal { max-width: 820px; }
.tk-legal h2 { font-size: 18px; font-weight: 800; text-transform: uppercase; margin: 30px 0 8px; color: var(--pink-2); scroll-margin-top: 110px; }
.tk-legal p { color: #d0d2dc; margin-bottom: 10px; }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .tk-checkout { grid-template-columns: 1fr; }
  .tk-summary { position: static; order: -1; }
  .tk-checkout--pay .tk-summary { order: 0; }
  .tk-event { grid-template-columns: 1fr; }
  .tk-event__media { min-height: 200px; aspect-ratio: 16 / 7; }
  .tk-event__media::after { background: linear-gradient(180deg, transparent 40%, rgba(16, 18, 31, .95)); }
  .tk-faq { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .tk-main { padding-top: 100px; }
  .tk-step { padding: 20px 16px; }
  .tk-event__body { padding: 22px 18px 24px; }
  .tk-grid { grid-template-columns: 1fr; }
  .tk-row { grid-template-columns: 1fr auto; gap: 10px 14px; }
  .tk-row__info { grid-column: 1 / -1; }
  .tk-stepper__label { display: none; }
  .tk-stepper__item.is-active .tk-stepper__label { display: inline; }
  .tk-step__nav .btn { flex: 1 1 100%; justify-content: center; }
  .tk-pay, .tk-pay__btn { width: 100%; justify-content: center; }
  .tk-ticket { grid-template-columns: 1fr; }
  .tk-ticket__stub { border-left: 0; border-top: 2px dashed rgba(18, 19, 31, .35); }
  .tk-ticket__stub::before, .tk-ticket__stub::after { top: -13px; bottom: auto; }
  .tk-ticket__stub::before { left: -12px; }
  .tk-ticket__stub::after { left: auto; right: -12px; }
  .tk-ticket__info { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  .tk *, .tk *::before, .tk *::after { animation: none !important; transition: none !important; }
}

/* ---------- Impresión: una entrada por página, fondo blanco ---------- */
@media print {
  @page { margin: 12mm; }
  body.tk { background: #fff !important; color: #000; }
  .header, .footer, .tk-noprint, .tk-alert, .tk-skip, .cursor-glow { display: none !important; }
  .tk-main { padding: 0; }
  .tk-tickets { display: block; }
  .tk-ticket { break-after: page; page-break-after: always; break-inside: avoid; background: #fff !important; color: #000; border: 2px solid #000; box-shadow: none; grid-template-columns: 1fr 240px; }
  .tk-ticket:last-child { break-after: auto; page-break-after: auto; }
  .tk-ticket::before { background: #000; -webkit-print-color-adjust: exact; print-color-adjust: exact; }
  .tk-ticket__logo { filter: invert(1) hue-rotate(180deg); }
  .tk-ticket .eyebrow, .tk-ticket__info dt, .tk-ticket__foot { color: #444; }
  .tk-ticket__stub::before, .tk-ticket__stub::after { background: #fff; }
}

/* =========================================================
   ADMIN
   ========================================================= */
.tk-admin { background: var(--bg); }
.adm-bar { position: sticky; top: 0; z-index: 20; background: rgba(7, 8, 15, .9); backdrop-filter: blur(12px); border-bottom: 1px solid var(--tk-line); }
.adm-bar__inner { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 12px 0; flex-wrap: wrap; }
.adm-bar .logo img { height: 32px; }
.adm-nav { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.adm-nav a, .adm-logout button { padding: 8px 12px; border-radius: 8px; font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; color: #d9dbe5; background: none; border: 0; transition: background .3s, color .3s; }
.adm-nav a:hover, .adm-nav a.is-active { background: rgba(138, 168, 245, .15); color: #fff; }
.adm-logout button:hover { color: var(--pink); }
.adm-main { padding: 28px 0 60px; display: grid; gap: 20px; }
.adm-title { font-family: var(--font-display); font-size: clamp(24px, 3vw, 34px); text-transform: uppercase; display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
.adm-title small { font-family: var(--font-body); font-size: 16px; color: var(--muted); }
.adm-card { padding: 22px; border-radius: 16px; border: 1px solid var(--tk-line); background: var(--tk-card); min-width: 0; }
.adm-card h2 { font-size: 17px; font-weight: 800; text-transform: uppercase; letter-spacing: .04em; margin-bottom: 12px; }
.adm-card h2 small { color: var(--muted); font-weight: 600; }
.adm-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.adm-login { max-width: 420px; margin: 40px auto; width: 100%; }
.adm-login .adm-card { display: grid; gap: 16px; }
.adm-event__head { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; margin-bottom: 12px; }
.adm-kpis { display: flex; gap: 22px; flex-wrap: wrap; }
.adm-kpis div { display: grid; }
.adm-kpis b { font-family: var(--font-display); font-size: 24px; }
.adm-kpis span { font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.adm-bar-meter { height: 8px; border-radius: 8px; background: rgba(255,255,255,.08); overflow: hidden; margin-bottom: 14px; }
.adm-bar-meter i { display: block; height: 100%; background: linear-gradient(90deg, var(--violet), var(--pink)); }
.adm-table-wrap { overflow-x: auto; margin-bottom: 10px; }
.adm-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.adm-table th { text-align: left; font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); padding: 8px 10px; border-bottom: 1px solid var(--tk-line); white-space: nowrap; }
.adm-table td { padding: 10px; border-bottom: 1px solid var(--tk-line); vertical-align: top; }
.adm-table td small { color: var(--muted); }
.adm-table tr:hover td { background: rgba(255,255,255,.02); }
.adm-link { color: var(--pink-2); font-weight: 700; }
.adm-link:hover { text-decoration: underline; }
.adm-pill { display: inline-block; padding: 3px 10px; border-radius: 999px; font-size: 11px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; background: rgba(255,255,255,.1); white-space: nowrap; }
.adm-pill--ok, .adm-pill--paid { background: rgba(46, 230, 182, .15); color: var(--tk-ok); }
.adm-pill--pending { background: rgba(245, 165, 36, .15); color: var(--gold); }
.adm-pill--cancelled, .adm-pill--refunded { background: rgba(255, 77, 94, .15); color: var(--tk-err); }
.adm-filters { display: grid; grid-template-columns: 2fr 1fr 1fr auto; gap: 14px; align-items: end; }
.adm-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.adm-danger { border-color: var(--tk-err) !important; color: var(--tk-err); }
.adm-danger:hover { background: var(--tk-err) !important; color: #fff !important; }
.adm-lines { margin-top: 12px; display: grid; gap: 4px; font-size: 14px; }
.adm-log { display: grid; gap: 6px; font-size: 13px; color: #c9cbd6; }
.adm-log time { color: var(--muted); }
.adm-pager { display: flex; gap: 16px; justify-content: center; font-size: 14px; }
.tk-admin code { font-family: ui-monospace, Menlo, monospace; }

/* Check-in */
.chk { display: grid; gap: 16px; max-width: 640px; margin: 0 auto; width: 100%; }
.chk__head { display: flex; justify-content: space-between; align-items: end; gap: 12px; flex-wrap: wrap; }
.chk__event { min-width: 220px; }
.chk__result { display: grid; gap: 6px; place-items: center; text-align: center; min-height: 170px; padding: 24px; border-radius: 18px; transition: background .25s; }
.chk__result strong { font-family: var(--font-display); font-size: clamp(34px, 9vw, 60px); line-height: 1; }
.chk__result span { font-size: 17px; font-weight: 700; }
.chk__result--idle { background: var(--tk-card); border: 1px solid var(--tk-line); }
.chk__result--idle strong { font-size: 24px; }
.chk__result--valid { background: #0f9d58; animation: tkPop .35s var(--ease); }
.chk__result--used { background: #d93025; animation: tkPop .35s var(--ease); }
.chk__result--invalid, .chk__result--cancelled { background: #b3141f; animation: tkPop .35s var(--ease); }
.chk__cam { display: grid; gap: 12px; justify-items: center; }
.chk__cam #reader { width: 100%; max-width: 420px; border-radius: 14px; overflow: hidden; }
.chk__manual { display: flex; gap: 10px; }
.chk__manual input { flex: 1; height: 52px; padding: 0 14px; border-radius: 10px; border: 1px solid rgba(255,255,255,.2); background: #001C62; color: #fff; font: inherit; font-size: 18px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.chk__manual input:focus { outline: none; border-color: var(--pink); box-shadow: 0 0 0 4px rgba(138, 168, 245, .2); }

@media (max-width: 760px) {
  .adm-grid, .adm-filters { grid-template-columns: 1fr; }
}
.tk-page__head .btn { margin-top: 16px; }

/* Identidad FanMedia */
.tk button.btn--primary, .tk .btn--primary { color: var(--ink); }
.tk-badge--on { color: var(--ink); }

.tk-price--soon { font-family: var(--font-body); font-size: 14px; font-weight: 800; color: var(--gold); text-transform: uppercase; letter-spacing: .06em; }
.tk-tax { display: block; font-size: 11px; color: var(--muted); text-align: right; }
