/* trascendentalby 1.5.8 · theme of the application-owned checkout on /andrey-pushkarev
   (ticket_presentation styles_position = after-base: loads after the base ticket
   stylesheet and restates its tokens). The flyer's dark #2D2E2B, its cream and its
   orange: the checkout is one slightly deeper panel, fields are dark wells with a
   cream line on focus, the single action is the orange of the name with dark text.
   Gotham as on trascendentalby.mx. No markup, price, provider or script.
   Contrast: cream #EDE6D6 on #2D2E2B 11.9 · muted #B9B1A1 on #2D2E2B 7.1 ·
   #1E1F1C on orange #D24C2E 3.8 (bold 19 px button text, large-text threshold 3) · error #F08A70 on panel 6.2. */

:root {
  color-scheme: dark;
  --green: #EDE6D6;
  --green-bright: #D24C2E;
  --ink: #EDE6D6;
  --muted: #B9B1A1;
  --serif: "TDL Gotham", "Gotham", "Helvetica Neue", Arial, sans-serif;
  --sans: "TDL Gotham", "Gotham", "Helvetica Neue", Arial, sans-serif;
  --ticket-accent: #D24C2E;
  --ticket-accent-active: #E25A3A;
  --ticket-canvas: #252623;
  --ticket-surface: #2D2E2B;
  --ticket-border: rgb(237 230 214 / .16);
  --ticket-text: #EDE6D6;
  --ticket-input-text: #EDE6D6;
  --ticket-input-fill: #232421;
  --ticket-muted: #B9B1A1;
  --ticket-display: "TDL Gotham", "Gotham", "Helvetica Neue", Arial, sans-serif;
}

body.ticket-sales-page, body.ticket-declared-page { background: #2D2E2B; color: #EDE6D6; font-family: var(--sans); }
.ticket-sigils, .ticket-grain, .ticket-sales-bg { display: none !important; }

/* Shell: one panel, square like the flyer. */
.ticket-declared-checkout { max-width: none; margin: 0; }
.ap-register .ticket-purchase-shell { overflow: visible; padding: clamp(22px, 4.5vw, 48px); border: 1px solid rgb(237 230 214 / .12); border-radius: 0; background: rgb(30 31 28 / .55); box-shadow: none; backdrop-filter: none; -webkit-backdrop-filter: none; }
.ticket-checkout-surface { padding: 0; color: #EDE6D6; font-family: var(--sans); line-height: 1.5; }
.ticket-checkout-surface .text-white, .ticket-checkout-surface .text-gray-300 { color: #EDE6D6; }

/* Heading and the portal link. */
.ticket-checkout-heading { margin-bottom: 26px; }
#checkout-title, .ticket-checkout-heading h2 { color: #D24C2E; font-family: var(--ticket-display); font-size: clamp(2rem, 1.3rem + 2.4vw, 3.25rem); font-weight: 700; line-height: 1; letter-spacing: 0; text-transform: uppercase; }
.ticket-portal-link { border: 0; border-radius: 0; background: transparent; color: #EDE6D6; font-size: .9375rem; font-weight: 400; letter-spacing: 0; text-decoration: underline; text-underline-offset: .2em; text-transform: none; backdrop-filter: none; -webkit-backdrop-filter: none; }
.ticket-portal-link:hover { border: 0; background: transparent; color: #E25A3A; }
.ticket-portal-link svg { display: none; }

/* Type: Gotham, no tracked micro-labels, no step counters. */
.ticket-display { font-family: var(--ticket-display); font-weight: 700; line-height: 1.15; letter-spacing: 0; text-transform: none; }
.ticket-product-name { font-family: var(--ticket-display); font-weight: 700; line-height: 1.2; letter-spacing: 0; text-transform: uppercase; }
.ticket-inline-heading .ticket-display, .ticket-checkout-surface h3.ticket-display { font-size: 1.25rem; text-transform: uppercase; }
.ticket-step { display: none; }
.ticket-kicker, .ticket-unit-price, .ticket-quantity label, .ticket-order-total__label,
.ticket-payment-status, .ticket-payment-provider, .ticket-consent--optional strong, .ticket-date-lockup__edition {
  font-family: var(--sans); font-size: .875rem; font-weight: 400; letter-spacing: 0; text-transform: none;
}
.ticket-kicker, .ticket-unit-price, .ticket-quantity label, .ticket-order-total__label, .ticket-payment-status, .ticket-payment-provider { color: #B9B1A1; }
.ticket-copy, .ticket-product-detail, .ticket-order-line, .ticket-order-row--muted, .ticket-section-help { color: #B9B1A1; }
.ticket-field-label { color: #EDE6D6; font-size: .9375rem; }
.ticket-order-row { color: #EDE6D6; }
.ticket-product-price, .ticket-price, .ticket-order-total { color: #EDE6D6; font-family: var(--ticket-display); font-weight: 700; font-variant-numeric: tabular-nums; }

/* Product rows: lines, like the flyer's price table. */
.ticket-inline-flow { gap: clamp(30px, 4vw, 44px); }
.ticket-inline-section + .ticket-inline-section { border-top: 0; padding-top: 0; }
.ticket-product-row { border: 0; border-top: 1px solid rgb(237 230 214 / .16); border-radius: 0; background: transparent; box-shadow: none; padding: 16px 0; }
.ticket-product-row:last-child { border-bottom: 1px solid rgb(237 230 214 / .16); }
.ticket-product-row:has(input[type="number"]:not([value="0"])), .ticket-product-row.is-selected { background: transparent; }
.ticket-product-name { font-size: 1.0625rem; }
.ticket-product-detail { margin-top: 4px; font-size: .875rem; line-height: 1.45; }
.ticket-product-detail:empty { display: none; }
.ticket-product-buy { border-top: 0; padding-top: 0; }
.ticket-checkout-surface :is(.ticket-order-bar, .ticket-order-bar--free) { grid-template-columns: minmax(0, 1fr); justify-items: stretch; border-top: 0; padding-top: 0; }
.ticket-order-breakdown .ticket-order-total { border-top: 1px solid rgb(237 230 214 / .2); }
.ticket-checkout-surface .card { border: 0; border-radius: 0; background: transparent; color: #EDE6D6; padding-inline: 0; box-shadow: none; }
.ticket-card-shell { border: 0; border-radius: 0; background: transparent; padding: 0; }
.ticket-card-placeholder { border: 0; border-bottom: 1px solid rgb(237 230 214 / .4); border-radius: 0; background: transparent; padding-inline: 0; color: #B9B1A1; }
.ticket-checkout-surface [class*="BECC54"] { border: 0 !important; border-left: 2px solid #D24C2E !important; border-radius: 0 !important; background: transparent !important; color: #EDE6D6; }
.ticket-checkout-surface [class*="D4E166"] { color: #EDE6D6 !important; }
.ticket-checkout-surface [class*="BFC3B5"] { color: #B9B1A1 !important; }
.ticket-checkout-surface :is(.text-red-300, .text-red-100) { color: #F08A70 !important; }
.ticket-checkout-surface [role="alert"] { border: 0; border-left: 2px solid #F08A70; border-radius: 0; background: transparent; color: #F08A70; }

/* Fields: dark wells, a cream line on focus. */
.ticket-buyer-grid { gap: clamp(18px, 2.2vw, 24px); }
.ticket-checkout-surface .field { min-height: 54px; border: 1px solid rgb(237 230 214 / .18) !important; border-radius: 0; background: #232421 !important; padding-inline: 14px; color: #EDE6D6; -webkit-text-fill-color: #EDE6D6; caret-color: #D24C2E; box-shadow: none; font-size: 16px; }
.ticket-checkout-surface .field:hover { border-color: rgb(237 230 214 / .32) !important; }
.ticket-checkout-surface .field:focus { border-color: #EDE6D6 !important; background: #1F201D !important; box-shadow: none; }
.ticket-checkout-surface .field:focus-visible { outline: 2px solid #D24C2E; outline-offset: 2px; }
.ticket-checkout-surface .field::placeholder { color: #8F887B; -webkit-text-fill-color: #8F887B; }
.ticket-checkout-surface select.field option { background: #232421; color: #EDE6D6; }

/* Quantity stepper. */
.ticket-quantity .field { text-align: center; background: transparent !important; border-color: rgb(237 230 214 / .24) !important; }
.ticket-quantity-control { border: 1px solid rgb(237 230 214 / .32); border-radius: 0; background: transparent; color: #EDE6D6; box-shadow: none; }
.ticket-quantity-control:hover { border-color: #D24C2E; background: transparent; color: #D24C2E; }
.ticket-quantity-control:active { transform: none; }
.ticket-quantity-control:disabled { border-color: rgb(237 230 214 / .12); background: transparent; color: rgb(237 230 214 / .3); }
.ticket-checkout-surface .ticket-quantity-stepper { grid-template-columns: 36px 40px 36px; gap: 6px; }
.ticket-checkout-surface .ticket-quantity .field { width: 40px; min-height: 36px; height: 36px; padding-inline: 0; }
.ticket-checkout-surface .ticket-quantity-control { width: 36px; height: 36px; }
.ticket-checkout-surface .ticket-quantity-control svg { width: 18px; height: 18px; }

/* Consents: quiet text with a native checkbox. */
.ticket-consents { gap: 10px; }
.ticket-consent { min-height: 0; border: 0; border-radius: 0; background: transparent; padding: 0; color: #B9B1A1; font-size: .875rem; line-height: 1.45; }
.ticket-consent--optional { border: 0; }
.ticket-consent--optional strong { color: #EDE6D6; font-weight: 700; }
.ticket-checkout-surface .ticket-consent a, .ticket-checkout-surface .ticket-consents a { color: #EDE6D6; text-decoration: underline; text-underline-offset: .2em; }
.ticket-consent input { accent-color: #D24C2E; }

/* The one action: the orange of the name, dark text, square. */
.ticket-checkout-surface .btn-primary { min-height: 58px; padding-inline: 40px; border: 0; border-radius: 0; background: #D24C2E; color: #1E1F1C; font-family: var(--sans); font-size: 1.1875rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; box-shadow: none; transition: background-color .2s ease; }
.ticket-checkout-surface .btn-primary:hover { border: 0; background: #E25A3A; color: #1E1F1C; transform: none; }
.ticket-checkout-surface .btn-primary:active { transform: none; box-shadow: none; }
.ticket-checkout-surface .btn-primary:disabled { background: rgb(210 76 46 / .45); color: rgb(45 46 43 / .8); }
.ticket-checkout-surface :is(a, button, input, select, textarea):focus-visible { outline: 2px solid #EDE6D6; outline-offset: 3px; }

/* Result page after the purchase: the same dark canvas. */
.ticket-result-page.ticket-result-page, .ticket-result-nav.ticket-result-nav,
.ticket-declared-page .ticket-result-page.ticket-result-page {
  --ticket-canvas: #2D2E2B;
  --ticket-result-accent: #D24C2E;
  --ticket-result-canvas: #2D2E2B;
  --ticket-result-surface: #2D2E2B;
  --ticket-result-raised: rgb(237 230 214 / .05);
  --ticket-result-border: rgb(237 230 214 / .18);
  --result-canvas: #2D2E2B;
  --result-panel: #2D2E2B;
  --result-accent: #D24C2E;
  --result-text: #EDE6D6;
  --result-muted: #B9B1A1;
  --result-border: rgb(237 230 214 / .18);
  --result-display: "TDL Gotham", "Gotham", "Helvetica Neue", Arial, sans-serif;
}
.ticket-result-page.ticket-result-page :is(.card, .ticket-result-panel, .ticket-access-card) { border-radius: 0; box-shadow: none; }
.ticket-result-page.ticket-result-page :is(.ticket-result-step, .ticket-result-kicker, .ticket-access-cashless strong) { font-family: var(--sans); font-size: .875rem; letter-spacing: 0; text-transform: none; }
.ticket-result-page.ticket-result-page .ticket-access-actions .btn-outline { border-color: #EDE6D6; border-radius: 0; color: #EDE6D6; }
.ticket-result-page.ticket-result-page :is(.btn-primary, .btn-aggressive), .ticket-result-nav.ticket-result-nav .btn-primary { border: 0; border-radius: 0; background: #D24C2E; color: #2D2E2B; }

/* Customer portal (/mi-portal/*): the application wraps this page's header and
   footer around it; keep its paper card readable on the dark canvas. */
.customer-portal.customer-portal--declared {
  --portal-foreground: #EDE6D6;
  --portal-muted: #B9B1A1;
  --portal-border: rgb(237 230 214 / .18);
  --portal-surface: #2D2E2B;
  --portal-accent: #D24C2E;
  --portal-accent-soft: rgb(237 230 214 / .06);
  --portal-on-accent: #2D2E2B;
  --portal-serif: "TDL Gotham", "Gotham", "Helvetica Neue", Arial, sans-serif;
  --portal-paper: #2D2E2B;
  --portal-ink: #EDE6D6;
  display: flex; flex-direction: column; min-height: 100svh; background: #252623; color: #EDE6D6; font-family: var(--sans);
}
body:has(.customer-portal--declared) { background: #252623; }
.customer-portal--declared #portal-main { flex: 1; }
.customer-portal--declared #portal-main :is(.portal-eyebrow, p.uppercase:has(+ :is(h1, h2))) { display: none; }
.customer-portal--declared #portal-main input:not([type="checkbox"]):not([type="hidden"]) { border-radius: 0; background: #232421; color: #EDE6D6; -webkit-text-fill-color: #EDE6D6; }
.customer-portal--declared #portal-main button[type="submit"] { border-radius: 0; background: #D24C2E; color: #2D2E2B; font-weight: 700; text-transform: uppercase; }

@media (max-width: 48rem) {
  .ap-register .ticket-purchase-shell { padding: 22px 16px; border-inline: 0; }
  section.ap-register { padding-inline: 0; }
  .ap-register__help { padding-inline: 16px; }
}
@media (prefers-reduced-motion: reduce) {
  .ticket-checkout-surface .btn-primary, .ticket-quantity-control, .ticket-checkout-surface .field { transition-duration: 0s; }
}
@media (forced-colors: active) {
  .ticket-checkout-surface .btn-primary { border: 1px solid ButtonText; }
  .ticket-purchase-shell, .ticket-checkout-surface .field { border: 1px solid CanvasText !important; }
}
