/* 01 / 02b / 07 / 09 / 14: exact INDEX visual values, legacy-ID adapters.
   Append after kit-landing.css. No header, background, auth, or payment routing.
   Reference: .kit-pages-dist/index.html + kit-a-void-mint.css.
   Reference final radius resolves to 6px despite stale 18px prose.
   Use one centered #irm-modal-shell with existing pane nodes retained inside.
   Parent controller owns layout, active-pane display, focus, and handler-aware close. */

/* Typography B: Space Grotesk headings / Pixelify kickers. */
body main :is(h1, h2, h3),
body :is(.ficha-drawer, .reg-drawer, .help-window, .pay-exit-card) :is(h1, h2, h3) {
  font-family: "Space Grotesk", system-ui, sans-serif !important;
  font-weight: 700 !important;
}
body main > h1,
body main > section > h2 {
  font-size: 22px;
  letter-spacing: -.02em;
}
body :is(.ficha-drawer, .reg-drawer) > h2,
body .ficha-modal-scroll > h2 {
  font-size: 20px !important;
  margin: 0 0 8px;
}
body main .kicker,
body :is(.ficha-drawer, .reg-drawer, .help-window) :is(.kick, .kicker, .ficha-tag) {
  font-family: "Pixelify Sans", "Press Start 2P", sans-serif !important;
  font-size: 11px !important;
  color: #8cfc98;
  letter-spacing: .04em;
  margin: 0 0 4px;
}

/* 02b: canonical symbol markup is already present, no duplicate sprite. */
.irm-ico {
  width: 1.15em;
  height: 1.15em;
  display: inline-block;
  vertical-align: -.15em;
  flex: 0 0 auto;
  color: currentColor;
}
.irm-ico--xl { width: 48px; height: 48px; }
.irm-ico use { pointer-events: none; }

/* 07: retain every old ID, handler, disabled/hidden state, and button type. */
body .irm-cta,
body .pack-card__cta,
body :is(.ficha-drawer, .reg-drawer, .pay-exit-card) :is(.hotel-btn, .reg-submit) {
  font-family: "Space Grotesk", system-ui, sans-serif !important;
  font-size: 14px !important;
  font-weight: 700 !important;
  line-height: 1.2;
  border: 2px solid #88f898 !important;
  background: #0a0a0a !important;
  color: #8cfc98 !important;
  border-radius: 6px !important;
  padding: 12px 16px !important;
  box-shadow: none;
  cursor: pointer;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
body .irm-cta { width: auto; }
body .pack-card__cta { width: 100%; }
body .irm-cta--ghost,
body :is(.ficha-drawer, .reg-drawer, .pay-exit-card) .hotel-btn-ghost {
  font-family: "Space Grotesk", system-ui, sans-serif !important;
  font-size: 13px !important;
  font-weight: 600 !important;
  line-height: normal;
  border: 1px solid #2a2a2a !important;
  background: transparent !important;
  color: #e8e8e8 !important;
  border-radius: 6px !important;
  padding: 10px 14px !important;
  box-shadow: none;
  cursor: pointer;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
body :is(.irm-cta, .irm-cta--ghost, .pack-card__cta),
body :is(.ficha-drawer, .reg-drawer, .pay-exit-card) :is(.hotel-btn, .reg-submit, .menu-close) {
  transition: transform .14s ease, box-shadow .14s ease, border-color .14s ease,
    background-color .14s ease, color .14s ease, filter .14s ease, opacity .14s ease !important;
  -webkit-tap-highlight-color: transparent;
}
body :is(.irm-cta, .irm-cta--ghost, .pack-card__cta):not(:disabled):hover,
body :is(.ficha-drawer, .reg-drawer, .pay-exit-card) :is(.hotel-btn, .reg-submit, .menu-close):not(:disabled):hover {
  transform: translateY(-1px) !important;
  filter: brightness(1.08) !important;
}
body :is(.irm-cta, .irm-cta--ghost, .pack-card__cta):not(:disabled):active,
body :is(.ficha-drawer, .reg-drawer, .pay-exit-card) :is(.hotel-btn, .reg-submit, .menu-close):not(:disabled):active {
  transform: translateY(1px) scale(.985) !important;
  filter: brightness(.95) !important;
}
body :is(.irm-cta, .irm-cta--ghost, .pack-card__cta):focus-visible,
body :is(.ficha-drawer, .reg-drawer, .pay-exit-card) :is(.hotel-btn, .reg-submit, .menu-close):focus-visible {
  outline: 2px solid rgba(140,252,152,.65);
  outline-offset: 2px;
}

/* 09: shared shell owns the frame; panes retain their old IDs/handlers. */
body #irm-modal-shell,
body .pay-exit-card {
  border: 2px solid #88f898 !important;
  border-radius: 6px !important;
  background: #121212 !important;
  color: #e8e8e8;
  box-shadow: 0 28px 80px rgba(0,0,0,.65) !important;
}
body #irm-modal-shell :is(#ficha-drawer, #cart-drawer, #wallet-drawer,
  #account-drawer, #notif-drawer, #registro-drawer, #agent-drawer, #purchase-drawer).irm-modal-pane {
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  color: #e8e8e8;
  box-shadow: none !important;
}
/* Close control uses canonical ico-close markup; keep original close ID. */
body :is(.ficha-drawer, .reg-drawer) .menu-close,
body #ficha-drawer .menu-close {
  border-radius: 6px !important;
}

/* 14: add these classes in BOTH dynamically generated real payment views.
   Preserve backend CLABE expression + escape, ref, amount, file inputs, and callbacks. */
body .spei-box,
body #purchase-drawer .spei-box,
body #ficha-drawer .spei-box {
  border-radius: 6px;
  border: 2px solid #88f898;
  background: #121212;
  padding: 14px;
  max-width: 420px;
}
body .spei-box .bank-label {
  display: block;
  margin: 0 0 6px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: #9a9a9a;
}
body .spei-box code {
  display: block;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 13px;
  font-weight: 400;
  letter-spacing: .04em;
  margin-top: 8px;
  color: #e8e8e8;
  user-select: all;
}

/* State safety: reference display !important must never revive hidden actions. */
body :is(.irm-cta, .irm-cta--ghost, .pack-card__cta)[hidden],
body :is(.ficha-drawer, .reg-drawer, .pay-exit-card) :is(button, a)[hidden],
body :is(.ficha-drawer, .reg-drawer) .is-cart-hidden,
body #ficha-drawer #ficha-cta.is-attrs-step,
body #ficha-drawer #ficha-ar.is-attrs-step,
body #ficha-drawer #ficha-cta[hidden],
body #ficha-drawer #ficha-ar[hidden],
body #cart-drawer #cart-checkout[hidden] {
  display: none !important;
}

/* Reference-derived isolated fragment. Not applied to the landing.
   Integrate in component 16/17 glue; retain existing help positioning/FAQ rules,
   the fixed stack positioning,
   single production provider renderer, existing help handlers and sandbox. */
#sp-fab-stack { --r: 6px; gap: 12px; align-items: flex-end; }
/* Keep container translateY(-50%) from live positioning. The reference's
   transform:none is for its in-flow demo and must not break live centering. */
#sp-fab-stack .sp-fab {
  width: 64px; height: 64px; border-radius: 50%; overflow: visible;
  transform: none !important; filter: none !important; transition: none !important;
}
#sp-fab-stack .sp-fab-face {
  position: relative; inset: auto; z-index: auto;
  width: 64px; height: 64px; border-radius: 50%; overflow: hidden;
  background: #111; border: 2px solid #333;
  display: grid; place-items: center; box-shadow: none;
  -webkit-mask-image: none; mask-image: none;
  transition: transform .14s ease, box-shadow .14s ease, border-color .14s ease, filter .14s ease;
}
#sp-fab-stack .sp-fab .sp-fab-face img {
  width: 100%; height: 100%; object-fit: cover; object-position: center; padding: 0;
}
#sp-fab-stack .sp-fab.is-ius .sp-fab-face { border-color: rgba(227,30,36,.7); }
#sp-fab-stack .sp-fab.is-max .sp-fab-face { border-color: rgba(46,168,74,.7); }
#sp-fab-stack .sp-fab.is-penguin .sp-fab-face { border-color: rgba(0,90,170,.7); }
#sp-fab-stack .sp-fab.is-villa .sp-fab-face { border-color: rgba(140,252,152,.55); background: #fff; }
#sp-fab-stack .sp-fab.is-villa .sp-fab-face img { object-fit: contain; padding: 6px; }
#sp-fab-stack .sp-fab:hover .sp-fab-face {
  transform: translateY(-2px) scale(1.04); filter: brightness(1.08);
  box-shadow: 0 8px 20px rgba(0,0,0,.45);
}
#sp-fab-stack .sp-fab:focus-visible:not(:hover) .sp-fab-face { transform: none; }
#sp-fab-stack .sp-fab:active .sp-fab-face { transform: translateY(1px) scale(.98); filter: brightness(.96); }
#sp-fab-stack .sp-fab-label {
  display: block; position: absolute; right: calc(100% + 10px); top: 50%; left: auto;
  transform: translateY(-50%) translateX(6px); white-space: nowrap;
  font: 700 11px/1.2 "Space Grotesk", system-ui, sans-serif;
  color: #e8e8e8; background: rgba(0,0,0,.88); border: 1px solid #333;
  border-radius: 6px; padding: 6px 10px; opacity: 0; visibility: hidden;
  pointer-events: none; z-index: 2;
  transition: opacity .14s ease, transform .14s ease, visibility .14s;
}
#sp-fab-stack .sp-fab:hover .sp-fab-label,
#sp-fab-stack .sp-fab:focus-visible .sp-fab-label {
  opacity: 1; visibility: visible; transform: translateY(-50%) translateX(0);
}

/* 17: Reference face/label match existing production CSS; retain those rules.
   Only scope the missing panel typography, token, border and press fidelity. */
#help-window {
  --r: 6px; color: #e8e8e8; font-family: "Space Grotesk", system-ui, sans-serif;
  border: 1px solid #2a2a2a; border-radius: 6px; background: #0c0c0c; padding: 18px;
}
#help-window .help-faq__item { border-radius: 6px; }
#help-window .help-panel__actions .irm-cta,
#help-window .help-panel__actions .irm-cta--ghost { border-radius: 6px; width: auto; }
#help-window .help-panel__actions .irm-cta { font-size: 14px; padding: 12px 16px; }
#help-fab,
#help-window button:not(:disabled),
#help-window .help-panel__actions a {
  transition: transform .14s ease, box-shadow .14s ease, border-color .14s ease,
    background-color .14s ease, color .14s ease, filter .14s ease, opacity .14s ease;
  -webkit-tap-highlight-color: transparent;
}
#help-fab:hover,
#help-window button:not(:disabled):hover,
#help-window .help-panel__actions a:hover { transform: translateY(-1px); filter: brightness(1.08); }
#help-fab:active,
#help-window button:not(:disabled):active,
#help-window .help-panel__actions a:active { transform: translateY(1px) scale(.985); filter: brightness(.95); }

/* One production modal host; original nodes and guarded close buttons are panes. */
.irm-modal-layer { position: fixed; inset: 0; z-index: 4000; display: grid; place-items: center; padding: 16px; }
.irm-modal-layer[hidden] { display: none !important; }
.irm-modal-backdrop { position: absolute; inset: 0; background: rgba(0,0,0,.72); }
#irm-modal-shell { position: relative; width: min(94vw,920px); max-height: 90dvh; overflow: auto; padding: 18px; }
#irm-modal-layer #irm-modal-shell .irm-modal-pane { position: relative !important; inset: auto !important; top: auto !important; left: auto !important; right: auto !important; bottom: auto !important; transform: none !important; width: 100% !important; min-width: 0 !important; height: auto !important; max-height: none !important; margin: 0 !important; overflow: visible !important; padding: 36px 0 0 !important; display: none !important; border: 0 !important; border-radius: 0 !important; background: transparent !important; box-shadow: none !important; }
#irm-modal-layer #irm-modal-shell .irm-modal-pane.irm-active-pane { display: block !important; visibility: visible !important; opacity: 1 !important; pointer-events: auto !important; }
#irm-modal-shell .menu-close { position: absolute; top: 0; right: 0; width: 32px; height: 32px; display: grid; place-items: center; background: #0a0a0a; color: #8cfc98; border: 1px solid #2a2a2a; }
#irm-modal-shell :is(h2,h3,p,label) { color: #e8e8e8; }
#irm-modal-shell :is(.reg-lead,.help-panel__lead,.ficha-copy,.cart-empty) { color: #9a9a9a; }
#irm-modal-shell :is(input[type="email"],input[type="password"],input[type="text"],input[type="tel"],textarea,select) { border: 1px solid #2a2a2a; border-radius: 6px; background: #1a1a1a; color: #e8e8e8; padding: 10px 12px; font: 14px "Space Grotesk",sans-serif; }
#irm-modal-shell .ficha-modal-scroll { max-height: none; overflow: visible; }
#irm-modal-shell .ficha-modal-actions { position: static; background: transparent; padding: 16px 0 0; border: 0; }
#irm-modal-shell .ficha-art { border-radius: 6px; }
#reg-backdrop,#ficha-backdrop,#wallet-backdrop,#purchase-backdrop,#account-backdrop,#help-backdrop { display: none !important; }
#pay-exit-modal { z-index: 6000 !important; }
@media(min-width:700px){ #irm-modal-shell #ficha-drawer .ficha-modal-scroll { display: grid; grid-template-columns: 260px minmax(0,1fr); column-gap: 18px; } #irm-modal-shell #ficha-drawer .ficha-art { grid-column: 1; grid-row: 1 / 6; margin: 0; } #irm-modal-shell #ficha-drawer .ficha-modal-scroll > :not(.ficha-art) { grid-column: 2; } }
@media(max-width:600px){ #irm-modal-shell { width: min(94vw,920px); max-height: 90dvh; padding: 14px; } }
body [hidden] { display: none !important; }

/* Kit A blocks 18/20, scoped reference presentation. No imported root/body/admin globals. */

/* Existing wallet/account surfaces, original reference card geometry. */

:is(#wallet-list, #acc-buys).ticket-pick {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 8px;
}
@media (max-width: 720px) {
:is(#wallet-list, #acc-buys).ticket-pick { grid-template-columns: 1fr; }
}
:is(#wallet-list, #acc-buys) .ticket-pick__card {
  display: grid;
  grid-template-columns: 72px 1fr auto;
  gap: 12px;
  align-items: center;
  text-align: left;
  padding: 10px;
  border: 1px solid #2a2a2a;
  border-radius: var(--r);
  background: #0c0c0c;
  color: #eee;
  cursor: pointer;
}
:is(#wallet-list, #acc-buys) .ticket-pick__card img {
  width: 72px; height: 72px; object-fit: cover; border-radius: var(--r);
}
:is(#wallet-list, #acc-buys) .ticket-pick__ico {
  width: 72px; height: 72px; display: grid; place-items: center;
  border-radius: var(--r); background: #121812; color: #8cfc98;
}
:is(#wallet-list, #acc-buys) .ticket-pick__body { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
:is(#wallet-list, #acc-buys) .ticket-pick__body strong { font: 800 15px/1.15 "Space Grotesk", system-ui, sans-serif; }
:is(#wallet-list, #acc-buys) .ticket-pick__body em { font-style: normal; font-size: 12px; color: #9a9a9a; }
:is(#wallet-list, #acc-buys) .ticket-pick__cta {
  font: 700 11px/1 Space Grotesk, system-ui, sans-serif;
  color: #8cfc98; white-space: nowrap;
}

:is(#wallet-list, #acc-buys) .ticket-pick__mv {
  width: 72px; height: 72px;
  border-radius: var(--r);
  overflow: hidden;
  background: #121212;
}
:is(#wallet-list, #acc-buys) .ticket-pick__mv model-viewer {
  width: 72px; height: 72px;
  --poster-color: transparent;
}

/* Existing purchase modal. Original concert composition. */

#purchase-drawer .concert {
  display: grid;
  grid-template-columns: 200px 1fr 150px;
  gap: 0;
  border: 1px solid #3a3a3a;
  border-radius: var(--r);
  overflow: hidden;
  background: #0d0d0d;
  color: #f2f2f2;
}
@media (max-width: 760px) {
#purchase-drawer .concert { grid-template-columns: 1fr; }
#purchase-drawer .concert__stub {
    border-left: 0 !important;
    border-top: 1px dashed #444;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center;
    gap: 12px;
    padding: 18px 16px !important;
  }
#purchase-drawer .concert__qr {
    width: min(78vw, 280px);
    height: min(78vw, 280px);
    padding: 12px;
  }
#purchase-drawer .concert__folio {
    font-size: 13px;
    max-width: 90%;
  }
#purchase-drawer .concert__stub-lbl { font-size: 11px; }
}
#purchase-drawer .concert__art {
  background: #111;
  min-height: 200px;
  display: grid; place-items: center;
}
#purchase-drawer .concert__art img { width: 100%; height: 100%; object-fit: cover; display: block; }
#purchase-drawer .concert__art.is-ico {
  background: linear-gradient(145deg, #101810, #0a0a0a);
  color: #8cfc98;
}
#purchase-drawer .concert__art.is-ico::after {
  content: "Merch";
  font: 800 18px/1 Space Grotesk, system-ui, sans-serif;
}
#purchase-drawer .concert__main { padding: 16px 18px; }
#purchase-drawer .concert__event {
  margin: 0; font: 600 11px/1.2 Space Grotesk, system-ui, sans-serif;
  color: #8cfc98; letter-spacing: .06em; text-transform: uppercase;
}
#purchase-drawer .concert__name { margin: 6px 0 4px; font: 800 28px/1 Space Grotesk, system-ui, sans-serif; }
#purchase-drawer .concert__price { margin: 0 0 12px; color: #c8c8c8; font-weight: 700; }
#purchase-drawer .concert__meta {
  display: grid; grid-template-columns: 1fr 1fr; gap: 8px 12px;
  margin: 0 0 10px; padding: 0;
}
#purchase-drawer .concert__meta dt { margin: 0; font-size: 10px; color: #888; text-transform: uppercase; letter-spacing: .04em; }
#purchase-drawer .concert__meta dd { margin: 2px 0 0; font: 700 13px/1.2 Space Grotesk, system-ui, sans-serif; }
#purchase-drawer .concert__inc { margin: 0; padding-left: 16px; color: #c8c8c8; font-size: 12px; }
#purchase-drawer .concert__note { margin: 10px 0 0; font-size: 12px; color: #a8a8a8; }
#purchase-drawer .concert__stub {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 8px; padding: 16px 12px;
  border-left: 1px dashed #444;
  background: #0a0a0a;
}
#purchase-drawer .concert__qr {
  width: 148px; height: 148px;
  background: #fff; border-radius: 6px; padding: 8px;
  object-fit: contain;
  flex-shrink: 0;
}
#purchase-drawer .concert__folio { font-size: 11px; color: #ddd; word-break: break-all; text-align: center; }
#purchase-drawer .concert__stub-lbl {
  font: 800 10px/1 Space Grotesk, system-ui, sans-serif;
  letter-spacing: .12em; text-transform: uppercase; color: #8cfc98;
}
#purchase-drawer .concert[data-kind="merch"] .concert__stub-lbl { color: #c8c8c8; }

#purchase-drawer .concert__art.is-mv {
  background: #0e0e0e;
  position: relative;
}
#purchase-drawer .concert__art.is-mv img { display: none !important; }
#purchase-drawer .concert__art model-viewer {
  display: none !important;
  width: 100%;
  height: 100%;
  min-height: 200px;
  --poster-color: transparent;
}
#purchase-drawer .concert__art.is-mv model-viewer {
  display: block !important;
}
#purchase-drawer .concert__art model-viewer[hidden] {
  display: none !important;
}

/* Read-only feed presentation classes, if applied to existing notifications. */

#notif-drawer .blog-card {
  display: grid; grid-template-columns: 120px 1fr; gap: 12px;
  border: 1px solid #2a2a2a; border-radius: var(--r); overflow: hidden;
  background: #101010; margin: 10px 0;
}
#notif-drawer .blog-card.is-draft { opacity: .72; border-style: dashed; }
#notif-drawer .blog-card__cover {
  min-height: 110px; background: #151515 center/cover no-repeat;
}
#notif-drawer .blog-card__cover--mint {
  background: linear-gradient(145deg, #14301a, #0a0a0a);
}
#notif-drawer .blog-card__body { padding: 10px 12px 12px; }
#notif-drawer .blog-card__meta { margin: 0 0 4px; font-size: 11px; color: #8cfc98; font-weight: 700; }
#notif-drawer .blog-card__body h3 { margin: 0 0 6px; font-size: 15px; }
#notif-drawer .blog-card__body p { margin: 0 0 10px; font-size: 12px; color: #b0b0b0; }

#notif-drawer .blog-card__cover img {
  width: 100%;
  height: 100%;
  min-height: 110px;
  object-fit: cover;
  display: block;
}

#notif-drawer .blog-card__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}
#notif-drawer .blog-feed__empty {
  margin: 12px 0 0;
  color: #888;
  font-size: 13px;
}

/* One article reader, scoped to the adapter-owned overlay. */

.blog-overlay.irm-kit-reader {
  position: fixed;
  inset: 0;
  z-index: 4600;
  display: grid;
  place-items: center;
  padding: 18px;
  background: rgba(0,0,0,.72);
}
.blog-overlay.irm-kit-reader[hidden] { display: none !important; }
.irm-kit-reader .blog-modal {
  position: relative;
  width: min(640px, 100%);
  max-height: min(92vh, 900px);
  overflow: auto;
  background: #0a0a0a;
  border: 1px solid #2f2f2f;
  border-radius: var(--r);
  padding: 18px 18px 20px;
}
.irm-kit-reader .blog-modal__meta {
  margin: 0 0 6px;
  font-size: 12px;
  color: #8cfc98;
  font-weight: 700;
}
.irm-kit-reader .blog-modal h3 {
  margin: 0 0 14px;
  font: 800 22px/1.15 Space Grotesk, system-ui, sans-serif;
}
.irm-kit-reader .blog-modal__cover {
  margin: 0 0 14px;
  border-radius: var(--r);
  overflow: hidden;
  background: #111;
  aspect-ratio: 16 / 9;
}
.irm-kit-reader .blog-modal__cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.irm-kit-reader .blog-modal__body p {
  margin: 0 0 12px;
  color: #d0d0d0;
  font-size: 15px;
  line-height: 1.55;
}
.irm-kit-reader .blog-modal__gallery {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin: 4px 0 14px;
}
.irm-kit-reader .blog-modal__gallery img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--r);
  background: #151515;
}
.irm-kit-reader .blog-modal__actions {
  margin-top: 8px;
  display: flex;
  gap: 8px;
}
@media (max-width: 560px) {
.irm-kit-reader .blog-modal__gallery { grid-template-columns: 1fr; }
.irm-kit-reader .blog-modal h3 { font-size: 20px; }
}

/* Integration-only constraints: original row bindings and modal owner stay unchanged. */
:is(#wallet-list, #acc-buys).ticket-pick { grid-template-columns: minmax(0,1fr); }
#purchase-drawer.ficha-drawer.is-ticket-view { width: min(94vw,920px) !important; }
#purchase-drawer .irm-kit-ticket { width: 100%; min-width: 0; }
#purchase-drawer .irm-kit-ticket .concert__main { min-width: 0; overflow-wrap: anywhere; }
#purchase-drawer .irm-kit-ticket .concert__name { overflow-wrap: anywhere; }
#purchase-drawer .irm-kit-ticket .concert__art img { max-height: 360px; }
#purchase-drawer .irm-kit-ticket__no-art { color: #8cfc98; }
#purchase-drawer .irm-kit-ticket .wallet-qr-pass { margin: 0; padding: 0; border: 0; width: 100%; background: transparent; }
#purchase-drawer .irm-kit-ticket .wallet-qr-label { font-size: 10px; letter-spacing: .04em; }
#purchase-drawer .irm-kit-ticket .wallet-qr-frame { width: 148px; height: 148px; max-width: 100%; margin: 0 auto; padding: 8px; border-radius: 6px; background: #fff; }
#purchase-drawer .irm-kit-ticket .wallet-qr-canvas,
#purchase-drawer .irm-kit-ticket .wallet-qr-frame img { display: block; width: 100%; height: 100%; object-fit: contain; }
#purchase-drawer .irm-kit-ticket .wallet-qr-folio { overflow-wrap: anywhere; }
#purchase-drawer .irm-kit-ticket .wallet-qr-hint { font-size: 11px; }
.irm-kit-reader { box-sizing: border-box; }
.irm-kit-reader .blog-modal { box-sizing: border-box; }
.irm-kit-reader .blog-modal__body p { white-space: pre-line; overflow-wrap: anywhere; }
.irm-kit-reader .blog-modal h3 { padding-right: 38px; overflow-wrap: anywhere; }
.irm-kit-reader .sp-modal-close { position: absolute; top: 12px; right: 12px; display: grid; place-items: center; width: 36px; height: 36px; border: 1px solid #333; border-radius: var(--r,18px); background: #151515; color: #e8e8e8; font: 24px/1 sans-serif; cursor: pointer; }
.irm-kit-reader button:focus-visible { outline: 2px solid #8cfc98; outline-offset: 3px; }
@media (max-width:760px) {
 #purchase-drawer .irm-kit-ticket .concert__stub { padding: 18px 16px; }
 #purchase-drawer .irm-kit-ticket .wallet-qr-frame { width: min(68vw,280px); height: min(68vw,280px); }
}
@media (max-width:480px) {
 :is(#wallet-list, #acc-buys) .ticket-pick__card { grid-template-columns: 56px minmax(0,1fr); }
 :is(#wallet-list, #acc-buys) .ticket-pick__card > img { width: 56px; height: 56px; }
 :is(#wallet-list, #acc-buys) .ticket-pick__cta { grid-column: 2; }
}


#purchase-drawer, #wallet-list, #acc-buys, .irm-kit-reader { --r: 6px; --font-ui: "Space Grotesk",system-ui,sans-serif; --fog: #e8e8e8; --mute: #9a9a9a; --line: #2a2a2a; --surface: #121212; }
#purchase-drawer.is-ticket-view > :is(#purchase-art,#purchase-title,#purchase-price,#purchase-status) { display: none; }
#notif-list.blog-feed .notif-item.blog-card { width: 100%; display: flex; text-align: left; padding: 14px; background: #121212; border: 1px solid #2a2a2a; border-radius: 6px; color: #e8e8e8; gap: 12px; }
#notif-list.blog-feed .notif-item.blog-card b { font: 700 17px/1.3 "Space Grotesk",sans-serif; }
#notif-list.blog-feed .notif-item.blog-card .notif-item-main > span { color: #9a9a9a; }

/* Append AFTER kit-landing.css. Scoped only to the replacement header/menu. */
#nav.nav-demo--void { --nav-radius: 6px; border-radius: var(--nav-radius) !important; }
#nav > .nav-void-ring { border-radius: var(--nav-radius); }
#nav > .nav-void-bg { border-radius: var(--nav-radius); clip-path: inset(0 round 6px); }
#nav .nav-left { min-width: 0; }
#nav .brand-text--void { white-space: nowrap; max-width: none; }
#nav .brand-line { display: inline; }
#nav > .links { gap: 12px; margin: 0 0 0 auto; flex: 0 0 auto; }
#nav > .links a { padding: 0; text-transform: none; letter-spacing: 0; font-size: 13px; font-weight: 600; }
#nav > .nav-right { margin-left: 0; flex: 0 0 auto; }
#nav #burger { display: inline-flex; width: 40px; height: 40px; min-width: 40px; flex: 0 0 40px; padding: 0; margin: 0; border: 1px solid #2a2a2a; border-radius: var(--nav-radius); gap: 5px; }
#nav #burger span { width: 16px; height: 2px; border-radius: 0; }

/* Override every legacy side-drawer geometry; never expand the header. */
#nav > #mobile-menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 12px;
  left: auto;
  bottom: auto;
  width: min(280px, calc(100% - 24px));
  max-width: 280px;
  height: auto;
  max-height: calc(100vh - var(--ticker-h, 72px) - var(--header-h, 76px) - 20px);
  max-height: calc(100dvh - var(--ticker-h, 72px) - var(--header-h, 76px) - 20px);
  overflow-y: auto;
  overscroll-behavior: contain;
  transform: none;
  transition: none;
  display: none;
  padding: 10px;
  margin: 0;
  gap: 0;
  background: #0c0c0c;
  border: 1px solid rgba(140,252,152,.35);
  border-radius: var(--nav-radius);
  box-shadow: 0 18px 40px rgba(0,0,0,.55);
  color: #e8e8e8;
  z-index: 30;
}
#nav > #mobile-menu.is-open:not([hidden]) { display: block; }
#nav > #mobile-menu[hidden] { display: none !important; }
#nav .nav-flyout__kicker { margin: 0 0 8px; font: 400 10px/normal "Pixelify Sans", system-ui, sans-serif; letter-spacing: .08em; text-transform: uppercase; color: #8cfc98; }
#nav .nav-flyout__item {
  position: relative; appearance: none; display: flex; align-items: center;
  justify-content: flex-start; gap: 10px; width: 100%; height: auto;
  min-width: 0; padding: 10px; margin: 0; border: 0;
  border-radius: var(--nav-radius); background: transparent; color: #e8e8e8;
  box-shadow: none; text-align: left; text-decoration: none;
  text-transform: none; letter-spacing: 0;
  font: 600 13px/1.2 "Space Grotesk", system-ui, sans-serif;
  cursor: pointer; flex: none; order: initial;
}
#nav .nav-flyout__item:hover,
#nav .nav-account-row:hover .nav-account-label { background: rgba(140,252,152,.08); }
#nav .nav-flyout__item:focus-visible,
#nav #burger:focus-visible,
#nav .nav-account-row:focus-within { outline: 2px solid #8cfc98; outline-offset: 2px; border-radius: var(--nav-radius); }
#nav .nav-ico { display: inline-flex; width: 18px; height: 18px; flex: 0 0 18px; color: #8cfc98; }
#nav .nav-flyout__item > .irm-ico { width: 18px; height: 18px; flex: 0 0 18px; color: #8cfc98; }
#nav .nav-flyout__badge { display: none; position: static; margin-left: auto; min-width: 18px; height: 18px; padding: 0 5px; border: 0; border-radius: var(--nav-radius); background: #8cfc98; color: #050505; font-size: 11px; line-height: 18px; font-weight: 800; align-items: center; justify-content: center; }
#nav .nav-flyout__badge.is-on { display: inline-flex; }

/* Session code rewrites #nav-avatar. Its transparent hit target preserves that
   contract while the sibling user icon and Cuenta label remain stable. */
#nav .nav-account-row { position: relative; }
#nav .nav-account-label { pointer-events: none; }
#nav .nav-account-row #nav-avatar {
  position: absolute; inset: 0; display: block; opacity: 0;
  width: 100%; height: 100%; min-width: 0; margin: 0; padding: 0;
  border: 0; border-radius: var(--nav-radius); transform: none;
  box-shadow: none; cursor: pointer; z-index: 1;
}
#nav .nav-flyout__mobile-link { display: none; }
@media (max-width: 1024px) {
  #nav > .links { display: none; }
  #nav .nav-left { flex: 1 1 auto; }
  #nav .brand-text--void { white-space: normal; font-size: 11px !important; line-height: 1.2; max-width: none; }
  #nav .brand-line { display: block; white-space: nowrap; }
  #nav .brand-visual { width: 32px; height: 40px; flex-basis: 32px; }
  #nav .nav-flyout__mobile-link { display: flex; }
  #nav .nav-flyout__item { min-height: 44px; }
}
@media (max-width: 360px) {
  #nav .brand-text--void { font-size: 11px !important; }
  #nav .brand-visual { width: 32px; flex-basis: 32px; }
}

/* Keep access panels above provider buttons; help clears the fixed sponsor rail. */
.chrome:has(#mobile-menu.is-open) { z-index: 1500; }
#help-fab { z-index: 1250; bottom: max(90px, calc(env(safe-area-inset-bottom) + 90px)); }
