.eticket-app {
  --et-ink: #182f39;
  --et-accent: #176c61;
  --et-muted: #5b6f77;
  --et-background: #f4f7f6;
  --et-surface: #ffffff;
  --et-surface-ink: #182f39;
  --et-surface-muted: #5b6f77;
  --et-border: #e0e9e5;
  --et-on-accent: #ffffff;
  --et-accent-hover: #10574d;
  --et-on-accent-hover: #ffffff;
  --et-accent-soft: #e9f5ee;
  --et-accent-ink: #176c61;
  --et-on-accent-soft: #256041;
  --et-control-bg: #f3f7f5;
  --et-control-ink: #234e40;
  --et-control-border: #c9dad3;
  --et-focus: #176c61;
  box-sizing: border-box;
  max-width: 780px;
  margin: 28px auto;
  background: var(--et-background);
  color: var(--et-ink);
  font:
    16px/1.6 system-ui,
    -apple-system,
    "Segoe UI",
    sans-serif;
  border: 1px solid var(--et-border);
  border-radius: 28px;
  overflow: hidden;
  box-shadow: 0 18px 60px #0000000c;
  text-align: left;
}
.eticket-app * {
  box-sizing: border-box;
}
.eticket-app .eticket-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 18px 24px;
  background: var(--et-surface);
  color: var(--et-surface-ink);
  font-size: 17px;
  font-weight: 750;
  border-bottom: 1px solid var(--et-border);
}
.eticket-brand > span:last-child {
  margin-left: auto;
  font-size: 11px;
  color: var(--et-surface-muted);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.eticket-mark {
  display: inline-grid;
  place-items: center;
  width: 30px;
  height: 30px;
  background: var(--et-accent);
  color: var(--et-on-accent);
  border-radius: 9px;
  font-style: italic;
  font-size: 24px;
}
.eticket-live {
  padding: 0 24px;
  margin: 14px 0;
  color: var(--et-ink);
}
.eticket-live:empty {
  display: none;
}
.eticket-live.eticket-error {
  padding: 16px;
  margin: 16px;
  background: #fff0ee;
  color: #922a23;
  border: 1px solid #ecc2b9;
  border-radius: 12px;
}
.eticket-hero {
  padding: 30px 28px 20px;
  position: relative;
  isolation: isolate;
}
.eticket-hero.eticket-has-cover {
  background: #142d36;
  color: white;
  padding-top: 40px;
  padding-bottom: 40px;
}
.eticket-has-cover > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
}
.eticket-has-cover:after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, #142d36e8, #142d3680);
  z-index: -1;
}
.eticket-logos {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 20px;
}
.eticket-logos:empty {
  display: none;
}
.eticket-logos img {
  width: auto;
  max-width: 42%;
  height: auto;
  max-height: 90px;
  object-fit: contain;
}
.eticket-app .eticket-eyebrow {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
}
.eticket-app h1 {
  font:
    750 clamp(30px, 6vw, 48px)/1.12 system-ui,
    sans-serif;
  margin: 14px 0;
  color: inherit;
  letter-spacing: -0.035em;
}
.eticket-app h2 {
  font:
    720 26px/1.3 system-ui,
    sans-serif;
  color: inherit;
  margin: 14px 0;
}
.eticket-app p {
  margin: 12px 0;
  line-height: 1.65;
}
.eticket-subtitle {
  font-size: 19px;
}
.eticket-location {
  opacity: 0.82;
}
.eticket-panel {
  margin: 8px 20px 24px;
  padding: 26px;
  background: var(--et-surface);
  color: var(--et-surface-ink);
  border: 1px solid var(--et-border);
  border-radius: 20px;
}
.eticket-pill {
  display: inline-block;
  border-radius: 30px;
  padding: 5px 12px;
  background: var(--et-accent-soft);
  color: var(--et-on-accent-soft);
  font-size: 13px;
  font-weight: 700;
}
.eticket-app .eticket-quantity-label {
  display: block;
  margin-top: 24px;
  font-weight: 650;
}
.eticket-picker {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin: 16px auto;
  width: 230px;
}
.eticket-app .eticket-step {
  display: grid;
  place-items: center;
  padding: 0;
  width: 54px;
  height: 54px;
  min-width: 54px;
  border: 1px solid var(--et-control-border);
  border-radius: 16px;
  background: var(--et-control-bg);
  color: var(--et-control-ink);
  font: 500 32px/1 system-ui;
  cursor: pointer;
}
.eticket-app .eticket-quantity {
  width: 68px;
  border: 0;
  background: transparent;
  text-align: center;
  font: 750 32px/1 system-ui;
  color: var(--et-surface-ink);
  padding: 8px 0;
  appearance: textfield;
  box-shadow: none;
}
.eticket-quantity::-webkit-inner-spin-button,
.eticket-quantity::-webkit-outer-spin-button {
  appearance: none;
}
.eticket-app .eticket-button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  min-height: 54px;
  padding: 13px 22px;
  background: var(--et-accent);
  color: var(--et-on-accent);
  border: 1px solid var(--et-accent);
  border-radius: 14px;
  font: 650 16px/1.4 system-ui;
  cursor: pointer;
  text-decoration: none;
  transition:
    background 0.15s,
    transform 0.15s;
  white-space: normal;
  text-align: center;
}
.eticket-panel > .eticket-button {
  width: 100%;
  margin-top: 20px;
}
.eticket-app .eticket-button:hover {
  background: var(--et-accent-hover);
  color: var(--et-on-accent-hover);
  transform: translateY(-1px);
}
.eticket-app .eticket-secondary {
  color: var(--et-accent-ink);
  background: var(--et-surface);
  border-color: var(--et-control-border);
}
.eticket-app .eticket-secondary:hover {
  color: var(--et-on-accent-soft);
  background: var(--et-accent-soft);
}
.eticket-app button:disabled {
  opacity: 0.55;
  cursor: wait;
  transform: none;
}
.eticket-app button:focus-visible,
.eticket-app input:focus-visible {
  outline: 3px solid var(--et-focus);
  outline-offset: 4px;
}
.eticket-app .eticket-hint {
  font-size: 13px;
  line-height: 1.6;
  color: var(--et-muted);
  text-align: center;
}
.eticket-panel .eticket-hint {
  color: var(--et-surface-muted);
}
.eticket-trap {
  position: absolute !important;
  left: -9999px !important;
  width: 1px !important;
  height: 1px !important;
}
.eticket-privacy {
  text-align: center;
  padding: 20px 24px 28px;
  font-size: 12px;
  line-height: 1.8;
  color: var(--et-muted);
}
.eticket-success {
  text-align: center;
  padding: 34px 24px 14px;
}
.eticket-success-icon {
  display: inline-grid;
  place-items: center;
  width: 58px;
  height: 58px;
  background: var(--et-accent-soft);
  color: var(--et-on-accent-soft);
  border-radius: 50%;
  font-size: 32px;
}
.eticket-summary-tools {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  padding: 0 22px;
}
.eticket-ticket-list {
  display: grid;
  gap: 22px;
  padding: 20px;
}
.eticket-ticket {
  background: var(--et-surface);
  color: var(--et-surface-ink);
  overflow: hidden;
  border: 1px solid var(--et-border);
  border-radius: 18px;
  box-shadow: 0 5px 20px #00000008;
}
.eticket-ticket-canvas {
  display: block;
  max-width: 100%;
  height: auto;
  width: 100%;
}
.eticket-ticket-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  padding: 14px;
}
.eticket-app .eticket-small {
  min-height: 44px;
  font-size: 14px;
  padding: 10px 15px;
}
.eticket-app .eticket-text-button {
  display: block;
  margin: 12px auto;
  padding: 8px 12px;
  background: transparent;
  border: 0;
  color: var(--et-ink);
  font: 600 14px/1.5 system-ui;
  cursor: pointer;
  text-decoration: underline;
  min-height: 44px;
}
.eticket-ticket .eticket-text-button {
  color: var(--et-accent-ink);
}
.eticket-link {
  width: 100%;
  padding: 12px;
  font-size: 14px;
}
@media (max-width: 480px) {
  .eticket-app {
    margin: 12px auto;
    border-radius: 20px;
  }
  .eticket-panel {
    margin: 0 12px 16px;
    padding: 22px 18px;
  }
  .eticket-hero {
    padding: 26px 22px;
  }
  .eticket-brand > span:last-child {
    display: none;
  }
  .eticket-ticket-list {
    padding: 12px;
  }
  .eticket-summary-tools > .eticket-button {
    width: 100%;
  }
}
@media (prefers-reduced-motion: reduce) {
  .eticket-app * {
    transition: none !important;
    animation: none !important;
  }
}
