/* Public Ticketshop Frontend - Event Details + Checkout */

html {
  background: transparent;
}

html,
body {
  color: var(--nm-shop-text);
  min-height: 100vh;
  overflow-x: hidden;
}

.nm-ticket-page *,
.nm-ticket-page *::before,
.nm-ticket-page *::after {
  box-sizing: border-box;
}

html.embed-mode {
  min-height: 0;
  overflow-y: hidden !important;
  scrollbar-width: none;
}

html.embed-mode::-webkit-scrollbar {
  width: 0;
  height: 0;
}

body.nm-ticket-page.embed-mode {
  background: transparent;
  min-height: 0;
  overflow-y: hidden !important;
}

body.nm-ticket-page {
  --nm-shop-bg-0: #070d12;
  --nm-shop-bg-1: #09131b;
  --nm-shop-bg-2: #0b1821;
  --nm-shop-panel: rgba(8, 16, 24, 0.9);
  --nm-shop-panel-soft: rgba(10, 20, 29, 0.74);
  --nm-shop-border: rgba(151, 183, 199, 0.2);
  --nm-shop-border-strong: rgba(93, 212, 204, 0.34);
  --nm-shop-text-soft: #c0ced7;
  --nm-shop-text-muted: #8a9aa6;
  --nm-shop-shadow: none;
  --nm-shop-radius-lg: 5px;
  --nm-shop-radius-md: 5px;
  --nm-shop-radius-sm: 5px;
  background: linear-gradient(180deg, #0b1821 0%, #071017 44%, #060b10 100%);
  letter-spacing: 0;
}

body.nm-ticket-page::before {
  opacity: 0;
}

.nm-ticket-page .nm-shop-tag {
  border-radius: 5px;
  padding: 0.3rem 0.56rem;
  background: rgba(10, 20, 29, 0.72);
  border-color: rgba(151, 183, 199, 0.22);
}

.nm-ticket-page .nm-shop-tag.is-accent {
  background: rgba(24, 69, 70, 0.36);
  border-color: rgba(93, 212, 204, 0.35);
}

.nm-ticket-page .nm-shop-tag.is-warm {
  background: rgba(82, 55, 23, 0.32);
  border-color: rgba(218, 160, 86, 0.36);
}

.nm-ticket-page .nm-shop-kicker::before {
  width: 7px;
  height: 7px;
  border-radius: 5px;
  box-shadow: none;
}

html.embed-mode.embed-scroll {
  overflow-y: auto !important;
  scrollbar-width: thin;
}

html.embed-mode.embed-scroll::-webkit-scrollbar {
  width: 10px;
  height: 10px;
}

body.nm-ticket-page.embed-mode.embed-scroll {
  overflow-y: auto !important;
}

.ticket-shell {
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
  padding: 0.95rem 1.15rem 3.2rem;
  position: relative;
  z-index: 1;
}

.embed-mode .ticket-shell {
  max-width: 100%;
  padding: 0.8rem 0.6rem 1.2rem;
}

.embed-mode.checkout-only-embed .ticket-shell {
  padding: 0.35rem 0.35rem 0.9rem;
}

.ticket-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.9rem;
  margin-bottom: 0.85rem;
}

.ticket-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.58rem;
  color: var(--nm-shop-text);
  text-decoration: none;
  font-family: var(--nm-shop-font-display);
  font-weight: 700;
}

.ticket-brand-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 5px;
  background: rgba(86, 212, 199, 0.09);
  border: 1px solid rgba(86, 212, 199, 0.22);
  color: var(--nm-shop-accent);
}

.ticket-brand-logo {
  display: block;
  width: 34px;
  height: 34px;
  object-fit: contain;
}

.ticket-back-link {
  display: inline-flex;
  align-items: center;
  gap: 0.34rem;
  text-decoration: none;
  color: #d8ebf6;
  font-size: 0.84rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  padding: 0.42rem 0.72rem;
  border-radius: 5px;
  border: 1px solid rgba(146, 214, 238, 0.3);
  background: rgba(12, 23, 34, 0.66);
  min-height: 2.75rem;
}

.ticket-back-link:hover,
.ticket-back-link:focus-visible {
  color: #eaf8ff;
  border-color: rgba(120, 228, 211, 0.56);
  background: rgba(18, 35, 48, 0.82);
}

.ticket-hero {
  display: grid;
  grid-template-columns: minmax(300px, 420px) minmax(0, 1fr);
  gap: clamp(1.1rem, 2.6vw, 1.7rem);
  align-items: stretch;
  padding: clamp(0.9rem, 2vw, 1.1rem);
  margin-bottom: 0.86rem;
  overflow: hidden;
}

.ticket-hero.nm-shop-glass {
  background: rgba(8, 16, 24, 0.82);
  border-color: rgba(151, 183, 199, 0.22);
  border-radius: 5px;
  box-shadow: none;
  backdrop-filter: none;
}

.ticket-hero-media {
  position: relative;
  min-height: 260px;
  border-radius: 5px;
  overflow: hidden;
  background: #0b1118;
  border: 1px solid rgba(151, 183, 199, 0.18);
}

.ticket-flyer {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ticket-flyer-placeholder {
  min-height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.58);
  font-size: 3rem;
}

.ticket-hero-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(0.72rem, 1.8vw, 1.1rem);
}

.ticket-hero-copy h1 {
  margin: 0.34rem 0 0.68rem;
  color: var(--nm-shop-text);
  font-family: var(--nm-shop-font-display);
  font-size: clamp(2rem, 4vw, 3.35rem);
  line-height: 1.02;
  letter-spacing: -0.02em;
}

.ticket-hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.38rem;
  margin-bottom: 0.82rem;
}

.ticket-hero-points {
  display: grid;
  gap: 0.34rem;
  margin-top: 0.86rem;
  color: var(--nm-shop-text-soft);
  font-size: 0.88rem;
  font-weight: 700;
}

.ticket-hero-points span {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}

.ticket-hero-points i {
  color: var(--nm-shop-accent);
}

.ticket-card {
  background: rgba(8, 16, 24, 0.78);
  border: 1px solid rgba(151, 183, 199, 0.18);
  border-radius: 5px;
  padding: 1rem;
  margin-bottom: 0.86rem;
  box-shadow: none;
}

.embed-mode.checkout-only-embed .ticket-card {
  box-shadow: 0 4px 12px rgba(1, 7, 12, 0.14);
}

.ticket-description-card {
  margin-bottom: 1rem;
}

.ticket-description-card .title {
  margin-bottom: 0.55rem !important;
}

.ticket-card-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 0.8rem;
  margin-bottom: 0.72rem;
}

.ticket-card-head > * {
  min-width: 0;
}

.ticket-card-head .title {
  margin: 0 !important;
}

.ticket-card-head .nm-shop-tag {
  flex: 0 0 auto;
  max-width: 48%;
  white-space: nowrap;
}

.ticket-card-head-actions {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 0.55rem;
}

.ticket-cart-control {
  position: relative;
  flex: 0 0 auto;
  z-index: 35;
}

.ticket-cart-trigger {
  display: inline-flex;
  min-height: 2.65rem;
  padding: 0.42rem 0.52rem 0.42rem 0.78rem;
  align-items: center;
  gap: 0.48rem;
  border: 1px solid var(--nm-profile-button-bg, #737300);
  border-radius: 999px;
  color: var(--nm-profile-button-text, #fff);
  background: var(--nm-profile-button-bg, #737300);
  box-shadow: 0 6px 16px color-mix(in srgb, var(--nm-profile-button-bg, #737300) 24%, transparent);
  font: inherit;
  font-size: 0.84rem;
  font-weight: 750;
  line-height: 1;
  cursor: pointer;
  transition: transform 160ms ease, box-shadow 160ms ease, filter 160ms ease;
}

.ticket-cart-trigger:hover {
  filter: brightness(1.06);
  transform: translateY(-1px);
  box-shadow: 0 9px 20px color-mix(in srgb, var(--nm-profile-button-bg, #737300) 30%, transparent);
}

.ticket-cart-trigger:active {
  transform: translateY(0);
}

.ticket-cart-trigger-label {
  white-space: nowrap;
}

.ticket-cart-badge {
  display: inline-grid;
  min-width: 1.55rem;
  height: 1.55rem;
  padding: 0 0.32rem;
  place-items: center;
  border: 0;
  border-radius: 999px;
  color: var(--nm-profile-button-bg, #737300);
  background: var(--nm-profile-button-text, #fff);
  font-size: 0.72rem;
  font-weight: 800;
  line-height: 1;
}

.ticket-cart-flyover {
  position: absolute;
  top: calc(100% + 0.6rem);
  right: 0;
  width: min(22rem, calc(100vw - 2.5rem));
  padding: 1rem;
  border: 1px solid var(--nm-profile-border-strong, rgba(93, 212, 204, 0.45));
  border-radius: var(--nm-shop-radius-md, 5px);
  color: var(--nm-profile-card-text, #18212b);
  background: var(--nm-profile-card-bg, #fff);
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.24);
}

.ticket-cart-flyover[hidden] {
  display: none;
}

.ticket-cart-flyover-head,
.ticket-cart-flyover-total {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.ticket-cart-flyover-head button {
  display: inline-grid;
  width: 2rem;
  height: 2rem;
  padding: 0;
  place-items: center;
  border: 0;
  color: inherit;
  background: transparent;
  cursor: pointer;
}

.ticket-cart-flyover-lines {
  max-height: 13rem;
  margin: 0.8rem 0;
  overflow-y: auto;
}

.ticket-cart-flyover-lines .ticket-summary {
  color: inherit;
  font-size: 0.86rem;
}

.ticket-cart-flyover-total {
  padding-top: 0.7rem;
  border-top: 1px solid var(--nm-profile-border-soft, rgba(24, 33, 43, 0.16));
}

.ticket-cart-summary-link {
  margin-top: 0.8rem;
}

.ticket-step-label {
  display: inline-flex;
  margin-bottom: 0.18rem;
  color: var(--nm-shop-accent);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.ticket-checkout-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(292px, 360px);
  gap: 1rem;
  align-items: start;
  width: 100%;
  max-width: 100%;
}

.ticket-checkout-layout > *,
.ticket-checkout-main,
.ticket-checkout-summary,
.ticket-card,
.ticket-type-box,
.attendee-block {
  min-width: 0;
  max-width: 100%;
}

.ticket-checkout-summary {
  position: sticky;
  top: 0.85rem;
}

.checkout-stepped-embed .ticket-checkout-summary {
  top: 0;
}

.ticket-mobile-cart-bar {
  display: none;
}

.stepped-checkout [data-checkout-step-panel="attendees"],
.stepped-checkout [data-checkout-step-panel="buyer"],
.stepped-checkout [data-product-step-panel],
.stepped-checkout [data-checkout-attendees-next],
.stepped-checkout [data-checkout-back],
.stepped-checkout [data-checkout-pay] {
  display: none;
}

.stepped-checkout.is-attendees-step [data-checkout-step-panel="tickets"],
.stepped-checkout.is-attendees-step [data-checkout-next],
.stepped-checkout.is-buyer-step [data-checkout-step-panel="tickets"],
.stepped-checkout.is-buyer-step [data-checkout-next] {
  display: none;
}

.stepped-checkout.is-product-step [data-checkout-step-panel="tickets"] {
  display: none;
}

.stepped-checkout.is-product-step [data-product-step-panel].is-current-product-step {
  display: block;
}

.stepped-checkout.is-product-step [data-checkout-back],
.stepped-checkout.is-attendees-step [data-checkout-step-panel="attendees"],
.stepped-checkout.is-attendees-step [data-checkout-attendees-next],
.stepped-checkout.is-attendees-step [data-checkout-back],
.stepped-checkout.is-buyer-step [data-checkout-step-panel="buyer"],
.stepped-checkout.is-buyer-step [data-checkout-back],
.stepped-checkout.is-buyer-step [data-checkout-pay] {
  display: block;
}

.stepped-checkout .is-current-checkout-step {
  animation: ticket-checkout-step-enter 180ms ease-out both;
}

@keyframes ticket-checkout-step-enter {
  from {
    opacity: 0;
    transform: translateY(6px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.checkout-stepped-embed .stepped-checkout.is-attendees-step .ticket-attendees-card {
  max-height: 620px;
  overflow-y: auto;
  scrollbar-width: thin;
}

.checkout-stepped-embed .stepped-checkout.is-attendees-step .ticket-attendees-card.has-open-cart-flyover {
  max-height: none;
  overflow: visible;
}

.checkout-stepped-embed .stepped-checkout.is-attendees-step .ticket-attendees-card::-webkit-scrollbar {
  width: 10px;
}

.stepped-checkout .ticket-step-error {
  margin-bottom: 0.8rem;
}

.ticket-error-summary {
  scroll-margin-top: 1rem;
  margin-bottom: 1rem;
  border: 1px solid rgba(255, 111, 130, 0.58);
  background: rgba(78, 18, 30, 0.92);
  color: #ffe8ec;
}

.ticket-error-summary .title,
.ticket-error-summary p,
.ticket-error-summary li,
.ticket-error-summary a {
  color: #ffe8ec;
}

.ticket-error-summary .title {
  margin-bottom: 0.25rem;
}

.ticket-error-summary ul {
  margin: 0.55rem 0 0;
  padding-left: 1.2rem;
}

.ticket-error-summary a {
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.16em;
}

.ticket-error-summary:focus-visible,
.ticket-error-summary a:focus-visible {
  outline: 2px solid #ffffff;
  outline-offset: 3px;
}

body.nm-ticket-page .ticket-card .ticket-field-error {
  margin-top: 0.32rem;
  color: #ff9aaa;
  font-size: 0.78rem;
  font-weight: 600;
  line-height: 1.35;
}

body.nm-ticket-page .ticket-card input[aria-invalid="true"],
body.nm-ticket-page .ticket-card select[aria-invalid="true"],
body.nm-ticket-page .ticket-card textarea[aria-invalid="true"] {
  border-color: #ff6f82;
  box-shadow: 0 0 0 1px rgba(255, 111, 130, 0.35);
}

.stepped-checkout .ticket-attendees-card:empty {
  display: none;
}

.ticket-cost-card {
  border-color: rgba(93, 212, 204, 0.34);
  background: rgba(8, 18, 27, 0.9);
}

.embed-mode .ticket-card {
  margin-bottom: 0.72rem;
}

.ticket-card.no-presale-card {
  padding: 1.1rem 1.2rem;
  border-color: var(--nm-profile-border-strong, var(--nm-shop-border-strong));
  border-left: 4px solid var(--nm-profile-primary, var(--nm-shop-accent));
  background: var(--nm-profile-section-bg, var(--nm-shop-panel-soft));
}

.ticket-card.no-presale-card .title {
  margin-bottom: 0.35rem !important;
  font-size: 1.05rem;
}

.ticket-card.no-presale-card .ticket-meta {
  margin-bottom: 0;
  font-size: 0.92rem;
}

.ticket-card.no-presale-card .ticket-presale-notice {
  margin: 0;
  color: var(--nm-profile-card-text, var(--nm-shop-text));
  font-size: clamp(1.2rem, 2.2vw, 1.5rem);
  font-weight: 600;
  line-height: 1.45;
  white-space: pre-line;
}

.ticket-card.orderer-card {
  padding: 0.95rem 1rem;
}

.ticket-card.orderer-card .field-row {
  gap: 0.55rem;
}

.ticket-card.orderer-card .label {
  margin-bottom: 0.25rem;
  font-size: 0.78rem;
}

.ticket-card.orderer-card .input {
  min-height: 2.75rem;
  height: 2.75rem;
  padding: 0.35rem 0.65rem;
}

.ticket-card.orderer-card .field.mt-2 {
  margin-top: 0.5rem !important;
}

.ticket-card.orderer-card .has-text-help {
  margin-top: 0.25rem;
  font-size: 0.82rem;
}

.ticket-buyer-section {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(151, 183, 199, 0.2);
}

.ticket-billing-address {
  margin: 0.15rem 0 0.45rem;
  padding: 0.75rem;
  border: 1px solid var(--nm-profile-section-border, rgba(151, 183, 199, 0.18));
  border-radius: 5px;
  background: var(--nm-profile-section-bg, rgba(151, 183, 199, 0.07));
}

.ticket-billing-address[hidden],
.ticket-shipping-street[hidden],
.ticket-billing-shipping-note[hidden] {
  display: none;
}

.ticket-shipping-street {
  margin-top: 0.75rem;
}

.ticket-billing-shipping-note {
  padding: 0.25rem 0 0.1rem;
}

.ticket-subsection-head {
  display: flex;
  align-items: flex-start;
  margin-bottom: 0.7rem;
}

.ticket-subsection-head > div {
  display: flex;
  flex-direction: column;
  gap: 0.08rem;
}

.ticket-option-copy strong {
  color: var(--nm-profile-card-text, #f5fbff);
  font-size: 0.9rem;
}

.ticket-subsection-head .title {
  margin: 0 !important;
  font-size: 1.05rem;
}

.ticket-card.orderer-card .ticket-subsection-head .has-text-help {
  margin-top: 0.18rem;
}

.ticket-card.orderer-card .field-row > .control.ticket-country-control {
  flex: 1.15 1 190px;
}

.ticket-card.orderer-card .field-row > .control.ticket-postal-control {
  flex: 0.7 1 120px;
}

.ticket-card.orderer-card .select,
.ticket-card.orderer-card .select select {
  width: 100%;
  min-height: 2.75rem;
  height: 2.75rem;
}

.ticket-buyer-options {
  padding-bottom: 0.1rem;
}

.ticket-options-head {
  margin-bottom: 0.35rem;
}

.ticket-optional-item,
.ticket-coupon-disclosure {
  border-bottom: 1px solid rgba(151, 183, 199, 0.14);
}

.ticket-optional-item:last-child,
.ticket-coupon-disclosure:last-child {
  border-bottom: 0;
}

.ticket-invoice-checkbox {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  width: 100%;
  padding: 0.72rem 0;
  color: var(--nm-profile-card-text, #f5fbff);
  font-size: 0.86rem;
  line-height: 1.35;
}

.ticket-invoice-checkbox input {
  flex: 0 0 auto;
  width: 1.125rem;
  height: 1.125rem;
  margin-top: 0.04rem;
  accent-color: var(--nm-profile-button-bg, var(--nm-profile-primary, #37cbd0));
}

.ticket-option-copy {
  display: flex;
  flex-direction: column;
  gap: 0.08rem;
}

.ticket-option-copy small {
  color: var(--nm-profile-card-muted, #95aab8);
  font-size: 0.76rem;
  font-weight: 400;
}

.ticket-coupon-field {
  min-width: 0;
  padding: 0 0 0.75rem 1.5rem;
}

.ticket-coupon-disclosure > summary {
  display: list-item;
  padding: 0.72rem 0;
  color: var(--nm-profile-card-text, #f5fbff);
  font-size: 0.86rem;
  font-weight: 600;
  cursor: pointer;
  min-height: 2.75rem;
}

.ticket-coupon-disclosure > summary::marker {
  color: var(--nm-profile-accent-text, var(--nm-profile-primary, #f28a3a));
}

.ticket-coupon-disclosure > summary:focus-visible {
  outline: 2px solid var(--nm-profile-accent-text, var(--nm-profile-primary, #f28a3a));
  outline-offset: 3px;
}

.ticket-coupon-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 0.5rem;
  align-items: stretch;
}

.ticket-coupon-row .input {
  min-width: 0;
}

.ticket-coupon-apply-button {
  height: 2.75rem;
  min-height: 2.75rem;
  border-radius: 5px;
  white-space: nowrap;
}

.ticket-coupon-field [data-coupon-preview-message] {
  min-height: 1.12rem;
  margin-top: 0.32rem;
}

.ticket-card h2,
.ticket-card h3,
.ticket-card .title,
.ticket-card .subtitle,
.ticket-card strong,
.ticket-card label,
.ticket-card .label {
  color: #f4f8fc !important;
}

.ticket-card .label {
  font-weight: 600;
}

.ticket-card p,
.ticket-card li {
  color: #d6e2ea;
}

.ticket-meta {
  color: #a8bcc8 !important;
  font-size: 0.95rem;
}

.ticket-location {
  display: flex;
  align-items: flex-start;
  gap: 0.74rem;
  margin-top: 0.34rem;
}

.ticket-location-logo {
  width: 48px;
  height: 48px;
  object-fit: contain;
  background: #ffffff;
  border-radius: 5px;
  padding: 4px;
  flex-shrink: 0;
  border: 1px solid rgba(15, 33, 46, 0.26);
}

.ticket-location-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  flex-shrink: 0;
  border-radius: 5px;
  background: rgba(86, 212, 199, 0.09);
  border: 1px solid rgba(86, 212, 199, 0.22);
  color: var(--nm-shop-accent);
}

.ticket-location-copy {
  color: #a9b0bd;
  display: grid;
  gap: 0.08rem;
}

.ticket-location-copy strong {
  color: var(--nm-shop-text);
}

.ticket-location-copy span {
  color: var(--nm-shop-text-soft);
}

.ticket-description {
  color: #cdd8df;
}

.ticket-divider {
  border: 0;
  height: 1px;
  margin: 0.8rem 0;
  background: rgba(151, 183, 199, 0.2);
}

.field-row {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.field-row > .control {
  flex: 1 1 200px;
  min-width: 0;
}

.ticket-card.ticket-addons-card {
  padding: 0.7rem 0.75rem;
}

.ticket-addons-card .ticket-card-head {
  margin-bottom: 0.42rem;
}

.ticket-addon-check {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  padding-top: 0.08rem;
}

.ticket-addon-body {
  display: grid;
  gap: 0.04rem;
  min-width: 0;
}

.ticket-addon-choice {
  display: block;
  margin-top: 0.35rem;
  padding: 0.46rem 0.55rem;
  background: rgba(0, 0, 0, 0.035);
  border-color: rgba(0, 0, 0, 0.08);
  cursor: pointer;
  transition: border-color 160ms ease, background-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.ticket-addon-choice:hover:not(.is-dependency-disabled),
.ticket-addon-choice:focus-visible {
  border-color: var(--nm-profile-accent, #55d2cc);
  box-shadow: 0 0 0 2px color-mix(in srgb, var(--nm-profile-accent, #55d2cc) 22%, transparent);
}

.ticket-addon-choice.is-selected {
  border-color: var(--nm-profile-accent, #55d2cc);
  background: color-mix(in srgb, var(--nm-profile-accent, #55d2cc) 9%, var(--nm-profile-card-bg, #fff));
}

.ticket-addon-choice.is-dependency-disabled {
  cursor: not-allowed;
  opacity: 0.62;
}

.ticket-addon-choice:not(:last-child) {
  margin-bottom: 0.32rem;
}

.ticket-addon-choice + .ticket-addon-choice {
  margin-top: 0;
}

.ticket-addon-choice-inner {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 0.5rem;
  align-items: start;
  min-width: 0;
}

.ticket-addon-choice-inner.is-product {
  grid-template-columns: 7rem minmax(0, 1fr);
  gap: 0.85rem;
  align-items: start;
}

.ticket-addon-choice-inner.is-product .ticket-addon-check {
  position: absolute;
  top: 0;
  right: 0;
}

.ticket-addon-choice-inner .ticket-addon-check {
  position: absolute;
  top: 0;
  right: 0;
}

.ticket-addon-choice-inner .ticket-addon-check input[type="checkbox"] {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.ticket-addon-selection-indicator {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  min-height: 1.75rem;
  padding: 0.22rem 0.55rem;
  border: 1px solid var(--nm-profile-border-soft, rgba(0, 0, 0, 0.16));
  border-radius: 999px;
  color: var(--nm-profile-card-muted, #68717c);
  background: var(--nm-profile-card-bg, #fff);
  font-size: 0.72rem;
  font-weight: 700;
}

.ticket-addon-selection-indicator i {
  display: none;
}

.ticket-addon-choice.is-selected .ticket-addon-selection-indicator {
  border-color: var(--nm-profile-accent, #55d2cc);
  color: var(--nm-profile-button-text, #071016);
  background: var(--nm-profile-accent, #55d2cc);
}

.ticket-addon-choice.is-selected .ticket-addon-selection-indicator i {
  display: inline-block;
}

.ticket-addon-choice.is-selection-incomplete {
  border-color: #d39b2a;
  background: color-mix(in srgb, #d39b2a 10%, var(--nm-profile-card-bg, #fff));
}

.ticket-addon-choice.is-selection-incomplete .ticket-addon-selection-indicator {
  border-color: #d39b2a;
  color: #241702;
  background: #f4c96b;
}

.ticket-addon-choice.is-selection-incomplete .ticket-addon-selection-indicator i {
  display: none;
}

.ticket-addon-choice:not(.is-selected) .ticket-addon-selection-indicator span {
  font-size: 0;
}

.ticket-addon-choice:not(.is-selected) .ticket-addon-selection-indicator span::after {
  content: "Auswählen";
  font-size: 0.72rem;
}

.ticket-addon-product-visual {
  display: block;
  width: 7rem;
  height: 7rem;
  border-radius: 10px;
  overflow: hidden;
  background: var(--nm-profile-card-bg-soft, rgba(0, 0, 0, 0.04));
  border: 1px solid var(--nm-profile-border-soft, rgba(0, 0, 0, 0.12));
}

.ticket-addon-product-image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ticket-addon-product-placeholder {
  display: grid;
  place-items: center;
  height: 7rem;
  color: var(--nm-profile-card-muted, #68717c);
  font-size: 1.8rem;
}

.ticket-addon-choice-inner .ticket-addon-title-row {
  padding-right: 6.5rem;
}

.ticket-addon-check input[type="checkbox"] {
  width: 0.95rem;
  height: 0.95rem;
  margin: 0;
  accent-color: var(--nm-profile-button-bg, var(--nm-profile-primary, #37cbd0));
  cursor: pointer;
}

.ticket-addon-title {
  color: inherit;
  font-size: 0.96rem;
  font-weight: 700;
  line-height: 1.18;
  cursor: pointer;
}

.ticket-addon-title-row {
  display: flex;
  align-items: center;
  gap: 0.34rem;
  min-width: 0;
}

.ticket-addon-price {
  font-size: 0.88rem;
  line-height: 1.25;
  cursor: pointer;
}

.ticket-addon-quantity-control {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  margin-top: 0.4rem;
  color: var(--nm-profile-card-muted, #68717c);
  font-size: 0.78rem;
  font-weight: 700;
}

.ticket-addon-option-controls {
  display: grid;
  grid-template-columns: minmax(5rem, 0.7fr) minmax(8rem, 1.3fr);
  gap: 0.65rem;
  margin-top: 0.65rem;
}

.ticket-addon-option-controls .ticket-addon-quantity-control {
  display: grid;
  gap: 0.25rem;
  margin-top: 0;
}

.ticket-addon-option-controls .input,
.ticket-addon-option-controls .select,
.ticket-addon-option-controls .select select {
  width: 100%;
}

@media (max-width: 560px) {
  .ticket-addon-choice-inner.is-product {
    grid-template-columns: 5.5rem minmax(0, 1fr);
  }

  .ticket-addon-choice-inner.is-product .ticket-addon-product-visual {
    grid-column: 1;
    grid-row: 1;
  }

  .ticket-addon-choice-inner.is-product .ticket-addon-body {
    grid-column: 2;
    grid-row: 1;
  }

  .ticket-addon-product-visual,
  .ticket-addon-product-image,
  .ticket-addon-product-placeholder {
    width: 5.5rem;
    height: 5.5rem;
  }

  .ticket-addon-option-controls {
    grid-template-columns: 1fr;
  }

  .ticket-addon-choice-inner .ticket-addon-title-row {
    padding-right: 0;
  }

  .ticket-addon-choice-inner .ticket-addon-check,
  .ticket-addon-choice-inner.is-product .ticket-addon-check {
    position: static;
    grid-column: 1 / -1;
    grid-row: 2;
    justify-self: start;
    padding-top: 0;
  }

  .ticket-addon-info-toggle {
    width: 2.75rem;
    height: 2.75rem;
  }
}

.ticket-addon-quantity-control .input {
  width: 4.75rem;
}

.ticket-addon-info-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  width: 2rem;
  height: 2rem;
  border: 0;
  background: transparent;
  color: var(--nm-profile-card-muted, rgba(0, 0, 0, 0.55));
  font: inherit;
  font-size: 0.82rem;
  line-height: 1;
  padding: 0;
  cursor: pointer;
}

.ticket-addon-info-toggle[aria-expanded="true"] {
  color: var(--nm-profile-accent, currentColor);
}

.ticket-addon-details-panel {
  grid-column: 1 / -1;
  display: grid;
  gap: 0.38rem;
  margin-top: 0.35rem;
  padding: 0.48rem 0.55rem;
  border: 1px solid var(--nm-profile-border-soft, rgba(0, 0, 0, 0.16));
  background: var(--nm-profile-card-bg-soft, rgba(0, 0, 0, 0.03));
}

.ticket-addon-details-panel[hidden] {
  display: none;
}

.ticket-addon-details-panel p {
  margin: 0;
}

.ticket-addon-info-link {
  color: var(--nm-profile-card-text, var(--nm-profile-accent, #37cbd0));
  font-weight: 600;
  text-decoration: underline;
  text-decoration-color: var(--nm-profile-accent, currentColor);
  text-underline-offset: 0.16em;
}

.profile-themed .ticket-addon-choice {
  background: var(--nm-profile-card-bg-soft);
  border-color: var(--nm-profile-border-soft) !important;
}

.ticket-addon-choice.is-dependency-disabled {
  opacity: 0.62;
}

.ticket-addon-dependency-note {
  display: block;
  margin-top: 0.35rem;
  color: var(--nm-profile-card-muted, #68717c);
  font-size: 0.78rem;
  font-weight: 650;
  line-height: 1.35;
}

.ticket-addon-choice.is-dependency-disabled .ticket-addon-dependency-note {
  color: var(--nm-profile-accent-text, #737300);
}

.ticket-summary {
  display: flex;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.28rem 0;
  color: #ebf2f8;
}

.ticket-summary > span {
  min-width: 0;
}

.ticket-summary > span:first-child {
  overflow-wrap: anywhere;
}

.ticket-summary > span:last-child {
  flex: 0 0 auto;
  text-align: right;
  white-space: nowrap;
}

.ticket-summary.total {
  font-weight: 800;
  font-size: 1.08rem;
  border-top: 1px solid rgba(151, 183, 199, 0.26);
  margin-top: 0.5rem;
  padding-top: 0.52rem;
}

.ticket-summary.ticket-summary-subtle {
  font-size: 0.85rem;
  color: #9db2c0;
}

.nm-ticket-page input,
.nm-ticket-page select,
.nm-ticket-page textarea {
  background: #111d27 !important;
  color: #f5fbff !important;
  border-color: rgba(151, 183, 199, 0.28) !important;
  border-radius: 5px;
}

.nm-ticket-page input::placeholder {
  color: #88a2b3 !important;
}

.nm-ticket-page :where(a, button, input, select, textarea, summary):focus-visible {
  outline: 2px solid #006f6a;
  outline-offset: 2px;
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.9);
}

.nm-ticket-page .button.is-primary {
  background: #38c9c8;
  color: #07242a;
  border-color: transparent;
  font-weight: 800;
  letter-spacing: 0.01em;
}

.nm-ticket-page .button.is-primary:hover,
.nm-ticket-page .button.is-primary:focus-visible {
  background: #4fdad8;
}

.nm-ticket-page .has-text-help {
  color: #95aab8 !important;
}

.ticket-type-box {
  background: rgba(9, 19, 28, 0.66);
  border: 1px solid rgba(151, 183, 199, 0.2);
  border-radius: 5px;
  box-shadow: none;
}

.ticket-option-choice {
  padding: 0.95rem 1rem;
}

.ticket-option-choice-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 1rem;
  align-items: center;
}

.ticket-option-main {
  min-width: 0;
}

.ticket-option-title {
  color: #f4f8fc;
  font-size: 1.05rem;
  font-weight: 800;
  line-height: 1.25;
}

.ticket-option-category {
  display: inline-flex;
  align-items: center;
  margin: 0.38rem 0 0;
}

.ticket-option-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.16rem 0.62rem;
  margin-top: 0.45rem;
  line-height: 1.45;
}

.ticket-option-phase {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  padding: 0.15rem 0.46rem;
  border: 1px solid rgba(86, 212, 199, 0.48);
  border-radius: 4px;
  background: rgba(86, 212, 199, 0.16);
  color: #d8fffb;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  line-height: 1.3;
}

.ticket-option-phase[data-phase-tone="early-bird"] {
  border-color: #39b980;
  background: #126f4c;
  color: #f2fff8;
}

.ticket-option-phase[data-phase-tone="blind-ticket"] {
  border-color: #8191a7;
  background: #35465d;
  color: #f7faff;
}

.ticket-option-phase[data-phase-tone="phase-1"] {
  border-color: #4ea3df;
  background: #145a8e;
  color: #f3faff;
}

.ticket-option-phase[data-phase-tone="phase-2"] {
  border-color: #ad7ee4;
  background: #663b98;
  color: #fbf5ff;
}

.ticket-option-phase[data-phase-tone="phase-late"] {
  border-color: #ed9a4e;
  background: #a95615;
  color: #fff8ef;
}

.ticket-option-phase[data-phase-tone="final"] {
  border-color: #ed7183;
  background: #9b2f43;
  color: #fff5f6;
}

.ticket-option-phase[data-phase-tone="last-tickets"] {
  border-color: #ed9a4e;
  background: #a95615;
  color: #fff8ef;
}

.ticket-option-phase[data-phase-tone="doortickets"] {
  border-color: #ed7183;
  background: #9b2f43;
  color: #fff5f6;
}

.ticket-option-all-in-price strong {
  color: var(--nm-profile-card-text, #18212b);
  font-size: 1.05em;
}

.ticket-option-fee-note {
  flex-basis: 100%;
  color: var(--nm-profile-card-muted, #68717c);
  font-size: 0.78rem;
}

.ticket-option-qty {
  min-width: 8.8rem;
  text-align: left;
}

.ticket-option-qty-row {
  display: flex;
  align-items: center;
  gap: 0.7rem;
}

.ticket-option-qty-row .label {
  flex: 0 0 auto;
  margin: 0;
  white-space: nowrap;
}

.ticket-option-qty .ticket-qty-help {
  margin-top: 0.38rem;
  padding-left: calc(0.7rem + 3.9rem);
}

.attendee-block {
  background: rgba(255, 255, 255, 0.03);
  border: 1px dashed rgba(255, 255, 255, 0.12);
  border-radius: 5px;
  padding: 0.75rem;
  margin-top: 0.5rem;
}

.attendee-optional-details {
  padding: 0;
  overflow: hidden;
}

.ticket-optional-attendee-summary {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 2.75rem;
  padding: 0.65rem 0.85rem;
  color: var(--nm-profile-button-bg, #ff7a1a);
  font-size: 0.92rem;
  font-weight: 800;
  line-height: 1.2;
  cursor: pointer;
  list-style: none;
}

.ticket-optional-attendee-summary::-webkit-details-marker {
  display: none;
}

.attendee-optional-details[open] .ticket-optional-attendee-summary {
  border-bottom: 1px dashed rgba(255, 255, 255, 0.12);
}

.ticket-optional-attendee-summary i {
  flex: 0 0 auto;
  font-size: 0.95rem;
}

.ticket-optional-attendee-fields {
  padding: 0.75rem;
}

.attendee-optional-details:not([open]) .ticket-optional-attendee-fields {
  display: none;
}

.notification {
  color: #fff;
}

.qty-stepper {
  display: inline-flex;
  align-items: stretch;
  border: 1px solid rgba(163, 217, 238, 0.25);
  border-radius: 5px;
  overflow: hidden;
  background: #14202b;
}

.qty-stepper button {
  background: transparent;
  color: #ecf8ff;
  border: 0;
  width: 2.75rem;
  min-width: 2.75rem;
  min-height: 2.75rem;
  font-size: 1.2rem;
  line-height: 1;
  cursor: pointer;
  padding: 0.4rem 0;
  transition: background 0.15s;
}

.qty-stepper button:hover:not(:disabled) {
  background: rgba(86, 212, 199, 0.16);
}

.qty-stepper button:disabled {
  opacity: 0.35;
  cursor: not-allowed;
}

.qty-stepper .qty-value {
  min-width: 2.6rem;
  text-align: center;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: #eff9ff;
  border-left: 1px solid rgba(163, 217, 238, 0.18);
  border-right: 1px solid rgba(163, 217, 238, 0.18);
  background: #0d1821;
}

.ticket-qty-help {
  font-size: 0.78rem;
}

.native-tickets-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1rem;
  margin-bottom: 1rem;
}

.native-ticket-box {
  background: rgba(9, 19, 28, 0.82);
  color: #f5f7fb;
  border: 1px solid rgba(151, 183, 199, 0.2);
  border-radius: 5px;
  padding: 1rem;
  text-align: center;
  box-shadow: none;
}

.native-ticket-box .native-ticket-name {
  font-weight: 700;
  color: #f5f7fb;
  margin-bottom: 0.4rem;
  font-size: 1.05rem;
}

.native-ticket-phase {
  display: inline-block;
  background: rgba(86, 212, 199, 0.1);
  color: #bcefea;
  border: 1px solid rgba(86, 212, 199, 0.28);
  padding: 0.18rem 0.55rem;
  border-radius: 5px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.3px;
  margin-bottom: 0.55rem;
}

.native-ticket-price {
  color: #cdd2dc;
  font-size: 0.9rem;
  margin-bottom: 0.55rem;
}

.native-ticket-qr {
  background: #fff;
  padding: 0.45rem;
  border-radius: 5px;
  display: inline-block;
  margin: 0.15rem 0 0.65rem;
}

.native-ticket-qr img {
  display: block;
  max-width: 100%;
  height: auto;
}

.native-ticket-code {
  margin: 0.25rem 0 0.35rem;
}

.native-ticket-code code {
  display: inline-block;
  max-width: 100%;
  box-sizing: border-box;
  background: rgba(255, 255, 255, 0.08);
  color: #f5f7fb;
  padding: 0.3rem 0.55rem;
  border-radius: 5px;
  font-size: 0.95rem;
  line-height: 1.35;
  letter-spacing: 0.5px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  overflow-wrap: anywhere;
  word-break: break-word;
}

.native-ticket-hint {
  color: #9aa3b2;
  font-size: 0.8rem;
  margin: 0;
}

.native-ticket-wallet-btn {
  margin-top: 0.75rem;
}

.native-ticket-actions {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 16rem), 1fr));
  gap: 0.75rem;
  margin-top: 0.65rem;
}

.native-ticket-actions .native-ticket-wallet-btn {
  margin-top: 0;
}

.ticket-success-portal-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.65rem 0.9rem;
  margin-top: 1rem;
}

.ticket-success-portal-actions > span {
  color: #9aa3b2;
  font-size: 0.82rem;
}

.ticket-success-portal-link {
  min-height: 2.8rem;
  border: 1px solid rgba(116, 226, 207, 0.38);
  border-radius: 5px;
  background: #16332f;
  color: #eafbf7;
  font-weight: 700;
}

.ticket-success-portal-link:hover,
.ticket-success-portal-link:focus-visible {
  border-color: rgba(116, 226, 207, 0.72);
  background: #1c403a;
  color: #ffffff;
}

.native-ticket-print-btn {
  min-height: 3.05rem;
  border-radius: 5px;
  border: 1px solid rgba(98, 130, 255, 0.45) !important;
  background: linear-gradient(135deg, rgba(235, 240, 255, 0.96), rgba(214, 225, 255, 0.96)) !important;
  color: #2746b7 !important;
  font-weight: 700;
  letter-spacing: 0.15px;
  box-shadow: none;
  transition: transform 0.16s ease, box-shadow 0.16s ease, filter 0.16s ease;
}

.native-ticket-print-btn .icon {
  color: #1e3ea9;
  background: rgba(255, 255, 255, 0.55);
  width: 2rem;
  height: 2rem;
  border-radius: 5px;
  margin-right: 0.4rem;
}

.native-ticket-print-btn:hover,
.native-ticket-print-btn:focus-visible {
  transform: none;
  filter: saturate(1.06);
  box-shadow: none;
}

.ticket-cost-note {
  font-size: 0.85rem;
}

.ticket-pay-button {
  min-height: 3.2rem;
  border-radius: 5px;
}

.ticket-pay-hint {
  margin: 0.55rem 0 0;
  color: var(--nm-shop-text-muted);
  font-size: 0.78rem;
  line-height: 1.45;
  text-align: center;
}

.ticket-back-button {
  min-height: 2.85rem;
  margin-bottom: 0.58rem;
  border-radius: 5px;
  font-weight: 800;
  letter-spacing: 0.01em;
}

.ticket-footnote {
  font-size: 0.85rem;
}

.ticket-powered {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.35rem 0.5rem;
  margin-inline: auto;
  color: var(--nm-profile-card-text, var(--nm-shop-text));
  font-size: 0.82rem;
  line-height: 1.5;
  text-align: center;
}

.ticket-powered .ticket-powered-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.42rem;
  min-height: 2.25rem;
  padding: 0.25rem 0.65rem 0.25rem 0.42rem;
  border: 1px solid rgba(117, 127, 140, 0.28);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 5px 16px rgba(15, 23, 42, 0.12);
  color: #17202c;
  font-weight: 800;
  text-decoration: none;
}

.ticket-powered-logo {
  display: block;
  flex: 0 0 auto;
  width: 1.65rem;
  height: 1.65rem;
  border-radius: 0.38rem;
  object-fit: contain;
}

.ticket-powered-name {
  white-space: nowrap;
}

.ticket-powered .ticket-powered-brand:hover,
.ticket-powered .ticket-powered-brand:focus-visible {
  border-color: var(--nm-shop-accent);
  color: #17202c;
  box-shadow: 0 7px 20px rgba(15, 23, 42, 0.18);
  transform: translateY(-1px);
}

.embed-mode .ticket-powered {
  max-width: 32rem;
  padding: 0.1rem 0.75rem 0.6rem;
  font-size: 0.75rem;
}

/* `.ticket-meta` setzt außerhalb von Profilen eine helle Standardfarbe mit
   hoher Priorität. Im hellen Embed muss der Absenderhinweis dagegen die
   kontrastgesicherte Profilfarbe verwenden. */
body.nm-ticket-page.profile-designed .ticket-powered {
  color: var(--nm-profile-card-muted) !important;
}

body.nm-ticket-page.profile-designed .ticket-powered .ticket-powered-brand {
  border-color: var(--nm-profile-border-strong);
  background: var(--nm-profile-card-bg);
  color: var(--nm-profile-card-text);
}

body.nm-ticket-page.profile-designed .ticket-powered .ticket-powered-brand:hover,
body.nm-ticket-page.profile-designed .ticket-powered .ticket-powered-brand:focus-visible {
  border-color: var(--nm-profile-primary);
  color: var(--nm-profile-card-text);
}

html.embed-theme-ticketkings,
body.nm-ticket-page.embed-theme-ticketkings {
  --nm-shop-bg-0: #050505;
  --nm-shop-bg-1: #101010;
  --nm-shop-bg-2: #181818;
  --nm-shop-panel: rgba(16, 16, 16, 0.94);
  --nm-shop-panel-soft: rgba(22, 22, 22, 0.78);
  --nm-shop-border: rgba(245, 196, 0, 0.28);
  --nm-shop-border-strong: rgba(245, 196, 0, 0.52);
  --nm-shop-text: #fffdf3;
  --nm-shop-text-soft: #e7dcae;
  --nm-shop-text-muted: #b9aa73;
  --nm-shop-accent: #f5c400;
  --nm-shop-accent-strong: #ffdd3d;
  --nm-shop-accent-warm: #f5c400;
  --nm-shop-link-hover: #ffe371;
  --nm-shop-shadow: 0 18px 36px rgba(0, 0, 0, 0.44);
}

body.nm-ticket-page.embed-theme-ticketkings::before {
  opacity: 0;
}

.embed-theme-ticketkings .ticket-card {
  background: linear-gradient(170deg, rgba(19, 19, 19, 0.97), rgba(7, 7, 7, 0.95));
  border-color: rgba(245, 196, 0, 0.24);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.38);
}

.embed-theme-ticketkings .ticket-cost-card {
  border-color: rgba(245, 196, 0, 0.42);
}

.embed-theme-ticketkings .ticket-card h2,
.embed-theme-ticketkings .ticket-card h3,
.embed-theme-ticketkings .ticket-card .title,
.embed-theme-ticketkings .ticket-card .subtitle,
.embed-theme-ticketkings .ticket-card strong,
.embed-theme-ticketkings .ticket-card label,
.embed-theme-ticketkings .ticket-card .label {
  color: #fff7cf !important;
}

.embed-theme-ticketkings .ticket-card p,
.embed-theme-ticketkings .ticket-card li,
.embed-theme-ticketkings .ticket-summary {
  color: #f6f0dc;
}

.embed-theme-ticketkings .ticket-meta,
.embed-theme-ticketkings .ticket-summary.ticket-summary-subtle,
.embed-theme-ticketkings .has-text-help {
  color: #d4c58a !important;
}

.embed-theme-ticketkings .ticket-step-label {
  color: var(--nm-shop-accent);
}

.embed-theme-ticketkings .nm-shop-tag {
  border-color: rgba(245, 196, 0, 0.32);
  background: rgba(245, 196, 0, 0.09);
  color: #ffe371;
}

.embed-theme-ticketkings .nm-shop-tag.is-accent,
.embed-theme-ticketkings .nm-shop-tag.is-warm {
  border-color: rgba(245, 196, 0, 0.46);
  background: rgba(245, 196, 0, 0.16);
  color: #fff2a3;
}

.embed-theme-ticketkings .ticket-divider,
.embed-theme-ticketkings .ticket-summary.total {
  border-color: rgba(245, 196, 0, 0.24);
}

.embed-theme-ticketkings .ticket-type-box {
  background: rgba(255, 255, 255, 0.035) !important;
  border-color: rgba(245, 196, 0, 0.22) !important;
}

.embed-theme-ticketkings .attendee-block {
  background: rgba(245, 196, 0, 0.045);
  border-color: rgba(245, 196, 0, 0.2);
}

body.nm-ticket-page.embed-theme-ticketkings input,
body.nm-ticket-page.embed-theme-ticketkings select,
body.nm-ticket-page.embed-theme-ticketkings textarea {
  background: #151515 !important;
  color: #fffdf3 !important;
  border-color: rgba(245, 196, 0, 0.28) !important;
}

body.nm-ticket-page.embed-theme-ticketkings input::placeholder {
  color: #aa9b63 !important;
}

body.nm-ticket-page.embed-theme-ticketkings .button.is-primary {
  background: linear-gradient(135deg, #f5c400, #ffdf4d);
  color: #171200;
  box-shadow: 0 13px 24px rgba(245, 196, 0, 0.26);
}

body.nm-ticket-page.embed-theme-ticketkings .button.is-primary:hover,
body.nm-ticket-page.embed-theme-ticketkings .button.is-primary:focus-visible {
  background: linear-gradient(135deg, #ffd22a, #ffe779);
  color: #171200;
}

.embed-theme-ticketkings .ticket-back-button {
  min-height: 2.85rem;
  margin-bottom: 0.58rem;
  border-radius: 5px;
  border: 1px solid rgba(245, 196, 0, 0.34);
  background: rgba(245, 196, 0, 0.08);
  color: #ffe371;
  font-weight: 800;
  letter-spacing: 0.01em;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.embed-theme-ticketkings .ticket-back-button:hover,
.embed-theme-ticketkings .ticket-back-button:focus-visible {
  border-color: rgba(255, 221, 61, 0.62);
  background: rgba(245, 196, 0, 0.14);
  color: #fff2a3;
}

.embed-theme-ticketkings .qty-stepper {
  background: #111;
  border-color: rgba(245, 196, 0, 0.32);
}

.embed-theme-ticketkings .qty-stepper button {
  color: #fff4b5;
}

.embed-theme-ticketkings .qty-stepper button:hover:not(:disabled) {
  background: rgba(245, 196, 0, 0.16);
}

.embed-theme-ticketkings .qty-stepper .qty-value {
  background: #070707;
  color: #fffdf3;
  border-color: rgba(245, 196, 0, 0.2);
}

.embed-theme-ticketkings .native-ticket-box {
  background: rgba(13, 13, 13, 0.95);
  border-color: rgba(245, 196, 0, 0.24);
}

.embed-theme-ticketkings .native-ticket-phase {
  background: rgba(245, 196, 0, 0.14);
  border-color: rgba(245, 196, 0, 0.38);
  color: #ffe371;
}

.embed-theme-ticketkings .native-ticket-price,
.embed-theme-ticketkings .native-ticket-hint {
  color: #d4c58a;
}

.embed-theme-ticketkings .native-ticket-print-btn {
  border-color: rgba(245, 196, 0, 0.45) !important;
  background: linear-gradient(135deg, #f5c400, #ffdf4d) !important;
  color: #171200 !important;
}

.embed-theme-ticketkings .native-ticket-print-btn .icon {
  color: #171200;
  background: rgba(255, 255, 255, 0.44);
}

.embed-theme-ticketkings .ticket-success-card {
  background: linear-gradient(180deg, #fffdf5, #fff6d6);
  border-color: rgba(245, 196, 0, 0.44);
  box-shadow: 0 14px 30px rgba(37, 31, 9, 0.16);
}

.embed-theme-ticketkings .ticket-success-card h2,
.embed-theme-ticketkings .ticket-success-card h3,
.embed-theme-ticketkings .ticket-success-card .title,
.embed-theme-ticketkings .ticket-success-card strong,
.embed-theme-ticketkings .ticket-success-card label,
.embed-theme-ticketkings .ticket-success-card .label {
  color: #1b1708 !important;
}

.embed-theme-ticketkings .ticket-success-card p,
.embed-theme-ticketkings .ticket-success-card li,
.embed-theme-ticketkings .ticket-success-card .ticket-summary {
  color: #2a2410;
}

.embed-theme-ticketkings .ticket-success-card .ticket-meta,
.embed-theme-ticketkings .ticket-success-card .has-text-help,
.embed-theme-ticketkings .ticket-success-card .native-ticket-price,
.embed-theme-ticketkings .ticket-success-card .native-ticket-hint {
  color: #6c5d21 !important;
}

.embed-theme-ticketkings .ticket-success-card .ticket-divider,
.embed-theme-ticketkings .ticket-success-card .ticket-summary.total {
  border-color: rgba(160, 126, 0, 0.28);
}

.embed-theme-ticketkings .ticket-success-card .native-ticket-box {
  background: #ffffff;
  color: #1b1708;
  border-color: rgba(160, 126, 0, 0.26);
  box-shadow: 0 8px 22px rgba(37, 31, 9, 0.1);
}

.embed-theme-ticketkings .ticket-success-card .native-ticket-box .native-ticket-name,
.embed-theme-ticketkings .ticket-success-card .native-ticket-code code {
  color: #1b1708;
}

.embed-theme-ticketkings .ticket-success-card .native-ticket-code code {
  background: #fff4c2;
  border-color: rgba(160, 126, 0, 0.22);
}

html.profile-themed,
body.nm-ticket-page.profile-themed {
  --nm-shop-accent: var(--nm-profile-primary);
  --nm-shop-accent-strong: var(--nm-profile-accent);
  --nm-shop-accent-warm: var(--nm-profile-accent);
  --nm-shop-link-hover: var(--nm-profile-accent);
  --nm-shop-border: var(--nm-profile-border-soft);
  --nm-shop-border-strong: var(--nm-profile-border-strong);
}

.profile-themed .ticket-card {
  background: var(--nm-profile-card-bg);
  border-color: var(--nm-profile-border-soft);
  color: var(--nm-profile-card-text);
  box-shadow: none;
}

.profile-themed .ticket-cost-card {
  border-color: var(--nm-profile-border-strong);
}

.profile-themed .ticket-card h2,
.profile-themed .ticket-card h3,
.profile-themed .ticket-card .title,
.profile-themed .ticket-card .subtitle,
.profile-themed .ticket-card strong,
.profile-themed .ticket-card label,
.profile-themed .ticket-card .label {
  color: var(--nm-profile-card-text) !important;
}

.profile-themed .ticket-card p,
.profile-themed .ticket-card li,
.profile-themed .ticket-summary {
  color: var(--nm-profile-card-text);
}

.profile-themed .ticket-card .ticket-meta,
.profile-themed .ticket-summary.ticket-summary-subtle,
.profile-themed .ticket-card .has-text-help,
.profile-themed .native-ticket-price,
.profile-themed .native-ticket-hint {
  color: var(--nm-profile-card-muted) !important;
}

.profile-themed .ticket-step-label {
  color: var(--nm-profile-accent-text, var(--nm-profile-primary, var(--nm-shop-accent)));
}

.profile-themed .ticket-card .nm-shop-tag,
.profile-themed .native-ticket-phase {
  border-color: var(--nm-profile-border-soft);
  background: var(--nm-profile-section-bg);
  color: var(--nm-profile-card-text);
  box-shadow: inset 3px 0 0 var(--nm-profile-primary);
}

.profile-themed .ticket-divider,
.profile-themed .ticket-summary.total {
  border-color: var(--nm-profile-border-soft);
}

.profile-themed .ticket-type-box,
.profile-themed .native-ticket-box {
  background: var(--nm-profile-card-bg-soft) !important;
  border-color: var(--nm-profile-border-soft) !important;
  color: var(--nm-profile-card-text);
  box-shadow: none;
}

.profile-themed .ticket-addon-choice.ticket-type-box {
  background: var(--nm-profile-card-bg-soft) !important;
  border-color: var(--nm-profile-border-soft) !important;
}

.profile-themed .native-ticket-box .native-ticket-name {
  color: var(--nm-profile-card-text);
}

.profile-themed .ticket-option-title {
  color: var(--nm-profile-card-text);
}

.profile-themed .ticket-option-phase {
  border-color: var(--nm-profile-border-strong);
  background: var(--nm-profile-button-bg);
  color: var(--nm-profile-button-text);
}

.profile-themed .ticket-option-phase[data-phase-tone="early-bird"] {
  border-color: #39b980;
  background: #126f4c;
  color: #f2fff8;
}

.profile-themed .ticket-option-phase[data-phase-tone="blind-ticket"] {
  border-color: #8191a7;
  background: #35465d;
  color: #f7faff;
}

.profile-themed .ticket-option-phase[data-phase-tone="phase-1"] {
  border-color: #4ea3df;
  background: #145a8e;
  color: #f3faff;
}

.profile-themed .ticket-option-phase[data-phase-tone="phase-2"] {
  border-color: #ad7ee4;
  background: #663b98;
  color: #fbf5ff;
}

.profile-themed .ticket-option-phase[data-phase-tone="phase-late"] {
  border-color: #ed9a4e;
  background: #a95615;
  color: #fff8ef;
}

.profile-themed .ticket-option-phase[data-phase-tone="final"] {
  border-color: #ed7183;
  background: #9b2f43;
  color: #fff5f6;
}

.profile-themed .ticket-option-phase[data-phase-tone="last-tickets"] {
  border-color: #ed9a4e;
  background: #a95615;
  color: #fff8ef;
}

.profile-themed .ticket-option-phase[data-phase-tone="doortickets"] {
  border-color: #ed7183;
  background: #9b2f43;
  color: #fff5f6;
}

.profile-themed .attendee-block {
  background: var(--nm-profile-section-bg);
  border-color: var(--nm-profile-section-border);
  box-shadow: none;
}

body.nm-ticket-page.profile-themed .attendee-block :where(input, select, textarea) {
  border-color: var(--nm-profile-section-border) !important;
}

body.nm-ticket-page.profile-themed input,
body.nm-ticket-page.profile-themed select,
body.nm-ticket-page.profile-themed textarea {
  background: var(--nm-profile-card-bg-soft) !important;
  color: var(--nm-profile-card-text) !important;
  border-color: var(--nm-profile-border-strong) !important;
}

body.nm-ticket-page.profile-themed input::placeholder {
  color: var(--nm-profile-card-muted) !important;
}

body.nm-ticket-page.checkout-stepped-embed.profile-themed .ticket-card,
body.nm-ticket-page.checkout-stepped-embed.profile-themed .ticket-type-box,
body.nm-ticket-page.checkout-stepped-embed.profile-themed .attendee-block,
body.nm-ticket-page.checkout-stepped-embed.profile-themed .qty-stepper,
body.nm-ticket-page.checkout-stepped-embed.profile-themed .ticket-pay-button,
body.nm-ticket-page.checkout-stepped-embed.profile-themed .ticket-back-button,
body.nm-ticket-page.checkout-stepped-embed.profile-themed .nm-shop-tag,
body.nm-ticket-page.checkout-stepped-embed.profile-themed .native-ticket-box,
body.nm-ticket-page.checkout-stepped-embed.profile-themed .native-ticket-phase,
body.nm-ticket-page.checkout-stepped-embed.profile-themed .native-ticket-qr,
body.nm-ticket-page.checkout-stepped-embed.profile-themed .native-ticket-code code,
body.nm-ticket-page.checkout-stepped-embed.profile-themed .native-ticket-print-btn,
body.nm-ticket-page.checkout-stepped-embed.profile-themed .native-ticket-print-btn .icon,
body.nm-ticket-page.checkout-stepped-embed.profile-themed input,
body.nm-ticket-page.checkout-stepped-embed.profile-themed select,
body.nm-ticket-page.checkout-stepped-embed.profile-themed textarea {
  border-radius: var(--nm-shop-radius-sm);
}

body.nm-ticket-page.profile-themed .button.is-primary,
body.nm-ticket-page.profile-themed .native-ticket-print-btn {
  background: var(--nm-profile-button-bg) !important;
  border-color: transparent !important;
  color: var(--nm-profile-button-text) !important;
  box-shadow: none;
}

body.nm-ticket-page.profile-themed .button.is-primary:hover,
body.nm-ticket-page.profile-themed .button.is-primary:focus-visible,
body.nm-ticket-page.profile-themed .native-ticket-print-btn:hover,
body.nm-ticket-page.profile-themed .native-ticket-print-btn:focus-visible {
  filter: saturate(1.08) brightness(1.03);
  color: var(--nm-profile-button-text) !important;
  box-shadow: none;
  transform: none;
}

.profile-themed .native-ticket-print-btn .icon {
  color: var(--nm-profile-button-text);
  background: rgba(255, 255, 255, 0.32);
}

.profile-themed .ticket-back-button,
.profile-themed .qty-stepper {
  border-color: var(--nm-profile-border-strong);
  background: var(--nm-profile-card-bg-soft);
  color: var(--nm-profile-card-text);
}

.profile-themed .ticket-back-button:hover,
.profile-themed .ticket-back-button:focus-visible,
.profile-themed .qty-stepper button:hover:not(:disabled) {
  border-color: var(--nm-profile-border-strong);
  background: var(--nm-profile-section-bg);
}

.profile-themed .qty-stepper button {
  color: var(--nm-profile-card-text);
}

.profile-themed .qty-stepper button:hover:not(:disabled) {
  color: var(--nm-profile-card-text);
}

.profile-themed .qty-stepper .qty-value,
.profile-themed .native-ticket-code code {
  background: var(--nm-profile-card-bg-soft);
  color: var(--nm-profile-card-text);
  border-color: var(--nm-profile-border-soft);
}

@media (max-width: 640px) {
  .ticket-shell {
    padding-top: 0.86rem;
  }

  .ticket-topbar {
    align-items: flex-start;
  }

  .ticket-brand-name {
    display: none;
  }

  .ticket-brand {
    min-width: 2.75rem;
    min-height: 2.75rem;
    justify-content: center;
  }

  .ticket-hero,
  .ticket-checkout-layout {
    grid-template-columns: 1fr;
  }

  .ticket-hero-media {
    min-height: 220px;
  }

  .ticket-checkout-summary {
    position: static;
  }

  .ticket-subsection-head {
    align-items: flex-start;
    flex-direction: column;
    gap: 0.15rem;
  }

  .ticket-subsection-head span {
    text-align: left;
  }

  .ticket-location {
    gap: 0.58rem;
  }

  .ticket-location-logo {
    width: 42px;
    height: 42px;
  }

  .native-ticket-print-btn {
    min-height: 2.8rem;
    font-size: 0.97rem;
  }

  .ticket-powered a {
    display: inline-flex;
    min-height: 2.75rem;
    align-items: center;
  }
}

@media (max-width: 460px) {
  body.nm-ticket-page .ticket-card .input,
  body.nm-ticket-page .ticket-card .select,
  body.nm-ticket-page .ticket-card .select select,
  body.nm-ticket-page .button,
  body.nm-ticket-page .ticket-back-link,
  body.nm-ticket-page .ticket-coupon-disclosure summary,
  body.nm-ticket-page .qty-stepper button {
    min-height: 44px;
  }

  body.nm-ticket-page .qty-stepper button {
    min-width: 44px;
  }

  .embed-mode .ticket-shell,
  .embed-mode.checkout-only-embed .ticket-shell {
    padding: 0.45rem;
  }

  .ticket-card {
    border-radius: 5px;
    padding: 0.9rem;
  }

  .ticket-option-choice {
    padding: 0.95rem;
  }

  .ticket-option-choice-inner {
    grid-template-columns: minmax(0, 1fr);
    gap: 0.85rem;
  }

  .ticket-option-qty {
    min-width: 0;
  }

  .ticket-option-qty .ticket-qty-help {
    padding-left: 0;
  }

  .ticket-card-head {
    gap: 0.55rem;
  }

  .ticket-card-head .title {
    font-size: 1.26rem !important;
    line-height: 1.16;
  }

  .ticket-card-head .nm-shop-tag {
    max-width: 42%;
    padding-inline: 0.5rem;
    font-size: 0.72rem;
  }

  .field-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 0.65rem;
  }

  .field-row > .control {
    width: 100%;
  }

  .ticket-coupon-row {
    grid-template-columns: minmax(0, 1fr);
  }

  .ticket-coupon-apply-button {
    width: 100%;
  }

  .ticket-type-box {
    padding: 0.88rem;
  }

  .attendee-block {
    padding: 0.65rem;
  }

  .checkout-stepped-embed .stepped-checkout.is-attendees-step .ticket-attendees-card {
    max-height: clamp(360px, 52dvh, 500px);
  }

  .checkout-stepped-embed .stepped-checkout.is-attendees-step .ticket-cost-card {
    padding: 0.9rem;
  }

  .checkout-stepped-embed .stepped-checkout.is-attendees-step .ticket-cost-card .ticket-card-head {
    margin-bottom: 0.55rem;
  }

  .checkout-stepped-embed .stepped-checkout.is-attendees-step .ticket-cost-note {
    display: none;
  }

  .checkout-stepped-embed .stepped-checkout.is-attendees-step .ticket-cost-card .mt-3 {
    margin-top: 0.7rem !important;
  }

  .ticket-summary {
    gap: 0.55rem;
  }

  .ticket-pay-button {
    min-height: 3rem;
    font-size: 1rem;
  }
}

@media (max-width: 360px) {
  .embed-mode .ticket-shell,
  .embed-mode.checkout-only-embed .ticket-shell {
    padding: 0.35rem;
  }

  .ticket-card {
    padding: 0.78rem;
  }

  .ticket-summary {
    font-size: 0.95rem;
  }

  .ticket-summary.total {
    font-size: 1rem;
  }

  .ticket-pay-button {
    font-size: 0.94rem;
  }
}

@media print {
  @page {
    size: A4 portrait;
    margin: 8mm;
  }

  html.profile-designed,
  body.nm-ticket-page {
    color-scheme: light;
    --nm-profile-card-text: #000;
    --nm-profile-card-muted: #333;
    --nm-profile-card-bg-soft: #fff;
    --nm-profile-border-soft: #ccc;
    background: #fff;
  }

  body {
    background: #fff !important;
    color: #000 !important;
  }

  .ticket-shell {
    max-width: 100% !important;
    padding: 0 !important;
  }

  .no-print,
  header,
  .ticket-card form,
  .ticket-card .button,
  .ticket-back-link-wrap {
    display: none !important;
  }

  .ticket-hero,
  .ticket-powered,
  .ticket-flyer {
    display: none;
  }

  .ticket-card {
    background: #fff !important;
    border: 1px solid #ddd !important;
    box-shadow: none !important;
    color: #000 !important;
    page-break-inside: avoid;
    margin-bottom: 4.5mm !important;
    padding: 4mm !important;
  }

  .ticket-card *,
  .ticket-card p,
  .ticket-card li,
  .ticket-card .ticket-meta,
  .ticket-card .has-text-help {
    color: #000 !important;
  }

  .ticket-card strong {
    color: #000 !important;
  }

  .ticket-card .content {
    display: none !important;
  }

  .native-tickets-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 3.5mm !important;
    margin-bottom: 0 !important;
  }

  .native-ticket-box {
    background: #fff !important;
    color: #000 !important;
    box-shadow: none !important;
    border: 1px solid #ccc;
    page-break-inside: avoid;
    padding: 3mm !important;
    border-radius: 8px !important;
  }

  .native-ticket-box .native-ticket-name {
    margin-bottom: 1.2mm !important;
    font-size: 10.5pt !important;
  }

  .native-ticket-qr {
    margin: 0.5mm 0 1.6mm !important;
    padding: 2mm !important;
  }

  .native-ticket-qr img {
    width: 34mm !important;
    height: 34mm !important;
  }

  .native-ticket-code {
    margin: 0.8mm 0 1.2mm !important;
  }

  .native-ticket-code code {
    font-size: 9pt !important;
    padding: 1.2mm 1.8mm !important;
  }

  .native-ticket-hint {
    font-size: 8pt !important;
    line-height: 1.25 !important;
  }

  .native-ticket-box .native-ticket-name,
  .native-ticket-code code,
  .native-ticket-hint,
  .native-ticket-price {
    color: #000 !important;
    background: #fff !important;
    border-color: #ccc !important;
  }

  .native-ticket-phase {
    background: #eef2ff !important;
    color: #1e3a8a !important;
    border-color: #c7d2fe !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  .stepped-checkout .is-current-checkout-step,
  .ticket-card,
  .ticket-card *,
  .ticket-card *::before,
  .ticket-card *::after,
  .native-ticket-print-btn,
  .ticket-back-link,
  .qty-stepper button {
    animation: none;
    transition: none;
  }
}

/* Phase 10B: editorial checkout direction for the standalone ticket frontend. */
@media screen {
  body.nm-ticket-page:not(.embed-mode) {
    background: #071016;
  }

  body.nm-ticket-page:not(.embed-mode) .ticket-shell {
    max-width: 1240px;
    padding-top: 1.25rem;
  }

  body.nm-ticket-page:not(.embed-mode) .ticket-topbar {
    margin-bottom: 1.8rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(151, 183, 199, 0.16);
  }

  body.nm-ticket-page:not(.embed-mode) .ticket-brand-mark {
    background: transparent;
    border-color: rgba(151, 183, 199, 0.22);
  }

  body.nm-ticket-page:not(.embed-mode) .ticket-back-link {
    min-height: 2.75rem;
    padding: 0.45rem 0;
    border-color: transparent;
    background: transparent;
    color: #a9bbc5;
  }

  body.nm-ticket-page:not(.embed-mode) .ticket-hero {
    grid-template-columns: minmax(320px, 0.9fr) minmax(0, 1.1fr);
    gap: 0;
    padding: 0;
    min-height: 500px;
    margin-bottom: 2.5rem;
  }

  body.nm-ticket-page:not(.embed-mode) .ticket-hero.nm-shop-glass {
    border-color: rgba(151, 183, 199, 0.16);
    background: #0a151d;
  }

  body.nm-ticket-page:not(.embed-mode) .ticket-hero-media {
    min-height: 500px;
    border: 0;
    border-right: 1px solid rgba(151, 183, 199, 0.16);
    border-radius: 0;
  }

  body.nm-ticket-page:not(.embed-mode) .ticket-hero-copy {
    padding: clamp(2rem, 5vw, 4.5rem);
  }

  body.nm-ticket-page:not(.embed-mode) .ticket-hero-copy h1 {
    max-width: 13ch;
    margin: 0.55rem 0 1rem;
    font-size: clamp(2.2rem, 4.4vw, 4.2rem);
    line-height: 0.98;
    letter-spacing: -0.035em;
  }

  body.nm-ticket-page:not(.embed-mode) .ticket-hero-tags {
    display: grid;
    gap: 0.48rem;
  }

  body.nm-ticket-page:not(.embed-mode) .ticket-hero-tags .nm-shop-tag {
    justify-self: start;
    padding: 0;
    border: 0;
    background: transparent;
  }

  body.nm-ticket-page:not(.embed-mode) .ticket-location {
    padding-top: 1rem;
    border-top: 1px solid rgba(151, 183, 199, 0.16);
  }

  body.nm-ticket-page:not(.embed-mode) .ticket-hero-points {
    color: #9fb0bc;
    font-weight: 600;
  }

  body.nm-ticket-page:not(.embed-mode) .ticket-description-card {
    padding: 0 0 2rem;
    border: 0;
    border-radius: 0;
    background: transparent;
  }

  body.nm-ticket-page:not(.embed-mode) .ticket-checkout-layout {
    grid-template-columns: minmax(0, 1fr) minmax(310px, 380px);
    gap: clamp(2rem, 5vw, 4.5rem);
  }

  body.nm-ticket-page:not(.embed-mode) .ticket-checkout-main {
    border-top: 0;
  }

  body.nm-ticket-page:not(.embed-mode) .ticket-checkout-main > .ticket-card {
    margin: 0;
    padding: 2rem 0;
    border: 0;
    border-radius: 0;
    background: transparent;
  }

  body.nm-ticket-page:not(.embed-mode) .ticket-step-label {
    display: none;
  }

  body.nm-ticket-page:not(.embed-mode) .ticket-card-head {
    margin-bottom: 1.2rem;
  }

  body.nm-ticket-page:not(.embed-mode) .ticket-card-head .title {
    font-family: var(--nm-shop-font-display);
    font-size: clamp(1.35rem, 2.4vw, 1.75rem);
  }

  body.nm-ticket-page:not(.embed-mode) .ticket-card-head .nm-shop-tag {
    padding: 0;
    border: 0;
    background: transparent;
    color: var(--nm-shop-text-muted);
  }

  body.nm-ticket-page:not(.embed-mode) .ticket-type-box {
    padding: 1.15rem 1rem;
    border: 0;
    border-radius: 0;
    background: transparent;
  }

  body.nm-ticket-page:not(.embed-mode) .ticket-type-box:last-child {
    border-bottom: 0;
  }

  body.nm-ticket-page:not(.embed-mode) .ticket-cost-card {
    margin: 0;
    padding: 0 0 0 clamp(1.5rem, 3vw, 2.5rem);
    border: 0;
    border-radius: 0;
    background: transparent;
  }

  body.nm-ticket-page:not(.embed-mode) .ticket-summary {
    padding: 0.65rem 0;
    border-color: rgba(151, 183, 199, 0.14);
  }

  body.nm-ticket-page:not(.embed-mode) .ticket-summary.total {
    margin-top: 0.5rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(151, 183, 199, 0.28);
  }

  body.nm-ticket-page:not(.embed-mode) .ticket-pay-button {
    border-radius: 5px;
    box-shadow: none;
  }
}

@media screen and (max-width: 760px) {
  body.nm-ticket-page:not(.embed-mode) {
    padding-bottom: calc(5.25rem + env(safe-area-inset-bottom, 0px));
  }

  .ticket-mobile-cart-bar {
    position: sticky;
    z-index: 30;
    bottom: max(0.5rem, env(safe-area-inset-bottom, 0px));
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    width: calc(100% - 0.7rem);
    min-height: 4rem;
    margin: 0.75rem auto 0;
    padding: 0.65rem 0.85rem;
    border: 1px solid var(--nm-profile-border-strong, rgba(93, 212, 204, 0.45));
    border-radius: var(--nm-shop-radius-md, 5px);
    color: var(--nm-profile-card-text, #f5fbff);
    background: var(--nm-profile-card-bg, rgba(8, 16, 24, 0.97));
    box-shadow: 0 14px 34px rgba(0, 0, 0, 0.34);
    font: inherit;
    text-align: left;
    cursor: pointer;
  }

  body.nm-ticket-page:not(.embed-mode) .ticket-mobile-cart-bar {
    position: fixed;
    display: flex;
    right: 0.5rem;
    left: 0.5rem;
    width: auto;
    margin: 0;
  }

  body.nm-ticket-page:not(.embed-mode) .ticket-mobile-cart-bar.is-empty {
    display: none;
  }

  .ticket-mobile-cart-copy {
    display: grid;
    gap: 0.08rem;
  }

  .ticket-mobile-cart-copy > span {
    color: var(--nm-profile-card-muted, #9db2c0);
    font-size: 0.75rem;
  }

  .ticket-mobile-cart-copy strong {
    color: inherit;
    font-size: 1rem;
  }

  .ticket-mobile-cart-action {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    color: var(--nm-profile-accent-text, var(--nm-shop-accent));
    font-size: 0.82rem;
    font-weight: 700;
  }

  .ticket-mobile-cart-bar.is-empty .ticket-mobile-cart-action {
    color: var(--nm-profile-card-muted, #9db2c0);
  }

  .ticket-mobile-cart-bar.is-summary-visible {
    visibility: hidden;
    pointer-events: none;
    opacity: 0;
  }

  .ticket-mobile-cart-bar:focus-visible {
    outline: 3px solid var(--nm-profile-accent-text, var(--nm-shop-accent));
    outline-offset: 2px;
  }

  body.nm-ticket-page:not(.embed-mode) .ticket-hero {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  body.nm-ticket-page:not(.embed-mode) .ticket-hero-media {
    min-height: 360px;
    border-right: 0;
    border-bottom: 1px solid rgba(151, 183, 199, 0.16);
  }

  body.nm-ticket-page:not(.embed-mode) .ticket-hero-copy {
    padding: 1.5rem 1.2rem;
  }

  body.nm-ticket-page:not(.embed-mode) .ticket-checkout-layout {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  body.nm-ticket-page:not(.embed-mode) .ticket-cost-card {
    padding: 1.5rem 0 0;
    border-left: 0;
    border-top: 0;
  }
}

/* Phase 10E: event checkout consumes the selected profile presets. */
body.nm-ticket-page.profile-designed .ticket-hero.nm-shop-glass {
  color: var(--nm-profile-card-text);
  background: var(--nm-profile-card-bg);
  border-color: var(--nm-profile-section-border);
  border-radius: var(--nm-shop-radius-lg);
}

body.nm-ticket-page.profile-designed .ticket-hero-media,
body.nm-ticket-page.profile-designed .ticket-type-box,
body.nm-ticket-page.profile-designed .attendee-block,
body.nm-ticket-page.profile-designed .ticket-quantity-stepper,
body.nm-ticket-page.profile-designed .ticket-pay-button,
body.nm-ticket-page.profile-designed .ticket-back-link {
  border-radius: var(--nm-shop-radius-md);
}

/* Standalone-Checkout: Ticket- und Zusatzoptionen als klar erkennbare Auswahlkarten. */
body.nm-ticket-page:not(.embed-mode) .ticket-type-box {
  padding: 1.1rem 1.15rem;
  border: 1px solid color-mix(in srgb, var(--nm-shop-text, #edf6fc) 12%, transparent);
  border-radius: var(--nm-shop-radius-md, 8px);
  background: color-mix(in srgb, var(--nm-shop-text, #edf6fc) 4%, transparent);
  transition: border-color 160ms ease, background-color 160ms ease, box-shadow 160ms ease;
}

body.nm-ticket-page:not(.embed-mode) .ticket-type-box:hover,
body.nm-ticket-page:not(.embed-mode) .ticket-type-box:focus-within {
  border-color: color-mix(in srgb, var(--nm-profile-accent, #37cbd0) 42%, transparent);
  background: color-mix(in srgb, var(--nm-profile-accent, #37cbd0) 6%, transparent);
}

body.nm-ticket-page:not(.embed-mode) .ticket-addon-choice:has([data-addon-input]:checked) {
  border-color: color-mix(in srgb, var(--nm-profile-accent, #37cbd0) 62%, transparent);
  background: color-mix(in srgb, var(--nm-profile-accent, #37cbd0) 10%, transparent);
  box-shadow: inset 3px 0 0 var(--nm-profile-accent, #37cbd0);
}

body.nm-ticket-page .ticket-addon-info-toggle {
  width: 2.25rem;
  height: 2.25rem;
  border: 1px solid color-mix(in srgb, var(--nm-profile-accent, #37cbd0) 38%, transparent);
  border-radius: 999px;
  background: color-mix(in srgb, var(--nm-profile-accent, #37cbd0) 12%, transparent);
  color: var(--nm-profile-accent, #67e2dc);
  font-size: 1rem;
}

body.nm-ticket-page .ticket-addon-info-toggle:hover,
body.nm-ticket-page .ticket-addon-info-toggle:focus-visible,
body.nm-ticket-page .ticket-addon-info-toggle[aria-expanded="true"] {
  border-color: var(--nm-profile-accent, #37cbd0);
  background: color-mix(in srgb, var(--nm-profile-accent, #37cbd0) 22%, transparent);
  color: var(--nm-shop-text, #f4f8fc);
  outline: none;
}

body.nm-ticket-page .ticket-addon-info-toggle:focus-visible {
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--nm-profile-accent, #37cbd0) 24%, transparent);
}

@media (max-width: 760px) {
  body.nm-ticket-page .ticket-addon-info-toggle {
    width: 2.75rem;
    height: 2.75rem;
  }
}

body.nm-ticket-page.profile-designed .ticket-hero-copy h1,
body.nm-ticket-page.profile-designed .ticket-card-head .title {
  color: var(--nm-profile-card-text);
}

body.nm-ticket-page.profile-designed .ticket-hero-points,
body.nm-ticket-page.profile-designed .ticket-location,
body.nm-ticket-page.profile-designed .ticket-card-head .nm-shop-tag {
  color: var(--nm-profile-card-muted);
}

body.nm-ticket-page.profile-designed .ticket-location,
body.nm-ticket-page.profile-designed .ticket-hero-media,
body.nm-ticket-page.profile-designed .ticket-checkout-main,
body.nm-ticket-page.profile-designed .ticket-checkout-main > .ticket-card,
body.nm-ticket-page.profile-designed .ticket-type-box,
body.nm-ticket-page.profile-designed .ticket-type-box:last-child,
body.nm-ticket-page.profile-designed .ticket-cost-card,
body.nm-ticket-page.profile-designed .ticket-summary,
body.nm-ticket-page.profile-designed .ticket-summary.total {
  border-color: var(--nm-profile-section-border);
}

body.nm-ticket-page.profile-designed:not(.embed-mode) .ticket-checkout-main > .ticket-card {
  padding-block: var(--nm-profile-section-space);
}

body.nm-ticket-page.profile-designed.embed-mode .ticket-card {
  padding: var(--nm-profile-control-scale);
}

body.nm-ticket-page.profile-designed .ticket-card,
body.nm-ticket-page.profile-designed .ticket-type-box,
body.nm-ticket-page.profile-designed .ticket-cost-card {
  color: var(--nm-profile-card-text);
}

/* Standalone sections are transparent and must use the page palette, not the card palette. */
body.nm-ticket-page.profile-designed:not(.embed-mode) .ticket-description-card,
body.nm-ticket-page.profile-designed:not(.embed-mode) .ticket-checkout-main > .ticket-card,
body.nm-ticket-page.profile-designed:not(.embed-mode) .ticket-cost-card,
body.nm-ticket-page.profile-designed:not(.embed-mode) .ticket-cost-card .ticket-summary {
  color: var(--nm-shop-text);
}

body.nm-ticket-page.profile-designed:not(.embed-mode) .ticket-description-card .title,
body.nm-ticket-page.profile-designed:not(.embed-mode) .ticket-checkout-main > .ticket-card > .ticket-card-head .title,
body.nm-ticket-page.profile-designed:not(.embed-mode) .ticket-cost-card > .ticket-card-head .title {
  color: var(--nm-shop-text) !important;
}

body.nm-ticket-page.profile-designed:not(.embed-mode) .ticket-description,
body.nm-ticket-page.profile-designed:not(.embed-mode) .ticket-description :where(p, li, strong, em, a) {
  color: var(--nm-shop-text-soft);
}

/* Rich text and form copy inherit prioritized profile-card colors; restore the page palette for transparent sections. */
body.nm-ticket-page.profile-designed:not(.embed-mode) .ticket-description :where(h1, h2, h3, h4, h5, h6, strong, b),
body.nm-ticket-page.profile-designed:not(.embed-mode) .ticket-checkout-main > .orderer-card :where(h2, h3, h4, h5, h6, strong, label, .label),
body.nm-ticket-page.profile-designed:not(.embed-mode) .ticket-checkout-main > .orderer-card .ticket-coupon-disclosure > summary {
  color: var(--nm-shop-text) !important;
}

body.nm-ticket-page.profile-designed:not(.embed-mode) .ticket-checkout-main > .orderer-card :where(.has-text-help, small),
body.nm-ticket-page.profile-designed:not(.embed-mode) .ticket-cost-card :where(.ticket-summary-subtle, .ticket-cost-note, .ticket-pay-hint) {
  color: var(--nm-shop-text-muted) !important;
}

body.nm-ticket-page.profile-designed:not(.embed-mode) .ticket-checkout-main > .orderer-card .ticket-billing-address :where(label, .label) {
  color: var(--nm-profile-card-text) !important;
}

body.nm-ticket-page.profile-designed:not(.embed-mode) .ticket-checkout-main > .orderer-card .ticket-billing-address .has-text-help {
  color: var(--nm-profile-card-muted) !important;
}

body.nm-ticket-page.profile-designed .ticket-type-box {
  padding-inline: var(--nm-profile-control-scale);
}

/* Widget-Oberflächen sind bewusst nur für Einbettungen wirksam. */
body.nm-ticket-page.embed-mode.profile-widget-surface-flat .ticket-card,
body.nm-ticket-page.embed-mode.profile-widget-surface-flat .ticket-type-box,
body.nm-ticket-page.embed-mode.profile-widget-surface-flat .attendee-block,
body.nm-ticket-page.embed-mode.profile-widget-surface-flat .qty-stepper,
body.nm-ticket-page.embed-mode.profile-widget-surface-flat .button {
  border-radius: 0;
  box-shadow: none;
}

body.nm-ticket-page.embed-mode.profile-widget-surface-seamless .ticket-checkout-main > .ticket-card,
body.nm-ticket-page.embed-mode.profile-widget-surface-seamless .ticket-cost-card {
  padding-inline: 0;
  border-color: transparent;
  background: transparent;
  box-shadow: none;
}

body.nm-ticket-page.embed-mode.profile-widget-surface-seamless .ticket-checkout-main > .ticket-card {
  border-bottom: 1px solid var(--nm-profile-section-border);
  border-radius: 0;
}

body.nm-ticket-page.embed-mode.profile-widget-surface-seamless .ticket-checkout-main > .ticket-card:last-child {
  border-bottom-color: transparent;
}

body.nm-ticket-page.embed-mode.profile-widget-surface-seamless .ticket-cost-card {
  border-radius: 0;
}

body.nm-ticket-page.embed-mode.profile-widget-surface-seamless .ticket-type-box,
body.nm-ticket-page.embed-mode.profile-widget-surface-seamless .attendee-block,
body.nm-ticket-page.embed-mode.profile-widget-surface-seamless .ticket-billing-address {
  background: var(--nm-profile-card-bg) !important;
}

body.nm-ticket-page.profile-designed .ticket-pay-button {
  color: var(--nm-profile-button-text);
  background: var(--nm-profile-button-bg);
  border-color: var(--nm-profile-button-bg);
}

body.nm-ticket-page.profile-designed .ticket-pay-button:hover,
body.nm-ticket-page.profile-designed .ticket-pay-button:focus-visible {
  color: var(--nm-profile-button-text);
  background: var(--nm-profile-button-bg-hover);
  border-color: var(--nm-profile-button-bg-hover);
}

body.nm-ticket-page.profile-designed .ticket-back-link {
  color: var(--nm-shop-text);
  background: var(--nm-shop-bg-1);
  border-color: var(--nm-profile-section-border);
}

/* Ein echter Resale-Vorteil wird direkt bei den regulären Tickets sichtbar. */
.ticket-resale-availability {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin: 0.1rem 0 1rem;
  padding: 0.78rem 0.9rem;
  border: 1px solid color-mix(in srgb, var(--nm-shop-accent, #67e2dc) 48%, transparent);
  border-radius: var(--nm-shop-radius-md, 8px);
  background: color-mix(in srgb, var(--nm-shop-accent, #67e2dc) 11%, transparent);
  color: var(--nm-shop-text, #f4f8fc);
  text-decoration: none;
}

.ticket-resale-availability:hover,
.ticket-resale-availability:focus-visible {
  border-color: var(--nm-shop-accent, #67e2dc);
  background: color-mix(in srgb, var(--nm-shop-accent, #67e2dc) 18%, transparent);
  color: var(--nm-shop-text, #f4f8fc);
  outline: none;
}

.ticket-resale-availability:focus-visible {
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--nm-shop-accent, #67e2dc) 26%, transparent);
}

.ticket-resale-availability-icon {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 999px;
  background: color-mix(in srgb, var(--nm-shop-accent, #67e2dc) 19%, transparent);
  color: var(--nm-shop-accent, #67e2dc);
}

.ticket-resale-availability-copy {
  display: grid;
  min-width: 0;
  gap: 0.1rem;
}

.ticket-resale-availability-copy strong {
  font-size: 0.92rem;
}

.ticket-resale-availability-copy span {
  color: var(--nm-shop-text-soft, #c0ced7);
  font-size: 0.82rem;
}

.ticket-resale-availability-arrow {
  margin-left: auto;
  color: var(--nm-shop-accent, #67e2dc);
}

/* Die Resale-Karte kann in einem hellen Embed-Profil liegen. Daher dürfen
   ihre Texte nicht die globalen, möglicherweise hellen Shop-Token erben. */
body.nm-ticket-page.profile-designed .ticket-resale-availability,
body.nm-ticket-page.profile-designed .ticket-resale-availability:hover,
body.nm-ticket-page.profile-designed .ticket-resale-availability:focus-visible {
  border-color: var(--nm-profile-border-strong);
  background: var(--nm-profile-card-bg);
  color: var(--nm-profile-card-text);
}

body.nm-ticket-page.profile-designed .ticket-resale-availability-copy span {
  color: var(--nm-profile-card-muted);
}

body.nm-ticket-page.profile-designed .ticket-resale-availability-icon {
  background: var(--nm-profile-surface-strong);
  color: var(--nm-profile-accent-text);
}

body.nm-ticket-page.profile-designed .ticket-resale-availability-arrow {
  color: var(--nm-profile-accent-text);
}

@media (max-width: 520px) {
  .ticket-resale-availability {
    align-items: flex-start;
  }

  .ticket-resale-availability-arrow {
    margin-top: 0.5rem;
  }
}

body.nm-ticket-page.profile-designed.profile-radius-square .ticket-hero-media,
body.nm-ticket-page.profile-designed.profile-radius-square .ticket-flyer,
body.nm-ticket-page.profile-designed.profile-radius-square .ticket-brand-mark {
  border-radius: 0;
}

.ticket-public-navigation { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: .65rem; }
