:root {
  --bg: #f2f2f0;
  --panel: #ffffff;
  --ink: #111827;
  --muted: #6b7280;
  --line: #e6e6e6;
  --primary: #2563eb;
  --primary-dark: #1d4ed8;
  --green: #10b981;
  --green-soft: #ecfdf5;
  --amber: #f59e0b;
  --amber-soft: #fffbeb;
  --reserved: #6366f1;
  --reserved-soft: #eef2ff;
  --sold: #9ca3af;
  --sold-soft: #f3f4f6;
  --red: #ef4444;
  --red-soft: #fef2f2;
  --shadow-sm: 0 1px 2px rgba(17, 24, 39, 0.04);
  --shadow-md: 0 10px 30px rgba(17, 24, 39, 0.07);
  --brand-heading: #1a1a1a;
  --brand-body: #5f6368;
  --brand-muted: #7a7a7a;
}

* {
  box-sizing: border-box;
}

html,
body {
  max-width: 100%;
  overflow-x: hidden;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  background: var(--bg);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.live-update-indicator {
  position: fixed;
  top: calc(16px + env(safe-area-inset-top));
  right: 16px;
  z-index: 1000;
  padding: 10px 14px;
  border-radius: 999px;
  background: #0f172a;
  color: #ffffff;
  box-shadow: 0 14px 35px rgba(15, 23, 42, 0.18);
  font-size: 13px;
  font-weight: 800;
  opacity: 0;
  transform: translateY(-8px);
  transition: opacity 180ms ease, transform 180ms ease;
  pointer-events: none;
}

.live-update-indicator.visible {
  opacity: 1;
  transform: translateY(0);
}

input,
button,
select,
textarea {
  box-sizing: border-box;
  font: inherit;
  max-width: 100%;
  min-width: 0;
}

img,
svg,
iframe {
  max-width: 100%;
}

img {
  display: block;
  height: auto;
}

.catalogue-shell,
.catalogue-panel,
.match-detail-panel,
.match-detail-grid,
.block-panel,
.map-ticket-panel,
.ticket-options-panel,
.block-list,
.block-accordion,
.block-row,
.block-row-title,
.block-inline-options,
.inline-ticket-row,
.inline-ticket-info,
.inline-ticket-right,
.inline-quantity-buttons,
.ticket-card-grid,
.ticket-option-card,
.ticket-card-main,
.ticket-table-heading,
.compact-booking-bar,
.compact-booking-selected,
.compact-booking-total,
.seating-plan-section,
.seating-plan-layout,
.seating-plan-preview,
.seating-plan-map,
.inline-request-panel,
.request-chip-row,
.admin-edit-row,
.admin-inline-editor,
.admin-inline-editor label {
  max-width: 100%;
  min-width: 0;
}

.option-filters,
.home-filter-bar,
.header-actions,
.detail-top-actions,
.language-switcher,
.view-switch,
.request-chip-row,
.inline-request-actions,
.ticket-card-actions,
.ticket-card-topline,
.inventory-group-main,
.inventory-group-meta,
.purchase-confirm-actions,
.block-legend,
.catalogue-controls {
  min-width: 0;
  max-width: 100%;
  flex-wrap: wrap;
}

.catalogue-shell,
.catalogue-panel,
.match-detail-panel,
.match-detail-grid,
.block-panel,
.map-ticket-panel,
.ticket-options-panel,
.block-accordion,
.inline-ticket-row,
.ticket-option-card,
.seating-plan-map,
.inline-request-panel,
.admin-edit-row {
  overflow-wrap: anywhere;
}

table {
  max-width: 100%;
}

.seating-plan-map svg,
.seating-plan-map img,
.seating-plan-preview img,
.seating-plan-image,
.section-overlay {
  display: block;
  height: auto;
  max-width: 100%;
}

.section-overlay {
  overflow: visible;
}

button {
  border: 0;
  border-radius: 10px;
  background: var(--primary);
  color: #fff;
  cursor: pointer;
  font-weight: 750;
  padding: 0.72rem 0.95rem;
  box-shadow: var(--shadow-sm);
}

button:hover {
  background: var(--primary-dark);
}

button:disabled {
  background: #e5e7eb;
  box-shadow: none;
  color: #6b7280;
  cursor: not-allowed;
  opacity: 1;
}

button.ghost {
  background: #ffffff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  color: #374151;
}

button.ghost:hover {
  background: #f9fafb;
}

.catalogue-shell {
  width: min(1480px, 100%);
  margin: 0 auto;
  padding: 1rem;
}

.brand-home-page {
  background:
    linear-gradient(180deg, #f2f2f0 0%, #efefea 52%, #f3f4f0 100%);
  color: var(--brand-heading);
}

.brand-shell {
  margin: 0 auto;
  max-width: 1440px;
  padding: 1rem;
  position: relative;
}

.brand-nav {
  align-items: center;
  display: flex;
  gap: 1.65rem;
  justify-content: space-between;
  left: clamp(1.8rem, 4vw, 3rem);
  padding: 0;
  position: absolute;
  right: clamp(1.8rem, 4vw, 3rem);
  top: clamp(1.55rem, 3.2vw, 2.45rem);
  z-index: 6;
}

.brand-logo,
.catalogue-brand-link {
  color: var(--ink);
  display: inline-grid;
  text-decoration: none;
}

.brand-logo {
  font-size: 1rem;
  font-weight: 950;
  letter-spacing: 0;
}

.image-brand-logo img {
  height: clamp(3rem, 4.6vw, 4.25rem);
  object-fit: contain;
  width: auto;
}

.brand-nav nav {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  justify-content: flex-end;
}

.mobile-nav-toggle {
  align-items: center;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(229, 231, 235, 0.8);
  border-radius: 999px;
  box-shadow: 0 10px 26px rgba(15, 23, 42, 0.12);
  color: #111827;
  display: none;
  font-size: 0.82rem;
  font-weight: 900;
  justify-content: center;
  min-height: 2.35rem;
  padding: 0.55rem 0.9rem;
}

.brand-nav a:not(.brand-logo) {
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.78rem;
  font-weight: 850;
  padding: 0.48rem 0.7rem;
  text-decoration: none;
}

.brand-nav a:not(.brand-logo):hover {
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
}

.brand-nav .nav-pill-cta {
  border: 1px solid rgba(255, 98, 139, 0.68);
  color: #ffffff;
  margin-left: 0.25rem;
  padding-inline: 0.95rem;
}

.brand-hero {
  background: #05080d;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 34px;
  box-shadow: 0 38px 100px rgba(15, 23, 42, 0.28);
  color: #ffffff;
  display: grid;
  min-height: min(690px, calc(96svh - 32px));
  overflow: hidden;
  padding: clamp(7rem, 11vw, 9rem) clamp(1.35rem, 4.8vw, 5.2rem) clamp(1rem, 2vw, 1.4rem);
  place-items: start stretch;
  position: relative;
}

.brand-hero::before {
  background:
    radial-gradient(circle at 18% 44%, rgba(255, 98, 139, 0.14), transparent 18%),
    radial-gradient(circle at 86% 62%, rgba(87, 222, 194, 0.16), transparent 24%),
    radial-gradient(circle at 80% 18%, rgba(0, 0, 0, 0.74), transparent 34%),
    linear-gradient(180deg, transparent 0%, rgba(242, 242, 240, 0.08) 78%, #f2f2f0 100%);
  content: "";
  inset: 0;
  pointer-events: none;
  position: absolute;
  z-index: 2;
}

.brand-hero::after {
  background:
    linear-gradient(90deg, rgba(3, 7, 18, 0.94), rgba(3, 7, 18, 0.82) 38%, rgba(3, 7, 18, 0.44) 72%, rgba(3, 7, 18, 0.72)),
    radial-gradient(ellipse at center, transparent 38%, rgba(0, 0, 0, 0.54) 100%);
  content: "";
  inset: 0;
  position: absolute;
  z-index: 1;
}

.brand-hero-bg {
  background-image: url("/stadium-heroes/etihad-stadium.jpg");
  background-position: 65% center;
  background-size: cover;
  inset: 0;
  opacity: 0.82;
  position: absolute;
  filter: saturate(0.9) contrast(1.18) brightness(0.62);
  transform: scale(1.12);
  z-index: 0;
}

.brand-hero-copy {
  align-self: center;
  display: grid;
  gap: 1.25rem;
  max-width: 820px;
  position: relative;
  z-index: 3;
}

.brand-hero-copy .eyebrow {
  color: rgba(255, 255, 255, 0.72);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.brand-hero-copy h1 {
  color: #ffffff;
  font-size: clamp(3.2rem, 7vw, 7.4rem);
  letter-spacing: -0.04em;
  line-height: 0.9;
  margin: 0;
}

.brand-hero-copy p:not(.eyebrow) {
  color: rgba(226, 232, 240, 0.78);
  font-size: clamp(1rem, 1.55vw, 1.28rem);
  font-weight: 720;
  line-height: 1.62;
  max-width: 560px;
}

.hero-accent {
  border-radius: 999px;
  height: 0.75rem;
  opacity: 0.9;
  position: absolute;
  transform: rotate(-28deg);
  width: 0.2rem;
  z-index: 3;
}

.accent-coral {
  background: #ff5f87;
  right: 18%;
  top: 40%;
}

.accent-mint {
  background: #57dec2;
  right: 26%;
  top: 30%;
}

.brand-hero-service-strip {
  align-self: end;
  backdrop-filter: blur(18px);
  background: rgba(6, 13, 24, 0.58);
  border: 1px solid rgba(148, 163, 184, 0.14);
  border-radius: 22px;
  display: grid;
  gap: 0;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: clamp(2rem, 5vw, 4rem);
  overflow: hidden;
  position: relative;
  z-index: 3;
}

.brand-hero-service-strip article {
  align-items: center;
  border-right: 1px solid rgba(148, 163, 184, 0.14);
  display: grid;
  gap: 0.16rem 0.75rem;
  grid-template-columns: auto minmax(0, 1fr);
  min-width: 0;
  padding: 1rem;
}

.brand-hero-service-strip article:last-child {
  border-right: 0;
}

.brand-hero-service-strip .trust-icon {
  background: transparent;
  border: 0;
  color: #57dec2;
  grid-row: span 2;
  height: 2.15rem;
  width: 2.15rem;
}

.brand-hero-service-strip .trust-icon.coral {
  color: #ff6f92;
}

.brand-hero-service-strip strong {
  color: #ffffff;
  font-size: 0.72rem;
  font-weight: 950;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.brand-hero-service-strip small {
  color: rgba(226, 232, 240, 0.64);
  font-size: 0.72rem;
  font-weight: 750;
}

.brand-section {
  margin-top: clamp(2.6rem, 6vw, 5.4rem);
}

.brand-band {
  border-radius: 34px;
  padding: clamp(1.4rem, 4.5vw, 4rem);
}

.band-about {
  background: #fafaf8;
}

.band-white {
  background: #ffffff;
}

.band-competitions {
  background: #efefea;
}

.brand-section-heading {
  display: grid;
  gap: 0.45rem;
  margin-bottom: 1rem;
}

.brand-section-heading h2,
.brand-cta h2 {
  color: var(--brand-heading);
  font-size: clamp(1.7rem, 3vw, 3rem);
  line-height: 1.05;
  margin: 0;
}

.brand-story {
  align-items: start;
  display: grid;
  gap: 1.5rem;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1fr);
}

.story-copy p {
  color: var(--brand-body);
  font-size: clamp(1.02rem, 1.6vw, 1.25rem);
  font-weight: 760;
  line-height: 1.62;
  margin: 0 0 1.15rem;
}

.story-copy ul {
  color: var(--brand-heading);
  display: grid;
  gap: 0.55rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.story-copy li {
  align-items: center;
  display: flex;
  font-size: 1rem;
  font-weight: 900;
  gap: 0.6rem;
}

.story-copy li::before {
  background: var(--primary);
  border-radius: 999px;
  content: "";
  flex: 0 0 auto;
  height: 0.42rem;
  width: 0.42rem;
}

.brand-competition-grid {
  display: grid;
  gap: 0.9rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.brand-competition-grid a {
  background: #ffffff;
  border: 1px solid rgba(229, 231, 235, 0.92);
  border-radius: 22px;
  box-shadow: 0 14px 34px rgba(15, 23, 42, 0.055);
  color: var(--ink);
  display: grid;
  gap: 0.4rem;
  font-weight: 950;
  min-height: 7rem;
  padding: 1.15rem;
  text-decoration: none;
  transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease;
}

.brand-competition-grid a strong {
  color: var(--brand-heading);
  font-size: 1.08rem;
}

.brand-competition-grid a span {
  color: var(--brand-body);
  font-size: 0.92rem;
  font-weight: 800;
}

.brand-competition-grid a::after {
  color: var(--primary);
  content: "Browse →";
  display: block;
  font-size: 0.82rem;
  margin-top: 0.65rem;
}

.brand-competition-grid a:hover,
.brand-featured-card:hover {
  border-color: rgba(37, 99, 235, 0.3);
  box-shadow: 0 22px 48px rgba(15, 23, 42, 0.11);
  transform: translateY(-4px);
}

.home-featured-grid {
  display: grid;
  gap: 0.9rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.brand-featured-card small {
  color: var(--primary);
  font-weight: 950;
}

.brand-featured-card .availability {
  border: 1px solid rgba(15, 23, 42, 0.06);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.42);
  font-size: 0.76rem;
  padding: 0.34rem 0.58rem;
  width: fit-content;
}

.brand-featured-card .availability.high-demand {
  background: #fff1f2;
  color: #be123c;
}

.brand-featured-card .availability.limited-availability {
  background: var(--amber-soft);
  color: #b45309;
}

.brand-cta {
  align-items: center;
  background: #07111f;
  border-radius: 30px;
  box-shadow: 0 24px 64px rgba(15, 23, 42, 0.16);
  color: #ffffff;
  display: grid;
  justify-items: center;
  margin-top: clamp(2.8rem, 6vw, 5.4rem);
  padding: clamp(2rem, 6vw, 4rem);
  text-align: center;
}

.brand-cta .eyebrow {
  color: rgba(255, 255, 255, 0.7);
}

.brand-cta h2 {
  color: #ffffff;
  margin-bottom: 1rem;
}

.brand-footer {
  background: #ffffff;
  border: 1px solid rgba(229, 231, 235, 0.92);
  border-radius: 26px;
  color: var(--brand-muted);
  display: grid;
  gap: 1.5rem;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 0.64fr);
  margin-top: 1.3rem;
  padding: clamp(1.2rem, 3vw, 2rem);
}

.brand-footer strong {
  color: var(--brand-heading);
  display: block;
  font-size: 1.18rem;
  font-weight: 950;
}

.brand-footer span {
  color: var(--brand-body);
  display: block;
  font-weight: 820;
  margin-top: 0.25rem;
}

.brand-footer-columns {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.brand-footer nav {
  display: grid;
  gap: 0.42rem;
}

.brand-footer nav p {
  color: var(--brand-heading);
  font-size: 0.78rem;
  font-weight: 950;
  letter-spacing: 0.08em;
  margin: 0 0 0.2rem;
  text-transform: uppercase;
}

.brand-footer a {
  color: var(--brand-body);
  font-weight: 820;
  text-decoration: none;
}

.brand-footer a:hover {
  color: var(--primary);
}

.brand-footer small {
  border-top: 1px solid rgba(229, 231, 235, 0.8);
  color: var(--brand-muted);
  grid-column: 1 / -1;
  padding-top: 1rem;
}

.site-page {
  background: #f2f2f0;
  color: var(--brand-heading);
}

.site-header {
  align-items: center;
  display: flex;
  gap: 1rem;
  justify-content: space-between;
  margin: 0 auto;
  max-width: 1240px;
  padding: 1rem;
}

.marketplace-nav a.active,
.brand-nav a.active {
  background: #eef2ff;
  color: var(--primary-dark);
}

.site-shell {
  display: grid;
  gap: clamp(1rem, 3vw, 2rem);
  margin: 0 auto;
  max-width: 1240px;
  padding: 0 1rem clamp(2rem, 5vw, 4rem);
}

.site-hero {
  background: #ffffff;
  border: 1px solid #e6e6e6;
  border-radius: 30px;
  box-shadow: 0 18px 54px rgba(15, 23, 42, 0.07);
  display: grid;
  gap: 1rem;
  padding: clamp(1.45rem, 5vw, 4rem);
}

.compact-site-hero {
  min-height: 320px;
  place-content: center start;
}

.site-hero h1 {
  color: var(--brand-heading);
  font-size: clamp(2.3rem, 5vw, 5rem);
  letter-spacing: 0;
  line-height: 0.98;
  margin: 0;
  max-width: 980px;
}

.site-hero p:not(.eyebrow) {
  color: var(--brand-body);
  font-size: clamp(1rem, 1.5vw, 1.22rem);
  font-weight: 740;
  line-height: 1.58;
  max-width: 760px;
}

.dark-primary {
  background: #07111f;
  color: #ffffff;
}

.light-secondary {
  border: 1px solid rgba(17, 24, 39, 0.14);
  color: #111827;
}

.site-two-column,
.site-band {
  align-items: start;
  display: grid;
  gap: clamp(1rem, 3vw, 2rem);
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1fr);
}

.site-two-column {
  background: #fafaf8;
  border-radius: 28px;
  padding: clamp(1.2rem, 4vw, 3rem);
}

.site-two-column h2,
.site-band h2,
.site-section h2 {
  color: var(--brand-heading);
  font-size: clamp(1.7rem, 3vw, 3rem);
  line-height: 1.05;
  margin: 0;
}

.site-copy {
  color: var(--brand-body);
  display: grid;
  gap: 1rem;
  font-size: 1rem;
  font-weight: 720;
  line-height: 1.68;
}

.site-card-grid,
.competition-page-grid,
.faq-grid {
  display: grid;
  gap: 1rem;
}

.site-card-grid.three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.site-info-card,
.competition-page-grid a,
.contact-card,
.contact-form,
.policy-card,
.faq-grid details {
  background: #ffffff;
  border: 1px solid rgba(229, 231, 235, 0.92);
  border-radius: 24px;
  box-shadow: 0 14px 38px rgba(15, 23, 42, 0.055);
}

.site-info-card {
  display: grid;
  gap: 0.7rem;
  padding: clamp(1.1rem, 2.5vw, 1.55rem);
}

.site-info-card span {
  color: var(--primary);
  font-size: 0.78rem;
  font-weight: 950;
}

.site-info-card h3,
.contact-card h2 {
  color: var(--brand-heading);
  font-size: 1.16rem;
  margin: 0;
}

.site-info-card p,
.contact-card p,
.faq-grid p {
  color: var(--brand-body);
  font-weight: 720;
  line-height: 1.55;
}

.site-band {
  align-items: center;
  background: #ffffff;
  border-radius: 30px;
  box-shadow: 0 18px 50px rgba(15, 23, 42, 0.06);
  padding: clamp(1.35rem, 4vw, 3rem);
}

.dark-band {
  background: #07111f;
  color: #ffffff;
}

.dark-band h2,
.dark-band .eyebrow {
  color: #ffffff;
}

.text-cta {
  color: var(--primary);
  font-weight: 950;
  justify-self: end;
  text-decoration: none;
}

.competition-page-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.competition-page-grid a {
  color: var(--brand-heading);
  display: grid;
  gap: 0.55rem;
  min-height: 9rem;
  padding: 1.2rem;
  text-decoration: none;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.competition-page-grid a:hover {
  border-color: rgba(37, 99, 235, 0.35);
  box-shadow: 0 24px 54px rgba(15, 23, 42, 0.11);
  transform: translateY(-4px);
}

.competition-page-grid strong {
  font-size: 1.2rem;
  font-weight: 950;
}

.competition-page-grid span {
  color: var(--brand-body);
  font-weight: 780;
}

.competition-page-grid em {
  align-self: end;
  color: var(--primary);
  font-style: normal;
  font-weight: 950;
}

.contact-layout {
  align-items: start;
  display: grid;
  gap: 1rem;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.42fr);
}

.contact-form {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  padding: clamp(1.1rem, 3vw, 1.6rem);
}

.contact-form label,
.contact-card dl,
.contact-card div {
  display: grid;
  gap: 0.45rem;
  min-width: 0;
}

.contact-form label.full,
.contact-form .message,
.contact-form button {
  grid-column: 1 / -1;
}

.contact-form span,
.contact-card dt {
  color: var(--brand-muted);
  font-size: 0.8rem;
  font-weight: 900;
}

.contact-form input,
.contact-form textarea {
  border: 1px solid rgba(209, 213, 219, 0.92);
  border-radius: 14px;
  color: var(--brand-heading);
  padding: 0.85rem 0.95rem;
  width: 100%;
}

.contact-form button {
  background: var(--primary);
  border-radius: 14px;
  color: #ffffff;
  min-height: 3rem;
}

.message.success {
  color: #047857;
}

.contact-card {
  display: grid;
  gap: 1rem;
  padding: clamp(1.1rem, 3vw, 1.6rem);
}

.contact-link {
  background: #f7f8fa;
  border: 1px solid rgba(229, 231, 235, 0.9);
  border-radius: 14px;
  color: var(--brand-heading);
  font-weight: 900;
  padding: 0.85rem;
  text-decoration: none;
}

.contact-card dd {
  color: var(--brand-body);
  font-weight: 760;
  margin: 0;
}

.site-section {
  display: grid;
  gap: 1rem;
}

.faq-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.faq-grid details {
  padding: 1rem;
}

.faq-grid summary {
  color: var(--brand-heading);
  cursor: pointer;
  font-weight: 950;
}

.policy-shell {
  max-width: 1000px;
}

.policy-card {
  display: grid;
  gap: 0.8rem;
  padding: clamp(1.2rem, 4vw, 2rem);
}

.policy-card h2 {
  color: var(--brand-heading);
  font-size: 1.28rem;
  margin: 1rem 0 0;
}

.policy-card h2:first-child {
  margin-top: 0;
}

.policy-card p {
  color: var(--brand-body);
  font-weight: 720;
  line-height: 1.68;
  margin: 0;
}

.not-found-hero {
  min-height: 520px;
}

.site-footer {
  background: #ffffff;
  border-top: 1px solid #e6e6e6;
  color: var(--brand-muted);
  display: grid;
  gap: 1rem;
  margin-top: 2rem;
  padding: 2rem max(1rem, calc((100vw - 1240px) / 2));
}

.site-footer strong {
  color: var(--brand-heading);
  display: block;
  font-size: 1.1rem;
  font-weight: 950;
}

.site-footer span {
  color: var(--brand-body);
  display: block;
  font-weight: 820;
  margin-top: 0.2rem;
}

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem 1rem;
}

.site-footer a {
  color: var(--brand-body);
  font-weight: 850;
  text-decoration: none;
}

.site-footer a:hover {
  color: var(--primary);
}

.marketplace-nav {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem;
  max-width: 100%;
  min-width: 0;
}

.marketplace-nav a {
  border-radius: 999px;
  color: #374151;
  font-size: 0.86rem;
  font-weight: 850;
  padding: 0.45rem 0.65rem;
  text-decoration: none;
}

.marketplace-nav a:hover {
  background: #eef2ff;
  color: var(--primary-dark);
}

.hero-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 1.1rem;
  margin-top: 1rem;
}

.primary-cta,
.secondary-cta {
  align-items: center;
  border-radius: 999px;
  display: inline-flex;
  font-size: 0.94rem;
  font-weight: 900;
  min-height: 2.85rem;
  padding: 0.72rem 1.18rem;
  text-decoration: none;
  transition: transform 180ms ease, background 180ms ease, border-color 180ms ease, color 180ms ease;
}

.primary-cta {
  background: linear-gradient(115deg, #ff5f87 0%, #ff6f92 48%, #57dec2 100%);
  box-shadow: 0 16px 32px rgba(255, 95, 135, 0.22);
  color: #ffffff;
}

.secondary-cta {
  border: 1px solid rgba(255, 255, 255, 0.34);
  color: #ffffff;
}

.primary-cta:hover,
.secondary-cta:hover {
  transform: translateY(-2px);
}

.secondary-cta:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.54);
}

.marketplace-intro,
.marketplace-footer {
  align-items: start;
  background: #ffffff;
  border: 1px solid rgba(229, 231, 235, 0.92);
  border-radius: 22px;
  box-shadow: 0 14px 38px rgba(15, 23, 42, 0.06);
  display: grid;
  gap: 1rem;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1fr);
  margin-top: 1rem;
  padding: clamp(1rem, 2vw, 1.35rem);
}

.marketplace-intro h2,
.marketplace-footer h2 {
  font-size: clamp(1.45rem, 2.4vw, 2.2rem);
  line-height: 1.06;
  margin: 0;
}

.marketplace-intro p,
.marketplace-footer p,
.marketplace-footer a,
.marketplace-footer span {
  color: #64748b;
  font-weight: 720;
  line-height: 1.55;
}

.brand-story-section,
.contact-section {
  margin-top: clamp(2.5rem, 6vw, 5rem);
  padding: clamp(1.3rem, 4vw, 3rem);
}

.story-copy {
  display: grid;
  gap: 0.85rem;
}

.story-copy p {
  color: #475569;
  font-size: clamp(1rem, 1.35vw, 1.16rem);
  font-weight: 720;
  line-height: 1.7;
}

.catalogue-section {
  margin-top: clamp(2.4rem, 5.4vw, 5rem);
}

.featured-match-strip,
.latest-ticket-strip,
.competition-browse-grid {
  display: grid;
  gap: 0.85rem;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.latest-ticket-strip {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.featured-match-card,
.latest-ticket-card,
.competition-browse-card {
  background: #ffffff;
  border: 1px solid rgba(229, 231, 235, 0.92);
  border-radius: 18px;
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.06);
  color: var(--ink);
  display: grid;
  gap: 0.55rem;
  min-width: 0;
  padding: 1rem;
  text-align: left;
  text-decoration: none;
  transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease;
}

.featured-match-card:hover,
.latest-ticket-card:hover,
.competition-browse-card:hover {
  background: #ffffff;
  border-color: rgba(37, 99, 235, 0.32);
  box-shadow: 0 20px 44px rgba(15, 23, 42, 0.1);
  color: var(--ink);
  transform: translateY(-3px);
}

.featured-logos {
  display: flex;
  gap: 0.55rem;
}

.featured-logos .match-card-logo {
  height: 2.75rem;
  width: 2.75rem;
}

.featured-match-card strong,
.latest-ticket-card strong,
.competition-browse-card strong {
  font-size: 1rem;
  line-height: 1.18;
  overflow-wrap: anywhere;
}

.featured-match-card span,
.latest-ticket-card span,
.competition-browse-card span {
  color: #64748b;
  font-size: 0.84rem;
  font-weight: 760;
}

.featured-match-card b {
  color: var(--primary-dark);
  font-size: 0.92rem;
  font-weight: 950;
}

.latest-ticket-card em {
  color: var(--primary);
  font-style: normal;
  font-weight: 950;
}

.latest-ticket-strip .match-card {
  min-height: 0;
}

.latest-ticket-strip .match-card:nth-child(n + 4) {
  display: none;
}

.competition-browse-card {
  cursor: pointer;
}

.trust-card-grid {
  display: grid;
  gap: 0.9rem;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.trust-card {
  background: #ffffff;
  border: 1px solid rgba(229, 231, 235, 0.92);
  border-radius: 24px;
  box-shadow: 0 14px 34px rgba(15, 23, 42, 0.06);
  display: grid;
  gap: 0.8rem;
  min-width: 0;
  padding: clamp(1.25rem, 2.5vw, 1.75rem);
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.trust-card:hover {
  border-color: rgba(37, 99, 235, 0.38);
  box-shadow: 0 24px 56px rgba(15, 23, 42, 0.11);
  transform: translateY(-4px);
}

.trust-icon {
  align-items: center;
  background: linear-gradient(145deg, #eff6ff, #ffffff);
  border: 1px solid rgba(37, 99, 235, 0.14);
  border-radius: 16px;
  color: var(--primary);
  display: inline-flex;
  font-weight: 950;
  height: 3rem;
  justify-content: center;
  width: 3rem;
}

.trust-icon svg {
  fill: none;
  height: 1.45rem;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.85;
  width: 1.45rem;
}

.trust-card strong {
  color: var(--brand-heading);
  font-size: 1.08rem;
}

.trust-card p {
  color: var(--brand-body);
  font-size: 0.94rem;
  font-weight: 700;
  line-height: 1.5;
}

.process-card-grid {
  display: grid;
  gap: 0.9rem;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.process-card {
  background: #ffffff;
  border: 1px solid rgba(229, 231, 235, 0.92);
  border-radius: 22px;
  box-shadow: 0 14px 34px rgba(15, 23, 42, 0.055);
  display: grid;
  gap: 0.65rem;
  min-width: 0;
  padding: 1.15rem;
}

.process-card span {
  color: var(--primary);
  font-size: 0.74rem;
  font-weight: 950;
  text-transform: uppercase;
}

.process-card strong {
  color: var(--ink);
  font-size: 1.02rem;
}

.process-card p {
  color: #64748b;
  font-size: 0.9rem;
  font-weight: 700;
  line-height: 1.5;
}

.faq-list {
  display: grid;
  gap: 0.75rem;
  margin: 0 auto;
  max-width: 900px;
}

.faq-list details {
  background: #ffffff;
  border: 1px solid rgba(229, 231, 235, 0.92);
  border-radius: 18px;
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.05);
  padding: 1rem 1.1rem;
}

.faq-list summary {
  color: var(--ink);
  cursor: pointer;
  font-weight: 950;
}

.faq-list p {
  color: #64748b;
  font-weight: 720;
  line-height: 1.62;
  margin-top: 0.75rem;
}

.contact-grid {
  display: grid;
  gap: 0.75rem;
}

.contact-grid p {
  background: #f8fafc;
  border: 1px solid #eef2f7;
  border-radius: 16px;
  display: grid;
  gap: 0.25rem;
  padding: 0.85rem;
}

.contact-grid span {
  color: #64748b;
  font-size: 0.74rem;
  font-weight: 950;
  text-transform: uppercase;
}

.contact-grid strong {
  color: var(--ink);
  font-weight: 950;
  overflow-wrap: anywhere;
}

.advanced-filter-panel {
  background: #ffffff;
  border: 1px solid rgba(229, 231, 235, 0.92);
  border-radius: 18px;
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.05);
  display: grid;
  gap: 0.75rem;
  grid-template-columns: repeat(6, minmax(0, 1fr)) auto;
  margin-bottom: 1rem;
  padding: 0.9rem;
}

.advanced-filter-panel label {
  color: #64748b;
  display: grid;
  font-size: 0.72rem;
  font-weight: 900;
  gap: 0.28rem;
  text-transform: uppercase;
}

.advanced-filter-panel input,
.advanced-filter-panel select {
  background: #f8fafc;
  border: 1px solid var(--line);
  border-radius: 12px;
  color: var(--ink);
  min-height: 2.6rem;
  padding: 0.55rem 0.65rem;
  width: 100%;
}

.advanced-filter-panel .secondary-button {
  align-self: end;
  background: #f1f5f9;
  color: #334155;
  min-height: 2.6rem;
}

.marketplace-ticket-facts {
  background: #f8fafc;
  border: 1px solid #eef2f7;
  border-radius: 16px;
  display: grid;
  gap: 0.65rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 0;
  padding: 0.85rem;
}

.marketplace-ticket-facts div {
  min-width: 0;
}

.marketplace-ticket-facts dt {
  color: #64748b;
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.marketplace-ticket-facts dd {
  color: #0f172a;
  font-size: 0.9rem;
  font-weight: 900;
  margin: 0.18rem 0 0;
  overflow-wrap: anywhere;
}

.marketplace-footer {
  margin-bottom: 1rem;
}

.marketplace-footer nav {
  align-items: start;
  display: grid;
  gap: 0.4rem;
  justify-items: start;
}

.catalogue-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.8rem 0 1rem;
}

.detail-view .catalogue-shell {
  padding-top: 0.75rem;
}

.detail-view .catalogue-header {
  display: none;
}

.header-actions {
  align-items: flex-end;
  display: grid;
  gap: 0.35rem;
  justify-items: end;
}

.view-switch {
  align-items: center;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
  box-shadow: var(--shadow-sm);
  display: inline-flex;
  gap: 0.2rem;
  padding: 0.2rem;
}

.view-switch a {
  border-radius: 999px;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 850;
  padding: 0.42rem 0.7rem;
  text-decoration: none;
  white-space: nowrap;
}

.view-switch a:hover,
.view-switch a.active {
  background: #111827;
  color: #fff;
}

.detail-view-switch {
  margin-left: auto;
}

.language-switcher {
  align-items: center;
  color: var(--muted);
  display: flex;
  font-size: 0.86rem;
  font-weight: 750;
  gap: 0.35rem;
}

.language-option {
  background: transparent;
  border: 0;
  box-shadow: none;
  color: var(--muted);
  min-height: 0;
  padding: 0;
}

.language-option:hover,
.language-option.active {
  background: transparent;
  color: var(--primary-dark);
}

.language-option.active {
  text-decoration: underline;
  text-underline-offset: 0.18rem;
}

.eyebrow,
.last-updated,
.message,
.empty-state,
label {
  color: var(--muted);
}

.eyebrow {
  margin: 0 0 0.3rem;
  color: var(--primary-dark);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
p {
  margin: 0;
}

h1 {
  font-size: 1.8rem;
  line-height: 1.1;
  letter-spacing: 0;
}

.admin-mode-badge {
  background: #eef4ff;
  border: 1px solid rgba(21, 94, 239, 0.24);
  border-radius: 999px;
  color: var(--primary-dark);
  display: inline-flex;
  font-size: 0.76rem;
  font-weight: 850;
  margin-left: 0.55rem;
  padding: 0.22rem 0.52rem;
  vertical-align: middle;
}

.last-updated {
  font-size: 0.86rem;
  font-weight: 650;
  white-space: nowrap;
}

.auth-panel,
.catalogue-panel {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 10px 24px rgba(16, 24, 40, 0.06);
  padding: 1rem;
}

.home-view .catalogue-panel {
  background: transparent;
  border: 0;
  box-shadow: none;
  padding: 0;
}

.sr-only {
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  white-space: nowrap;
  width: 1px;
}

.catalogue-home-hero {
  background: #06111f;
  border-radius: 30px;
  box-shadow: 0 34px 90px rgba(15, 23, 42, 0.22);
  color: #fff;
  display: grid;
  min-height: min(620px, calc(88svh - 92px));
  overflow: hidden;
  padding: clamp(1.5rem, 5vw, 4.8rem);
  position: relative;
}

.catalogue-home-hero::after {
  background:
    radial-gradient(circle at 22% 34%, rgba(37, 99, 235, 0.18), transparent 32%),
    linear-gradient(90deg, rgba(2, 6, 23, 0.9), rgba(2, 6, 23, 0.58) 52%, rgba(2, 6, 23, 0.24));
  content: "";
  inset: 0;
  position: absolute;
  z-index: 0;
}

.catalogue-home-hero-bg {
  background-image: url("/stadium-heroes/etihad-stadium.jpg");
  background-position: center;
  background-size: cover;
  inset: 0;
  position: absolute;
  transform: scale(1.08);
  z-index: 0;
}

.catalogue-home-copy,
.catalogue-stats {
  position: relative;
  z-index: 1;
}

.catalogue-home-copy {
  align-self: center;
  display: grid;
  gap: 1rem;
  max-width: 760px;
}

.catalogue-home-copy .eyebrow {
  color: rgba(255, 255, 255, 0.7);
}

.catalogue-home-copy h2 {
  color: #fff;
  font-size: clamp(3rem, 6.2vw, 6.4rem);
  letter-spacing: 0;
  line-height: 0.92;
  margin: 0;
}

.catalogue-home-copy h3 {
  color: rgba(255, 255, 255, 0.94);
  font-size: clamp(1.4rem, 2.8vw, 2.8rem);
  line-height: 1.06;
  margin: 0;
  max-width: 760px;
}

.catalogue-home-copy p:not(.eyebrow) {
  color: rgba(255, 255, 255, 0.82);
  font-size: clamp(1.05rem, 2vw, 1.42rem);
  font-weight: 750;
  max-width: 620px;
}

.home-search-wrap {
  margin-top: 0.45rem;
  max-width: 620px;
  position: relative;
}

.catalogue-search-wrap {
  flex: 1 1 320px;
  margin-top: 0;
}

.home-search-wrap input {
  background: rgba(255, 255, 255, 0.96);
  border: 0;
  border-radius: 16px;
  box-shadow: 0 22px 50px rgba(0, 0, 0, 0.22);
  font-size: 1rem;
  min-height: 3.65rem;
  padding: 0.9rem 7.2rem 0.9rem 1.05rem;
}

.search-shortcut-hint {
  align-items: center;
  background: rgba(17, 24, 39, 0.08);
  border: 1px solid rgba(17, 24, 39, 0.08);
  border-radius: 999px;
  color: #4b5563;
  display: inline-flex;
  font-size: 0.78rem;
  font-weight: 850;
  min-height: 1.85rem;
  padding: 0.24rem 0.55rem;
  position: absolute;
  right: 0.75rem;
  top: 50%;
  transform: translateY(-50%);
}

.catalogue-stats {
  align-self: end;
  display: grid;
  gap: 0.55rem;
}

.catalogue-stats article {
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 14px;
  display: grid;
  gap: 0.2rem;
  min-height: 3.8rem;
  padding: 0.68rem 0.8rem;
}

.catalogue-stats span {
  color: rgba(255, 255, 255, 0.64);
  font-size: 0.78rem;
  font-weight: 850;
  text-transform: uppercase;
}

.catalogue-stats strong {
  color: #fff;
  font-size: clamp(1.1rem, 2vw, 1.5rem);
  line-height: 1;
}

.catalogue-controls {
  align-items: center;
  background: rgba(247, 248, 250, 0.86);
  backdrop-filter: blur(16px);
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: space-between;
  margin: 1rem 0 1.15rem;
  padding: 0.35rem 0;
  position: sticky;
  top: 0;
  z-index: 20;
}

.home-filter-bar {
  align-items: center;
  display: flex;
  gap: 0.5rem;
  min-width: 0;
  overflow-x: auto;
  padding: 0.25rem 0;
}

.home-filter {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
  box-shadow: var(--shadow-sm);
  color: var(--ink);
  flex: 0 0 auto;
  min-height: 2.55rem;
  padding: 0.55rem 0.86rem;
}

.home-filter:hover,
.home-filter.active {
  background: #08111f;
  border-color: #08111f;
  color: #fff;
}

.home-more-menu {
  left: 0;
  right: auto;
}

.sort-control {
  align-items: center;
  color: var(--muted);
  display: flex;
  flex: 0 0 auto;
  gap: 0.55rem;
}

.sort-control select {
  min-height: 2.55rem;
}

.catalogue-section-header {
  align-items: end;
  display: flex;
  gap: 1rem;
  justify-content: space-between;
  margin-bottom: 0.9rem;
}

.catalogue-section-header h2 {
  font-size: clamp(1.45rem, 2vw, 2rem);
  line-height: 1.1;
  margin: 0;
}

.centered-section-header {
  justify-content: center;
  text-align: center;
}

.centered-section-header > div {
  max-width: 760px;
}

.section-link {
  color: var(--primary);
  font-weight: 900;
  text-decoration: none;
  white-space: nowrap;
}

.section-link:hover {
  color: var(--primary-dark);
}

.match-card-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.match-card {
  background: #fff;
  border: 1px solid #e6e6e6;
  border-radius: 24px;
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.055);
  cursor: pointer;
  display: grid;
  gap: 1.12rem;
  min-height: 23rem;
  padding: 1.25rem;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.match-card:hover,
.match-card:focus {
  border-color: rgba(37, 99, 235, 0.34);
  box-shadow: 0 26px 58px rgba(15, 23, 42, 0.115);
  outline: none;
  transform: translateY(-4px);
}

.match-card-logos {
  align-items: center;
  display: flex;
  gap: 0.7rem;
}

.match-card-logos > span:not(.match-card-logo) {
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 900;
  text-transform: uppercase;
}

.match-card-logo {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
  box-shadow: 0 8px 18px rgba(15, 23, 42, 0.08);
  height: 3.8rem;
  object-fit: contain;
  padding: 0.35rem;
  width: 3.8rem;
}

.match-card-teams {
  display: grid;
  gap: 0.3rem;
}

.match-card-teams h3 {
  font-size: clamp(1.25rem, 1.8vw, 1.7rem);
  line-height: 1.08;
  margin: 0;
}

.match-card-teams p {
  color: var(--brand-muted);
  font-size: 0.82rem;
  font-weight: 900;
  text-transform: uppercase;
}

.match-card-meta {
  color: var(--brand-body);
  display: grid;
  gap: 0.45rem;
  font-size: 0.92rem;
  font-weight: 720;
}

.match-card-footer {
  align-items: center;
  align-self: end;
  display: flex;
  gap: 0.75rem;
  justify-content: space-between;
}

.match-card-footer .availability {
  min-width: 0;
}

.match-card-status-stack {
  align-items: flex-start;
  display: grid;
  gap: 0.42rem;
}

.block-count-pill {
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 850;
}

.match-price-pill {
  color: var(--ink);
  font-size: 0.88rem;
  font-weight: 950;
}

.match-price-pill small {
  color: var(--muted);
  display: block;
  font-size: 0.68rem;
  font-weight: 800;
  margin-top: 0.08rem;
}

.match-price-pill .market-reference-line,
.ticket-card-main dd .market-reference-line {
  color: #64748b;
  font-size: 0.72rem;
  font-weight: 760;
  line-height: 1.25;
}

.secondary-request-pill {
  color: #2563eb;
  font-size: 0.78rem;
  font-weight: 850;
}

.match-card-link {
  background: transparent;
  border-radius: 0;
  color: var(--primary);
  flex: 0 0 auto;
  font-size: 0.92rem;
  font-weight: 900;
  padding: 0;
  text-decoration: none;
}

.admin-match-controls {
  border-top: 1px solid var(--line);
  display: grid;
  gap: 0.7rem;
  margin-top: 0.75rem;
  padding-top: 0.75rem;
}

.admin-edit-match-button {
  justify-self: start;
  min-height: 2rem;
  padding: 0.35rem 0.7rem;
}

.admin-match-editor {
  background: #f8fafc;
  border: 1px solid var(--line);
  border-radius: 12px;
  display: grid;
  gap: 0.65rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  padding: 0.75rem;
}

.admin-match-editor label {
  color: #475569;
  display: grid;
  font-size: 0.72rem;
  font-weight: 850;
  gap: 0.25rem;
}

.admin-match-editor input,
.admin-match-editor select {
  min-height: 2.2rem;
}

.admin-match-editor .admin-check {
  align-items: center;
  display: flex;
  gap: 0.45rem;
}

.admin-match-actions {
  display: flex;
  gap: 0.5rem;
  grid-column: 1 / -1;
}

#detail-admin-match-controls .admin-match-controls {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  margin: 0 0 0.8rem;
  padding: 0.75rem;
}

.match-card-link:hover {
  background: transparent;
  color: var(--primary-dark);
}

.token-form {
  display: grid;
  gap: 0.7rem;
  max-width: 460px;
}

label {
  font-size: 0.85rem;
  font-weight: 750;
}

.token-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.6rem;
}

input {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  min-height: 2.75rem;
  padding: 0.68rem 0.75rem;
}

select {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  min-height: 2.4rem;
  padding: 0.45rem 0.55rem;
}

input:focus {
  border-color: var(--primary);
  outline: 3px solid rgba(21, 94, 239, 0.14);
}

.message {
  min-height: 1.2rem;
  font-size: 0.86rem;
}

.message.warn {
  color: var(--red);
}

.message.success {
  color: var(--green);
}

.toolbar {
  display: grid;
  gap: 0.45rem;
  margin-bottom: 0.9rem;
  max-width: 420px;
}

.table-wrap {
  overflow-x: auto;
}

table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
}

th,
td {
  border-bottom: 1px solid var(--line);
  padding: 0.78rem 0.82rem;
  text-align: left;
  vertical-align: middle;
}

th {
  background: #f8fafc;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 800;
}

tr:last-child td {
  border-bottom: 0;
}

.match-name {
  align-items: center;
  display: inline-flex;
  gap: 0.55rem;
  min-width: 0;
}

.match-name.compact {
  gap: 0.7rem;
}

.match-logos {
  align-items: center;
  display: inline-flex;
  flex: 0 0 auto;
}

.team-logo {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
  box-shadow: 0 1px 2px rgba(16, 24, 40, 0.08);
  height: 1.65rem;
  object-fit: contain;
  padding: 0.14rem;
  width: 1.65rem;
}

.team-logo + .team-logo {
  margin-left: -0.32rem;
}

.details-header .team-logo {
  height: 2rem;
  width: 2rem;
}

.block-details {
  margin: -0.78rem -0.82rem;
}

.block-details > summary {
  align-items: center;
  cursor: pointer;
  display: grid;
  gap: 0;
  grid-template-columns: 1fr 1fr 0.8fr 1.4fr 1fr;
  list-style: none;
}

.block-details > summary::-webkit-details-marker {
  display: none;
}

.block-details > summary > span {
  align-items: center;
  display: flex;
  min-height: 3.25rem;
  padding: 0.78rem 0.82rem;
}

.block-details > summary:hover {
  background: #f8fafc;
}

.breakdown-list {
  border-top: 1px solid var(--line);
  display: grid;
  gap: 0.45rem;
  padding: 0.75rem 0.82rem;
}

.breakdown-item {
  align-items: center;
  background: #f8fafc;
  border: 1px solid var(--line);
  border-radius: 8px;
  display: flex;
  justify-content: space-between;
  padding: 0.6rem 0.7rem;
}

.breakdown-item span {
  font-weight: 750;
}

.availability {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 7rem;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 850;
  padding: 0.38rem 0.62rem;
}

.availability.available {
  background: var(--green-soft);
  color: var(--green);
}

.availability.limited {
  background: var(--amber-soft);
  color: var(--amber);
}

.availability.on-request,
.availability.request {
  background: #eff6ff;
  color: var(--primary);
}

.availability.sold-out {
  background: var(--sold-soft);
  color: #4b5563;
}

.availability.sold {
  background: #e5e7eb;
  color: #374151;
}

.availability.reserved {
  background: var(--reserved-soft);
  color: var(--reserved);
}

.availability.hidden {
  background: #111827;
  color: #fff;
}

.empty-state {
  padding: 1rem 0 0;
  font-weight: 650;
}

.clickable-row {
  cursor: pointer;
}

.clickable-row:hover,
.clickable-row:focus {
  background: #f8fafc;
  outline: none;
}

.details-header {
  align-items: center;
  display: flex;
  gap: 0.9rem;
  margin-bottom: 0.9rem;
}

.details-header h2 {
  font-size: 1.25rem;
  line-height: 1.2;
  margin: 0;
}

.details-summary {
  display: grid;
  gap: 0.65rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-bottom: 0.9rem;
}

.summary-item {
  background: #f8fafc;
  border: 1px solid var(--line);
  border-radius: 8px;
  display: grid;
  gap: 0.25rem;
  padding: 0.75rem;
}

.summary-item span {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 800;
}

.summary-item strong {
  font-size: 1.35rem;
  line-height: 1;
}

.booking-toolbar {
  align-items: end;
  display: grid;
  gap: 0.75rem;
  grid-template-columns: minmax(180px, 260px) 1fr;
  margin-bottom: 0.9rem;
}

.booking-toolbar label {
  grid-column: 1;
}

.booking-toolbar input {
  grid-column: 1;
}

.option-filters {
  align-items: center;
  display: flex;
  flex-wrap: nowrap;
  gap: 0.45rem;
  grid-column: 2;
  grid-row: 1 / span 2;
  min-width: 0;
  overflow: visible;
}

.filter-option {
  background: #fff;
  border: 1px solid var(--line);
  color: var(--ink);
  min-height: 2.45rem;
  padding: 0.45rem 0.7rem;
}

.filter-option:hover,
.filter-option.active {
  background: #eef4ff;
  border-color: rgba(21, 94, 239, 0.28);
  color: var(--primary-dark);
}

.more-filter-wrap {
  position: relative;
}

.more-filter-button::after {
  content: "⌄";
  display: inline-block;
  font-size: 0.78rem;
  margin-left: 0.35rem;
}

.more-filter-menu {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: 0 18px 45px rgba(17, 24, 39, 0.14);
  display: grid;
  gap: 0.25rem;
  min-width: 12rem;
  padding: 0.45rem;
  position: absolute;
  right: 0;
  top: calc(100% + 0.45rem);
  z-index: 30;
}

.more-filter-menu[hidden] {
  display: none;
}

.more-filter-menu button {
  background: transparent;
  border-radius: 10px;
  box-shadow: none;
  color: var(--ink);
  font-size: 0.88rem;
  min-height: 2.25rem;
  padding: 0.45rem 0.65rem;
  text-align: left;
}

.more-filter-menu button:hover,
.more-filter-menu button.active {
  background: #eff6ff;
  color: var(--primary);
}

.match-detail-panel .more-filter-menu {
  background: rgba(8, 17, 31, 0.98);
  border-color: rgba(255, 255, 255, 0.12);
  box-shadow: 0 22px 55px rgba(0, 0, 0, 0.35);
}

.match-detail-panel .more-filter-menu button {
  color: rgba(249, 250, 251, 0.82);
}

.match-detail-panel .more-filter-menu button:hover,
.match-detail-panel .more-filter-menu button.active {
  background: rgba(37, 99, 235, 0.22);
  color: #fff;
}

.request-button {
  min-width: 5.5rem;
  padding: 0.52rem 0.72rem;
}

.option-action-stack {
  align-items: flex-start;
  display: inline-grid;
  gap: 0.35rem;
}

.option-status-badge {
  min-width: 0;
  width: fit-content;
}

.unavailable-option-row,
.unavailable-option-row td {
  background: #f4f5f7;
  color: #667085;
}

.unavailable-option-row {
  box-shadow: none;
  opacity: 0.78;
}

.sold-option-row {
  background: #eef0f3;
  border-color: #d1d5db;
  opacity: 0.58;
}

.reserved-option-row {
  background: #f3f4ff;
  border-color: #dbe0ff;
  opacity: 0.72;
}

.sold-option-row .ticket-card-main div,
.reserved-option-row .ticket-card-main div {
  background: rgba(229, 231, 235, 0.8);
}

.unavailable-option-row .match-name,
.unavailable-option-row .locked-qty {
  opacity: 0.78;
}

.unavailable-option-row .ticket-card-main div {
  background: #eef1f5;
}

.unavailable-option-row .request-button {
  background: #e4e7ec;
  color: #667085;
  cursor: not-allowed;
}

.locked-qty {
  font-weight: 800;
}

.unavailable-qty {
  color: #667085;
}

.seat-preference-input {
  min-height: 5.5rem;
  resize: vertical;
  width: min(100%, 48rem);
}

.seat-preference-input:required {
  border-color: rgba(21, 94, 239, 0.38);
}

.seat-preference-row,
.seat-preference-row td {
  background: #f8fbff;
  padding: 0.9rem;
}

.seat-preference-row {
  border: 1px solid var(--line);
  border-radius: 10px;
  margin-top: 0.75rem;
}

.seat-preference-row label {
  display: grid;
  gap: 0.45rem;
  max-width: 52rem;
}

.seat-preference-row span {
  color: var(--ink);
  font-size: 0.85rem;
  font-weight: 850;
}

.custom-request-option,
.custom-request-option td {
  background: #fbfcff;
}

.custom-request-option .ticket-card-topline strong,
.custom-request-option h4,
.custom-request-option td:first-child,
.custom-request-option td:nth-child(2) {
  font-weight: 850;
}

.admin-edit-row {
  background: #f7f9fc;
  border: 1px solid var(--line);
  border-radius: 10px;
  margin-top: 0.75rem;
  max-width: 100%;
  min-width: 0;
  overflow-x: hidden;
  overflow-y: visible;
}

.admin-edit-row summary {
  color: var(--primary-dark);
  cursor: pointer;
  font-size: 0.82rem;
  font-weight: 850;
  padding: 0.65rem 0.75rem;
}

.admin-inline-editor {
  align-items: start;
  display: grid;
  gap: 0.55rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  max-width: 100%;
  min-width: 0;
  overflow-x: hidden;
  overflow-y: visible;
  padding: 0 0.75rem 0.75rem;
}

details.admin-edit-row:not([open]) .admin-inline-editor {
  display: none;
}

.admin-inline-editor label {
  display: grid;
  gap: 0.32rem;
  max-width: 100%;
  min-width: 0;
}

.admin-inline-editor label span {
  color: var(--muted);
  font-size: 0.75rem;
  font-weight: 850;
  min-width: 0;
  overflow: hidden;
  overflow-wrap: anywhere;
  text-overflow: ellipsis;
}

.admin-inline-editor input,
.admin-inline-editor select,
.admin-inline-editor textarea {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-sizing: border-box;
  color: var(--ink);
  max-width: 100%;
  min-height: 2.35rem;
  min-width: 0;
  padding: 0.48rem 0.58rem;
  text-overflow: ellipsis;
  width: 100%;
}

.admin-inline-editor textarea {
  min-height: 2.35rem;
  overflow-wrap: anywhere;
  resize: vertical;
}

.admin-note-field {
  grid-column: 1 / -1;
}

.admin-save-button {
  box-sizing: border-box;
  grid-column: 1 / -1;
  justify-self: stretch;
  max-width: 100%;
  min-height: 2.35rem;
  min-width: 0;
  padding: 0.48rem 0.72rem;
  width: 100%;
}

.on-request-section,
.seating-plan-section {
  border-top: 1px solid var(--line);
  margin-top: 1rem;
  padding-top: 1rem;
}

.on-request-section h3,
.seating-plan-section h3,
.matching-blocks h4 {
  margin: 0;
}

.seating-plan-header {
  align-items: center;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.8rem;
}

.muted-text {
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 650;
  margin-top: 0.2rem;
}

.button-link {
  align-items: center;
  background: var(--primary);
  border-radius: 8px;
  color: #fff;
  display: inline-flex;
  font-weight: 800;
  min-height: 2.45rem;
  padding: 0.52rem 0.72rem;
  text-decoration: none;
}

.button-link:hover {
  background: var(--primary-dark);
}

.seating-plan-layout {
  display: grid;
  gap: 0.85rem;
  grid-template-columns: minmax(0, 1fr) 220px;
}

.seating-plan-image,
.seating-plan-frame {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  display: block;
  width: 100%;
}

.seating-plan-map {
  display: block;
  position: relative;
}

.request-area-overlay {
  height: 100%;
  inset: 0;
  pointer-events: none;
  position: absolute;
  width: 100%;
}

.request-zone-shape {
  fill: rgba(37, 99, 235, 0);
  opacity: 0;
  stroke: rgba(37, 99, 235, 0);
  stroke-linejoin: round;
  stroke-width: 1.2;
  transition: opacity 240ms ease, fill 240ms ease, stroke 240ms ease, filter 240ms ease;
  vector-effect: non-scaling-stroke;
}

.request-zone-shape.active {
  fill: rgba(37, 99, 235, 0.2);
  filter: url(#request-zone-glow);
  opacity: 1;
  stroke: rgba(37, 99, 235, 0.7);
}

.request-mode-booking-card {
  background: #fff;
  border: 1px solid rgba(226, 232, 240, 0.95);
  border-radius: 16px;
  box-shadow: 0 16px 36px rgba(15, 23, 42, 0.08);
  display: grid;
  gap: 0.8rem;
  padding: 1rem;
}

.request-mode-booking-card > p {
  color: #475569;
  font-weight: 800;
  margin: 0;
}

.request-mode-open-button {
  justify-self: start;
}

.request-inquiry-section {
  display: grid;
  gap: 0.85rem;
}

.request-inquiry-divider {
  align-items: center;
  color: #94a3b8;
  display: grid;
  font-size: 0.78rem;
  font-weight: 900;
  gap: 0.75rem;
  grid-template-columns: 1fr auto 1fr;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.request-inquiry-divider span {
  background: rgba(148, 163, 184, 0.22);
  height: 1px;
}

.request-other-seats-card {
  background: linear-gradient(180deg, #f8fbff, #ffffff);
  border-style: dashed;
  border-color: rgba(37, 99, 235, 0.35);
}

.request-other-seats-card .ticket-card-topline strong {
  color: #1d4ed8;
}

.section-overlay {
  inset: 0;
  height: 100%;
  pointer-events: auto;
  position: absolute;
  width: 100%;
}

.section-shape {
  fill: rgba(15, 23, 42, 0.08);
  stroke: rgba(148, 163, 184, 0.25);
  stroke-width: 1.1;
  pointer-events: none;
  opacity: 1;
  transform-box: fill-box;
  transform-origin: center;
  transition: opacity 250ms ease, fill 250ms ease, stroke 250ms ease, stroke-width 250ms ease, transform 250ms ease, filter 250ms ease;
  vector-effect: non-scaling-stroke;
}

.section-shape.available {
  cursor: pointer;
  pointer-events: all;
}

.section-shape.available:hover {
  fill: rgba(37, 99, 235, 0.12);
  filter: brightness(1.18);
  stroke: rgba(37, 99, 235, 0.72);
}

.section-shape.unavailable {
  opacity: 0.16;
}

.section-dim-layer {
  fill: rgba(2, 6, 23, 0.68);
  pointer-events: none;
}

.section-overlay.has-selection .section-shape.dimmed {
  filter: none;
  opacity: 0.3;
  stroke-width: 0.85;
}

.section-overlay.has-selection .section-shape.unavailable.dimmed {
  opacity: 0.16;
}

.section-overlay.has-selection .section-shape.selected {
  filter: brightness(1.18) drop-shadow(0 0 12px rgba(37, 99, 235, 0.64));
  opacity: 1;
  stroke: #2563eb;
  stroke-width: 2.8;
  transform: scale(1.03);
}

.section-spotlight {
  cursor: pointer;
  filter: drop-shadow(0 0 13px rgba(34, 211, 238, 0.74));
  fill: rgba(34, 211, 238, 0.26);
  pointer-events: all;
  stroke: #22d3ee;
  stroke-linejoin: round;
  stroke-width: 3;
  transform-box: fill-box;
  transform-origin: center;
  transition: opacity 240ms ease, transform 240ms ease, filter 240ms ease;
  transform: scale(1.04);
  vector-effect: non-scaling-stroke;
}

.seating-plan-image {
  height: auto;
}

.seating-plan-preview {
  background: transparent;
  border: 0;
  color: inherit;
  padding: 0;
  text-align: left;
}

.seating-plan-preview:hover {
  background: transparent;
}

.seating-plan-preview:focus-visible {
  border-radius: 8px;
  outline: 3px solid rgba(21, 94, 239, 0.2);
}

.seating-plan-frame {
  min-height: 520px;
}

.seating-plan-unavailable {
  background: #f8fafc;
  border: 1px solid var(--line);
  border-radius: 8px;
  display: grid;
  gap: 0.75rem;
  padding: 0.9rem;
}

.matching-blocks {
  background: #f8fafc;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0.8rem;
}

.block-chip-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-top: 0.6rem;
}

.block-chip {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--ink);
  cursor: pointer;
  font: inherit;
  font-weight: 800;
  padding: 0.28rem 0.55rem;
}

.block-chip.active {
  background: #eff6ff;
  border-color: rgba(37, 99, 235, 0.36);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.08);
  color: var(--primary);
}

.selected-section-options {
  border-top: 1px solid var(--line);
  display: grid;
  gap: 0.45rem;
  margin-top: 0.75rem;
  padding-top: 0.75rem;
}

.selected-section-options h5 {
  color: var(--muted);
  font-size: 0.78rem;
  margin: 0;
}

.selected-ticket-option {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  display: grid;
  gap: 0.18rem;
  padding: 0.55rem;
}

.selected-ticket-option strong {
  color: var(--ink);
  font-size: 0.86rem;
}

.selected-ticket-option span {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 700;
}

.seating-plan-dialog {
  border: 0;
  border-radius: 16px;
  box-shadow: 0 28px 80px rgba(17, 24, 39, 0.18);
  max-height: min(92vh, 980px);
  max-width: min(94vw, 1200px);
  padding: 0;
  width: 94vw;
}

.seating-plan-dialog::backdrop {
  background: rgba(17, 24, 39, 0.58);
}

.dialog-header {
  align-items: center;
  border-bottom: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.85rem;
}

.dialog-header h3 {
  margin: 0;
}

.dialog-plan-image {
  display: block;
  height: auto;
  max-height: calc(92vh - 5rem);
  object-fit: contain;
  padding: 0.85rem;
  width: 100%;
}

.match-detail-panel {
  background: #050b14;
  border: 0;
  border-radius: 20px;
  box-shadow: 0 30px 80px rgba(2, 6, 23, 0.22);
  margin: 0 -0.25rem;
  padding: 0.8rem;
}

.detail-top-actions {
  align-items: center;
  display: flex;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.6rem;
}

.detail-breadcrumbs {
  align-items: center;
  color: #64748b;
  display: flex;
  flex-wrap: wrap;
  font-size: 0.88rem;
  gap: 0.45rem;
  line-height: 1.45;
  margin: 0 0 0.9rem;
  max-width: 100%;
  min-width: 0;
}

.detail-breadcrumbs a {
  color: inherit;
  font-weight: 650;
  max-width: 100%;
  text-decoration: none;
}

.detail-breadcrumbs a:hover {
  color: #2563eb;
}

.breadcrumb-separator {
  color: #9ca3af;
  flex: 0 0 auto;
}

.breadcrumb-current {
  color: #111827;
  font-weight: 750;
  min-width: 0;
  overflow-wrap: anywhere;
}

.back-button {
  margin-bottom: 0.85rem;
}

.block-panel,
.map-ticket-panel,
.ticket-options-panel {
  background: rgba(10, 18, 32, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 18px;
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.24);
  color: #f9fafb;
}

.match-hero-card {
  background: #111827;
  border: 0;
  border-radius: 18px;
  box-shadow: 0 22px 55px rgba(17, 24, 39, 0.2);
  display: block;
  isolation: isolate;
  margin-bottom: 1rem;
  min-height: 285px;
  overflow: hidden;
  padding: 1.5rem;
  position: relative;
}

.match-hero-copy h2 {
  color: #fff;
  font-size: clamp(2rem, 4vw, 3.4rem);
  letter-spacing: 0;
  line-height: 0.98;
  margin: 0;
  max-width: 760px;
}

.match-hero-card .eyebrow {
  color: rgba(255, 255, 255, 0.72);
}

.hero-date {
  color: rgba(255, 255, 255, 0.88);
  font-size: 1rem;
  font-weight: 850;
  margin-top: 0.8rem;
}

.hero-info-grid {
  display: grid;
  gap: 0.65rem;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 1.15rem;
  max-width: 760px;
}

.hero-info-grid article {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 14px;
  display: grid;
  gap: 0.22rem;
  min-height: 3.4rem;
  padding: 0.62rem 0.7rem;
}

.hero-info-grid span {
  color: rgba(255, 255, 255, 0.64);
  font-size: 0.72rem;
  font-weight: 850;
}

.hero-info-grid strong {
  align-items: center;
  display: flex;
  color: #fff;
  font-size: 0.9rem;
  font-weight: 850;
}

.match-hero-media {
  background: #111827;
  inset: 0;
  overflow: hidden;
  position: absolute;
  z-index: -2;
}

.match-hero-media img {
  display: block;
  height: 100%;
  object-fit: cover;
  width: 100%;
}

.match-hero-card::after {
  background: linear-gradient(90deg, rgba(3, 7, 18, 0.82), rgba(3, 7, 18, 0.55) 46%, rgba(3, 7, 18, 0.2));
  content: "";
  inset: 0;
  position: absolute;
  z-index: -1;
}

.status-dot {
  background: currentColor;
  border-radius: 999px;
  display: inline-block;
  height: 0.5rem;
  margin-right: 0.36rem;
  width: 0.5rem;
}

.match-detail-grid {
  align-items: start;
  display: grid;
  gap: 1rem;
  grid-template-columns: minmax(240px, 0.26fr) minmax(360px, 0.44fr) minmax(310px, 0.3fr);
}

.block-panel {
  display: grid;
  gap: 0.55rem;
  padding: 0.8rem;
}

.block-panel-header {
  align-items: center;
  display: flex;
  gap: 0.75rem;
  justify-content: space-between;
}

.block-panel-header h3,
.ticket-table-heading strong {
  margin: 0;
}

.block-panel-header span {
  color: rgba(249, 250, 251, 0.58);
  font-size: 0.78rem;
  font-weight: 750;
}

.request-mode-header {
  align-items: flex-start;
  display: block;
}

.request-mode-header p {
  color: rgba(71, 85, 105, 0.86);
  font-size: 0.84rem;
  font-weight: 700;
  line-height: 1.45;
  margin: 0.45rem 0 0;
}

.preference-card-list {
  display: grid;
  gap: 0.65rem;
}

.preference-card {
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(226, 232, 240, 0.95);
  border-radius: 14px;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.06);
  color: #0f172a;
  cursor: pointer;
  display: grid;
  gap: 0.2rem;
  padding: 0.8rem;
  text-align: left;
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.preference-card:hover {
  border-color: rgba(37, 99, 235, 0.32);
  box-shadow: 0 16px 34px rgba(15, 23, 42, 0.1);
  transform: translateY(-1px);
}

.preference-card.active {
  background: #eff6ff;
  border-color: rgba(37, 99, 235, 0.58);
  box-shadow: 0 18px 40px rgba(37, 99, 235, 0.16);
}

.preference-card strong {
  font-size: 0.93rem;
}

.preference-card span {
  color: #2563eb;
  font-size: 0.76rem;
  font-weight: 900;
}

.preference-card em {
  color: #2563eb;
  font-size: 0.78rem;
  font-style: normal;
  font-weight: 900;
}

.preference-card em small {
  color: #64748b;
  display: block;
  font-size: 0.68rem;
  font-weight: 760;
  margin-top: 0.1rem;
}

.block-list {
  display: grid;
  gap: 0.28rem;
}

.block-row {
  align-items: center;
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  color: #f9fafb;
  display: grid;
  gap: 0.4rem;
  grid-template-columns: 1fr auto;
  min-height: 3.25rem;
  padding: 0.58rem 0.68rem;
  position: relative;
  text-align: left;
  transition: background 220ms ease, border-color 220ms ease, box-shadow 220ms ease, transform 220ms ease;
}

.block-row::before {
  background: transparent;
  border-radius: 999px;
  content: "";
  height: calc(100% - 1rem);
  left: 0.35rem;
  opacity: 0;
  position: absolute;
  top: 0.5rem;
  transition: opacity 220ms ease, background 220ms ease;
  width: 0.22rem;
}

.block-row:hover {
  background: rgba(37, 99, 235, 0.18);
  border-color: rgba(96, 165, 250, 0.58);
  box-shadow: 0 0 0 1px rgba(96, 165, 250, 0.24), 0 16px 36px rgba(37, 99, 235, 0.18);
  transform: scale(1.015);
}

.block-row.active {
  background: rgba(37, 99, 235, 0.24);
  border-color: rgba(34, 211, 238, 0.72);
  box-shadow: 0 0 0 1px rgba(34, 211, 238, 0.3), 0 18px 42px rgba(34, 211, 238, 0.18);
  transform: scale(1.02);
}

.block-row.active::before {
  background: #22d3ee;
  opacity: 1;
}

.block-row em {
  color: rgba(249, 250, 251, 0.58);
  grid-column: 1 / -1;
  font-style: normal;
  font-size: 0.82rem;
  font-weight: 800;
  text-align: left;
}

.left-request-other-wrap {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  margin-top: 0.45rem;
  padding-top: 0.8rem;
}

.left-request-other-wrap .request-other-seats-card {
  background: rgba(37, 99, 235, 0.12);
  border-color: rgba(96, 165, 250, 0.38);
  box-shadow: none;
  color: #f8fafc;
  padding: 0.78rem;
}

.left-request-other-wrap .request-other-seats-card .ticket-card-main h4 {
  color: rgba(226, 232, 240, 0.78);
  font-size: 0.84rem;
  line-height: 1.35;
}

.left-request-other-wrap .request-other-seats-card .ticket-card-topline strong {
  color: #bfdbfe;
}

.left-request-other-wrap .request-other-seats-card .inline-request-panel {
  margin-top: 0.7rem;
}

.block-legend {
  align-items: center;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  color: rgba(249, 250, 251, 0.58);
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  padding-top: 0.75rem;
}

.block-legend strong {
  color: #f9fafb;
  font-size: 0.78rem;
}

.block-legend span {
  align-items: center;
  display: inline-flex;
  font-size: 0.76rem;
  font-weight: 800;
  gap: 0.28rem;
}

.legend-dot {
  border-radius: 999px;
  display: inline-block;
  height: 0.55rem;
  width: 0.55rem;
}

.legend-dot.available { background: var(--green); }
.legend-dot.limited { background: var(--amber); }
.legend-dot.request { background: var(--primary); }
.legend-dot.reserved { background: var(--reserved); }
.legend-dot.sold { background: var(--sold); }

.map-ticket-panel {
  overflow: hidden;
  padding: 0.85rem;
}

.ticket-options-panel {
  max-height: calc(100vh - 2rem);
  overflow: auto;
  padding: 0.85rem;
}

.marketplace-filter-bar {
  align-items: start;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  display: grid;
  gap: 0.7rem;
  grid-template-columns: minmax(160px, 0.34fr) 1fr;
  margin: -0.1rem 0 0.85rem;
  padding-bottom: 0.85rem;
}

.marketplace-filter-bar label,
.marketplace-filter-bar input {
  grid-column: 1;
}

.marketplace-filter-bar .option-filters {
  grid-column: 2;
  grid-row: 1 / span 2;
}

.map-ticket-panel .seating-plan-section {
  border-top: 0;
  margin-top: 0;
  padding-top: 0;
}

.match-detail-panel label,
.map-ticket-panel h3,
.block-panel h3,
.ticket-table-heading strong {
  color: #f9fafb;
}

.match-detail-panel .muted-text {
  color: rgba(249, 250, 251, 0.58);
}

.marketplace-filter-bar input {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.12);
  color: #fff;
}

.marketplace-filter-bar input::placeholder {
  color: rgba(249, 250, 251, 0.45);
}

.match-detail-panel .filter-option {
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(255, 255, 255, 0.1);
  color: rgba(249, 250, 251, 0.82);
}

.match-detail-panel .filter-option:hover,
.match-detail-panel .filter-option.active {
  background: #fff;
  border-color: #fff;
  color: #08111f;
}

.map-ticket-panel .seating-plan-layout {
  justify-items: center;
  grid-template-columns: 1fr;
}

.map-ticket-panel .seating-plan-preview,
.map-ticket-panel .seating-plan-map {
  width: min(100%, 520px);
}

.map-ticket-panel .seating-plan-image {
  background: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 12px;
}

.ticket-table-heading {
  align-items: center;
  background: rgba(255, 255, 255, 0.055);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: 0.7rem;
  padding: 0.62rem 0.75rem;
}

.ticket-table-heading span {
  color: rgba(249, 250, 251, 0.62);
  font-size: 0.86rem;
  font-weight: 800;
}

.selection-heading-copy {
  display: grid;
  gap: 0.14rem;
  margin-right: auto;
}

.selection-heading-copy span {
  color: rgba(249, 250, 251, 0.56);
  font-size: 0.74rem;
  letter-spacing: 0;
  text-transform: uppercase;
}

.selection-heading-copy strong {
  color: #fff;
  font-size: 1.05rem;
}

.selection-heading-copy em {
  color: rgba(249, 250, 251, 0.68);
  font-size: 0.82rem;
  font-style: normal;
  font-weight: 760;
}

.clear-filter-button {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
  box-shadow: none;
  color: var(--muted);
  font-size: 0.8rem;
  min-height: 2rem;
  padding: 0.35rem 0.65rem;
}

.clear-filter-button:hover {
  background: #f9fafb;
  color: var(--ink);
}

.ticket-card-wrap {
  margin-top: 0.65rem;
}

.ticket-card-grid {
  display: grid;
  gap: 0.75rem;
  grid-template-columns: 1fr;
}

.ticket-option-card {
  background: rgba(255, 255, 255, 0.965);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 16px;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.22);
  display: grid;
  gap: 0.7rem;
  padding: 0.85rem;
  transition: border-color 220ms ease, box-shadow 220ms ease, transform 220ms ease;
}

.ticket-option-card[data-section-id] {
  cursor: pointer;
}

.ticket-option-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 22px 46px rgba(0, 0, 0, 0.28);
}

.ticket-option-card.active-block-option {
  border-color: rgba(37, 99, 235, 0.72);
  box-shadow: 0 18px 42px rgba(37, 99, 235, 0.22);
}

.ticket-option-card.request-expanded {
  border-color: rgba(37, 99, 235, 0.52);
}

.inline-request-panel {
  background: linear-gradient(180deg, #ffffff, #f8fafc);
  border: 1px solid rgba(226, 232, 240, 0.95);
  border-radius: 14px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9);
  display: grid;
  gap: 0.9rem;
  padding: 0.9rem;
}

.inline-request-header {
  align-items: flex-start;
  display: flex;
  gap: 0.5rem;
  justify-content: space-between;
}

.inline-request-header strong {
  color: #0f172a;
  font-size: 0.95rem;
}

.inline-request-header span {
  color: #64748b;
  font-size: 0.78rem;
  font-weight: 700;
  text-align: right;
}

.request-price-panel {
  background: #eff6ff;
  border: 1px solid rgba(37, 99, 235, 0.18);
  border-radius: 12px;
  display: grid;
  gap: 0.16rem;
  padding: 0.75rem 0.85rem;
}

.request-price-panel strong {
  color: #0f172a;
  font-size: 0.95rem;
}

.request-price-panel span {
  color: #2563eb;
  font-size: 0.75rem;
  font-weight: 850;
}

.request-section {
  display: grid;
  gap: 0.45rem;
}

.request-section h5 {
  color: #334155;
  font-size: 0.78rem;
  margin: 0;
  text-transform: uppercase;
}

.request-section p {
  color: #64748b;
  font-size: 0.78rem;
  margin: 0;
}

.request-chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.request-chip-row.compact {
  gap: 0.3rem;
}

.request-chip {
  background: #fff;
  border: 1px solid #dbe3ef;
  border-radius: 999px;
  color: #334155;
  cursor: pointer;
  font: inherit;
  font-size: 0.8rem;
  font-weight: 800;
  padding: 0.42rem 0.64rem;
  transition: background 180ms ease, border-color 180ms ease, color 180ms ease, transform 180ms ease;
}

.request-chip:hover:not(:disabled) {
  border-color: rgba(37, 99, 235, 0.45);
  transform: translateY(-1px);
}

.request-chip.active {
  background: #eff6ff;
  border-color: rgba(37, 99, 235, 0.55);
  color: #1d4ed8;
}

.request-chip:disabled {
  cursor: not-allowed;
  opacity: 0.35;
}

.request-priority-list {
  display: grid;
  gap: 0.45rem;
}

.request-priority-item {
  align-items: center;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  display: flex;
  gap: 0.5rem;
  justify-content: space-between;
  padding: 0.55rem;
}

.request-priority-item > span {
  color: #0f172a;
  font-size: 0.82rem;
  font-weight: 800;
}

.inline-input-label {
  align-items: center;
  display: flex;
  gap: 0.5rem;
}

.inline-input-label span {
  color: #64748b;
  font-size: 0.8rem;
  font-weight: 800;
}

.inline-input-label input,
.request-notes-input {
  background: #fff;
  border: 1px solid #dbe3ef;
  border-radius: 10px;
  color: #111827;
  font: inherit;
  padding: 0.55rem 0.65rem;
}

.inline-input-label input {
  max-width: 9rem;
}

.request-notes-input {
  min-height: 72px;
  resize: vertical;
  width: 100%;
}

.inline-request-actions {
  display: flex;
  gap: 0.5rem;
  justify-content: flex-end;
}

.inline-request-actions button,
.request-review-button,
.submit-inline-request-button,
.secondary-button {
  border: 0;
  border-radius: 10px;
  cursor: pointer;
  font: inherit;
  font-weight: 900;
  padding: 0.58rem 0.85rem;
}

.request-review-button,
.submit-inline-request-button {
  background: #2563eb;
  color: #fff;
}

.secondary-button {
  background: #eef2f7;
  color: #475569;
}

.request-summary-list {
  display: grid;
  gap: 0.45rem;
  margin: 0;
}

.request-summary-list div {
  align-items: start;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  display: grid;
  gap: 0.25rem;
  grid-template-columns: minmax(110px, 0.38fr) 1fr;
  padding: 0.55rem;
}

.request-summary-list dt {
  color: #64748b;
  font-size: 0.76rem;
  font-weight: 900;
}

.request-summary-list dd {
  color: #0f172a;
  font-size: 0.84rem;
  font-weight: 800;
  margin: 0;
}

.request-error {
  background: #fff7ed;
  border: 1px solid #fed7aa;
  border-radius: 10px;
  color: #c2410c;
  font-size: 0.82rem;
  font-weight: 800;
  margin: 0;
  padding: 0.55rem;
}

.request-submitted-notice {
  background: #ecfdf5;
  border: 1px solid #bbf7d0;
  border-radius: 12px;
  color: #047857;
  display: grid;
  gap: 0.2rem;
  padding: 0.65rem;
}

.request-submitted-notice strong {
  font-size: 0.84rem;
}

.request-submitted-notice span {
  font-size: 0.78rem;
  font-weight: 800;
}

.ticket-card-topline {
  align-items: center;
  display: flex;
  gap: 0.6rem;
  justify-content: space-between;
}

.ticket-card-topline strong {
  color: var(--ink);
  font-size: 0.95rem;
}

.ticket-card-main h4 {
  font-size: 1.08rem;
  line-height: 1.15;
  margin: 0 0 0.55rem;
}

.ticket-card-main dl {
  display: grid;
  gap: 0.45rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin: 0;
}

.ticket-card-main div {
  background: #f9fafb;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 0.55rem;
}

.ticket-card-main dt {
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 850;
  margin-bottom: 0.2rem;
}

.ticket-card-main dd {
  color: var(--ink);
  font-weight: 900;
  margin: 0;
}

.ticket-card-main dd small {
  color: var(--muted);
  display: block;
  font-size: 0.68rem;
  font-weight: 800;
  margin-top: 0.16rem;
}

.ticket-card-actions {
  display: grid;
}

.ticket-card-actions .request-button {
  width: 100%;
}

.availability.request {
  background: #eff6ff;
  color: var(--primary);
}

.availability.reserved {
  background: var(--reserved-soft);
  color: var(--reserved);
}

.section-shape.status-available,
.section-shape.status-limited,
.section-shape.status-request,
.section-shape.status-reserved,
.section-shape.status-sold {
  pointer-events: all;
}

.section-shape.status-available {
  fill: rgba(16, 185, 129, 0.18);
  stroke: rgba(16, 185, 129, 0.65);
}

.section-shape.status-limited {
  fill: rgba(245, 158, 11, 0.18);
  stroke: rgba(245, 158, 11, 0.7);
}

.section-shape.status-request {
  fill: rgba(37, 99, 235, 0.14);
  stroke: rgba(37, 99, 235, 0.68);
}

.section-shape.status-reserved {
  fill: rgba(99, 102, 241, 0.14);
  stroke: rgba(99, 102, 241, 0.62);
}

.section-shape.status-sold {
  fill: rgba(156, 163, 175, 0.18);
  stroke: rgba(156, 163, 175, 0.58);
}

.section-shape.available.selected,
.section-spotlight {
  fill: rgba(37, 99, 235, 0.24);
  stroke: var(--primary);
}

@media (max-width: 1180px) {
  .site-two-column,
  .site-band,
  .contact-layout {
    grid-template-columns: 1fr;
  }

  .competition-page-grid,
  .faq-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .text-cta {
    justify-self: start;
  }

  .brand-story {
    grid-template-columns: 1fr;
  }

  .brand-competition-grid,
  .home-featured-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .brand-footer {
    grid-template-columns: 1fr;
  }

  .catalogue-home-hero {
    grid-template-columns: 1fr;
  }

  .marketplace-intro,
  .marketplace-footer {
    grid-template-columns: 1fr;
  }

  .featured-match-strip,
  .competition-browse-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .latest-ticket-strip,
  .advanced-filter-panel,
  .trust-card-grid,
  .process-card-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .catalogue-stats {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .match-card-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .match-detail-grid {
    grid-template-columns: minmax(240px, 0.34fr) minmax(0, 0.66fr);
  }

  .ticket-options-panel {
    grid-column: 1 / -1;
    max-height: none;
  }

  .ticket-card-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 680px) {
  .site-header {
    align-items: center;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
  }

  .site-hero,
  .site-two-column,
  .site-band {
    border-radius: 22px;
  }

  .site-card-grid.three,
  .competition-page-grid,
  .contact-form,
  .faq-grid {
    grid-template-columns: 1fr;
  }

  .brand-shell {
    padding: 0.75rem;
  }

  .brand-nav {
    align-items: center;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    left: 1.25rem;
    right: 1.25rem;
    top: 1rem;
  }

  .image-brand-logo img {
    height: clamp(2.75rem, 13vw, 3.45rem);
  }

  .mobile-nav-toggle {
    display: inline-flex;
  }

  .brand-nav nav,
  .marketplace-nav {
    background: rgba(255, 255, 255, 0.96);
    border: 1px solid rgba(229, 231, 235, 0.9);
    border-radius: 18px;
    box-shadow: 0 18px 48px rgba(15, 23, 42, 0.16);
    display: none;
    gap: 0.25rem;
    grid-column: 1 / -1;
    margin-top: 0.6rem;
    max-width: 100%;
    overflow: hidden;
    padding: 0.55rem;
    width: 100%;
  }

  .brand-nav nav.open,
  .marketplace-nav.open {
    display: grid;
  }

  .brand-nav a:not(.brand-logo),
  .marketplace-nav a {
    color: #111827;
    display: block;
    padding: 0.75rem 0.85rem;
    width: 100%;
  }

  .brand-hero {
    border-radius: 22px;
    min-height: min(720px, calc(100svh - 24px));
    padding: 9.5rem 1.25rem 1rem;
  }

  .brand-hero-copy h1 {
    font-size: clamp(2.85rem, 15vw, 5rem);
  }

  .brand-hero-service-strip {
    grid-template-columns: 1fr;
  }

  .brand-hero-service-strip article {
    border-bottom: 1px solid rgba(148, 163, 184, 0.14);
    border-right: 0;
    padding: 0.8rem;
  }

  .brand-hero-service-strip article:last-child {
    border-bottom: 0;
  }

  .brand-competition-grid,
  .home-featured-grid {
    grid-template-columns: 1fr;
  }

  .brand-band {
    border-radius: 24px;
  }

  .brand-footer {
    align-items: flex-start;
    display: grid;
  }

  .brand-footer-columns {
    grid-template-columns: 1fr;
  }

  .catalogue-home-hero {
    border-radius: 18px;
    min-height: min(680px, calc(100svh - 72px));
    padding: 1.25rem;
  }

  .hero-cta-row {
    display: grid;
  }

  .featured-match-strip,
  .latest-ticket-strip,
  .competition-browse-grid,
  .advanced-filter-panel,
  .marketplace-ticket-facts,
  .trust-card-grid,
  .process-card-grid {
    grid-template-columns: 1fr;
  }

  .advanced-filter-panel .secondary-button,
  .primary-cta,
  .secondary-cta {
    width: 100%;
  }

  .catalogue-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .home-search-wrap input {
    padding-right: 1rem;
  }

  .search-shortcut-hint {
    display: none;
  }

  .catalogue-controls {
    align-items: stretch;
    display: grid;
    top: 0;
  }

  .sort-control {
    justify-content: space-between;
  }

  .catalogue-section-header {
    align-items: start;
    display: grid;
  }

  .match-card-grid {
    grid-template-columns: 1fr;
  }

  .match-card {
    min-height: 0;
  }

  .match-card-footer {
    align-items: stretch;
    display: grid;
  }

  .catalogue-header {
    align-items: flex-start;
    display: grid;
  }

  .header-actions {
    justify-items: start;
  }

  .last-updated {
    white-space: normal;
  }

  .token-row {
    grid-template-columns: 1fr;
  }

  table,
  thead,
  tbody,
  tr,
  th,
  td {
    display: block;
  }

  thead {
    display: none;
  }

  table {
    border: 0;
    overflow: visible;
  }

  tr {
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fff;
    margin-bottom: 0.7rem;
    overflow: hidden;
  }

  td {
    display: grid;
    grid-template-columns: 7rem 1fr;
    gap: 0.7rem;
    border-bottom: 1px solid var(--line);
    min-width: 0;
  }

  td::before {
    content: attr(data-label);
    color: var(--muted);
    font-size: 0.76rem;
    font-weight: 800;
  }

  td:last-child {
    border-bottom: 0;
  }

  .block-details {
    margin: 0;
  }

  .block-details > summary {
    display: grid;
    grid-template-columns: 1fr;
  }

  .block-details > summary > span {
    display: grid;
    gap: 0.7rem;
    grid-template-columns: 7rem 1fr;
    min-height: 0;
    padding: 0.72rem 0.82rem;
  }

  .block-details > summary > span::before {
    content: attr(data-label);
    color: var(--muted);
    font-size: 0.76rem;
    font-weight: 800;
  }

  .availability {
    min-width: 0;
    width: fit-content;
  }

  .details-header {
    align-items: flex-start;
    display: grid;
  }

  .match-detail-grid {
    grid-template-columns: 1fr;
  }

  .match-hero-card {
    min-height: 320px;
    padding: 1.1rem;
  }

  .hero-info-grid {
    grid-template-columns: 1fr 1fr;
  }

  .ticket-card-grid {
    grid-template-columns: 1fr;
  }

  .ticket-card-main dl {
    grid-template-columns: 1fr;
  }

  .block-row {
    grid-template-columns: 1fr auto;
  }

  .block-row em {
    grid-column: 2;
  }

  .details-summary {
    grid-template-columns: 1fr;
  }

  .booking-toolbar {
    grid-template-columns: 1fr;
  }

  .booking-toolbar label,
  .booking-toolbar input,
  .option-filters {
    grid-column: auto;
    grid-row: auto;
  }

  .admin-edit-row td {
    display: block;
  }

  .admin-edit-row td::before {
    content: "";
    display: none;
  }

  .admin-inline-editor {
    align-items: stretch;
    grid-template-columns: 1fr;
  }

  .seating-plan-header,
  .seating-plan-layout {
    display: grid;
    grid-template-columns: 1fr;
  }
}

/* Inventory group model UI */
.inventory-block-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.06);
  display: grid;
  gap: 12px;
  margin-bottom: 14px;
  padding: 16px;
}

.inventory-block-header {
  align-items: start;
  display: flex;
  gap: 12px;
  justify-content: space-between;
}

.inventory-block-header h3 {
  color: var(--ink);
  font-size: 1rem;
  margin: 0;
}

.inventory-block-header p,
.inventory-block-summary {
  color: var(--muted);
  font-size: 0.88rem;
  margin: 4px 0 0;
}

.inventory-block-summary {
  background: #f8fafc;
  border-radius: 12px;
  padding: 9px 11px;
}

.inventory-group-list {
  display: grid;
  gap: 10px;
}

.inventory-group-row {
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  display: grid;
  gap: 10px;
  padding: 12px;
}

.inventory-group-row.sold {
  background: #f9fafb;
  opacity: 0.82;
}

.inventory-group-main,
.inventory-group-meta,
.purchase-confirm-actions {
  align-items: center;
  display: flex;
  gap: 10px;
  justify-content: space-between;
}

.inventory-group-main strong {
  color: var(--ink);
  display: block;
  font-size: 1rem;
}

.inventory-group-main span,
.inventory-group-main em,
.inventory-group-meta span,
.inventory-group-row small {
  color: var(--muted);
  font-size: 0.84rem;
  font-style: normal;
}

.inventory-group-meta span:first-child {
  color: var(--ink);
  font-weight: 800;
}

.purchase-stepper {
  align-items: center;
  background: #f8fafc;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  display: grid;
  grid-template-columns: 44px 1fr 44px;
  min-height: 44px;
  overflow: hidden;
}

.purchase-stepper strong {
  color: var(--ink);
  text-align: center;
}

.purchase-stepper-button {
  background: #fff;
  border: 0;
  color: #2563eb;
  cursor: pointer;
  font-size: 1.25rem;
  font-weight: 900;
  min-height: 44px;
}

.purchase-stepper-button:disabled {
  color: #9ca3af;
  cursor: not-allowed;
}

.purchase-confirm-panel {
  background: #f8fbff;
  border: 1px solid #bfdbfe;
  border-radius: 12px;
  display: grid;
  gap: 10px;
  padding: 12px;
}

.purchase-confirm-panel > strong {
  color: var(--ink);
}

.purchase-confirm-panel dl {
  display: grid;
  gap: 7px;
  margin: 0;
}

.purchase-confirm-panel dl div {
  display: flex;
  justify-content: space-between;
  gap: 12px;
}

.purchase-confirm-panel dt {
  color: var(--muted);
  font-weight: 700;
}

.purchase-confirm-panel dd {
  color: var(--ink);
  font-weight: 800;
  margin: 0;
  text-align: right;
}

.purchase-confirm-actions .request-button,
.purchase-confirm-actions .secondary-button,
.inventory-group-row > .request-button {
  min-height: 44px;
}

@media (max-width: 760px) {
  .inventory-block-card {
    border-radius: 16px;
    gap: 10px;
    margin-bottom: 12px;
    padding: 14px;
  }

  .inventory-group-row {
    gap: 9px;
    padding: 12px;
  }

  .inventory-group-main,
  .inventory-group-meta {
    align-items: flex-start;
  }

  .inventory-group-row > .request-button,
  .purchase-confirm-actions .request-button,
  .purchase-confirm-actions .secondary-button {
    width: 100%;
  }

  .purchase-confirm-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .purchase-confirm-panel {
    padding-bottom: calc(12px + env(safe-area-inset-bottom));
  }
}

/* DINOSPHERE ticket UI V2: compact inventory-first booking flow */
.compact-booking-v2 .catalogue-shell {
  max-width: 1440px;
}

.compact-booking-v2 .match-detail-panel {
  background: #050914;
  border-radius: 18px;
  padding: 0.75rem;
}

.compact-booking-v2 .match-hero-card {
  margin-bottom: 0.75rem;
  min-height: 104px;
  padding: 1rem 1.15rem;
}

.compact-booking-v2 .match-hero-copy h2 {
  font-size: clamp(1.25rem, 2.2vw, 2rem);
  line-height: 1.06;
  max-width: 780px;
}

.compact-booking-v2 .hero-date {
  font-size: 0.9rem;
  margin-top: 0.45rem;
}

.compact-booking-v2 .hero-info-grid {
  display: none;
}

.compact-booking-v2 .match-detail-grid {
  align-items: stretch;
  display: grid;
  gap: 0.75rem;
  grid-template-columns: minmax(0, 0.38fr) minmax(0, 0.62fr);
  max-width: 100%;
  min-width: 0;
  overflow: visible;
}

.compact-booking-v2 .booking-toolbar,
.compact-booking-v2 #confirmed-options-wrap {
  display: none;
}

.compact-booking-v2 .block-panel,
.compact-booking-v2 .map-ticket-panel,
.compact-booking-v2 .ticket-options-panel {
  background: rgba(8, 15, 29, 0.96);
  border-color: rgba(148, 163, 184, 0.18);
  border-radius: 14px;
}

.compact-booking-v2 .block-panel {
  container-name: block-panel;
  container-type: inline-size;
  max-height: calc(100vh - 184px);
  overflow: auto;
  overflow-x: hidden;
  padding: 0.7rem;
}

.compact-block-list {
  gap: 0.45rem;
}

.block-accordion {
  background: rgba(15, 23, 42, 0.72);
  border: 1px solid rgba(148, 163, 184, 0.14);
  border-radius: 12px;
  overflow: hidden;
  transition: border-color 220ms ease, box-shadow 220ms ease, transform 220ms ease;
}

.block-accordion.active {
  border-color: rgba(37, 99, 235, 0.86);
  box-shadow: 0 0 0 1px rgba(37, 99, 235, 0.32), 0 18px 42px rgba(37, 99, 235, 0.18);
}

.compact-block-row {
  background: transparent;
  border: 0;
  border-radius: 0;
  grid-template-columns: minmax(0, 1fr) auto auto;
  min-height: 0;
  min-width: 0;
  padding: 0.78rem 0.85rem;
  width: 100%;
}

.compact-block-row:hover,
.compact-block-row.active {
  background: rgba(37, 99, 235, 0.18);
  border-color: transparent;
  box-shadow: none;
  transform: none;
}

.compact-block-row::before {
  display: none;
}

.block-row-title {
  display: grid;
  gap: 0.18rem;
  min-width: 0;
}

.block-row-title strong {
  color: #f8fafc;
  font-size: 0.96rem;
  letter-spacing: 0.01em;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.compact-block-row .block-row-title em {
  color: rgba(226, 232, 240, 0.62);
  font-size: 0.78rem;
  grid-column: auto;
  line-height: 1.3;
}

.block-chevron {
  color: rgba(226, 232, 240, 0.7);
  font-size: 1rem;
  font-weight: 900;
  line-height: 1;
}

.block-inline-options {
  border-top: 1px solid rgba(148, 163, 184, 0.14);
  display: grid;
  gap: 0.45rem;
  max-width: 100%;
  min-width: 0;
  overflow: hidden;
  padding: 0.55rem;
}

.block-inline-empty {
  color: rgba(226, 232, 240, 0.65);
  font-size: 0.84rem;
  padding: 0.65rem 0.75rem 0.8rem;
}

.inline-ticket-row {
  background: rgba(2, 6, 23, 0.52);
  border: 1px solid rgba(148, 163, 184, 0.13);
  border-radius: 10px;
  display: grid;
  gap: 0.55rem;
  grid-template-columns: minmax(0, 1fr) minmax(0, auto);
  max-width: 100%;
  min-width: 0;
  overflow: hidden;
  padding: 0.72rem;
  transition: background 200ms ease, border-color 200ms ease, box-shadow 200ms ease;
}

.inline-ticket-row.selected {
  background: rgba(37, 99, 235, 0.17);
  border-color: rgba(37, 99, 235, 0.68);
  box-shadow: 0 0 0 1px rgba(37, 99, 235, 0.2);
}

.inline-ticket-row.unavailable {
  opacity: 0.58;
}

.inline-ticket-info {
  display: grid;
  gap: 0.18rem;
  min-width: 0;
}

.inline-ticket-info strong {
  color: #f8fafc;
  font-size: 0.88rem;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
}

.inline-ticket-info span,
.inline-ticket-right em {
  color: rgba(226, 232, 240, 0.64);
  font-size: 0.78rem;
  font-style: normal;
  font-weight: 760;
}

.inline-ticket-right {
  align-items: end;
  display: grid;
  gap: 0.42rem;
  justify-items: end;
  min-width: 0;
}

.inline-quantity-buttons {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 0.38rem;
  justify-content: flex-end;
  max-width: 100%;
  min-width: 0;
}

.inline-quantity-button {
  background: rgba(15, 23, 42, 0.85);
  border: 1px solid rgba(148, 163, 184, 0.2);
  border-radius: 8px;
  color: #e5e7eb;
  cursor: pointer;
  font-size: 0.88rem;
  font-weight: 900;
  min-height: 2.1rem;
  min-width: 2.35rem;
  padding: 0.36rem 0.55rem;
  transition: background 180ms ease, border-color 180ms ease, color 180ms ease, transform 180ms ease;
}

.inline-quantity-button:hover {
  background: rgba(37, 99, 235, 0.24);
  border-color: rgba(96, 165, 250, 0.66);
  transform: translateY(-1px);
}

.inline-quantity-button.active {
  background: #2563eb;
  border-color: #2563eb;
  color: #fff;
  box-shadow: 0 8px 22px rgba(37, 99, 235, 0.34);
}

.compact-admin-details {
  grid-column: 1 / -1;
  max-width: 100%;
  min-width: 0;
  overflow-x: hidden;
  overflow-y: visible;
}

.compact-admin-details summary {
  color: #bfdbfe;
  cursor: pointer;
  font-size: 0.76rem;
  font-weight: 850;
  overflow-wrap: anywhere;
}

.compact-admin-details[open] {
  display: block;
}

.compact-admin-details .admin-edit-row {
  background: rgba(15, 23, 42, 0.58);
  border-color: rgba(148, 163, 184, 0.18);
  color: #e5e7eb;
  margin-top: 0.5rem;
}

.compact-admin-details .admin-inline-editor {
  padding: 0.55rem;
}

.compact-admin-details .admin-inline-editor label span {
  color: rgba(226, 232, 240, 0.68);
}

.compact-admin-details .admin-inline-editor input,
.compact-admin-details .admin-inline-editor select,
.compact-admin-details .admin-inline-editor textarea {
  background: rgba(2, 6, 23, 0.7);
  border-color: rgba(148, 163, 184, 0.22);
  color: #f8fafc;
}

.compact-booking-v2 .map-ticket-panel {
  min-height: 0;
  overflow: hidden;
  padding: 0.75rem;
}

.compact-booking-v2 .map-ticket-panel .seating-plan-preview,
.compact-booking-v2 .map-ticket-panel .seating-plan-map {
  max-width: 100%;
  min-width: 0;
  width: min(100%, 680px);
}

.compact-booking-v2 .map-ticket-panel .seating-plan-image {
  border-radius: 10px;
}

.compact-booking-v2 .ticket-options-panel {
  bottom: 0.75rem;
  grid-column: 1 / -1;
  max-height: none;
  overflow: hidden;
  padding: 0;
  position: sticky;
  z-index: 35;
}

.compact-booking-v2 .ticket-table-heading {
  background: rgba(7, 14, 27, 0.94);
  border: 1px solid rgba(96, 165, 250, 0.24);
  border-radius: 14px;
  box-shadow: 0 20px 54px rgba(2, 6, 23, 0.4);
  margin: 0;
  padding: 0.7rem;
}

.compact-booking-bar {
  align-items: center;
  display: grid;
  gap: 0.7rem;
  grid-template-columns: minmax(0, 1fr) minmax(0, auto) minmax(0, auto);
  max-width: 100%;
  min-width: 0;
  width: 100%;
}

.compact-booking-selected {
  display: grid;
  gap: 0.2rem;
}

.compact-booking-selected span,
.compact-booking-total span,
.compact-booking-bar small {
  color: rgba(226, 232, 240, 0.62);
  font-size: 0.74rem;
  font-weight: 800;
}

.compact-booking-selected strong,
.compact-booking-total strong {
  color: #f8fafc;
  font-size: 0.98rem;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
}

.compact-booking-total {
  display: grid;
  gap: 0.2rem;
  min-width: 82px;
}

.compact-booking-submit {
  border-radius: 10px;
  max-width: 100%;
  min-height: 2.75rem;
  min-width: 0;
  padding-inline: 1.05rem;
  white-space: normal;
}

.compact-booking-submit:disabled {
  background: rgba(148, 163, 184, 0.3);
  box-shadow: none;
  color: rgba(226, 232, 240, 0.62);
  cursor: not-allowed;
}

.compact-clear-selection {
  justify-self: start;
}

@container block-panel (max-width: 520px) {
  .admin-form-grid,
  .admin-inline-editor {
    grid-template-columns: 1fr;
  }

  .inline-ticket-row {
    grid-template-columns: 1fr;
  }

  .inline-ticket-right {
    align-items: start;
    justify-items: start;
  }

  .inline-quantity-buttons {
    justify-content: flex-start;
  }
}

@media (max-width: 980px) {
  .compact-booking-v2 .match-detail-grid {
    grid-template-columns: 1fr;
  }

  .compact-booking-v2 .block-panel {
    max-height: none;
  }

  .compact-booking-v2 .ticket-options-panel {
    bottom: 0.55rem;
  }
}

@media (max-width: 640px) {
  .compact-booking-v2 .match-detail-panel {
    margin: 0 -0.75rem;
    padding: 0.55rem;
  }

  .compact-booking-v2 .match-hero-card {
    min-height: 92px;
    padding: 0.85rem;
  }

  .compact-booking-v2 .match-hero-copy h2 {
    font-size: 1.05rem;
  }

  .inline-ticket-row {
    grid-template-columns: 1fr;
  }

  .inline-ticket-right {
    align-items: start;
    justify-items: start;
  }

  .compact-booking-bar {
    grid-template-columns: 1fr;
  }

  .compact-booking-total {
    grid-template-columns: auto 1fr;
    min-width: 0;
  }

  .compact-booking-submit {
    width: 100%;
  }
}

.inventory-overview-card,
.record-sale-panel,
.inventory-history-wrap {
  background: rgba(7, 16, 31, 0.72);
  border: 1px solid rgba(148, 163, 184, 0.24);
  border-radius: 12px;
  box-sizing: border-box;
  color: #e5edf8;
  margin-top: 10px;
  max-width: 100%;
  min-width: 0;
  overflow: hidden;
  padding: 12px;
}

.inventory-overview-title,
.record-sale-heading {
  align-items: center;
  display: flex;
  justify-content: space-between;
  margin-bottom: 10px;
  min-width: 0;
}

.inventory-overview-grid {
  display: grid;
  gap: 8px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.inventory-overview-grid > div {
  background: rgba(15, 23, 42, 0.72);
  border: 1px solid rgba(148, 163, 184, 0.18);
  border-radius: 10px;
  min-width: 0;
  padding: 10px;
  text-align: center;
}

.inventory-overview-grid span,
.inventory-overview-grid em {
  color: #94a3b8;
  display: block;
  font-size: 0.72rem;
  font-style: normal;
  overflow-wrap: anywhere;
}

.inventory-overview-grid strong {
  color: #f8fafc;
  display: block;
  font-size: 1.45rem;
  line-height: 1.1;
}

.inventory-overview-grid .remaining {
  border-color: rgba(34, 197, 94, 0.7);
  box-shadow: inset 0 0 0 1px rgba(34, 197, 94, 0.18);
}

.inventory-overview-grid .remaining strong {
  color: #4ade80;
}

.inventory-overview-grid .sold-count {
  color: #fbbf24;
}

.inventory-status-summary {
  color: #cbd5e1;
  font-size: 0.82rem;
  margin: 10px 0 0;
  overflow-wrap: anywhere;
}

.inventory-admin-actions,
.record-sale-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px;
  min-width: 0;
}

.inventory-action-button,
.record-sale-submit,
.transaction-reverse-button {
  background: #2563eb;
  border: 0;
  border-radius: 10px;
  box-sizing: border-box;
  color: #fff;
  cursor: pointer;
  font-weight: 800;
  max-width: 100%;
  min-width: 0;
  padding: 10px 12px;
}

.inventory-action-button:nth-child(2) {
  background: rgba(100, 116, 139, 0.42);
}

.release-reservation-button {
  background: rgba(99, 102, 241, 0.5);
}

.record-sale-panel {
  display: grid;
  gap: 10px;
}

.record-sale-panel label {
  display: grid;
  gap: 5px;
  min-width: 0;
}

.record-sale-panel input,
.record-sale-panel select,
.record-sale-panel textarea {
  background: rgba(15, 23, 42, 0.86);
  border: 1px solid rgba(148, 163, 184, 0.28);
  border-radius: 9px;
  box-sizing: border-box;
  color: #f8fafc;
  max-width: 100%;
  min-width: 0;
  padding: 9px 10px;
  width: 100%;
}

.sale-qty-stepper {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr) 44px;
  max-width: 100%;
  min-width: 0;
}

.sale-qty-button,
.panel-close-button {
  background: rgba(148, 163, 184, 0.14);
  border: 1px solid rgba(148, 163, 184, 0.24);
  color: #e5edf8;
  cursor: pointer;
}

.sale-qty-button:first-child {
  border-radius: 9px 0 0 9px;
}

.sale-qty-button:last-child {
  border-radius: 0 9px 9px 0;
}

.panel-close-button {
  border-radius: 999px;
  height: 30px;
  width: 30px;
}

.admin-history-table-wrap {
  max-width: 100%;
  min-width: 0;
  overflow-x: auto;
}

.admin-history-table {
  border-collapse: collapse;
  color: #e5edf8;
  font-size: 0.78rem;
  min-width: 560px;
  width: 100%;
}

.admin-history-table td {
  border-bottom: 1px solid rgba(148, 163, 184, 0.16);
  max-width: 180px;
  overflow-wrap: anywhere;
  padding: 8px;
  vertical-align: top;
}

.inventory-history-wrap details {
  min-width: 0;
}

.inventory-history-wrap summary {
  cursor: pointer;
  font-weight: 800;
  padding: 8px 0;
}

@media (max-width: 720px) {
  .inventory-overview-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
