/* ================================================================
   UniEvents — Design System & Global Styles (V3 "Premium Noir" Redesign)
   Dark cinematic luxury theme built around the existing maroon /
   rose-gold / cream brand identity. Component structure and class
   names are unchanged from the previous build — only the visual
   language (palette, surfaces, depth, motion) has been rebuilt.
   ================================================================ */

:root {
  /* Brand palette */
  --void: #060302;
  --ink: #050302;
  --ink-light: #17100C;
  --ink-lighter: #241813;
  --cream: #F5EFE0;
  --cream-dim: #C9BEA9;
  --gold: #D9A45C;
  --gold-dark: #B3823E;
  --gold-bright: #F2C888;
  --maroon: #8C1F35;
  --maroon-light: #B22F49;
  --maroon-dark: #4A0F1D;
  --rosegold: #D7A088;
  --slate: #9C8E79;
  --white: #FFFFFF;

  /* Semantic */
  --success: #3FA873;
  --error: #E2604A;

  /* Surfaces */
  --bg: var(--void);
  --surface: #130D0A;
  --surface-raised: #1D140F;
  --surface-sunken: #0A0605;
  --border-soft: rgba(217, 164, 92, 0.14);
  --border-strong: rgba(217, 164, 92, 0.34);

  /* Typography */
  --font-display: "Fraunces", "Georgia", serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  /* Spacing scale */
  --sp-1: 4px;
  --sp-2: 8px;
  --sp-3: 12px;
  --sp-4: 16px;
  --sp-5: 24px;
  --sp-6: 32px;
  --sp-7: 48px;
  --sp-8: 64px;
  --sp-9: 96px;

  /* Radius */
  --r-sm: 8px;
  --r-md: 14px;
  --r-lg: 22px;
  --r-full: 999px;

  /* Shadow */
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.45), 0 1px 1px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 12px 32px -10px rgba(0, 0, 0, 0.6);
  --shadow-lg: 0 30px 70px -18px rgba(0, 0, 0, 0.78);
  --shadow-gold: 0 12px 32px -10px rgba(140, 31, 53, 0.55);
  --glow-gold: 0 0 46px rgba(242, 200, 136, 0.16);

  /* Motion */
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --dur-fast: 160ms;
  --dur: 260ms;
  --dur-slow: 480ms;

  --header-h: 88px;
}

/* ---------------------------------------------------------------
   Reset & base
   --------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body, h1, h2, h3, h4, p, figure, blockquote, dl, dd { margin: 0; }
ul[class], ol[class] { list-style: none; margin: 0; padding: 0; }
img, picture { max-width: 100%; display: block; }
input, button, textarea, select { font: inherit; color: inherit; }
button { cursor: pointer; }
a { color: inherit; text-decoration: none; }

body {
  background: var(--bg);
  color: var(--cream);
  font-family: var(--font-body);
  font-size: 15.5px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
  overflow-x: hidden;
}

h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 600; color: var(--cream); line-height: 1.15; letter-spacing: -0.01em; }

.text-muted { color: var(--slate); }
.mt-32 { margin-top: 18px; }
.accent { color: var(--gold-bright); }

::selection { background: var(--gold-dark); color: var(--ink); }

/* Scrollbar */
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: var(--border-strong); border-radius: var(--r-full); }
::-webkit-scrollbar-thumb:hover { background: var(--gold-dark); }

/* ---------------------------------------------------------------
   Layout helpers
   --------------------------------------------------------------- */
.page-shell {
  max-width: 1180px;
  margin: 0 auto;
  padding: var(--sp-7) var(--sp-5);
}
@media (max-width: 640px) {
  .page-shell { padding: var(--sp-6) var(--sp-4); }
}

main { display: block; min-height: 60vh; padding-bottom: var(--sp-8); }

.flex-between { display: flex; align-items: center; justify-content: space-between; }

/* Reveal-on-scroll */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity var(--dur-slow) var(--ease), transform var(--dur-slow) var(--ease); }
.reveal--visible { opacity: 1; transform: none; }

/* ---------------------------------------------------------------
   Page loader
   --------------------------------------------------------------- */
#page-loader {
  position: fixed; inset: 0; z-index: 9999;
  background: var(--void);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: var(--sp-4);
  transition: opacity var(--dur-slow) var(--ease), visibility var(--dur-slow) var(--ease);
}
#page-loader img { height: 120px; animation: loader-pulse 1.4s ease-in-out infinite; filter: drop-shadow(0 0 24px rgba(242, 200, 136, 0.45)); }
.loader-bar { width: 140px; height: 3px; background: rgba(217, 164, 92, 0.14); border-radius: var(--r-full); overflow: hidden; position: relative; }
.loader-bar::after {
  content: ""; position: absolute; inset: 0; width: 40%; background: linear-gradient(90deg, var(--maroon), var(--gold-bright));
  border-radius: var(--r-full); animation: loader-sweep 1.1s ease-in-out infinite;
}
@keyframes loader-sweep { 0% { left: -40%; } 100% { left: 100%; } }
@keyframes loader-pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.55; } }
.loader--hidden { opacity: 0; visibility: hidden; pointer-events: none; }

/* ---------------------------------------------------------------
   Ambient background — cinematic dark mesh with warm glows
   --------------------------------------------------------------- */
#bg-layer { position: fixed; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; background: var(--void); }
#bg-mesh {
  position: absolute; inset: -10%;
  background:
    radial-gradient(36% 30% at 14% 6%, rgba(140, 31, 53, 0.30), transparent 60%),
    radial-gradient(28% 28% at 90% 2%, rgba(242, 200, 136, 0.14), transparent 60%),
    radial-gradient(46% 40% at 50% 105%, rgba(140, 31, 53, 0.20), transparent 60%),
    radial-gradient(30% 26% at 80% 60%, rgba(217, 164, 92, 0.08), transparent 60%);
  filter: blur(14px);
}
#bg-fireworks { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0.7; mix-blend-mode: screen; }
#bg-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0.04; }

/* ---------------------------------------------------------------
   Buttons
   --------------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: var(--sp-2);
  height: 46px; padding: 0 22px; border-radius: var(--r-full);
  font-weight: 600; font-size: 14px; border: 1px solid transparent;
  transition: transform var(--dur-fast) var(--ease), box-shadow var(--dur) var(--ease), background var(--dur) var(--ease), color var(--dur) var(--ease), border-color var(--dur) var(--ease);
  white-space: nowrap;
}
.btn:active { transform: scale(0.97); }
.btn--gold { background: linear-gradient(135deg, var(--maroon-light), var(--maroon-dark)); color: var(--cream); box-shadow: var(--shadow-gold); border-color: rgba(178, 47, 73, 0.5); }
.btn--gold:hover { filter: brightness(1.12); box-shadow: 0 16px 38px -8px rgba(140, 31, 53, 0.65); }
.btn--ink { background: var(--surface-raised); color: var(--cream); border-color: var(--border-soft); }
.btn--ink:hover { background: var(--ink-lighter); border-color: var(--border-strong); }
.btn--ghost { background: transparent; color: var(--cream); border-color: var(--border-strong); }
.btn--ghost:hover { background: rgba(217, 164, 92, 0.09); border-color: var(--gold-bright); color: var(--gold-bright); }
.btn--outline { background: transparent; color: var(--cream); border-color: var(--border-strong); }
.btn--outline:hover { border-color: var(--gold-bright); color: var(--gold-bright); }
.btn--danger { background: rgba(226, 96, 74, 0.12); color: var(--error); border-color: rgba(226, 96, 74, 0.35); }
.btn--danger:hover { background: var(--error); color: var(--white); }
.btn--block { width: 100%; }
.btn--sm { height: 36px; padding: 0 16px; font-size: 12.5px; }
.btn:disabled { opacity: 0.5; cursor: not-allowed; transform: none; }

/* ---------------------------------------------------------------
   Top navigation
   --------------------------------------------------------------- */
.topbar {
  position: sticky; top: 0; z-index: 500;
  background: rgba(6, 3, 2, 0.66);
  backdrop-filter: blur(16px) saturate(140%);
  border-bottom: 1px solid transparent;
  transition: background var(--dur) var(--ease), border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.topbar--scrolled { background: rgba(6, 3, 2, 0.9); border-color: var(--border-soft); box-shadow: var(--shadow-sm); }
.topbar__inner {
  max-width: 1280px; margin: 0 auto; height: var(--header-h);
  display: flex; align-items: center; justify-content: space-between; gap: var(--sp-5);
  padding: 0 var(--sp-5);
}
.topbar__brand { display: flex; align-items: center; gap: var(--sp-4); min-width: 0; }
.brand-mark { display: flex; align-items: center; flex-shrink: 0; }
.brand-mark__word { height: 42px; width: auto; filter: drop-shadow(0 0 12px rgba(242, 200, 136, 0.25)); }
.city-select {
  height: 38px; padding: 0 14px; border-radius: var(--r-full); border: 1px solid var(--border-soft);
  background: var(--surface); color: var(--cream); font-size: 13px; width: 168px; min-width: 0;
  transition: border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.city-select::placeholder { color: var(--slate); }
.city-select:focus { outline: none; border-color: var(--gold-dark); box-shadow: 0 0 0 3px rgba(217, 164, 92, 0.16); }

.topbar__links { display: flex; align-items: center; gap: var(--sp-5); }
.nav-link { position: relative; font-size: 13.5px; font-weight: 600; color: var(--cream-dim); padding: 6px 2px; letter-spacing: 0.01em; }
.nav-link::after {
  content: ""; position: absolute; left: 0; right: 100%; bottom: -3px; height: 2px; background: var(--gold-bright);
  border-radius: var(--r-full); transition: right var(--dur) var(--ease);
}
.nav-link:hover::after, .nav-link--active::after { right: 0; }
.nav-link:hover, .nav-link--active { color: var(--gold-bright); }

.topbar__actions { display: flex; align-items: center; gap: var(--sp-3); }
.session-cluster { display: flex; align-items: center; gap: 10px; }
.nav-toggle {
  display: none; width: 40px; height: 40px; border-radius: var(--r-md); border: 1px solid var(--border-soft);
  background: var(--surface); color: var(--cream); font-size: 17px; align-items: center; justify-content: center;
}

.profile-pill {
  display: flex; align-items: center; gap: 9px; padding: 6px 8px 6px 6px; border-radius: var(--r-full);
  background: var(--surface); border: 1px solid var(--border-soft);
}
.profile-pill__avatar {
  width: 30px; height: 30px; border-radius: 50%; display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, var(--maroon-light), var(--maroon-dark)); color: var(--gold-bright); font-size: 11.5px; font-weight: 700;
}
.profile-pill__text { display: flex; flex-direction: column; line-height: 1.2; }
.profile-pill__name { font-size: 12.5px; font-weight: 700; color: var(--cream); }
.profile-pill__college { font-size: 10.5px; color: var(--slate); max-width: 120px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.profile-pill__logout {
  width: 26px; height: 26px; border-radius: 50%; background: var(--surface-sunken); border: 1px solid var(--border-soft);
  font-size: 13px; display: flex; align-items: center; justify-content: center; color: var(--gold-bright);
}
.profile-pill__logout:hover { background: var(--maroon); color: var(--cream); }

.mobile-nav {
  display: none; flex-direction: column; gap: 2px; padding: 0 var(--sp-5);
  background: var(--surface); border-bottom: 1px solid transparent;
  max-height: 0; overflow: hidden;
  transition: max-height var(--dur) var(--ease), padding var(--dur) var(--ease), border-color var(--dur) var(--ease);
}
.mobile-nav a { padding: 12px 4px; font-weight: 600; font-size: 14.5px; border-bottom: 1px solid var(--border-soft); color: var(--cream-dim); }
.mobile-nav a:hover { color: var(--gold-bright); }
.mobile-nav--open { max-height: 480px; padding: var(--sp-3) var(--sp-5) var(--sp-5); border-bottom-color: var(--border-soft); }

@media (max-width: 860px) {
  .topbar__links { display: none; }
  .nav-toggle { display: flex; }
  .city-select { display: none; }
  .mobile-nav { display: flex; }
  .session-cluster .btn--ghost { display: none; }
}
@media (max-width: 520px) {
  .topbar__inner { padding: 0 var(--sp-4); }
  .brand-mark__word { height: 28px; }
}
@media (max-width: 640px) {
  body { padding-bottom: 78px; } /* clears the fixed mobile bottom tab bar */
}

/* back to top */
#back-to-top {
  position: fixed; right: 22px; bottom: 22px; width: 44px; height: 44px; border-radius: 50%;
  background: var(--surface-raised); color: var(--gold-bright); border: 1px solid var(--border-soft); font-size: 17px; z-index: 400;
  opacity: 0; visibility: hidden; transform: translateY(8px);
  transition: opacity var(--dur) var(--ease), transform var(--dur) var(--ease), visibility var(--dur) var(--ease);
  box-shadow: var(--shadow-md);
}
#back-to-top.visible { opacity: 1; visibility: visible; transform: none; }
@media (max-width: 640px) { #back-to-top { bottom: 90px; } }

/* ---------------------------------------------------------------
   Mobile bottom tab bar
   --------------------------------------------------------------- */
.bottom-tabbar {
  display: none;
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 480;
  align-items: center; justify-content: space-around;
  background: rgba(10, 6, 5, 0.92); backdrop-filter: blur(16px) saturate(140%);
  border-top: 1px solid var(--border-soft);
  padding: 8px 6px calc(8px + env(safe-area-inset-bottom, 0px));
}
@media (max-width: 640px) { .bottom-tabbar { display: flex; } }
.bottom-tabbar__item {
  display: flex; flex-direction: column; align-items: center; gap: 3px; flex: 1;
  font-size: 10px; font-weight: 600; color: var(--slate); padding: 4px 2px; border: none; background: transparent;
}
.bottom-tabbar__item svg { width: 20px; height: 20px; stroke: currentColor; fill: none; }
.bottom-tabbar__item--active { color: var(--gold-bright); }
.bottom-tabbar__center {
  width: 48px; height: 48px; border-radius: 50%; display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, var(--maroon-light), var(--maroon-dark)); color: var(--cream);
  margin-top: -26px; box-shadow: var(--shadow-gold); border: 3px solid var(--void); font-size: 22px; flex: none;
}
.bottom-tabbar__center-label { font-size: 10px; font-weight: 600; color: var(--slate); margin-top: 2px; }

/* ---------------------------------------------------------------
   Hero
   --------------------------------------------------------------- */
.hero {
  position: relative; max-width: 1180px; margin: 0 auto; padding: var(--sp-9) var(--sp-5) var(--sp-7);
  overflow: hidden; display: grid; grid-template-columns: 1.1fr 0.9fr; align-items: center; gap: var(--sp-7);
}
.hero__watermark { position: absolute; right: -60px; top: -40px; width: 420px; opacity: 0.05; pointer-events: none; }
.hero__content { position: relative; z-index: 1; }
.hero__badge {
  display: inline-flex; align-items: center; gap: 9px; padding: 8px 16px 8px 8px; border-radius: var(--r-full);
  background: var(--surface); border: 1px solid var(--border-soft); box-shadow: var(--shadow-sm);
  font-size: 12.5px; font-weight: 700; color: var(--gold-bright); margin-bottom: var(--sp-5);
}
.hero__badge img { height: 34px; }
.hero__wordmark { height: clamp(58px, 8vw, 108px); width: auto; filter: drop-shadow(0 0 30px rgba(242, 200, 136, 0.18)); }
.hero__title { font-size: clamp(32px, 5.4vw, 58px); max-width: 820px; }
.hero__subtitle {
  font-family: var(--font-display); font-style: italic; font-weight: 500;
  font-size: clamp(17px, 2.2vw, 22px); color: var(--cream-dim); margin-top: 10px;
}
.hero__desc { font-size: 15.5px; color: var(--slate); max-width: 480px; margin-top: var(--sp-4); line-height: 1.7; }
.hero__cta-row { display: flex; gap: var(--sp-3); margin-top: var(--sp-6); flex-wrap: wrap; }
.hero__stats { display: flex; gap: var(--sp-7); margin-top: var(--sp-7); flex-wrap: wrap; }
.hero__stat-num { font-family: var(--font-display); font-size: 32px; font-weight: 600; color: var(--gold-bright); }
.hero__stat-label { font-size: 12.5px; color: var(--slate); margin-top: 2px; }
.hero__tagline { font-family: var(--font-display); font-style: italic; color: var(--cream-dim); margin-top: var(--sp-6); font-size: 15px; }
.hero__eyebrow {
  display: inline-block; font-size: 11.5px; font-weight: 700; letter-spacing: 0.09em; text-transform: uppercase;
  color: var(--gold-bright); background: rgba(217, 164, 92, 0.12); padding: 6px 14px; border-radius: var(--r-full);
  border: 1px solid var(--border-soft);
}

.hero__art { position: relative; display: flex; align-items: center; justify-content: center; z-index: 1; }
.hero__art::before {
  content: ""; position: absolute; width: 70%; aspect-ratio: 1; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(140, 31, 53, 0.35), rgba(242, 200, 136, 0.10) 60%, transparent 75%);
  filter: blur(28px); z-index: -1;
}
.hero__art img { width: min(400px, 82%); animation: hero-float 6.5s ease-in-out infinite; filter: drop-shadow(0 24px 50px rgba(0, 0, 0, 0.55)); }
.hero__art-spark { position: absolute; color: var(--gold-bright); opacity: 0.7; animation: hero-twinkle 3.2s ease-in-out infinite; }
@keyframes hero-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-16px); } }
@keyframes hero-twinkle { 0%, 100% { opacity: 0.25; transform: scale(0.85); } 50% { opacity: 0.85; transform: scale(1.05); } }

@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; text-align: center; padding-top: var(--sp-8); }
  .hero__desc { margin-left: auto; margin-right: auto; }
  .hero__cta-row { justify-content: center; }
  .hero__stats { justify-content: center; }
  .hero__art { order: -1; margin-bottom: var(--sp-4); }
  .hero__art img { width: min(260px, 60%); }
}

/* ---------------------------------------------------------------
   Stats bar — wide rounded glass container below the hero
   --------------------------------------------------------------- */
.stats-bar {
  max-width: 1180px; margin: 0 auto; padding: 22px clamp(20px, 4vw, 44px);
  display: flex; align-items: center; justify-content: space-around; flex-wrap: wrap; gap: var(--sp-6);
  background: linear-gradient(135deg, rgba(19, 13, 10, 0.92), rgba(8, 5, 4, 0.92));
  border: 1px solid var(--border-soft); border-radius: var(--r-lg); box-shadow: var(--shadow-md);
}
.stats-bar__item { display: flex; align-items: center; gap: 14px; }
.stats-bar__icon {
  width: 46px; height: 46px; border-radius: 50%; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  background: rgba(217, 164, 92, 0.10); border: 1px solid var(--border-soft); color: var(--gold-bright);
}
.stats-bar__icon svg { width: 20px; height: 20px; stroke: currentColor; fill: none; }
.stats-bar__num { font-family: var(--font-display); font-size: 25px; font-weight: 600; color: var(--cream); }
.stats-bar__label { font-size: 11.5px; color: var(--slate); margin-top: 1px; }
.stats-bar__sep { width: 1px; height: 34px; background: var(--border-soft); }
@media (max-width: 640px) { .stats-bar__sep { display: none; } .stats-bar { justify-content: center; } }

/* ---------------------------------------------------------------
   Filter bar
   --------------------------------------------------------------- */
.filter-sticky-wrap { position: sticky; top: var(--header-h); z-index: 60; padding: var(--sp-4) 0 var(--sp-5); }
.filter-bar {
  display: flex; gap: var(--sp-3); background: var(--surface); border: 1px solid var(--border-soft);
  border-radius: var(--r-lg); padding: var(--sp-2); box-shadow: var(--shadow-sm);
}
.filter-bar input[type="search"] {
  flex: 1; border: none; background: transparent; color: var(--cream); padding: 12px 18px; font-size: 14.5px; border-radius: var(--r-md);
}
.filter-bar input[type="search"]::placeholder { color: var(--slate); }
.filter-bar input[type="search"]:focus { outline: none; background: var(--surface-sunken); }
.filter-bar__sort { border: 1px solid var(--border-soft); border-radius: var(--r-md); padding: 0 14px; background: var(--surface-sunken); color: var(--cream); font-size: 13px; font-weight: 600; }

.filter-row { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin-top: var(--sp-3); }
.filter-row__label { font-size: 11.5px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; color: var(--slate); margin-right: 4px; }
.chip {
  padding: 8px 16px; border-radius: var(--r-full); border: 1px solid var(--border-soft); background: var(--surface);
  font-size: 13px; font-weight: 600; color: var(--cream-dim); transition: all var(--dur-fast) var(--ease);
}
.chip:hover { border-color: var(--gold-dark); color: var(--gold-bright); }
.chip--active { background: var(--maroon); color: var(--cream); border-color: var(--maroon); }
.chip--scope-inter.chip--active { background: var(--maroon); border-color: var(--maroon); }
.chip--scope-intra.chip--active { background: var(--gold-dark); border-color: var(--gold-dark); color: var(--ink); }

.filter-results-bar { display: flex; align-items: center; justify-content: space-between; margin-top: var(--sp-4); font-size: 13px; color: var(--slate); flex-wrap: wrap; gap: 8px; }
.filter-clear { color: var(--gold-bright); font-weight: 700; font-size: 12.5px; text-decoration: underline; text-underline-offset: 3px; }

.scope-badge { font-size: 10.5px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; padding: 4px 10px; border-radius: var(--r-full); }
.scope-badge--Intercollege { background: rgba(140, 31, 53, 0.22); color: var(--rosegold); }
.scope-badge--Intracollege { background: rgba(217, 164, 92, 0.18); color: var(--gold-bright); }

/* ---------------------------------------------------------------
   Section heads (shared: homepage sections + About, etc.)
   --------------------------------------------------------------- */
.section-head { display: flex; align-items: baseline; justify-content: space-between; margin-top: var(--sp-8); margin-bottom: var(--sp-5); flex-wrap: wrap; gap: 8px; }
.section-head h2 { font-size: 26px; }
.section-head__sub { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.07em; color: var(--gold-dark); }
.section-head__desc { font-size: 13.5px; color: var(--slate); margin-top: 4px; }
.section-head--center { flex-direction: column; align-items: center; text-align: center; }

/* ---------------------------------------------------------------
   Ticket / event cards
   --------------------------------------------------------------- */
.ticket-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: var(--sp-5); }
.ticket {
  background: linear-gradient(180deg, var(--surface), var(--surface-sunken));
  border: 1px solid var(--border-soft); border-radius: var(--r-lg); overflow: hidden;
  display: flex; flex-direction: column; box-shadow: var(--shadow-sm);
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease), border-color var(--dur) var(--ease);
}
.ticket:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: var(--border-strong); }
.ticket__cover-wrap { position: relative; aspect-ratio: 16/10; overflow: hidden; background: var(--surface-sunken); }
.ticket__cover { width: 100%; height: 100%; object-fit: cover; transition: transform var(--dur-slow) var(--ease); }
.ticket:hover .ticket__cover { transform: scale(1.06); }
.ticket__cover-fade { position: absolute; inset: 0; background: linear-gradient(180deg, transparent 40%, rgba(6, 3, 2, 0.88) 100%); }
.ticket__countdown {
  position: absolute; left: 12px; bottom: 12px; background: rgba(6, 3, 2, 0.6); color: var(--gold-bright); backdrop-filter: blur(4px);
  font-size: 11px; font-weight: 700; padding: 5px 12px; border-radius: var(--r-full); border: 1px solid var(--border-soft);
}
.ticket__bookmark {
  position: absolute; top: 12px; right: 12px; width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--border-soft);
  background: rgba(6, 3, 2, 0.55); backdrop-filter: blur(4px); font-size: 16px; color: var(--gold-bright);
  display: flex; align-items: center; justify-content: center; transition: transform var(--dur-fast) var(--ease), background var(--dur) var(--ease);
}
.ticket__bookmark:hover { transform: scale(1.08); }
.ticket__bookmark--active { background: var(--maroon); color: var(--gold-bright); border-color: var(--maroon); }

.ticket__main { display: flex; flex-direction: column; flex: 1; }
.ticket__body { padding: var(--sp-4) var(--sp-4) 0; cursor: pointer; flex: 1; }
.ticket__category-row { display: flex; align-items: center; gap: 8px; }
.ticket__category { font-size: 10.5px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; color: var(--gold-bright); }
.ticket__title-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 8px; }
.ticket__title { font-size: 17.5px; line-height: 1.3; }
.ticket__arrow {
  flex-shrink: 0; width: 32px; height: 32px; border-radius: 50%; border: 1px solid var(--border-soft);
  background: var(--surface-sunken); color: var(--gold-bright); font-size: 14px;
  display: flex; align-items: center; justify-content: center; transition: background var(--dur) var(--ease), transform var(--dur) var(--ease);
}
.ticket:hover .ticket__arrow { background: var(--maroon); color: var(--cream); transform: rotate(-45deg); }
.ticket__institution { font-size: 12.5px; color: var(--slate); margin-top: 4px; font-weight: 600; }
.ticket__desc { font-size: 13px; color: var(--cream-dim); margin-top: 10px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; line-height: 1.55; }
.ticket__tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }
.ticket__tag { font-size: 10.5px; font-weight: 600; background: var(--surface-sunken); border: 1px solid var(--border-soft); color: var(--cream-dim); padding: 4px 10px; border-radius: var(--r-full); }
.ticket__meta { display: flex; gap: 14px; font-size: 12px; color: var(--slate); margin-top: 14px; flex-wrap: wrap; }
.ticket__seats-bar { height: 4px; background: var(--surface-sunken); border-radius: var(--r-full); margin-top: 14px; overflow: hidden; }
.ticket__seats-fill { height: 100%; background: linear-gradient(90deg, var(--gold-dark), var(--gold-bright)); border-radius: var(--r-full); }
.ticket__seats-fill--low { background: linear-gradient(90deg, var(--error), #E0725A); }

.ticket__stub {
  margin-top: var(--sp-4); padding: var(--sp-4); border-top: 1px dashed var(--border-strong);
  display: flex; align-items: center; justify-content: space-between; gap: var(--sp-3);
  background: var(--surface-sunken);
}
.ticket__stub-price { font-family: var(--font-display); font-size: 18px; font-weight: 600; color: var(--cream); }
.ticket__stub-seats { font-size: 11px; color: var(--slate); margin-top: 2px; }
.ticket__stub-btn { flex-shrink: 0; }

.ticket--skeleton { pointer-events: none; }
.skeleton, .sk-line {
  background: linear-gradient(90deg, var(--surface-sunken) 25%, var(--ink-lighter) 37%, var(--surface-sunken) 63%);
  background-size: 400% 100%; animation: shimmer 1.4s ease infinite; border-radius: var(--r-sm);
}
.ticket__cover.skeleton { border-radius: 0; aspect-ratio: 16/10; }
.sk-line { height: 12px; margin-top: 10px; }
@keyframes shimmer { 0% { background-position: 100% 50%; } 100% { background-position: 0 50%; } }

/* ---------------------------------------------------------------
   Feature / benefit strip (icon row with separators)
   --------------------------------------------------------------- */
.feature-strip {
  display: grid; grid-template-columns: repeat(4, 1fr);
  background: var(--surface); border: 1px solid var(--border-soft); border-radius: var(--r-lg);
  overflow: hidden; margin-top: var(--sp-5);
}
.feature-strip__item { padding: var(--sp-6) var(--sp-5); text-align: center; border-left: 1px solid var(--border-soft); }
.feature-strip__item:first-child { border-left: none; }
.feature-strip__icon {
  width: 52px; height: 52px; border-radius: 50%; margin: 0 auto var(--sp-3);
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, rgba(140, 31, 53, 0.25), rgba(217, 164, 92, 0.16));
  border: 1px solid var(--border-soft); color: var(--gold-bright); font-size: 20px;
}
.feature-strip__icon svg { width: 22px; height: 22px; stroke: currentColor; fill: none; }
.feature-strip__title { font-weight: 700; font-size: 15px; color: var(--cream); }
.feature-strip__desc { font-size: 12.5px; color: var(--slate); margin-top: 6px; line-height: 1.55; }
@media (max-width: 860px) { .feature-strip { grid-template-columns: 1fr 1fr; } .feature-strip__item:nth-child(3) { border-left: none; } }
@media (max-width: 520px) { .feature-strip { grid-template-columns: 1fr; } .feature-strip__item { border-left: none; border-top: 1px solid var(--border-soft); } .feature-strip__item:first-child { border-top: none; } }

/* ---------------------------------------------------------------
   Value / "Why choose" grid (About page + homepage reuse)
   --------------------------------------------------------------- */
.about-hero { text-align: left; max-width: 900px; }

.value-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: var(--sp-5); }
.value-card { background: var(--surface); border: 1px solid var(--border-soft); border-radius: var(--r-lg); padding: var(--sp-5); text-align: center; transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease), border-color var(--dur) var(--ease); }
.value-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--border-strong); }
.value-card__glyph {
  width: 54px; height: 54px; border-radius: 50%; margin: 0 auto var(--sp-3);
  display: flex; align-items: center; justify-content: center; font-size: 24px;
  background: rgba(217, 164, 92, 0.10); border: 1px solid var(--border-soft); color: var(--gold-bright);
}
.value-card__glyph svg { width: 24px; height: 24px; stroke: currentColor; fill: none; }
.value-card__title { font-weight: 700; font-size: 15.5px; margin-bottom: 6px; color: var(--cream); }
.value-card__desc { font-size: 13px; color: var(--slate); line-height: 1.6; }

.timeline { display: flex; flex-direction: column; gap: 0; border-left: 2px solid var(--border-strong); margin-left: 8px; }
.timeline__item { position: relative; padding: 0 0 var(--sp-6) var(--sp-5); }
.timeline__item::before { content: ""; position: absolute; left: -7px; top: 4px; width: 12px; height: 12px; border-radius: 50%; background: var(--gold-dark); border: 3px solid var(--void); }
.timeline__phase { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; color: var(--rosegold); }
.timeline__title { font-size: 16.5px; margin-top: 4px; }
.timeline__desc { font-size: 13px; color: var(--slate); margin-top: 6px; max-width: 520px; line-height: 1.6; }

.creator-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: var(--sp-5); }
.creator-card { background: var(--surface); border: 1px solid var(--border-soft); border-radius: var(--r-lg); padding: var(--sp-5); text-align: center; transition: transform var(--dur) var(--ease); }
.creator-card:hover { transform: translateY(-4px); }
.creator-card__avatar {
  width: 58px; height: 58px; border-radius: 50%; margin: 0 auto var(--sp-3); display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, var(--maroon-light), var(--maroon-dark)); color: var(--gold-bright); font-weight: 800; font-size: 16px;
}
.creator-card__name { font-weight: 700; font-size: 15px; color: var(--cream); }
.creator-card__role { font-size: 12.5px; color: var(--gold-bright); margin-top: 3px; font-weight: 600; }
.creator-card__stack { font-size: 11.5px; color: var(--slate); margin-top: 8px; }
.creator-card__links { margin-top: 10px; }
.creator-card__links a { font-size: 12px; font-weight: 700; color: var(--gold-dark); }

/* ---------------------------------------------------------------
   404
   --------------------------------------------------------------- */
.error-page { text-align: center; padding-top: var(--sp-9); max-width: 560px; }
.error-page__code { font-family: var(--font-display); font-size: 96px; font-weight: 700; color: var(--maroon-light); line-height: 1; }
.error-page__title { font-size: 24px; margin-top: var(--sp-3); }
.error-page__desc { color: var(--slate); margin-top: var(--sp-3); font-size: 14px; line-height: 1.6; }
.error-page__actions { display: flex; gap: 12px; justify-content: center; margin-top: var(--sp-6); flex-wrap: wrap; }

/* ---------------------------------------------------------------
   Stepper (Conduct Event)
   --------------------------------------------------------------- */
.stepper { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.stepper__dot {
  width: 30px; height: 30px; border-radius: 50%; background: var(--surface-sunken); border: 1.5px solid var(--border-strong);
  display: flex; align-items: center; justify-content: center; font-size: 12.5px; font-weight: 800; color: var(--slate); flex-shrink: 0;
}
.stepper__dot--active { background: var(--maroon); border-color: var(--maroon); color: var(--gold-bright); }
.stepper__label { font-size: 12.5px; font-weight: 700; color: var(--cream-dim); }
.stepper__line { width: 40px; height: 2px; background: var(--border-strong); }
@media (max-width: 640px) { .stepper__line { width: 18px; } }

.proposal-card {
  background: var(--surface); border: 1px solid var(--border-soft); border-radius: var(--r-lg); padding: var(--sp-5);
  margin-bottom: var(--sp-4);
}
.proposal-card__top { display: flex; align-items: center; justify-content: space-between; gap: var(--sp-3); flex-wrap: wrap; }
.proposal-card__token-row { display: flex; align-items: center; gap: 10px; margin-top: var(--sp-4); flex-wrap: wrap; background: var(--surface-sunken); padding: 12px 14px; border-radius: var(--r-md); }
.proposal-card__token-row code { font-size: 11.5px; word-break: break-all; flex: 1; min-width: 160px; color: var(--gold-bright); }

.status-badge { font-size: 10.5px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; padding: 4px 10px; border-radius: var(--r-full); }
.status-badge--pending { background: rgba(217, 164, 92, 0.18); color: var(--gold-bright); }
.status-badge--approved { background: rgba(63, 168, 115, 0.16); color: var(--success); }
.status-badge--rejected { background: rgba(226, 96, 74, 0.16); color: var(--error); }

/* ---------------------------------------------------------------
   Dashboard
   --------------------------------------------------------------- */
.stat-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: var(--sp-4); }
.stat-card { background: var(--surface); border: 1px solid var(--border-soft); border-radius: var(--r-lg); padding: var(--sp-5); }
.stat-card__num { font-family: var(--font-display); font-size: 30px; font-weight: 600; color: var(--gold-bright); }
.stat-card__label { font-size: 12px; color: var(--slate); margin-top: 4px; }

.tabbar { display: flex; gap: 6px; background: var(--surface-sunken); padding: 5px; border-radius: var(--r-full); width: fit-content; max-width: 100%; overflow-x: auto; }
.tabbar__btn { padding: 11px 20px; border-radius: var(--r-full); font-size: 13px; font-weight: 700; color: var(--cream-dim); background: transparent; border: none; white-space: nowrap; }
.tabbar__btn--active { background: var(--maroon); color: var(--cream); }
.tab-panel { display: none; margin-top: var(--sp-5); }
.tab-panel--active { display: block; }

.queue-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--sp-4); align-items: start; }
@media (max-width: 980px) { .queue-grid { grid-template-columns: 1fr; } }
.queue { background: var(--surface); border: 1px solid var(--border-soft); border-radius: var(--r-lg); overflow: hidden; }
.queue__head { display: flex; align-items: center; justify-content: space-between; padding: 14px 18px; font-weight: 700; font-size: 13.5px; color: var(--cream); }
.queue__head--pending { background: var(--gold-dark); color: var(--ink); }
.queue__head--approved { background: var(--success); color: var(--ink); }
.queue__head--rejected { background: var(--ink-lighter); }
.queue__count { background: rgba(255,255,255,0.2); padding: 2px 10px; border-radius: var(--r-full); font-size: 11.5px; }
.queue__body { padding: var(--sp-3); display: flex; flex-direction: column; gap: var(--sp-3); max-height: 560px; overflow-y: auto; }

.app-card { background: var(--surface-sunken); border: 1px solid var(--border-soft); border-radius: var(--r-md); padding: 14px; }
.app-card__title { font-weight: 700; font-size: 14px; display: flex; align-items: center; flex-wrap: wrap; gap: 6px; color: var(--cream); }
.app-card__meta { font-size: 12px; color: var(--slate); margin-top: 6px; }
.app-card__budget { font-size: 12.5px; font-weight: 700; color: var(--gold-bright); margin-top: 8px; }
.app-card__actions { display: flex; gap: 8px; margin-top: 12px; flex-wrap: wrap; }
.app-card__token { display: flex; align-items: center; gap: 8px; margin-top: 10px; background: var(--surface); border-radius: var(--r-sm); padding: 8px 10px; font-size: 11px; }
.app-card__token span { flex: 1; word-break: break-all; font-family: monospace; color: var(--gold-bright); }

.inventory-row {
  display: flex; align-items: center; justify-content: space-between; gap: var(--sp-3); flex-wrap: wrap;
  background: var(--surface); border: 1px solid var(--border-soft); border-radius: var(--r-md); padding: 16px 18px; margin-bottom: 10px;
}
.status-tag { font-size: 10.5px; font-weight: 700; text-transform: uppercase; padding: 5px 12px; border-radius: var(--r-full); }
.status-tag--active { background: rgba(63, 168, 115, 0.16); color: var(--success); }
.status-tag--extended { background: rgba(217, 164, 92, 0.18); color: var(--gold-bright); }
.status-tag--pulled { background: rgba(156, 142, 121, 0.16); color: var(--slate); }

/* ---------------------------------------------------------------
   Achievements locker
   --------------------------------------------------------------- */
.locker-stats { display: flex; gap: var(--sp-6); margin-top: var(--sp-5); flex-wrap: wrap; }
.locker-stat { font-size: 12px; color: var(--slate); }
.locker-stat strong { display: block; font-family: var(--font-display); font-size: 24px; color: var(--gold-bright); font-weight: 600; }

.dropzone {
  border: 2px dashed var(--border-strong); border-radius: var(--r-lg); padding: var(--sp-7) var(--sp-5); text-align: center;
  cursor: pointer; transition: border-color var(--dur) var(--ease), background var(--dur) var(--ease);
}
.dropzone:hover, .dropzone--drag { border-color: var(--gold-dark); background: var(--surface); }
.dropzone__glyph { font-size: 30px; margin-bottom: var(--sp-2); }
.dropzone p { font-size: 13.5px; color: var(--slate); }

.locker-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: var(--sp-4); margin-top: var(--sp-5); }
.achievement-card { background: var(--surface); border: 1px solid var(--border-soft); border-radius: var(--r-lg); overflow: hidden; transition: transform var(--dur) var(--ease); }
.achievement-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.achievement-card__thumb { width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.achievement-card__body { padding: 14px 16px; }
.achievement-card__title { font-weight: 700; font-size: 14px; color: var(--cream); }
.achievement-card__meta { font-size: 12px; color: var(--slate); margin-top: 4px; }
.achievement-card__actions { display: flex; gap: 14px; margin-top: 10px; }
.achievement-card__link { font-size: 12px; font-weight: 700; text-decoration: underline; text-underline-offset: 3px; background: none; border: none; padding: 0; }
.achievement-card__link--edit { color: var(--gold-bright); }
.achievement-card__link--remove { color: var(--error); }

/* ---------------------------------------------------------------
   Footer
   --------------------------------------------------------------- */
.footer { background: var(--ink); color: var(--cream); margin-top: var(--sp-8); border-top: 1px solid var(--border-soft); }
.footer__grid {
  max-width: 1180px; margin: 0 auto; padding: var(--sp-8) var(--sp-5) var(--sp-6);
  display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: var(--sp-6);
}
@media (max-width: 860px) { .footer__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer__grid { grid-template-columns: 1fr; } }
.footer__brand-logo { height: 180px; margin-bottom: var(--sp-4); }
.footer__desc { font-size: 13px; color: rgba(245, 239, 224, 0.55); max-width: 320px; line-height: 1.65; }
.footer__social { display: flex; gap: 10px; margin-top: var(--sp-4); }
.footer__social a {
  width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--border-soft); display: flex;
  align-items: center; justify-content: center; color: var(--gold-bright); font-size: 13px; transition: background var(--dur) var(--ease), border-color var(--dur) var(--ease);
}
.footer__social a:hover { background: var(--maroon); border-color: var(--maroon); }
.footer__col-title { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; color: var(--gold-bright); margin-bottom: var(--sp-3); }
.footer__col { display: flex; flex-direction: column; gap: 10px; }
.footer__col a { font-size: 13.5px; color: rgba(245, 239, 224, 0.7); }
.footer__col a:hover { color: var(--gold-bright); }
.footer__newsletter-desc { font-size: 12.5px; color: rgba(245, 239, 224, 0.55); line-height: 1.6; margin-bottom: 10px; }
.footer__newsletter-row { display: flex; gap: 8px; }
.footer__newsletter-row input {
  flex: 1; min-width: 0; height: 40px; border-radius: var(--r-full); border: 1px solid var(--border-soft);
  background: var(--surface); color: var(--cream); padding: 0 14px; font-size: 12.5px;
}
.footer__newsletter-row input::placeholder { color: var(--slate); }
.footer__newsletter-row button {
  flex-shrink: 0; width: 40px; height: 40px; border-radius: 50%; border: none;
  background: linear-gradient(135deg, var(--maroon-light), var(--maroon-dark)); color: var(--cream); font-size: 15px;
}
.footer__bottom {
  border-top: 1px solid rgba(217, 164, 92, 0.12); padding: var(--sp-4) var(--sp-5); max-width: 1180px; margin: 0 auto;
  display: flex; justify-content: space-between; font-size: 12px; color: rgba(245, 239, 224, 0.45); flex-wrap: wrap; gap: 6px;
}

/* ---------------------------------------------------------------
   Empty / restricted states
   --------------------------------------------------------------- */
.empty-state, .restricted {
  text-align: center; padding: var(--sp-8) var(--sp-5); background: var(--surface); border: 1px dashed var(--border-strong);
  border-radius: var(--r-lg); grid-column: 1 / -1;
}
.empty-state__glyph, .restricted__glyph { font-size: 40px; margin-bottom: var(--sp-3); }
.empty-state h3, .restricted h3 { font-size: 18px; margin-bottom: 6px; }
.empty-state p, .restricted p { color: var(--slate); font-size: 13.5px; max-width: 360px; margin: 0 auto; }

/* ---------------------------------------------------------------
   Modals
   --------------------------------------------------------------- */
.modal-overlay {
  position: fixed; inset: 0; z-index: 1000; background: rgba(3, 2, 1, 0.72); backdrop-filter: blur(8px);
  display: flex; align-items: center; justify-content: center; padding: var(--sp-4);
  opacity: 0; visibility: hidden; transition: opacity var(--dur) var(--ease), visibility var(--dur) var(--ease);
}
.modal-overlay--visible { opacity: 1; visibility: visible; }
body.modal-open { overflow: hidden; }
.modal {
  position: relative; background: var(--surface); border: 1px solid var(--border-soft); border-radius: var(--r-lg); width: 100%; max-width: 440px;
  max-height: 88vh; overflow-y: auto; box-shadow: var(--shadow-lg);
  padding: 30px 28px; transform: translateY(14px) scale(0.98); transition: transform var(--dur) var(--ease);
}
.modal-overlay--visible .modal { transform: none; }
.modal--detail { max-width: 620px; padding: 0; }
.modal__close {
  position: absolute; top: 16px; right: 16px; width: 32px; height: 32px; border-radius: 50%; border: 1px solid var(--border-soft);
  background: var(--surface-sunken); font-size: 17px; color: var(--cream-dim); z-index: 2;
}
.modal__close:hover { background: var(--maroon); color: var(--cream); }

.auth-modal { max-width: 420px; text-align: center; }
.auth-modal__logo { height: 75px; margin: 0 auto var(--sp-4); }
.auth-modal__eyebrow { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; color: var(--gold-bright); }
.auth-modal__title { font-size: 22px; margin-top: 6px; margin-bottom: var(--sp-5); }
.auth-modal__demo { margin-top: var(--sp-3); font-size: 12px; color: var(--slate); background: var(--surface-sunken); border: 1px solid var(--border-soft); padding: 10px 14px; border-radius: var(--r-md); }
.auth-switch { margin-top: var(--sp-4); font-size: 13px; color: var(--slate); }
.auth-switch__link { color: var(--gold-bright); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }

.role-toggle { display: flex; background: var(--surface-sunken); border-radius: var(--r-full); padding: 4px; margin-bottom: var(--sp-5); }
.role-toggle__opt { flex: 1; padding: 10px; border-radius: var(--r-full); font-size: 13px; font-weight: 700; color: var(--slate); background: transparent; border: none; }
.role-toggle__opt--active { background: var(--maroon); color: var(--cream); }

.field-label { display: block; text-align: left; font-size: 12.5px; font-weight: 700; color: var(--cream-dim); margin-top: var(--sp-4); }
.field-label:first-of-type { margin-top: 0; }
.field-input, .field-select, .field-textarea {
  width: 100%; margin-top: 7px; border: 1.5px solid var(--border-soft); border-radius: var(--r-md);
  padding: 12px 14px; font-size: 14px; background: var(--surface-sunken); color: var(--cream); transition: border-color var(--dur-fast) var(--ease), box-shadow var(--dur-fast) var(--ease);
}
.field-input::placeholder, .field-textarea::placeholder { color: var(--slate); }
.field-textarea { min-height: 90px; resize: vertical; font-family: var(--font-body); }
.field-input:focus, .field-select:focus, .field-textarea:focus { outline: none; border-color: var(--gold-dark); box-shadow: 0 0 0 3px rgba(217, 164, 92, 0.14); }
.field-hint { display: block; font-size: 11.5px; color: var(--slate); margin-top: 5px; text-align: left; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: var(--sp-3); }
@media (max-width: 480px) { .field-row { grid-template-columns: 1fr; } }

.field-error { border-color: var(--error) !important; box-shadow: 0 0 0 3px rgba(226, 96, 74, 0.16) !important; }
.field-error-msg { display: none; font-size: 11.5px; color: var(--error); margin-top: 5px; text-align: left; }
.field-error-msg--visible { display: block; }

.cover-upload {
  margin-top: 7px; border: 1.5px dashed var(--border-strong); border-radius: var(--r-md); padding: 18px;
  font-size: 12.5px; color: var(--slate); text-align: center; cursor: pointer; transition: border-color var(--dur) var(--ease), background var(--dur) var(--ease);
}
.cover-upload:hover { border-color: var(--gold-dark); background: var(--surface); }
.cover-preview { width: 100%; height: 130px; object-fit: cover; border-radius: var(--r-md); margin-top: 10px; }

.checkout-line { display: flex; justify-content: space-between; padding: 12px 0; border-bottom: 1px solid var(--border-soft); font-size: 14px; }
.checkout-line--total { font-weight: 800; font-size: 16px; border-bottom: none; padding-top: 16px; color: var(--gold-bright); }

.receipt { background: var(--surface-sunken); border: 1px dashed var(--border-strong); border-radius: var(--r-md); padding: 22px; position: relative; overflow: hidden; }
.receipt__watermark { font-size: 11px; font-weight: 700; color: var(--success); text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 14px; }
.receipt__row { display: flex; justify-content: space-between; padding: 7px 0; font-size: 13.5px; border-bottom: 1px dotted var(--border-soft); }
.receipt__hash { font-family: monospace; font-size: 12.5px; background: var(--ink); color: var(--gold-bright); padding: 10px 12px; border-radius: var(--r-sm); margin-top: 6px; word-break: break-all; }

.confirm-modal { max-width: 380px; text-align: center; }
.confirm-modal__glyph { font-size: 38px; margin-bottom: var(--sp-3); }
.confirm-modal__actions { display: flex; gap: 10px; margin-top: var(--sp-5); }
.confirm-modal__actions .btn { flex: 1; }

/* ---------------------------------------------------------------
   Toasts
   --------------------------------------------------------------- */
#toast-host { position: fixed; top: 88px; right: 20px; z-index: 2000; display: flex; flex-direction: column; gap: 10px; max-width: 340px; }
.toast {
  display: flex; align-items: center; gap: 10px; background: var(--surface); border: 1px solid var(--border-soft); color: var(--cream); padding: 13px 16px;
  border-radius: var(--r-md); font-size: 13px; font-weight: 600; box-shadow: var(--shadow-lg);
  transform: translateX(120%); opacity: 0; transition: transform var(--dur) var(--ease), opacity var(--dur) var(--ease);
}
.toast--visible { transform: none; opacity: 1; }
.toast__icon { width: 20px; height: 20px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 11px; flex-shrink: 0; font-weight: 800; }
.toast--success .toast__icon { background: var(--success); }
.toast--error .toast__icon { background: var(--error); }
.toast--info .toast__icon { background: var(--gold-dark); color: var(--ink); }
@media (max-width: 520px) { #toast-host { left: 16px; right: 16px; max-width: none; top: 84px; } }

/* ---------------------------------------------------------------
   Utility responsive
   --------------------------------------------------------------- */
@media (max-width: 640px) {
  .queue-grid { grid-template-columns: 1fr; }
  .hero__stats { gap: var(--sp-5); }
  .modal { padding: 24px 20px; }
}
