:root {
  --paper: #f6f2ec;
  --paper-deep: #eee7dc;
  --ticket: #fffdfa;
  --ink: #191a1e;
  --ink-soft: #3c3b40;
  --steel: #716e6b;
  --rule: #e5ded4;
  --signal: #2578f5;
  --signal-strong: #0d5fd7;
  --signal-pale: #e8f0ff;
  --positive: #2d8a65;
  --danger: #b83935;
  --focus: #0a5ccb;
  --radius-control: 16px;
  --radius-card: 20px;
  --radius-large: 24px;
  --page: min(1240px, calc(100vw - 64px));
  --font: "Unbounded", "Geologica", "Helvetica Neue", -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  --shadow-stage: 0 18px 50px rgba(36, 30, 23, 0.15);
}

* {
  box-sizing: border-box;
}

html {
  min-width: 320px;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font);
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  min-height: 100vh;
  margin: 0;
  background:
    linear-gradient(90deg, rgba(25, 26, 30, 0.018) 1px, transparent 1px) 0 0 / 64px 64px,
    var(--paper);
  color: var(--ink);
  font-size: 16px;
  line-height: 1.45;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body.is-focused .site-header,
body.is-focused .mobile-dock {
  display: none;
}

body[data-route="sell"] .site-footer {
  display: none;
}

button,
input,
select,
textarea {
  color: inherit;
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button {
  cursor: pointer;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
}

h1,
h2,
h3,
h4,
p {
  margin-top: 0;
}

h1,
h2,
h3,
h4,
strong {
  font-weight: 650;
}

:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 1000;
  padding: 12px 16px;
  border-radius: 12px;
  background: var(--ink);
  color: white;
  transform: translateY(-160%);
}

.skip-link:focus {
  transform: none;
}

.icon {
  width: 22px;
  height: 22px;
  flex: 0 0 auto;
}

.asset-icon {
  display: inline-block;
  background: currentColor;
  -webkit-mask: var(--icon-asset) center / contain no-repeat;
  mask: var(--icon-asset) center / contain no-repeat;
}

.site-header {
  position: relative;
  z-index: 40;
  height: 72px;
  border-bottom: 1px solid var(--rule);
  background: rgba(246, 242, 236, 0.94);
}

.site-header__inner {
  width: var(--page);
  height: 100%;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
}

.wordmark {
  width: max-content;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0.045em;
}

.wordmark__mark,
.account-gate__mark,
.identity-avatar {
  display: grid;
  place-items: center;
  color: white;
  background: var(--signal);
  font-weight: 700;
}

.wordmark__mark {
  width: 34px;
  height: 34px;
  border-radius: 11px 11px 3px 11px;
  transform: rotate(-4deg);
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 5px;
  border: 1px solid var(--rule);
  border-radius: 15px;
  background: var(--ticket);
}

.desktop-nav a {
  min-height: 38px;
  padding: 9px 16px;
  border-radius: 10px;
  color: var(--steel);
  font-size: 14px;
  font-weight: 600;
}

.desktop-nav a:hover,
.desktop-nav a.is-active {
  background: var(--ink);
  color: white;
}

.header-actions {
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 12px;
}

.city-chip {
  color: var(--steel);
  font-size: 14px;
  font-weight: 600;
}

.city-chip::before {
  content: "";
  display: inline-block;
  width: 7px;
  height: 7px;
  margin-right: 7px;
  border-radius: 50%;
  background: var(--positive);
}

.header-profile {
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  border-radius: 50%;
  background: var(--ticket);
  border: 1px solid var(--rule);
  color: var(--signal);
}

.mobile-dock {
  display: none;
}

.page-frame {
  width: var(--page);
  margin-inline: auto;
}

.home-page {
  padding: 40px 0 96px;
}

.home-context {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
  margin-bottom: 24px;
}

.eyebrow {
  display: block;
  margin-bottom: 7px;
  color: var(--steel);
  font-size: 12px;
  font-weight: 650;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.home-context h1,
.page-title h1,
.checkout-heading h1,
.auth-sheet h1 {
  margin-bottom: 0;
  font-size: clamp(36px, 5vw, 68px);
  line-height: 0.98;
  letter-spacing: -0.055em;
}

.category-wheel {
  display: flex;
  gap: 8px;
  align-items: center;
  overflow-x: auto;
  scrollbar-width: none;
}

.category-wheel::-webkit-scrollbar,
.day-rail::-webkit-scrollbar,
.poster-rail::-webkit-scrollbar,
.people-rail::-webkit-scrollbar,
.lineup-rail::-webkit-scrollbar,
.gallery-rail::-webkit-scrollbar {
  display: none;
}

.category-orbit {
  min-width: 78px;
  min-height: 48px;
  padding: 7px 12px;
  display: flex;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--rule);
  border-radius: var(--radius-control);
  background: var(--ticket);
  white-space: nowrap;
  font-size: 13px;
  font-weight: 600;
}

.category-orbit__icon {
  display: grid;
  place-items: center;
}

.category-orbit__icon .icon {
  width: 19px;
  height: 19px;
}

.category-orbit:hover,
.category-orbit.is-active {
  border-color: var(--ink);
  background: var(--ink);
  color: white;
}

.home-discovery {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: flex-end;
  margin: -48px 0 64px;
}

.home-discovery .category-wheel {
  max-width: 100%;
  padding: 10px;
  border: 1px solid color-mix(in srgb, var(--rule) 84%, white);
  border-radius: 18px;
  background: color-mix(in srgb, var(--paper) 90%, transparent);
  box-shadow: 0 12px 36px rgba(28, 29, 33, 0.08);
  backdrop-filter: blur(14px);
}

.sponsor-stage {
  position: relative;
  margin: 0 0 80px;
}

.sponsor-stage__viewport {
  position: relative;
  height: clamp(420px, 58vh, 620px);
  overflow: hidden;
  border-radius: var(--radius-large);
  background: #15161a;
  box-shadow: var(--shadow-stage);
  touch-action: pan-y pinch-zoom;
  user-select: none;
}

.sponsor-stage__track {
  width: 100%;
  height: 100%;
  display: flex;
  transform: translate3d(calc((var(--stage-index, 0) * -100%) + var(--stage-drag, 0px)), 0, 0);
  transition: transform 680ms cubic-bezier(0.2, 0.72, 0.2, 1);
  will-change: transform;
}

.sponsor-stage__track.is-dragging,
.sponsor-stage__track.is-resetting {
  transition: none;
}

.sponsor-slide {
  position: relative;
  flex: 0 0 100%;
  min-width: 0;
  overflow: hidden;
  background: #15161a;
}

.sponsor-slide__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 35%;
  pointer-events: none;
  transform: scale(var(--media-scale, 1));
}

.sponsor-slide__veil {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(9, 10, 13, 0.84) 0%, rgba(9, 10, 13, 0.38) 49%, rgba(9, 10, 13, 0.08) 75%), linear-gradient(0deg, rgba(9, 10, 13, 0.72), transparent 50%);
  pointer-events: none;
}

.sponsor-slide__copy {
  position: absolute;
  left: clamp(28px, 5vw, 68px);
  bottom: clamp(32px, 7vh, 72px);
  z-index: 2;
  width: min(630px, 72%);
  color: white;
  pointer-events: none;
}

.sponsor-slide__venue {
  display: inline-block;
  margin-bottom: 16px;
  padding: 8px 12px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 999px;
  background: rgba(10, 11, 14, 0.25);
  font-size: 12px;
  font-weight: 650;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.sponsor-slide h2 {
  max-width: 700px;
  margin-bottom: 14px;
  font-size: clamp(44px, 7vw, 96px);
  line-height: 0.9;
  letter-spacing: -0.065em;
  text-wrap: balance;
}

.sponsor-slide__copy p {
  margin-bottom: 24px;
  color: rgba(255, 255, 255, 0.78);
  font-size: clamp(14px, 2vw, 18px);
}

.sponsor-slide__price {
  display: inline-block;
  padding: 12px 16px;
  border-radius: 12px 12px 12px 3px;
  background: var(--signal);
  font-weight: 700;
}

.sponsor-slide__hit,
.event-card__hit {
  position: absolute;
  inset: 0;
  z-index: 3;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.sponsor-stage__rail {
  position: absolute;
  right: 20px;
  bottom: 20px;
  z-index: 5;
  display: flex;
  align-items: center;
  gap: 12px;
  color: white;
  font-size: 12px;
  font-weight: 650;
  pointer-events: none;
}

.sponsor-stage__progress {
  width: 72px;
  height: 2px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.3);
}

.sponsor-stage__progress i {
  display: block;
  width: 100%;
  height: 100%;
  background: white;
  transform-origin: left;
  animation: stage-progress 4s linear infinite;
}

.sponsor-stage__rail button {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 50%;
  background: rgba(10, 11, 14, 0.42);
  color: white;
  pointer-events: auto;
}

@keyframes stage-progress {
  from { transform: scaleX(0); }
  to { transform: scaleX(1); }
}

.feed-section {
  margin-top: 96px;
}

.section-heading {
  margin-bottom: 28px;
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: end;
}

.section-heading h2 {
  margin-bottom: 4px;
  font-size: clamp(28px, 4vw, 46px);
  line-height: 1.02;
  letter-spacing: -0.045em;
}

.section-heading p,
.page-title p,
.checkout-heading p {
  margin-bottom: 0;
  color: var(--steel);
}

.section-heading--controls {
  border-top: 1px solid var(--ink);
  padding-top: 20px;
}

.text-action {
  min-height: 44px;
  padding: 8px 0;
  border: 0;
  border-bottom: 1px solid currentColor;
  background: transparent;
  color: var(--signal-strong);
  font-weight: 600;
}

.programme-controls {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 16px;
  align-items: stretch;
  margin-bottom: 24px;
}

.day-rail {
  display: grid;
  grid-template-columns: repeat(8, minmax(76px, 1fr));
  gap: 8px;
  min-width: 0;
  overflow-x: auto;
  scrollbar-width: none;
}

.day-pill,
.range-button {
  min-height: 84px;
  border: 1px solid var(--rule);
  border-radius: var(--radius-control);
  background: var(--ticket);
}

.day-pill {
  padding: 10px 8px;
  display: grid;
  justify-items: center;
  align-content: center;
  line-height: 1.1;
}

.day-pill span,
.day-pill small {
  color: var(--steel);
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
}

.day-pill strong {
  margin: 4px 0;
  font-size: 22px;
}

.day-pill:hover,
.day-pill.is-active,
.range-button:hover,
.range-button.is-active {
  border-color: var(--signal);
  background: var(--signal-pale);
  color: var(--signal-strong);
}

.range-button {
  width: 128px;
  padding: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 650;
}

.upcoming-list {
  border-top: 1px solid var(--rule);
}

.event-card {
  position: relative;
  min-width: 0;
  background: var(--ticket);
  isolation: isolate;
}

.event-card__media {
  overflow: hidden;
  background: var(--paper-deep);
}

.event-card__image,
.image-fallback {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.image-fallback {
  display: grid;
  place-items: center;
  background: linear-gradient(145deg, #b9d4ff, #3a82ef);
  color: white;
  font-size: 48px;
  font-weight: 700;
}

.event-card__copy h3 {
  margin-bottom: 6px;
  font-size: clamp(20px, 2.4vw, 28px);
  line-height: 1.05;
  letter-spacing: -0.035em;
}

.event-card__copy > p {
  margin-bottom: 0;
  color: var(--steel);
}

.event-card__date {
  display: block;
  margin-bottom: 10px;
  color: var(--signal-strong);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.event-card__foot {
  margin-top: auto;
  padding-top: 16px;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  color: var(--steel);
  font-size: 12px;
}

.event-card__foot strong {
  color: var(--ink);
  white-space: nowrap;
}

.event-card--wide {
  min-height: 172px;
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 24px;
  padding: 20px 0;
  border-bottom: 1px solid var(--rule);
  background: transparent;
}

.event-card--wide .event-card__media {
  border-radius: 16px;
}

.event-card--wide .event-card__copy {
  padding: 8px 20px 8px 0;
  display: flex;
  flex-direction: column;
}

.event-card:hover .event-card__image {
  filter: brightness(1.025);
}

.event-card__image {
  transform: scale(var(--media-scale, 1));
  transition: transform 420ms ease, filter 420ms ease;
}

.theatre-programme {
  padding: 36px;
  border-radius: var(--radius-large);
  background: var(--ink);
  color: white;
}

.theatre-programme .section-heading p,
.theatre-programme .people-rail-heading span,
.theatre-programme .person-card p {
  color: rgba(255, 255, 255, 0.56);
}

.theatre-grid {
  display: grid;
  grid-template-columns: 1.35fr 0.65fr 0.65fr;
  gap: 12px;
}

.event-card--theatre {
  min-height: 380px;
  overflow: hidden;
  border-radius: 18px;
  color: white;
}

.event-card--theatre:first-child {
  grid-row: span 2;
  min-height: 772px;
}

.event-card--theatre .event-card__media,
.event-card--theatre .event-card__media::after {
  position: absolute;
  inset: 0;
}

.event-card--theatre .event-card__media::after {
  content: "";
  background: linear-gradient(0deg, rgba(12, 12, 14, 0.9), transparent 64%);
}

.event-card--theatre .event-card__copy {
  position: absolute;
  inset: auto 0 0;
  z-index: 2;
  padding: 24px;
}

.event-card--theatre .event-card__copy > p,
.event-card--theatre .event-card__foot {
  color: rgba(255, 255, 255, 0.65);
}

.event-card--theatre .event-card__foot strong {
  color: white;
}

.people-rail-heading {
  margin: 36px 0 16px;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
}

.people-rail-heading h3 {
  margin: 0;
  font-size: 21px;
}

.people-rail-heading span {
  font-size: 12px;
}

.people-rail {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  max-width: 100%;
  overscroll-behavior-inline: contain;
  scrollbar-width: none;
}

.person-card {
  flex: 0 0 128px;
  min-width: 0;
  display: block;
  color: inherit;
}

.person-card__image {
  width: 86px;
  height: 86px;
  margin-bottom: 12px;
  border-radius: 50%;
  object-fit: cover;
  filter: grayscale(0.25);
}

.person-card h4 {
  margin-bottom: 2px;
  font-size: 13px;
}

.person-card p,
.person-card small,
.person-card__name {
  display: block;
  max-width: 100%;
  overflow-wrap: anywhere;
}

.person-card__name {
  margin-bottom: 3px;
  color: var(--ink);
  font-size: 13px;
  font-weight: 650;
  line-height: 1.15;
}

.person-card p,
.person-card small {
  color: var(--steel);
  font-size: 11px;
  line-height: 1.25;
}

.party-programme {
  padding-top: 28px;
  border-top: 0;
}

.poster-rail {
  display: grid;
  grid-auto-columns: minmax(230px, 25%);
  grid-auto-flow: column;
  gap: 16px;
  overflow-x: auto;
  scroll-snap-type: x proximity;
  scrollbar-width: none;
}

.event-card--poster {
  scroll-snap-align: start;
  overflow: hidden;
  border-radius: var(--radius-card);
  border: 1px solid var(--rule);
}

.event-card--poster .event-card__media {
  aspect-ratio: 4 / 5;
}

.event-card--poster .event-card__copy {
  min-height: 190px;
  padding: 20px;
  display: flex;
  flex-direction: column;
}

.workshop-programme {
  padding: 36px;
  border-radius: 0 var(--radius-large) var(--radius-large) var(--radius-large);
  background: #efe2c4;
}

.workshop-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: rgba(25, 26, 30, 0.18);
}

.event-card--workshop {
  min-height: 170px;
  padding: 20px;
  display: grid;
  grid-template-columns: 112px 1fr;
  gap: 20px;
}

.event-card--workshop .event-card__media {
  border-radius: 50%;
}

.event-card--workshop .event-card__copy {
  display: flex;
  flex-direction: column;
}

.state-sheet,
.route-loading {
  min-height: 260px;
  padding: 48px;
  display: grid;
  place-items: center;
  align-content: center;
  text-align: center;
}

.state-sheet h2 {
  margin: 12px 0 6px;
}

.state-sheet p {
  max-width: 540px;
  color: var(--steel);
}

.state-symbol {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border: 1px solid var(--rule);
  border-radius: 50%;
  background: var(--ticket);
  font-size: 22px;
}

.loading-rule {
  width: 112px;
  height: 3px;
  overflow: hidden;
  background: var(--rule);
}

.loading-rule::after {
  content: "";
  display: block;
  width: 45%;
  height: 100%;
  background: var(--signal);
  animation: loading 1.15s ease-in-out infinite alternate;
}

@keyframes loading {
  from { transform: translateX(-10%); }
  to { transform: translateX(135%); }
}

.button {
  min-height: 48px;
  padding: 12px 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid transparent;
  border-radius: var(--radius-control);
  font-size: 15px;
  font-weight: 650;
}

.button--signal {
  background: var(--signal);
  color: white;
}

.button--signal:hover {
  background: var(--signal-strong);
}

.button--ink {
  background: var(--ink);
  color: white;
}

.button--quiet {
  border-color: var(--rule);
  background: var(--ticket);
}

.button--wide {
  width: 100%;
}

.button:disabled,
.button.is-disabled {
  opacity: 0.46;
  pointer-events: none;
}

.paper-dialog {
  width: min(520px, calc(100vw - 32px));
  padding: 0;
  border: 1px solid var(--rule);
  border-radius: var(--radius-large);
  background: var(--ticket);
  color: var(--ink);
  box-shadow: 0 32px 90px rgba(25, 26, 30, 0.24);
}

.paper-dialog::backdrop {
  background: rgba(25, 26, 30, 0.48);
  backdrop-filter: blur(2px);
}

.paper-dialog form {
  padding: 28px;
}

.dialog-heading {
  display: flex;
  justify-content: space-between;
  gap: 16px;
}

.dialog-heading h2 {
  margin-bottom: 24px;
}

.icon-button {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border: 1px solid var(--rule);
  border-radius: 50%;
  background: var(--paper);
}

.date-fields {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.date-fields label,
.form-grid label,
.auth-form label {
  display: grid;
  gap: 7px;
  color: var(--steel);
  font-size: 12px;
  font-weight: 600;
}

input {
  width: 100%;
  min-height: 48px;
  padding: 11px 13px;
  border: 1px solid var(--rule);
  border-radius: 13px;
  background: var(--ticket);
  color: var(--ink);
}

input:focus {
  border-color: var(--signal);
}

.form-note {
  margin: 12px 0 0;
  color: var(--steel);
  font-size: 12px;
}

.dialog-actions {
  margin-top: 24px;
  display: flex;
  justify-content: flex-end;
  gap: 8px;
}

.search-page,
.orders-page,
.tickets-page,
.profile-page,
.checkout-page {
  padding: 64px 0 112px;
}

.page-title {
  max-width: 760px;
  margin-bottom: 48px;
}

.page-title h1 {
  margin-bottom: 14px;
}

.search-console {
  padding: 24px;
  border-top: 3px solid var(--ink);
  border-bottom: 1px solid var(--rule);
  background: var(--ticket);
}

.search-field {
  min-height: 64px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0 18px;
  border: 1px solid var(--rule);
  border-radius: var(--radius-control);
  background: var(--paper);
}

.search-field input {
  min-width: 0;
  min-height: 60px;
  padding: 0;
  border: 0;
  background: transparent;
  font-size: 20px;
}

.search-field input:focus {
  outline: 0;
}

.search-field button {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border: 0;
  background: transparent;
  color: var(--steel);
}

.search-filters {
  margin-top: 16px;
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 16px;
  align-items: center;
}

.date-fields--inline input {
  width: 145px;
}

.search-results {
  margin-top: 64px;
}

.search-result-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.event-card--search {
  min-height: 420px;
  overflow: hidden;
  border: 1px solid var(--rule);
  border-radius: var(--radius-card);
}

.event-card--search .event-card__media {
  height: 250px;
}

.event-card--search .event-card__copy {
  min-height: 190px;
  padding: 20px;
  display: flex;
  flex-direction: column;
}

.back-link {
  position: relative;
  z-index: 6;
  width: max-content;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: inherit;
  font-weight: 650;
}

.focused-page > .back-link,
.checkout-page > .back-link,
.detail-stage > .back-link {
  margin: 20px 0 16px;
}

.detail-hero {
  position: relative;
  height: min(82vh, 860px);
  min-height: 580px;
  overflow: hidden;
  background: #111216;
  color: white;
}

.detail-hero picture,
.detail-hero__image {
  display: block;
  width: 100%;
  height: 100%;
}

.detail-hero__image {
  object-fit: cover;
  object-position: center 30%;
  transform: scale(var(--media-scale, 1));
}

.detail-hero__wash {
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(10, 10, 12, 0.88) 0%, rgba(10, 10, 12, 0.15) 68%), linear-gradient(90deg, rgba(10, 10, 12, 0.34), transparent 55%);
}

.detail-hero__nav {
  position: absolute;
  top: max(20px, env(safe-area-inset-top));
  left: max(24px, calc((100vw - min(1240px, calc(100vw - 64px))) / 2));
}

.detail-hero__nav .back-link {
  padding: 0 14px;
  border-radius: 12px;
  background: rgba(10, 10, 12, 0.48);
  backdrop-filter: blur(8px);
}

.detail-hero__copy {
  position: absolute;
  left: max(24px, calc((100vw - min(1240px, calc(100vw - 64px))) / 2));
  right: max(24px, calc((100vw - min(1240px, calc(100vw - 64px))) / 2));
  bottom: 56px;
}

.detail-hero__copy > span {
  display: inline-block;
  margin-bottom: 14px;
  padding: 7px 10px;
  border-radius: 8px;
  background: var(--signal);
  font-size: 12px;
  font-weight: 700;
}

.detail-hero__copy h1 {
  max-width: 1000px;
  margin-bottom: 16px;
  font-size: clamp(56px, 10vw, 132px);
  line-height: 0.86;
  letter-spacing: -0.075em;
  text-wrap: balance;
}

.detail-hero__copy p {
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.75);
  font-size: 18px;
}

.detail-flow {
  padding: 0 0 160px;
}

.detail-facts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-bottom: 1px solid var(--ink);
}

.detail-facts > div {
  min-height: 148px;
  padding: 28px 24px;
  display: grid;
  grid-template-columns: 28px 1fr;
  grid-template-rows: auto 1fr;
  gap: 6px 12px;
  border-right: 1px solid var(--rule);
}

.detail-facts > div:last-child {
  border-right: 0;
}

.detail-facts .icon {
  grid-row: 1 / span 2;
  margin-top: 2px;
}

.detail-facts span {
  color: var(--steel);
  font-size: 12px;
  font-weight: 600;
}

.detail-facts strong {
  align-self: end;
  font-size: 18px;
}

.detail-copy {
  max-width: 800px;
  margin: 96px 0 0 16.67%;
}

.detail-copy p {
  color: var(--ink-soft);
  font-size: 19px;
  line-height: 1.7;
}

.detail-copy .detail-lead {
  color: var(--ink);
  font-size: clamp(26px, 4vw, 44px);
  line-height: 1.2;
  letter-spacing: -0.035em;
}

.detail-lineup,
.detail-gallery,
.ticket-preview {
  margin-top: 96px;
  padding-top: 28px;
  border-top: 1px solid var(--ink);
}

.lineup-rail,
.gallery-rail {
  display: flex;
  gap: 16px;
  max-width: 100%;
  overflow-x: auto;
  overflow-y: hidden;
  overscroll-behavior-inline: contain;
  scroll-snap-type: x proximity;
  scrollbar-width: none;
}

.lineup-person {
  flex: 0 0 clamp(230px, 26vw, 320px);
  min-width: 0;
  scroll-snap-align: start;
  overflow: hidden;
  border: 1px solid var(--rule);
  border-radius: var(--radius-card);
  background: var(--ticket);
  color: inherit;
  transition: transform 180ms ease, border-color 180ms ease;
}

.lineup-person:hover {
  border-color: rgba(37, 120, 245, 0.32);
  transform: translateY(-2px);
}

.lineup-person__image {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}

.lineup-person > div {
  padding: 18px;
}

.lineup-person h3 {
  margin-bottom: 3px;
  font-size: 20px;
  line-height: 1.08;
  overflow-wrap: anywhere;
}

.lineup-person p {
  margin-bottom: 12px;
  color: var(--steel);
  overflow-wrap: anywhere;
}

.lineup-person__badge {
  display: inline-flex;
  width: fit-content;
  margin-bottom: 12px;
  padding: 5px 8px;
  border-radius: 999px;
  background: var(--signal-pale);
  color: var(--signal-strong);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
}

.gallery-card {
  flex: 0 0 min(680px, 78vw);
  min-width: 0;
  margin: 0;
  overflow: hidden;
  border-radius: var(--radius-card);
  background: var(--ticket);
  border: 1px solid var(--rule);
  scroll-snap-align: start;
}

.gallery-image {
  width: 100%;
  height: clamp(340px, 55vw, 620px);
  object-fit: cover;
}

.gallery-card figcaption {
  padding: 12px 14px 14px;
  color: var(--steel);
  font-size: 12px;
  line-height: 1.35;
}

.gallery-card--compact {
  flex-basis: min(420px, 70vw);
}

.person-page {
  padding: 36px 0 96px;
}

.person-hero {
  margin-top: 26px;
  display: grid;
  grid-template-columns: minmax(280px, 420px) 1fr;
  gap: clamp(28px, 5vw, 72px);
  align-items: end;
}

.person-hero__photo {
  overflow: hidden;
  border-radius: var(--radius-large);
  border: 1px solid var(--rule);
  background: var(--ticket);
}

.person-hero__image {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}

.person-hero__copy h1 {
  margin-bottom: 14px;
  font-size: clamp(42px, 7vw, 84px);
  line-height: 0.95;
  letter-spacing: 0;
  overflow-wrap: anywhere;
}

.person-hero__copy p {
  max-width: 720px;
  color: var(--ink-soft);
  font-size: clamp(19px, 2.2vw, 30px);
}

.person-hero__copy strong,
.person-hero__copy small {
  display: block;
  margin-top: 12px;
  overflow-wrap: anywhere;
}

.person-hero__copy small {
  color: var(--steel);
}

.person-hero__bio {
  margin-top: 18px;
  max-width: 680px;
  font-size: 18px !important;
  line-height: 1.45;
}

.person-socials {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.person-socials a {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  padding: 9px 13px;
  border: 1px solid var(--rule);
  border-radius: var(--radius-control);
  background: var(--ticket);
  color: var(--ink);
  font-weight: 700;
  overflow-wrap: anywhere;
}

.person-panel,
.organizer-kpis,
.organizer-card-grid,
.monitor-grid {
  display: grid;
  gap: 16px;
}

.person-panel {
  margin-top: 36px;
  grid-template-columns: repeat(3, 1fr);
}

.person-panel > div,
.organizer-kpis article,
.organizer-card-grid article,
.monitor-grid article {
  min-width: 0;
  padding: 22px;
  border: 1px solid var(--rule);
  border-radius: var(--radius-large);
  background: var(--ticket);
}

.person-panel span,
.organizer-kpis span,
.monitor-grid span {
  color: var(--steel);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.person-panel strong,
.organizer-kpis strong,
.monitor-grid strong {
  display: block;
  margin: 8px 0;
  font-size: 30px;
  line-height: 1;
}

.person-panel p,
.organizer-card-grid p,
.monitor-grid p {
  margin: 0;
  color: var(--steel);
}

.person-section {
  margin-top: 72px;
}

.organizer-page {
  padding: 34px 0 96px;
}

.organizer-mobile-head {
  display: none;
}

.organizer-shell {
  display: grid;
  grid-template-columns: 292px 1fr;
  gap: 26px;
  align-items: start;
}

.organizer-nav {
  position: sticky;
  top: 92px;
  overflow: hidden;
  border: 1px solid var(--rule);
  border-radius: var(--radius-large);
  background: #25384a;
  color: rgba(255, 255, 255, 0.78);
}

.organizer-nav__brand {
  min-height: 86px;
  padding: 18px 20px;
  display: flex;
  align-items: center;
  gap: 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.organizer-nav__brand span {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: var(--signal);
  color: white;
  font-weight: 800;
}

.organizer-nav section {
  padding: 12px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.organizer-nav h2 {
  margin: 8px 20px 10px;
  color: white;
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.organizer-nav__item {
  min-height: 54px;
  padding: 12px 18px;
  display: grid;
  grid-template-columns: 26px 1fr;
  align-items: center;
  gap: 13px;
}

.organizer-nav__item .icon {
  width: 23px;
  height: 23px;
}

.organizer-nav__item.is-active {
  background: rgba(255, 255, 255, 0.09);
  color: white;
}

.organizer-main {
  min-width: 0;
}

.organizer-panel {
  min-width: 0;
  padding: clamp(24px, 4vw, 40px);
  border: 1px solid var(--rule);
  border-radius: var(--radius-large);
  background: var(--ticket);
}

.organizer-hero {
  padding: clamp(26px, 4vw, 42px);
  border-radius: var(--radius-large);
  background: linear-gradient(135deg, rgba(37, 120, 245, 0.14), rgba(37, 120, 245, 0.02)), var(--paper);
}

.organizer-hero h1 {
  max-width: 760px;
  margin-bottom: 14px;
  font-size: clamp(46px, 6vw, 82px);
  line-height: 0.92;
  letter-spacing: -0.065em;
}

.organizer-hero p {
  max-width: 780px;
  color: var(--ink-soft);
  font-size: 18px;
}

.organizer-hero__actions,
.organizer-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.organizer-kpis {
  margin-top: 16px;
  grid-template-columns: repeat(4, 1fr);
}

.organizer-card-grid,
.monitor-grid {
  margin-top: 18px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

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

.organizer-toolbar {
  margin-bottom: 20px;
}

.organizer-search {
  min-width: min(280px, 100%);
  margin-left: auto;
}

.organizer-search input {
  width: 100%;
  min-height: 48px;
  padding: 0 14px;
  border: 1px solid var(--rule);
  border-radius: var(--radius-control);
  background: var(--paper);
}

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

.organizer-row {
  min-width: 0;
  padding: 12px;
  display: grid;
  grid-template-columns: 88px minmax(0, 1fr) auto auto;
  gap: 14px;
  align-items: center;
  border: 1px solid var(--rule);
  border-radius: 18px;
  background: var(--paper);
}

.organizer-row__media {
  overflow: hidden;
  border-radius: 14px;
}

.organizer-row__media img,
.organizer-row__media .image-fallback {
  width: 88px;
  height: 88px;
  object-fit: cover;
}

.organizer-row h3 {
  margin-bottom: 4px;
  overflow-wrap: anywhere;
}

.organizer-row p,
.organizer-row span {
  margin: 0;
  color: var(--steel);
}

.organizer-row__actions {
  display: flex;
  gap: 8px;
}

.organizer-table {
  display: grid;
  grid-template-columns: repeat(6, minmax(120px, 1fr));
  overflow-x: auto;
  border: 1px solid var(--rule);
  border-radius: var(--radius-large);
  background: var(--paper);
}

.organizer-table--five {
  grid-template-columns: repeat(5, minmax(120px, 1fr));
}

.organizer-table > div {
  padding: 16px;
  color: var(--steel);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border-bottom: 1px solid var(--rule);
}

.organizer-table > p {
  grid-column: 1 / -1;
  min-height: 150px;
  margin: 0;
  display: grid;
  place-items: center;
  color: var(--steel);
}

.status-pill {
  display: inline-flex;
  width: fit-content;
  padding: 6px 9px;
  border-radius: 999px;
  background: var(--paper);
  color: var(--steel);
  font-size: 12px;
  font-weight: 750;
}

.status-pill--positive {
  background: rgba(45, 138, 101, 0.12);
  color: var(--positive);
}

.status-pill--danger {
  background: rgba(184, 57, 53, 0.12);
  color: var(--danger);
}

.ticket-type-list {
  border-top: 1px solid var(--rule);
}

.ticket-type {
  min-height: 104px;
  padding: 22px 4px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 24px;
  align-items: center;
  border-bottom: 1px solid var(--rule);
}

.ticket-type h3 {
  margin: 0;
  font-size: 20px;
}

.ticket-type__title-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 5px;
}

.ticket-type__hot {
  display: inline-flex;
  align-items: center;
  min-height: 22px;
  padding: 0 8px;
  border: 1px solid rgba(255, 90, 79, 0.36);
  border-radius: 6px;
  background: rgba(255, 90, 79, 0.1);
  color: #c43c34;
  font-size: 11px;
  font-weight: 800;
  line-height: 1;
}

.ticket-type p {
  margin-bottom: 0;
  color: var(--steel);
}

.ticket-type.is-disabled {
  opacity: 0.55;
}

.ticket-type__price {
  display: flex;
  align-items: center;
  gap: 24px;
}

.ticket-type__price > strong {
  font-size: 19px;
  white-space: nowrap;
}

.seat-picker {
  margin-top: 24px;
  width: 100%;
  min-width: 0;
  box-sizing: border-box;
  border: 1px solid var(--rule);
  border-radius: 20px 20px 4px 20px;
  overflow: hidden;
  background: var(--ticket);
}

.seat-picker__head {
  padding: 22px 22px 18px;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 20px;
  border-bottom: 1px solid var(--rule);
}

.seat-picker__head h3 {
  margin: 4px 0 6px;
  font-size: 20px;
}

.seat-picker__head p {
  max-width: 520px;
  margin: 0;
  color: var(--steel);
  font-size: 13px;
}

.seat-legend {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px 14px;
  color: var(--steel);
  font-size: 11px;
  white-space: nowrap;
}

.seat-legend span {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.seat-legend i {
  width: 10px;
  height: 10px;
  border-radius: 3px;
  background: var(--paper-deep);
}

.seat-legend .is-available { background: var(--signal); }
.seat-legend .is-selected { background: var(--ink); }
.seat-legend .is-sold { background: #cbc4bb; }

.seat-hold-note {
  margin: 14px 14px 0;
  padding: 12px 14px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  border-radius: 14px;
  background: var(--signal-pale);
}

.seat-hold-note div {
  display: grid;
  gap: 2px;
}

.seat-hold-note strong { font-size: 13px; }
.seat-hold-note span { color: var(--steel); font-size: 12px; }
.seat-hold-note .button { min-height: 36px; padding: 7px 11px; font-size: 12px; }

.seat-map-scroll {
  max-width: 100%;
  min-width: 0;
  overflow: auto;
  padding: 20px;
  background:
    linear-gradient(90deg, rgba(25, 26, 30, 0.035) 1px, transparent 1px) 0 0 / 28px 28px,
    linear-gradient(rgba(25, 26, 30, 0.035) 1px, transparent 1px) 0 0 / 28px 28px,
    var(--paper);
}

.seat-map {
  position: relative;
  min-width: 620px;
  min-height: 410px;
  overflow: hidden;
  border: 1px solid var(--rule);
  border-radius: 16px;
  background: var(--ticket);
}

.seat-map::before {
  content: "СЦЕНА";
  position: absolute;
  top: 8%;
  left: 50%;
  width: 34%;
  min-height: 34px;
  display: grid;
  place-items: center;
  transform: translateX(-50%);
  border-radius: 5px 5px 14px 14px;
  background: var(--ink);
  color: var(--ticket);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.14em;
}

.seat-map__seat {
  position: absolute;
  left: var(--seat-x);
  top: var(--seat-y);
  width: 38px;
  height: 32px;
  padding: 0 3px;
  display: grid;
  place-items: center;
  transform: translate(-50%, -50%);
  border: 1px solid transparent;
  border-radius: 9px 9px 3px 9px;
  background: var(--signal);
  color: white;
  box-shadow: 0 5px 10px rgba(37, 120, 245, 0.2);
  font-size: 9px;
  font-weight: 700;
  line-height: 1;
  transition: transform 150ms ease, background-color 150ms ease, box-shadow 150ms ease;
}

.seat-map__seat:hover:not(:disabled) {
  transform: translate(-50%, -50%) scale(1.08);
  box-shadow: 0 8px 16px rgba(37, 120, 245, 0.32);
}

.seat-map__seat.is-selected {
  border-color: var(--ink);
  background: var(--ink);
  box-shadow: 0 8px 16px rgba(25, 26, 30, 0.24);
}

.seat-map__seat.is-held,
.seat-map__seat.is-sold,
.seat-map__seat.is-blocked,
.seat-map__seat:disabled:not(.is-selected) {
  background: #cbc4bb;
  color: #817a72;
  box-shadow: none;
  cursor: not-allowed;
}

.standing-zone-list {
  display: grid;
  gap: 10px;
  margin: 14px 14px 0;
  padding: 15px;
  border: 1px solid var(--rule);
  border-radius: 16px;
  background: var(--paper);
}

.standing-zone-list__head {
  display: grid;
  gap: 3px;
}

.standing-zone-list__head p {
  margin: 0;
  color: var(--steel);
  font-size: 12px;
  line-height: 1.4;
}

.standing-zone {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr) auto;
  align-items: center;
  gap: 11px;
  padding: 11px;
  border-radius: 13px;
  background: var(--ticket);
}

.standing-zone__mark {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  color: white;
  background: var(--signal-strong);
}

.standing-zone__mark .icon { width: 19px; height: 19px; }

.standing-zone__copy {
  min-width: 0;
  display: grid;
  gap: 2px;
}

.standing-zone__copy h4,
.standing-zone__copy p {
  margin: 0;
}

.standing-zone__copy h4 { font-size: 14px; }
.standing-zone__copy p { color: var(--steel); font-size: 12px; }
.standing-zone__copy strong { font-size: 13px; }
.standing-zone__stepper { justify-self: end; }

.seat-picker__selected {
  min-height: 58px;
  padding: 14px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  border-top: 1px solid var(--rule);
  color: var(--steel);
  font-size: 13px;
}

.seat-picker__selected strong {
  color: var(--ink);
  white-space: nowrap;
}

.seat-picker__loading,
.seat-picker__error {
  margin-top: 20px;
}

.purchase-dock {
  position: fixed;
  z-index: 30;
  left: 0;
  right: 0;
  bottom: 0;
  min-height: 92px;
  padding: 16px max(32px, calc((100vw - min(1240px, calc(100vw - 64px))) / 2));
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  border-top: 1px solid var(--rule);
  background: rgba(255, 253, 250, 0.96);
  backdrop-filter: blur(12px);
}

.purchase-dock > div {
  display: grid;
}

.purchase-dock span {
  color: var(--steel);
  font-size: 12px;
}

.purchase-dock strong {
  font-size: 24px;
}

.checkout-heading {
  max-width: 800px;
  margin-bottom: 56px;
}

.checkout-heading h1 {
  margin-bottom: 16px;
}

.checkout-layout {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 64px;
  align-items: start;
}

/* The map intentionally has a desktop-sized inner canvas. Let the checkout
   column shrink independently, so only the map gets horizontal scrolling on a
   phone instead of forcing the whole document (and its header) off-screen. */
.checkout-layout,
.checkout-flow,
.checkout-section {
  min-width: 0;
}

.checkout-section {
  position: relative;
  padding: 32px 0 48px 64px;
  border-top: 1px solid var(--ink);
}

.checkout-section > div:nth-child(2) h2 {
  margin-bottom: 5px;
  font-size: 28px;
}

.checkout-section > div:nth-child(2) p {
  color: var(--steel);
}

.step-number {
  position: absolute;
  top: 36px;
  left: 0;
  color: var(--signal-strong);
  font-size: 12px;
  font-weight: 700;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.form-grid label:first-child {
  grid-column: 1 / -1;
}

.promo-field {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  align-items: end;
  max-width: 520px;
}

.promo-field label {
  display: grid;
  gap: 7px;
  color: var(--ink-soft);
  font-size: 13px;
  font-weight: 650;
}

.promo-field input {
  min-width: 0;
  min-height: 48px;
  padding: 0 14px;
  border: 1px solid var(--rule);
  border-radius: var(--radius-control);
  background: var(--ticket);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.promo-field input:focus {
  border-color: var(--signal);
}

.promo-field .button {
  min-height: 48px;
}

.promo-feedback {
  margin: 14px 0 0;
  color: var(--steel);
  font-size: 13px;
}

.promo-feedback--success {
  color: var(--positive);
}

.consent {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  color: var(--ink-soft);
}

.consent input {
  width: 22px;
  min-height: 22px;
  margin-top: 1px;
}

.order-summary {
  position: sticky;
  top: 24px;
  padding: 28px;
  border: 1px solid var(--rule);
  border-radius: 4px var(--radius-large) var(--radius-large) var(--radius-large);
  background: var(--ticket);
}

.order-summary h2 {
  font-size: 28px;
}

.summary-lines {
  min-height: 80px;
  padding: 20px 0;
  border-top: 1px dashed var(--rule);
  border-bottom: 1px dashed var(--rule);
}

.summary-lines > div,
.summary-total {
  display: flex;
  justify-content: space-between;
  gap: 12px;
}

.summary-lines > div + div {
  margin-top: 12px;
}

.summary-discount {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 0 0;
  color: var(--positive);
  font-size: 13px;
}

.summary-lines p,
.order-summary small {
  color: var(--steel);
  font-size: 12px;
}

.summary-total {
  padding: 20px 0;
  align-items: baseline;
}

.summary-total strong {
  font-size: 26px;
}

.order-summary > small {
  display: block;
  margin-top: 12px;
}

.stepper {
  display: grid;
  grid-template-columns: 40px 36px 40px;
  align-items: center;
  border: 1px solid var(--rule);
  border-radius: 13px;
  overflow: hidden;
}

.stepper button {
  width: 40px;
  height: 42px;
  border: 0;
  background: var(--paper);
  font-size: 21px;
}

.stepper output {
  text-align: center;
  font-weight: 650;
}

.inline-error,
.result-note {
  margin: 12px 0 0;
  color: var(--danger);
  font-size: 13px;
}

.checkout-result {
  min-height: 100vh;
  padding: 10vh 0;
  display: grid;
  place-content: center;
}

.receipt-stub {
  position: relative;
  width: min(680px, calc(100vw - 32px));
  padding: clamp(28px, 6vw, 64px);
  border: 1px solid var(--rule);
  border-bottom: 2px dashed var(--rule);
  border-radius: var(--radius-large) var(--radius-large) 4px 4px;
  background: var(--ticket);
}

.receipt-stub h1 {
  margin-bottom: 14px;
  font-size: clamp(38px, 7vw, 72px);
  line-height: 0.98;
  letter-spacing: -0.055em;
}

.receipt-stub > p {
  color: var(--steel);
}

.receipt-status {
  margin: 36px 0;
  padding: 20px;
  display: flex;
  gap: 12px;
  background: var(--signal-pale);
}

.receipt-status p {
  margin: 4px 0 0;
  color: var(--steel);
}

.receipt-promo {
  margin: -14px 0 28px;
  padding: 12px 14px;
  border: 1px solid color-mix(in srgb, var(--positive) 26%, transparent);
  border-radius: var(--radius-control);
  background: color-mix(in srgb, var(--positive) 9%, transparent);
  color: var(--positive);
  font-size: 13px;
  font-weight: 650;
}

.status-dot {
  width: 10px;
  height: 10px;
  margin-top: 7px;
  border-radius: 50%;
  background: #df9b18;
}

.receipt-total {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
}

.receipt-total strong {
  font-size: 28px;
}

.result-actions {
  padding: 24px;
  display: flex;
  justify-content: center;
  gap: 8px;
}

.order-list {
  border-top: 1px solid var(--ink);
}

.order-row {
  min-height: 144px;
  padding: 24px 0;
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: center;
  border-bottom: 1px solid var(--rule);
}

.order-row h2 {
  margin: 4px 0;
  font-size: 25px;
}

.order-row p,
.order-row > div > span:first-child {
  margin: 0;
  color: var(--steel);
  font-size: 12px;
}

.order-row > div:last-child {
  display: grid;
  justify-items: end;
  gap: 12px;
}

.order-row > div:last-child > strong {
  font-size: 20px;
}

.order-status {
  padding: 7px 10px;
  border-radius: 999px;
  background: var(--paper-deep);
  font-size: 11px;
  font-weight: 700;
}

.order-status--paid {
  background: #dff3e9;
  color: #176948;
}

.ticket-deck {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.wallet-ticket {
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--rule);
  border-radius: var(--radius-large);
  background: var(--ticket);
}

.wallet-ticket__poster {
  position: relative;
  height: 240px;
  background: var(--ink);
}

.wallet-ticket__poster img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(var(--media-scale, 1));
}

.wallet-ticket__poster::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(10, 10, 12, 0.65), transparent);
}

.wallet-ticket__poster > span {
  position: absolute;
  left: 20px;
  bottom: 18px;
  z-index: 2;
  padding: 6px 9px;
  border-radius: 6px;
  background: var(--signal);
  color: white;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.wallet-ticket__body {
  padding: 24px;
}

.wallet-ticket__body > span {
  color: var(--steel);
  font-size: 11px;
  letter-spacing: 0.08em;
}

.wallet-ticket__body h2 {
  margin: 6px 0;
  font-size: 28px;
}

.wallet-ticket__body > p {
  color: var(--steel);
}

.admission-qr {
  width: min(190px, 64%);
  margin-top: 24px;
  padding: 10px;
  border: 1px solid var(--rule);
  border-radius: 14px;
  background: white;
  box-shadow: 0 8px 24px rgba(20, 21, 25, 0.08);
}

.admission-qr svg {
  display: block;
  width: 100%;
  height: auto;
}

.admission-qr__fallback {
  margin-top: 24px;
  color: var(--danger);
  font-size: 13px;
}

.admission-code,
.ticket-used-state {
  margin-top: 28px;
  padding-top: 20px;
  border-top: 2px dashed var(--rule);
}

.admission-code {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 6px 16px;
  align-items: center;
}

.admission-code span {
  color: var(--steel);
  font-size: 11px;
}

.admission-code strong {
  grid-column: 1;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 22px;
  letter-spacing: 0.06em;
  word-break: break-all;
}

.admission-code button {
  grid-column: 2;
  grid-row: 1 / span 2;
  min-height: 44px;
  padding: 10px 12px;
  display: flex;
  align-items: center;
  gap: 6px;
  border: 1px solid var(--rule);
  border-radius: 12px;
  background: var(--paper);
}

.wallet-ticket--used,
.wallet-ticket--archived,
.wallet-ticket--refunded {
  filter: saturate(0.15);
}

.identity-card {
  min-height: 280px;
  padding: 40px;
  display: grid;
  grid-template-columns: 88px 1fr auto;
  align-items: center;
  gap: 28px;
  border-top: 0;
  background: var(--ticket);
}

.identity-avatar,
.account-gate__mark {
  width: 88px;
  height: 88px;
  border-radius: 50% 50% 50% 12px;
  font-size: 34px;
}

.identity-card h1 {
  margin-bottom: 6px;
  font-size: clamp(34px, 5vw, 62px);
  line-height: 1;
  letter-spacing: -0.05em;
}

.identity-card p {
  margin-bottom: 0;
  color: var(--steel);
}

.identity-actions {
  display: flex;
  gap: 8px;
}

.identity-summary {
  display: flex;
  gap: 28px;
}

.identity-summary span {
  display: grid;
  color: var(--steel);
  font-size: 12px;
}

.identity-summary strong {
  color: var(--ink);
  font-size: 28px;
}

.profile-links {
  margin-top: 32px;
  border-top: 1px solid var(--ink);
}

.profile-links a,
.profile-links button {
  width: 100%;
  min-height: 92px;
  padding: 20px 8px;
  display: grid;
  grid-template-columns: 32px 1fr 24px;
  align-items: center;
  gap: 16px;
  border: 0;
  border-bottom: 1px solid var(--rule);
  background: transparent;
  text-align: left;
}

.profile-links span {
  display: grid;
}

.profile-links small {
  margin-top: 3px;
  color: var(--steel);
}

.profile-footnote {
  margin-top: 24px;
  color: var(--steel);
  font-size: 12px;
}

.account-gate {
  min-height: calc(100vh - 72px);
  display: grid;
  justify-items: center;
  align-content: center;
  text-align: center;
}

.account-gate h1 {
  max-width: 640px;
  margin: 24px 0 10px;
  font-size: clamp(34px, 6vw, 64px);
  line-height: 1;
  letter-spacing: -0.05em;
}

.account-gate p {
  max-width: 540px;
  color: var(--steel);
}

.account-gate > div {
  display: flex;
  gap: 8px;
}

.auth-page {
  min-height: 100vh;
  padding: max(24px, env(safe-area-inset-top)) 24px max(24px, env(safe-area-inset-bottom));
  display: grid;
  place-items: center;
  background:
    linear-gradient(120deg, transparent 0 54%, rgba(37, 120, 245, 0.11) 54% 71%, transparent 71%),
    var(--paper);
}

.auth-sheet {
  width: min(520px, 100%);
  padding: clamp(28px, 5vw, 48px);
  border: 1px solid var(--rule);
  border-radius: var(--radius-large);
  background: var(--ticket);
}

.auth-sheet .back-link {
  margin-bottom: 48px;
}

.auth-sheet h1 {
  margin-bottom: 14px;
}

.auth-sheet > p {
  color: var(--steel);
}

.auth-form {
  margin-top: 32px;
  display: grid;
  gap: 16px;
}

.auth-switch,
.auth-disclosure {
  margin: 20px 0 0;
  font-size: 13px;
}

.auth-switch a {
  color: var(--signal-strong);
  font-weight: 650;
}

.auth-disclosure {
  padding-top: 16px;
  border-top: 1px dashed var(--rule);
}

.toast-region {
  position: fixed;
  z-index: 100;
  right: 20px;
  bottom: 20px;
  width: min(360px, calc(100vw - 32px));
  pointer-events: none;
}

.toast-region > div {
  padding: 13px 16px;
  border-radius: 12px;
  background: var(--ink);
  color: white;
  box-shadow: 0 12px 28px rgba(25, 26, 30, 0.24);
  pointer-events: auto;
}

.noscript {
  padding: 20px;
  background: #fff0df;
  text-align: center;
}

@media (max-width: 980px) {
  :root {
    --page: min(100% - 40px, 880px);
  }

  .site-header__inner {
    grid-template-columns: 1fr auto;
  }

  .desktop-nav {
    display: none;
  }

  .home-context {
    align-items: flex-start;
    flex-direction: column;
  }

  .category-wheel {
    width: 100%;
  }

  .theatre-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .event-card--theatre:first-child {
    grid-column: 1 / -1;
    grid-row: auto;
    min-height: 620px;
  }

  .poster-rail {
    grid-auto-columns: minmax(230px, 38%);
  }

  .search-filters {
    grid-template-columns: 1fr;
  }

  .search-filters .category-wheel {
    grid-column: 1 / -1;
  }

  .date-fields--inline {
    width: 100%;
  }

  .date-fields--inline input {
    width: 100%;
  }

  .search-result-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .checkout-layout {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .order-summary {
    position: static;
  }
}

@media (max-width: 720px) {
  :root {
    --page: calc(100% - 28px);
    --radius-large: 20px;
  }

  body {
    padding-bottom: calc(72px + env(safe-area-inset-bottom));
    font-size: 15px;
    background: var(--paper);
  }

  body.is-focused {
    padding-bottom: 0;
  }

  .site-header {
    height: 56px;
  }

  .site-header__inner {
    width: calc(100% - 28px);
  }

  .wordmark {
    font-size: 15px;
  }

  .wordmark__mark {
    width: 30px;
    height: 30px;
  }

  .city-chip {
    display: none;
  }

  .header-profile {
    width: 36px;
    height: 36px;
  }

  .mobile-dock {
    position: fixed;
    z-index: 50;
    left: 0;
    right: 0;
    bottom: 0;
    min-height: calc(64px + env(safe-area-inset-bottom));
    padding: 6px 8px env(safe-area-inset-bottom);
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    border-top: 1px solid var(--rule);
    background: rgba(255, 253, 250, 0.97);
  }

  .mobile-dock a {
    min-height: 54px;
    display: grid;
    justify-items: center;
    align-content: center;
    gap: 2px;
    color: var(--steel);
    font-size: 10px;
    font-weight: 600;
  }

  .mobile-dock a.is-active {
    color: var(--signal-strong);
  }

  .dock-icon,
  .dock-icon .icon {
    width: 24px;
    height: 24px;
  }

  .home-page {
    width: 100%;
    padding: 14px 0 64px;
  }

  .home-context,
  .home-page > .feed-section,
  .home-discovery {
    width: calc(100% - 28px);
    margin-inline: auto;
  }

  .home-context {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
  }

  .home-context {
    margin-bottom: 16px;
    gap: 18px;
  }

  .home-context h1 {
    font-size: 42px;
  }

  .category-wheel {
    margin-right: -14px;
    padding-right: 14px;
  }

  .category-orbit {
    min-width: auto;
    min-height: 44px;
  }

  .sponsor-stage {
    width: calc(100% - 28px);
    margin: 0 auto 28px;
  }

  .sponsor-stage__viewport {
    height: min(58svh, 580px);
    min-height: 440px;
    border-radius: 20px;
    box-shadow: var(--shadow-stage);
  }

  .home-discovery {
    justify-content: flex-start;
    margin-top: 0;
    margin-bottom: 46px;
  }

  .home-discovery .category-wheel {
    width: 100%;
    margin-right: -14px;
    padding: 8px 14px 8px 8px;
    border-radius: 16px;
  }

  .sponsor-slide__veil {
    background: linear-gradient(0deg, rgba(8, 9, 11, 0.9), rgba(8, 9, 11, 0.1) 72%), linear-gradient(90deg, rgba(8, 9, 11, 0.25), transparent);
  }

  .sponsor-slide__copy {
    left: 20px;
    right: 20px;
    bottom: 54px;
    width: auto;
  }

  .sponsor-slide h2 {
    font-size: clamp(44px, 15vw, 68px);
  }

  .sponsor-slide__copy p {
    max-width: 86%;
    margin-bottom: 18px;
  }

  .sponsor-stage__rail {
    right: 14px;
    bottom: 10px;
  }

  .sponsor-stage__rail button {
    width: 40px;
    height: 40px;
  }

  .feed-section {
    margin-top: 72px;
  }

  .section-heading {
    margin-bottom: 20px;
  }

  .section-heading h2 {
    font-size: 32px;
  }

  .section-heading p {
    font-size: 13px;
  }

  .programme-controls {
    grid-template-columns: 1fr 108px;
    margin-right: -14px;
    overflow: hidden;
  }

  .day-rail {
    display: flex;
    padding-right: 8px;
  }

  .day-pill {
    flex: 0 0 68px;
    min-height: 78px;
  }

  .range-button {
    width: 108px;
    min-height: 78px;
    border-radius: 16px 0 0 16px;
  }

  .event-card--wide {
    min-height: 134px;
    grid-template-columns: 112px 1fr;
    gap: 14px;
    padding: 14px 0;
  }

  .event-card--wide .event-card__copy {
    padding: 3px 4px 3px 0;
  }

  .event-card--wide .event-card__copy h3 {
    font-size: 20px;
  }

  .event-card--wide .event-card__copy > p {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .event-card--wide .event-card__foot > span {
    display: none;
  }

  .theatre-programme,
  .workshop-programme {
    width: 100% !important;
    padding: 28px 14px;
    border-radius: 0;
  }

  .theatre-grid {
    grid-template-columns: 1fr;
  }

  .event-card--theatre,
  .event-card--theatre:first-child {
    min-height: 460px;
    grid-column: auto;
  }

  .people-rail {
    margin-right: -14px;
    padding-right: 14px;
  }

  .party-programme {
    width: calc(100% - 28px) !important;
  }

  .poster-rail {
    grid-auto-columns: 74%;
    margin-right: -14px;
    padding-right: 14px;
  }

  .workshop-list {
    grid-template-columns: 1fr;
  }

  .event-card--workshop {
    grid-template-columns: 94px 1fr;
    min-height: 146px;
  }

  .state-sheet,
  .route-loading {
    min-height: 220px;
    padding: 32px 16px;
  }

  .search-page,
  .orders-page,
  .tickets-page,
  .profile-page,
  .checkout-page {
    padding: 36px 0 72px;
  }

  .page-title {
    margin-bottom: 32px;
  }

  .page-title h1,
  .checkout-heading h1,
  .auth-sheet h1 {
    font-size: 42px;
  }

  .search-console {
    margin-inline: -14px;
    padding: 18px 14px;
  }

  .search-field {
    min-height: 56px;
    padding: 0 12px;
  }

  .search-field input {
    min-height: 52px;
    font-size: 16px;
  }

  .search-filters {
    gap: 12px;
  }

  .search-result-grid {
    grid-template-columns: 1fr;
  }

  .event-card--search {
    min-height: 0;
    display: grid;
    grid-template-columns: 128px 1fr;
  }

  .event-card--search .event-card__media {
    height: auto;
    min-height: 188px;
  }

  .event-card--search .event-card__copy {
    min-height: 188px;
    padding: 16px;
  }

  .detail-hero {
    height: 75svh;
    min-height: 560px;
  }

  .detail-hero__nav {
    top: max(12px, env(safe-area-inset-top));
    left: 14px;
  }

  .detail-hero__copy {
    left: 18px;
    right: 18px;
    bottom: 28px;
  }

  .detail-hero__copy h1 {
    font-size: clamp(48px, 16vw, 76px);
  }

  .detail-flow {
    width: 100%;
    padding-bottom: 130px;
  }

  .detail-facts,
  .detail-copy,
  .detail-lineup,
  .detail-gallery,
  .ticket-preview {
    width: calc(100% - 28px);
    margin-inline: auto;
  }

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

  .detail-facts > div {
    min-height: 92px;
    padding: 18px 2px;
    border-right: 0;
    border-bottom: 1px solid var(--rule);
  }

  .detail-copy {
    margin-top: 64px;
  }

  .detail-copy .detail-lead {
    font-size: 28px;
  }

  .detail-copy p {
    font-size: 17px;
  }

  .detail-lineup,
  .detail-gallery,
  .ticket-preview {
    margin-top: 72px;
  }

  .lineup-rail,
  .gallery-rail {
    margin-right: -14px;
    padding-right: 14px;
    gap: 14px;
  }

  .lineup-person {
    flex-basis: min(78vw, 300px);
  }

  .lineup-person > div {
    padding: 15px;
  }

  .lineup-person h3 {
    font-size: 20px;
  }

  .gallery-card {
    flex-basis: min(84vw, 430px);
  }

  .gallery-image {
    height: clamp(260px, 52svh, 520px);
  }

  .person-page {
    padding: 22px 0 76px;
  }

  .person-hero {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .person-hero__photo {
    width: min(100%, 380px);
  }

  .person-hero__copy h1 {
    font-size: clamp(44px, 14vw, 64px);
  }

  .person-panel {
    grid-template-columns: 1fr;
  }

  .person-section {
    margin-top: 48px;
  }

  .organizer-page {
    width: 100%;
    padding: 22px 0 80px;
  }

  .organizer-mobile-head {
    width: calc(100% - 28px);
    margin: 0 auto 16px;
    display: block;
  }

  .organizer-mobile-head h1 {
    margin-bottom: 6px;
    font-size: 38px;
    line-height: 1;
    letter-spacing: -0.055em;
  }

  .organizer-mobile-head p {
    margin: 0;
    color: var(--steel);
  }

  .organizer-shell {
    display: block;
  }

  .organizer-nav {
    position: static;
    width: calc(100% - 28px);
    margin-inline: auto;
    display: flex;
    gap: 8px;
    overflow-x: auto;
    border-radius: 20px;
    padding: 10px;
    scrollbar-width: none;
  }

  .organizer-nav::-webkit-scrollbar {
    display: none;
  }

  .organizer-nav__brand,
  .organizer-nav h2 {
    display: none;
  }

  .organizer-nav section {
    padding: 0;
    display: contents;
    border: 0;
  }

  .organizer-nav__item {
    min-width: max-content;
    min-height: 44px;
    padding: 10px 12px;
    display: inline-flex;
    border: 0;
    border-radius: 14px;
    gap: 8px;
  }

  .organizer-nav__item .icon {
    width: 19px;
    height: 19px;
  }

  .organizer-main {
    width: calc(100% - 28px);
    margin: 14px auto 0;
  }

  .organizer-panel {
    padding: 18px;
    border-radius: 20px;
  }

  .organizer-hero {
    padding: 22px;
  }

  .organizer-hero h1 {
    font-size: 42px;
  }

  .organizer-kpis,
  .organizer-card-grid,
  .monitor-grid,
  .person-panel {
    grid-template-columns: 1fr;
  }

  .organizer-row {
    grid-template-columns: 72px minmax(0, 1fr);
  }

  .organizer-row__media img,
  .organizer-row__media .image-fallback {
    width: 72px;
    height: 72px;
  }

  .organizer-row > div:nth-child(3),
  .organizer-row__actions {
    grid-column: 1 / -1;
  }

  .organizer-row__actions {
    flex-wrap: wrap;
  }

  .organizer-table {
    grid-template-columns: repeat(6, minmax(126px, 1fr));
  }

  .organizer-table--five {
    grid-template-columns: repeat(5, minmax(126px, 1fr));
  }

  .ticket-type {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .ticket-type__price {
    justify-content: space-between;
  }

  .seat-picker__head {
    padding: 18px 16px 14px;
    display: grid;
    gap: 14px;
  }

  .seat-legend {
    justify-content: flex-start;
  }

  .seat-hold-note {
    align-items: flex-start;
    flex-direction: column;
  }

  .seat-hold-note .button {
    width: 100%;
  }

  .seat-map-scroll {
    margin: 0 -1px;
    padding: 14px;
  }

  .seat-map {
    min-width: 540px;
    min-height: 380px;
  }

  .standing-zone-list {
    margin: 12px 12px 0;
    padding: 12px;
  }

  .standing-zone {
    grid-template-columns: 36px minmax(0, 1fr);
  }

  .standing-zone__stepper {
    grid-column: 1 / -1;
    justify-self: end;
  }

  .seat-picker__selected {
    align-items: flex-start;
    flex-direction: column;
    gap: 4px;
  }

  .purchase-dock {
    min-height: calc(84px + env(safe-area-inset-bottom));
    padding: 12px 14px calc(12px + env(safe-area-inset-bottom));
  }

  .purchase-dock .button {
    min-width: 156px;
  }

  .checkout-page > .back-link {
    margin-top: 0;
  }

  .checkout-heading {
    margin-bottom: 40px;
  }

  .checkout-section {
    padding: 28px 0 40px 38px;
  }

  .form-grid {
    grid-template-columns: 1fr;
  }

  .promo-field {
    grid-template-columns: 1fr;
  }

  .promo-field .button {
    width: 100%;
  }

  .form-grid label:first-child {
    grid-column: auto;
  }

  .order-summary {
    padding: 22px;
  }

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

  .wallet-ticket__poster {
    height: 220px;
  }

  .order-row {
    align-items: flex-start;
    flex-direction: column;
  }

  .order-row > div:last-child {
    width: 100%;
    grid-auto-flow: column;
    justify-content: space-between;
    align-items: center;
  }

  .identity-card {
    padding: 28px 20px;
    grid-template-columns: 68px 1fr;
    gap: 18px;
  }

  .identity-avatar {
    width: 68px;
    height: 68px;
    font-size: 27px;
  }

  .identity-actions,
  .identity-summary {
    grid-column: 1 / -1;
  }

  .identity-actions {
    width: 100%;
  }

  .identity-actions .button {
    flex: 1;
  }

  .profile-links a,
  .profile-links button {
    min-height: 82px;
  }

  .account-gate {
    min-height: calc(100svh - 128px);
  }

  .auth-page {
    padding: 0;
    align-items: stretch;
  }

  .auth-sheet {
    width: 100%;
    min-height: 100svh;
    padding: max(24px, env(safe-area-inset-top)) 20px max(32px, env(safe-area-inset-bottom));
    border: 0;
    border-radius: 0;
  }

  .toast-region {
    right: 16px;
    left: auto;
    bottom: calc(78px + env(safe-area-inset-bottom));
  }
}

@media (max-width: 380px) {
  .wordmark__text {
    display: none;
  }

  .programme-controls {
    grid-template-columns: 1fr 96px;
  }

  .range-button {
    width: 96px;
  }

  .sponsor-slide h2 {
    font-size: 43px;
  }

  .event-card--wide {
    grid-template-columns: 100px 1fr;
  }

  .event-card--search {
    grid-template-columns: 112px 1fr;
  }

  .purchase-dock .button {
    min-width: 136px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

@media (prefers-contrast: more) {
  :root {
    --rule: #9d9891;
    --steel: #514e4b;
  }

  .button,
  .category-orbit,
  input {
    border-width: 2px;
  }
}

@media (forced-colors: active) {
  .wordmark__mark,
  .identity-avatar,
  .account-gate__mark,
  .sponsor-slide__price,
  .order-status {
    forced-color-adjust: none;
  }
}

/* Unified SHYNE shell: the working web app adopts the cleaner prototype style. */
:root {
  --paper: #f7fbff;
  --paper-deep: #eaf3ff;
  --ticket: #ffffff;
  --ink: #101828;
  --ink-soft: #344054;
  --steel: #667085;
  --rule: #dce7f4;
  --signal: #0a84ff;
  --signal-strong: #005ddf;
  --signal-pale: #e7f2ff;
  --positive: #12b76a;
  --danger: #d92d20;
  --focus: #0a84ff;
  --radius-control: 18px;
  --radius-card: 24px;
  --radius-large: 32px;
  --page: min(1180px, calc(100vw - 32px));
  --shadow-stage: 0 24px 72px rgba(16, 24, 40, 0.14);
}

body {
  background:
    radial-gradient(circle at 10% -10%, rgba(10, 132, 255, 0.16), transparent 30%),
    radial-gradient(circle at 90% 2%, rgba(112, 86, 255, 0.08), transparent 24%),
    linear-gradient(180deg, #fbfdff 0%, var(--paper) 48%, #fff 100%);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 70;
  height: auto;
  padding: 14px 0 10px;
  border: 0;
  background: linear-gradient(180deg, rgba(247, 251, 255, 0.96), rgba(247, 251, 255, 0.78));
  backdrop-filter: blur(20px) saturate(1.4);
}

.site-header__inner {
  min-height: 70px;
  padding: 12px;
  grid-template-columns: minmax(190px, auto) minmax(220px, 1fr) auto;
  gap: 14px;
  border: 1px solid rgba(16, 24, 40, 0.08);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 18px 52px rgba(16, 24, 40, 0.08);
}

.wordmark {
  gap: 14px;
  min-width: 0;
  letter-spacing: -0.03em;
}

.wordmark__mark {
  width: 52px;
  height: 52px;
  border-radius: 18px;
  background: linear-gradient(135deg, var(--signal), var(--signal-strong));
  box-shadow: 0 16px 28px rgba(10, 132, 255, 0.24);
}

.wordmark__copy {
  display: grid;
  min-width: 0;
  line-height: 1.06;
}

.wordmark__copy strong {
  font-size: 20px;
  letter-spacing: -0.04em;
}

.wordmark__copy small {
  color: var(--steel);
  font-size: 14px;
  font-weight: 650;
  letter-spacing: -0.02em;
}

.desktop-nav {
  display: none;
}

.global-search {
  min-width: 0;
  min-height: 54px;
  padding: 0 8px 0 18px;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  border: 1px solid #cfdced;
  border-radius: 20px;
  background: #edf6ff;
}

.global-search .icon {
  width: 27px;
  height: 27px;
}

.global-search input {
  min-width: 0;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--ink);
  font-size: 18px;
  font-weight: 650;
}

.global-search input::placeholder {
  color: rgba(16, 24, 40, 0.38);
}

.global-search button {
  min-height: 42px;
  padding: 0 18px;
  border: 0;
  border-radius: 15px;
  background: var(--signal);
  color: #fff;
  font-weight: 800;
}

.header-actions {
  gap: 10px;
}

.header-pill,
.city-chip,
.header-profile {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 0 16px;
  border: 1px solid var(--rule);
  border-radius: 18px;
  background: #fff;
  color: var(--ink-soft);
  box-shadow: 0 6px 18px rgba(16, 24, 40, 0.04);
  font-size: 15px;
  font-weight: 800;
  white-space: nowrap;
}

.city-chip::before {
  display: none;
}

.city-chip .icon,
.header-pill .icon {
  width: 22px;
  height: 22px;
}

.header-profile {
  width: 54px;
  padding: 0;
  color: var(--signal-strong);
  background: #eef6ff;
}

.mobile-dock {
  position: fixed;
  z-index: 80;
  left: 50%;
  right: auto;
  bottom: max(14px, env(safe-area-inset-bottom));
  width: min(720px, calc(100vw - 32px));
  min-height: 72px;
  padding: 8px;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 4px;
  border: 1px solid rgba(16, 24, 40, 0.1);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 18px 58px rgba(16, 24, 40, 0.18);
  backdrop-filter: blur(22px) saturate(1.5);
  transform: translateX(-50%);
}

.mobile-dock a {
  min-height: 56px;
  display: grid;
  justify-items: center;
  align-content: center;
  gap: 2px;
  border-radius: 999px;
  color: var(--steel);
  font-size: 12px;
  font-weight: 800;
}

.mobile-dock a.is-active {
  color: var(--signal-strong);
  background: #e8f4ff;
}

.dock-icon,
.dock-icon .icon {
  width: 26px;
  height: 26px;
}

.home-page {
  padding: 22px 0 128px;
}

.sponsor-stage {
  margin: 0 0 28px;
}

.sponsor-stage__viewport {
  height: clamp(360px, 44vh, 520px);
  border-radius: 34px;
  background: #0f172a;
}

.sponsor-slide__image {
  object-position: center center;
  transform-origin: center center;
}

.sponsor-slide__veil {
  background:
    linear-gradient(0deg, rgba(9, 12, 19, 0.78) 0%, rgba(9, 12, 19, 0.18) 58%, rgba(9, 12, 19, 0.05) 100%),
    linear-gradient(90deg, rgba(9, 12, 19, 0.66), rgba(9, 12, 19, 0.08) 62%);
}

.sponsor-slide__copy {
  left: clamp(28px, 4vw, 54px);
  bottom: clamp(34px, 5vw, 54px);
  width: min(640px, 76%);
}

.sponsor-slide__venue {
  display: none;
}

.sponsor-slide h2 {
  margin-bottom: 12px;
  font-size: clamp(42px, 5.2vw, 74px);
  letter-spacing: -0.07em;
}

.sponsor-slide__copy p {
  max-width: 640px;
  margin-bottom: 18px;
  font-size: clamp(15px, 1.5vw, 19px);
}

.sponsor-slide__price {
  border-radius: 16px;
  box-shadow: 0 12px 24px rgba(10, 132, 255, 0.28);
}

.home-discovery {
  z-index: 4;
  justify-content: flex-start;
  margin: 24px 0 48px;
}

.home-discovery .category-wheel {
  width: 100%;
  padding: 8px 10px;
  gap: 18px;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
}

.home-discovery .category-orbit {
  min-height: 76px;
  padding: 10px 8px;
  border: 0;
  border-radius: 18px;
  background: transparent;
  color: var(--ink-soft);
  font-size: clamp(18px, 2vw, 24px);
  letter-spacing: -0.045em;
}

.home-discovery .category-orbit__icon .icon {
  width: 32px;
  height: 32px;
}

.home-discovery .category-orbit:hover,
.home-discovery .category-orbit.is-active {
  background: var(--signal-pale);
  color: var(--signal-strong);
}

.feed-section {
  margin-top: 70px;
}

.upcoming-section {
  margin-top: 22px;
}

.section-heading--controls {
  align-items: center;
}

.section-heading .eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--signal-strong);
}

.section-heading h2 {
  font-size: clamp(38px, 5vw, 72px);
  letter-spacing: -0.075em;
}

.programme-controls {
  padding: 8px 0 6px;
  align-items: stretch;
}

.day-rail {
  gap: clamp(10px, 1.5vw, 22px);
}

.day-pill {
  width: 82px;
  min-width: 82px;
  min-height: 104px;
  padding: 12px 10px;
  border: 1px solid var(--rule);
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 8px 22px rgba(16, 24, 40, 0.04);
  transition: width 220ms ease, min-width 220ms ease, background 220ms ease, color 220ms ease, border-color 220ms ease;
}

.day-pill strong {
  font-size: 34px;
  letter-spacing: -0.06em;
}

.day-pill span,
.day-pill small {
  font-size: 13px;
  font-weight: 850;
  letter-spacing: 0.04em;
}

.day-pill.is-active {
  width: 112px;
  min-width: 112px;
  border-color: transparent;
  background: linear-gradient(135deg, #6da7ff, var(--signal));
  color: #fff;
}

.range-button {
  min-width: 150px;
  border-color: var(--rule);
  background: #fff;
  box-shadow: 0 8px 22px rgba(16, 24, 40, 0.04);
}

.home-filter-card {
  margin: 28px 0 26px;
  padding: clamp(18px, 3vw, 30px);
  border: 1px solid #d5e4f6;
  border-radius: 30px;
  background: linear-gradient(135deg, #eef7ff, #e8f3ff);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.72), 0 18px 44px rgba(10, 132, 255, 0.08);
}

.home-filter-card__label {
  margin-bottom: 18px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--signal-strong);
  font-size: 14px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.home-filter-search {
  width: min(680px, 100%);
  min-height: 58px;
  padding: 0 8px 0 18px;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  border: 1px solid var(--rule);
  border-radius: 20px;
  background: #fff;
}

.home-filter-search input {
  min-width: 0;
  border: 0;
  outline: 0;
  background: transparent;
  font-size: 18px;
  font-weight: 650;
}

.filter-chip-cloud {
  display: grid;
  gap: 14px;
  margin-top: 20px;
}

.filter-chip-cloud .category-wheel {
  gap: 10px;
}

.filter-chip-cloud .category-orbit,
.filter-chip {
  min-height: 46px;
  border: 1px solid var(--rule);
  border-radius: 999px;
  background: #fff;
  color: var(--ink-soft);
  font-size: 15px;
  font-weight: 800;
}

.filter-chip-cloud .category-orbit.is-active,
.filter-chip.is-active {
  border-color: var(--signal);
  background: var(--signal);
  color: #fff;
}

.filter-chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.filter-chip {
  padding: 0 16px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.upcoming-list {
  margin-top: 22px;
}

.organizer-page {
  padding: 24px 0 130px;
}

.organizer-shell {
  grid-template-columns: 310px minmax(0, 1fr);
  gap: 22px;
}

.organizer-nav {
  top: 104px;
  max-height: calc(100svh - 132px);
  overflow: auto;
  border: 1px solid var(--rule);
  border-radius: 30px;
  background: rgba(255, 255, 255, 0.92);
  color: var(--ink-soft);
  box-shadow: 0 20px 56px rgba(16, 24, 40, 0.08);
}

.organizer-nav__brand {
  min-height: 90px;
  border-bottom: 1px solid var(--rule);
  color: var(--ink);
}

.organizer-nav__brand span {
  border-radius: 16px;
  background: linear-gradient(135deg, var(--signal), var(--signal-strong));
}

.organizer-nav h2 {
  color: var(--steel);
}

.organizer-nav section {
  border-bottom: 1px solid var(--rule);
}

.organizer-nav__item {
  margin: 2px 10px;
  border-left: 0;
  border-radius: 16px;
  color: var(--steel);
}

.organizer-nav__item:hover,
.organizer-nav__item.is-active {
  border-left-color: transparent;
  background: var(--signal-pale);
  color: var(--signal-strong);
}

.organizer-panel {
  border-color: var(--rule);
  border-radius: 32px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 20px 56px rgba(16, 24, 40, 0.07);
}

.organizer-hero {
  background:
    radial-gradient(circle at 88% 16%, rgba(10, 132, 255, 0.18), transparent 34%),
    linear-gradient(135deg, #edf7ff, #ffffff);
  border: 1px solid #d6e6f8;
}

.organizer-hero h1 {
  font-size: clamp(42px, 5vw, 72px);
}

.organizer-card-grid article,
.organizer-kpis article,
.organizer-table,
.organizer-row {
  background: #f8fbff;
}

.organizer-row {
  border-radius: 22px;
}

@media (max-width: 1120px) {
  .site-header__inner {
    grid-template-columns: auto minmax(180px, 1fr) auto;
  }

  .header-pill--desktop {
    display: none;
  }
}

@media (max-width: 820px) {
  :root {
    --page: calc(100% - 28px);
  }

  body {
    padding-bottom: calc(88px + env(safe-area-inset-bottom));
  }

  .site-header {
    padding: max(8px, env(safe-area-inset-top)) 0 8px;
  }

  .site-header__inner {
    width: var(--page);
    min-height: 58px;
    padding: 8px;
    grid-template-columns: auto 1fr auto;
    border-radius: 22px;
  }

  .wordmark__mark {
    width: 42px;
    height: 42px;
    border-radius: 15px;
  }

  .wordmark__copy {
    display: none;
  }

  .global-search {
    min-height: 44px;
    padding-left: 12px;
    border-radius: 16px;
  }

  .global-search input {
    font-size: 14px;
    font-weight: 650;
  }

  .global-search button,
  .city-chip {
    display: none;
  }

  .header-profile {
    width: 44px;
    min-height: 44px;
    border-radius: 16px;
  }

  .mobile-dock {
    width: calc(100vw - 22px);
    bottom: max(8px, env(safe-area-inset-bottom));
    min-height: 70px;
    border-radius: 28px;
  }

  .mobile-dock a {
    min-height: 54px;
    font-size: 11px;
  }

  .home-page {
    width: 100%;
    padding-top: 8px;
  }

  .sponsor-stage {
    width: var(--page);
    margin-inline: auto;
  }

  .sponsor-stage__viewport {
    height: min(48svh, 500px);
    min-height: 360px;
    border-radius: 28px;
  }

  .sponsor-slide__copy {
    left: 22px;
    right: 22px;
    bottom: 58px;
    width: auto;
  }

  .sponsor-slide h2 {
    font-size: clamp(38px, 13vw, 58px);
  }

  .home-discovery,
  .home-page > .feed-section {
    width: var(--page);
    margin-inline: auto;
  }

  .home-discovery {
    margin-top: 18px;
    margin-bottom: 34px;
  }

  .home-discovery .category-wheel {
    gap: 10px;
    margin-right: -14px;
    padding-right: 14px;
  }

  .home-discovery .category-orbit {
    min-height: 58px;
    padding: 10px 14px;
    border: 1px solid var(--rule);
    border-radius: 999px;
    background: #fff;
    font-size: 16px;
  }

  .home-discovery .category-orbit__icon .icon {
    width: 23px;
    height: 23px;
  }

  .section-heading h2 {
    font-size: 38px;
  }

  .programme-controls {
    display: block;
  }

  .day-rail {
    margin-right: -14px;
    padding-right: 14px;
  }

  .day-pill {
    width: 72px;
    min-width: 72px;
    min-height: 92px;
    border-radius: 20px;
  }

  .day-pill.is-active {
    width: 96px;
    min-width: 96px;
  }

  .range-button {
    display: none;
  }

  .home-filter-card {
    padding: 18px;
    border-radius: 24px;
  }

  .home-filter-search {
    min-height: 52px;
    grid-template-columns: auto minmax(0, 1fr);
  }

  .home-filter-search .button {
    display: none;
  }

  .filter-chip-cloud .category-wheel {
    margin-right: -18px;
    padding-right: 18px;
  }

  .organizer-page {
    width: 100%;
    padding-top: 16px;
  }

  .organizer-shell {
    display: block;
  }

  .organizer-nav {
    width: var(--page);
    max-height: none;
    margin-inline: auto;
    padding: 10px;
    display: flex;
    gap: 8px;
    overflow-x: auto;
    border-radius: 24px;
  }

  .organizer-nav__brand,
  .organizer-nav h2 {
    display: none;
  }

  .organizer-nav section {
    display: contents;
    border: 0;
  }

  .organizer-nav__item {
    min-width: max-content;
    margin: 0;
    padding: 11px 14px;
    display: inline-flex;
    gap: 8px;
    border-radius: 999px;
    background: #f8fbff;
  }

  .organizer-main {
    width: var(--page);
    margin: 14px auto 0;
  }

  .organizer-panel {
    padding: 18px;
    border-radius: 26px;
  }

  .organizer-hero h1 {
    font-size: 40px;
  }
}

/* Final catalogue hierarchy and category accents. */
.home-page--template {
  --party-accent: #d84f3f;
  --concert-accent: #0878d1;
  --theatre-accent: #7551b8;
  --workshop-accent: #187a55;
}

.home-page--template .home-intro {
  width: min(var(--page), calc(100% - 32px));
  margin: 0 auto 28px;
  padding: 22px 24px 24px;
  background: #edf4fb;
  border-top: 4px solid var(--accent);
}

.home-page--template .home-intro .home-context,
.home-page--template .home-intro .home-discovery {
  width: 100%;
  margin-inline: 0;
}

.home-page--template .home-intro .home-discovery {
  margin-top: 18px;
}

.home-page--template .category-orbit {
  background: #fff;
  border-color: #cbd8e5;
  color: #334255;
}

.home-page--template .category-orbit:hover,
.home-page--template .category-orbit.is-active {
  background: #dcecff;
  border-color: #78aee9;
  color: #075dad;
}

.home-page--template .programme-calendar {
  border-top: 4px solid #8bb7e5;
  box-shadow: 0 10px 28px rgba(26, 55, 86, 0.07);
}

.home-page--template .day-pill:nth-child(7n + 1) span,
.home-page--template .day-pill:nth-child(7n) span {
  color: #c64b3e;
}

.event-card {
  --event-accent: #0878d1;
  --event-tint: #eaf4ff;
  border-top: 3px solid var(--event-accent);
}

.event-card--category-party {
  --event-accent: var(--party-accent, #d84f3f);
  --event-tint: #fff0ed;
}

.event-card--category-concert {
  --event-accent: var(--concert-accent, #0878d1);
  --event-tint: #e8f4ff;
}

.event-card--category-theatre {
  --event-accent: var(--theatre-accent, #7551b8);
  --event-tint: #f1ecfa;
}

.event-card--category-workshop {
  --event-accent: var(--workshop-accent, #187a55);
  --event-tint: #e8f6f0;
}

.event-card--category-unknown {
  --event-accent: #9a7420;
  --event-tint: #faf3dc;
}

.event-card__date {
  color: var(--event-accent);
}

.event-card__type {
  flex: 0 1 auto;
  min-width: 0;
  max-width: 46%;
}

.event-card__date {
  flex: 1 1 auto;
  min-width: 0;
}

.search-result-grid .event-card__price,
.plans-section .event-card__price {
  right: 12px;
  bottom: 12px;
}

.search-result-grid .event-card,
.plans-section .event-card {
  min-height: 318px;
  overflow: hidden;
  border-radius: 10px;
}

.search-result-grid .event-card__media,
.plans-section .event-card__media {
  height: 174px;
  flex: 0 0 174px;
}

.search-result-grid .event-card__copy,
.plans-section .event-card__copy {
  min-height: 144px;
  gap: 8px;
}

.home-page--template .concert-programme {
  padding: 26px 24px 30px;
  background: #edf6ff;
  border-top: 4px solid var(--concert-accent);
}

.home-page--template .party-programme,
.home-page--template .concert-programme,
.home-page--template .workshop-programme {
  border-radius: 0;
}

.home-page--template .poster-rail .event-card,
.home-page--template .workshop-list .event-card {
  flex-basis: clamp(318px, 28vw, 398px);
  min-width: 318px;
}

.home-page--template .event-tile-grid .event-card {
  flex-basis: clamp(326px, 29vw, 410px);
  min-width: 326px;
}

.home-page--template .event-tile-grid .event-card__media {
  height: 138px;
  flex-basis: 138px;
}

.home-page--template .event-tile-grid .event-card,
.home-page--template .poster-rail .event-card,
.home-page--template .workshop-list .event-card {
  min-height: 238px;
}

.home-page--template .theatre-grid .event-card {
  flex-basis: clamp(334px, 30vw, 420px);
  min-width: 334px;
}

.home-page--template .theatre-grid .event-card__media,
.home-page--template .theatre-grid .event-card--theatre .event-card__media {
  height: 152px;
  flex-basis: 152px;
}

.home-page--template .theatre-grid .event-card {
  min-height: 252px;
}

.home-page--template .workshop-list--teasers .event-card {
  border-style: dashed;
}

@media (max-width: 820px) {
  .search-result-grid .event-card,
  .plans-section .event-card {
    min-height: 142px;
  }

  .search-result-grid .event-card__media,
  .plans-section .event-card__media {
    height: 142px;
    flex-basis: auto;
  }

  .home-page--template .event-tile-grid .event-card,
  .home-page--template .theatre-grid .event-card,
  .home-page--template .poster-rail .event-card,
  .home-page--template .workshop-list .event-card {
    flex-basis: min(86vw, 340px);
    min-width: min(86vw, 340px);
  }

  .home-page--template .party-programme,
  .home-page--template .concert-programme,
  .home-page--template .workshop-programme {
    padding: 22px 14px 24px;
  }
}
  display: inline-flex;
  align-items: center;
  width: fit-content;
  max-width: 60%;
  min-height: 22px;
  padding: 3px 8px;
  overflow: hidden;
  color: var(--event-accent);
  background: var(--event-tint);
  border-radius: 999px;
  font-weight: 800;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.event-card__venue {
  display: flex;
  align-items: center;
  gap: 5px;
  min-width: 0;
  color: #67717e;
}

.event-card__venue .icon {
  width: 14px;
  height: 14px;
  flex: 0 0 14px;
  color: var(--event-accent);
}

.event-card__venue span {
  min-width: 0;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.event-card__age {
  display: inline-flex;
  align-items: center;
  min-height: 22px;
  padding: 2px 7px;
  color: #58616b;
  background: #f3f4f5;
  border: 1px solid #e1e3e6;
  border-radius: 999px;
  font-weight: 700;
}

@media (hover: hover) {
  .event-card {
    transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease;
  }

  .event-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(29, 40, 53, 0.12);
  }
}

.home-page--template .theatre-programme {
  padding: 28px 30px 30px;
  color: var(--ink);
  background: #e9f0f7;
  border-top: 4px solid var(--theatre-accent);
  border-radius: 0;
}

.home-page--template .theatre-programme .section-heading h2,
.home-page--template .theatre-programme .section-heading p,
.home-page--template .theatre-programme .section-heading a {
  color: var(--ink);
}

.home-page--template .theatre-programme .section-heading a {
  color: #5b3d99;
}

.home-page--template .culture-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(420px, 0.92fr);
  gap: 28px;
  align-items: start;
}

.home-page--template .theatre-grid {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  overflow: visible;
  padding: 0;
}

.home-page--template .theatre-grid .event-card {
  min-width: 0;
  min-height: 0;
  height: auto;
  flex: none;
}

.home-page--template .theatre-grid .event-card__media,
.home-page--template .theatre-grid .event-card--theatre .event-card__media {
  width: 100%;
  height: auto;
  flex-basis: auto;
  aspect-ratio: 4 / 4.7;
}

.home-page--template .culture-people {
  min-width: 0;
  padding-left: 0;
  border-left: 0;
}

.home-page--template .culture-people > header h3 {
  margin: 0;
  font-size: 24px;
  line-height: 1.1;
  color: var(--ink);
}

.home-page--template .culture-people > header p {
  margin: 5px 0 0;
  color: #5f6975;
  font-size: 13px;
}

.home-page--template .culture-people .people-rail {
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px 12px;
  margin-top: 17px;
  padding: 0;
  overflow: visible;
}

.home-page--template .culture-people .person-card {
  min-width: 0;
  flex: none;
  color: var(--ink);
}

.home-page--template .culture-people .person-card h4 {
  color: var(--ink);
}

.home-page--template .culture-people .person-card p {
  color: #68727e;
}

.home-page--template .party-strip {
  padding: 26px 24px 30px;
  background: #fff3ef;
  border-top: 4px solid var(--party-accent);
}

.home-page--template .workshop-section {
  padding: 26px 24px 30px;
  background: #eef7f2;
  border-top: 4px solid var(--workshop-accent);
}

.search-page .search-console {
  background: #edf4fb;
  border-top: 4px solid var(--accent);
}

@media (max-width: 1100px) {
  .home-page--template .culture-layout {
    grid-template-columns: minmax(0, 1fr) minmax(340px, 0.8fr);
    gap: 22px;
  }

  .home-page--template .culture-people {
    padding-left: 0;
  }

  .home-page--template .culture-people .people-rail {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 820px) {
  .home-page--template .home-intro {
    width: calc(100% - 24px);
    margin-bottom: 22px;
    padding: 18px 14px 20px;
  }

  .home-page--template .home-intro .home-discovery {
    margin-top: 14px;
  }

  .home-page--template .programme-calendar {
    border-top-width: 3px;
  }

  .home-page--template .culture-layout {
    display: block;
  }

  .home-page--template .theatre-programme {
    padding: 20px 14px 22px;
    border-top-width: 4px;
  }

  .home-page--template .theatre-grid {
    display: flex !important;
    gap: 12px;
    overflow-x: auto;
    scroll-snap-type: x proximity;
  }

  .home-page--template .theatre-grid .event-card {
    min-width: 204px;
    flex-basis: 204px;
    scroll-snap-align: start;
  }

  .home-page--template .culture-people {
    margin-top: 22px;
    padding: 20px 0 0;
    border-top: 1px solid #c6d2de;
    border-left: 0;
  }

  .home-page--template .culture-people > header h3 {
    font-size: 21px;
  }

  .home-page--template .culture-people .people-rail {
    display: flex !important;
    gap: 12px;
    overflow-x: auto;
    scroll-snap-type: x proximity;
  }

  .home-page--template .culture-people .person-card {
    min-width: 112px;
    flex-basis: 112px;
    scroll-snap-align: start;
  }

  .home-page--template .party-strip,
  .home-page--template .workshop-section {
    padding: 22px 14px 24px;
  }

  .event-card__type {
    max-width: 54%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .event-card {
    transition: none;
  }
}

/* Latest catalogue correction: one-row rails everywhere, compact cards, price
   below the photo, and culture headings aligned in one header. */
.home-page--template {
  width: min(1440px, calc(100% - 48px));
  max-width: 1440px;
}

.home-page--template .feed-section {
  width: 100%;
}

.home-page--template .section-heading {
  margin-bottom: 14px;
}

.section-heading--action,
.section-heading--controls,
.culture-heading {
  width: 100%;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 18px;
}

.culture-heading__main,
.culture-heading__people {
  min-width: 0;
}

.culture-heading__main {
  flex: 1 1 390px;
}

.culture-heading__people {
  flex: 0 1 320px;
}

.culture-heading__people h3 {
  margin: 0;
  color: var(--ink);
  font-size: 26px;
  font-weight: 900;
  line-height: 1.05;
}

.culture-heading__people p {
  margin: 5px 0 0;
  color: #6d7783;
  font-size: 13px;
  font-weight: 650;
}

.section-show-all {
  min-width: 132px;
  min-height: 40px;
  padding: 0 15px;
  justify-content: center;
  border-radius: 9px;
  background: #f1f5f8;
  color: #171c23;
  font-size: 12px;
  font-weight: 850;
  white-space: nowrap;
}

.home-page--template .event-tile-grid,
.home-page--template .theatre-grid,
.home-page--template .poster-rail,
.home-page--template .workshop-list {
  display: flex !important;
  grid-template-columns: none !important;
  flex-direction: row !important;
  flex-wrap: nowrap !important;
  gap: 14px;
  padding: 2px 2px 12px;
  overflow-x: auto !important;
  overflow-y: hidden !important;
  overscroll-behavior-inline: contain;
  scroll-snap-type: x proximity;
  scrollbar-width: none;
}

.home-page--template .event-tile-grid::-webkit-scrollbar,
.home-page--template .theatre-grid::-webkit-scrollbar,
.home-page--template .poster-rail::-webkit-scrollbar,
.home-page--template .workshop-list::-webkit-scrollbar,
.home-page--template .people-rail::-webkit-scrollbar {
  display: none;
}

.home-page--template .event-tile-grid .event-card,
.home-page--template .theatre-grid .event-card,
.home-page--template .poster-rail .event-card,
.home-page--template .workshop-list .event-card {
  flex: 0 0 286px !important;
  min-width: 286px !important;
  min-height: 214px !important;
  height: auto !important;
  display: flex !important;
  flex-direction: column !important;
  overflow: hidden;
  border-radius: 9px;
  scroll-snap-align: start;
}

.home-page--template .theatre-grid .event-card {
  flex-basis: 270px !important;
  min-width: 270px !important;
}

.event-card__media,
.home-page--template .event-tile-grid .event-card__media,
.home-page--template .theatre-grid .event-card__media,
.home-page--template .poster-rail .event-card__media,
.home-page--template .workshop-list .event-card__media,
.home-page--template .theatre-grid .event-card--theatre .event-card__media,
.home-page--template .poster-rail .event-card--poster .event-card__media,
.home-page--template .event-card--workshop .event-card__media {
  position: relative;
  width: 100% !important;
  height: 128px !important;
  flex: 0 0 128px !important;
  aspect-ratio: auto !important;
}

.home-page--template .theatre-grid .event-card__media,
.home-page--template .theatre-grid .event-card--theatre .event-card__media {
  height: 132px !important;
  flex-basis: 132px !important;
}

.event-card__copy,
.home-page--template .event-tile-grid .event-card__copy,
.home-page--template .theatre-grid .event-card__copy,
.home-page--template .poster-rail .event-card__copy,
.home-page--template .workshop-list .event-card__copy,
.home-page--template .theatre-grid .event-card--theatre .event-card__copy {
  position: static !important;
  min-height: 82px !important;
  padding: 10px 11px 11px !important;
  gap: 5px !important;
  color: var(--ink) !important;
}

.event-card__topline {
  min-width: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.event-card__date {
  flex: 1 1 auto;
  min-width: 0;
  margin: 0 !important;
  overflow: hidden;
  color: var(--event-accent);
  font-size: 10px !important;
  font-weight: 850;
  line-height: 1.15;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.event-card__type {
  flex: 0 1 auto;
  max-width: 42%;
  min-height: 20px;
  padding: 2px 7px;
  font-size: 9px;
  line-height: 1.15;
}

.event-card__copy h3,
.home-page--template .event-tile-grid .event-card__copy h3,
.home-page--template .theatre-grid .event-card__copy h3,
.home-page--template .poster-rail .event-card__copy h3,
.home-page--template .workshop-list .event-card__copy h3 {
  display: -webkit-box;
  margin: 0 !important;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  font-size: 15px !important;
  font-weight: 900;
  line-height: 1.08 !important;
}

.event-card__bottom {
  min-width: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-top: auto;
}

.event-card__venue {
  min-width: 0;
  margin: 0 !important;
  color: #68727e !important;
  font-size: 10px !important;
  font-weight: 650;
  line-height: 1.2;
}

.event-card__venue span {
  display: block;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.event-card__price,
.event-card__copy .event-card__price {
  position: static !important;
  inset: auto !important;
  flex: 0 0 auto;
  max-width: 112px;
  padding: 5px 8px;
  overflow: hidden;
  border: 1px solid #a9c7ef;
  border-radius: 7px;
  background: #eaf4ff;
  color: #075dad;
  box-shadow: none;
  backdrop-filter: none;
  font-size: 10px;
  font-weight: 900;
  line-height: 1.1;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.event-card__price--pending {
  border-color: #cbd8e5;
  background: #f4f7fa;
  color: #344154;
}

.home-page--template .theatre-programme,
.home-page--template .party-programme,
.home-page--template .concert-programme,
.home-page--template .workshop-programme {
  padding: 24px 24px 26px;
  border-radius: 0;
}

.home-page--template .theatre-programme {
  background: #eef4fa;
}

.home-page--template .concert-programme {
  background: #edf6ff;
  border-top: 4px solid var(--concert-accent);
}

.home-page--template .culture-layout {
  display: block !important;
}

.home-page--template .culture-people {
  margin-top: 16px;
  padding: 0;
  border: 0;
}

.home-page--template .culture-people > header {
  display: none;
}

.home-page--template .culture-people .people-rail {
  display: flex !important;
  grid-template-columns: none !important;
  gap: 14px;
  padding: 2px 2px 10px;
  overflow-x: auto !important;
  overflow-y: hidden;
  scroll-snap-type: x proximity;
  scrollbar-width: none;
}

.home-page--template .culture-people .person-card {
  flex: 0 0 128px !important;
  min-width: 128px !important;
  scroll-snap-align: start;
}

.home-page--template .rail-shell {
  position: relative;
  min-width: 0;
}

.home-page--template .rail-arrow {
  top: 50%;
  z-index: 4;
  width: 40px;
  height: 40px;
  border: 1px solid rgba(174, 188, 205, 0.58);
  background: rgba(244, 248, 252, 0.92);
  box-shadow: 0 8px 18px rgba(22, 31, 42, 0.1);
  backdrop-filter: blur(8px);
}

.home-page--template .rail-arrow--previous {
  left: -16px;
}

.home-page--template .rail-arrow--next {
  right: -16px;
}

@media (max-width: 820px) {
  .home-page--template {
    width: calc(100% - 24px);
    max-width: calc(100% - 24px);
  }

  .culture-heading {
    align-items: flex-start;
    flex-wrap: wrap;
  }

  .culture-heading__main {
    flex-basis: 100%;
  }

  .culture-heading__people {
    flex: 1 1 170px;
  }

  .culture-heading__people h3 {
    font-size: 21px;
  }

  .home-page--template .event-tile-grid .event-card,
  .home-page--template .theatre-grid .event-card,
  .home-page--template .poster-rail .event-card,
  .home-page--template .workshop-list .event-card {
    flex-basis: min(82vw, 300px) !important;
    min-width: min(82vw, 300px) !important;
  }

  .home-page--template .rail-arrow {
    display: none;
  }

  .event-card__type {
    max-width: 48%;
  }
}

/* Final culture-feed pass: wide draggable rails, lower event cards and readable
   translucent price labels. Keep this last because earlier layers are preserved. */
.home-page--template {
  width: min(1440px, calc(100% - 48px));
  max-width: 1440px;
}

.home-page--template .feed-section {
  width: 100%;
}

.section-heading--action,
.section-heading--controls {
  width: 100%;
  align-items: flex-end;
}

.section-show-all {
  min-width: 142px;
  min-height: 42px;
  justify-content: center;
  padding: 0 16px;
  border-color: #c7d7e8;
  background: rgba(247, 251, 255, 0.86);
  color: #17212d;
  font-size: 12px;
  font-weight: 850;
}

.event-card__media {
  position: relative;
}

.event-card__price {
  position: absolute;
  right: 10px;
  bottom: 10px;
  z-index: 2;
  max-width: calc(100% - 20px);
  padding: 7px 10px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.68);
  border-radius: 8px;
  background: rgba(242, 247, 253, 0.78);
  color: #111820;
  box-shadow: 0 8px 18px rgba(12, 25, 42, 0.16);
  backdrop-filter: blur(10px);
  font-size: 12px;
  font-weight: 900;
  line-height: 1.05;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.event-card__price--pending {
  background: rgba(255, 255, 255, 0.74);
  color: #243140;
}

.event-card__copy {
  gap: 7px;
}

.event-card__topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  min-width: 0;
}

.event-card__date {
  margin: 0;
  overflow: hidden;
  font-size: 11px;
  font-weight: 850;
  line-height: 1.2;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.event-card__copy h3 {
  display: -webkit-box;
  margin: 0;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  font-weight: 900;
}

.event-card__copy > p {
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  white-space: normal;
}

.home-page--template .programme-calendar {
  width: 100%;
}

.home-page--template .day-rail,
.home-page--template .event-tile-grid,
.home-page--template .theatre-grid,
.home-page--template .poster-rail,
.home-page--template .workshop-list,
.home-page--template .people-rail {
  cursor: grab;
  scroll-snap-type: x proximity;
  touch-action: pan-y;
  user-select: none;
}

.home-page--template [data-drag-rail].is-dragging {
  cursor: grabbing;
  scroll-behavior: auto;
}

.home-page--template [data-drag-rail].is-dragging a,
.home-page--template [data-drag-rail].is-dragging button {
  pointer-events: none;
}

.home-page--template .event-tile-grid,
.home-page--template .theatre-grid,
.home-page--template .poster-rail,
.home-page--template .workshop-list {
  display: flex !important;
  flex-direction: row;
  gap: 16px;
  padding: 2px 2px 14px;
  overflow-x: auto;
  overflow-y: hidden;
  overscroll-behavior-inline: contain;
  scrollbar-width: none;
}

.home-page--template .event-tile-grid::-webkit-scrollbar,
.home-page--template .theatre-grid::-webkit-scrollbar,
.home-page--template .poster-rail::-webkit-scrollbar,
.home-page--template .workshop-list::-webkit-scrollbar {
  display: none;
}

.home-page--template .event-tile-grid .event-card,
.home-page--template .theatre-grid .event-card,
.home-page--template .poster-rail .event-card,
.home-page--template .workshop-list .event-card {
  flex: 0 0 clamp(308px, 28vw, 386px);
  min-width: 308px;
  min-height: 246px;
  display: flex;
  flex-direction: column;
  scroll-snap-align: start;
  border-radius: 10px;
}

.home-page--template .event-tile-grid .event-card__media,
.home-page--template .theatre-grid .event-card__media,
.home-page--template .poster-rail .event-card__media,
.home-page--template .workshop-list .event-card__media,
.home-page--template .theatre-grid .event-card--theatre .event-card__media,
.home-page--template .poster-rail .event-card--poster .event-card__media,
.home-page--template .event-card--workshop .event-card__media {
  width: 100%;
  height: 146px;
  flex: 0 0 146px;
  aspect-ratio: auto;
}

.home-page--template .event-tile-grid .event-card__copy,
.home-page--template .theatre-grid .event-card__copy,
.home-page--template .poster-rail .event-card__copy,
.home-page--template .workshop-list .event-card__copy,
.home-page--template .theatre-grid .event-card--theatre .event-card__copy {
  min-height: 100px;
  padding: 13px 14px 14px;
}

.home-page--template .event-tile-grid .event-card__copy h3,
.home-page--template .theatre-grid .event-card__copy h3,
.home-page--template .poster-rail .event-card__copy h3,
.home-page--template .workshop-list .event-card__copy h3 {
  font-size: 18px;
  line-height: 1.08;
}

.home-page--template .culture-layout {
  display: block;
}

.home-page--template .theatre-programme {
  padding: 28px 30px 30px;
  background: #eef4fa;
}

.home-page--template .theatre-carousel,
.rail-shell {
  position: relative;
  min-width: 0;
}

.home-page--template .rail-arrow {
  top: 50%;
  z-index: 4;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(141, 160, 181, 0.36);
  background: rgba(247, 251, 255, 0.86);
  box-shadow: 0 10px 24px rgba(25, 35, 48, 0.12);
  backdrop-filter: blur(10px);
}

.home-page--template .rail-arrow--previous {
  left: -18px;
}

.home-page--template .rail-arrow--next {
  right: -18px;
}

.home-page--template .culture-people {
  margin-top: 26px;
  padding: 22px 0 0;
  border-top: 1px solid #c7d5e3;
  border-left: 0;
}

.home-page--template .culture-people .people-rail {
  display: flex !important;
  grid-template-columns: none;
  gap: 14px;
  padding: 2px 2px 12px;
  overflow-x: auto;
  overflow-y: hidden;
}

.home-page--template .culture-people .person-card {
  flex: 0 0 132px;
  min-width: 132px;
  scroll-snap-align: start;
}

.home-page--template .workshop-list--teasers .event-card__hit {
  display: none;
}

@media (max-width: 820px) {
  .home-page--template {
    width: calc(100% - 24px);
    max-width: calc(100% - 24px);
  }

  .section-heading--action,
  .section-heading--controls {
    gap: 12px;
  }

  .section-show-all {
    min-width: 118px;
    min-height: 38px;
    padding: 0 12px;
    font-size: 11px;
  }

  .home-page--template .event-tile-grid .event-card,
  .home-page--template .theatre-grid .event-card,
  .home-page--template .poster-rail .event-card,
  .home-page--template .workshop-list .event-card {
    flex-basis: min(82vw, 326px);
    min-width: min(82vw, 326px);
    min-height: 238px;
  }

  .home-page--template .event-tile-grid .event-card__media,
  .home-page--template .theatre-grid .event-card__media,
  .home-page--template .poster-rail .event-card__media,
  .home-page--template .workshop-list .event-card__media,
  .home-page--template .theatre-grid .event-card--theatre .event-card__media,
  .home-page--template .poster-rail .event-card--poster .event-card__media,
  .home-page--template .event-card--workshop .event-card__media {
    height: 136px;
    flex-basis: 136px;
  }

  .home-page--template .rail-arrow {
    display: none;
  }

  .home-page--template .theatre-programme,
  .home-page--template .party-programme,
  .home-page--template .workshop-programme {
    padding-inline: 14px;
  }
}

.search-page .search-console {
  padding: 20px;
}

.search-page .search-filters {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: 12px;
}

.search-page .search-filters > .category-wheel {
  display: flex;
  flex: 1 0 100%;
  flex-wrap: wrap;
  gap: 8px;
  width: 100%;
  overflow: visible;
}

.search-page .category-orbit {
  flex: 0 0 auto;
  min-width: max-content;
}

.search-page .category-orbit span {
  max-width: none;
  overflow: visible;
  white-space: nowrap;
  text-overflow: clip;
}

.search-page .date-fields--inline {
  margin-left: auto;
}

@media (max-width: 820px) {
  .search-page .search-console {
    padding: 14px;
  }

  .search-page .search-filters > .category-wheel {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .search-page .category-orbit {
    min-width: 0;
    justify-content: flex-start;
  }

  .search-page .category-orbit span {
    min-width: 0;
    font-size: 12px;
  }

  .search-page .date-fields--inline {
    width: 100%;
    margin-left: 0;
  }

  .search-page .search-filters > .button {
    width: 100%;
  }
}

/* Reference-led desktop shell and a single SHYNE blue visual system. */
:root {
  --paper: #ffffff;
  --paper-deep: #f4f8fd;
  --ticket: #ffffff;
  --rule: #dfe8f2;
  --card-rule: #dfe6ee;
  --signal: #0878d1;
  --signal-strong: #0565b5;
  --signal-pale: #eaf4ff;
  --accent: #0878d1;
}

body {
  background: #fff;
  background-image: none;
}

.site-header {
  height: 96px;
  background: rgba(255, 255, 255, 0.98);
  border-bottom: 1px solid #e6ebf0;
}

.site-header__inner {
  display: grid;
  grid-template-columns: auto minmax(360px, 500px) auto;
  gap: 42px;
  width: min(1460px, calc(100% - 64px));
  height: 100%;
  margin: 0 auto;
  align-items: center;
}

.site-header .wordmark {
  min-width: 178px;
}

.site-header .wordmark__mark {
  width: 48px;
  height: 48px;
}

.site-header .wordmark__copy strong {
  font-size: 22px;
}

.site-header .wordmark__copy small {
  font-size: 10px;
}

.header-search {
  display: flex;
  align-items: center;
  gap: 13px;
  min-width: 0;
  height: 52px;
  padding: 0 20px;
  color: #68717c;
  background: #f0f2f4;
  border: 1px solid transparent;
  border-radius: 26px;
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
}

.header-search:hover,
.header-search.is-active {
  color: #075dad;
  background: #eaf4ff;
  border-color: #bad8f5;
}

.header-search .icon {
  width: 22px;
  height: 22px;
  flex: 0 0 22px;
}

.header-actions {
  display: flex;
  justify-content: flex-end;
  gap: 28px;
}

.city-chip,
.header-tickets {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-width: max-content;
  color: var(--ink);
  font-size: 15px;
  font-weight: 750;
  text-decoration: none;
}

.city-chip .icon,
.header-tickets .icon {
  width: 20px;
  height: 20px;
}

.header-tickets:hover {
  color: var(--signal);
}

.header-profile {
  width: 44px;
  height: 44px;
  color: var(--signal);
  background: #fff;
  border: 2px solid #d6e8fa;
}

.home-page--template {
  padding-top: 30px;
  --party-accent: var(--signal);
  --concert-accent: var(--signal);
  --theatre-accent: var(--signal);
  --workshop-accent: var(--signal);
}

.home-page--template .sponsor-stage {
  height: 500px;
  margin-bottom: 48px;
}

.home-page--template .sponsor-stage__viewport,
.home-page--template .sponsor-slide,
.home-page--template .sponsor-slide__image {
  height: 500px;
}

.home-page--template .sponsor-slide__copy h2 {
  max-width: 820px;
  font-size: 56px;
}

.home-page--template .sponsor-slide__copy p {
  font-size: 16px;
}

.home-page--template .feed-section {
  margin-top: 54px;
}

.home-page--template .section-heading h2 {
  font-size: 40px;
  line-height: 1.02;
}

.home-page--template .section-heading p {
  margin-top: 7px;
  color: #626d79;
  font-size: 14px;
}

.home-page--template .programme-calendar {
  padding: 0 0 20px;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

.home-page--template .programme-calendar__head {
  min-height: 38px;
  padding: 0 0 10px;
}

.home-page--template .programme-calendar__head > span {
  color: var(--ink);
  font-size: 14px;
  font-weight: 850;
  text-transform: uppercase;
}

.home-page--template .programme-calendar .range-button {
  min-height: 36px;
  padding: 0 12px;
  color: var(--signal);
  background: transparent;
  border: 1px solid #b9d7f3;
  border-radius: 6px;
}

.home-page--template .day-rail {
  gap: 0;
  padding: 0;
  background: #fff;
  border-top: 1px solid #d8e3ee;
  border-bottom: 1px solid #d8e3ee;
}

.home-page--template .day-pill,
.home-page--template .day-pill.is-active {
  width: 70px;
  min-width: 70px;
  min-height: 82px;
  color: var(--ink);
  background: transparent;
  border: 0;
  border-bottom: 4px solid transparent;
  border-radius: 0;
  box-shadow: none;
}

.home-page--template .day-pill:hover {
  color: var(--signal);
  background: #f5f9fd;
}

.home-page--template .day-pill.is-active {
  color: #fff;
  background: var(--signal);
  border-bottom-color: var(--signal);
}

.home-page--template .day-pill.is-active span,
.home-page--template .day-pill.is-active strong,
.home-page--template .day-pill.is-active small {
  color: #fff;
}

.home-page--template .day-pill strong {
  font-size: 28px;
}

.event-card,
.event-card--category-party,
.event-card--category-concert,
.event-card--category-theatre,
.event-card--category-workshop,
.event-card--category-unknown {
  --event-accent: var(--signal);
  --event-tint: #eaf4ff;
  border-top-color: transparent;
}

.event-card__type {
  min-height: 0;
  padding: 0;
  color: var(--signal);
  background: transparent;
  border-radius: 0;
}

.event-card__age {
  min-height: 0;
  padding: 0;
  color: #6b747e;
  background: transparent;
  border: 0;
  border-radius: 0;
}

.home-page--template .event-tile-grid {
  gap: 18px;
}

.home-page--template .event-tile-grid .event-card {
  flex: 0 0 calc((100% - 36px) / 3);
  min-width: 320px;
  min-height: 390px;
}

.home-page--template .event-tile-grid .event-card__media {
  height: 230px;
  flex-basis: 230px;
}

.home-page--template .event-tile-grid .event-card__copy {
  min-height: 160px;
  padding: 18px;
}

.home-page--template .event-tile-grid .event-card__copy h3 {
  font-size: 22px;
}

.home-page--template .theatre-programme,
.home-page--template .party-programme,
.home-page--template .workshop-programme {
  padding: 34px 0 38px;
  color: var(--ink);
  background: transparent;
  border-top: 0;
  border-radius: 0;
}

.home-page--template .theatre-programme .section-heading h2 {
  font-size: 48px;
}

.home-page--template .culture-layout {
  display: block;
}

.home-page--template .theatre-carousel {
  position: relative;
  margin-top: 4px;
}

.home-page--template .theatre-grid {
  display: flex !important;
  grid-template-columns: none;
  gap: 20px;
  padding: 2px 0 14px;
  overflow-x: auto;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}

.home-page--template .theatre-grid::-webkit-scrollbar {
  display: none;
}

.home-page--template .theatre-grid .event-card {
  flex: 0 0 calc((100% - 40px) / 3);
  min-width: 320px;
  min-height: 0;
  scroll-snap-align: start;
  background: #fff;
}

.home-page--template .theatre-grid .event-card__media,
.home-page--template .theatre-grid .event-card--theatre .event-card__media {
  height: auto;
  flex-basis: auto;
  aspect-ratio: 4 / 4.8;
}

.home-page--template .theatre-grid .event-card__copy {
  min-height: 174px;
  padding: 18px;
}

.home-page--template .theatre-grid .event-card__copy h3 {
  font-size: 22px;
}

.rail-arrow {
  position: absolute;
  top: 42%;
  z-index: 4;
  display: grid;
  width: 50px;
  height: 50px;
  place-items: center;
  color: var(--signal);
  background: #fff;
  border: 2px solid #b8d8f5;
  border-radius: 50%;
  box-shadow: 0 8px 24px rgba(14, 78, 132, 0.18);
  transform: translateY(-50%);
}

.rail-arrow:hover {
  color: #fff;
  background: var(--signal);
  border-color: var(--signal);
}

.rail-arrow .icon {
  width: 22px;
  height: 22px;
}

.rail-arrow--previous {
  left: 12px;
}

.rail-arrow--next {
  right: 12px;
}

.home-page--template .culture-people {
  margin-top: 34px;
  padding: 30px 0 0;
  border-top: 1px solid #d7e3ef;
  border-left: 0;
}

.home-page--template .culture-people > header h3 {
  font-size: 30px;
}

.home-page--template .culture-people > header p {
  font-size: 14px;
}

.home-page--template .culture-people .people-rail {
  display: grid !important;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 24px 18px;
}

.home-page--template .culture-people .person-card__name {
  font-size: 15px;
}

.home-page--template .poster-rail {
  gap: 18px;
}

.home-page--template .poster-rail .event-card {
  flex: 0 0 calc((100% - 36px) / 3);
  min-width: 320px;
  min-height: 390px;
}

.home-page--template .poster-rail .event-card__media,
.home-page--template .poster-rail .event-card--poster .event-card__media {
  height: 230px;
  flex-basis: 230px;
}

.search-page .search-console {
  background: #f4f8fd;
  border-top-color: var(--signal);
}

.site-footer {
  background: #f4f8fd;
  border-top: 1px solid #dbe7f2;
}

@media (max-width: 1100px) {
  .site-header__inner {
    grid-template-columns: auto minmax(300px, 1fr) auto;
    gap: 24px;
    width: calc(100% - 40px);
  }

  .header-actions {
    gap: 16px;
  }

  .header-tickets span:last-child {
    display: none;
  }

  .home-page--template .culture-people .people-rail {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (max-width: 820px) {
  .site-header {
    height: 64px;
  }

  .site-header__inner {
    grid-template-columns: auto 44px;
    gap: 12px;
    width: calc(100% - 24px);
  }

  .site-header .wordmark {
    min-width: 0;
  }

  .site-header .wordmark__mark {
    width: 38px;
    height: 38px;
  }

  .site-header .wordmark__copy strong {
    font-size: 18px;
  }

  .header-search {
    grid-column: 2;
    width: 44px;
    height: 44px;
    padding: 0;
    justify-content: center;
    border-radius: 50%;
  }

  .header-search > span:last-child,
  .header-actions {
    display: none;
  }

  .home-page--template {
    padding-top: 16px;
  }

  .home-page--template .sponsor-stage,
  .home-page--template .sponsor-stage__viewport,
  .home-page--template .sponsor-slide,
  .home-page--template .sponsor-slide__image {
    height: 380px;
  }

  .home-page--template .sponsor-stage {
    margin-bottom: 34px;
  }

  .home-page--template .sponsor-slide__copy h2 {
    font-size: 38px;
  }

  .home-page--template .feed-section {
    margin-top: 40px;
  }

  .home-page--template .section-heading h2,
  .home-page--template .theatre-programme .section-heading h2 {
    font-size: 31px;
  }

  .home-page--template .day-pill,
  .home-page--template .day-pill.is-active {
    width: 62px;
    min-width: 62px;
    min-height: 76px;
  }

  .home-page--template .event-tile-grid .event-card,
  .home-page--template .poster-rail .event-card {
    flex-basis: min(84vw, 330px);
    min-width: min(84vw, 330px);
    min-height: 360px;
  }

  .home-page--template .event-tile-grid .event-card__media,
  .home-page--template .poster-rail .event-card__media,
  .home-page--template .poster-rail .event-card--poster .event-card__media {
    height: 210px;
    flex-basis: 210px;
  }

  .home-page--template .theatre-programme,
  .home-page--template .party-programme,
  .home-page--template .workshop-programme {
    padding: 26px 0 30px;
  }

  .home-page--template .theatre-grid .event-card {
    flex-basis: min(78vw, 300px);
    min-width: min(78vw, 300px);
  }

  .rail-arrow {
    top: 40%;
    width: 44px;
    height: 44px;
  }

  .rail-arrow--previous {
    left: 6px;
  }

  .rail-arrow--next {
    right: 6px;
  }

  .home-page--template .culture-people {
    margin-top: 26px;
    padding-top: 24px;
  }

  .home-page--template .culture-people .people-rail {
    display: flex !important;
    gap: 14px;
    overflow-x: auto;
  }

  .home-page--template .culture-people .person-card {
    min-width: 126px;
    flex-basis: 126px;
  }
}

/* Events sit directly on the white catalogue canvas instead of card panels. */
.event-card,
.event-card--search,
.home-page--template .theatre-grid .event-card {
  overflow: visible;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

.event-card__media,
.event-card--search .event-card__media,
.home-page--template .theatre-grid .event-card__media {
  overflow: hidden;
  border-radius: 8px;
}

.event-card__copy,
.event-card--search .event-card__copy,
.home-page--template .event-tile-grid .event-card__copy,
.home-page--template .theatre-grid .event-card__copy,
.home-page--template .poster-rail .event-card__copy {
  padding: 15px 0 0;
  background: transparent;
}

.event-card__topline {
  padding-bottom: 2px;
}

@media (hover: hover) {
  .event-card:hover {
    transform: none;
    box-shadow: none;
  }

  .event-card:hover .event-card__image {
    transform: scale(1.015);
  }
}

/* SHYNE parity polish: web follows the native four-tab information architecture. */
:root {
  --paper: #f6f2ec;
  --paper-deep: #eee7dc;
  --ticket: #fffdfa;
  --ink: #191a1e;
  --ink-soft: #3c3b40;
  --steel: #716e6b;
  --rule: #e5ded4;
  --signal: #5599ff;
  --signal-strong: #2f78e8;
  --signal-pale: #e9f1ff;
  --positive: #2d8a65;
  --danger: #b83935;
  --focus: #276fd3;
  --radius-control: 16px;
  --radius-card: 22px;
  --radius-large: 28px;
  --page: min(1240px, calc(100vw - 64px));
  --shadow-stage: 0 18px 48px rgba(36, 30, 23, 0.14);
}

body {
  padding-bottom: 0;
  background:
    linear-gradient(90deg, rgba(25, 26, 30, 0.016) 1px, transparent 1px) 0 0 / 64px 64px,
    var(--paper);
}

.site-header {
  position: sticky;
  top: 0;
  height: 76px;
  padding: 0;
  border-bottom: 1px solid color-mix(in srgb, var(--rule) 82%, transparent);
  background: color-mix(in srgb, var(--paper) 90%, transparent);
  backdrop-filter: blur(18px) saturate(1.3);
}

.site-header__inner {
  min-height: 76px;
  padding: 0;
  grid-template-columns: 220px 1fr 220px;
  gap: 24px;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.wordmark__mark {
  width: 42px;
  height: 42px;
  border-radius: 15px;
  background: var(--signal);
  box-shadow: none;
}

.wordmark__copy strong {
  font-size: 18px;
}

.wordmark__copy small {
  color: var(--steel);
  font-size: 12px;
}

.desktop-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
}

.desktop-nav a {
  min-height: 44px;
  padding: 11px 17px;
  border-radius: 14px;
  color: var(--steel);
  font-size: 14px;
  font-weight: 650;
}

.desktop-nav a:hover,
.desktop-nav a.is-active {
  background: var(--signal-pale);
  color: var(--signal-strong);
}

.header-actions {
  gap: 12px;
}

.city-chip {
  min-height: 44px;
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
  color: var(--steel);
  font-size: 14px;
}

.header-profile {
  width: 44px;
  min-height: 44px;
  padding: 0;
  border: 1px solid var(--rule);
  border-radius: 15px;
  background: var(--ticket);
  box-shadow: none;
  color: var(--signal-strong);
}

.mobile-dock {
  display: none;
}

.home-page {
  padding: 32px 0 96px;
}

.home-context {
  align-items: center;
  margin-bottom: 20px;
}

.home-context h2 {
  margin: 0;
  font-size: clamp(38px, 5vw, 68px);
  line-height: 0.96;
  letter-spacing: -0.06em;
}

.home-context__search {
  min-height: 48px;
  padding: 0 18px;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  border: 1px solid var(--rule);
  border-radius: var(--radius-control);
  background: var(--ticket);
  color: var(--ink-soft);
  font-weight: 650;
}

.home-context__search:hover {
  border-color: var(--signal);
  color: var(--signal-strong);
}

.home-context__search .icon {
  width: 20px;
  height: 20px;
}

.home-discovery {
  justify-content: flex-start;
  margin: 0 0 28px;
}

.home-discovery .category-wheel {
  width: auto;
  padding: 0;
  gap: 10px;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
}

.home-discovery .category-orbit {
  min-height: 48px;
  padding: 8px 15px;
  border: 1px solid var(--rule);
  border-radius: 999px;
  background: var(--ticket);
  color: var(--ink-soft);
  font-size: 14px;
  letter-spacing: 0;
}

.home-discovery .category-orbit__icon .icon {
  width: 20px;
  height: 20px;
}

.home-discovery .category-orbit:hover,
.home-discovery .category-orbit.is-active {
  border-color: var(--signal);
  background: var(--signal-pale);
  color: var(--signal-strong);
}

.sponsor-stage {
  margin: 0 0 56px;
}

.sponsor-stage__viewport {
  height: clamp(400px, 52vh, 560px);
  border-radius: var(--radius-large);
}

.feed-section {
  margin-top: 64px;
}

.upcoming-section {
  margin-top: 0;
}

.section-heading h2 {
  font-size: clamp(34px, 4.2vw, 58px);
  letter-spacing: -0.06em;
}

.programme-calendar {
  margin-top: 24px;
  padding: 26px 28px 20px;
  display: block;
  overflow: hidden;
  border: 1px solid var(--rule);
  border-radius: var(--radius-large);
  background: var(--ticket);
}

.programme-calendar__head {
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.programme-calendar__head > span {
  color: #9a938b;
  font-size: 12px;
  font-weight: 750;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.programme-calendar .range-button {
  min-width: 0;
  min-height: 44px;
  padding: 0 15px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--rule);
  border-radius: 14px;
  background: var(--ticket);
  box-shadow: none;
  color: var(--ink-soft);
}

.programme-calendar .range-button.is-active {
  border-color: var(--signal);
  color: var(--signal-strong);
}

.day-rail {
  display: flex;
  grid-template-columns: none;
  flex-wrap: nowrap;
  gap: clamp(3px, 0.65vw, 10px);
  padding: 2px 0 4px;
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  scrollbar-width: none;
}

.day-rail::-webkit-scrollbar {
  display: none;
}

.day-pill,
.day-pill.is-active {
  width: clamp(58px, 5.15vw, 72px);
  min-width: clamp(58px, 5.15vw, 72px);
  min-height: 102px;
  padding: 12px 4px 10px;
  border: 0;
  border-radius: 24px;
  background: transparent;
  box-shadow: none;
  color: var(--ink);
  transition: background-color 150ms ease, color 150ms ease, transform 100ms ease;
}

.day-pill--all {
  display: none;
}

.day-pill strong {
  font-size: clamp(34px, 3.5vw, 48px);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.055em;
}

.day-pill span,
.day-pill small {
  margin-top: 9px;
  color: #777b88;
  font-size: 13px;
  font-weight: 750;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.day-pill span {
  order: 3;
}

.day-pill small {
  display: none;
}

.day-pill.is-weekend span {
  color: #ea484d;
}

.day-pill:hover {
  background: color-mix(in srgb, var(--signal-pale) 62%, transparent);
}

.day-pill:active {
  transform: scale(0.97);
}

.day-pill.is-active {
  background: var(--signal-pale);
  color: var(--signal-strong);
}

.calendar-range-link {
  min-height: 36px;
  margin-top: 8px;
  padding: 0;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  border: 0;
  background: transparent;
  color: var(--steel);
  font-size: 13px;
  font-weight: 650;
}

.calendar-range-link:hover,
.calendar-range-link.is-active {
  color: var(--signal-strong);
}

.account-role-picker {
  margin: 18px 0;
  padding: 4px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  border: 1px solid var(--rule);
  border-radius: 16px;
  background: var(--paper-deep);
}

.identity-card {
  border: 1px solid var(--rule);
  background: var(--ticket);
  box-shadow: none;
}

.identity-card::before,
.identity-card::after {
  display: none;
}

.account-role-picker a {
  min-height: 44px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  color: var(--steel);
  font-weight: 650;
}

.account-role-picker a.is-active {
  background: var(--ticket);
  color: var(--signal-strong);
}

.organizer-back {
  text-align: center;
}

@media (max-width: 820px) {
  :root {
    --page: calc(100% - 28px);
  }

  body {
    padding-bottom: calc(64px + env(safe-area-inset-bottom));
  }

  .site-header {
    height: 58px;
    padding: max(4px, env(safe-area-inset-top)) 0 4px;
  }

  .site-header__inner {
    width: var(--page);
    min-height: 50px;
    grid-template-columns: 1fr auto;
  }

  .wordmark__mark {
    width: 40px;
    height: 40px;
    border-radius: 14px;
  }

  .wordmark__copy,
  .desktop-nav,
  .city-chip {
    display: none;
  }

  .mobile-dock {
    position: fixed;
    z-index: 80;
    inset: auto 0 0;
    width: 100%;
    min-height: 58px;
    padding: 4px 8px max(4px, env(safe-area-inset-bottom));
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    border: 0;
    border-top: 1px solid var(--rule);
    border-radius: 0;
    background: color-mix(in srgb, var(--ticket) 94%, transparent);
    box-shadow: none;
    backdrop-filter: blur(18px) saturate(1.25);
    transform: none;
  }

  .mobile-dock a {
    min-height: 52px;
    border-radius: 0;
    color: var(--steel);
    font-size: 10px;
    font-weight: 650;
  }

  .mobile-dock a.is-active {
    background: transparent;
    color: var(--signal-strong);
  }

  .dock-icon,
  .dock-icon .icon {
    width: 22px;
    height: 22px;
  }

  .home-page {
    width: 100%;
    padding: 20px 0 78px;
  }

  .home-context,
  .home-discovery,
  .sponsor-stage,
  .home-page > .feed-section {
    width: var(--page);
    margin-inline: auto;
  }

  .home-context h2 {
    font-size: 40px;
  }

  .home-context__search span {
    display: none;
  }

  .home-context__search {
    width: 46px;
    min-height: 46px;
    padding: 0;
    justify-content: center;
  }

  .home-discovery {
    margin-top: 18px;
    margin-bottom: 18px;
  }

  .home-discovery .category-wheel {
    width: calc(100% + 14px);
    margin-right: -14px;
    padding-right: 14px;
  }

  .home-discovery .category-orbit {
    min-height: 46px;
    padding: 7px 13px;
    font-size: 13px;
  }

  .sponsor-stage__viewport {
    min-height: 330px;
    height: min(46svh, 440px);
    border-radius: 24px;
  }

  .sponsor-slide__copy {
    left: 20px;
    right: 20px;
    bottom: 54px;
  }

  .sponsor-slide h2 {
    font-size: clamp(34px, 12vw, 52px);
  }

  .section-heading h2 {
    font-size: 36px;
  }

  .programme-calendar {
    margin-top: 18px;
    padding: 18px 0 14px 16px;
    border-radius: 22px;
  }

  .programme-calendar__head {
    padding-right: 16px;
  }

  .programme-calendar .range-button {
    display: none;
  }

  .day-rail {
    gap: 10px;
    padding-right: 16px;
  }

  .day-pill,
  .day-pill.is-active {
    width: 94px;
    min-width: 94px;
    min-height: 108px;
    padding: 12px 8px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--rule);
    border-radius: 20px;
    background: var(--ticket);
  }

  .day-pill--all,
  .day-pill--all.is-active {
    display: flex;
    border-color: var(--signal);
    background: var(--signal);
    color: white;
  }

  .day-pill--all .icon {
    width: 25px;
    height: 25px;
  }

  .day-pill--all strong {
    margin-top: 8px;
    font-size: 15px;
    letter-spacing: 0;
  }

  .day-pill strong {
    order: 2;
    font-size: 38px;
  }

  .day-pill span,
  .day-pill small {
    display: block;
    font-size: 11px;
  }

  .day-pill span {
    order: 1;
    margin: 0 0 4px;
  }

  .day-pill small {
    order: 3;
    margin: 4px 0 0;
  }

  .day-pill.is-weekend span {
    color: var(--danger);
  }

  .day-pill.is-active:not(.day-pill--all) {
    border-color: var(--signal);
    background: var(--signal-pale);
    color: var(--signal-strong);
  }

  .calendar-range-link {
    margin-left: 2px;
  }

  .organizer-mobile-head {
    display: block;
    width: var(--page);
    margin: 0 auto 14px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .day-pill {
    transition: none;
  }
}

/* Desktop homepage rebuilt from the supplied SHYNE layout reference. */
.wordmark__mark img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  border-radius: inherit;
}

.home-page--template {
  max-width: 1262px;
  padding-top: 28px;
}

.home-page--template .home-context {
  margin-bottom: 12px;
}

.home-page--template .home-context .eyebrow {
  margin-bottom: 2px;
  color: var(--signal-strong);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0;
}

.home-page--template .home-context h2 {
  font-size: clamp(34px, 4.2vw, 52px);
  font-weight: 750;
  letter-spacing: 0;
  line-height: 1;
}

.home-page--template .home-context__search {
  min-height: 40px;
  padding: 0 14px;
  border-radius: 12px;
  font-size: 13px;
  font-weight: 600;
}

.home-page--template .home-discovery {
  margin-bottom: 14px;
}

.home-page--template .home-discovery .category-orbit {
  min-height: 34px;
  padding: 5px 10px;
  font-size: 11px;
  font-weight: 600;
}

.home-page--template .home-discovery .category-orbit__icon .icon {
  width: 15px;
  height: 15px;
}

.home-page--template .sponsor-stage {
  margin-bottom: 30px;
}

.home-page--template .sponsor-stage__viewport {
  height: clamp(250px, 29vw, 330px);
  min-height: 250px;
  border-radius: 16px;
}

.home-page--template .sponsor-slide__copy {
  left: 28px;
  bottom: 28px;
  width: min(62%, 540px);
}

.home-page--template .sponsor-slide__venue,
.home-page--template .sponsor-slide__price {
  font-size: 11px;
  font-weight: 650;
  letter-spacing: 0;
}

.home-page--template .sponsor-slide h2 {
  margin: 5px 0;
  font-size: clamp(26px, 3vw, 40px);
  font-weight: 750;
  letter-spacing: 0;
}

.home-page--template .sponsor-slide p {
  font-size: 12px;
}

.home-page--template .sponsor-stage__rail {
  right: 18px;
  bottom: 14px;
}

.home-page--template .feed-section {
  margin-top: 44px;
}

.home-page--template .section-heading {
  margin-bottom: 14px;
}

.home-page--template .section-heading h2 {
  font-size: clamp(25px, 3vw, 34px);
  font-weight: 750;
  letter-spacing: 0;
  line-height: 1;
}

.home-page--template .section-heading p {
  margin-top: 5px;
  font-size: 11px;
  font-weight: 500;
}

.home-page--template .programme-calendar {
  margin-top: 0;
  padding: 12px 16px 10px;
  border-radius: 14px;
}

.home-page--template .programme-calendar__head {
  margin-bottom: 2px;
}

.home-page--template .programme-calendar__head > span {
  font-size: 10px;
  letter-spacing: 0;
}

.home-page--template .programme-calendar .range-button {
  min-height: 30px;
  padding: 0 11px;
  border-radius: 9px;
  font-size: 11px;
  font-weight: 600;
}

.home-page--template .day-rail {
  justify-content: space-between;
  gap: 1px;
  overflow: hidden;
}

.home-page--template .day-pill,
.home-page--template .day-pill.is-active {
  width: 54px;
  min-width: 54px;
  min-height: 66px;
  padding: 7px 2px;
  border-radius: 10px;
}

.home-page--template .day-pill strong {
  font-size: 19px;
  font-weight: 750;
  letter-spacing: 0;
}

.home-page--template .day-pill span,
.home-page--template .day-pill small {
  margin-top: 3px;
  font-size: 8px;
  font-weight: 600;
  letter-spacing: 0;
}

.event-tile-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
  margin-top: 16px;
}

.event-card--tile {
  min-width: 0;
  min-height: 268px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--rule);
  border-radius: 14px;
  background: var(--ticket);
  box-shadow: none;
}

.event-card--tile .event-card__media {
  height: 164px;
  flex: 0 0 164px;
  border-radius: 0;
}

.event-card--tile .event-card__image {
  border-radius: 0;
}

.event-card--tile .event-card__copy {
  padding: 10px 10px 12px;
}

.event-card--tile .event-card__date {
  font-size: 9px;
  font-weight: 650;
  letter-spacing: 0;
}

.event-card--tile .event-card__copy h3 {
  margin: 4px 0 2px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0;
}

.event-card--tile .event-card__copy > p,
.event-card--tile .event-card__foot {
  font-size: 9px;
}

.event-card--tile .event-card__foot {
  margin-top: 8px;
}

.home-page--template .theatre-grid,
.home-page--template .poster-rail {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.home-page--template .theatre-grid .event-card,
.home-page--template .poster-rail .event-card {
  min-width: 0;
  border: 1px solid var(--rule);
  border-radius: 14px;
  background: var(--ticket);
  box-shadow: none;
}

.home-page--template .theatre-grid .event-card__media,
.home-page--template .poster-rail .event-card__media {
  height: 174px;
  border-radius: 0;
}

.home-page--template .theatre-grid .event-card__image,
.home-page--template .poster-rail .event-card__image {
  border-radius: 0;
}

.home-page--template .theatre-grid .event-card__copy,
.home-page--template .poster-rail .event-card__copy {
  padding: 10px;
}

.home-page--template .theatre-grid .event-card__copy h3,
.home-page--template .poster-rail .event-card__copy h3 {
  font-size: 14px;
  letter-spacing: 0;
}

.home-page--template .theatre-grid .event-card__date,
.home-page--template .poster-rail .event-card__date,
.home-page--template .theatre-grid .event-card__copy > p,
.home-page--template .poster-rail .event-card__copy > p,
.home-page--template .theatre-grid .event-card__foot,
.home-page--template .poster-rail .event-card__foot {
  font-size: 9px;
}

.home-page--template .people-rail-heading {
  margin-top: 26px;
}

.home-page--template .people-rail-heading h3 {
  font-size: 20px;
  letter-spacing: 0;
}

.home-page--template .people-rail {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
  overflow: visible;
}

.home-page--template .person-card {
  min-width: 0;
  border-radius: 14px;
}

.home-page--template .person-card__image {
  aspect-ratio: 1 / 1;
  border-radius: 14px;
}

.home-page--template .person-card h3 {
  margin-top: 8px;
  font-size: 12px;
  letter-spacing: 0;
}

.home-page--template .person-card p {
  font-size: 10px;
}

.home-page--template .workshop-list {
  display: grid;
  gap: 0;
  border-top: 1px solid var(--rule);
}

.home-page--template .event-card--workshop {
  min-height: 112px;
  display: grid;
  grid-template-columns: 80px minmax(0, 1fr) auto;
  align-items: center;
  gap: 14px;
  border: 0;
  border-bottom: 1px solid var(--rule);
  border-radius: 0;
  background: transparent;
}

.home-page--template .event-card--workshop .event-card__media {
  width: 80px;
  height: 94px;
  border-radius: 8px;
}

.home-page--template .event-card--workshop .event-card__image {
  border-radius: inherit;
}

.home-page--template .event-card--workshop .event-card__copy {
  padding: 0;
}

.home-page--template .event-card--workshop .event-card__copy h3 {
  font-size: 16px;
  letter-spacing: 0;
}

@media (max-width: 1020px) {
  .event-tile-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .home-page--template .theatre-grid,
  .home-page--template .poster-rail {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 680px) {
  .home-page--template {
    padding-top: 16px;
  }

  .home-page--template .home-context h2 {
    font-size: 34px;
  }

  .home-page--template .sponsor-stage__viewport {
    height: 360px;
  }

  .home-page--template .programme-calendar {
    margin-right: -14px;
    border-radius: 14px 0 0 14px;
  }

  .home-page--template .day-rail {
    justify-content: flex-start;
    overflow-x: auto;
  }

  .event-tile-grid,
  .home-page--template .theatre-grid,
  .home-page--template .poster-rail {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .home-page--template .people-rail {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* Home catalogue: a single bright card system, without legacy theatre modes. */
.home-page--template .sponsor-stage__viewport {
  height: clamp(360px, 39vw, 500px);
  min-height: 360px;
  border-radius: 20px;
}

.home-page--template .sponsor-slide__copy {
  left: 38px;
  bottom: 38px;
}

.home-page--template .sponsor-slide h2 {
  font-size: clamp(34px, 4vw, 54px);
}

.home-page--template .sponsor-slide__price {
  margin-top: 14px;
  padding: 11px 16px;
  display: inline-flex;
  border-radius: 12px;
  background: var(--signal);
  color: #fff;
}

.section-heading--action,
.section-heading--controls {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 18px;
}

.section-show-all {
  min-height: 34px;
  padding: 0 11px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  flex: 0 0 auto;
  border: 1px solid #b9d1fb;
  border-radius: 10px;
  background: var(--ticket);
  color: var(--signal-strong);
  font-size: 11px;
  font-weight: 700;
}

.section-show-all:hover {
  border-color: var(--signal);
  background: var(--signal-pale);
}

.section-show-all .icon {
  width: 15px;
  height: 15px;
}

.home-page--template .theatre-programme,
.home-page--template .party-programme,
.home-page--template .workshop-programme {
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: var(--ink);
}

.home-page--template .theatre-programme .section-heading p,
.home-page--template .theatre-programme .people-rail-heading span,
.home-page--template .theatre-programme .person-card p {
  color: var(--steel);
}

.home-page--template .theatre-grid .event-card--theatre,
.home-page--template .poster-rail .event-card--poster {
  min-height: 0;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
  color: var(--ink);
}

.home-page--template .theatre-grid .event-card--theatre:first-child {
  grid-row: auto;
  min-height: 0;
}

.home-page--template .theatre-grid .event-card--theatre .event-card__media {
  position: relative;
  inset: auto;
  flex: 0 0 174px;
}

.home-page--template .theatre-grid .event-card--theatre .event-card__media::after {
  display: none;
}

.home-page--template .theatre-grid .event-card--theatre .event-card__copy {
  position: static;
  inset: auto;
  z-index: auto;
}

.home-page--template .theatre-grid .event-card--theatre .event-card__copy > p,
.home-page--template .theatre-grid .event-card--theatre .event-card__foot,
.home-page--template .theatre-grid .event-card--theatre .event-card__foot strong {
  color: inherit;
}

.home-page--template .theatre-grid .event-card--theatre .event-card__copy > p {
  color: var(--steel);
}

.home-page--template .theatre-grid .event-card--theatre .event-card__foot strong {
  color: var(--ink);
}

.home-page--template .poster-rail .event-card--poster .event-card__media {
  aspect-ratio: auto;
  flex: 0 0 174px;
}

.home-page--template .poster-rail .event-card--poster .event-card__copy {
  min-height: 0;
  display: block;
}

.home-page--template .people-rail {
  padding-bottom: 0;
}

.home-page--template .person-card {
  flex: none;
  color: var(--ink);
}

.home-page--template .person-card__image {
  width: 100%;
  height: auto;
  margin-bottom: 8px;
  filter: none;
}

.home-page--template .person-card__name {
  color: var(--ink);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0;
}

.home-page--template .person-card small {
  margin-top: 3px;
  color: var(--steel);
  font-size: 10px;
}

@media (max-width: 680px) {
  .home-page--template .sponsor-stage__viewport {
    height: 390px;
    min-height: 390px;
  }

  .home-page--template .sponsor-slide__copy {
    left: 24px;
    bottom: 26px;
  }

  .home-page--template .sponsor-slide h2 {
    font-size: 36px;
  }

  .section-heading--action,
  .section-heading--controls {
    align-items: flex-start;
  }

  .section-show-all {
    min-height: 32px;
    padding: 0 9px;
    font-size: 10px;
  }
}

/* Compact Figma-aligned catalogue scale: every section uses a horizontal rail. */
.home-page--template {
  padding-top: 22px;
}

.home-page--template .home-context h2 {
  font-size: 42px;
  font-weight: 700;
}

.home-page--template .sponsor-stage__viewport {
  height: clamp(290px, 27vw, 340px);
  min-height: 290px;
  border-radius: 16px;
}

.home-page--template .sponsor-slide__copy {
  left: 26px;
  bottom: 24px;
}

.home-page--template .sponsor-slide h2 {
  font-size: clamp(28px, 3vw, 38px);
  font-weight: 700;
}

.home-page--template .sponsor-slide__price {
  margin-top: 10px;
  padding: 8px 12px;
  border-radius: 10px;
  font-size: 10px;
}

.home-page--template .feed-section {
  margin-top: 36px;
}

.home-page--template .section-heading h2 {
  font-size: 28px;
  font-weight: 700;
}

.home-page--template .section-heading p {
  font-size: 10px;
}

.home-page--template .programme-calendar {
  padding: 10px 14px 8px;
  border-radius: 14px;
}

.home-page--template .programme-calendar__head {
  margin-bottom: 5px;
}

.home-page--template .programme-calendar .range-button {
  min-height: 28px;
  padding: 0 10px;
  border-radius: 9px;
  font-size: 10px;
}

.home-page--template .day-rail {
  justify-content: flex-start;
  gap: 4px;
  padding: 0 0 2px;
  overflow-x: auto;
  scroll-snap-type: x proximity;
}

.home-page--template .day-pill,
.home-page--template .day-pill.is-active {
  width: 52px;
  min-width: 52px;
  min-height: 54px;
  padding: 4px 2px;
  border: 0;
  border-radius: 9px;
  scroll-snap-align: start;
}

.home-page--template .day-pill strong {
  font-size: 20px;
  font-weight: 700;
}

.home-page--template .day-pill span,
.home-page--template .day-pill small {
  margin-top: 2px;
  font-size: 8px;
  font-weight: 600;
}

.home-page--template .event-tile-grid,
.home-page--template .theatre-grid,
.home-page--template .poster-rail,
.home-page--template .workshop-list,
.home-page--template .people-rail {
  display: flex;
  grid-template-columns: none;
  gap: 14px;
  padding: 2px 1px 8px;
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  scroll-snap-type: x proximity;
  scrollbar-width: thin;
}

.home-page--template .event-tile-grid .event-card,
.home-page--template .theatre-grid .event-card,
.home-page--template .poster-rail .event-card,
.home-page--template .workshop-list .event-card {
  flex: 0 0 clamp(248px, calc((100% - 42px) / 4), 320px);
  min-width: 248px;
  min-height: 0;
  scroll-snap-align: start;
}

.home-page--template .event-tile-grid .event-card__media,
.home-page--template .theatre-grid .event-card__media,
.home-page--template .poster-rail .event-card__media,
.home-page--template .workshop-list .event-card__media,
.home-page--template .theatre-grid .event-card--theatre .event-card__media,
.home-page--template .poster-rail .event-card--poster .event-card__media {
  height: 176px;
  flex-basis: 176px;
}

.home-page--template .event-tile-grid .event-card__copy,
.home-page--template .theatre-grid .event-card__copy,
.home-page--template .poster-rail .event-card__copy,
.home-page--template .workshop-list .event-card__copy {
  min-height: 120px;
  padding: 12px;
}

.home-page--template .event-tile-grid .event-card__copy h3,
.home-page--template .theatre-grid .event-card__copy h3,
.home-page--template .poster-rail .event-card__copy h3,
.home-page--template .workshop-list .event-card__copy h3 {
  font-size: 16px;
  font-weight: 700;
}

.home-page--template .event-tile-grid .event-card__date,
.home-page--template .theatre-grid .event-card__date,
.home-page--template .poster-rail .event-card__date,
.home-page--template .workshop-list .event-card__date,
.home-page--template .event-tile-grid .event-card__copy > p,
.home-page--template .theatre-grid .event-card__copy > p,
.home-page--template .poster-rail .event-card__copy > p,
.home-page--template .workshop-list .event-card__copy > p,
.home-page--template .event-tile-grid .event-card__foot,
.home-page--template .theatre-grid .event-card__foot,
.home-page--template .poster-rail .event-card__foot,
.home-page--template .workshop-list .event-card__foot {
  font-size: 10px;
}

.home-page--template .people-rail {
  margin-top: 14px;
}

.home-page--template .person-card {
  flex: 0 0 clamp(248px, calc((100% - 42px) / 4), 320px);
  min-width: 248px;
  scroll-snap-align: start;
}

.home-page--template .person-card__image {
  height: auto;
  aspect-ratio: 1 / 1;
}

.home-page--template .person-card__name {
  font-size: 14px;
}

.home-page--template .event-card--workshop {
  min-height: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.home-page--template .event-card--workshop .event-card__media {
  width: 100%;
  height: 176px;
}

@media (max-width: 680px) {
  .home-page--template .home-context h2 {
    font-size: 34px;
  }

  .home-page--template .sponsor-stage__viewport {
    height: 310px;
    min-height: 310px;
  }

  .home-page--template .event-tile-grid .event-card,
  .home-page--template .theatre-grid .event-card,
  .home-page--template .poster-rail .event-card,
  .home-page--template .workshop-list .event-card {
    flex-basis: min(76vw, 300px);
    min-width: min(76vw, 300px);
  }

  .home-page--template .event-tile-grid .event-card__media,
  .home-page--template .theatre-grid .event-card__media,
  .home-page--template .poster-rail .event-card__media,
  .home-page--template .workshop-list .event-card__media,
  .home-page--template .theatre-grid .event-card--theatre .event-card__media,
  .home-page--template .poster-rail .event-card--poster .event-card__media {
    height: 158px;
    flex-basis: 158px;
  }

  .home-page--template .person-card {
    flex-basis: 132px;
    min-width: 132px;
  }
}

/* Home-page hierarchy mirrors the desktop Figma composition. */
.home-page--template .programme-calendar {
  padding: 16px 20px 12px;
  border-radius: 16px;
}

.home-page--template .programme-calendar__head {
  margin-bottom: 10px;
  font-size: 12px;
}

.home-page--template .programme-calendar .range-button {
  min-height: 36px;
  padding: 0 13px;
  border-radius: 10px;
  font-size: 11px;
}

.home-page--template .day-rail {
  gap: 6px;
  padding-bottom: 4px;
}

.home-page--template .day-pill,
.home-page--template .day-pill.is-active {
  width: 66px;
  min-width: 66px;
  min-height: 70px;
  padding: 6px 3px;
  border-radius: 10px;
}

.home-page--template .day-pill strong {
  font-size: 25px;
}

.home-page--template .day-pill span,
.home-page--template .day-pill small {
  font-size: 9px;
}

/* 1. Nearest events: low, wide cards - four fit into the desktop frame. */
.home-page--template .event-tile-grid .event-card {
  flex-basis: clamp(226px, calc((100% - 42px) / 4), 320px);
  min-width: 226px;
}

.home-page--template .event-tile-grid .event-card__media {
  height: 118px;
  flex-basis: 118px;
}

.home-page--template .event-tile-grid .event-card__copy {
  min-height: 92px;
  padding: 10px 12px;
}

.home-page--template .event-tile-grid .event-card__copy h3 {
  font-size: 14px;
}

/* 2. Culture: the same card language at a noticeably larger scale. */
.home-page--template .theatre-grid .event-card {
  flex-basis: clamp(290px, calc((100% - 28px) / 3), 420px);
  min-width: 290px;
}

.home-page--template .theatre-grid .event-card__media,
.home-page--template .theatre-grid .event-card--theatre .event-card__media {
  height: 218px;
  flex-basis: 218px;
}

.home-page--template .theatre-grid .event-card__copy {
  min-height: 122px;
  padding: 14px;
}

.home-page--template .theatre-grid .event-card__copy h3 {
  font-size: 17px;
}

/* The artist rail is deliberately denser than the programme above it. */
.home-page--template .people-rail {
  gap: 12px;
  margin-top: 16px;
}

.home-page--template .person-card {
  flex-basis: clamp(138px, calc((100% - 48px) / 5), 220px);
  min-width: 138px;
}

.home-page--template .person-card__image {
  margin-bottom: 8px;
  border-radius: 10px;
}

.home-page--template .person-card__name {
  font-size: 13px;
}

.home-page--template .person-card small {
  font-size: 10px;
}

/* 3. Parties carry the largest, near-square visual covers. */
.home-page--template .poster-rail .event-card {
  flex-basis: clamp(310px, calc((100% - 28px) / 3), 440px);
  min-width: 310px;
}

.home-page--template .poster-rail .event-card__media,
.home-page--template .poster-rail .event-card--poster .event-card__media {
  height: auto;
  flex-basis: auto;
  aspect-ratio: 1 / 0.92;
}

.home-page--template .poster-rail .event-card__copy {
  min-height: 128px;
  padding: 14px;
}

.home-page--template .poster-rail .event-card__copy h3 {
  font-size: 17px;
}

/* 4. Useful time: horizontal, information-forward workshop cards. */
.home-page--template .workshop-list {
  gap: 16px;
}

.home-page--template .event-tile-grid,
.home-page--template .theatre-grid,
.home-page--template .poster-rail,
.home-page--template .workshop-list,
.home-page--template .people-rail {
  scrollbar-width: none;
}

.home-page--template .event-tile-grid::-webkit-scrollbar,
.home-page--template .theatre-grid::-webkit-scrollbar,
.home-page--template .poster-rail::-webkit-scrollbar,
.home-page--template .workshop-list::-webkit-scrollbar,
.home-page--template .people-rail::-webkit-scrollbar {
  width: 0;
  height: 0;
}

.home-page--template .workshop-list .event-card {
  flex-basis: clamp(360px, calc((100% - 16px) / 2), 560px);
  min-width: 360px;
  min-height: 148px;
  display: grid;
  grid-template-columns: 122px minmax(0, 1fr);
  align-items: stretch;
  gap: 0;
  overflow: hidden;
}

.home-page--template .workshop-list .event-card__media,
.home-page--template .event-card--workshop .event-card__media {
  width: 122px;
  height: 148px;
  flex-basis: auto;
}

.home-page--template .workshop-list .event-card__copy {
  min-height: 148px;
  padding: 15px 16px;
}

.home-page--template .workshop-list .event-card__copy h3 {
  font-size: 16px;
}

@media (max-width: 680px) {
  .home-page--template .programme-calendar {
    padding: 13px 14px 10px;
  }

  .home-page--template .day-pill,
  .home-page--template .day-pill.is-active {
    width: 58px;
    min-width: 58px;
    min-height: 64px;
  }

  .home-page--template .day-pill strong {
    font-size: 22px;
  }

  .home-page--template .event-tile-grid .event-card {
    flex-basis: min(72vw, 280px);
    min-width: min(72vw, 280px);
  }

  .home-page--template .event-tile-grid .event-card__media {
    height: 110px;
    flex-basis: 110px;
  }

  .home-page--template .theatre-grid .event-card,
  .home-page--template .poster-rail .event-card {
    flex-basis: min(82vw, 340px);
    min-width: min(82vw, 340px);
  }

  .home-page--template .theatre-grid .event-card__media,
  .home-page--template .theatre-grid .event-card--theatre .event-card__media {
    height: 192px;
    flex-basis: 192px;
  }

  .home-page--template .person-card {
    flex-basis: 104px;
    min-width: 104px;
  }

  .home-page--template .workshop-list .event-card {
    flex-basis: min(88vw, 390px);
    min-width: min(88vw, 390px);
  }
}

/* Final desktop proportions for the Figma catalogue composition. */
.site-header {
  height: 76px;
}

.wordmark {
  gap: 9px;
  letter-spacing: 0;
}

.wordmark__mark {
  width: 42px;
  height: 42px;
  border-radius: 11px;
  background: transparent;
  box-shadow: none;
  transform: none;
}

.wordmark__copy {
  gap: 0;
  line-height: 0.92;
}

.wordmark__copy strong {
  font-family: "Unbounded", "Geologica", "Helvetica Neue", sans-serif;
  font-size: 18px;
  font-weight: 900;
  letter-spacing: 0;
}

.wordmark__copy small {
  margin-top: 3px;
  color: var(--ink-soft);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.home-page--template .section-heading h2 {
  font-size: 38px;
  font-weight: 800;
  line-height: 1.04;
}

.home-page--template .section-heading p {
  margin-top: 5px;
  font-size: 12px;
  font-weight: 550;
}

.home-page--template .programme-calendar {
  padding: 20px 22px 16px;
  border-radius: 18px;
}

.home-page--template .programme-calendar__head {
  margin-bottom: 13px;
  font-size: 14px;
  font-weight: 800;
}

.home-page--template .programme-calendar .range-button {
  min-height: 44px;
  padding: 0 16px;
  border-radius: 12px;
  font-size: 12px;
  font-weight: 700;
}

.home-page--template .day-rail {
  gap: 8px;
}

.home-page--template .day-pill,
.home-page--template .day-pill.is-active {
  width: 76px;
  min-width: 76px;
  min-height: 84px;
  padding: 8px 4px;
  border-radius: 12px;
}

.home-page--template .day-pill strong {
  font-size: 31px;
  font-weight: 800;
}

.home-page--template .day-pill span,
.home-page--template .day-pill small {
  font-size: 10px;
  font-weight: 700;
}

/* First rail: imagery takes more room than the metadata. */
.home-page--template .event-tile-grid .event-card__media {
  height: 148px;
  flex-basis: 148px;
}

.home-page--template .event-tile-grid .event-card__copy {
  min-height: 80px;
  padding: 9px 12px 10px;
}

/* Theatre posters are narrow, tall and visually edge-to-edge. */
.home-page--template .theatre-grid .event-card {
  flex-basis: clamp(218px, calc((100% - 42px) / 4), 278px);
  min-width: 218px;
  border: 0;
  border-radius: 12px;
  background: var(--ticket);
}

.home-page--template .theatre-grid .event-card__media,
.home-page--template .theatre-grid .event-card--theatre .event-card__media {
  height: 310px;
  flex-basis: 310px;
  background: transparent;
}

.home-page--template .theatre-grid .event-card__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.home-page--template .theatre-grid .event-card__copy {
  min-height: 104px;
  padding: 12px;
}

.home-page--template .theatre-grid .event-card__copy h3 {
  font-size: 15px;
}

/* Workshop cards form a full-width vertical programme, not a carousel. */
.home-page--template .workshop-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 0;
  overflow: visible;
}

.home-page--template .workshop-list .event-card {
  width: 100%;
  min-width: 0;
  min-height: 178px;
  display: grid;
  grid-template-columns: 168px minmax(0, 1fr);
  align-items: stretch;
}

.home-page--template .workshop-list .event-card__media,
.home-page--template .event-card--workshop .event-card__media {
  width: 168px;
  height: 178px;
}

.home-page--template .workshop-list .event-card__copy {
  min-height: 178px;
  padding: 22px 24px;
}

.home-page--template .workshop-list .event-card__copy h3 {
  font-size: 20px;
}

.site-footer {
  margin-top: 72px;
  padding: 34px 0;
  background: var(--ink);
  color: rgba(255, 255, 255, 0.72);
}

.site-footer__inner {
  width: var(--page);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 20px 40px;
  align-items: center;
}

.site-footer .wordmark {
  color: #fff;
}

.site-footer .wordmark__mark {
  width: 38px;
  height: 38px;
}

.site-footer .wordmark__copy small {
  color: rgba(255, 255, 255, 0.54);
}

.site-footer__links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 18px;
  font-size: 13px;
  font-weight: 650;
}

.site-footer__links a:hover {
  color: #fff;
}

.site-footer p {
  grid-column: 1 / -1;
  margin: 0;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  color: rgba(255, 255, 255, 0.48);
  font-size: 12px;
}

@media (max-width: 680px) {
  .site-header {
    height: 64px;
  }

  .wordmark__mark {
    width: 38px;
    height: 38px;
  }

  .wordmark__copy strong {
    font-size: 16px;
  }

  .home-page--template .section-heading h2 {
    font-size: 30px;
  }

  .home-page--template .programme-calendar {
    padding: 16px 14px 13px;
  }

  .home-page--template .day-pill,
  .home-page--template .day-pill.is-active {
    width: 68px;
    min-width: 68px;
    min-height: 76px;
  }

  .home-page--template .day-pill strong {
    font-size: 28px;
  }

  .home-page--template .event-tile-grid .event-card__media {
    height: 136px;
    flex-basis: 136px;
  }

  .home-page--template .theatre-grid .event-card {
    flex-basis: 206px;
    min-width: 206px;
  }

  .home-page--template .theatre-grid .event-card__media,
  .home-page--template .theatre-grid .event-card--theatre .event-card__media {
    height: 286px;
    flex-basis: 286px;
  }

  .home-page--template .workshop-list .event-card {
    min-height: 148px;
    grid-template-columns: 112px minmax(0, 1fr);
  }

  .home-page--template .workshop-list .event-card__media,
  .home-page--template .event-card--workshop .event-card__media {
    width: 112px;
    height: 148px;
  }

  .home-page--template .workshop-list .event-card__copy {
    min-height: 148px;
    padding: 16px;
  }

  .home-page--template .workshop-list .event-card__copy h3 {
    font-size: 17px;
  }

  .site-footer {
    margin-top: 48px;
    padding: 28px 0 calc(28px + env(safe-area-inset-bottom));
  }

  .site-footer__inner {
    grid-template-columns: 1fr;
  }

  .site-footer__links {
    justify-content: flex-start;
  }
}

/* Product-wide catalogue pass: one readable card system, with intentionally
   different scales for each editorial row. This layer supersedes the older
   exploratory homepage treatments above. */
:root {
  --card-radius: 12px;
  --card-rule: color-mix(in srgb, var(--rule) 90%, #ffffff);
}

.site-header,
.mobile-dock,
.site-footer,
.event-card,
.identity-card,
.organizer-panel,
.organizer-row,
.wallet-ticket {
  letter-spacing: 0;
}

.image-fallback {
  display: grid;
  place-items: center;
  overflow: hidden;
  background: #e8e3db;
}

.image-fallback img {
  width: 42px;
  height: 42px;
  display: block;
  object-fit: contain;
}

.event-card {
  overflow: hidden;
  border: 1px solid var(--card-rule);
  border-radius: var(--card-radius);
  background: var(--ticket);
  box-shadow: none;
}

.event-card__media,
.event-card__image {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.event-card__copy {
  min-width: 0;
  display: flex;
  flex-direction: column;
}

.event-card__topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.event-card__date,
.event-card__type {
  min-width: 0;
  font-size: 10px;
  font-weight: 750;
  line-height: 1.25;
  letter-spacing: 0;
  text-transform: uppercase;
}

.event-card__date {
  margin: 0;
  color: var(--signal-strong);
}

.event-card__type {
  max-width: 52%;
  overflow: hidden;
  color: var(--steel);
  text-align: right;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.event-card__copy h3 {
  margin: 8px 0 3px;
  overflow-wrap: anywhere;
  font-size: 17px;
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: 0;
}

.event-card__copy > p {
  overflow: hidden;
  margin: 0;
  color: var(--steel);
  font-size: 12px;
  font-weight: 550;
  line-height: 1.3;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.event-card__foot {
  margin-top: auto;
  padding-top: 12px;
  align-items: baseline;
  color: var(--steel);
  font-size: 11px;
  font-weight: 650;
}

.event-card__foot strong {
  color: var(--ink);
  font-weight: 800;
}

.home-page--template {
  max-width: 1262px;
  padding-top: 30px;
}

.home-page--template .section-heading {
  margin-bottom: 16px;
}

.home-page--template .section-heading h2 {
  font-size: 34px;
  font-weight: 850;
  line-height: 1.05;
  letter-spacing: 0;
}

.home-page--template .section-heading p {
  font-size: 13px;
  font-weight: 550;
}

.home-page--template .programme-calendar {
  padding: 18px 20px 15px;
  border: 1px solid var(--card-rule);
  border-radius: 14px;
  background: var(--ticket);
}

.home-page--template .programme-calendar__head {
  margin-bottom: 12px;
  font-size: 13px;
  font-weight: 800;
}

.home-page--template .day-rail {
  justify-content: flex-start;
  gap: 8px;
  overflow-x: auto;
  scrollbar-width: none;
}

.home-page--template .day-rail::-webkit-scrollbar {
  display: none;
}

.home-page--template .day-pill,
.home-page--template .day-pill.is-active {
  width: 72px;
  min-width: 72px;
  min-height: 82px;
  padding: 8px 4px;
  border-radius: 10px;
}

.home-page--template .day-pill strong {
  font-size: 30px;
  font-weight: 850;
  letter-spacing: 0;
}

.home-page--template .day-pill span,
.home-page--template .day-pill small {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0;
}

.home-page--template .event-tile-grid,
.home-page--template .theatre-grid,
.home-page--template .poster-rail,
.home-page--template .people-rail {
  display: flex;
  gap: 14px;
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  scrollbar-width: none;
}

.home-page--template .event-tile-grid::-webkit-scrollbar,
.home-page--template .theatre-grid::-webkit-scrollbar,
.home-page--template .poster-rail::-webkit-scrollbar,
.home-page--template .people-rail::-webkit-scrollbar {
  display: none;
}

/* Nearest events: low, clear cards. Four fit inside the desktop content frame. */
.home-page--template .event-tile-grid .event-card {
  flex: 0 0 calc((100% - 42px) / 4);
  min-width: 224px;
  min-height: 272px;
  display: flex;
  flex-direction: column;
}

.home-page--template .event-tile-grid .event-card__media {
  height: 156px;
  flex: 0 0 156px;
}

.home-page--template .event-tile-grid .event-card__copy {
  min-height: 116px;
  padding: 12px;
}

.home-page--template .event-tile-grid .event-card__copy h3 {
  font-size: 16px;
}

/* Theatre stays a dark section with white frames, but every poster fills its card. */
.home-page--template .theatre-programme {
  padding: 32px;
  border-radius: 16px;
  background: #191a1e;
}

.home-page--template .theatre-grid .event-card {
  position: relative;
  flex: 0 0 calc((100% - 42px) / 4);
  min-width: 210px;
  min-height: 420px;
  display: flex;
  flex-direction: column;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 10px;
  color: var(--ink);
}

.home-page--template .theatre-grid .event-card__media,
.home-page--template .theatre-grid .event-card--theatre .event-card__media {
  position: relative;
  inset: auto;
  height: 296px;
  flex: 0 0 296px;
  background: #ebe7df;
}

.home-page--template .theatre-grid .event-card--theatre .event-card__media::after {
  display: none;
}

.home-page--template .theatre-grid .event-card__image {
  position: static;
  inset: auto;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.home-page--template .theatre-grid .event-card__copy,
.home-page--template .theatre-grid .event-card--theatre .event-card__copy {
  position: static;
  inset: auto;
  min-height: 124px;
  padding: 13px;
  color: var(--ink);
}

.home-page--template .theatre-grid .event-card__copy h3 {
  font-size: 16px;
}

.home-page--template .theatre-grid .event-card__copy > p,
.home-page--template .theatre-grid .event-card__foot {
  color: var(--steel);
}

.home-page--template .theatre-grid .event-card__foot strong {
  color: var(--ink);
}

/* Actors are intentionally denser: a directory, not another giant poster rail. */
.home-page--template .people-rail {
  margin-top: 18px;
  gap: 12px;
}

.home-page--template .person-card {
  flex: 0 0 calc((100% - 72px) / 7);
  min-width: 126px;
  color: #fff;
}

.home-page--template .person-card__image {
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
  margin-bottom: 8px;
  border-radius: 9px;
  object-fit: cover;
  filter: none;
}

.home-page--template .person-card__name {
  color: #fff;
  font-size: 13px;
  font-weight: 750;
}

.home-page--template .person-card small {
  color: rgba(255, 255, 255, 0.62);
  font-size: 10px;
  font-weight: 550;
}

/* Party cards remain visual, but are no longer oversized panels. */
.home-page--template .party-programme {
  padding-top: 34px;
  border-top-width: 4px;
}

.home-page--template .poster-rail .event-card {
  flex: 0 0 calc((100% - 42px) / 4);
  min-width: 224px;
  min-height: 330px;
  display: flex;
  flex-direction: column;
}

.home-page--template .poster-rail .event-card__media,
.home-page--template .poster-rail .event-card--poster .event-card__media {
  height: 194px;
  flex: 0 0 194px;
  aspect-ratio: auto;
}

.home-page--template .poster-rail .event-card__copy {
  min-height: 136px;
  padding: 13px;
}

/* Useful time is a proper vertical programme: one full-width event per row. */
.home-page--template .workshop-programme {
  padding: 0;
  border-radius: 0;
  background: transparent;
}

.home-page--template .workshop-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  overflow: visible;
  background: transparent;
}

.home-page--template .workshop-list .event-card {
  width: 100%;
  min-width: 0;
  min-height: 168px;
  display: grid;
  grid-template-columns: 170px minmax(0, 1fr);
  border-radius: 12px;
}

.home-page--template .workshop-list .event-card__media,
.home-page--template .event-card--workshop .event-card__media {
  width: 170px;
  height: 168px;
  flex: 0 0 auto;
}

.home-page--template .workshop-list .event-card__copy {
  min-height: 168px;
  padding: 22px 24px;
}

.home-page--template .workshop-list .event-card__copy h3 {
  font-size: 20px;
}

.search-result-grid .event-card,
.plans-section .event-card {
  border-radius: var(--card-radius);
}

.search-result-grid .event-card__copy,
.plans-section .event-card__copy {
  padding: 16px;
}

.identity-avatar,
.account-gate__mark {
  overflow: hidden;
  background: transparent;
}

.identity-avatar img,
.account-gate__mark img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  border-radius: inherit;
}

.wallet-ticket__fallback {
  width: 100%;
  height: 100%;
}

.wallet-ticket__fallback img {
  width: 62px;
  height: 62px;
}

.organizer-nav__brand span {
  overflow: hidden;
  background: transparent;
}

.organizer-nav__brand span img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  border-radius: inherit;
}

.organizer-panel,
.organizer-row,
.organizer-card-grid article,
.organizer-kpis article {
  border-radius: 12px;
  box-shadow: none;
}

@media (max-width: 820px) {
  .site-header {
    height: 62px;
  }

  .home-page--template {
    padding-top: 22px;
  }

  .home-page--template .home-context h2 {
    font-size: 38px;
    letter-spacing: 0;
  }

  .home-page--template .section-heading h2 {
    font-size: 28px;
  }

  .home-page--template .section-heading p {
    font-size: 12px;
  }

  .home-page--template .programme-calendar {
    padding: 14px;
  }

  .home-page--template .day-pill,
  .home-page--template .day-pill.is-active {
    width: 64px;
    min-width: 64px;
    min-height: 72px;
  }

  .home-page--template .day-pill strong {
    font-size: 27px;
  }

  .home-page--template .event-tile-grid .event-card {
    flex-basis: min(76vw, 286px);
    min-width: min(76vw, 286px);
    min-height: 270px;
  }

  .home-page--template .event-tile-grid .event-card__media {
    height: 148px;
    flex-basis: 148px;
  }

  .home-page--template .theatre-programme {
    padding: 22px 14px;
    border-radius: 14px;
  }

  .home-page--template .theatre-grid .event-card {
    flex-basis: 204px;
    min-width: 204px;
    min-height: 390px;
  }

  .home-page--template .theatre-grid .event-card__media,
  .home-page--template .theatre-grid .event-card--theatre .event-card__media {
    height: 270px;
    flex-basis: 270px;
  }

  .home-page--template .person-card {
    flex-basis: 112px;
    min-width: 112px;
  }

  .home-page--template .poster-rail .event-card {
    flex-basis: min(74vw, 282px);
    min-width: min(74vw, 282px);
    min-height: 314px;
  }

  .home-page--template .poster-rail .event-card__media,
  .home-page--template .poster-rail .event-card--poster .event-card__media {
    height: 174px;
    flex-basis: 174px;
  }

  .home-page--template .workshop-list .event-card {
    min-height: 142px;
    grid-template-columns: 110px minmax(0, 1fr);
  }

  .home-page--template .workshop-list .event-card__media,
  .home-page--template .event-card--workshop .event-card__media {
    width: 110px;
    height: 142px;
  }

  .home-page--template .workshop-list .event-card__copy {
    min-height: 142px;
    padding: 15px 16px;
  }

  .home-page--template .workshop-list .event-card__copy h3 {
    font-size: 16px;
  }

  .event-card__copy h3 {
    font-size: 16px;
  }

  .event-card__type {
    max-width: 54%;
  }

  .search-page,
  .orders-page,
  .tickets-page,
  .profile-page,
  .plans-page,
  .person-page,
  .organizer-page {
    padding-top: 28px;
    padding-bottom: 88px;
  }

  .page-title h1,
  .person-hero h1,
  .identity-card h1 {
    letter-spacing: 0;
  }

  .site-footer {
    padding-bottom: calc(82px + env(safe-area-inset-bottom));
  }
}

/* Route polish outside of the home feed. */
.search-result-grid {
  gap: 14px;
}

.event-card--search {
  min-height: 348px;
  display: flex;
  flex-direction: column;
  border-radius: var(--card-radius);
}

.event-card--search .event-card__media {
  height: 198px;
  flex: 0 0 198px;
}

.event-card--search .event-card__copy {
  min-height: 150px;
}

.event-detail .detail-hero,
.event-detail .detail-hero__image {
  border-radius: 16px;
}

.detail-facts,
.ticket-preview,
.person-panel,
.person-section,
.auth-sheet,
.checkout-section,
.checkout-summary {
  border-radius: 12px;
}

.detail-hero__copy h1,
.checkout-heading h1,
.auth-sheet h1,
.person-hero__copy h1,
.identity-card h1,
.account-gate h1 {
  letter-spacing: 0;
}

.order-row {
  min-height: 112px;
}

.order-row h2 {
  font-size: 20px;
  letter-spacing: 0;
}

.wallet-ticket {
  border-radius: var(--card-radius);
}

.wallet-ticket__poster {
  height: 220px;
}

.profile-links {
  border-top-color: var(--rule);
}

.profile-links a,
.profile-links button {
  min-height: 82px;
}

.organizer-page {
  padding-top: 30px;
}

.organizer-nav,
.organizer-main,
.organizer-panel {
  min-width: 0;
}

.organizer-nav,
.organizer-panel,
.organizer-row {
  border-color: var(--card-rule);
}

.organizer-nav__item {
  border-radius: 9px;
}

@media (max-width: 820px) {
  .event-card--search {
    min-height: 142px;
    display: grid;
    grid-template-columns: 112px minmax(0, 1fr);
  }

  .event-card--search .event-card__media {
    height: 142px;
    min-height: 142px;
  }

  .event-card--search .event-card__copy {
    min-height: 142px;
    padding: 14px;
  }

  .event-card--search .event-card__foot {
    padding-top: 7px;
  }

  .wallet-ticket__poster {
    height: 192px;
  }

  .order-row h2 {
    font-size: 17px;
  }

  .detail-facts,
  .ticket-preview,
  .person-panel,
  .person-section,
  .auth-sheet,
  .checkout-section,
  .checkout-summary {
    border-radius: 10px;
  }
}

/* Catalogue polish must stay last: this file contains earlier compatibility layers. */
.home-page--template {
  --party-accent: #d84f3f;
  --concert-accent: #0878d1;
  --theatre-accent: #7551b8;
  --workshop-accent: #187a55;
}

.home-page--template .home-intro {
  width: min(var(--page), calc(100% - 32px));
  margin: 0 auto 28px;
  padding: 22px 24px 24px;
  background: #edf4fb;
  border-top: 4px solid var(--accent);
}

.home-page--template .home-intro .home-context,
.home-page--template .home-intro .home-discovery {
  width: 100%;
  margin-inline: 0;
}

.home-page--template .home-intro .home-discovery {
  margin-top: 18px;
}

.home-page--template .category-orbit {
  background: #fff;
  border-color: #cbd8e5;
  color: #334255;
}

.home-page--template .category-orbit:hover,
.home-page--template .category-orbit.is-active {
  color: #075dad;
  background: #dcecff;
  border-color: #78aee9;
}

.home-page--template .programme-calendar {
  border-top: 4px solid #8bb7e5;
  box-shadow: 0 10px 28px rgba(26, 55, 86, 0.07);
}

.event-card {
  --event-accent: #0878d1;
  --event-tint: #eaf4ff;
  border-top: 3px solid var(--event-accent);
}

.event-card--category-party {
  --event-accent: #d84f3f;
  --event-tint: #fff0ed;
}

.event-card--category-concert {
  --event-accent: #0878d1;
  --event-tint: #e8f4ff;
}

.event-card--category-theatre {
  --event-accent: #7551b8;
  --event-tint: #f1ecfa;
}

.event-card--category-workshop {
  --event-accent: #187a55;
  --event-tint: #e8f6f0;
}

.event-card--category-unknown {
  --event-accent: #9a7420;
  --event-tint: #faf3dc;
}

.event-card__date {
  color: var(--event-accent);
}

.event-card__type {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  max-width: 60%;
  min-height: 22px;
  padding: 3px 8px;
  overflow: hidden;
  color: var(--event-accent);
  background: var(--event-tint);
  border-radius: 999px;
  font-weight: 800;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.event-card__venue {
  display: flex;
  align-items: center;
  gap: 5px;
  min-width: 0;
  color: #67717e;
}

.event-card__venue .icon {
  width: 14px;
  height: 14px;
  flex: 0 0 14px;
  color: var(--event-accent);
}

.event-card__venue span {
  min-width: 0;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.event-card__age {
  display: inline-flex;
  align-items: center;
  min-height: 22px;
  padding: 2px 7px;
  color: #58616b;
  background: #f3f4f5;
  border: 1px solid #e1e3e6;
  border-radius: 999px;
  font-weight: 700;
}

.home-page--template .theatre-programme {
  padding: 28px 30px 30px;
  color: var(--ink);
  background: #e9f0f7;
  border-top: 4px solid var(--theatre-accent);
  border-radius: 0;
}

.home-page--template .theatre-programme .section-heading h2,
.home-page--template .theatre-programme .section-heading p {
  color: var(--ink);
}

.home-page--template .theatre-programme .section-heading a {
  color: #5b3d99;
}

.home-page--template .culture-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(420px, 0.92fr);
  gap: 28px;
  align-items: start;
}

.home-page--template .theatre-grid {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  padding: 0;
  overflow: visible;
}

.home-page--template .theatre-grid .event-card {
  min-width: 0;
  min-height: 0;
  height: auto;
  flex: none;
  color: var(--ink);
  background: #fff;
}

.home-page--template .theatre-grid .event-card__media,
.home-page--template .theatre-grid .event-card--theatre .event-card__media {
  width: 100%;
  height: auto;
  flex-basis: auto;
  aspect-ratio: 4 / 4.7;
}

.home-page--template .culture-people {
  min-width: 0;
  padding-left: 0;
  border-left: 0;
}

.home-page--template .culture-people > header h3 {
  margin: 0;
  color: var(--ink);
  font-size: 24px;
  line-height: 1.1;
}

.home-page--template .culture-people > header p {
  margin: 5px 0 0;
  color: #5f6975;
  font-size: 13px;
}

.home-page--template .culture-people .people-rail {
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px 12px;
  margin-top: 17px;
  padding: 0;
  overflow: visible;
}

.home-page--template .culture-people .person-card {
  min-width: 0;
  flex: none;
  color: var(--ink);
}

.home-page--template .culture-people .person-card h4,
.home-page--template .culture-people .person-card p,
.home-page--template .culture-people .person-card small {
  color: var(--ink);
}

.home-page--template .culture-people .person-card__name {
  display: block;
  margin-top: 8px;
  color: var(--ink);
  font-size: 13px;
  font-weight: 850;
  line-height: 1.15;
}

.home-page--template .culture-people .person-card__image {
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  opacity: 1;
  border-radius: 8px;
}

.home-page--template .culture-people .person-card p,
.home-page--template .culture-people .person-card small {
  color: #68727e;
}

.home-page--template .party-programme {
  padding: 26px 24px 30px;
  background: #fff3ef;
  border-top: 4px solid var(--party-accent);
}

.home-page--template .workshop-programme {
  padding: 26px 24px 30px;
  background: #eef7f2;
  border-top: 4px solid var(--workshop-accent);
}

.search-page .search-console {
  background: #edf4fb;
  border-top: 4px solid var(--accent);
}

@media (hover: hover) {
  .event-card {
    transition: transform 160ms ease, box-shadow 160ms ease;
  }

  .event-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(29, 40, 53, 0.12);
  }
}

@media (max-width: 1100px) {
  .home-page--template .culture-layout {
    grid-template-columns: minmax(0, 1fr) minmax(340px, 0.8fr);
    gap: 22px;
  }

  .home-page--template .culture-people {
    padding-left: 0;
  }

  .home-page--template .culture-people .people-rail {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 820px) {
  .home-page--template .home-intro {
    width: calc(100% - 24px);
    margin-bottom: 22px;
    padding: 18px 14px 20px;
  }

  .home-page--template .home-intro .home-discovery {
    margin-top: 14px;
  }

  .home-page--template .culture-layout {
    display: block;
  }

  .home-page--template .theatre-programme {
    padding: 20px 14px 22px;
    border-radius: 0;
  }

  .home-page--template .theatre-grid {
    display: flex !important;
    gap: 12px;
    overflow-x: auto;
    scroll-snap-type: x proximity;
  }

  .home-page--template .theatre-grid .event-card {
    min-width: 204px;
    flex-basis: 204px;
    scroll-snap-align: start;
  }

  .home-page--template .culture-people {
    margin-top: 22px;
    padding: 20px 0 0;
    border-top: 1px solid #c6d2de;
    border-left: 0;
  }

  .home-page--template .culture-people > header h3 {
    font-size: 21px;
  }

  .home-page--template .culture-people .people-rail {
    display: flex !important;
    gap: 12px;
    overflow-x: auto;
    scroll-snap-type: x proximity;
  }

  .home-page--template .culture-people .person-card {
    min-width: 112px;
    flex-basis: 112px;
    scroll-snap-align: start;
  }

  .home-page--template .party-programme,
  .home-page--template .workshop-programme {
    padding: 22px 14px 24px;
  }

  .event-card__type {
    max-width: 54%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .event-card {
    transition: none;
  }
}

/* Absolute final catalogue override for the compact one-line section layout. */
.home-page--template {
  width: min(1440px, calc(100% - 48px));
  max-width: 1440px;
}

.home-page--template .feed-section {
  width: 100%;
}

.home-page--template .section-heading {
  margin-bottom: 14px;
}

.culture-heading,
.section-heading--action,
.section-heading--controls {
  width: 100%;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 18px;
}

.culture-heading__main {
  flex: 1 1 390px;
  min-width: 0;
}

.culture-heading__people {
  flex: 0 1 320px;
  min-width: 0;
}

.culture-heading__people h3 {
  margin: 0;
  color: var(--ink);
  font-size: 26px;
  font-weight: 900;
  line-height: 1.05;
}

.culture-heading__people p {
  margin: 5px 0 0;
  color: #6d7783;
  font-size: 13px;
  font-weight: 650;
}

.section-show-all {
  min-width: 132px;
  min-height: 40px;
  padding: 0 15px;
  justify-content: center;
  border-radius: 9px;
  background: #f1f5f8;
  color: #171c23;
  font-size: 12px;
  font-weight: 850;
  white-space: nowrap;
}

.home-page--template .event-tile-grid,
.home-page--template .theatre-grid,
.home-page--template .poster-rail,
.home-page--template .workshop-list,
.home-page--template .people-rail {
  display: flex !important;
  grid-template-columns: none !important;
  flex-direction: row !important;
  flex-wrap: nowrap !important;
  gap: 14px;
  padding: 2px 2px 12px;
  overflow-x: auto !important;
  overflow-y: hidden !important;
  scroll-snap-type: x proximity;
  scrollbar-width: none;
}

.home-page--template .event-tile-grid::-webkit-scrollbar,
.home-page--template .theatre-grid::-webkit-scrollbar,
.home-page--template .poster-rail::-webkit-scrollbar,
.home-page--template .workshop-list::-webkit-scrollbar,
.home-page--template .people-rail::-webkit-scrollbar {
  display: none;
}

.home-page--template .event-tile-grid .event-card,
.home-page--template .poster-rail .event-card,
.home-page--template .workshop-list .event-card {
  flex: 0 0 286px !important;
  min-width: 286px !important;
  min-height: 214px !important;
  height: auto !important;
  display: flex !important;
  flex-direction: column !important;
  overflow: hidden;
  border-radius: 9px;
  scroll-snap-align: start;
}

.home-page--template .theatre-grid .event-card {
  flex: 0 0 270px !important;
  min-width: 270px !important;
  min-height: 214px !important;
  height: auto !important;
  display: flex !important;
  flex-direction: column !important;
  overflow: hidden;
  border-radius: 9px;
  scroll-snap-align: start;
}

.home-page--template .event-tile-grid .event-card__media,
.home-page--template .poster-rail .event-card__media,
.home-page--template .workshop-list .event-card__media,
.home-page--template .poster-rail .event-card--poster .event-card__media,
.home-page--template .event-card--workshop .event-card__media {
  width: 100% !important;
  height: 128px !important;
  flex: 0 0 128px !important;
  aspect-ratio: auto !important;
}

.home-page--template .theatre-grid .event-card__media,
.home-page--template .theatre-grid .event-card--theatre .event-card__media {
  width: 100% !important;
  height: 132px !important;
  flex: 0 0 132px !important;
  aspect-ratio: auto !important;
}

.event-card__copy,
.home-page--template .event-tile-grid .event-card__copy,
.home-page--template .theatre-grid .event-card__copy,
.home-page--template .poster-rail .event-card__copy,
.home-page--template .workshop-list .event-card__copy,
.home-page--template .theatre-grid .event-card--theatre .event-card__copy {
  position: static !important;
  min-height: 82px !important;
  padding: 10px 11px 11px !important;
  gap: 5px !important;
  color: var(--ink) !important;
}

.event-card__topline,
.event-card__bottom {
  min-width: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.event-card__bottom {
  margin-top: auto;
}

.event-card__date {
  flex: 1 1 auto;
  min-width: 0;
  margin: 0 !important;
  overflow: hidden;
  color: var(--event-accent);
  font-size: 10px !important;
  font-weight: 850;
  line-height: 1.15;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.event-card__type {
  flex: 0 1 auto;
  max-width: 42%;
  min-height: 20px;
  padding: 2px 7px;
  font-size: 9px;
  line-height: 1.15;
}

.event-card__copy h3,
.home-page--template .event-tile-grid .event-card__copy h3,
.home-page--template .theatre-grid .event-card__copy h3,
.home-page--template .poster-rail .event-card__copy h3,
.home-page--template .workshop-list .event-card__copy h3 {
  display: -webkit-box;
  margin: 0 !important;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  font-size: 15px !important;
  font-weight: 900;
  line-height: 1.08 !important;
}

.event-card__venue {
  min-width: 0;
  margin: 0 !important;
  color: #68727e !important;
  font-size: 10px !important;
  font-weight: 650;
  line-height: 1.2;
}

.event-card__venue span {
  display: block;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.event-card__price,
.event-card__copy .event-card__price {
  position: static !important;
  inset: auto !important;
  flex: 0 0 auto;
  max-width: 112px;
  padding: 5px 8px;
  overflow: hidden;
  border: 1px solid #a9c7ef;
  border-radius: 7px;
  background: #eaf4ff;
  color: #075dad;
  box-shadow: none;
  backdrop-filter: none;
  font-size: 10px;
  font-weight: 900;
  line-height: 1.1;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.event-card__price--pending {
  border-color: #cbd8e5;
  background: #f4f7fa;
  color: #344154;
}

.home-page--template .theatre-programme,
.home-page--template .party-programme,
.home-page--template .concert-programme,
.home-page--template .workshop-programme {
  padding: 24px 24px 26px;
  border-radius: 0;
}

.home-page--template .theatre-programme {
  background: #eef4fa;
}

.home-page--template .concert-programme {
  background: #edf6ff;
  border-top: 4px solid var(--concert-accent);
}

.home-page--template .culture-layout {
  display: block !important;
}

.home-page--template .culture-people {
  margin-top: 16px;
  padding: 0;
  border: 0;
}

.home-page--template .culture-people > header {
  display: none;
}

.home-page--template .culture-people .person-card {
  flex: 0 0 128px !important;
  min-width: 128px !important;
  scroll-snap-align: start;
}

.home-page--template .rail-shell {
  position: relative;
  min-width: 0;
}

.home-page--template .rail-arrow {
  top: 50%;
  z-index: 4;
  width: 40px;
  height: 40px;
  border: 1px solid rgba(174, 188, 205, 0.58);
  background: rgba(244, 248, 252, 0.92);
  box-shadow: 0 8px 18px rgba(22, 31, 42, 0.1);
  backdrop-filter: blur(8px);
}

.home-page--template .rail-arrow--previous {
  left: -16px;
}

.home-page--template .rail-arrow--next {
  right: -16px;
}

@media (max-width: 820px) {
  .home-page--template {
    width: calc(100% - 24px);
    max-width: calc(100% - 24px);
  }

  .culture-heading {
    align-items: flex-start;
    flex-wrap: wrap;
  }

  .culture-heading__main {
    flex-basis: 100%;
  }

  .culture-heading__people {
    flex: 1 1 170px;
  }

  .culture-heading__people h3 {
    font-size: 21px;
  }

  .home-page--template .event-tile-grid .event-card,
  .home-page--template .theatre-grid .event-card,
  .home-page--template .poster-rail .event-card,
  .home-page--template .workshop-list .event-card {
    flex-basis: min(82vw, 300px) !important;
    min-width: min(82vw, 300px) !important;
  }

  .home-page--template .rail-arrow {
    display: none;
  }

  .event-card__type {
    max-width: 48%;
  }
}

/* Exact reference pass: poster image + title/date/place/price below it. */
.event-card__type,
.event-card__topline {
  display: none !important;
}

.home-page--template .event-card,
.home-page--template .event-tile-grid .event-card,
.home-page--template .poster-rail .event-card,
.home-page--template .workshop-list .event-card {
  flex: 0 0 365px !important;
  min-width: 365px !important;
  min-height: 320px !important;
  border: 0 !important;
  border-top: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

.home-page--template .event-tile-grid .event-card__media,
.home-page--template .poster-rail .event-card__media,
.home-page--template .workshop-list .event-card__media,
.home-page--template .poster-rail .event-card--poster .event-card__media,
.home-page--template .event-card--workshop .event-card__media {
  position: relative;
  height: 230px !important;
  flex-basis: 230px !important;
  overflow: hidden;
  border-radius: 22px !important;
  background: #e7edf3;
}

.event-card__save {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 3;
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  color: #fff;
  filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.42));
}

.event-card__save .icon {
  width: 29px;
  height: 29px;
  stroke-width: 2.4;
}

.event-card__copy,
.home-page--template .event-tile-grid .event-card__copy,
.home-page--template .poster-rail .event-card__copy,
.home-page--template .workshop-list .event-card__copy {
  min-height: 86px !important;
  padding: 14px 6px 0 !important;
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) auto;
  grid-template-areas:
    "title title"
    "meta price";
  align-items: end;
  column-gap: 18px;
  row-gap: 3px !important;
  background: transparent !important;
}

.event-card__copy h3,
.home-page--template .event-tile-grid .event-card__copy h3,
.home-page--template .poster-rail .event-card__copy h3,
.home-page--template .workshop-list .event-card__copy h3 {
  grid-area: title;
  margin: 0 !important;
  color: #20242c;
  font-size: 25px !important;
  font-weight: 950;
  line-height: 1.02 !important;
  letter-spacing: 0;
  text-transform: uppercase;
}

.event-card__meta {
  grid-area: meta;
  min-width: 0;
}

.event-card__date {
  display: block;
  margin: 0 0 3px !important;
  color: #87919e;
  font-size: 16px !important;
  font-weight: 650;
  line-height: 1.15;
  text-transform: none;
}

.event-card__venue {
  margin: 0 !important;
  color: #9aa3ad !important;
  font-size: 12px !important;
  font-weight: 650;
  line-height: 1.15;
}

.event-card__bottom {
  grid-area: price;
  margin: 0 0 2px;
  align-self: end;
}

.event-card__price,
.event-card__copy .event-card__price {
  max-width: none;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: #5f6064;
  font-size: 17px;
  font-weight: 950;
  line-height: 1;
}

.event-card__price--pending {
  color: #5f6064;
  background: transparent;
}

.home-page--template .theatre-programme {
  background: #fff;
  border-top: 0;
}

.home-page--template .culture-layout {
  display: grid !important;
  grid-template-columns: minmax(0, 674px) minmax(0, 1fr);
  gap: 38px;
  align-items: start;
}

.home-page--template .theatre-grid {
  padding-bottom: 0;
}

.home-page--template .theatre-grid .event-card {
  flex: 0 0 310px !important;
  min-width: 310px !important;
  min-height: 500px !important;
  border: 0 !important;
  border-top: 0 !important;
  background: transparent !important;
}

.home-page--template .theatre-grid .event-card__media,
.home-page--template .theatre-grid .event-card--theatre .event-card__media {
  position: relative;
  height: 410px !important;
  flex-basis: 410px !important;
  overflow: hidden;
  border-radius: 14px !important;
  background: #e7edf3;
}

.home-page--template .theatre-grid .event-card__copy,
.home-page--template .theatre-grid .event-card--theatre .event-card__copy {
  min-height: 86px !important;
  padding: 16px 2px 0 !important;
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) auto;
  grid-template-areas:
    "title title"
    "meta price";
  column-gap: 16px;
  background: transparent !important;
}

.home-page--template .culture-people {
  margin-top: 0;
  padding: 0;
}

.home-page--template .culture-people .people-rail {
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  gap: 22px 14px;
  padding: 0;
  overflow: visible !important;
}

.home-page--template .culture-people .person-card {
  min-width: 0 !important;
  flex: none !important;
}

.home-page--template .rail-arrow {
  top: -62px;
}

.home-page--template .theatre-carousel .rail-arrow--previous {
  right: -2px;
  left: auto;
  transform: translateX(74px);
}

.home-page--template .theatre-carousel .rail-arrow--next {
  right: -2px;
  transform: translateX(128px);
}

@media (max-width: 1100px) {
  .home-page--template .culture-layout {
    grid-template-columns: minmax(0, 1fr);
  }

  .home-page--template .culture-people .people-rail {
    grid-template-columns: repeat(4, minmax(112px, 1fr)) !important;
    overflow-x: auto !important;
  }
}

@media (max-width: 820px) {
  .home-page--template .event-card,
  .home-page--template .event-tile-grid .event-card,
  .home-page--template .theatre-grid .event-card,
  .home-page--template .poster-rail .event-card,
  .home-page--template .workshop-list .event-card {
    flex-basis: min(84vw, 340px) !important;
    min-width: min(84vw, 340px) !important;
  }

  .home-page--template .event-tile-grid .event-card__media,
  .home-page--template .poster-rail .event-card__media,
  .home-page--template .workshop-list .event-card__media,
  .home-page--template .theatre-grid .event-card__media,
  .home-page--template .theatre-grid .event-card--theatre .event-card__media {
    height: 210px !important;
    flex-basis: 210px !important;
  }

  .event-card__copy h3,
  .home-page--template .event-tile-grid .event-card__copy h3,
  .home-page--template .theatre-grid .event-card__copy h3,
  .home-page--template .poster-rail .event-card__copy h3,
  .home-page--template .workshop-list .event-card__copy h3 {
    font-size: 22px !important;
  }

  .event-card__date {
    font-size: 14px !important;
  }

  .event-card__price,
  .event-card__copy .event-card__price {
    font-size: 15px;
  }

  .home-page--template .culture-people .people-rail {
    display: flex !important;
    overflow-x: auto !important;
  }
}
.event-lifecycle {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 18px;
  border: 1px solid rgba(31, 111, 235, 0.18);
  border-radius: 8px;
  background: rgba(31, 111, 235, 0.07);
}

.event-lifecycle > span {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  flex: 0 0 auto;
}

.event-lifecycle strong,
.event-lifecycle p {
  margin: 0;
}

.event-lifecycle p {
  margin-top: 4px;
  color: var(--steel);
}

.event-lifecycle--cancelled {
  border-color: rgba(197, 55, 55, 0.2);
  background: rgba(197, 55, 55, 0.07);
}

.sell-page {
  min-height: 100dvh;
  overflow: hidden;
  background:
    radial-gradient(circle at 12% 4%, rgba(233, 39, 45, 0.24), transparent 31rem),
    radial-gradient(circle at 86% 14%, rgba(75, 130, 255, 0.24), transparent 34rem),
    linear-gradient(180deg, #05070d 0%, #0b101b 46%, #f4f7fb 46.1%, #ffffff 100%);
  color: #f7fbff;
  font-family: "Geologica", "Inter", system-ui, sans-serif;
  isolation: isolate;
}

.sell-nav {
  position: relative;
  z-index: 5;
  width: min(1220px, calc(100% - 32px));
  margin: 0 auto;
  padding: 18px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.sell-brand,
.sell-nav nav,
.sell-actions,
.sell-proof,
.sell-system,
.sell-flow-steps,
.sell-bars,
.sell-dashboard-side {
  display: flex;
}

.sell-brand {
  align-items: center;
  min-height: 48px;
}

.sell-brand img {
  width: min(196px, 48vw);
  height: auto;
  filter: drop-shadow(0 12px 28px rgba(230, 24, 32, 0.32));
}

.sell-nav nav {
  align-items: center;
  gap: 6px;
}

.sell-nav nav a {
  min-height: 40px;
  padding: 10px 13px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.04);
  color: rgba(247, 251, 255, 0.82);
  font-size: 12px;
  font-weight: 700;
  transition: background 180ms ease, border-color 180ms ease, transform 180ms ease;
}

.sell-nav nav a:hover,
.sell-nav nav a:focus-visible {
  border-color: rgba(255, 255, 255, 0.32);
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-1px);
}

.sell-hero {
  position: relative;
  z-index: 1;
  width: min(1220px, calc(100% - 32px));
  min-height: calc(100dvh - 82px);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(360px, 0.8fr);
  gap: 44px;
  align-items: center;
}

.sell-hero::before {
  position: absolute;
  inset: 9% -11% auto auto;
  width: 58%;
  height: 48%;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.08), transparent 62%);
  content: "";
  transform: rotate(-12deg);
  pointer-events: none;
}

.sell-kicker {
  display: inline-flex;
  margin-bottom: 16px;
  color: #ffb6b8;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.sell-hero h1 {
  max-width: 720px;
  margin: 0;
  color: #ffffff;
  font-size: clamp(42px, 7vw, 82px);
  font-weight: 900;
  line-height: 1.02;
  letter-spacing: 0;
}

.sell-hero p {
  max-width: 590px;
  margin: 20px 0 0;
  color: rgba(247, 251, 255, 0.76);
  font-size: 17px;
  line-height: 1.62;
}

.sell-actions {
  margin-top: 30px;
  gap: 10px;
  flex-wrap: wrap;
}

.sell-actions .button {
  min-height: 50px;
  border-radius: 8px;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.sell-actions .button:hover,
.sell-actions .button:focus-visible {
  transform: translateY(-2px);
}

.sell-actions .button--quiet {
  border-color: rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
}

.sell-proof {
  margin-top: 34px;
  gap: 10px;
  flex-wrap: wrap;
}

.sell-proof span,
.sell-system article,
.sell-flow-steps article,
.sell-dashboard-main,
.sell-dashboard-side article,
.sell-final {
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.18);
}

.sell-proof span {
  width: min(190px, 100%);
  padding: 14px;
}

.sell-proof strong,
.sell-proof small {
  display: block;
}

.sell-proof strong {
  color: #fff;
  font-size: 13px;
}

.sell-proof small {
  margin-top: 5px;
  color: rgba(247, 251, 255, 0.62);
  font-size: 11px;
}

.sell-stage {
  position: relative;
  min-height: 620px;
  display: grid;
  place-items: center;
  perspective: 1200px;
}

.sell-orbit {
  position: absolute;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0));
  transform: rotate(-20deg);
  animation: sellFloat 8s ease-in-out infinite;
}

.sell-orbit--one {
  width: 520px;
  height: 310px;
}

.sell-orbit--two {
  width: 390px;
  height: 230px;
  animation-delay: -3s;
  transform: rotate(18deg);
}

.sell-command-card {
  position: relative;
  z-index: 2;
  width: min(430px, 94vw);
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 18px;
  background: rgba(13, 18, 31, 0.78);
  box-shadow: 0 36px 90px rgba(0, 0, 0, 0.36);
  backdrop-filter: blur(22px);
  transform: rotateX(8deg) rotateY(-10deg);
}

.sell-command-card > span,
.sell-ticket-card small,
.sell-phone-preview span {
  display: block;
  color: rgba(247, 251, 255, 0.62);
  font-size: 12px;
  font-weight: 800;
}

.sell-command-card > strong {
  display: block;
  margin: 8px 0 24px;
  color: #ffffff;
  font-size: 34px;
  line-height: 1.05;
}

.sell-status-line {
  display: grid;
  grid-template-columns: 10px 1fr auto;
  gap: 12px;
  align-items: center;
  min-height: 46px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.sell-status-line i {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: #e9272d;
  box-shadow: 0 0 24px rgba(233, 39, 45, 0.84);
}

.sell-status-line b {
  color: #ffffff;
  font-size: 14px;
}

.sell-status-line em {
  color: rgba(247, 251, 255, 0.58);
  font-size: 12px;
  font-style: normal;
}

.sell-ticket-card,
.sell-phone-preview {
  position: absolute;
  z-index: 3;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.9);
  color: #111827;
  box-shadow: 0 24px 70px rgba(13, 42, 95, 0.24);
  backdrop-filter: blur(18px);
  animation: sellFloat 7s ease-in-out infinite;
}

.sell-ticket-card {
  width: 156px;
  padding: 16px;
}

.sell-ticket-card small {
  color: #667085;
}

.sell-ticket-card strong {
  display: block;
  margin-top: 8px;
  color: #111827;
  font-size: 30px;
}

.sell-ticket-card--hot {
  top: 12%;
  right: 1%;
}

.sell-ticket-card--revenue {
  left: 4%;
  bottom: 18%;
  width: 190px;
  animation-delay: -2s;
}

.sell-phone-preview {
  right: 8%;
  bottom: 6%;
  width: 170px;
  padding: 12px;
  border-radius: 26px;
  animation-delay: -4s;
}

.sell-phone-top {
  width: 58px;
  height: 8px;
  margin: 0 auto 12px;
  border-radius: 999px;
  background: #111827;
}

.sell-phone-poster {
  height: 160px;
  border-radius: 18px;
  background:
    linear-gradient(150deg, rgba(233, 39, 45, 0.92), transparent 52%),
    linear-gradient(30deg, #101828, #4b82ff);
}

.sell-phone-preview strong {
  display: block;
  margin-top: 8px;
  padding: 10px 12px;
  border-radius: 14px;
  background: #e9272d;
  color: #ffffff;
  font-size: 12px;
  text-align: center;
}

.sell-marquee {
  overflow: hidden;
  border-block: 1px solid rgba(255, 255, 255, 0.11);
  background: rgba(255, 255, 255, 0.05);
}

.sell-marquee div {
  display: flex;
  width: max-content;
  gap: 34px;
  padding: 16px 0;
  animation: sellMarquee 22s linear infinite;
}

.sell-marquee span {
  color: rgba(247, 251, 255, 0.74);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

.sell-screen-grid,
.sell-flow,
.sell-dashboard,
.sell-system,
.sell-final {
  width: min(1220px, calc(100% - 32px));
  margin: 0 auto;
}

.sell-system {
  padding: 34px 0 28px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.sell-system article,
.sell-flow-steps article {
  padding: 18px;
}

.sell-system article {
  background: rgba(9, 13, 24, 0.92);
  color: #111827;
}

.sell-system article > span {
  display: grid;
  width: 38px;
  height: 38px;
  margin-bottom: 16px;
  place-items: center;
  border-radius: 8px;
  background: rgba(233, 39, 45, 0.14);
  color: #ff696e;
}

.sell-system h2,
.sell-flow h2,
.sell-dashboard h2,
.sell-final h2 {
  margin: 0;
  color: #ffffff;
  font-size: 18px;
  line-height: 1.2;
}

.sell-system p,
.sell-flow p,
.sell-dashboard p,
.sell-final p {
  margin: 10px 0 0;
  color: rgba(247, 251, 255, 0.66);
  font-size: 13px;
  line-height: 1.5;
}

.sell-screen-grid {
  padding: 92px 0 70px;
  display: grid;
  grid-template-columns: minmax(0, 0.6fr) minmax(0, 1fr);
  gap: 34px;
  align-items: center;
  color: #111827;
}

.sell-section-copy h2 {
  margin: 0;
  color: inherit;
  font-size: clamp(30px, 4vw, 54px);
  line-height: 1.06;
}

.sell-section-copy p {
  max-width: 500px;
  margin: 16px 0 0;
  color: #5a6474;
  font-size: 16px;
  line-height: 1.58;
}

.sell-screen-grid .sell-kicker {
  color: #e9272d;
}

.sell-format-wall {
  display: grid;
  grid-template-columns: 0.72fr 0.56fr;
  gap: 14px;
  align-items: end;
}

.sell-format {
  position: relative;
  display: flex;
  min-height: 190px;
  padding: 18px;
  overflow: hidden;
  flex-direction: column;
  justify-content: flex-end;
  border: 1px solid #dfe5ee;
  border-radius: 10px;
  background:
    linear-gradient(135deg, rgba(233, 39, 45, 0.92), rgba(16, 24, 40, 0.96)),
    #101828;
  box-shadow: 0 24px 70px rgba(16, 24, 40, 0.14);
}

.sell-format::before {
  position: absolute;
  inset: 18px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 8px;
  content: "";
}

.sell-format span,
.sell-format strong {
  position: relative;
  z-index: 1;
  color: #ffffff;
}

.sell-format span {
  font-size: 12px;
  font-weight: 800;
}

.sell-format strong {
  margin-top: 8px;
  font-size: 22px;
}

.sell-format--card {
  aspect-ratio: 364 / 243;
}

.sell-format--mobile {
  min-height: 340px;
  background:
    linear-gradient(180deg, rgba(22, 30, 46, 0.96), rgba(233, 39, 45, 0.92)),
    #101828;
}

.sell-format--wide {
  grid-column: 1 / -1;
  min-height: 210px;
  aspect-ratio: 21 / 9;
  background:
    linear-gradient(100deg, rgba(16, 24, 40, 0.98), rgba(75, 130, 255, 0.84), rgba(233, 39, 45, 0.84)),
    #101828;
}

.sell-flow {
  padding: 82px 0;
  color: #ffffff;
}

.sell-flow-steps {
  position: relative;
  margin-top: 32px;
  gap: 12px;
}

.sell-flow-steps article {
  position: relative;
  min-height: 160px;
  flex: 1;
  background: rgba(255, 255, 255, 0.07);
}

.sell-flow-steps article::after {
  position: absolute;
  top: 24px;
  right: -20px;
  width: 28px;
  height: 2px;
  background: linear-gradient(90deg, rgba(233, 39, 45, 0.8), transparent);
  content: "";
}

.sell-flow-steps article:last-child::after {
  display: none;
}

.sell-flow-steps span {
  display: inline-flex;
  padding: 8px 10px;
  border-radius: 8px;
  background: rgba(233, 39, 45, 0.13);
  color: #ff898d;
  font-size: 12px;
  font-weight: 900;
}

.sell-dashboard {
  padding: 76px 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 14px;
  color: #ffffff;
}

.sell-dashboard-main {
  padding: clamp(24px, 4vw, 42px);
  background:
    radial-gradient(circle at 85% 18%, rgba(233, 39, 45, 0.24), transparent 19rem),
    rgba(9, 13, 24, 0.94);
}

.sell-dashboard-main h2 {
  max-width: 620px;
  font-size: clamp(30px, 5vw, 58px);
}

.sell-bars {
  margin-top: 34px;
  flex-direction: column;
  gap: 12px;
}

.sell-bars span {
  display: grid;
  grid-template-columns: 120px 1fr 96px;
  gap: 14px;
  align-items: center;
}

.sell-bars b,
.sell-bars em {
  color: rgba(247, 251, 255, 0.74);
  font-size: 12px;
  font-style: normal;
}

.sell-bars i {
  display: block;
  height: 10px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
}

.sell-bars i::before {
  display: block;
  width: var(--value);
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #e9272d, #4b82ff);
  content: "";
}

.sell-dashboard-side {
  flex-direction: column;
  gap: 14px;
}

.sell-dashboard-side article {
  padding: 20px;
  flex: 1;
  background: rgba(255, 255, 255, 0.08);
}

.sell-dashboard-side strong {
  color: #ffffff;
  font-size: 18px;
}

.sell-final {
  margin-bottom: 76px;
  padding: clamp(26px, 6vw, 54px);
  background:
    radial-gradient(circle at 14% 22%, rgba(233, 39, 45, 0.3), transparent 22rem),
    #090d18;
  text-align: center;
}

.sell-final img {
  width: min(220px, 64vw);
  height: auto;
  margin-bottom: 24px;
  filter: drop-shadow(0 18px 34px rgba(233, 39, 45, 0.28));
}

.sell-final h2 {
  font-size: clamp(30px, 5vw, 58px);
}

.sell-final p {
  max-width: 620px;
  margin-inline: auto;
  font-size: 16px;
}

.sell-final .sell-actions {
  justify-content: center;
}

@keyframes sellFloat {
  0%,
  100% {
    transform: translate3d(0, 0, 0) rotate(-2deg);
  }

  50% {
    transform: translate3d(0, -12px, 0) rotate(2deg);
  }
}

@keyframes sellMarquee {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}

@media (prefers-reduced-motion: reduce) {
  .sell-orbit,
  .sell-ticket-card,
  .sell-phone-preview,
  .sell-marquee div {
    animation: none;
  }
}

@media (max-width: 900px) {
  .sell-page {
    background:
      radial-gradient(circle at 12% 4%, rgba(233, 39, 45, 0.22), transparent 22rem),
      radial-gradient(circle at 88% 10%, rgba(75, 130, 255, 0.2), transparent 20rem),
      linear-gradient(180deg, #05070d 0%, #0b101b 53%, #f4f7fb 53.1%, #ffffff 100%);
  }

  .sell-nav {
    align-items: flex-start;
    flex-direction: column;
  }

  .sell-nav nav {
    width: 100%;
    overflow-x: auto;
    padding-bottom: 2px;
  }

  .sell-hero {
    min-height: auto;
    padding: 28px 0 50px;
    grid-template-columns: minmax(0, 1fr);
  }

  .sell-hero h1 {
    font-size: clamp(38px, 11vw, 58px);
  }

  .sell-hero p {
    font-size: 16px;
  }

  .sell-proof span {
    width: calc(50% - 5px);
  }

  .sell-stage {
    min-height: 480px;
  }

  .sell-command-card {
    transform: none;
  }

  .sell-ticket-card--hot {
    right: 0;
    top: 4%;
  }

  .sell-ticket-card--revenue {
    left: 0;
    bottom: 8%;
  }

  .sell-phone-preview {
    right: 0;
    bottom: -2%;
  }

  .sell-screen-grid,
  .sell-dashboard {
    grid-template-columns: minmax(0, 1fr);
  }

  .sell-format-wall,
  .sell-system,
  .sell-flow-steps {
    grid-template-columns: minmax(0, 1fr);
  }

  .sell-system,
  .sell-flow-steps {
    grid-template-columns: minmax(0, 1fr);
  }

  .sell-flow-steps {
    flex-direction: column;
  }

  .sell-flow-steps article::after {
    top: auto;
    right: auto;
    bottom: -8px;
    left: 28px;
    width: 2px;
    height: 16px;
  }
}

@media (max-width: 560px) {
  .sell-proof span {
    width: 100%;
  }

  .sell-nav nav a {
    white-space: nowrap;
  }

  .sell-stage {
    min-height: 540px;
  }

  .sell-command-card {
    width: 100%;
    padding: 18px;
  }

  .sell-command-card > strong {
    font-size: 28px;
  }

  .sell-ticket-card--hot {
    top: 0;
  }

  .sell-ticket-card--revenue {
    bottom: 20%;
  }

  .sell-phone-preview {
    width: 150px;
  }

  .sell-bars span {
    grid-template-columns: minmax(0, 1fr);
    gap: 8px;
  }
}

.head-auth-page,
.head-portal {
  min-height: 100dvh;
  background:
    radial-gradient(circle at 100% 0%, rgba(36, 124, 255, 0.16), transparent 34rem),
    radial-gradient(circle at 0% 74%, rgba(233, 39, 45, 0.09), transparent 24rem),
    #f6f9fd;
  color: #171c28;
  font-family: "Geologica", "Inter", system-ui, sans-serif;
}

.head-auth-page {
  display: grid;
  grid-template-columns: minmax(0, 560px) minmax(360px, 1fr);
  gap: clamp(22px, 4vw, 56px);
  align-items: center;
  padding: clamp(18px, 4vw, 52px);
}

.head-auth-card,
.head-auth-preview,
.head-sidebar,
.head-panel {
  border: 1px solid rgba(202, 213, 226, 0.86);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 24px 80px rgba(22, 32, 52, 0.08);
}

.head-auth-card {
  padding: clamp(22px, 4vw, 38px);
}

.head-auth-logo {
  display: inline-flex;
  margin-bottom: 34px;
}

.head-auth-logo img {
  width: min(214px, 62vw);
  height: auto;
}

.head-auth-copy h1,
.head-welcome h1,
.head-topbar h1 {
  margin: 0;
  color: #111827;
  font-size: clamp(32px, 5vw, 52px);
  font-weight: 900;
  line-height: 1.04;
  letter-spacing: 0;
}

.head-auth-copy p,
.head-welcome p {
  max-width: 620px;
  margin: 14px 0 0;
  color: #657386;
  font-size: 16px;
  line-height: 1.6;
}

.head-auth-tabs {
  width: 100%;
  margin: 28px 0 18px;
  padding: 5px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5px;
  border: 1px solid #dce5f0;
  border-radius: 14px;
  background: #f0f5fb;
}

.head-auth-tabs button {
  min-height: 44px;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: #637083;
  font: inherit;
  font-size: 13px;
  font-weight: 850;
  cursor: pointer;
}

.head-auth-tabs button.is-active {
  background: #ffffff;
  color: #247cff;
  box-shadow: 0 10px 24px rgba(22, 32, 52, 0.08);
}

.head-auth-form,
.head-auth-fields {
  display: grid;
  gap: 12px;
}

.head-auth-fields {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.head-auth-form label,
.head-auth-fields label {
  min-width: 0;
  display: grid;
  gap: 7px;
  color: #4f5d70;
  font-size: 12px;
  font-weight: 800;
}

.head-auth-form input,
.head-auth-form select,
.head-auth-form textarea {
  width: 100%;
  min-height: 48px;
  padding: 0 14px;
  border: 1px solid #d8e2ef;
  border-radius: 12px;
  background: #ffffff;
  color: #111827;
  font: inherit;
  font-size: 15px;
  outline: none;
}

.head-auth-form textarea {
  padding-top: 12px;
  resize: vertical;
}

.head-auth-form input:focus,
.head-auth-form select:focus,
.head-auth-form textarea:focus {
  border-color: #247cff;
  box-shadow: 0 0 0 4px rgba(36, 124, 255, 0.13);
}

.head-auth-form .auth-field--password {
  position: relative;
}

.head-auth-form .auth-peek {
  right: 8px;
  bottom: 6px;
}

.head-auth-fields__wide {
  grid-column: 1 / -1;
}

.head-auth-check {
  min-height: 44px;
  padding: 11px 12px;
  grid-template-columns: auto 1fr;
  align-items: center;
  border: 1px solid #dce5f0;
  border-radius: 12px;
  background: #f8fbff;
}

.head-auth-check input {
  width: 18px;
  min-height: 18px;
}

.head-auth-documents {
  display: grid;
  gap: 9px;
  padding: 16px;
  border: 1px solid #e3e6eb;
  border-radius: 16px;
  background: #fafbfc;
  color: #282c33;
  font-size: 13px;
  line-height: 1.45;
}

.head-auth-documents > strong { font-size: 14px; font-weight: 650; }
.head-auth-documents a { color: #1268cf; text-underline-offset: 3px; }
.head-auth-check--document { display: flex !important; gap: 10px !important; font-weight: 450 !important; }
.head-auth-check--document input { flex: 0 0 18px; width: 18px !important; min-height: 18px !important; padding: 0 !important; }
.head-auth-check--document span { min-width: 0; }
.head-auth-document-pending { display: flex; justify-content: space-between; gap: 10px; color: #646b76; }
.head-auth-document-pending span { color: #8a919d; font-size: 12px; white-space: nowrap; }
.head-auth-documents-link { width: fit-content; }

@media (max-width: 440px) {
  .head-auth-documents { padding: 13px; }
  .head-auth-document-pending { display: block; }
  .head-auth-document-pending span { display: block; }
}

.head-auth-demo,
.head-empty-actions {
  margin-top: 18px;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  align-items: center;
}

.head-auth-demo button,
.head-auth-demo a {
  min-height: 42px;
  padding: 10px 12px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid #dce5f0;
  border-radius: 12px;
  background: #ffffff;
  color: #247cff;
  font: inherit;
  font-size: 13px;
  font-weight: 850;
  cursor: pointer;
}

.head-auth-note {
  margin: 14px 0 0;
  color: #657386;
  font-size: 12px;
  line-height: 1.5;
}

.head-auth-preview {
  min-height: 580px;
  padding: 28px;
  overflow: hidden;
  background:
    radial-gradient(circle at 80% 8%, rgba(36, 124, 255, 0.22), transparent 20rem),
    #ffffff;
}

.head-preview-top {
  display: flex;
  gap: 10px;
}

.head-preview-top span {
  width: 64px;
  height: 64px;
  border-radius: 18px;
  background: linear-gradient(135deg, #eaf3ff, #ffffff);
  box-shadow: inset 0 0 0 1px #dce8f7;
}

.head-preview-metric {
  margin-top: 42px;
  padding: 24px;
  border-radius: 18px;
  background: #111827;
  color: #ffffff;
}

.head-preview-metric small,
.head-preview-row span {
  color: #748196;
  font-size: 12px;
  font-weight: 800;
}

.head-preview-metric strong {
  display: block;
  margin-top: 8px;
  font-size: clamp(34px, 5vw, 62px);
  line-height: 1;
}

.head-preview-chart {
  height: 180px;
  margin-top: 24px;
  padding: 20px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  align-items: end;
  border-radius: 18px;
  background: #f1f6fc;
}

.head-preview-chart i {
  display: block;
  border-radius: 999px 999px 10px 10px;
  background: linear-gradient(180deg, #247cff, #e9272d);
}

.head-preview-chart i:nth-child(1) { height: 48%; }
.head-preview-chart i:nth-child(2) { height: 76%; }
.head-preview-chart i:nth-child(3) { height: 55%; }
.head-preview-chart i:nth-child(4) { height: 88%; }

.head-preview-row {
  min-height: 64px;
  margin-top: 12px;
  padding: 14px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border: 1px solid #dce5f0;
  border-radius: 16px;
  background: #ffffff;
}

.head-portal {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  gap: 22px;
  padding: 18px;
}

.head-sidebar {
  position: sticky;
  top: 18px;
  height: calc(100dvh - 36px);
  padding: 18px 12px;
  display: flex;
  flex-direction: column;
  overflow: auto;
}

.head-sidebar__brand {
  padding: 4px 8px 18px;
  display: block;
}

.head-sidebar__brand img {
  width: 164px;
  max-width: 100%;
  height: auto;
}

.head-sidebar__org {
  margin: 0 6px 16px;
  padding: 13px;
  border-radius: 14px;
  background: #f3f7fc;
}

.head-sidebar__org strong,
.head-sidebar__org span {
  display: block;
}

.head-sidebar__org strong {
  color: #111827;
  font-size: 14px;
}

.head-sidebar__org span {
  margin-top: 4px;
  color: #667085;
  font-size: 11px;
  font-weight: 750;
}

.head-sidebar nav {
  display: grid;
  gap: 3px;
}

.head-sidebar__item,
.head-sidebar__logout {
  min-height: 44px;
  padding: 10px 12px;
  display: grid;
  grid-template-columns: 22px 1fr;
  align-items: center;
  gap: 10px;
  border: 0;
  border-radius: 12px;
  background: transparent;
  color: #5f6b7c;
  font: inherit;
  font-size: 13px;
  font-weight: 850;
  text-align: left;
}

.head-sidebar__item:hover,
.head-sidebar__item:focus-visible,
.head-sidebar__logout:hover,
.head-sidebar__logout:focus-visible {
  background: #f1f6fc;
  color: #247cff;
}

.head-sidebar__item.is-active {
  background: linear-gradient(135deg, #eaf3ff, #ffffff);
  color: #247cff;
  box-shadow: inset 0 0 0 1px #d7e7fb;
}

.head-sidebar__logout {
  margin-top: auto;
  width: 100%;
  cursor: pointer;
}

.head-content {
  min-width: 0;
  display: grid;
  gap: 16px;
}

.head-topbar {
  min-height: 78px;
  padding: 18px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  border: 1px solid rgba(202, 213, 226, 0.86);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 18px 54px rgba(22, 32, 52, 0.06);
}

.head-topbar h1 {
  font-size: 28px;
}

.head-panel {
  min-width: 0;
  padding: clamp(20px, 3vw, 32px);
}

.head-panel--overview {
  padding: 0;
  display: grid;
  gap: 16px;
  background: transparent;
  box-shadow: none;
}

.head-overview-hero {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.head-welcome-card {
  min-width: 0;
}

.head-welcome-card h2 {
  margin: 4px 0 2px;
  color: #192032;
  font-size: clamp(22px, 3vw, 30px);
  line-height: 1.1;
}

.head-welcome-card p {
  margin: 0;
  color: #8a94a6;
  font-size: 14px;
  font-weight: 700;
}

.head-period-select {
  min-width: 168px;
  height: 46px;
  padding: 6px 12px;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 8px;
  border: 1px solid #e8edf5;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.84);
  box-shadow: 0 10px 28px rgba(29, 48, 80, 0.05);
}

.head-period-select span {
  color: #9aa5b6;
  font-size: 11px;
  font-weight: 850;
}

.head-period-select select {
  min-width: 84px;
  border: 0;
  background: transparent;
  color: #566176;
  font: inherit;
  font-size: 12px;
  font-weight: 850;
}

.head-kpis {
  margin-top: 22px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.head-kpis--overview {
  margin-top: 0;
}

.head-kpis article {
  min-height: 126px;
  padding: 18px;
  border: 1px solid #dfe8f3;
  border-radius: 16px;
  background: #ffffff;
}

.head-kpis span,
.head-table span {
  color: #667085;
  font-size: 12px;
  font-weight: 800;
}

.head-kpis strong {
  display: block;
  margin: 10px 0 8px;
  color: #111827;
  font-size: 30px;
  line-height: 1;
}

.head-kpis p {
  margin: 0;
  color: #728095;
  font-size: 12px;
}

.head-kpis--overview article {
  min-height: 112px;
  padding: 17px;
  border-color: #ebeff6;
  border-radius: 14px;
  box-shadow: 0 16px 38px rgba(34, 49, 78, 0.045);
}

.head-kpis--overview span {
  color: #737d91;
}

.head-kpis--overview strong {
  margin: 12px 0 8px;
  font-size: clamp(23px, 3vw, 31px);
  letter-spacing: 0;
}

.head-kpis--overview p.is-positive {
  color: #22aa62;
  font-weight: 900;
}

.head-dashboard-grid {
  margin-top: 16px;
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(280px, 0.7fr);
  gap: 12px;
}

.head-dashboard-grid--overview {
  margin-top: 0;
  grid-template-columns: minmax(0, 1.45fr) minmax(300px, 0.9fr);
  gap: 16px;
}

.head-chart-card,
.head-source-card {
  min-height: 260px;
  padding: 20px;
  border: 1px solid #dfe8f3;
  border-radius: 18px;
  background: #ffffff;
}

.head-chart-card h2,
.head-source-card h2 {
  margin: 0 0 18px;
  color: #111827;
  font-size: 18px;
}

.head-chart-card--sales,
.head-source-card--traffic,
.head-orders-card {
  border: 1px solid #ebeff6;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 18px 46px rgba(34, 49, 78, 0.05);
}

.head-card-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.head-card-title h2 {
  margin: 0;
  color: #20283a;
  font-size: 17px;
  line-height: 1.25;
}

.head-card-title div {
  display: flex;
  align-items: center;
  gap: 18px;
  color: #8c97aa;
  font-size: 12px;
  font-weight: 800;
}

.head-card-title span,
.head-card-title a {
  color: #6b7a95;
  font-size: 12px;
  font-weight: 850;
  text-decoration: none;
}

.head-card-title i {
  width: 10px;
  height: 10px;
  margin-right: 6px;
  display: inline-block;
  border-radius: 50%;
  background: #276fff;
}

.head-card-title span:nth-child(2) i {
  background: #8da6ff;
}

.head-sales-chart {
  margin-top: 18px;
  height: 212px;
  overflow: hidden;
  border-radius: 14px;
  background:
    linear-gradient(90deg, transparent 0 14%, rgba(223, 230, 241, 0.55) 14.2% 14.6%, transparent 14.8% 28%, rgba(223, 230, 241, 0.55) 28.2% 28.6%, transparent 28.8% 42%, rgba(223, 230, 241, 0.55) 42.2% 42.6%, transparent 42.8% 56%, rgba(223, 230, 241, 0.55) 56.2% 56.6%, transparent 56.8% 70%, rgba(223, 230, 241, 0.55) 70.2% 70.6%, transparent 70.8%),
    linear-gradient(180deg, #ffffff, #f8fbff);
}

.head-sales-chart svg {
  width: 100%;
  height: 100%;
  display: block;
}

.head-sales-chart path {
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.head-chart-grid {
  stroke: #edf1f7;
  stroke-width: 1;
}

.head-chart-yesterday {
  stroke: rgba(141, 166, 255, 0.3);
  stroke-width: 4;
}

.head-chart-today {
  stroke: #336cf6;
  stroke-width: 5;
  filter: drop-shadow(0 8px 12px rgba(51, 108, 246, 0.18));
}

.head-sales-chart circle {
  fill: #ffffff;
  stroke: #336cf6;
  stroke-width: 4;
}

.head-chart-line {
  height: 170px;
  border-radius: 16px;
  background:
    linear-gradient(180deg, transparent 0 24%, rgba(36, 124, 255, 0.07) 24% 25%, transparent 25% 49%, rgba(36, 124, 255, 0.07) 49% 50%, transparent 50% 74%, rgba(36, 124, 255, 0.07) 74% 75%, transparent 75%),
    #f5f8fc;
}

.head-chart-line i {
  display: block;
  width: 100%;
  height: 100%;
  background: linear-gradient(120deg, transparent 8%, rgba(36, 124, 255, 0.22) 9% 16%, transparent 17% 30%, rgba(36, 124, 255, 0.28) 31% 45%, transparent 46% 58%, rgba(233, 39, 45, 0.2) 59% 70%, transparent 71%);
  clip-path: polygon(0 70%, 14% 48%, 28% 62%, 42% 30%, 56% 48%, 72% 24%, 88% 38%, 100% 18%, 100% 100%, 0 100%);
}

.head-donut {
  width: 160px;
  height: 160px;
  margin: 4px auto 16px;
  border-radius: 50%;
  background: conic-gradient(#247cff 0 56%, #e9272d 56% 72%, #b7c6dc 72% 100%);
  box-shadow: inset 0 0 0 34px #ffffff;
}

.head-source-card--traffic {
  min-height: 274px;
}

.head-traffic-layout {
  margin-top: 20px;
  display: grid;
  grid-template-columns: minmax(128px, 176px) minmax(0, 1fr);
  align-items: center;
  gap: 22px;
}

.head-traffic-layout .head-donut {
  width: 156px;
  height: 156px;
  margin: 0;
  background: conic-gradient(#246fff 0 55%, #eb4d59 55% 80%, #93aaf8 80% 90%, #d7dee9 90% 100%);
  box-shadow: inset 0 0 0 34px #ffffff, 0 16px 26px rgba(36, 111, 255, 0.12);
}

.head-traffic-layout ul {
  margin: 0;
  padding: 0;
  display: grid;
  gap: 12px;
  list-style: none;
}

.head-traffic-layout li {
  display: grid;
  grid-template-columns: 10px minmax(0, 1fr) auto;
  align-items: center;
  gap: 9px;
  color: #727d91;
  font-size: 13px;
  font-weight: 800;
}

.head-traffic-layout li i {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #246fff;
}

.head-traffic-layout li:nth-child(2) i { background: #5c82f7; }
.head-traffic-layout li:nth-child(3) i { background: #eb4d59; }
.head-traffic-layout li:nth-child(4) i { background: #c9d2df; }

.head-traffic-layout strong {
  color: #2a3347;
  font-weight: 900;
}

.head-source-card p {
  color: #667085;
  font-size: 13px;
  text-align: center;
}

.head-orders-card {
  padding: 18px;
}

.head-orders-table {
  margin-top: 14px;
  overflow-x: auto;
}

.head-orders-table table {
  width: 100%;
  min-width: 680px;
  border-collapse: collapse;
}

.head-orders-table th,
.head-orders-table td {
  padding: 13px 12px;
  border-bottom: 1px solid #edf1f7;
  color: #4d596d;
  font-size: 13px;
  text-align: left;
  white-space: nowrap;
}

.head-orders-table th {
  color: #8d98aa;
  font-size: 11px;
  font-weight: 900;
  text-transform: none;
}

.head-orders-table td:first-child,
.head-orders-table td:nth-child(5) {
  color: #20283a;
  font-weight: 900;
}

.head-order-status {
  min-width: 84px;
  padding: 6px 10px;
  display: inline-flex;
  justify-content: center;
  border-radius: 999px;
  background: #e9f8ef;
  color: #20a15b;
  font-size: 11px;
  font-weight: 900;
}

.head-order-status--pending {
  background: #fff7df;
  color: #a66b00;
}

.head-order-status--cancelled,
.head-order-status--failed {
  background: #ffecee;
  color: #d63b47;
}

.head-orders-empty {
  margin-top: 14px;
  padding: 22px;
  border: 1px dashed #dfe6f1;
  border-radius: 14px;
  background: #fbfdff;
}

.head-orders-empty strong {
  color: #20283a;
}

.head-orders-empty p {
  margin: 6px 0 0;
  color: #788398;
  font-size: 13px;
}

.head-table {
  display: grid;
  gap: 10px;
}

.head-table article {
  min-height: 72px;
  padding: 14px 16px;
  display: flex;
  justify-content: space-between;
  gap: 14px;
  border: 1px solid #dfe8f3;
  border-radius: 14px;
  background: #ffffff;
}

.head-table strong,
.head-table b {
  display: block;
  color: #111827;
}

.head-foundation-list {
  display: grid;
  gap: 10px;
}

.head-foundation-list article {
  min-height: 92px;
  padding: 16px;
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  gap: 14px;
  align-items: start;
  border: 1px solid #dfe8f3;
  border-radius: 16px;
  background: #ffffff;
}

.head-foundation-list strong {
  color: #111827;
}

.head-foundation-list p {
  margin: 6px 0 0;
  color: #667085;
  font-size: 13px;
  line-height: 1.5;
}

.head-status-stack {
  display: grid;
  gap: 10px;
}

.head-status-stack span {
  min-height: 44px;
  padding: 12px 14px;
  border-radius: 12px;
  background: #f1f6fc;
  color: #3f4d63;
  font-size: 13px;
  font-weight: 850;
}

.head-portal .organizer-panel {
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 24px 80px rgba(22, 32, 52, 0.08);
}

@media (max-width: 1020px) {
  .head-auth-page,
  .head-portal {
    grid-template-columns: minmax(0, 1fr);
  }

  .head-auth-preview {
    min-height: 360px;
  }

  .head-sidebar {
    position: static;
    height: auto;
  }

  .head-sidebar nav {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .head-kpis,
  .head-dashboard-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .head-dashboard-grid--overview,
  .head-traffic-layout {
    grid-template-columns: minmax(0, 1fr);
  }

  .head-traffic-layout .head-donut {
    margin: 0 auto;
  }
}

/* Cascade lock: older compatibility rules above must not replace the current
   organizer dashboard tokens or its desktop sidebar breakpoints. */
.head-portal {
  --head-ink: #121a2b;
  --head-muted: #667085;
  --head-soft: #8c96a8;
  --head-line: #e6ebf5;
  --head-quiet: #f7f9fc;
  --head-blue: #f01f2f;
  --head-blue-soft: #fff0f2;
  --head-green: #04a66a;
  grid-template-columns: 264px minmax(0, 1fr);
}

@media (max-width: 1220px) and (min-width: 921px) {
  .head-portal {
    display: grid;
    grid-template-columns: 232px minmax(0, 1fr);
  }

  .head-sidebar {
    position: sticky;
    height: 100dvh;
    border-right: 1px solid var(--head-line);
    border-bottom: 0;
  }
}

@media (max-width: 920px) {
  .head-portal {
    display: block;
  }

  .head-portal .head-sidebar {
    position: static;
    height: auto;
  }
}

/* Full iOS-to-web workspace map and final dashboard proportions. */
.head-portal .head-sidebar {
  overflow: hidden;
}

.head-portal .head-sidebar nav {
  min-height: 0;
  padding-right: 3px;
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-width: thin;
  scrollbar-color: #d9e1ee transparent;
}

.head-sidebar__group {
  display: grid;
  gap: 2px;
}

.head-sidebar__group + .head-sidebar__group {
  margin-top: 13px;
}

.head-sidebar__group-label {
  padding: 0 12px 5px;
  color: #98a2b3;
  font-size: 8px;
  font-weight: 650;
  text-transform: uppercase;
}

.head-portal .head-chart-card--sales,
.head-portal .head-source-card--traffic {
  min-height: 390px;
}

.head-portal .head-sales-chart {
  height: 322px;
  margin-top: 10px;
}

.head-portal .head-sales-chart svg {
  width: 100%;
  height: 100%;
}

.head-portal .head-traffic-layout {
  min-height: 305px;
}

.head-settings-grid--single {
  grid-template-columns: minmax(0, 760px);
}

.head-manual-order-form {
  margin-bottom: 16px;
  padding: 14px;
  display: grid;
  grid-template-columns: repeat(4, minmax(130px, 1fr));
  align-items: end;
  gap: 10px;
  border: 1px solid var(--head-line);
  border-radius: 8px;
  background: var(--head-quiet);
}

.head-manual-order-form .button {
  grid-column: span 1;
}

.head-live-events,
.head-media-events {
  display: grid;
  gap: 10px;
}

.head-live-events > article {
  min-height: 84px;
  padding: 13px 14px;
  display: grid;
  grid-template-columns: minmax(220px, 1fr) 90px 90px auto auto;
  align-items: center;
  gap: 12px;
  border: 1px solid var(--head-line);
  border-radius: 8px;
}

.head-live-events strong,
.head-live-events span,
.head-media-events strong,
.head-media-events span {
  display: block;
}

.head-live-events strong,
.head-media-events strong {
  color: var(--head-ink);
  font-size: 12px;
}

.head-live-events span,
.head-media-events span {
  margin-top: 4px;
  color: var(--head-muted);
  font-size: 9px;
}

.head-live-events p {
  margin: 0;
}

.head-live-events p b {
  display: block;
  color: var(--head-blue);
  font-size: 18px;
}

.head-media-events > article {
  min-height: 88px;
  padding: 10px;
  display: grid;
  grid-template-columns: 104px minmax(0, 1fr) auto;
  align-items: center;
  gap: 13px;
  border: 1px solid var(--head-line);
  border-radius: 8px;
}

.head-media-events__preview,
.head-media-events__preview img,
.head-media-events__preview .image-fallback {
  width: 104px;
  height: 68px;
  border-radius: 6px;
  object-fit: cover;
}

.head-connected-feature {
  min-height: 230px;
  padding: 28px;
  display: grid;
  grid-template-columns: 52px minmax(0, 560px);
  align-content: center;
  gap: 18px;
  border: 1px solid var(--head-line);
  border-radius: 8px;
  background: #fff;
}

.head-connected-feature > .icon {
  width: 52px;
  height: 52px;
  padding: 14px;
  border-radius: 50%;
  background: var(--head-blue-soft);
  color: var(--head-blue);
}

.head-connected-feature h2 {
  margin: 0;
  color: var(--head-ink);
  font-size: 18px;
}

.head-connected-feature p {
  margin: 7px 0 16px;
  color: var(--head-muted);
  font-size: 12px;
  line-height: 1.55;
}

@media (max-width: 920px) {
  .head-portal .head-sidebar {
    overflow: visible;
  }

  .head-portal .head-sidebar nav {
    padding: 0;
    overflow-x: auto;
    overflow-y: hidden;
  }

  .head-sidebar__group {
    display: contents;
  }

  .head-sidebar__group-label {
    display: none;
  }

  .head-live-events > article {
    grid-template-columns: minmax(180px, 1fr) 72px 72px;
  }

  .head-live-events > article .button {
    grid-column: span 1;
  }
}

@media (max-width: 640px) {
  .head-portal .head-chart-card--sales,
  .head-portal .head-source-card--traffic {
    min-height: 330px;
  }

  .head-portal .head-sales-chart {
    height: 260px;
  }

  .head-manual-order-form,
  .head-live-events > article,
  .head-media-events > article {
    grid-template-columns: minmax(0, 1fr);
  }

  .head-live-events > article .button,
  .head-manual-order-form .button {
    grid-column: auto;
  }
}

@media (max-width: 640px) {
  .head-auth-page,
  .head-portal {
    padding: 12px;
  }

  .head-auth-fields,
  .head-sidebar nav,
  .head-kpis,
  .head-dashboard-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .head-topbar {
    align-items: stretch;
    flex-direction: column;
  }

  .head-overview-hero {
    flex-direction: column;
  }

  .head-period-select {
    width: 100%;
  }

  .head-card-title {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
  }

  .head-card-title div {
    flex-wrap: wrap;
    gap: 8px 14px;
  }

  .head-sales-chart {
    height: 180px;
  }

  .head-chart-card--sales,
  .head-source-card--traffic,
  .head-orders-card {
    padding: 16px;
  }

  .head-table article {
    flex-direction: column;
  }
}

/* SHYNE Head organizer landing: the supplied Figma/PNG composition is the first
   viewport anchor; the rest of the page follows the same airy blue system. */
.sell-page--launch {
  --sell-blue: #1266ff;
  --sell-blue-dark: #0754df;
  --sell-blue-soft: #eaf2ff;
  --sell-ink: #091125;
  --sell-text: #27334b;
  --sell-muted: #66738a;
  --sell-soft: #f5f8ff;
  --sell-line: #e4eaf5;
  --sell-shadow: 0 24px 70px rgba(34, 70, 140, 0.12);
  min-height: 100dvh;
  overflow-x: clip;
  overflow-y: visible;
  background:
    radial-gradient(circle at 75% 18%, rgba(18, 102, 255, 0.12), transparent 30%),
    linear-gradient(180deg, #ffffff 0%, #fbfdff 44%, #ffffff 100%);
  color: var(--sell-ink);
  font-family: "Geologica", "Inter", system-ui, sans-serif;
}

.sell-page--launch *,
.sell-page--launch *::before,
.sell-page--launch *::after {
  box-sizing: border-box;
}

.sell-page--launch a {
  color: inherit;
  text-decoration: none;
}

.sell-nav--launch,
.sell-launch-hero,
.sell-trust,
.sell-section,
.sell-footer {
  width: min(1420px, calc(100% - 72px));
  margin-inline: auto;
}

.sell-nav--launch {
  min-height: 78px;
  padding: 17px 0 9px;
  display: grid;
  grid-template-columns: minmax(220px, 1fr) auto;
  align-items: center;
  gap: 32px;
}

.sell-nav--launch .sell-brand {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
}

.sell-nav--launch .sell-brand img {
  width: 206px;
  height: auto;
  display: block;
  filter: none;
}

.sell-nav--launch nav {
  display: flex;
  justify-content: center;
  gap: 31px;
}

.sell-nav--launch nav a,
.sell-nav__actions > a:first-child {
  min-height: 36px;
  padding: 9px 2px;
  border: 0;
  background: transparent;
  color: #111b32;
  font-size: 12px;
  font-weight: 760;
  line-height: 1;
}

.sell-nav--launch nav a:hover,
.sell-nav--launch nav a:focus-visible,
.sell-nav__actions > a:first-child:hover,
.sell-nav__actions > a:first-child:focus-visible {
  color: var(--sell-blue);
  transform: none;
}

.sell-nav__actions {
  display: flex;
  align-items: center;
  gap: 18px;
}

.sell-nav__start,
.sell-launch-primary {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 19px;
  border: 1px solid var(--sell-blue);
  border-radius: 10px;
  background: var(--sell-blue);
  color: #fff !important;
  font-size: 12px;
  font-weight: 850;
  line-height: 1;
  box-shadow: 0 14px 26px rgba(18, 102, 255, 0.22);
  transition: transform 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

.sell-nav__start:hover,
.sell-nav__start:focus-visible,
.sell-launch-primary:hover,
.sell-launch-primary:focus-visible {
  background: var(--sell-blue-dark);
  box-shadow: 0 18px 34px rgba(18, 102, 255, 0.28);
  transform: translateY(-2px);
}

.sell-launch-hero {
  min-height: 700px;
  padding: 50px 0 36px;
  display: grid;
  grid-template-columns: minmax(380px, 0.82fr) minmax(700px, 1.48fr);
  align-items: center;
  gap: 6px;
}

.sell-launch-hero__copy {
  position: relative;
  z-index: 2;
  max-width: 540px;
  padding-top: 8px;
}

.sell-launch-kicker,
.sell-section__eyebrow {
  display: inline-flex;
  align-items: center;
  color: var(--sell-blue);
  font-size: 12px;
  font-weight: 780;
  letter-spacing: 0;
}

.sell-launch-kicker {
  min-height: 32px;
  margin-bottom: 25px;
  padding: 7px 14px;
  border: 1px solid #dfeaff;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 10px 25px rgba(34, 70, 140, 0.06);
}

.sell-launch-kicker::before {
  width: 16px;
  height: 16px;
  margin-right: 8px;
  border-radius: 6px;
  background: linear-gradient(135deg, #ffffff 0%, #dbe8ff 100%);
  box-shadow: inset 0 0 0 1px #bad1ff;
  content: "";
}

.sell-launch-hero h1 {
  max-width: 560px;
  margin: 0;
  color: var(--sell-ink);
  font-size: clamp(48px, 4.75vw, 76px);
  font-weight: 880;
  line-height: 1.03;
  letter-spacing: 0;
}

.sell-launch-hero h1 em {
  color: var(--sell-blue);
  font-style: normal;
}

.sell-launch-hero__copy > p {
  max-width: 470px;
  margin: 24px 0 0;
  color: var(--sell-muted);
  font-size: 16px;
  font-weight: 560;
  line-height: 1.62;
}

.sell-launch-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 32px;
}

.sell-launch-primary {
  min-height: 52px;
  padding-inline: 22px;
  font-size: 13px;
}

.sell-launch-secondary {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #1d2940 !important;
  font-size: 13px;
  font-weight: 790;
}

.sell-launch-secondary > span {
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border: 1px solid #bfd1ff;
  border-radius: 50%;
  color: var(--sell-blue);
  font-size: 11px;
  box-shadow: 0 8px 20px rgba(18, 102, 255, 0.1);
}

.sell-launch-notes {
  display: flex;
  gap: 15px;
  margin: 33px 0 0;
  padding: 0;
  color: #748096;
  font-size: 11px;
  font-weight: 720;
  list-style: none;
}

.sell-launch-notes li {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 33px;
  padding: 7px 11px;
  border: 1px solid #e5ebf6;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 10px 22px rgba(34, 70, 140, 0.05);
}

.sell-launch-notes li::before,
.sell-command__copy li::before {
  width: 14px;
  height: 14px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  border-radius: 50%;
  background: var(--sell-blue);
  color: #fff;
  content: "✓";
  font-size: 8px;
  font-weight: 900;
}

.sell-launch-visual {
  position: relative;
  z-index: 1;
  min-width: 0;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  pointer-events: none;
}

.sell-launch-visual__main,
.sell-launch-visual img {
  width: min(119%, 1030px);
  max-width: none;
  height: auto;
  display: block;
  margin-right: 0;
  filter: drop-shadow(0 34px 42px rgba(38, 66, 130, 0.12));
  transform: translateY(6px);
}

.sell-trust {
  min-height: 112px;
  padding: 22px 34px;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  align-items: center;
  gap: 25px;
  border: 1px solid var(--sell-line);
  border-radius: 13px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: var(--sell-shadow);
}

.sell-trust--strip {
  min-height: 118px;
  padding: 28px 40px;
  gap: 34px;
  border: 2px solid rgba(18, 102, 255, 0.15);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(248, 251, 255, 0.98));
  box-shadow: 0 18px 45px rgba(34, 70, 140, 0.07);
}

.sell-trust--strip strong {
  font-size: clamp(25px, 2.05vw, 31px);
}

.sell-trust p,
.sell-trust article,
.sell-trust strong,
.sell-trust span {
  display: block;
  margin: 0;
}

.sell-trust article {
  min-width: 0;
}

.sell-trust p {
  color: #1c2840;
  font-size: 13px;
  font-weight: 820;
  line-height: 1.35;
}

.sell-trust strong {
  color: var(--sell-blue);
  font-size: clamp(25px, 2.4vw, 36px);
  font-weight: 880;
  line-height: 1.05;
}

.sell-trust span {
  margin-top: 7px;
  color: #5f6a7e;
  font-size: 14px;
  font-weight: 680;
  line-height: 1.25;
}

.sell-trust__logos {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 20px;
  margin: 0;
  padding: 0;
  color: #aab2c0;
  font-size: 13px;
  font-weight: 850;
  list-style: none;
  filter: grayscale(1);
}

.sell-section {
  padding: 104px 0 0;
}

.sell-section h2 {
  margin: 10px 0 0;
  color: var(--sell-ink);
  font-size: clamp(34px, 3.1vw, 48px);
  font-weight: 880;
  line-height: 1.13;
  letter-spacing: 0;
}

.sell-feature-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 16px;
  margin-top: 32px;
}

.sell-feature-grid article {
  min-height: 190px;
  padding: 22px 20px;
  border: 1px solid var(--sell-line);
  border-radius: 13px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 16px 35px rgba(34, 70, 140, 0.065);
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.sell-feature-grid article:hover {
  border-color: #c5d6ff;
  box-shadow: 0 22px 45px rgba(30, 75, 170, 0.12);
  transform: translateY(-4px);
}

.sell-feature-grid i,
.sell-reasons i {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: linear-gradient(145deg, #edf4ff, #f8fbff);
  color: var(--sell-blue);
  font-size: 20px;
  font-style: normal;
  font-weight: 880;
  box-shadow: inset 0 0 0 1px #dce8ff, 0 9px 22px rgba(18, 102, 255, 0.12);
}

.sell-feature-grid i img {
  width: 22px;
  height: 22px;
  display: block;
  object-fit: contain;
}

.sell-feature-grid h3,
.sell-reasons h3 {
  margin: 18px 0 0;
  color: #111b32;
  font-size: 15px;
  font-weight: 840;
  line-height: 1.28;
}

.sell-feature-grid p,
.sell-reasons p {
  margin: 9px 0 0;
  color: #737f94;
  font-size: 12px;
  font-weight: 560;
  line-height: 1.52;
}

.sell-command {
  min-height: 650px;
  display: grid;
  grid-template-columns: minmax(320px, 0.68fr) minmax(700px, 1.32fr);
  align-items: center;
  gap: 42px;
}

.sell-command__copy h2 {
  max-width: 560px;
  font-size: clamp(42px, 4vw, 62px);
  line-height: 1.04;
}

.sell-command__copy > p {
  max-width: 560px;
  margin: 18px 0 0;
  color: var(--sell-muted);
  font-size: 20px;
  font-weight: 560;
  line-height: 1.55;
}

.sell-command__copy ul {
  display: grid;
  gap: 13px;
  margin: 27px 0 0;
  padding: 0;
  color: #344056;
  font-size: 16px;
  font-weight: 720;
  list-style: none;
}

.sell-command__copy li {
  display: flex;
  align-items: center;
  gap: 10px;
}

.sell-text-link {
  display: inline-flex;
  gap: 8px;
  margin-top: 30px;
  color: var(--sell-blue) !important;
  font-size: 14px;
  font-weight: 850;
}

.sell-command__screen {
  position: relative;
  min-height: 470px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.sell-command__screen--image {
  min-height: 560px;
}

.sell-command__screen > img:not(.sell-command__objects) {
  position: relative;
  z-index: 2;
  width: min(100%, 850px);
  display: block;
  filter: drop-shadow(0 26px 42px rgba(34, 70, 140, 0.12));
  transform: translateX(18px);
}

.sell-command__screen--image > .sell-command__image {
  width: min(112%, 1010px);
  max-width: none;
  filter: drop-shadow(0 28px 46px rgba(34, 70, 140, 0.13));
  transform: translateX(22px);
}

.sell-command__objects {
  position: absolute;
  z-index: 1;
  right: -11%;
  top: -23%;
  width: 310px;
  opacity: 0.95;
  pointer-events: none;
}

.sell-command__phone {
  position: absolute;
  z-index: 3;
  right: 3%;
  bottom: 12%;
  width: 128px;
  min-height: 190px;
  padding: 18px 13px;
  display: grid;
  align-content: space-between;
  border: 5px solid #162033;
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 22px 44px rgba(20, 37, 71, 0.22);
}

.sell-command__phone span {
  width: 72px;
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  border: 2px solid #1f2b3e;
  color: #243044;
  font-size: 24px;
  font-weight: 850;
}

.sell-command__phone b {
  color: #202b40;
  font-size: 10px;
}

.sell-command__phone i {
  color: #169e68;
  font-size: 9px;
  font-style: normal;
  font-weight: 780;
}

.sell-command__tabs {
  position: absolute;
  z-index: 4;
  left: 16%;
  bottom: 3%;
  display: flex;
  gap: 6px;
  padding: 7px;
  border: 1px solid #e1e8f5;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 18px 42px rgba(34, 70, 140, 0.12);
}

.sell-command__tabs a {
  min-height: 30px;
  padding: 8px 15px;
  border-radius: 999px;
  color: #344056;
  font-size: 11px;
  font-weight: 760;
}

.sell-command__tabs a:first-child {
  background: var(--sell-blue-soft);
  color: var(--sell-blue);
}

.sell-reasons > div {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  margin-top: 32px;
  border-top: 1px solid var(--sell-line);
}

.sell-reasons article {
  min-height: 190px;
  padding: 23px 22px;
  border-right: 1px solid var(--sell-line);
}

.sell-reasons article:first-child {
  border-left: 0;
}

.sell-reasons i {
  background: transparent;
  box-shadow: none;
  font-size: 36px;
}

.sell-reasons--asset {
  padding-top: 88px;
}

.sell-reasons--asset h2 {
  max-width: 760px;
}

.sell-reasons__image {
  width: 100%;
  height: auto;
  display: block;
  margin-top: 26px;
  border-radius: 16px;
  filter: drop-shadow(0 18px 45px rgba(34, 70, 140, 0.08));
}

.sell-final--launch {
  min-height: 300px;
  margin-top: 100px;
  padding: 48px 58px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.58fr);
  align-items: center;
  overflow: hidden;
  border: 0;
  border-radius: 15px;
  background:
    radial-gradient(circle at 88% 18%, rgba(255, 255, 255, 0.18), transparent 32%),
    linear-gradient(135deg, #1266ff 0%, #0754df 100%);
  box-shadow: 0 24px 55px rgba(18, 102, 255, 0.24);
}

.sell-final--launch .sell-section__eyebrow,
.sell-final--launch h2,
.sell-final--launch p {
  color: #fff;
}

.sell-final--launch h2 {
  margin-top: 9px;
  font-size: clamp(34px, 3.4vw, 50px);
}

.sell-final--launch p {
  max-width: 520px;
  margin: 11px 0 0;
  color: rgba(255, 255, 255, 0.84);
  font-size: 15px;
  font-weight: 560;
  line-height: 1.54;
}

.sell-final--launch .sell-launch-primary {
  border-color: #fff;
  background: #fff;
  color: var(--sell-blue) !important;
  box-shadow: none;
}

.sell-final--launch .sell-launch-secondary {
  color: #fff !important;
}

.sell-final--launch .sell-launch-secondary > span {
  border-color: rgba(255, 255, 255, 0.6);
  color: #fff;
}

.sell-final--launch > img {
  width: min(100%, 460px);
  margin: -48px -32px -74px auto;
  align-self: end;
}

.sell-final--asset {
  position: relative;
  width: min(100% - 72px, 1440px);
  margin: 72px auto 0;
  padding: 0;
  display: block;
  overflow: visible;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.sell-final--asset > img {
  width: 100%;
  height: auto;
  display: block;
}

.sell-final__hotspots {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.sell-final__hotspots a {
  position: absolute;
  top: 64%;
  width: 14%;
  height: 15%;
  border-radius: 999px;
  pointer-events: auto;
}

.sell-final__hotspots a:first-child {
  left: 4%;
}

.sell-final__hotspots a:last-child {
  left: 19%;
}

.sell-final__hotspots a:focus-visible {
  outline: 3px solid rgba(255, 255, 255, 0.92);
  outline-offset: 3px;
}

.sell-footer {
  min-height: 120px;
  margin-top: 30px;
  padding: 30px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  border-top: 1px solid var(--sell-line);
  color: #8792a5;
  font-size: 12px;
  font-weight: 600;
}

.sell-footer img {
  width: 128px;
}

.sell-footer a {
  color: #4d5c74 !important;
  font-weight: 780;
}

@media (max-width: 1240px) {
  .sell-nav--launch,
  .sell-launch-hero,
  .sell-trust,
  .sell-section,
  .sell-footer { width: min(100% - 44px, 1040px); }
  .sell-nav--launch { grid-template-columns: minmax(190px, 1fr) auto; gap: 18px; }
  .sell-nav--launch nav { gap: 14px; }
  .sell-launch-hero { grid-template-columns: minmax(320px, 0.75fr) minmax(520px, 1.25fr); min-height: 610px; }
  .sell-launch-visual__main,
  .sell-launch-visual img { width: min(108%, 820px); margin-right: 0; }
  .sell-feature-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .sell-command { grid-template-columns: minmax(260px, 0.78fr) minmax(430px, 1.22fr); gap: 30px; }
  .sell-trust { grid-template-columns: repeat(5, minmax(0, 1fr)); }
  .sell-trust--strip { padding: 24px 28px; }
  .sell-trust strong { font-size: 27px; }
  .sell-trust span { font-size: 12px; }
  .sell-trust__logos { display: none; }
  .sell-command__screen--image > .sell-command__image { width: min(116%, 820px); transform: translateX(8px); }
}

@media (max-width: 860px) {
  .sell-nav--launch,
  .sell-launch-hero,
  .sell-trust,
  .sell-section,
  .sell-footer { width: min(100% - 30px, 640px); }
  .sell-nav--launch { min-height: 68px; grid-template-columns: 1fr auto; }
  .sell-nav--launch nav { display: none; }
  .sell-nav--launch .sell-brand img { width: 158px; }
  .sell-nav__actions > a:first-child { display: none; }
  .sell-nav__start { min-height: 39px; padding: 9px 13px; font-size: 11px; }
  .sell-launch-hero { min-height: auto; padding: 31px 0 24px; grid-template-columns: 1fr; gap: 12px; }
  .sell-launch-kicker { margin-bottom: 18px; }
  .sell-launch-hero h1 { font-size: clamp(39px, 11vw, 56px); }
  .sell-launch-hero__copy > p { font-size: 14px; }
  .sell-launch-actions { margin-top: 25px; }
  .sell-launch-visual { justify-content: center; }
  .sell-launch-visual__main,
  .sell-launch-visual img { width: min(100%, 640px); margin: 8px auto 0; transform: none; }
  .sell-launch-notes { gap: 8px; flex-wrap: wrap; margin-top: 23px; }
  .sell-trust { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 17px; margin-top: 8px; padding: 20px; }
  .sell-trust p { grid-column: 1 / -1; }
  .sell-trust--strip article:last-child { grid-column: 1 / -1; }
  .sell-trust strong,
  .sell-trust--strip strong { font-size: 22px; }
  .sell-trust span { font-size: 12px; }
  .sell-section { padding-top: 68px; }
  .sell-feature-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 11px; margin-top: 22px; }
  .sell-feature-grid article { min-height: 174px; padding: 16px; }
  .sell-feature-grid h3 { margin-top: 13px; font-size: 13px; }
  .sell-feature-grid p { font-size: 10.5px; }
  .sell-command { min-height: 0; grid-template-columns: 1fr; gap: 26px; }
  .sell-command__copy h2 { font-size: clamp(34px, 10vw, 44px); }
  .sell-command__copy > p { font-size: 15px; }
  .sell-command__copy ul { font-size: 13px; }
  .sell-command__screen { min-height: 350px; }
  .sell-command__screen--image { min-height: 330px; overflow: visible; }
  .sell-command__screen > img:not(.sell-command__objects) { width: 120%; max-width: none; transform: translateX(5%); }
  .sell-command__screen--image > .sell-command__image { width: min(122%, 640px); transform: translateX(2%); }
  .sell-command__objects { right: -24%; top: -21%; width: 210px; }
  .sell-command__phone { right: 0; bottom: 13%; width: 104px; min-height: 150px; padding: 13px 10px; border-width: 4px; }
  .sell-command__phone span { width: 58px; font-size: 18px; }
  .sell-command__tabs { left: 0; right: 0; bottom: 0; overflow-x: auto; justify-content: flex-start; scrollbar-width: none; }
  .sell-command__tabs::-webkit-scrollbar { display: none; }
  .sell-reasons > div { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sell-reasons article { min-height: 160px; border-bottom: 1px solid var(--sell-line); }
  .sell-reasons article:nth-child(odd) { border-left: 0; }
  .sell-reasons article:last-child { grid-column: 1 / -1; }
  .sell-reasons__image { margin-top: 18px; border-radius: 12px; }
  .sell-final--launch { min-height: 390px; margin-top: 70px; padding: 32px; grid-template-columns: 1fr; }
  .sell-final--launch > img { width: 300px; margin: -14px -56px -86px auto; }
  .sell-final--asset { width: min(100% - 30px, 640px); margin-top: 56px; }
  .sell-final__hotspots { display: none; }
  .sell-footer { min-height: auto; align-items: flex-start; flex-direction: column; gap: 12px; }
}

@media (max-width: 520px) {
  .sell-feature-grid,
  .sell-reasons > div {
    grid-template-columns: 1fr;
  }

  .sell-reasons article,
  .sell-reasons article:first-child,
  .sell-reasons article:nth-child(odd) {
    border-left: 0;
  }

  .sell-launch-primary,
  .sell-launch-secondary {
    width: 100%;
  }
}

/* Organizer promo final pass: tighter Figma-like spacing, readable black
   wordmark, soft feature cards, cropped CTA art and a real footer. */
.sell-nav--launch {
  min-height: 76px;
  padding: 17px 0 7px;
  grid-template-columns: auto minmax(320px, 1fr) auto;
  gap: 28px;
}

.sell-nav--launch .sell-brand {
  padding: 0;
  border: 0;
  background: transparent;
  mix-blend-mode: normal;
}

.sell-nav--launch .sell-brand img {
  width: 176px;
  filter: none;
}

.sell-nav--launch nav {
  justify-content: center;
  gap: 30px;
}

.sell-nav--launch nav a {
  min-height: 34px;
  padding: 8px 2px;
}

.sell-nav__actions {
  gap: 12px;
}

.sell-nav__login,
.sell-nav__actions > a:first-child {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 11px 18px;
  border: 1px solid #dbe4f2;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.92);
  color: #111b32 !important;
  font-size: 13px;
  font-weight: 820;
  line-height: 1;
  box-shadow: 0 12px 26px rgba(34, 70, 140, 0.08);
}

.sell-launch-hero {
  min-height: 610px;
  padding: 28px 0 18px;
  grid-template-columns: minmax(360px, 0.62fr) minmax(700px, 1.38fr);
  gap: 20px;
}

.sell-launch-visual {
  justify-content: flex-start;
}

.sell-launch-visual__main,
.sell-launch-visual img {
  width: min(110%, 940px);
  transform: translate(120px, 8px);
}

.sell-section {
  padding-top: 58px;
}

.sell-feature-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  margin-top: 28px;
}

.sell-feature-grid article {
  min-height: 176px;
  padding: 24px 24px 22px;
  border-color: #dfe7f4;
  border-radius: 18px;
  background: linear-gradient(180deg, #ffffff 0%, #f7faff 100%);
  color: #091125;
  box-shadow: 0 18px 38px rgba(34, 70, 140, 0.055);
}

.sell-feature-grid article:hover {
  box-shadow: 0 22px 44px rgba(30, 75, 170, 0.105);
  transform: translateY(-3px);
}

.sell-feature-grid i,
.sell-reasons i {
  width: 42px;
  height: 42px;
}

.sell-feature-grid h3,
.sell-reasons h3 {
  margin-top: 16px;
}

.sell-command {
  min-height: 570px;
}

.sell-command__screen--image {
  min-height: 510px;
}

.sell-command__screen--image > .sell-command__image {
  width: min(104%, 920px);
  transform: translateX(-62px);
}

.sell-reasons--asset {
  padding-top: 68px;
}

.sell-reasons__image {
  margin-top: 22px;
}

.sell-final--asset {
  position: relative;
  width: min(100% - 72px, 1440px);
  min-height: 320px;
  margin: 42px auto 0;
  padding: 46px 58px;
  overflow: hidden;
  border-radius: 18px;
  background: #1664ff;
  box-shadow: 0 24px 55px rgba(18, 102, 255, 0.22);
}

.sell-final--asset > img {
  position: absolute;
  right: -14px;
  bottom: -44px;
  z-index: 1;
  width: min(47vw, 560px);
  height: auto;
  margin: 0;
  display: block;
  object-fit: contain;
}

.sell-footer {
  margin-top: 38px;
  padding: 36px 0 34px;
  display: grid;
  grid-template-columns: minmax(260px, 0.78fr) minmax(520px, 1.22fr);
  align-items: start;
  gap: 36px;
}

.sell-footer img {
  width: 148px;
}

.sell-footer__brand {
  display: grid;
  gap: 14px;
}

.sell-footer__brand p {
  max-width: 300px;
  margin: 0;
  color: #69758a;
  font-size: 13px;
  line-height: 1.5;
}

.sell-app-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
}

.sell-app-badges a {
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 12px;
  border: 1px solid #dfe7f4;
  border-radius: 9px;
  background: #fff;
  color: #111b32 !important;
  font-size: 11px;
  font-weight: 840;
  box-shadow: 0 10px 22px rgba(34, 70, 140, 0.055);
}

.sell-footer__nav {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.sell-footer__nav section {
  display: grid;
  gap: 10px;
}

.sell-footer__nav h3 {
  margin: 0 0 3px;
  color: #111b32;
  font-size: 12px;
  font-weight: 880;
}

.sell-footer__nav a {
  color: #6a7588 !important;
  font-size: 12px;
  font-weight: 680;
}

.sell-footer__nav a:hover,
.sell-footer__nav a:focus-visible {
  color: var(--sell-blue) !important;
}

.sell-footer__bottom {
  grid-column: 1 / -1;
  padding-top: 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  border-top: 1px solid #eef2f8;
}

@media (max-width: 1240px) {
  .sell-nav--launch {
    grid-template-columns: auto 1fr auto;
    gap: 18px;
  }

  .sell-nav--launch nav {
    gap: 14px;
  }

  .sell-launch-visual__main,
  .sell-launch-visual img {
    width: min(105%, 820px);
    transform: translate(56px, 6px);
  }

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

@media (max-width: 860px) {
  .sell-nav--launch {
    min-height: 68px;
    grid-template-columns: 1fr auto;
  }

  .sell-nav--launch nav,
  .sell-nav__login,
  .sell-nav__actions > a:first-child {
    display: none;
  }

  .sell-nav--launch .sell-brand img {
    width: 158px;
  }

  .sell-launch-hero {
    min-height: auto;
    padding: 31px 0 24px;
  }

  .sell-launch-visual {
    justify-content: center;
  }

  .sell-launch-visual__main,
  .sell-launch-visual img {
    width: min(100%, 640px);
    margin: 8px auto 0;
    transform: none;
  }

  .sell-section {
    padding-top: 58px;
  }

  .sell-feature-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 11px;
  }

  .sell-command__screen--image {
    min-height: 330px;
    overflow: visible;
  }

  .sell-command__screen--image > .sell-command__image {
    width: min(132%, 640px);
    transform: translateX(-26%);
  }

  .sell-final--asset {
    width: min(100% - 30px, 640px);
    height: clamp(168px, 45vw, 270px);
    margin-top: 42px;
    border-radius: 14px;
  }

  .sell-final--asset > img {
    object-position: top center;
  }

  .sell-footer {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .sell-footer__nav {
    grid-template-columns: 1fr;
  }

  .sell-footer__bottom {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 520px) {
  .sell-feature-grid {
    grid-template-columns: 1fr;
  }
}

.sell-launch-visual picture {
  display: contents;
}

.sell-launch-mobile-visual,
.sell-launch-microcopy {
  display: none;
}

.sell-feature-grid article.is-dark {
  border-color: #0e1116;
  background: #0e1116;
  color: #fff;
  box-shadow: 0 24px 48px rgba(14, 17, 22, 0.18);
}

.sell-feature-grid article.is-dark i {
  background: rgba(255, 255, 255, 0.92);
  color: #0e1116;
  box-shadow: none;
}

.sell-feature-grid article.is-dark h3 {
  color: #fff;
}

.sell-feature-grid article.is-dark p {
  color: #c5ccd8;
}

.sell-final-mobile {
  position: relative;
  z-index: 2;
  display: block;
  color: #fff;
}

.sell-final-mobile h2 {
  max-width: 560px;
  margin: 0;
  color: #fff;
  font-size: clamp(36px, 3.6vw, 56px);
  font-weight: 880;
  line-height: 1.06;
}

.sell-final-mobile p {
  max-width: 480px;
  margin: 14px 0 0;
  color: rgba(255, 255, 255, 0.9);
  font-size: 17px;
  font-weight: 650;
  line-height: 1.45;
}

.sell-final-mobile ul {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}

.sell-final-mobile li {
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  font-size: 13px;
  font-weight: 760;
}

.sell-final-mobile li::before {
  width: 18px;
  height: 18px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  border-radius: 50%;
  background: #fff;
  color: #1664ff;
  content: "✓";
  font-size: 10px;
  font-weight: 900;
}

.sell-final-mobile img {
  display: none;
}

@media (max-width: 860px) {
  .sell-page--launch {
    background: #fff;
  }

  .sell-nav--launch,
  .sell-launch-hero,
  .sell-section,
  .sell-footer {
    width: min(100% - 20px, 638px);
  }

  .sell-nav--launch {
    min-height: 55px;
    padding: 10px 0 4px;
    grid-template-columns: auto auto;
    justify-content: space-between;
    gap: 8px;
  }

  .sell-nav--launch .sell-brand img {
    width: 108px;
  }

  .sell-nav__actions {
    gap: 6px;
  }

  .sell-nav__login,
  .sell-nav__actions > a:first-child {
    min-height: 34px;
    display: inline-flex !important;
    padding: 9px 12px;
    border-radius: 8px;
    font-size: 10px;
    box-shadow: none;
  }

  .sell-nav__start {
    min-height: 34px;
    padding: 9px 12px;
    border-radius: 8px;
    font-size: 10px;
    box-shadow: none;
  }

  .sell-launch-hero {
    display: block;
    padding: 34px 0 16px;
  }

  .sell-launch-hero__copy {
    max-width: none;
  }

  .sell-launch-hero h1 {
    max-width: 360px;
    font-size: clamp(34px, 11vw, 45px);
    line-height: 1.08;
  }

  .sell-launch-hero h1 em {
    color: #ff1934;
  }

  .sell-launch-hero__copy > p {
    max-width: 330px;
    margin-top: 9px;
    font-size: 12px;
    line-height: 1.45;
  }

  .sell-launch-actions {
    margin-top: 13px;
  }

  .sell-launch-secondary {
    display: none;
  }

  .sell-launch-primary {
    width: min(100%, 300px);
    min-height: 43px;
    margin-inline: auto;
    border-radius: 7px;
    font-size: 11px;
  }

  .sell-launch-mobile-visual {
    display: block;
  }

  .sell-launch-mobile-visual img {
    width: min(100%, 390px);
    margin: 2px auto 0;
    display: block;
    filter: drop-shadow(0 18px 28px rgba(18, 102, 255, 0.12));
  }

  .sell-launch-microcopy {
    display: block;
    margin: 8px 0 0;
    color: #6f7788;
    font-size: 8px;
    font-weight: 600;
    line-height: 1.3;
    text-align: center;
  }

  .sell-launch-visual {
    display: none;
  }

  .sell-launch-visual__main,
  .sell-launch-visual img {
    width: min(100%, 390px);
    margin: -4px auto 0;
    filter: drop-shadow(0 18px 28px rgba(18, 102, 255, 0.12));
    transform: none;
  }

  .sell-launch-notes {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0;
    margin-top: 10px;
    overflow: hidden;
    border: 1px solid #e5ebf2;
    border-radius: 11px;
    background: #fff;
    box-shadow: 0 8px 24px rgba(34, 70, 140, 0.09);
  }

  .sell-launch-notes li {
    min-height: 77px;
    display: grid;
    justify-items: center;
    align-content: center;
    gap: 8px;
    padding: 10px 7px;
    border: 0;
    border-radius: 0;
    background: #fff;
    color: #344056;
    font-size: 10px;
    font-weight: 780;
    line-height: 1.15;
    text-align: center;
    box-shadow: none;
  }

  .sell-launch-notes li + li {
    border-left: 0;
  }

  .sell-launch-notes li::before {
    width: 30px;
    height: 30px;
    margin: 0;
    border-radius: 50%;
    background-color: #f4f7fb;
    background-position: center;
    background-repeat: no-repeat;
    background-size: 18px;
    content: "";
    box-shadow: none;
  }

  .sell-launch-notes li:nth-child(1)::before { background-image: url("/assets/icons/38_wallet.svg"); }
  .sell-launch-notes li:nth-child(2)::before { background-image: url("/assets/icons/35_lightning.svg"); }
  .sell-launch-notes li:nth-child(3)::before { background-image: url("/assets/icons/31_clock.svg"); }

  .sell-trust {
    display: none;
  }

  .sell-section {
    padding-top: 16px;
  }

  .sell-features .sell-section__eyebrow {
    display: none;
  }

  .sell-section h2 {
    margin-top: 0;
    font-size: 22px;
    line-height: 1.12;
  }

  .sell-feature-grid--carousel {
    width: calc(100% + 10px);
    display: flex;
    gap: 10px;
    margin-top: 12px;
    margin-right: -10px;
    padding: 0 10px 4px 0;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    scroll-padding-inline: 0;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    touch-action: pan-x pan-y;
  }

  .sell-feature-grid--carousel::-webkit-scrollbar {
    display: none;
  }

  .sell-feature-grid--carousel article {
    flex: 0 0 min(76vw, 286px);
    min-height: 136px;
    padding: 15px 13px 14px;
    scroll-snap-align: start;
    border-radius: 8px;
    box-shadow: none;
  }

  .sell-feature-grid--carousel i {
    width: 38px;
    height: 38px;
    border-radius: 8px;
    font-size: 18px;
  }

  .sell-feature-grid h3 {
    margin-top: 10px;
    font-size: 16px;
    line-height: 1.05;
  }

  .sell-feature-grid p {
    margin-top: 6px;
    font-size: 9px;
    line-height: 1.28;
  }

  .sell-command {
    width: min(100% - 20px, 638px);
    min-height: auto;
    padding-top: 28px;
    display: block;
  }

  .sell-command__copy h2 {
    margin-top: 7px;
    font-size: 28px;
    line-height: 1.12;
  }

  .sell-command__copy > p {
    max-width: 336px;
    margin-top: 12px;
    font-size: 14px;
    line-height: 1.52;
  }

  .sell-command__copy ul {
    gap: 7px;
    margin-top: 18px;
    font-size: 11px;
  }

  .sell-command__copy li::before {
    width: 18px;
    height: 18px;
    font-size: 10px;
  }

  .sell-text-link {
    display: none;
  }

  .sell-command__screen--image {
    min-height: 230px;
    margin-top: 16px;
    justify-content: flex-start;
    overflow: visible;
  }

  .sell-command__screen--image > .sell-command__image {
    width: min(142%, 500px);
    transform: translateX(-84px);
  }

  .sell-reasons--asset {
    display: none;
  }

  .sell-final--asset {
    width: min(100% - 20px, 638px);
    min-height: 306px;
    height: auto;
    margin-top: 28px;
    padding: 22px 24px 0;
    overflow: hidden;
    border-radius: 20px;
    background: #1664ff;
  }

  .sell-final--asset > img {
    display: block;
    right: -82px;
    bottom: -36px;
    width: 252px;
  }

  .sell-final__hotspots,
  .sell-final-mobile img {
    display: none;
  }

  .sell-final-mobile h2 {
    max-width: 245px;
    margin: 0;
    color: #fff;
    font-size: 27px;
    font-weight: 880;
    line-height: 1.08;
  }

  .sell-final-mobile p {
    max-width: 232px;
    margin: 8px 0 0;
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    line-height: 1.32;
  }

  .sell-final-mobile ul {
    display: grid;
    gap: 10px;
    max-width: 220px;
    margin: 18px 0 0;
    padding: 0;
    list-style: none;
  }

  .sell-final-mobile li {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #fff;
    font-size: 12px;
    font-weight: 680;
  }

  .sell-final-mobile li::before {
    width: 18px;
    height: 18px;
    display: grid;
    place-items: center;
    flex: 0 0 auto;
    border-radius: 50%;
    background: #fff;
    color: #1664ff;
    content: "✓";
    font-size: 10px;
    font-weight: 900;
  }

  .sell-final-mobile img {
    position: absolute;
    right: -82px;
    bottom: -36px;
    width: 252px;
    max-width: none;
  }

  .sell-footer {
    width: min(100% - 20px, 638px);
    margin-top: 28px;
    padding: 24px 0 28px;
  }
}

.legal-page {
  min-height: 100dvh;
  margin: 0;
  background: #f7faff;
  color: #091125;
  font-family: "Geologica", "Inter", system-ui, sans-serif;
}

.legal-page main {
  width: min(100% - 36px, 760px);
  margin: 0 auto;
  padding: 72px 0;
}

.legal-page a {
  color: #1266ff;
  font-size: 13px;
  font-weight: 820;
  text-decoration: none;
}

.legal-page h1 {
  margin: 28px 0 18px;
  color: #091125;
  font-size: clamp(34px, 6vw, 54px);
  line-height: 1.04;
}

.legal-page p {
  margin: 0 0 14px;
  color: #66738a;
  font-size: 17px;
  font-weight: 540;
  line-height: 1.65;
}

/* Dashboard proportions are calibrated from IMG_8276: a narrow navigation
   rail, small welcome block, four even metrics and a calm, outlined data grid. */
.head-portal {
  grid-template-columns: 218px minmax(0, 1fr);
}

.head-sidebar {
  padding: 28px 12px 16px;
}

.head-sidebar__brand {
  padding: 0 12px 24px;
}

.head-sidebar__brand-surface {
  width: 166px;
  height: 40px;
  padding: 5px 8px;
  border-radius: 7px;
}

.head-sidebar__brand-surface img {
  width: 150px;
}

.head-account-switcher {
  margin: 0 4px 14px;
}

.head-sidebar__org {
  min-height: 54px;
  padding: 7px;
  grid-template-columns: 34px minmax(0, 1fr) 16px;
  gap: 8px;
  border-radius: 14px;
}

.head-sidebar__avatar {
  width: 34px;
  height: 34px;
  font-size: 12px;
}

.head-sidebar__item,
.head-sidebar__logout {
  min-height: 37px;
  padding: 8px 10px;
  grid-template-columns: 18px minmax(0, 1fr);
  gap: 9px;
  border-radius: 7px;
  font-size: 12px;
  font-weight: 700;
}

.head-sidebar__item > .icon,
.head-sidebar__logout > .icon {
  width: 17px;
  height: 17px;
}

.head-content {
  padding: 48px clamp(26px, 4vw, 54px) 56px;
}

.head-overview-hero {
  padding-bottom: 15px;
  border-bottom: 0;
}

.head-welcome-card h2 {
  font-size: 19px;
  font-weight: 760;
}

.head-welcome-card p {
  margin-top: 3px;
  font-size: 12px;
}

.head-period-select {
  min-width: 150px;
  height: 36px;
  border-radius: 8px;
}

.head-kpis--overview {
  margin-top: 7px;
  gap: 14px;
}

.head-kpis article,
.head-kpis--overview article {
  min-height: 106px;
  padding: 15px 16px;
  border-color: #e8eaee;
  border-radius: 10px;
}

.head-kpis span,
.head-kpis--overview span {
  font-size: 10px;
}

.head-kpis strong,
.head-kpis--overview strong {
  margin: 10px 0 6px;
  font-size: clamp(21px, 2.15vw, 27px);
  line-height: 1;
}

.head-kpis p,
.head-kpis--overview p {
  font-size: 10px;
  font-weight: 750;
}

.head-dashboard-grid--overview {
  margin-top: 14px;
  grid-template-columns: minmax(0, 1.43fr) minmax(276px, 0.97fr);
  gap: 14px;
}

.head-chart-card--sales,
.head-source-card--traffic,
.head-orders-card,
.head-chart-card,
.head-source-card {
  padding: 16px;
  border-color: #e8eaee;
  border-radius: 10px;
}

.head-chart-card--sales,
.head-source-card--traffic {
  min-height: 242px;
}

.head-card-title h2,
.head-source-card h2 {
  font-size: 13px;
  font-weight: 780;
}

.head-card-title div,
.head-card-title span,
.head-card-title a {
  font-size: 10px;
}

.head-card-title i {
  width: 8px;
  height: 8px;
  margin-right: 5px;
}

.head-sales-chart {
  height: 170px;
  margin-top: 12px;
  border: 0;
  border-radius: 0;
}

.head-traffic-layout {
  margin-top: 15px;
  grid-template-columns: 138px minmax(0, 1fr);
  gap: 14px;
}

.head-traffic-layout .head-donut {
  width: 128px;
  height: 128px;
  box-shadow: inset 0 0 0 28px #fff;
}

.head-traffic-layout ul {
  gap: 9px;
}

.head-traffic-layout li {
  grid-template-columns: 8px minmax(0, 1fr) auto;
  gap: 7px;
  font-size: 10px;
  font-weight: 700;
}

.head-traffic-layout li i {
  width: 8px;
  height: 8px;
}

.head-orders-card {
  margin-top: 14px;
}

.head-orders-table {
  margin-top: 8px;
}

.head-orders-table th,
.head-orders-table td {
  padding: 9px 10px;
  font-size: 10px;
}

.head-orders-table th {
  font-size: 9px;
}

.head-order-status {
  min-width: 68px;
  padding: 4px 7px;
  font-size: 9px;
}

@media (max-width: 1020px) {
  .head-portal {
    grid-template-columns: minmax(0, 1fr);
  }

  .head-sidebar nav {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .head-content {
    padding: 22px 14px 40px;
  }

  .head-sidebar {
    padding: 16px 12px 12px;
  }

  .head-sidebar__brand {
    padding-bottom: 16px;
  }

  .head-sidebar nav {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .head-dashboard-grid--overview,
  .head-traffic-layout {
    grid-template-columns: minmax(0, 1fr);
  }

  .head-traffic-layout .head-donut {
    margin: 0 auto;
  }
}

/* 2026 organizer workspace system. The reference dashboard is the source of
   truth for every SHYNE Head route: one white canvas, one blue accent, one
   compact data rhythm. */
.head-portal {
  --head-ink: #121a2b;
  --head-muted: #667085;
  --head-soft: #8c96a8;
  --head-line: #e6ebf5;
  --head-quiet: #f7f9fc;
  --head-blue: #f01f2f;
  --head-blue-soft: #fff0f2;
  --head-green: #04a66a;
  grid-template-columns: 264px minmax(0, 1fr);
  min-height: 100dvh;
  background: #fff;
  color: var(--head-ink);
  font-family: "Geologica", "Inter", system-ui, sans-serif;
}

.head-portal .head-sidebar {
  width: auto;
  padding: 25px 18px 18px;
  border-right: 1px solid var(--head-line);
  background: #fff;
}

.head-portal .head-sidebar__brand {
  min-height: 56px;
  padding: 0 12px 22px;
  display: flex;
  align-items: center;
}

.head-portal .head-sidebar__brand-surface,
.head-portal .head-sidebar__brand-surface img {
  width: 146px;
  height: auto;
  padding: 0;
  border-radius: 0;
  background: transparent;
  filter: none;
}

.head-portal .head-account-switcher {
  margin: 0 0 18px;
}

.head-portal .head-sidebar__org {
  min-height: 68px;
  padding: 10px 12px;
  grid-template-columns: 42px minmax(0, 1fr) 16px;
  border: 1px solid var(--head-line);
  border-radius: 12px;
  box-shadow: none;
}

.head-portal .head-sidebar__avatar {
  width: 42px;
  height: 42px;
  border: 0;
  background: #121212;
  color: #fff;
  font-size: 13px;
}

.head-portal .head-sidebar__org-copy strong {
  color: var(--head-ink);
  font-size: 13px;
  font-weight: 700;
}

.head-portal .head-sidebar__org-copy small {
  color: var(--head-muted);
  font-size: 10px;
  font-weight: 500;
}

.head-portal .head-account-roles {
  border-color: var(--head-line);
  border-radius: 10px;
}

.head-portal .head-account-role {
  border-radius: 7px;
}

.head-portal .head-account-role .head-sidebar__avatar {
  width: 36px;
  height: 36px;
  background: #121212;
}

.head-portal .head-sidebar nav {
  display: grid;
  gap: 2px;
}

.head-portal .head-sidebar__item,
.head-portal .head-sidebar__logout {
  min-height: 42px;
  padding: 10px 12px;
  grid-template-columns: 19px minmax(0, 1fr);
  gap: 11px;
  border-radius: 7px;
  color: #536079;
  font-size: 13px;
  font-weight: 600;
}

.head-portal .head-sidebar__item > .icon,
.head-portal .head-sidebar__logout > .icon {
  width: 18px;
  height: 18px;
}

.head-portal .head-sidebar__item.is-active {
  background: var(--head-blue-soft);
  box-shadow: inset 3px 0 0 var(--head-blue);
  color: var(--head-blue);
}

.head-portal .head-content {
  min-width: 0;
  padding: 28px clamp(24px, 3.2vw, 48px) 60px;
  background: #fff;
}

.head-portal .head-panel,
.head-portal .organizer-panel {
  width: 100%;
  min-width: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.head-overview-hero {
  min-height: 72px;
  padding: 0 0 18px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  border: 0;
}

.head-welcome-card h1,
.head-welcome-card h2 {
  margin: 0;
  color: var(--head-ink);
  font-size: 25px;
  line-height: 1.2;
  font-weight: 690;
  letter-spacing: 0;
}

.head-welcome-card p {
  margin: 5px 0 0;
  color: var(--head-muted);
  font-size: 12px;
  font-weight: 500;
}

.head-header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.head-date-select {
  min-width: 164px;
  height: 44px;
  padding: 0 10px;
  display: flex;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--head-line);
  border-radius: 8px;
  background: #fff;
}

.head-date-select > .icon {
  width: 17px;
  color: #42516d;
}

.head-date-select select {
  min-width: 0;
  border: 0;
  background: transparent;
  color: #42516d;
  font: inherit;
  font-size: 11px;
  font-weight: 600;
}

.head-notification {
  position: relative;
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  color: #344054;
}

.head-notification > .icon {
  width: 20px;
}

.head-notification b {
  position: absolute;
  top: 0;
  right: 0;
  min-width: 17px;
  height: 17px;
  padding: 0 4px;
  display: grid;
  place-items: center;
  border: 2px solid #fff;
  border-radius: 50%;
  background: #ed1c2f;
  color: #fff;
  font-size: 8px;
}

.head-user-chip {
  min-width: 176px;
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr) 15px;
  grid-template-rows: 20px 18px;
  align-items: center;
  column-gap: 10px;
  color: var(--head-ink);
}

.head-user-chip > span {
  width: 40px;
  height: 40px;
  grid-row: 1 / 3;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #252525;
  color: #fff;
  font-size: 11px;
  font-weight: 650;
}

.head-user-chip > strong {
  align-self: end;
  overflow: hidden;
  color: var(--head-ink);
  font-size: 11px;
  font-weight: 650;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.head-user-chip > small {
  align-self: start;
  color: var(--head-muted);
  font-size: 9px;
}

.head-user-chip > .icon {
  grid-column: 3;
  grid-row: 1 / 3;
  width: 14px;
  color: var(--head-muted);
}

.head-portal .head-kpis--overview {
  margin-top: 4px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.head-portal .head-kpis--overview article {
  min-width: 0;
  min-height: 136px;
  padding: 18px;
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  align-items: start;
  gap: 13px;
  border: 1px solid var(--head-line);
  border-radius: 10px;
  background: #fff;
}

.head-kpi-icon {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--head-blue-soft);
  color: var(--head-blue) !important;
}

.head-kpi-icon > .icon {
  width: 23px;
  height: 23px;
}

.head-portal .head-kpis--overview article > div > span {
  display: block;
  color: #42516d;
  font-size: 11px;
  font-weight: 550;
}

.head-portal .head-kpis--overview article > div > strong {
  margin: 7px 0 9px;
  display: block;
  color: var(--head-ink);
  font-size: clamp(22px, 2vw, 28px);
  line-height: 1;
  font-weight: 680;
  white-space: nowrap;
}

.head-portal .head-kpis--overview article > div > p {
  margin: 0;
  color: var(--head-green);
  font-size: 10px;
  font-weight: 650;
}

.head-portal .head-kpis--overview article > div > p small {
  margin-left: 4px;
  color: var(--head-muted);
  font-size: 8px;
  font-weight: 500;
  white-space: nowrap;
}

.head-portal .head-dashboard-grid--overview {
  margin-top: 18px;
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(300px, .95fr);
  gap: 16px;
}

.head-portal .head-chart-card--sales,
.head-portal .head-source-card--traffic,
.head-portal .head-orders-card,
.head-portal .head-chart-card,
.head-portal .head-source-card {
  padding: 19px 20px;
  border: 1px solid var(--head-line);
  border-radius: 10px;
  background: #fff;
  box-shadow: none;
}

.head-portal .head-chart-card--sales,
.head-portal .head-source-card--traffic {
  min-height: 306px;
}

.head-portal .head-card-title h2,
.head-portal .head-source-card h2 {
  margin: 0;
  color: var(--head-ink);
  font-size: 14px;
  font-weight: 650;
}

.head-portal .head-card-title div {
  display: flex;
  gap: 16px;
}

.head-portal .head-card-title div span,
.head-portal .head-card-title a {
  color: #59667d;
  font-size: 10px;
  font-weight: 550;
}

.head-portal .head-card-title a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.head-portal .head-card-title a .icon {
  width: 13px;
}

.head-sales-chart {
  height: 240px;
  margin-top: 8px;
  border: 0;
  overflow: visible;
}

.head-sales-chart svg {
  overflow: visible;
}

.head-chart-grid {
  fill: none;
  stroke: #edf1f7;
  stroke-width: 1;
}

.head-chart-today,
.head-chart-yesterday {
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 3;
}

.head-chart-today {
  stroke: var(--head-blue);
}

.head-chart-yesterday {
  stroke: #a9c6fb;
}

.head-chart-points circle {
  fill: #fff;
  stroke: var(--head-blue);
  stroke-width: 3;
}

.head-chart-labels text {
  fill: #66758f;
  font-family: "Geologica", "Inter", system-ui, sans-serif;
  font-size: 9px;
  font-weight: 500;
}

.head-chart-labels--x text {
  text-anchor: middle;
}

.head-traffic-layout {
  min-height: 222px;
  margin-top: 14px;
  display: grid;
  grid-template-columns: minmax(132px, 1fr) minmax(140px, 1fr);
  align-items: center;
  gap: 22px;
}

.head-traffic-layout .head-donut {
  width: 150px;
  height: 150px;
  margin: 0 auto;
  box-shadow: inset 0 0 0 36px #fff;
}

.head-traffic-layout li {
  grid-template-columns: 9px minmax(0, 1fr) auto;
  gap: 9px;
  color: #42516d;
  font-size: 10px;
  font-weight: 550;
}

.head-orders-card {
  margin-top: 18px;
}

.head-orders-table {
  margin-top: 8px;
  overflow-x: auto;
}

.head-orders-table table {
  min-width: 760px;
}

.head-orders-table th,
.head-orders-table td {
  padding: 10px 12px;
  border-color: var(--head-line);
  color: #28364f;
  font-size: 10px;
}

.head-orders-table th {
  color: var(--head-muted);
  font-size: 9px;
  font-weight: 550;
}

.head-orders-table td strong,
.head-orders-table td small {
  display: block;
}

.head-orders-table td strong {
  color: var(--head-ink);
  font-size: 10px;
  font-weight: 650;
}

.head-orders-table td small {
  margin-top: 3px;
  color: var(--head-muted);
  font-size: 8px;
}

.head-order-status {
  min-width: 66px;
  padding: 5px 8px;
  border-radius: 5px;
  font-size: 9px;
}

.head-portal .section-heading {
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--head-line);
}

.head-portal .section-heading .eyebrow {
  display: none;
}

.head-portal .head-panel .section-heading h2,
.head-portal .organizer-panel .section-heading h2 {
  margin: 0;
  color: var(--head-ink);
  font-size: 23px;
  line-height: 1.2;
  font-weight: 680;
  letter-spacing: 0;
}

.head-portal .head-panel .section-heading p,
.head-portal .organizer-panel .section-heading p {
  margin: 5px 0 0;
  color: var(--head-muted);
  font-size: 12px;
  line-height: 1.45;
  font-weight: 450;
}

.head-portal .organizer-toolbar,
.head-portal .org-customers-toolbar {
  margin: 0 0 14px;
  display: flex;
  justify-content: flex-end;
}

.head-portal .button {
  min-height: 38px;
  padding: 9px 13px;
  border-radius: 7px;
  font-size: 11px;
  font-weight: 600;
}

.head-portal .button--signal {
  border-color: var(--head-blue);
  background: var(--head-blue);
  color: #fff;
}

.head-portal .button--quiet {
  border-color: var(--head-line);
  background: #fff;
  color: #42516d;
}

.head-portal .organizer-list,
.head-portal .order-list,
.head-record-list {
  display: grid;
  gap: 9px;
}

.head-portal .organizer-row,
.head-portal .order-row,
.head-portal .org-team-row,
.head-portal .head-table article,
.head-record-row {
  min-height: 82px;
  padding: 12px;
  border: 1px solid var(--head-line);
  border-radius: 8px;
  background: #fff;
  box-shadow: none;
}

.head-portal .organizer-row {
  grid-template-columns: 82px minmax(180px, 1fr) minmax(120px, .45fr) minmax(210px, auto);
  gap: 14px;
}

.head-portal .organizer-row__media,
.head-portal .organizer-row__media img,
.head-portal .organizer-row__media .image-fallback {
  width: 82px;
  height: 58px;
  border-radius: 6px;
}

.head-portal .organizer-row h3,
.head-portal .order-row h2 {
  color: var(--head-ink);
  font-size: 13px;
  font-weight: 650;
}

.head-portal .organizer-row p,
.head-portal .organizer-row span,
.head-portal .order-row p,
.head-portal .order-row span {
  color: var(--head-muted);
  font-size: 10px;
}

.head-portal .organizer-row__actions {
  justify-content: flex-end;
  gap: 6px;
}

.head-portal .organizer-row__actions .button {
  min-height: 32px;
  padding: 7px 9px;
  font-size: 9px;
}

.head-portal .organizer-row__lifecycle {
  gap: 5px;
}

.head-portal .organizer-kpis,
.head-portal .head-kpis:not(.head-kpis--overview) {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.head-portal .organizer-kpis article,
.head-portal .head-kpis:not(.head-kpis--overview) article,
.head-portal .org-requisites-grid article,
.head-portal .org-team-grid > article {
  padding: 16px;
  border: 1px solid var(--head-line);
  border-radius: 8px;
  background: #fff;
  box-shadow: none;
}

.head-portal .organizer-kpis article span,
.head-portal .head-kpis:not(.head-kpis--overview) article span,
.head-portal .org-requisites-grid article span {
  color: var(--head-muted);
  font-size: 10px;
}

.head-portal .organizer-kpis article strong,
.head-portal .head-kpis:not(.head-kpis--overview) article strong {
  color: var(--head-ink);
  font-size: 22px;
  font-weight: 680;
}

.head-portal .org-team-form,
.head-portal .org-refund-form,
.head-inline-form {
  margin-bottom: 16px;
  padding: 14px;
  display: grid;
  grid-template-columns: repeat(4, minmax(120px, 1fr)) auto;
  align-items: end;
  gap: 10px;
  border: 1px solid var(--head-line);
  border-radius: 8px;
  background: var(--head-quiet);
}

.head-portal label > span,
.head-inline-form label > span,
.head-settings-form label > span {
  margin-bottom: 6px;
  display: block;
  color: #42516d;
  font-size: 9px;
  font-weight: 600;
}

.head-portal input,
.head-portal select,
.head-portal textarea {
  width: 100%;
  min-height: 38px;
  padding: 8px 10px;
  border: 1px solid #dce3ef;
  border-radius: 6px;
  background: #fff;
  color: var(--head-ink);
  font: inherit;
  font-size: 11px;
}

.head-record-row {
  display: grid;
  grid-template-columns: minmax(180px, 1fr) minmax(140px, .5fr) auto;
  align-items: center;
  gap: 16px;
}

.head-record-row > div strong,
.head-record-row > div span {
  display: block;
}

.head-record-row > div strong,
.head-record-row > div b {
  color: var(--head-ink);
  font-size: 12px;
}

.head-record-row > div span {
  margin-top: 4px;
  color: var(--head-muted);
  font-size: 9px;
}

.head-switch {
  min-width: 106px;
  display: grid;
  grid-template-columns: 34px auto;
  align-items: center;
  gap: 7px;
  border: 0;
  background: transparent;
  color: var(--head-muted);
  font: inherit;
  font-size: 9px;
}

.head-switch > span {
  width: 34px;
  height: 19px;
  padding: 2px;
  display: block;
  border-radius: 10px;
  background: #dce2eb;
}

.head-switch > span::before {
  content: "";
  width: 15px;
  height: 15px;
  display: block;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 1px 3px rgba(16, 24, 40, .18);
  transition: transform 160ms ease;
}

.head-switch.is-active > span {
  background: var(--head-blue);
}

.head-switch.is-active > span::before {
  transform: translateX(15px);
}

.head-settings-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.head-settings-card {
  padding: 18px;
  border: 1px solid var(--head-line);
  border-radius: 9px;
  background: #fff;
}

.head-settings-card--security {
  grid-column: 1 / -1;
}

.head-settings-card__title {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr) auto;
  align-items: center;
  gap: 11px;
}

.head-settings-card__title > .icon {
  width: 38px;
  height: 38px;
  padding: 9px;
  border-radius: 50%;
  background: var(--head-blue-soft);
  color: var(--head-blue);
}

.head-settings-card__title h2,
.head-settings-card__title p {
  margin: 0;
}

.head-settings-card__title h2 {
  color: var(--head-ink);
  font-size: 14px;
  font-weight: 650;
}

.head-settings-card__title p {
  margin-top: 3px;
  color: var(--head-muted);
  font-size: 9px;
}

.head-settings-card__title > b {
  color: var(--head-blue);
  font-size: 18px;
}

.head-compact-list {
  margin: 14px 0;
  border-top: 1px solid var(--head-line);
}

.head-compact-list p {
  margin: 0;
  padding: 9px 0;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  border-bottom: 1px solid var(--head-line);
}

.head-compact-list strong,
.head-compact-list span {
  font-size: 10px;
}

.head-compact-list span {
  color: var(--head-muted);
  text-align: right;
}

.head-settings-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: end;
  gap: 9px;
}

.head-settings-form .button {
  grid-column: 1 / -1;
}

.head-settings-form--scheme {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.head-portal .head-scanner-unavailable {
  border-color: var(--head-line);
  border-radius: 8px;
  background: var(--head-quiet);
}

@media (max-width: 1220px) {
  .head-portal {
    grid-template-columns: 232px minmax(0, 1fr);
  }

  .head-portal .head-kpis--overview {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .head-user-chip {
    min-width: 40px;
    grid-template-columns: 40px;
  }

  .head-user-chip > strong,
  .head-user-chip > small,
  .head-user-chip > .icon {
    display: none;
  }
}

@media (max-width: 920px) {
  .head-portal {
    display: block;
  }

  .head-portal .head-sidebar {
    position: static;
    height: auto;
    padding: 16px;
    border-right: 0;
    border-bottom: 1px solid var(--head-line);
  }

  .head-portal .head-sidebar__brand,
  .head-portal .head-account-switcher,
  .head-portal .head-sidebar__logout {
    display: none;
  }

  .head-portal .head-sidebar nav {
    display: flex;
    overflow-x: auto;
    scrollbar-width: none;
  }

  .head-portal .head-sidebar__item {
    min-width: max-content;
    box-shadow: none;
  }

  .head-portal .head-dashboard-grid--overview,
  .head-settings-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .head-settings-card--security {
    grid-column: auto;
  }

  .head-portal .organizer-row {
    grid-template-columns: 72px minmax(0, 1fr);
  }

  .head-portal .organizer-row__state,
  .head-portal .organizer-row__actions {
    grid-column: 2;
    justify-content: flex-start;
  }
}

@media (max-width: 640px) {
  .head-portal .head-content {
    padding: 20px 14px 40px;
  }

  .head-overview-hero {
    display: grid;
  }

  .head-header-actions {
    width: 100%;
  }

  .head-date-select {
    flex: 1;
  }

  .head-portal .head-kpis--overview,
  .head-portal .organizer-kpis,
  .head-portal .head-kpis:not(.head-kpis--overview),
  .head-portal .org-team-form,
  .head-portal .org-refund-form,
  .head-inline-form,
  .head-settings-form {
    grid-template-columns: minmax(0, 1fr);
  }

  .head-traffic-layout,
  .head-record-row {
    grid-template-columns: minmax(0, 1fr);
  }

  .head-portal .organizer-row__actions {
    display: flex;
    flex-wrap: wrap;
  }

  .head-switch {
    justify-self: start;
  }
}

/* SHYNE Head is an operational workspace: quiet white surfaces, visible rules,
   and data before decoration. These overrides intentionally stay scoped to it. */
.head-portal {
  --head-ink: #20242b;
  --head-muted: #77808d;
  --head-line: #dfe3e8;
  --head-quiet: #f6f7f8;
  --head-blue: #f01f2f;
  gap: 0;
  padding: 0;
  background: #fff;
  grid-template-columns: 248px minmax(0, 1fr);
}

.head-portal .head-sidebar,
.head-portal .head-panel,
.head-portal .organizer-panel,
.head-portal .head-topbar,
.head-portal .head-chart-card,
.head-portal .head-source-card,
.head-portal .head-orders-card,
.head-portal .head-kpis article,
.head-portal .head-table article {
  border-color: var(--head-line);
  border-radius: 8px;
  box-shadow: none;
}

.head-sidebar {
  top: 0;
  height: 100dvh;
  padding: 24px 12px 16px;
  border: 0;
  border-right: 1px solid var(--head-line);
  border-radius: 0;
  background: #fff;
}

.head-sidebar__brand {
  padding: 2px 12px 22px;
}

.head-sidebar__brand img {
  width: 146px;
}

/* Supplied SHYNE Head wordmark contains white lettering; this small brand field
   keeps the original asset legible while the rest of the workspace stays white. */
.head-sidebar__brand-surface {
  width: 164px;
  height: 42px;
  padding: 6px 8px;
  display: grid;
  place-items: center start;
  overflow: hidden;
  border-radius: 8px;
  background: #1f2228;
}

.head-sidebar__brand-surface img {
  width: 148px;
  max-width: none;
}

.head-account-switcher {
  margin: 0 4px 18px;
}

.head-sidebar__org {
  width: 100%;
  min-height: 60px;
  margin: 0;
  padding: 9px;
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr) 18px;
  align-items: center;
  gap: 9px;
  border: 1px solid var(--head-line);
  border-radius: 16px;
  background: #fff;
  color: var(--head-ink);
  text-align: left;
}

.head-sidebar__org:hover,
.head-sidebar__org[aria-expanded="true"] {
  border-color: #b5c9e8;
  background: #fff;
}

.head-sidebar__org > .icon {
  width: 16px;
  height: 16px;
  color: #8993a1;
  transition: transform 180ms ease;
}

.head-sidebar__org[aria-expanded="true"] > .icon {
  transform: rotate(90deg);
}

.head-sidebar__avatar {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1px solid #b9d0f4;
  background: #f6faff;
  color: #2869cf;
  font-size: 13px;
  font-weight: 850;
}

.head-sidebar__org > .head-sidebar__avatar,
.head-sidebar__org > .head-sidebar__org-copy {
  margin-top: 0;
}

.head-sidebar__avatar--add {
  background: #eff5ff;
  color: var(--head-blue);
  font-size: 22px;
  font-weight: 500;
}

.head-sidebar__org-copy,
.head-account-role > span:last-child {
  min-width: 0;
}

.head-sidebar__org-copy strong,
.head-sidebar__org-copy small,
.head-account-role strong,
.head-account-role small {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.head-sidebar__org-copy strong,
.head-account-role strong {
  color: var(--head-ink);
  font-size: 12px;
  font-weight: 850;
}

.head-sidebar__org-copy small,
.head-account-role small {
  margin-top: 3px;
  color: var(--head-muted);
  font-size: 10px;
  font-weight: 650;
}

.head-account-roles {
  margin-top: 6px;
  padding: 5px;
  display: grid;
  gap: 2px;
  border: 1px solid var(--head-line);
  border-radius: 14px;
  background: #fff;
}

.head-account-roles[hidden] {
  display: none;
}

.head-account-role {
  min-height: 52px;
  padding: 7px;
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr);
  align-items: center;
  gap: 9px;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: inherit;
  font: inherit;
  text-align: left;
}

.head-account-role:hover,
.head-account-role:focus-visible,
.head-account-role.is-current {
  background: #f7faff;
}

.head-account-role .head-sidebar__avatar {
  width: 36px;
  height: 36px;
}

.head-sidebar nav {
  gap: 2px;
}

.head-sidebar__item,
.head-sidebar__logout {
  min-height: 42px;
  padding: 9px 12px;
  border-radius: 7px;
  color: #596270;
  font-size: 13px;
  font-weight: 720;
}

.head-sidebar__item.is-active {
  background: #edf4ff;
  box-shadow: inset 3px 0 0 var(--head-blue);
  color: #1f65d8;
}

.head-sidebar__item:hover,
.head-sidebar__logout:hover {
  background: #f5f7fa;
  color: var(--head-ink);
}

.head-content {
  gap: 0;
  padding: 30px clamp(20px, 4vw, 54px) 60px;
  background: #fff;
}

.head-topbar {
  min-height: auto;
  margin-bottom: 24px;
  padding: 0 0 14px;
  border: 0;
  border-bottom: 1px solid var(--head-line);
  border-radius: 0;
  background: transparent;
}

.head-topbar h1 {
  color: var(--head-ink);
  font-size: 22px;
  font-weight: 780;
  line-height: 1.2;
}

.head-panel,
.head-portal .organizer-panel {
  padding: clamp(18px, 2.5vw, 28px);
  background: #fff;
}

.head-panel--overview {
  padding: 0;
}

.head-overview-hero {
  align-items: center;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--head-line);
}

.head-welcome-card h2 {
  margin: 0;
  color: var(--head-ink);
  font-size: 21px;
  font-weight: 760;
  line-height: 1.25;
}

.head-welcome-card p {
  margin-top: 5px;
  color: var(--head-muted);
  font-size: 13px;
  font-weight: 520;
}

.head-period-select {
  height: 40px;
  min-width: 154px;
  padding: 5px 10px;
  border-color: var(--head-line);
  border-radius: 7px;
  background: #fff;
  box-shadow: none;
}

.head-period-select span,
.head-period-select select {
  color: #606a78;
  font-size: 11px;
  font-weight: 700;
}

.head-kpis,
.head-dashboard-grid,
.head-dashboard-grid--overview {
  gap: 12px;
}

.head-kpis--overview {
  margin-top: 18px;
}

.head-kpis article,
.head-kpis--overview article {
  min-height: 108px;
  padding: 16px;
  background: #fff;
}

.head-kpis span,
.head-kpis--overview span {
  color: var(--head-muted);
  font-size: 11px;
  font-weight: 700;
}

.head-kpis strong,
.head-kpis--overview strong {
  margin: 11px 0 7px;
  color: var(--head-ink);
  font-size: clamp(22px, 2.5vw, 29px);
  font-weight: 760;
}

.head-kpis p,
.head-kpis--overview p {
  color: var(--head-muted);
  font-size: 11px;
}

.head-kpis--overview p.is-positive {
  color: #21865c;
}

.head-chart-card--sales,
.head-source-card--traffic,
.head-orders-card,
.head-chart-card,
.head-source-card {
  padding: 18px;
  background: #fff;
}

.head-card-title h2,
.head-source-card h2 {
  color: var(--head-ink);
  font-size: 15px;
  font-weight: 760;
}

.head-card-title div,
.head-card-title span,
.head-card-title a {
  color: var(--head-muted);
  font-size: 11px;
}

.head-sales-chart {
  height: 208px;
  border: 1px solid #eef0f3;
  border-radius: 6px;
  background: #fff;
}

.head-chart-today {
  stroke: var(--head-blue);
  filter: none;
}

.head-chart-yesterday {
  stroke: #a9bddc;
}

.head-traffic-layout .head-donut {
  box-shadow: inset 0 0 0 34px #fff;
}

.head-orders-card {
  margin-top: 12px;
}

.head-orders-table th,
.head-orders-table td {
  border-color: #edf0f3;
}

.head-orders-table th {
  color: #8b94a1;
}

.head-orders-table td,
.head-orders-table td:first-child,
.head-orders-table td:nth-child(5) {
  color: #424b58;
}

.head-orders-table td:first-child,
.head-orders-table td:nth-child(5) {
  font-weight: 750;
}

.head-order-status {
  border-radius: 5px;
}

.head-panel .section-heading h2,
.head-portal .organizer-panel .section-heading h2 {
  color: var(--head-ink);
  font-size: 20px;
  font-weight: 760;
}

.head-portal .organizer-panel .section-heading p,
.head-panel .section-heading p {
  color: var(--head-muted);
  font-size: 13px;
}

.head-portal .organizer-row,
.head-portal .order-row,
.head-portal .org-team-row,
.head-portal .org-requisites-grid article,
.head-portal .head-foundation-list article,
.head-portal .head-table article {
  border-color: var(--head-line);
  border-radius: 8px;
  box-shadow: none;
}

.head-panel--more,
.head-panel--tool {
  min-height: 460px;
}

.head-tools-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.head-tool-card {
  min-height: 88px;
  padding: 16px;
  display: grid;
  grid-template-columns: 26px minmax(0, 1fr) 18px;
  align-items: center;
  gap: 12px;
  border: 1px solid var(--head-line);
  border-radius: 8px;
  background: #fff;
  color: var(--head-ink);
  transition: border-color 180ms ease, background-color 180ms ease, transform 180ms ease;
}

.head-tool-card:hover,
.head-tool-card:focus-visible {
  border-color: #b6cbea;
  background: #fbfdff;
  transform: translateY(-1px);
}

.head-tool-card > .icon:first-child {
  color: var(--head-blue);
}

.head-tool-card > .icon:last-child {
  width: 17px;
  height: 17px;
  color: #9aa3af;
}

.head-tool-card strong,
.head-tool-card small {
  display: block;
}

.head-tool-card strong {
  font-size: 13px;
  font-weight: 750;
}

.head-tool-card small {
  margin-top: 4px;
  color: var(--head-muted);
  font-size: 11px;
  line-height: 1.35;
}

.head-ticket-row__actions {
  display: grid;
  grid-template-columns: auto auto auto;
  align-items: center;
  gap: 10px;
  text-align: right;
}

.head-ticket-row__actions .button {
  min-height: 34px;
  padding: 7px 10px;
  border-radius: 6px;
  font-size: 11px;
}

.head-scanner-unavailable {
  min-height: 180px;
  padding: 22px;
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr) auto;
  align-items: start;
  gap: 14px;
  border: 1px solid var(--head-line);
  border-radius: 8px;
  background: #fafbfc;
}

.head-scanner-unavailable > .icon {
  color: var(--head-blue);
}

.head-scanner-unavailable strong {
  color: var(--head-ink);
  font-size: 15px;
}

.head-scanner-unavailable p {
  max-width: 620px;
  margin: 7px 0 0;
  color: var(--head-muted);
  font-size: 13px;
  line-height: 1.55;
}

.head-scanner-unavailable > span {
  padding: 6px 8px;
  border: 1px solid #ccd8eb;
  border-radius: 5px;
  color: #3068c1;
  font-size: 10px;
  font-weight: 750;
}

@media (max-width: 1020px) {
  .head-portal {
    grid-template-columns: minmax(0, 1fr);
  }

  .head-sidebar {
    position: static;
    height: auto;
    border-right: 0;
    border-bottom: 1px solid var(--head-line);
  }

  .head-sidebar nav {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }

  .head-sidebar__logout {
    margin-top: 12px;
  }
}

@media (max-width: 640px) {
  .head-content {
    padding: 20px 14px 40px;
  }

  .head-sidebar {
    padding: 16px 12px 12px;
  }

  .head-sidebar nav,
  .head-tools-grid,
  .head-kpis,
  .head-dashboard-grid,
  .head-dashboard-grid--overview {
    grid-template-columns: minmax(0, 1fr);
  }

  .head-sidebar nav {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .head-sidebar__item {
    min-height: 44px;
  }

  .head-ticket-row__actions,
  .head-scanner-unavailable {
    grid-template-columns: minmax(0, 1fr);
    text-align: left;
  }
}

/* Final SHYNE Head overview cleanup: keep the supplied wordmark on the same
   white workspace and avoid framing the whole dashboard as one giant card. */
.head-portal {
  grid-template-columns: 218px minmax(0, 1fr);
}

.head-sidebar {
  padding: 28px 12px 16px;
}

.head-sidebar__brand {
  padding: 0 12px 24px;
}

.head-sidebar__brand-surface {
  width: 174px;
  height: auto;
  padding: 0;
  display: block;
  overflow: visible;
  border-radius: 0;
  background: transparent;
}

.head-sidebar__brand-surface img {
  width: 174px;
  display: block;
}

/* The supplied PNG has a black wordmark on transparent pixels. Keep it raw. */
.head-sidebar__brand-surface,
.head-sidebar__brand-surface img {
  background: transparent;
  filter: none;
}

.head-spotlight {
  display: grid;
  grid-template-columns: 152px minmax(0, 1fr) auto;
  align-items: center;
  gap: 16px;
  margin-top: 14px;
  padding: 12px;
  border: 1px solid #e8eaee;
  border-radius: 10px;
  background: #fff;
}

.head-spotlight__image {
  width: 152px;
  height: 104px;
  display: block;
  object-fit: cover;
  border-radius: 7px;
}

.head-spotlight__copy > span,
.head-spotlight__guests small {
  color: #7b8494;
  font-size: 10px;
  font-weight: 700;
}

.head-spotlight__copy h2 {
  margin: 5px 0 4px;
  color: #1f2530;
  font-size: 16px;
  line-height: 1.15;
}

.head-spotlight__copy p {
  margin: 0;
  color: #697386;
  font-size: 11px;
}

.head-spotlight__copy a {
  display: inline-block;
  margin-top: 10px;
  color: #3478f6;
  font-size: 11px;
  font-weight: 750;
}

.head-spotlight__guests {
  min-width: 154px;
  display: grid;
  justify-items: end;
  gap: 4px;
  text-align: right;
}

.head-spotlight__guests strong {
  color: #273142;
  font-size: 11px;
}

.head-avatar-stack {
  min-height: 26px;
  display: flex;
  flex-direction: row-reverse;
  padding-left: 9px;
}

.head-avatar-stack img {
  width: 26px;
  height: 26px;
  margin-left: -9px;
  object-fit: cover;
  border: 2px solid #fff;
  border-radius: 50%;
  background: #e8efff;
}

.head-order-buyer {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.head-order-buyer img {
  width: 22px;
  height: 22px;
  object-fit: cover;
  border-radius: 50%;
}

.head-account-switcher {
  margin: 0 4px 14px;
}

.head-sidebar__org {
  min-height: 54px;
  padding: 7px;
  grid-template-columns: 34px minmax(0, 1fr) 16px;
  gap: 8px;
  border-radius: 14px;
}

.head-sidebar__avatar {
  width: 34px;
  height: 34px;
  font-size: 12px;
}

.head-sidebar__item,
.head-sidebar__logout {
  min-height: 37px;
  padding: 8px 10px;
  grid-template-columns: 18px minmax(0, 1fr);
  gap: 9px;
  border-radius: 7px;
  font-size: 12px;
  font-weight: 700;
}

.head-sidebar__item > .icon,
.head-sidebar__logout > .icon {
  width: 17px;
  height: 17px;
}

.head-content {
  padding: 42px clamp(26px, 4vw, 54px) 56px;
}

.head-portal .head-panel--overview {
  border: 0;
  border-radius: 0;
  background: transparent;
}

.head-overview-hero {
  padding-bottom: 13px;
  border-bottom: 0;
}

.head-welcome-card h2 {
  font-family: "Geologica", "Inter", system-ui, sans-serif;
  font-size: 18px;
  font-weight: 600;
  letter-spacing: 0;
}

.head-welcome-card p {
  margin-top: 3px;
  font-size: 11px;
  font-weight: 500;
}

.head-period-select {
  min-width: 150px;
  height: 36px;
  border-radius: 8px;
}

.head-kpis--overview {
  margin-top: 7px;
  gap: 14px;
}

.head-kpis article,
.head-kpis--overview article {
  min-height: 106px;
  padding: 15px 16px;
  border-color: #e8eaee;
  border-radius: 10px;
}

.head-kpis span,
.head-kpis--overview span {
  font-size: 10px;
}

.head-kpis strong,
.head-kpis--overview strong {
  margin: 10px 0 6px;
  font-size: clamp(21px, 2.15vw, 27px);
  line-height: 1;
}

.head-kpis p,
.head-kpis--overview p {
  font-size: 10px;
  font-weight: 750;
}

.head-dashboard-grid--overview {
  margin-top: 14px;
  grid-template-columns: minmax(0, 1.43fr) minmax(276px, 0.97fr);
  gap: 14px;
}

.head-chart-card--sales,
.head-source-card--traffic,
.head-orders-card,
.head-chart-card,
.head-source-card {
  padding: 16px;
  border-color: #e8eaee;
  border-radius: 10px;
}

.head-chart-card--sales,
.head-source-card--traffic {
  min-height: 242px;
}

.head-card-title h2,
.head-source-card h2 {
  font-size: 13px;
  font-weight: 780;
}

.head-card-title div,
.head-card-title span,
.head-card-title a {
  font-size: 10px;
}

.head-card-title i {
  width: 8px;
  height: 8px;
  margin-right: 5px;
}

.head-sales-chart {
  height: 170px;
  margin-top: 12px;
  border: 0;
  border-radius: 0;
}

.head-traffic-layout {
  margin-top: 15px;
  grid-template-columns: 138px minmax(0, 1fr);
  gap: 14px;
}

.head-traffic-layout .head-donut {
  width: 128px;
  height: 128px;
  box-shadow: inset 0 0 0 28px #fff;
}

.head-traffic-layout ul {
  gap: 9px;
}

.head-traffic-layout li {
  grid-template-columns: 8px minmax(0, 1fr) auto;
  gap: 7px;
  font-size: 10px;
  font-weight: 700;
}

.head-traffic-layout li i {
  width: 8px;
  height: 8px;
}

.head-orders-card {
  margin-top: 14px;
}

.head-orders-table {
  margin-top: 8px;
}

.head-orders-table th,
.head-orders-table td {
  padding: 9px 10px;
  font-size: 10px;
}

.head-orders-table th {
  font-size: 9px;
}

.head-order-status {
  min-width: 68px;
  padding: 4px 7px;
  font-size: 9px;
}

@media (max-width: 1020px) {
  .head-portal {
    grid-template-columns: minmax(0, 1fr);
  }

  .head-sidebar nav {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .head-content {
    padding: 22px 14px 40px;
  }

  .head-sidebar {
    padding: 16px 12px 12px;
  }

  .head-sidebar__brand {
    padding-bottom: 16px;
  }

  .head-sidebar nav {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .head-dashboard-grid--overview,
  .head-traffic-layout {
    grid-template-columns: minmax(0, 1fr);
  }

  .head-spotlight {
    grid-template-columns: 104px minmax(0, 1fr);
  }

  .head-spotlight__image {
    width: 104px;
    height: 96px;
  }

  .head-spotlight__guests {
    grid-column: 1 / -1;
    justify-items: start;
    text-align: left;
  }

  .head-traffic-layout .head-donut {
    margin: 0 auto;
  }
}

/* Current SHYNE Head cascade lock. */
.head-portal {
  --head-ink: #121a2b;
  --head-muted: #667085;
  --head-soft: #8c96a8;
  --head-line: #e6ebf5;
  --head-quiet: #f7f9fc;
  --head-blue: #f01f2f;
  --head-blue-soft: #fff0f2;
  --head-green: #04a66a;
  grid-template-columns: 264px minmax(0, 1fr);
}

@media (max-width: 1220px) and (min-width: 921px) {
  .head-portal {
    display: grid;
    grid-template-columns: 232px minmax(0, 1fr);
  }

  .head-sidebar {
    position: sticky;
    height: 100dvh;
    border-right: 1px solid var(--head-line);
    border-bottom: 0;
  }
}

@media (max-width: 920px) {
  .head-portal {
    display: block;
  }

  .head-portal .head-sidebar {
    position: static;
    height: auto;
  }
}

.head-events-toolbar {
  margin-bottom: 14px;
  display: grid;
  grid-template-columns: minmax(240px, 1fr) 170px 180px auto;
  align-items: center;
  gap: 9px;
}

.head-events-toolbar > label {
  min-height: 40px;
  padding: 0 10px;
  display: grid;
  grid-template-columns: 18px minmax(0, 1fr);
  align-items: center;
  gap: 8px;
  border: 1px solid var(--head-line);
  border-radius: 7px;
  background: #fff;
}

.head-events-toolbar > label .icon {
  width: 17px;
  color: var(--head-muted);
}

.head-sales-chart polyline {
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.head-portal .head-chart-card--sales {
  min-height: 390px;
}

.head-portal .head-chart-card--sales .head-sales-chart {
  height: 322px;
}

.head-portal .head-events-toolbar > label input {
  min-height: 38px;
  padding: 0;
  border: 0;
}

@media (max-width: 1060px) {
  .head-events-toolbar {
    grid-template-columns: minmax(220px, 1fr) repeat(2, minmax(145px, auto));
  }

  .head-events-toolbar > .button {
    grid-column: 1 / -1;
    justify-self: start;
  }
}

@media (max-width: 640px) {
  .head-events-toolbar {
    grid-template-columns: minmax(0, 1fr);
  }

  .head-events-toolbar > .button {
    grid-column: auto;
    width: 100%;
  }
}

/* SHYNE Head auth: keep this after the portal cascade so the login/register
   screen stays matched to the iPhone reference instead of the dashboard shell. */
.head-auth-page--reference {
  min-height: 100dvh;
  padding: max(18px, env(safe-area-inset-top)) 22px max(18px, env(safe-area-inset-bottom));
  display: flex;
  align-items: center;
  justify-content: center;
  overflow-x: hidden;
  overflow-y: auto;
  position: relative;
  isolation: isolate;
  background:
    radial-gradient(circle at 52% 18%, rgba(255, 236, 236, 0.62), transparent 18rem),
    linear-gradient(180deg, #ffffff 0%, #fbfdff 100%);
  color: #171b26;
  font-family: "Geologica", "Inter", system-ui, sans-serif;
}

.head-auth-page--reference::before {
  content: "";
  width: min(74vw, 350px);
  aspect-ratio: 1310 / 1200;
  position: absolute;
  top: -74px;
  right: max(-92px, -7vw);
  z-index: -1;
  background: radial-gradient(circle, rgba(239, 29, 42, 0.12), rgba(239, 29, 42, 0));
  filter: none;
  opacity: 0.72;
  pointer-events: none;
}

.head-verification-card { gap: 18px; justify-items: center; }
.head-verification-mark {
  width: 62px; height: 62px; display: grid; place-items: center; border-radius: 50%;
  background: #fff1f2; color: #e21a27; font-size: 30px; font-weight: 750;
  box-shadow: inset 0 0 0 1px rgba(226, 26, 39, 0.12);
}
.head-verification-mark--pending { border: 3px solid rgba(226, 26, 39, 0.16); border-top-color: #e21a27; animation: head-verification-spin 0.9s linear infinite; }
.head-verification-mark--verified { background: #eaf8f0; color: #158447; box-shadow: inset 0 0 0 1px rgba(21, 132, 71, 0.14); }
.head-verification-mark--changes_requested,
.head-verification-mark--rejected { background: #fff5e6; color: #a85d00; box-shadow: inset 0 0 0 1px rgba(168, 93, 0, 0.14); }
.head-verification-card .head-auth-copy p { margin: 12px 0 0; color: #707684; font-size: 14px; line-height: 1.55; }
.head-verification-actions { width: 100%; display: grid; gap: 10px; }
.head-auth-correction-note { margin: 2px 0; padding: 12px 14px; border-radius: 14px; background: #fff6e8; color: #815119; font-size: 13px; line-height: 1.45; text-align: left; }
@keyframes head-verification-spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .head-verification-mark--pending { animation: none; } }

.head-auth-card--reference {
  width: min(calc(100vw - 44px), 360px);
  margin: min(3dvh, 28px) auto 0;
  padding: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  justify-items: stretch;
  min-height: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  text-align: center;
}

.head-auth-logo--mark {
  width: 52px;
  height: 52px;
  margin: 0 auto 13px;
  display: block;
  overflow: hidden;
  border-radius: 15px;
  box-shadow: 0 10px 22px rgba(238, 35, 43, 0.13);
}

.head-auth-app-icon {
  width: 52px;
  height: 52px;
  display: block;
  overflow: hidden;
  border-radius: inherit;
}

.head-auth-app-icon img {
  width: 100%;
  max-width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.head-auth-copy--reference h1 {
  margin: 0;
  color: #242630;
  font-size: clamp(24px, 5.6vw, 30px);
  font-weight: 410;
  line-height: 1.08;
  letter-spacing: 0;
}

.head-auth-copy--reference h1 strong {
  color: #171b22;
  font-weight: 850;
}

.head-auth-form--reference {
  width: 100%;
  min-width: 0;
  justify-self: stretch;
  margin-top: 26px;
  display: grid;
  gap: 10px;
}

.head-auth-form--reference .head-auth-role-tabs {
  width: 100%;
  max-width: 100%;
  height: 50px;
  margin: 0 0 10px;
  padding: 5px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px;
  border: 1px solid rgba(213, 220, 230, 0.92);
  border-radius: 17px;
  background: rgba(255, 255, 255, 0.8);
  box-shadow: 0 12px 42px rgba(28, 35, 51, 0.06);
  backdrop-filter: blur(16px);
}

.head-auth-role-option {
  min-width: 0;
  position: relative;
  display: block;
  color: #69707e;
  text-decoration: none;
  cursor: pointer;
}

.head-auth-role-option input {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
}

.head-auth-role-option > span {
  height: 40px;
  padding: 0 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 13px;
  color: inherit;
  font-size: 14px;
  font-weight: 760;
  line-height: 1;
  white-space: nowrap;
  transition: color 0.18s ease, background 0.18s ease, box-shadow 0.18s ease;
  width: 100%;
}

.head-auth-role-option > span .icon {
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
  stroke-width: 1.9;
}

.head-auth-role-option > span > span,
.head-auth-role-option > span > strong {
  min-height: 0;
  padding: 0;
  display: inline;
  border-radius: 0;
  background: transparent;
  color: inherit;
  box-shadow: none;
  font: inherit;
  white-space: nowrap;
}

.head-auth-role-option:has(input:checked) > span {
  color: #f1202b;
  background: linear-gradient(90deg, rgba(255, 235, 235, 0.98), rgba(255, 244, 244, 0.92));
  box-shadow: inset 0 0 0 1px rgba(255, 225, 225, 0.7);
}

.head-auth-role-option--link > span {
  width: 100%;
}

.head-auth-form--reference:has(input[name="accountType"][value="organizer"]:checked) .head-auth-staff-only {
  display: none;
}

.head-auth-form--reference:has(input[name="accountType"][value="staff"]:checked) .head-auth-organizer-only {
  display: none;
}

.head-auth-form--reference:has(input[name="accountType"][value="staff"]:checked) .head-auth-staff-only {
  display: grid;
}

.head-auth-input {
  width: 100%;
  max-width: 100%;
  min-height: 48px;
  padding: 0 13px;
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  border: 1px solid rgba(216, 223, 232, 0.95);
  border-radius: 15px;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.7), 0 12px 32px rgba(27, 36, 52, 0.04);
  backdrop-filter: blur(14px);
}

.head-auth-input__icon {
  display: inline-flex;
  color: #747b86;
}

.head-auth-input__icon .icon {
  width: 20px;
  height: 20px;
  stroke-width: 1.8;
}

.head-auth-form--reference .head-auth-input input,
.head-auth-form--reference .head-auth-input select {
  min-height: 46px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  color: #191d27;
  font-size: 15px;
  font-weight: 430;
  outline: 0;
  appearance: none;
}

.head-auth-form--reference .head-auth-input input::placeholder {
  color: #a1a6b0;
}

.head-auth-form--reference .head-auth-input:focus-within {
  border-color: rgba(242, 36, 47, 0.34);
  box-shadow: 0 0 0 4px rgba(242, 36, 47, 0.08), 0 16px 36px rgba(27, 36, 52, 0.06);
}

.head-auth-form--reference .auth-field--password {
  position: relative;
}

.head-auth-form--reference .auth-peek {
  width: 34px;
  height: 34px;
  padding: 0;
  position: static;
  display: inline-grid;
  place-items: center;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: #747b86;
}

.head-auth-form--reference .auth-peek .icon {
  width: 22px;
  height: 22px;
}

.head-auth-submit {
  width: 100%;
  max-width: 100%;
  min-height: 50px;
  margin-top: 4px;
  border: 0;
  border-radius: 15px;
  background: linear-gradient(90deg, #ef1d2a 0%, #df101b 100%);
  box-shadow: 0 12px 26px rgba(255, 24, 40, 0.14);
  color: #ffffff;
  font-size: 15px;
  font-weight: 800;
}

.head-auth-submit span {
  margin-left: 10px;
  font-size: 20px;
  line-height: 0;
}

.head-auth-reset {
  min-height: 42px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.76);
}

.head-auth-code-card {
  margin-bottom: 4px;
  border-radius: 18px;
  background: rgba(255, 248, 248, 0.86);
  border: 1px solid rgba(255, 217, 220, 0.9);
  text-align: left;
}

.head-auth-demo--reference {
  margin: 22px auto 0;
  width: min(100%, 310px);
  display: grid;
  grid-template-columns: minmax(42px, 1fr) auto minmax(42px, 1fr);
  gap: 12px;
  align-items: center;
  color: #7b828e;
  font-size: 13px;
  font-weight: 440;
}

.head-auth-demo--reference span {
  height: 1px;
  background: #e3e7ee;
}

.head-auth-demo--reference p {
  margin: 0;
  white-space: nowrap;
}

.head-auth-demo--reference a {
  min-height: auto;
  padding: 0;
  display: inline;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  color: #f0202b;
  font-size: inherit;
  font-weight: 820;
  text-decoration: none;
}

.head-auth-page--reference .inline-error {
  margin: 0;
  padding: 12px 14px;
  border-radius: 14px;
  background: rgba(255, 238, 239, 0.94);
  color: #bd1720;
  text-align: left;
  font-size: 13px;
  font-weight: 700;
}

@media (max-width: 520px) {
  .head-auth-page--reference {
    align-items: flex-start;
    padding-inline: 28px;
  }

  .head-auth-page--reference::before {
    width: 300px;
    top: -58px;
    right: -88px;
    opacity: 0.1;
  }

  .head-auth-card--reference {
    width: min(calc(100vw - 56px), 360px);
    min-height: 0;
    margin-top: clamp(58px, 8dvh, 96px);
  }

  .head-auth-logo--mark,
  .head-auth-app-icon {
    width: 48px;
    height: 48px;
    border-radius: 14px;
  }

  .head-auth-app-icon img {
    height: 48px;
  }

  .head-auth-copy--reference h1 {
    font-size: 24px;
  }

  .head-auth-form--reference {
    margin-top: 22px;
    gap: 9px;
  }

  .head-auth-form--reference .head-auth-role-tabs {
    height: 48px;
    margin-bottom: 9px;
  }

  .head-auth-role-option > span {
    height: 38px;
    gap: 8px;
    font-size: 13px;
  }

  .head-auth-role-option > span .icon {
    width: 17px;
    height: 17px;
    flex-basis: 17px;
  }

  .head-auth-input {
    min-height: 46px;
    height: 46px;
    padding-inline: 12px;
    border-radius: 14px;
  }

  .head-auth-form--reference .head-auth-input input,
  .head-auth-form--reference .head-auth-input select {
    min-height: 44px;
    font-size: 14px;
  }

  .head-auth-submit {
    min-height: 48px;
    margin-top: 4px;
  }

  .head-auth-demo--reference {
    width: min(100%, 288px);
    margin-top: 18px;
    gap: 10px;
    font-size: 12px;
  }
}

.head-finance-balance { text-align: center; padding: 32px 0; display: grid; justify-items: center; gap: 10px; }
.head-finance-balance > span, .head-finance-balance p { font-size: 14px; color: #6b7280; margin: 0; }
.head-finance-balance > strong { font-size: 36px; font-weight: 600; letter-spacing: 0; }
.head-finance-balance .button { margin-top: 12px; }
.head-finance-totals { display: flex; flex-wrap: wrap; justify-content: space-around; gap: 20px; margin: 0 0 36px; padding: 20px 0; border-block: 1px solid #e8eaee; }
.head-finance-totals dt { font-size: 13px; color: #6b7280; }
.head-finance-totals dd { margin: 6px 0 0; font-size: 18px; font-weight: 500; }
.head-finance-withdraw { max-width: 640px; margin-inline: auto; }
.head-payout-form { display: grid; gap: 20px; max-width: 420px; margin: 0 auto; }
.head-payout-form label:not(.head-payout-save) { display: grid; gap: 8px; font-size: 14px; }
.head-payout-form input:not([type=checkbox]), .head-payout-form select { width: 100%; min-height: 46px; background: #fff; border: 1px solid #dde1e8; border-radius: 8px; padding: 10px 12px; font: inherit; }
.head-payout-save { display: flex; gap: 10px; align-items: center; margin-top: 14px; font-size: 13px; }
.head-payout-form [role=alert] { color: #c52337; font-size: 13px; margin: 0; }
.head-payout-form [role=alert]:empty { display: none; }
.head-finance-history details, .head-finance-operation { border-bottom: 1px solid #e8eaee; padding: 18px 0; }
.head-finance-history summary { display: flex; align-items: center; gap: 14px; cursor: pointer; list-style: none; }
.head-finance-history summary::-webkit-details-marker { display: none; }
.head-finance-history summary > span:not(.head-payout-indicator) { flex: 1; min-width: 0; }
.head-finance-history strong { font-size: 14px; font-weight: 500; }
.head-finance-history small { display: block; color: #818894; font-size: 12px; margin-top: 5px; overflow-wrap: anywhere; }
.head-finance-history b { font-size: 15px; font-weight: 500; white-space: nowrap; }
.head-payout-indicator { color: #68717e; width: 24px; flex-shrink: 0; }
.head-payout-indicator.is-pending { color: #bc8700; }
.head-payout-details { font-size: 13px; color: #6b7280; padding: 12px 0 0 38px; }
.head-finance-operation { display: flex; align-items: center; justify-content: space-between; gap: 20px; }

.support-centre { max-width: 1180px; margin: 0 auto; }
.support-centre--embedded { max-width: none; }
.support-centre__layout { display: grid; grid-template-columns: minmax(280px, .85fr) minmax(420px, 1.5fr); min-height: 560px; margin-top: 20px; overflow: hidden; border: 1px solid #e5e7eb; border-radius: 18px; background: #fff; }
.support-centre__sidebar { border-right: 1px solid #e5e7eb; }
.support-new-form { display: grid; gap: 12px; padding: 20px; border-bottom: 1px solid #e5e7eb; }
.support-new-form label { display: grid; gap: 6px; font-size: 13px; color: #6b7280; }
.support-new-form input,
.support-new-form textarea,
.support-reply-form textarea { width: 100%; border: 1px solid #d9dde5; border-radius: 10px; padding: 11px 12px; background: #fff; color: #17191d; font: inherit; resize: vertical; }
.support-conversation-list { display: grid; max-height: 400px; overflow: auto; }
.support-conversation-list > p { padding: 20px; color: #6b7280; }
.support-conversation-list button { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 12px; padding: 16px 20px; border: 0; border-bottom: 1px solid #eef0f3; background: transparent; color: inherit; text-align: left; cursor: pointer; }
.support-conversation-list button:hover,
.support-conversation-list button.is-active { background: #f6f7f9; }
.support-conversation-list button span { min-width: 0; }
.support-conversation-list strong,
.support-conversation-list small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.support-conversation-list small { margin-top: 5px; color: #7a818c; }
.support-conversation-list b { color: #657080; font-size: 12px; font-weight: 500; white-space: nowrap; }
.support-centre__thread { display: flex; min-width: 0; flex-direction: column; }
.support-centre__thread > header { display: flex; justify-content: space-between; gap: 16px; padding: 20px; border-bottom: 1px solid #e5e7eb; }
.support-centre__thread h2,
.support-centre__thread header p { margin: 0; }
.support-centre__thread header p { margin-top: 5px; color: #6b7280; font-size: 13px; }
.support-centre__messages { display: flex; flex: 1; flex-direction: column; gap: 12px; max-height: 430px; overflow: auto; padding: 20px; background: #fafbfc; }
.support-bubble { align-self: flex-start; max-width: min(80%, 620px); padding: 12px 14px; border: 1px solid #e4e7eb; border-radius: 14px 14px 14px 4px; background: #fff; }
.support-bubble--support { align-self: flex-end; border-color: #d8e5ff; border-radius: 14px 14px 4px; background: #edf4ff; }
.support-bubble strong,
.support-bubble time { display: block; font-size: 12px; }
.support-bubble p { margin: 6px 0; white-space: pre-wrap; }
.support-bubble time { color: #7a818c; }
.support-reply-form { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 12px; align-items: end; padding: 18px 20px; border-top: 1px solid #e5e7eb; }
.support-centre__closed { margin: 0; padding: 18px 20px; color: #6b7280; border-top: 1px solid #e5e7eb; }

@media (max-width: 820px) {
  .support-centre__layout { grid-template-columns: 1fr; }
  .support-centre__sidebar { border-right: 0; border-bottom: 1px solid #e5e7eb; }
  .support-conversation-list { max-height: 240px; }
}

@media (max-width: 560px) {
  .support-centre__layout { margin-inline: -12px; border-radius: 12px; }
  .support-centre__thread > header { flex-direction: column; align-items: flex-start; gap: 10px; }
  .support-centre__thread > header h2 { font-size: 20px; line-height: 1.2; }
  .support-centre__thread > header .button { align-self: flex-start; min-height: 40px; padding: 8px 14px; }
  .support-reply-form { grid-template-columns: 1fr; }
  .support-bubble { max-width: 92%; }
}
