@import url("https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600;700;800&family=Space+Grotesk:wght@500;600;700&display=swap");

:root {
  color-scheme: dark;
  --bg: #09070f;
  --panel: rgba(20, 16, 31, .82);
  --line: rgba(255, 255, 255, .11);
  --text: #fff;
  --muted: #aaa3b8;
  --violet: #9b5cff;
  --pink: #ff3d9a;
  --coral: #ff625d;
  --cyan: #38d9ff;
  --yellow: #ffd84d;
  font-family: "Manrope", system-ui, sans-serif;
}

.fan-sidebar .brand-logo { display:block; width:154px; max-width:100%; height:42px; object-fit:contain; object-position:left center; }
.fan-footer-logo { display:block; width:122px; height:38px; object-fit:contain; object-position:left center; }

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; min-height: 100vh; color: var(--text); overflow-x: hidden;
  background:
    radial-gradient(circle at 15% -10%, rgba(155,92,255,.22), transparent 32rem),
    radial-gradient(circle at 96% 18%, rgba(255,61,154,.17), transparent 28rem),
    var(--bg);
}
button, input, select { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { color: inherit; }
a { color: inherit; text-decoration: none; }

.aurora { position: fixed; z-index: -1; border-radius: 50%; filter: blur(90px); opacity: .18; pointer-events: none; }
.aurora-one { width: 24rem; height: 24rem; background: var(--violet); top: 30%; left: -14rem; }
.aurora-two { width: 20rem; height: 20rem; background: var(--pink); top: 55%; right: -12rem; }

.fan-header {
  width: min(1180px, calc(100% - 32px)); margin: 0 auto; height: 86px;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
}
.fan-brand { display: flex; align-items: center; gap: 11px; }
.fan-brand strong, .fan-brand small { display: block; }
.fan-brand strong { font: 700 16px "Space Grotesk"; letter-spacing: -.02em; }
.fan-brand small { color: var(--muted); font-size: 10px; text-transform: uppercase; letter-spacing: .15em; }
.brand-pulse {
  width: 38px; aspect-ratio: 1; display: grid; place-items: center; border-radius: 12px;
  font: 800 13px "Space Grotesk"; background: linear-gradient(135deg, var(--violet), var(--pink));
  box-shadow: 0 0 25px rgba(155,92,255,.35);
}
.mode-switcher { display: flex; padding: 4px; border: 1px solid var(--line); border-radius: 999px; background: rgba(255,255,255,.04); }
.mode-switcher a { display: flex; align-items: center; gap: 7px; padding: 9px 15px; color: var(--muted); border-radius: 999px; font-size: 12px; font-weight: 700; }
.mode-switcher a.active { color: #fff; background: linear-gradient(135deg, rgba(155,92,255,.95), rgba(255,61,154,.9)); box-shadow: 0 7px 22px rgba(155,92,255,.25); }
.mode-switcher svg { width: 15px; }
.round-button, .icon-button {
  border: 1px solid var(--line); background: rgba(255,255,255,.05); border-radius: 13px; cursor: pointer;
  display: flex; align-items: center; justify-content: center; gap: 7px;
}
.round-button { padding: 10px 14px; font-size: 12px; font-weight: 700; }
.round-button svg, .icon-button svg { width: 17px; }

main { width: min(1180px, calc(100% - 32px)); margin: 0 auto; padding-bottom: 80px; }
.hero { min-height: 520px; display: grid; grid-template-columns: 1.02fr .98fr; align-items: center; gap: 60px; padding: 48px 0 68px; }
.kicker { margin: 0 0 12px; color: #d0c8dd; font-size: 11px; font-weight: 800; letter-spacing: .17em; text-transform: uppercase; }
.kicker > span { display: inline-block; width: 22px; height: 2px; margin: 0 8px 3px 0; background: var(--pink); }
h1, h2, h3 { font-family: "Space Grotesk", sans-serif; }
h1 { margin: 0; max-width: 680px; font-size: clamp(46px, 6.1vw, 78px); line-height: .96; letter-spacing: -.065em; }
h1 em { color: transparent; font-style: normal; -webkit-text-stroke: 1px rgba(255,255,255,.76); }
.hero-text { max-width: 540px; margin: 25px 0; color: var(--muted); line-height: 1.75; font-size: 15px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.primary-button, .glass-button, .text-button {
  border: 0; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; gap: 8px; font-weight: 800;
}
.primary-button { min-height: 46px; padding: 0 19px; border-radius: 13px; background: linear-gradient(135deg, var(--violet), var(--pink)); box-shadow: 0 12px 30px rgba(155,92,255,.22); }
.glass-button { min-height: 46px; padding: 0 18px; border: 1px solid var(--line); border-radius: 13px; background: rgba(255,255,255,.055); }
.primary-button:hover, .glass-button:hover { transform: translateY(-2px); filter: brightness(1.08); }
.primary-button svg, .glass-button svg { width: 17px; }
.privacy-note { display: flex; align-items: center; gap: 7px; margin-top: 19px; color: #777181; font-size: 11px; }
.privacy-note svg { width: 14px; color: #51d98a; }

.hero-stage { position: relative; min-height: 430px; perspective: 900px; }
.stage-card { position: absolute; overflow: hidden; border-radius: 27px; border: 1px solid rgba(255,255,255,.15); box-shadow: 0 28px 80px rgba(0,0,0,.5); }
.stage-card img { width: 100%; height: 100%; object-fit: cover; display: block; }
.stage-front { width: 58%; height: 390px; left: 12%; top: 0; transform: rotate(-5deg); animation: float 6s ease-in-out infinite; }
.stage-front img { object-position: center 32%; }
.stage-back { width: 52%; height: 320px; right: 2%; top: 68px; transform: rotate(8deg); opacity: .64; }
.floating-note {
  position: absolute; right: 1%; bottom: 16px; padding: 13px 17px; display: flex; align-items: center; gap: 10px;
  border: 1px solid rgba(255,255,255,.18); border-radius: 15px; background: rgba(13,10,21,.75); backdrop-filter: blur(16px);
  font-size: 11px; line-height: 1.35; box-shadow: 0 18px 50px rgba(0,0,0,.35);
}
.floating-note svg { width: 20px; color: var(--yellow); }
@keyframes float { 50% { transform: rotate(-3deg) translateY(-10px); } }

.section-block, .prep-section { padding-top: 50px; }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin-bottom: 23px; }
.section-heading h2 { margin: 0; font-size: clamp(27px, 4vw, 39px); letter-spacing: -.045em; }
.text-button { padding: 8px 0; color: #d2c9df; background: transparent; font-size: 12px; }
.text-button svg { width: 15px; }

.event-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 11px; }
.event-month-heading {
  margin: 22px 0 2px; display: flex; align-items: center; gap: 12px;
  color: #f6f2f8; font-size: 15px; font-weight: 800; letter-spacing: -.01em;
}
.event-month-heading:first-child { margin-top: 0; }
.event-month-heading::after {
  content: ""; height: 1px; flex: 1; background: linear-gradient(90deg, rgba(232,166,217,.32), transparent);
}
.event-month-heading span { white-space: nowrap; }
.event-card {
  --accent: var(--violet); --accent-strong: var(--accent);
  position: relative; min-height: 128px; overflow: hidden; display: grid;
  grid-template-columns: 92px minmax(0, 1fr) auto; align-items: center; gap: 16px;
  padding: 16px 14px 16px 16px; border: 1px solid rgba(255,255,255,.14);
  border-radius: 8px; background: var(--accent); isolation: isolate;
  box-shadow: 0 16px 35px rgba(0,0,0,.24);
  transition: transform .25s ease, filter .25s ease;
}
.event-card:hover { transform: translateY(-3px) scale(1.005); filter: saturate(1.12); }
.event-card.theme-cyan { color: #fff; background: linear-gradient(135deg, #074768, #1088bd); }
.event-card.theme-coral { color: #fff; background: linear-gradient(135deg, #fb4e5f, #ff7b48); }
.event-card.theme-violet { color: #fff; background: linear-gradient(135deg, #7c3aed, #d946ef); }
.event-card.theme-yellow { color: #251a05; background: linear-gradient(135deg, #ffb31a, #ffdf5a); }
.event-card.is-soon { animation: cardGlow 1.8s ease-in-out infinite; }
@keyframes cardGlow { 50% { box-shadow: 0 18px 48px color-mix(in srgb, var(--accent-strong), transparent 36%); } }
.event-photo {
  position: relative; z-index: 1; width: 82px; height: 82px; object-fit: cover; border-radius: 18px;
  border: 3px solid rgba(255,255,255,.35); box-shadow: 0 12px 28px rgba(0,0,0,.28);
}
.event-main { position: relative; z-index: 1; min-width: 0; }
.event-title-line { display: flex; align-items: start; justify-content: space-between; gap: 10px; }
.event-main h3 { margin: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 19px; letter-spacing: -.03em; }
.event-date-line { margin: 2px 0 7px; opacity: .78; font-size: 11px; font-weight: 800; }
.event-count-main { font: 500 clamp(27px, 5vw, 42px) "Space Grotesk"; line-height: .98; letter-spacing: -.04em; text-shadow: 0 2px 0 rgba(0,0,0,.12); }
.event-count-main strong { font-weight: 700; }
.event-count-detail { margin-top: 4px; font-size: 13px; font-weight: 800; opacity: .96; }
.event-meta { margin: 9px 0 0; opacity: .88; font-size: 11px; font-weight: 800; }
.event-meta span { display: inline-flex; width: 7px; height: 7px; margin-right: 5px; border-radius: 999px; background: currentColor; vertical-align: 1px; }
.event-tools { position: relative; z-index: 1; display: grid; grid-template-columns: repeat(2, 34px); gap: 7px; }
.event-menu { width: 34px; height: 34px; padding: 0; border: 1px solid rgba(255,255,255,.28); border-radius: 9px; color: currentColor; background: rgba(255,255,255,.16); cursor: pointer; }
.event-menu svg { width: 16px; }
.event-action {
  width: 34px; height: 34px; padding: 0; border: 1px solid rgba(255,255,255,.28); border-radius: 9px;
  color: currentColor; background: rgba(255,255,255,.16); cursor: pointer; display: flex; align-items: center; justify-content: center;
}
.event-action.ticket-ready { color: #101017; border-color: transparent; background: rgba(255,255,255,.86); }
.event-action svg { width: 14px; }
.event-ticket-button {
  border-color: rgba(255,255,255,.48);
  background: rgba(255,255,255,.24);
  box-shadow: 0 7px 18px rgba(0,0,0,.16);
}
.event-ticket-button.ticket-ready {
  box-shadow: 0 8px 22px rgba(255,255,255,.2);
}
.event-ticket-button svg { width: 17px; height: 17px; }
.ticket-access-modal { width: min(430px, calc(100% - 24px)); overflow: hidden; border-radius: 18px; }
.ticket-access-cover {
  position: relative; min-height: 210px; background: #21172b center / cover no-repeat;
}
.ticket-access-cover::after { content: ""; position: absolute; inset: 35% 0 0; background: linear-gradient(transparent, #14101d); }
.ticket-access-close { position: absolute; z-index: 2; top: 12px; right: 12px; color: #fff; background: rgba(8,6,12,.65); backdrop-filter: blur(10px); }
.ticket-access-badge {
  position: absolute; z-index: 2; left: 15px; bottom: 13px; min-height: 30px; display: inline-flex; align-items: center; gap: 7px;
  padding: 0 10px; border: 1px solid rgba(255,255,255,.18); border-radius: 999px; color: #fff; background: rgba(12,9,17,.7);
  backdrop-filter: blur(10px); font-size: 10px; font-weight: 900;
}
.ticket-access-badge svg { width: 15px; color: #51d98a; }
.ticket-access-content { padding: 2px 18px 18px; }
.ticket-access-content .kicker, .ticket-access-content h2 { margin: 0; }
.ticket-access-content h2 { margin-top: 4px; font-size: 27px; letter-spacing: 0; }
.ticket-access-meta { display: grid; gap: 8px; margin: 16px 0; color: #d8d0df; font-size: 11px; }
.ticket-access-meta > span { min-width: 0; display: flex; align-items: center; gap: 8px; }
.ticket-access-meta svg { width: 16px; flex: 0 0 auto; color: #c79cff; }
.ticket-access-meta span span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ticket-access-open { width: 100%; min-height: 50px; justify-content: center; font-size: 13px; }
.ticket-access-note { margin: 11px 0 0; display: flex; align-items: center; justify-content: center; gap: 6px; color: var(--muted); font-size: 9px; }
.ticket-access-note svg { width: 13px; }
.ticket-viewer {
  width: min(920px, calc(100vw - 24px)); height: min(880px, calc(100dvh - 24px));
  padding: 0; overflow: hidden; color: var(--text);
  border: 1px solid rgba(255,255,255,.16); border-radius: 20px; background: #09070e;
  box-shadow: 0 35px 100px rgba(0,0,0,.75);
}
.ticket-viewer::backdrop { background: rgba(2,1,5,.88); backdrop-filter: blur(10px); }
.ticket-viewer__header {
  min-height: 68px; display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 12px 16px; border-bottom: 1px solid rgba(255,255,255,.1); background: #130f1b;
}
.ticket-viewer__header p, .ticket-viewer__header h2 { margin: 0; }
.ticket-viewer__header h2 { margin-top: 2px; font-size: 18px; letter-spacing: 0; }
.ticket-viewer__body {
  height: calc(100% - 116px); display: grid; place-items: center; overflow: auto; background: #050507;
}
.ticket-viewer__body iframe { width: 100%; height: 100%; border: 0; background: #fff; }
.ticket-viewer__body img { display: block; max-width: 100%; max-height: 100%; object-fit: contain; }
.ticket-viewer__hint {
  height: 48px; margin: 0; display: flex; align-items: center; justify-content: center; gap: 8px;
  padding: 0 14px; color: #d6cfdf; background: #130f1b; font-size: 11px; text-align: center;
}
.ticket-viewer__hint svg { width: 15px; flex: 0 0 auto; }
@media (max-width: 640px) {
  .ticket-access-modal { width: calc(100% - 20px); border-radius: 16px; }
  .ticket-access-cover { min-height: 190px; }
  .ticket-access-content { padding: 2px 15px max(16px, env(safe-area-inset-bottom)); }
  .ticket-access-content h2 { font-size: 24px; }
  .ticket-viewer { width: 100vw; height: 100dvh; max-width: none; max-height: none; border: 0; border-radius: 0; }
  .ticket-viewer__header { padding-top: max(12px, env(safe-area-inset-top)); }
  .ticket-viewer__body { height: calc(100% - 116px - env(safe-area-inset-top)); }
  .ticket-viewer__hint { padding-bottom: env(safe-area-inset-bottom); }
}

/* Assistant experience: useful actions first, lightweight surfaces throughout. */
.today-strip {
  min-height: 64px; display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 11px;
  margin-bottom: 18px; padding: 10px 11px; border: 1px solid rgba(255,255,255,.16); border-radius: 8px;
  color: #fff; background: linear-gradient(120deg, #7c3aed, #e83291); box-shadow: 0 14px 34px rgba(124,58,237,.24);
}
.today-strip[hidden], .detail-action[hidden] { display: none !important; }
.today-strip__icon { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 8px; background: rgba(255,255,255,.17); }
.today-strip__icon svg { width: 20px; }
.today-strip small, .today-strip strong { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.today-strip small { margin-bottom: 2px; font-size: 9px; font-weight: 900; text-transform: uppercase; }
.today-strip strong { font-size: 14px; }
.today-strip button {
  min-height: 40px; padding: 0 13px; display: inline-flex; align-items: center; gap: 7px;
  border: 0; border-radius: 8px; color: #18111e; background: #fff; font-size: 11px; font-weight: 900; cursor: pointer;
}
.today-strip button svg { width: 16px; }
.event-card { cursor: pointer; }
.event-ticket-status { margin: 7px 0 0; display: flex; align-items: center; gap: 5px; font-size: 9px; font-weight: 900; }
.event-ticket-status svg { width: 13px; height: 13px; }
.past-events { margin-top: 38px; }
.past-events__heading { margin-bottom: 12px; }
.past-events__heading > span { min-width: 28px; height: 28px; display: grid; place-items: center; border-radius: 999px; color: #dcd4e5; background: rgba(255,255,255,.07); font-size: 10px; font-weight: 900; }
.past-event-list { display: grid; gap: 8px; }
.past-event-list .event-month-heading { margin-top: 20px; }
.past-event-list .event-month-heading:first-child { margin-top: 0; }
.past-event-item {
  width: 100%; min-height: 68px; display: grid; grid-template-columns: 48px minmax(0,1fr) auto; align-items: center; gap: 11px;
  padding: 9px; border: 1px solid rgba(255,255,255,.1); border-radius: 8px; color: inherit;
  background: rgba(255,255,255,.035); text-align: left; cursor: pointer;
}
.past-event-item img { width: 48px; height: 48px; object-fit: cover; border-radius: 7px; filter: saturate(.72); }
.past-event-item strong, .past-event-item span { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.past-event-item strong { font-size: 12px; }
.past-event-item span { margin-top: 3px; color: var(--muted); font-size: 9px; }
.past-event-item > svg { width: 16px; color: var(--muted); }
.event-detail-modal { width: min(620px, calc(100% - 24px)); max-height: calc(100dvh - 24px); overflow: hidden; }
.event-detail-shell { max-height: calc(100dvh - 24px); overflow-y: auto; }
.event-detail-cover { position: relative; min-height: 230px; overflow: hidden; background: #191321 center / cover no-repeat; }
.event-detail-cover::after { content: ""; position: absolute; inset: 25% 0 0; background: linear-gradient(transparent, rgba(9,7,14,.94)); }
.event-detail-close { position: absolute; z-index: 3; top: 14px; right: 14px; color: #fff; background: rgba(8,6,12,.62); backdrop-filter: blur(10px); }
.event-detail-cover__copy { position: absolute; z-index: 2; left: 22px; right: 70px; bottom: 20px; }
.event-detail-cover__copy p, .event-detail-cover__copy h2, .event-detail-cover__copy strong { margin: 0; }
.event-detail-cover__copy p { font-size: 10px; font-weight: 900; text-transform: uppercase; }
.event-detail-cover__copy h2 { margin-top: 5px; font-size: clamp(27px, 7vw, 40px); letter-spacing: 0; }
.event-detail-cover__copy strong { display: block; margin-top: 5px; color: #f0eaf5; font-size: 13px; }
.event-detail-content { padding: 18px; }
.event-detail-actions { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 8px; }
.event-detail-actions.single-action { grid-template-columns: minmax(0, 1fr); }
.detail-action {
  min-height: 78px; display: flex; align-items: flex-start; gap: 9px; padding: 12px;
  border: 1px solid rgba(255,255,255,.11); border-radius: 8px; color: inherit; background: rgba(255,255,255,.04);
  text-align: left; cursor: pointer; transition: background .16s ease, transform .16s ease;
}
.detail-action:hover { background: rgba(255,255,255,.075); transform: translateY(-1px); }
.detail-action > svg { width: 18px; flex: 0 0 auto; color: #cfbaff; }
.detail-action span, .detail-action strong, .detail-action small { display: block; min-width: 0; }
.detail-action strong { font-size: 11px; }
.detail-action small { margin-top: 4px; overflow: hidden; color: var(--muted); font-size: 9px; text-overflow: ellipsis; white-space: nowrap; }
.detail-action-primary { color: #17101c; border-color: transparent; background: #fff; }
.detail-action-primary > svg, .detail-action-primary small { color: #5f5269; }
.detail-action.is-active { border-color: rgba(81,217,138,.35); background: rgba(81,217,138,.09); }
.detail-action.is-active > svg { color: #51d98a; }
.detail-action.is-ready { border-color: rgba(81,217,138,.30); background: rgba(81,217,138,.07); }
.detail-action.is-ready > svg { color: #51d98a; }
.companions-section { margin-top: 22px; padding-top: 18px; border-top: 1px solid rgba(255,255,255,.09); }
.detail-section-heading { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.detail-section-heading p, .detail-section-heading h3 { margin: 0; }
.detail-section-heading h3 { margin-top: 2px; font-size: 17px; letter-spacing: 0; }
.detail-section-heading > span { color: var(--muted); font-size: 10px; }
.companion-form { display: grid; grid-template-columns: minmax(0,1fr) 42px; gap: 7px; margin-top: 12px; }
.companion-form input {
  min-width: 0; height: 42px; padding: 0 12px; border: 1px solid rgba(255,255,255,.11); border-radius: 8px;
  color: #fff; background: rgba(255,255,255,.045); outline: 0;
}
.companion-form input:focus { border-color: rgba(255,61,154,.5); }
.companion-form button { display: grid; place-items: center; border: 0; border-radius: 8px; color: #fff; background: linear-gradient(135deg, var(--violet), var(--pink)); cursor: pointer; }
.companion-form button svg { width: 18px; }
.companion-list { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 10px; }
.companion-chip { min-height: 31px; display: inline-flex; align-items: center; gap: 7px; padding: 0 8px 0 10px; border-radius: 999px; color: #e9e3ef; background: rgba(255,255,255,.07); font-size: 10px; }
.companion-chip button { width: 22px; height: 22px; display: grid; place-items: center; padding: 0; border: 0; border-radius: 50%; color: var(--muted); background: rgba(0,0,0,.18); cursor: pointer; }
.companion-chip button svg { width: 12px; }
.companion-empty { margin: 10px 0 0; color: var(--muted); font-size: 10px; }
.event-note-section { margin-top: 20px; padding-top: 18px; border-top: 1px solid rgba(255,255,255,.09); }
.event-note-section label > span { display: block; margin-bottom: 7px; font-size: 11px; font-weight: 900; }
.event-note-section textarea { width: 100%; padding: 11px; resize: vertical; border: 1px solid rgba(255,255,255,.11); border-radius: 8px; color: #fff; background: rgba(255,255,255,.045); outline: 0; }
@media (max-width: 640px) {
  .today-strip button span { display: none; }
  .today-strip button { width: 40px; padding: 0; justify-content: center; }
  .event-detail-modal { width: 100vw; height: 100dvh; max-width: none; max-height: none; border: 0; border-radius: 0; }
  .event-detail-shell { max-height: 100dvh; }
  .event-detail-cover { min-height: 218px; }
  .event-detail-close { top: max(12px, env(safe-area-inset-top)); }
  .event-detail-cover__copy { left: 16px; bottom: 16px; }
  .event-detail-content { padding: 14px 12px max(24px, env(safe-area-inset-bottom)); }
  .event-detail-actions { grid-template-columns: 1fr; }
  .detail-action { min-height: 58px; align-items: center; }
  .past-events { margin-top: 30px; }
}
.event-alert { margin: 0 0 7px; font-size: 11px; font-weight: 900; text-transform: uppercase; letter-spacing: .08em; }
.event-alert.tomorrow { animation: pulseText 1.5s ease-in-out infinite; }
@keyframes pulseText { 50% { opacity: .55; } }

.prep-section { margin-top: 72px; padding: 45px; border: 1px solid var(--line); border-radius: 28px; background: linear-gradient(135deg, rgba(155,92,255,.08), rgba(255,61,154,.05)); }
.prep-score { color: var(--muted); font-size: 12px; }
.prep-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.prep-card { position: relative; min-height: 160px; padding: 18px; text-align: left; border: 1px solid var(--line); border-radius: 17px; background: rgba(255,255,255,.035); cursor: pointer; }
.prep-card > span:not(.prep-icon) { display: block; margin-top: 28px; }
.prep-card strong, .prep-card small { display: block; }
.prep-card strong { font-size: 13px; }
.prep-card small { margin-top: 6px; color: var(--muted); line-height: 1.45; font-size: 10px; }
.prep-icon { width: 35px; height: 35px; display: grid; place-items: center; border-radius: 11px; }
.prep-icon svg { width: 18px; }
.prep-icon.coral { color: var(--coral); background: rgba(255,98,93,.14); }
.prep-icon.cyan { color: var(--cyan); background: rgba(56,217,255,.14); }
.prep-icon.yellow { color: var(--yellow); background: rgba(255,216,77,.14); }
.prep-icon.violet { color: var(--violet); background: rgba(155,92,255,.14); }
.prep-card .check { position: absolute; top: 18px; right: 18px; width: 17px; color: #635c6c; }
.prep-card.done { border-color: rgba(81,217,138,.33); background: rgba(81,217,138,.055); }
.prep-card.done .check { color: #51d98a; }

.empty-state { padding: 70px 20px; text-align: center; border: 1px dashed var(--line); border-radius: 24px; }
.empty-state > svg { width: 42px; height: 42px; color: var(--violet); }
.empty-state h3 { margin: 15px 0 7px; font-size: 22px; }
.empty-state p { color: var(--muted); font-size: 13px; }

.fan-modal { width: min(680px, calc(100% - 24px)); padding: 0; color: var(--text); border: 1px solid var(--line); border-radius: 24px; background: #14101d; box-shadow: 0 35px 100px #000; }
.fan-modal::backdrop { background: rgba(4,3,8,.78); backdrop-filter: blur(6px); }
.fan-modal form { padding: 26px; }
.modal-heading { display: flex; justify-content: space-between; align-items: start; margin-bottom: 23px; }
.modal-heading h2 { margin: 0; font-size: 28px; }
.icon-button { width: 39px; height: 39px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 15px; }
.form-grid label { display: grid; gap: 7px; }
.form-grid label > span { color: #c4bdcc; font-size: 11px; font-weight: 700; }
.form-grid input, .form-grid select { width: 100%; min-height: 45px; padding: 0 13px; color: #fff; border: 1px solid var(--line); border-radius: 11px; outline: 0; background: rgba(255,255,255,.05); }
.form-grid input:focus, .form-grid select:focus { border-color: var(--violet); box-shadow: 0 0 0 3px rgba(155,92,255,.12); }
.form-grid option { background: #181220; }
.form-grid .wide { grid-column: 1 / -1; }
.upload-field { padding: 14px; border: 1px dashed rgba(255,255,255,.18); border-radius: 13px; }
.upload-field input { min-height: auto; padding: 8px; }
.upload-field small { color: var(--muted); font-size: 10px; }
.ticket-upload-modal { width: min(440px, calc(100% - 24px)); }
.ticket-upload-modal form { padding: 22px; }
.ticket-upload-heading { margin-bottom: 16px; }
.ticket-upload-heading h2 { font-size: 24px; letter-spacing: 0; }
.ticket-upload-event {
  display: flex; align-items: center; gap: 11px; margin-bottom: 13px; padding: 11px 12px;
  border: 1px solid rgba(255,255,255,.1); border-radius: 12px; background: rgba(255,255,255,.045);
}
.ticket-upload-event > span {
  width: 36px; height: 36px; display: grid; place-items: center; flex: 0 0 auto;
  border-radius: 10px; color: #fff; background: linear-gradient(135deg, var(--violet), var(--pink));
}
.ticket-upload-event svg { width: 17px; }
.ticket-upload-event small, .ticket-upload-event strong { display: block; }
.ticket-upload-event small { margin-bottom: 2px; color: var(--muted); font-size: 9px; text-transform: uppercase; }
.ticket-upload-event strong { font-size: 13px; }
.ticket-upload-drop {
  min-height: 170px; display: grid; place-items: center; align-content: center; gap: 7px; padding: 18px;
  border: 1px dashed rgba(255,255,255,.2); border-radius: 14px; background: rgba(255,255,255,.025);
  text-align: center; cursor: pointer; transition: border-color .18s ease, background .18s ease, transform .18s ease;
}
.ticket-upload-drop:hover { border-color: rgba(255,61,154,.55); background: rgba(255,61,154,.055); transform: translateY(-1px); }
.ticket-upload-drop__icon {
  width: 48px; height: 48px; display: grid; place-items: center; margin-bottom: 3px;
  border-radius: 14px; color: #fff; background: linear-gradient(135deg, rgba(155,92,255,.9), rgba(255,61,154,.9));
}
.ticket-upload-drop__icon svg { width: 23px; }
.ticket-upload-drop > strong { font-size: 14px; }
.ticket-upload-drop > span:not(.ticket-upload-drop__icon) { max-width: 100%; overflow: hidden; color: var(--muted); font-size: 10px; text-overflow: ellipsis; white-space: nowrap; }
.ticket-upload-drop input { position: absolute; width: 1px; height: 1px; overflow: hidden; opacity: 0; pointer-events: none; }
.ticket-upload-actions { display: grid; grid-template-columns: 1fr 1.35fr; gap: 9px; margin-top: 15px; }
.ticket-upload-actions button { min-width: 0; }
.modal-actions { display: grid; grid-template-columns: auto 1fr auto auto; align-items: center; gap: 9px; margin-top: 24px; }
.danger-link { border: 0; color: #ff7772; background: transparent; cursor: pointer; font-size: 11px; font-weight: 800; }
.danger-link svg { width: 15px; vertical-align: middle; }
.toast { position: fixed; z-index: 20; left: 50%; bottom: 24px; padding: 12px 17px; border: 1px solid var(--line); border-radius: 999px; background: #21192d; box-shadow: 0 15px 45px #000; font-size: 12px; transform: translate(-50%, 80px); opacity: 0; transition: .25s ease; }
.toast.show { transform: translate(-50%, 0); opacity: 1; }

/* ═══════════════════════════════════════════
   SIDEBAR APP LAYOUT
═══════════════════════════════════════════ */
.fan-app { min-height: 100vh; display: grid; grid-template-columns: 246px minmax(0, 1fr); }
.fan-sidebar {
  position: sticky; top: 0; z-index: 40; height: 100vh;
  display: flex; flex-direction: column; gap: 18px; padding: 22px 14px;
  border-right: 1px solid var(--line);
  background: rgba(10, 7, 17, .78); backdrop-filter: blur(22px);
}

/* Brand — igual al módulo Promotores */
.fan-sidebar .brand {
  display: flex; align-items: center; gap: 11px; padding: 0 8px 4px;
}
.fan-sidebar .brand strong { display: block; font: 700 15px "Space Grotesk"; letter-spacing: -.02em; }
.fan-sidebar .brand span { display: block; color: var(--muted); font-size: 10px; text-transform: uppercase; letter-spacing: .15em; }
.fan-sidebar .brand-mark {
  width: 38px; aspect-ratio: 1; display: grid; place-items: center; border-radius: 12px; flex: 0 0 auto;
  font: 800 13px "Space Grotesk"; background: linear-gradient(135deg, var(--violet), var(--pink));
  box-shadow: 0 0 25px rgba(155,92,255,.35);
}

/* Panel switcher */
.assistant-mode {
  min-height: 41px; display: flex; align-items: center; gap: 10px; padding: 0 13px;
  border: 1px solid rgba(232,166,217,.22); border-radius: 12px;
  color: #fff; background: rgba(232,166,217,.12); font-size: 11px; font-weight: 800;
}
.assistant-mode svg { width: 17px; height: 17px; color: #ff3d9a; }
.panel-switcher {
  display: flex; gap: 4px; padding: 4px;
  border: 1px solid rgba(255,255,255,.11); border-radius: 999px; background: rgba(255,255,255,.04);
}
.panel-switcher a {
  flex: 1; min-height: 34px; display: flex; align-items: center; justify-content: center;
  gap: 6px; padding: 0 8px; border-radius: 999px; color: #bfb6cd;
  text-decoration: none; font-size: 11px; font-weight: 800;
}
.panel-switcher a.active {
  color: #fff;
  background: linear-gradient(135deg, rgba(155,92,255,.95), rgba(255,61,154,.9));
  box-shadow: 0 7px 22px rgba(155,92,255,.25);
}
.panel-switcher svg { width: 14px; }

/* Nav — igual al módulo Promotores */
.fan-nav { display: grid; gap: 3px; }
.fan-nav a, .fan-nav button {
  position: relative; width: 100%; min-height: 44px; display: flex; align-items: center; gap: 11px;
  padding: 0 13px; border: 1px solid transparent; border-radius: 12px;
  color: #bfb6cd; background: transparent; cursor: pointer; text-align: left; font-weight: 800; font-size: 13px;
  transition: 150ms ease;
}
.fan-nav a:hover, .fan-nav button:hover { color: #fff; background: rgba(255,255,255,.055); }
.fan-nav a.active, .fan-nav button.active {
  color: #fff; border-color: rgba(155,92,255,.28);
  background: linear-gradient(135deg, rgba(155,92,255,.18), rgba(255,61,154,.12));
  box-shadow: inset 0 0 0 1px rgba(155,92,255,.15);
}
.fan-nav a.active::before, .fan-nav button.active::before {
  content: ""; position: absolute; left: -14px; width: 3px; height: 28px;
  border-radius: 0 3px 3px 0;
  background: linear-gradient(180deg, var(--violet), var(--pink));
  box-shadow: 0 0 22px rgba(155,92,255,.45);
}
.fan-nav svg { width: 18px; }

/* Footer — igual al módulo Promotores */
.fan-sidebar .sidebar-footer { margin-top: auto; }
.fan-sidebar .storage-note {
  width: 100%; display: flex; align-items: center; gap: 11px; padding: 13px 14px;
  border: 1px solid var(--line); border-radius: 14px; cursor: pointer;
  color: var(--text); text-align: left;
  background: linear-gradient(135deg, rgba(56,217,255,.07), rgba(155,92,255,.09));
}
.fan-sidebar .storage-note:hover { background: linear-gradient(135deg, rgba(56,217,255,.11), rgba(155,92,255,.13)); }
.fan-sidebar .storage-note svg { width: 18px; color: #51d98a; flex: 0 0 auto; }
.fan-sidebar .storage-note div { min-width: 0; }
.fan-sidebar .storage-note strong { display: block; font-size: 12px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.fan-sidebar .storage-note span { display: block; margin-top: 2px; color: var(--muted); font-size: 10px; }
.fan-sidebar .profile-card { margin: 0; }
.fan-logout-button {
  width: 100%; min-height: 44px; margin-top: 9px; display: flex; align-items: center; justify-content: center; gap: 9px;
  border: 1px solid transparent; border-radius: 12px; color: #d8d2de; background: transparent;
  font-size: 13px; font-weight: 800; cursor: pointer;
}
.fan-logout-button:hover { color: #fff; border-color: rgba(255,255,255,.09); background: rgba(255,255,255,.04); }
.fan-logout-button:disabled { opacity: .55; cursor: wait; }
.fan-logout-button svg { width: 17px; height: 17px; }

.sidebar-backdrop { display: none; }
.fan-main { min-width: 0; }

/* ═══════════════════════════════════════════
   TOPBAR
═══════════════════════════════════════════ */
.fan-topbar {
  position: sticky; top: 0; z-index: 30; min-height: 76px; display: flex; align-items: center; gap: 16px;
  padding: 0 28px; border-bottom: 1px solid rgba(255,255,255,.1);
  background: linear-gradient(90deg, rgba(12,8,18,.97), rgba(18,9,28,.94)); backdrop-filter: blur(22px);
  box-shadow: 0 12px 35px rgba(0,0,0,.16);
}
.fan-topbar::after {
  content: ""; position: absolute; left: 28px; right: 28px; bottom: -1px; height: 1px;
  background: linear-gradient(90deg, rgba(155,92,255,.68), rgba(255,61,154,.36), transparent 58%);
}
.fan-topbar h1 { margin: 0; font-size: 22px; line-height: 1.1; letter-spacing: -.04em; }
.fan-topbar .kicker {
  margin: 0 0 3px; display: flex; align-items: center; gap: 7px;
  font-size: 9px; font-weight: 900; letter-spacing: .16em; text-transform: uppercase;
  color: #cdb7ff; opacity: 1;
}
.fan-topbar .kicker > span { display: none; }
.fan-topbar .kicker > .topbar-status-dot {
  width: 6px; height: 6px; display: inline-block; flex: 0 0 auto; border-radius: 50%;
  background: #ff3d9a; box-shadow: 0 0 0 4px rgba(255,61,154,.1), 0 0 14px rgba(255,61,154,.65);
}
.topbar-title p, .topbar-title h1 { margin: 0; }
.menu-toggle {
  display: none; flex: 0 0 auto;
  width: 40px; height: 40px; border-radius: 12px;
  border: 1px solid rgba(255,255,255,.11); background: rgba(255,255,255,.06);
}
.menu-toggle svg { width: 18px; }
.topbar-actions { margin-left: auto; display: flex; align-items: center; gap: 8px; }
.topbar-actions .round-button {
  min-height: 38px; padding: 0 14px; border-radius: 11px; font-size: 12px; font-weight: 800;
  border: 1px solid rgba(255,255,255,.11); background: rgba(255,255,255,.06);
  display: flex; align-items: center; gap: 7px; color: var(--text); cursor: pointer;
}
.topbar-actions .round-button svg { width: 16px; }
.topbar-actions .round-button:hover { background: rgba(255,255,255,.1); }
.topbar-actions .primary-button {
  min-height: 38px; padding: 0 16px; border-radius: 11px; font-size: 13px; font-weight: 800;
  background: linear-gradient(135deg, var(--violet), var(--pink));
  box-shadow: 0 6px 20px rgba(155,92,255,.28);
  display: flex; align-items: center; gap: 7px; border: 0; color: #fff; cursor: pointer;
}
.topbar-actions .primary-button svg { width: 16px; }
.topbar-actions .primary-button:hover { filter: brightness(1.1); transform: translateY(-1px); }

/* Header profile (se mantiene para compatibilidad) */
.header-profile {
  margin-left: auto; min-height: 50px; max-width: 250px;
  display: flex; align-items: center; gap: 10px; padding: 5px 12px 5px 6px;
  border: 1px solid rgba(255,255,255,.13); border-radius: 14px;
  color: #fff; background: linear-gradient(135deg, rgba(255,255,255,.075), rgba(155,92,255,.07)); backdrop-filter: blur(14px);
  cursor: pointer; transition: transform 150ms ease, background 150ms ease, border-color 150ms ease;
}
.header-profile:hover { transform: translateY(-1px); border-color: rgba(255,61,154,.3); background: rgba(255,255,255,.085); }
.header-profile-avatar {
  width: 36px; height: 36px; display: grid; place-items: center; flex: 0 0 auto;
  border-radius: 12px; font: 900 12px "Space Grotesk", sans-serif;
  background: linear-gradient(135deg, var(--violet), var(--pink)); box-shadow: 0 0 22px rgba(155,92,255,.3);
}
.header-profile-copy { min-width: 0; display: grid; gap: 2px; text-align: left; }
.header-profile-copy strong, .header-profile-copy small { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.header-profile-copy strong { font-size: 12px; font-weight: 900; }
.header-profile-copy small { color: var(--muted); font-size: 10px; }
.header-profile svg { width: 14px; height: 14px; flex: 0 0 auto; color: #d0c8dd; }

.dashboard-content {
  width: min(100%, 1180px); margin: 0 auto; padding: 24px 28px 72px;
  display: flex; flex-direction: column;
}

.fan-page-footer {
  margin-top: auto; padding: 42px 28px 20px; border-top: 1px solid rgba(255,255,255,.1);
  color: #fff; background: linear-gradient(180deg, rgba(16,12,23,.94), #09070d);
}
.fan-footer-grid {
  width: min(100%, 1180px); margin: 0 auto; display: grid; grid-template-columns: minmax(280px, 2fr) repeat(3, minmax(130px, 1fr)); gap: 34px;
}
.fan-footer-identity { display: flex; align-items: center; gap: 11px; }
.fan-footer-identity .brand-mark { width: 40px; height: 40px; flex: 0 0 auto; }
.fan-footer-identity strong, .fan-footer-identity small { display: block; }
.fan-footer-identity strong { font: 700 17px "Space Grotesk"; }
.fan-footer-identity small { margin-top: 2px; color: #8f879b; font-size: 9px; }
.fan-footer-brand > p { max-width: 430px; margin: 16px 0 0; color: #aaa3b4; font-size: 11px; line-height: 1.7; }
.fan-footer-column h2 { margin: 0 0 15px; font-size: 13px; letter-spacing: 0; }
.fan-footer-column > a { width: fit-content; display: flex; align-items: center; gap: 8px; margin-top: 10px; color: #a9a1b3; font-size: 10px; transition: color .16s ease, transform .16s ease; }
.fan-footer-column > a:hover { color: #fff; transform: translateX(2px); }
.fan-footer-column > a svg { width: 14px; }
.fan-footer-socials { display: flex; gap: 8px; }
.fan-footer-socials a { width: 38px; height: 38px; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.11); border-radius: 9px; color: #fff; background: rgba(255,255,255,.045); transition: transform .16s ease, background .16s ease; }
.fan-footer-socials a:hover { transform: translateY(-2px); background: rgba(255,255,255,.1); }
.fan-footer-socials svg { width: 17px; }
.fan-footer-bottom {
  width: min(100%, 1180px); margin: 30px auto 0; padding-top: 18px; display: flex; justify-content: space-between; gap: 18px;
  border-top: 1px solid rgba(255,255,255,.08); color: #716a7a; font-size: 9px;
}

.fan-bottom-nav { display: none; }

.fan-timeline-tabs {
  display: grid; grid-template-columns: 1fr 1fr; margin: 2px 0 26px;
  border: 1px solid var(--line); border-radius: 14px; overflow: hidden;
  background: rgba(8,9,12,.42);
}
.fan-timeline-tabs button {
  position: relative; min-height: 52px; display: flex; align-items: center; justify-content: center; gap: 9px;
  border: 0; color: var(--muted); background: transparent; font-size: 12px; font-weight: 800; cursor: pointer;
}
.fan-timeline-tabs button + button { border-left: 1px solid rgba(255,255,255,.07); }
.fan-timeline-tabs button svg { width: 18px; height: 18px; }
.fan-timeline-tabs button.active { color: var(--text); background: rgba(255,255,255,.035); }
.fan-timeline-tabs button.active svg { color: var(--pink); }

.next-event-feature { margin-bottom: 28px; }
.next-event-feature__heading { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 12px; }
.next-event-feature__heading h2 { margin: 0; font-size: 20px; }
.next-event-feature__heading button { display: flex; align-items: center; gap: 3px; padding: 4px 0; border: 0; color: var(--muted); background: transparent; font-size: 11px; cursor: pointer; }
.next-event-feature__heading button svg { width: 15px; }
.next-event-hero {
  position: relative; min-height: 260px; overflow: hidden; display: flex; align-items: end; justify-content: space-between; gap: 20px;
  padding: 28px; border: 1px solid var(--line); border-radius: 18px;
  background-image: linear-gradient(90deg, rgba(8,9,12,.97) 0%, rgba(8,9,12,.76) 43%, rgba(8,9,12,.12) 78%), var(--hero-image);
  background-position: center; background-size: cover;
}
.next-event-hero__copy { position: relative; z-index: 1; max-width: 62%; }
.next-event-hero__badge { display: inline-flex; padding: 7px 12px; border-radius: 999px; color: #fff; background: rgba(155,92,255,.78); font-size: 11px; font-weight: 900; text-transform: uppercase; }
.next-event-hero h3 { margin: 14px 0 10px; font-size: clamp(28px, 5vw, 42px); line-height: 1; }
.next-event-hero__copy > p { display: flex; align-items: center; gap: 7px; margin: 6px 0; color: #d0cad8; font-size: 12px; }
.next-event-hero__copy > p svg { width: 15px; height: 15px; }
.next-event-hero__actions { display: flex; gap: 8px; margin-top: 20px; }
.next-event-hero__actions button { min-height: 42px; display: inline-flex; align-items: center; justify-content: center; gap: 7px; padding: 0 15px; border: 1px solid rgba(255,255,255,.16); border-radius: 12px; color: #fff; background: rgba(27,23,37,.82); font-size: 11px; font-weight: 800; cursor: pointer; }
.next-event-hero__actions button:last-child { width: 42px; padding: 0; border-radius: 50%; }
.next-event-hero__actions svg { width: 16px; }
.next-event-countdown { position: relative; z-index: 1; display: flex; align-items: end; gap: 18px; padding: 14px 16px; border-radius: 15px; background: rgba(8,9,12,.54); backdrop-filter: blur(8px); }
.next-event-countdown span { display: grid; justify-items: center; gap: 2px; }
.next-event-countdown small { color: #b9b1c3; font-size: 8px; font-weight: 800; text-transform: uppercase; }
.next-event-countdown strong { font: 700 27px "Space Grotesk"; }

@media (max-width: 640px) {
  .next-event-feature { margin-bottom: 24px; }
  .next-event-feature__heading h2 { font-size: 17px; }
  .next-event-hero { min-height: 250px; padding: 18px 14px; border-radius: 15px; }
  .next-event-hero__copy { max-width: 70%; }
  .next-event-hero h3 { font-size: 28px; }
  .next-event-hero__copy > p { font-size: 10px; }
  .next-event-countdown { position: absolute; right: 12px; bottom: 16px; gap: 9px; padding: 10px; }
  .next-event-countdown strong { font-size: 21px; }
  .next-event-hero__actions { margin-top: 17px; }
  .next-event-hero__actions button { min-height: 38px; padding-inline: 12px; }
  .fan-timeline-tabs { margin: 2px 0 22px; border-radius: 12px; }
  .fan-timeline-tabs button { min-height: 48px; }
  .fan-main { padding-bottom: calc(86px + env(safe-area-inset-bottom)); }
  .fan-page-footer { display: none; }
  .fan-bottom-nav {
    position: fixed; z-index: 55; left: 0; right: 0; bottom: 0;
    height: calc(76px + env(safe-area-inset-bottom));
    display: grid; grid-template-columns: 1fr 1fr 76px 1fr 1fr; align-items: start;
    padding: 9px max(8px, env(safe-area-inset-right)) env(safe-area-inset-bottom) max(8px, env(safe-area-inset-left));
    border-top: 1px solid var(--line);
    background: rgba(23,25,30,.97); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 -14px 36px rgba(0,0,0,.30);
  }
  .fan-bottom-nav > a,
  .fan-bottom-nav > button:not(.fan-bottom-nav__add) {
    min-width: 0; height: 58px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 5px;
    padding: 0; border: 0; color: var(--muted); background: transparent; font: 700 10px "Manrope", system-ui, sans-serif;
  }
  .fan-bottom-nav > a svg,
  .fan-bottom-nav > button:not(.fan-bottom-nav__add) svg { width: 22px; height: 22px; stroke-width: 2; }
  .fan-bottom-nav > a.active { color: var(--pink); }
  .fan-bottom-nav > a.active svg { fill: currentColor; stroke: currentColor; }
  .fan-bottom-nav__add {
    width: 64px; height: 64px; place-self: start center; transform: translateY(-18px);
    display: grid; place-items: center; padding: 0; border: 0; border-radius: 22px;
    color: var(--text); background: linear-gradient(135deg, var(--violet), var(--pink));
    box-shadow: none; cursor: pointer;
  }
  .fan-bottom-nav__add svg { width: 29px; height: 29px; stroke-width: 2; }
}
.section-block { padding-top: 0; }
.section-heading h2 { font-size: clamp(25px, 3vw, 34px); }
.prep-section {
  margin-top: 40px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
}

@media (max-width: 900px) {
  .fan-app { grid-template-columns: 1fr; }
  .fan-sidebar {
    position: fixed; left: 0; z-index: 80; transform: translateX(-105%); width: min(280px, 86vw);
    transition: transform .2s ease; box-shadow: 28px 0 70px rgba(0,0,0,.45);
  }
  .fan-sidebar.open { transform: translateX(0); }
  .sidebar-backdrop.open { position: fixed; inset: 0; z-index: 60; display: block; background: rgba(0,0,0,.54); }
  .menu-toggle { display: inline-flex; }
  .fan-topbar { padding: 0 16px; min-height: 64px; }
  .dashboard-content { padding: 18px 16px 64px; }
  .hero { grid-template-columns: 1fr; gap: 30px; padding-top: 40px; }
  .hero-copy { text-align: center; }
  .hero-text { margin-inline: auto; }
  .hero-actions { justify-content: center; }
  .privacy-note { justify-content: center; }
  .hero-stage { min-height: 380px; max-width: 560px; width: 100%; margin: 0 auto; }
  .prep-grid { grid-template-columns: repeat(2, 1fr); }
  .fan-footer-grid { grid-template-columns: 2fr 1fr 1fr; }
  .fan-footer-column:last-child { grid-column: 2 / -1; }
}

@media (max-width: 640px) {
  .fan-topbar { align-items: center; }
  .fan-topbar h1 { font-size: 20px; }
  .topbar-actions { gap: 7px; }
  .topbar-actions .primary-button { min-height: 38px; width: 38px; padding: 0; border-radius: 11px; }
  .topbar-actions .primary-button span { display: none; }
  .topbar-actions .primary-button svg { margin: 0; }
  .header-profile { min-height: 42px; max-width: 46px; padding: 3px; border-radius: 14px; }
  .header-profile-avatar { width: 34px; height: 34px; border-radius: 11px; }
  .header-profile-copy, .header-profile svg { display: none; }
  .fan-header { width: min(100% - 20px, 1180px); height: auto; padding: 12px 0; flex-wrap: wrap; }
  .fan-brand { order: 1; }
  .round-button { order: 2; }
  .round-button span { display: none; }
  .mode-switcher { order: 3; width: 100%; }
  .mode-switcher a { flex: 1; justify-content: center; padding-inline: 8px; }
  main { width: min(100% - 20px, 1180px); }
  .hero { min-height: 0; padding: 55px 0 30px; }
  h1 { font-size: 48px; }
  .hero-stage { min-height: 330px; }
  .stage-front { width: 62%; height: 300px; left: 6%; }
  .stage-back { height: 250px; }
  .floating-note { right: 0; bottom: 0; }
  .section-block { padding-top: 0; }
  .event-card { grid-template-columns: 68px minmax(0, 1fr) auto; min-height: 104px; gap: 11px; padding: 11px 9px 11px 11px; }
  .event-photo { width: 58px; height: 58px; border-radius: 15px; border-width: 2px; }
  .event-main h3 { font-size: 15px; }
  .event-date-line { margin-bottom: 4px; font-size: 9px; }
  .event-count-main { font-size: 23px; }
  .event-count-detail, .event-meta { font-size: 10px; }
  .event-tools { grid-template-columns: repeat(2, 30px); gap: 5px; }
  .event-action, .event-menu { width: 30px; height: 30px; border-radius: 8px; }
  .prep-section { margin: 34px 0 0; padding: 0; }
  .prep-grid { grid-template-columns: 1fr; }
  .prep-card { min-height: 115px; }
  .prep-card > span:not(.prep-icon) { margin-top: 16px; }
  .form-grid { grid-template-columns: 1fr; }
  .form-grid .wide { grid-column: auto; }
  .modal-actions { grid-template-columns: 1fr 1fr; }
  .modal-actions .danger-link, .modal-actions > span { grid-column: 1 / -1; }
  .fan-page-footer { padding: 34px 16px max(18px, env(safe-area-inset-bottom)); }
  .fan-footer-grid { grid-template-columns: 1fr 1fr; gap: 28px 18px; }
  .fan-footer-brand { grid-column: 1 / -1; }
  .fan-footer-column:last-child { grid-column: auto; }
  .fan-footer-bottom { margin-top: 26px; flex-direction: column; gap: 5px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}

/* Mobile hardening: asistentes is primarily used on phones. Keep every surface inside the viewport. */
html, body, .fan-app, .fan-main, .dashboard-content {
  max-width: 100%;
}

.fan-main,
.dashboard-content,
.topbar-title,
.section-heading > div,
.event-main,
.prep-card,
.modal-heading > div {
  min-width: 0;
}

.fan-topbar {
  overflow: hidden;
}

.fan-topbar h1,
.topbar-title p,
.section-heading h2,
.event-main h3,
.prep-card h2 {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.fan-modal {
  max-height: calc(100dvh - 16px);
  overflow: auto;
}

.fan-sidebar {
  max-height: 100dvh;
  overflow-y: auto;
  overscroll-behavior: contain;
}

@media (max-width: 900px) {
  .fan-sidebar {
    height: 100dvh;
    padding-bottom: max(18px, env(safe-area-inset-bottom));
  }

  .sidebar-backdrop.open {
    min-height: 100dvh;
  }

  .fan-topbar {
    padding-left: max(12px, env(safe-area-inset-left));
    padding-right: max(12px, env(safe-area-inset-right));
  }
}

@media (max-width: 640px) {
  .dashboard-content {
    padding: 14px 12px max(56px, env(safe-area-inset-bottom));
  }

  .fan-topbar {
    min-height: 60px;
    gap: 10px;
  }

  .menu-toggle,
  .header-profile {
    flex: 0 0 auto;
  }

  .topbar-title {
    flex: 1 1 auto;
  }

  .fan-topbar h1 {
    font-size: 19px;
  }

  .section-heading {
    align-items: center;
    gap: 10px;
    margin-bottom: 14px;
  }

  .section-heading .text-button {
    flex: 0 0 auto;
    max-width: 42%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .event-card {
    grid-template-columns: 56px minmax(0, 1fr) 30px;
    gap: 10px;
    padding: 11px;
  }

  .event-photo {
    width: 54px;
    height: 54px;
  }

  .event-tools {
    grid-template-columns: 30px;
    align-self: stretch;
    align-content: center;
  }

  .event-action,
  .event-menu {
    width: 30px;
    height: 30px;
  }

  .prep-section {
    margin-inline: 0;
    padding: 18px 12px;
  }

  .fan-modal {
    width: calc(100vw - 16px);
    border-radius: 18px;
  }

  .fan-modal form {
    padding: 18px 14px;
  }

  .modal-heading h2 {
    font-size: 22px;
  }

  .modal-actions {
    grid-template-columns: 1fr;
  }

  .modal-actions > span,
  .modal-actions .danger-link {
    grid-column: auto;
  }
}

@media (max-width: 360px) {
  .fan-topbar h1 {
    font-size: 17px;
  }

  .fan-topbar .kicker {
    font-size: 9px;
    letter-spacing: .1em;
  }

  .event-card {
    grid-template-columns: 48px minmax(0, 1fr) 28px;
    gap: 8px;
    padding: 10px;
  }

  .event-photo {
    width: 46px;
    height: 46px;
  }

  .event-count-main {
    font-size: 20px;
  }
}

/* Fan experience switch */
.fan-nav .experience-switch {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 10px;
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: inherit;
  text-decoration: none;
}

/* Full profile workspace */
.fan-profile-view { width: min(920px, 100%); margin: 0 auto; padding: 8px 0 36px; }
.profile-page-hero { position: relative; display: grid; grid-template-columns: 76px minmax(0,1fr) auto; align-items: center; gap: 18px; padding: 24px; overflow: hidden; border: 1px solid rgba(255,255,255,.09); border-radius: 22px; background: linear-gradient(135deg,#20232a,#17191e 68%); }
.profile-page-hero::after { content: ""; position: absolute; width: 180px; height: 180px; right: -70px; top: -90px; border-radius: 50%; background: rgba(155,92,255,.12); filter: blur(20px); }
.profile-page-avatar { width: 76px; height: 76px; display: grid; place-items: center; border-radius: 22px; color: #fff; background: linear-gradient(135deg,var(--violet),var(--pink)); font-size: 23px; font-weight: 900; }
.profile-page-hero p,.profile-page-hero h2,.profile-page-hero span { margin: 0; }
.profile-page-hero p { color: #aaa3b8; font-size: 10px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.profile-page-hero h2 { margin: 4px 0 5px; color: #fff; font-size: 28px; line-height: 1.05; }
.profile-page-hero > div > span { color: #aaa3b8; font-size: 12px; }
.profile-page-status { z-index: 1; display: inline-flex; align-items: center; gap: 7px; padding: 9px 12px; border-radius: 999px; color: #72e6b1; background: rgba(46,204,137,.09); font-size: 10px; font-weight: 800; }
.profile-page-status svg { width: 15px; height: 15px; }
.profile-page-stats { display: grid; grid-template-columns: repeat(3,1fr); gap: 10px; margin: 12px 0; }
.profile-page-stats article { display: flex; align-items: center; gap: 12px; min-width: 0; padding: 16px; border: 1px solid rgba(255,255,255,.08); border-radius: 16px; background: #17191e; }
.profile-page-stats svg { width: 20px; color: #c6a9ff; }
.profile-page-stats span { display: grid; }
.profile-page-stats strong { color: #fff; font-size: 20px; line-height: 1; }
.profile-page-stats small { margin-top: 5px; color: #aaa3b8; font-size: 10px; }
.profile-page-form { display: grid; gap: 12px; }
.profile-page-card { padding: 20px; border: 1px solid rgba(255,255,255,.08); border-radius: 18px; background: #17191e; }
.profile-page-heading { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; }
.profile-page-heading > span { width: 38px; height: 38px; display: grid; place-items: center; flex: 0 0 38px; border-radius: 11px; color: #c6a9ff; background: rgba(155,92,255,.12); }
.profile-page-heading svg { width: 18px; }
.profile-page-heading h3,.profile-page-heading p { margin: 0; }
.profile-page-heading h3 { color: #fff; font-size: 15px; }
.profile-page-heading p { margin-top: 3px; color: #aaa3b8; font-size: 10px; }
.profile-page-fields { display: grid; grid-template-columns: repeat(2,1fr); gap: 12px; }
.profile-page-fields label { display: grid; gap: 7px; color: #c7c2ce; font-size: 10px; font-weight: 750; }
.profile-page-fields input { width: 100%; height: 46px; padding: 0 14px; border: 1px solid rgba(255,255,255,.09); border-radius: 12px; outline: 0; color: #fff; background: #20232a; }
.profile-page-fields input:focus { border-color: rgba(155,92,255,.65); }
.profile-toggle { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 14px 0; border-top: 1px solid rgba(255,255,255,.07); cursor: pointer; }
.profile-toggle span { display: grid; gap: 4px; }
.profile-toggle strong { color: #f7f3fb; font-size: 12px; }
.profile-toggle small { color: #aaa3b8; font-size: 10px; }
.profile-toggle input { position: absolute; opacity: 0; pointer-events: none; }
.profile-toggle > i { position: relative; width: 42px; height: 24px; flex: 0 0 42px; border-radius: 999px; background: #343740; transition: .2s ease; }
.profile-toggle > i::after { content: ""; position: absolute; top: 3px; left: 3px; width: 18px; height: 18px; border-radius: 50%; background: #fff; transition: .2s ease; }
.profile-toggle input:checked + i { background: linear-gradient(90deg,var(--violet),var(--pink)); }
.profile-toggle input:checked + i::after { transform: translateX(18px); }
.profile-page-save { justify-self: end; min-width: 190px; }
.profile-page-security { margin-top: 12px; }
.profile-page-security .profile-page-heading { margin-bottom: 12px; }
.profile-page-security > a { display: grid; grid-template-columns: 20px minmax(0,1fr) 18px; align-items: center; gap: 12px; padding: 14px; border-radius: 12px; color: #fff; background: #20232a; text-decoration: none; }
.profile-page-security > a + a { margin-top: 8px; }
.profile-page-security > a > svg { width: 18px; color: #c6a9ff; }
.profile-page-security > a span { display: grid; gap: 3px; }
.profile-page-security > a strong { font-size: 12px; }
.profile-page-security > a small { color: #aaa3b8; font-size: 10px; }

@media (max-width: 640px) {
  .fan-profile-view { padding-top: 0; }
  .profile-page-hero { grid-template-columns: 58px minmax(0,1fr); gap: 13px; padding: 18px; border-radius: 18px; }
  .profile-page-avatar { width: 58px; height: 58px; border-radius: 17px; font-size: 18px; }
  .profile-page-hero h2 { font-size: 21px; }
  .profile-page-hero > div > span { display: block; overflow: hidden; max-width: 220px; text-overflow: ellipsis; white-space: nowrap; }
  .profile-page-status { grid-column: 1/-1; justify-self: start; padding: 7px 10px; }
  .profile-page-stats article { justify-content: center; gap: 8px; padding: 13px 7px; }
  .profile-page-stats svg { width: 17px; }
  .profile-page-stats strong { font-size: 17px; }
  .profile-page-card { padding: 17px; border-radius: 16px; }
  .profile-page-fields { grid-template-columns: 1fr; }
  .profile-page-save { width: 100%; justify-self: stretch; }
}

/* Free contextual assistant */
.fan-chat-nudge {
  position: fixed;
  z-index: 89;
  right: 24px;
  bottom: 84px;
  width: min(285px, calc(100vw - 36px));
  padding: 13px 38px 13px 14px;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 15px 15px 4px 15px;
  color: #f5f1f8;
  background: #20232a;
  box-shadow: 0 15px 42px rgba(0,0,0,.38);
  font: inherit;
  font-size: 11px;
  font-weight: 700;
  line-height: 1.4;
  text-align: left;
  cursor: pointer;
  opacity: 0;
  transform: translateY(8px) scale(.98);
  transition: opacity .18s ease, transform .18s ease;
}
.fan-chat-nudge.show { opacity: 1; transform: none; }
.fan-chat-nudge > i,
.fan-chat-nudge > svg { position: absolute; top: 9px; right: 9px; width: 14px; height: 14px; color: #aaa5b0; }
.fan-chat-nudge::after { content: ""; position: absolute; right: 18px; bottom: -6px; width: 12px; height: 12px; border-right: 1px solid rgba(255,255,255,.12); border-bottom: 1px solid rgba(255,255,255,.12); background: #20232a; transform: rotate(45deg); }
.fan-chat-launcher {
  position: fixed;
  z-index: 90;
  right: 24px;
  bottom: 24px;
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 0 17px;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 15px;
  color: #fff;
  background: #17191e;
  box-shadow: 0 14px 38px rgba(0,0,0,.34);
  font: inherit;
  font-size: 12px;
  font-weight: 800;
  cursor: pointer;
}
.fan-chat-launcher svg { width: 19px; color: #d6c1ff; }
.fan-chat-launcher:hover { background: #20232a; transform: translateY(-1px); }
.fan-chat {
  position: fixed;
  z-index: 100;
  right: 24px;
  bottom: 86px;
  width: min(390px, calc(100vw - 32px));
  max-height: min(620px, calc(100vh - 120px));
  display: grid;
  grid-template-rows: auto minmax(180px,1fr) auto auto auto;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 22px;
  background: #17191e;
  box-shadow: 0 28px 80px rgba(0,0,0,.55);
  opacity: 0;
  visibility: hidden;
  transform: translateY(16px) scale(.97);
  transform-origin: bottom right;
  transition: opacity .2s ease, transform .2s ease, visibility .2s;
}
.fan-chat.open { opacity: 1; visibility: visible; transform: none; }
.fan-chat__header { display: flex; align-items: center; justify-content: space-between; padding: 15px 16px; border-bottom: 1px solid rgba(255,255,255,.08); background: #0b0c10; }
.fan-chat__identity { display: flex; align-items: center; gap: 10px; }
.fan-chat__identity > span { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 12px; color: #fff; background: linear-gradient(135deg,var(--violet),var(--pink)); }
.fan-chat__identity > span svg { width: 18px; }
.fan-chat__identity div { display: grid; gap: 3px; }
.fan-chat__identity strong { color: #fff; font-size: 13px; }
.fan-chat__identity small { display: flex; align-items: center; gap: 5px; color: #9994a3; font-size: 9px; }
.fan-chat__identity small i { width: 6px; height: 6px; border-radius: 50%; background: #55d99b; }
.fan-chat__close { width: 34px; height: 34px; display: grid; place-items: center; border: 0; border-radius: 10px; color: #bdb7c7; background: #1d1f25; cursor: pointer; }
.fan-chat__close svg { width: 17px; }
.fan-chat__messages { min-height: 230px; padding: 18px 14px; overflow-y: auto; overscroll-behavior: contain; background: #17191e; }
.fan-chat__message { display: flex; margin-bottom: 10px; }
.fan-chat__message p { max-width: 84%; margin: 0; padding: 11px 13px; border-radius: 14px 14px 14px 4px; color: #e9e5ee; background: #24272e; font-size: 11px; line-height: 1.5; }
.fan-chat__message.user { justify-content: flex-end; }
.fan-chat__message.user p { border-radius: 14px 14px 4px 14px; color: #fff; background: linear-gradient(135deg,#7448c4,#c52d8e); }
.fan-chat__suggestions { display: flex; gap: 7px; padding: 5px 14px 11px; overflow-x: auto; scrollbar-width: none; }
.fan-chat__suggestions::-webkit-scrollbar { display: none; }
.fan-chat__suggestions button { flex: 0 0 auto; padding: 8px 10px; border: 1px solid rgba(198,169,255,.22); border-radius: 999px; color: #d7c9ef; background: transparent; font: inherit; font-size: 9px; font-weight: 700; cursor: pointer; }
.fan-chat__suggestions button:hover { background: rgba(155,92,255,.1); }
.fan-chat__form { display: grid; grid-template-columns: minmax(0,1fr) 42px; gap: 8px; padding: 10px 12px; border-top: 1px solid rgba(255,255,255,.07); }
.fan-chat__form input { min-width: 0; height: 42px; padding: 0 13px; border: 1px solid rgba(255,255,255,.09); border-radius: 12px; outline: 0; color: #fff; background: #20232a; font: inherit; font-size: 11px; }
.fan-chat__form input:focus { border-color: rgba(155,92,255,.58); }
.fan-chat__form button { width: 42px; height: 42px; display: grid; place-items: center; border: 0; border-radius: 12px; color: #fff; background: linear-gradient(135deg,var(--violet),var(--pink)); cursor: pointer; }
.fan-chat__form button svg { width: 17px; }
.fan-chat__note { margin: 0; padding: 0 14px 11px; color: #716d79; font-size: 8px; text-align: center; }

@media (max-width: 640px) {
  .fan-chat-nudge { right: 14px; bottom: 145px; width: min(248px, calc(100vw - 70px)); min-height: 48px; padding: 11px 34px 11px 13px; border-radius: 14px 14px 4px 14px; font-size: 10px; line-height: 1.35; }
  .fan-chat-launcher { right: 14px; bottom: 91px; width: 46px; min-height: 46px; justify-content: center; padding: 0; border-radius: 14px; }
  .fan-chat-launcher span { display: none; }
  .fan-chat { right: 14px; bottom: 145px; width: min(350px, calc(100vw - 28px)); height: min(310px, calc(100dvh - 180px)); grid-template-rows: auto minmax(92px,1fr) auto auto auto; border-radius: 18px; }
  .fan-chat__header { padding: 11px 13px; }
  .fan-chat__identity > span { width: 34px; height: 34px; border-radius: 10px; }
  .fan-chat__close { width: 32px; height: 32px; }
  .fan-chat__messages { min-height: 92px; padding: 13px 11px 8px; }
  .fan-chat__message { margin-bottom: 7px; }
  .fan-chat__message p { padding: 9px 11px; font-size: 10px; }
  .fan-chat__suggestions { padding: 4px 11px 8px; }
  .fan-chat__suggestions button { padding: 7px 9px; font-size: 8px; }
  .fan-chat__form { grid-template-columns: minmax(0,1fr) 38px; padding: 8px 10px; }
  .fan-chat__form input,.fan-chat__form button { height: 38px; }
  .fan-chat__form button { width: 38px; }
  .fan-chat__note { padding-bottom: 7px; font-size: 7px; }
}

/* Inicio: secondary events stay compact; the full cards belong to Eventos. */
.event-card--compact {
  grid-template-columns: 76px minmax(0, 1fr) auto 18px;
  min-height: 82px;
  gap: 11px;
  padding: 0 13px 0 0;
  border-radius: 12px;
  color: var(--text);
  background: #17191e;
  box-shadow: none;
}
.event-card--compact .event-photo {
  width: 76px;
  height: 100%;
  min-height: 82px;
  align-self: stretch;
  border: 0;
  border-radius: 11px 0 0 11px;
  box-shadow: none;
}
.event-card--compact .event-main h3 { font-size: 14px; }
.event-card--compact .event-date-line { margin: 3px 0; color: #b8b2c0; font-size: 9px; opacity: 1; }
.event-card--compact .event-meta { display: flex; align-items: center; gap: 3px; margin: 0; color: #d0cbd5; font-size: 9px; opacity: 1; }
.event-card--compact .event-meta i { width: 12px; height: 12px; }
.event-compact-status { display: grid; justify-items: center; align-content: center; gap: 7px; }
.event-compact-status > span { max-width: 88px; padding: 5px 9px; overflow: hidden; border-radius: 999px; color: var(--pink); background: rgba(255,61,154,.10); font-size: 9px; font-weight: 900; text-overflow: ellipsis; white-space: nowrap; }
.event-compact-status small { display: flex; align-items: center; gap: 5px; color: #d7d1dd; font-size: 9px; }
.event-compact-status small svg { width: 12px; height: 12px; }
.event-compact-arrow { width: 18px; color: #b9b2c2; }

@media (max-width: 640px) {
  .event-card--compact {
    grid-template-columns: 70px minmax(0, 1fr) 58px 16px;
    min-height: 76px;
    gap: 9px;
    padding-right: 10px;
  }
  .event-card--compact .event-photo { width: 70px; min-height: 76px; }
  .event-card--compact .event-main h3 { font-size: 13px; }
  .event-card--compact .event-date-line,
  .event-card--compact .event-meta { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .event-compact-status > span { max-width: 58px; padding-inline: 7px; }
}

.fan-nav .experience-switch:hover {
  color: #fff;
}

/* Next Fest shared application surfaces */
:root { --bg: #2a2a2a; }

html,
body,
.fan-app,
.fan-main,
.dashboard-content {
  background: #2a2a2a !important;
  background-color: #2a2a2a !important;
  background-image: none !important;
}

.aurora { display: none !important; }

/* Same black navigation header used by the promoter panel */
.fan-topbar {
  background: #08090c !important;
  background-color: #08090c !important;
  background-image: none !important;
  border-bottom-color: rgba(255,255,255,.10) !important;
  box-shadow: none !important;
}

.fan-topbar::after {
  content: none !important;
  display: none !important;
}

/* Same dark lead-gray slide menu */
.fan-sidebar,
.fan-sidebar.open {
  background: #17191e !important;
  background-color: #17191e !important;
  background-image: none !important;
  border-right-color: rgba(255,255,255,.09) !important;
}

@media (max-width: 900px) {
  .fan-topbar .menu-toggle {
    border: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
  }
}

/* Keep Inicio cards on one row after the full-card mobile rules above. */
@media (max-width: 640px) {
  .event-card.event-card--compact {
    grid-template-columns: 70px minmax(0, 1fr) 58px 16px;
    grid-template-areas: "cover info status arrow";
    min-height: 76px;
    height: 76px;
    gap: 9px;
    align-items: center;
    padding: 0 10px 0 0;
  }
  .event-card--compact .event-photo {
    grid-area: cover;
    width: 70px;
    height: 76px;
    min-height: 76px;
  }
  .event-card--compact .event-main { grid-area: info; align-self: center; overflow: hidden; }
  .event-card--compact .event-compact-status { grid-area: status; }
  .event-card--compact .event-compact-arrow { grid-area: arrow; align-self: center; justify-self: end; }
}

@media (max-width: 360px) {
  .event-card.event-card--compact {
    grid-template-columns: 64px minmax(0, 1fr) 54px 14px;
    gap: 7px;
    height: 72px;
    min-height: 72px;
  }
  .event-card--compact .event-photo { width: 64px; height: 72px; min-height: 72px; }
}

/* Refined compact cards: inset cover and more breathing room for copy. */
@media (max-width: 640px) {
  .event-card.event-card--compact {
    grid-template-columns: 76px minmax(0, 1fr) 64px 16px;
    min-height: 92px;
    height: 92px;
    gap: 12px;
    padding: 8px 12px 8px 8px;
    border-radius: 15px;
  }
  .event-card--compact .event-photo {
    width: 76px;
    height: 76px;
    min-height: 76px;
    align-self: center;
    border-radius: 14px;
  }
  .event-card--compact .event-main { display: grid; align-content: center; gap: 3px; }
  .event-card--compact .event-main h3 { font-size: 15px; line-height: 1.15; }
  .event-card--compact .event-date-line { margin: 0; font-size: 10px; line-height: 1.35; }
  .event-card--compact .event-meta { margin: 0; font-size: 10px; line-height: 1.35; }
  .event-compact-status { gap: 9px; }
  .event-compact-status > span { max-width: 64px; padding: 6px 8px; font-size: 9px; }
}

@media (max-width: 360px) {
  .event-card.event-card--compact {
    grid-template-columns: 68px minmax(0, 1fr) 56px 14px;
    min-height: 84px;
    height: 84px;
    gap: 8px;
    padding: 8px;
  }
  .event-card--compact .event-photo { width: 68px; height: 68px; min-height: 68px; border-radius: 12px; }
  .event-card--compact .event-main h3 { font-size: 14px; }
  .event-compact-status > span { max-width: 56px; }
}

/* Event details stay as a centered modal on phones. */
@media (max-width: 640px) {
  .fan-modal.event-detail-modal {
    width: min(360px, calc(100vw - 40px));
    height: fit-content !important;
    min-height: 0 !important;
    max-width: 360px;
    max-height: 74dvh;
    margin: auto;
    border: 1px solid rgba(255,255,255,.14);
    border-radius: 20px;
    overflow: hidden;
    background: #17191e;
    box-shadow: 0 28px 80px rgba(0,0,0,.55);
  }
  .event-detail-modal .event-detail-shell {
    height: fit-content !important;
    min-height: 0 !important;
    max-height: 74dvh;
    overflow-y: auto;
  }
  .event-detail-modal .event-detail-cover { min-height: 155px; }
  .event-detail-modal .event-detail-cover__copy { bottom: 13px; }
  .event-detail-modal .event-detail-cover__copy h2 { font-size: 25px; }
  .event-detail-modal .event-detail-content { padding: 12px 12px max(16px, env(safe-area-inset-bottom)); }
  .event-detail-modal .event-detail-content,
  .event-detail-modal .event-detail-actions { min-height: 0 !important; }
}

/* Ticket flow aligned with the current black and lead-gray interface. */
.fan-modal.ticket-upload-modal,
.fan-modal.ticket-access-modal {
  color: var(--text);
  border: 1px solid rgba(255,255,255,.13);
  background: #17191e;
  box-shadow: 0 26px 80px rgba(0,0,0,.52);
}
.ticket-upload-event,
.ticket-upload-drop {
  border-color: rgba(255,255,255,.11);
  background: #1d2026;
}
.ticket-upload-drop:hover {
  border-color: rgba(255,61,154,.34);
  background: #20232a;
}
.ticket-upload-drop__icon { background: rgba(155,92,255,.12); }
.ticket-access-cover::after { background: linear-gradient(transparent, #17191e); }
.ticket-access-content { background: #17191e; }
.ticket-access-open { box-shadow: none; }

@media (max-width: 640px) {
  .fan-modal.ticket-upload-modal,
  .fan-modal.ticket-access-modal {
    width: min(360px, calc(100vw - 40px));
    max-width: 360px;
    height: fit-content;
    max-height: 82dvh;
    margin: auto;
    border-radius: 20px;
  }
  .ticket-upload-modal form { padding: 18px; }
}

/* Embedded route modal. */
.fan-modal.route-modal {
  width: min(430px, calc(100% - 24px));
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.13);
  border-radius: 20px;
  background: #17191e;
  box-shadow: 0 26px 80px rgba(0,0,0,.52);
}
.route-map-wrap { position: relative; height: 250px; overflow: hidden; background: #20232a; }
.route-map-wrap iframe { width: 100%; height: 100%; display: block; border: 0; filter: saturate(.72) contrast(1.03); }
.route-modal-close { position: absolute; z-index: 2; top: 12px; right: 12px; color: #fff; background: rgba(8,9,12,.78); backdrop-filter: blur(8px); }
.route-modal-content { padding: 18px; }
.route-modal-content .kicker,
.route-modal-content h2 { margin: 0; }
.route-modal-content h2 { margin-top: 4px; font-size: 24px; }
.route-modal-address { display: flex; align-items: center; gap: 8px; margin: 13px 0 17px; color: var(--muted); font-size: 11px; }
.route-modal-address svg { width: 16px; color: #cfbaff; }
.route-modal-open { width: 100%; min-height: 46px; }

@media (max-width: 640px) {
  .fan-modal.route-modal { width: min(360px, calc(100vw - 40px)); max-width: 360px; height: fit-content; margin: auto; }
  .route-map-wrap { height: 210px; }
  .route-modal-content { padding: 16px; }
}

/* Compact four-item checklist for the assistant home screen. */
@media (max-width: 640px) {
  .prep-section {
    margin: 28px 0 0;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
  }
  .prep-section .section-heading { margin-bottom: 10px; }
  .prep-section .section-heading .kicker { display: none; }
  .prep-section .section-heading h2 { font-size: 18px; }
  .prep-score { font-size: 10px; }
  .prep-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0;
    padding: 10px 4px 8px;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,.08);
    border-radius: 14px;
    background: #17191e;
  }
  .prep-card {
    min-width: 0;
    min-height: 92px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    gap: 8px;
    padding: 12px 3px 4px;
    border: 0;
    border-right: 1px solid rgba(255,255,255,.06);
    border-radius: 0;
    background: transparent;
    text-align: center;
  }
  .prep-card:last-child { border-right: 0; }
  .prep-card.done { border-color: rgba(255,255,255,.06); background: rgba(255,255,255,.025); }
  .prep-card .prep-icon {
    width: 46px;
    height: 46px;
    flex: 0 0 46px;
    border: 1px solid rgba(255,255,255,.08);
    border-radius: 50%;
    background: #12151a;
  }
  .prep-card .prep-icon svg { width: 22px; height: 22px; }
  .prep-card > span:not(.prep-icon) { width: 100%; margin: 0; }
  .prep-card strong { overflow: hidden; font-size: 9px; line-height: 1.2; text-overflow: ellipsis; white-space: nowrap; }
  .prep-card small { display: none; }
  .prep-card .check { top: 5px; right: 7px; width: 16px; height: 16px; }
}

/* Brand mark identical to the promoter experience */
.fan-sidebar .brand-mark,
.fan-footer-identity .brand-mark {
  width: 46px !important;
  height: 46px !important;
  aspect-ratio: 1 !important;
  display: grid !important;
  place-items: center !important;
  flex: 0 0 46px !important;
  border-radius: 12px !important;
  color: #fff !important;
  background: linear-gradient(135deg, var(--violet), var(--pink)) !important;
  box-shadow: 0 0 25px rgba(155,92,255,.35) !important;
  font-family: "Manrope", system-ui, sans-serif !important;
  font-size: 13px !important;
  font-weight: 900 !important;
}

/* Personalized assistant welcome */
.fan-welcome {
  margin: 1px 0 18px;
  padding: 0;
}

/* Sidebar compartido: mismo componente y medidas que Promotoría. */
.fan-app { grid-template-columns: 246px minmax(0, 1fr) !important; }
.fan-sidebar.sidebar {
  position: sticky; top: 0; z-index: 40; width: auto; height: 100vh;
  display: flex; flex-direction: column; gap: 0; padding: 22px 14px;
  border-right: 1px solid rgba(255,255,255,.09);
  background: #17191e !important; backdrop-filter: none;
}
.fan-sidebar .brand { gap: 11px; padding: 0 8px 26px; margin: 0 !important; }
.fan-sidebar .brand strong { font-size: 18px; }
.fan-sidebar .brand span { margin-top: 2px; font-size: 11px; }
.fan-sidebar .promoter-mode {
  min-height: 40px; margin: 0 0 14px; padding: 0 13px;
  border: 1px solid rgba(255,255,255,.11); border-radius: 12px;
  background: linear-gradient(135deg, rgba(155,92,255,.16), rgba(255,61,154,.10));
  color: #f5edff; font-size: 11px; font-weight: 850; letter-spacing: .02em;
}
.fan-sidebar .nav-list { display: grid; gap: 5px; }
.fan-sidebar .nav-item {
  position: relative; width: 100%; min-height: 44px; display: flex; align-items: center; gap: 12px;
  padding: 0 13px; border: 1px solid transparent; border-radius: 12px;
  color: #bfb6cd; background: transparent; cursor: pointer; text-align: left;
  font-size: 13px; font-weight: 800; transition: 150ms ease;
}
.fan-sidebar .nav-item:hover { color: #fff; background: rgba(255,255,255,.055); }
.fan-sidebar .nav-item.active {
  color: #fff; border-color: rgba(255,61,154,.30);
  background: linear-gradient(135deg, rgba(155,92,255,.22), rgba(255,61,154,.16));
  box-shadow: none;
}
.fan-sidebar .nav-item.active::before {
  content: ""; position: absolute; left: -14px; width: 3px; height: 28px;
  border-radius: 0 3px 3px 0; background: linear-gradient(180deg, var(--violet), var(--pink));
  box-shadow: 0 0 22px rgba(255,61,154,.45);
}
.fan-sidebar .nav-item svg { width: 21px; height: 21px; }
.fan-sidebar .sidebar-footer { margin-top: auto; padding: 12px 5px 0; }
.fan-sidebar .storage-note { border-radius: 16px; }

@media (max-width: 900px) {
  .fan-app { grid-template-columns: 1fr !important; }
  .fan-sidebar.sidebar {
    position: fixed !important; inset: 0 auto 0 0 !important;
    width: min(82vw, 292px) !important; height: 100dvh !important; z-index: 120 !important;
    transform: translateX(-105%) !important; transition: transform .22s ease !important;
    padding: 22px 14px calc(18px + env(safe-area-inset-bottom)) !important;
    border-right: 1px solid rgba(255,255,255,.12) !important;
    box-shadow: 22px 0 55px rgba(0,0,0,.48) !important; overflow-y: auto !important;
  }
  .fan-sidebar.sidebar.open { transform: translateX(0) !important; }
  .drawer-backdrop.sidebar-backdrop {
    display: block !important; position: fixed !important; inset: 0 !important; z-index: 110 !important;
    opacity: 0 !important; visibility: hidden !important; pointer-events: none !important;
    background: rgba(0,0,0,.56) !important; backdrop-filter: blur(5px) !important;
    transition: opacity .2s ease, visibility .2s ease !important;
  }
  .drawer-backdrop.sidebar-backdrop.open {
    opacity: 1 !important; visibility: visible !important; pointer-events: auto !important;
  }
  .fan-sidebar .promoter-mode { min-height: 40px; border-radius: 15px; }
  .fan-sidebar .nav-list { gap: 7px; }
  .fan-sidebar .nav-item { min-height: 46px; padding: 0 12px; border-radius: 14px; font-size: 15px; }
  .fan-sidebar .sidebar-footer { margin-top: 26px; }
}

.fan-welcome p,
.fan-welcome small { display: block; margin: 0; }
.fan-welcome p {
  color: #f7f3fb;
  font-size: 20px;
  line-height: 1.2;
  font-weight: 700;
  letter-spacing: -.025em;
}
.fan-welcome p strong { font-weight: 800; }
.fan-welcome small {
  margin-top: 7px;
  color: #aaa3b8;
  font-size: 11px;
  line-height: 1.45;
}
.fan-welcome__wave {
  display: inline-block;
  margin-left: 2px;
  font-size: .9em;
  transform-origin: 70% 70%;
  animation: fan-welcome-wave 2.4s ease-in-out 1;
}
@keyframes fan-welcome-wave {
  0%, 60%, 100% { transform: rotate(0deg); }
  10%, 30% { transform: rotate(14deg); }
  20%, 40% { transform: rotate(-8deg); }
}

@media (max-width: 760px) {
  .fan-welcome { margin: 1px 0 16px; }
  .fan-welcome p { font-size: 19px; }
  .fan-welcome small { max-width: 270px; font-size: 10px; }
}

/* Keep every assistant event card at the same height. */
.event-card .event-alert {
  min-height: 13px;
  line-height: 13px;
}

.event-card .event-alert[hidden] {
  display: block !important;
  visibility: hidden !important;
}

/* Mobile event covers: a visual section of the card, not a small avatar. */
@media (max-width: 640px) {
  .event-card {
    grid-template-columns: 104px minmax(0, 1fr) 30px;
    min-height: 132px;
    gap: 12px;
    padding: 0 9px 0 0;
  }

  .event-photo {
    width: 104px;
    height: 100%;
    min-height: 132px;
    align-self: stretch;
    border: 0;
    border-radius: 7px 0 0 7px;
    box-shadow: none;
    object-fit: cover;
  }
}

@media (max-width: 360px) {
  .event-card {
    grid-template-columns: 88px minmax(0, 1fr) 28px;
    gap: 9px;
  }

  .event-photo {
    width: 88px;
    height: 100%;
  }
}

/* Official Spotify mark */
.event-action.spotify-action img{display:block;width:20px;height:20px;object-fit:contain}
