:root {
  --brand-primary: #ff5f3c;
  --brand-primary-dark: #c2341a;
  --brand-primary-press: #d9401f;
  --brand-primary-light: #e84f2e;
  --brand-primary-soft: #ffe8e2;
  --brand-accent: #25d98f;
  --brand-sale: #20cf7a;
  --brand-coming: #d73a1f;
  --status-success: #13764e;
  --status-danger: #b91c1c;
  --surface-warning: #fff8e8;
  --event-hero: #191b48;
  --event-hero-soft: #292b5a;
  --surface-page: #f4f4f4;
  --surface-card: #ffffff;
  --surface-muted: #eeeeee;
  --surface-footer: #ffffff;
  --text-primary: #191919;
  --text-secondary: #707070;
  --border-color: #e4e4e4;
  --shadow-card: 0 2px 9px rgba(0, 0, 0, 0.09);
  --radius-card: 12px;
  --content-width: 1056px;
  --event-content-width: 1160px;
}

* { box-sizing: border-box; }
html {
  scroll-behavior: smooth;
  touch-action: manipulation;
}
body {
  color: var(--text-primary);
  font-family: "Noto Sans TC", "Noto Sans", ui-sans-serif, system-ui, -apple-system, sans-serif;
  touch-action: manipulation;
}
:where(a, button, summary, [role="button"], [role="tab"]) {
  transition-property: color, background-color, border-color, opacity, box-shadow, transform;
  transition-duration: 180ms;
  transition-timing-function: ease;
}
input {
  transition: color 180ms ease, background-color 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}
:where(button, [role="button"]):active { transform: scale(.97); }
:where(a, button, input, summary, [role="button"], [role="tab"]):focus-visible {
  outline: 2px solid var(--brand-primary-light);
  outline-offset: 3px;
}
.material-symbols-outlined {
  display: inline-block;
  flex: 0 0 auto;
  font-family: 'Material Symbols Outlined';
  font-style: normal;
  font-weight: 400;
  font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 24;
  letter-spacing: normal;
  line-height: 1;
  text-transform: none;
  white-space: nowrap;
  word-wrap: normal;
  direction: ltr;
  -webkit-font-feature-settings: 'liga';
  -webkit-font-smoothing: antialiased;
}
.material-symbols-outlined.icon-filled { font-variation-settings: 'FILL' 1, 'wght' 400, 'GRAD' 0, 'opsz' 24; }
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.site-header,
[data-site-header].site-header {
  --site-header-height: 64px;
  position: sticky;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  display: block;
  width: 100%;
  min-height: var(--site-header-height);
  overflow: visible;
  background: #fff;
  color: var(--text-primary);
  border-bottom: 1px solid #f0f0f0;
}
.site-header[hidden] { display: none !important; }
.site-header-inner {
  display: flex;
  width: 100%;
  height: var(--site-header-height);
  align-items: center;
  justify-content: space-between;
  margin: 0;
  padding-inline: clamp(16px, 2.2vw, 32px);
  background: #fff;
}
.site-header-logo {
  display: block;
  width: 110px;
  flex: 0 0 auto;
  line-height: 0;
}
.site-header-logo img {
  display: block;
  width: 100%;
  height: auto;
}
.site-header-actions {
  display: flex !important;
  align-items: center;
  gap: 6px;
  margin-left: auto;
}
.site-header-tool {
  display: block;
  width: 40px;
  height: 40px;
  flex: 0 0 auto;
  padding: 0;
  border: 0;
  border-radius: 50%;
  appearance: none;
  -webkit-appearance: none;
  background: transparent;
  line-height: 0;
  overflow: hidden;
  text-decoration: none;
  cursor: pointer;
}
.site-header-tool-img {
  display: block;
  width: 100% !important;
  height: 100% !important;
  max-width: none;
  object-fit: contain;
}
.site-header-tool:hover,
.site-header-tool:focus-visible {
  background: transparent;
  opacity: .86;
}
.site-header-account-wrap { position: relative; }
.site-header-account {
  display: inline-flex;
  height: 44px;
  align-items: center;
  gap: 8px;
  padding: 0 16px 0 2px;
  border: 0;
  border-radius: 999px;
  background: var(--brand-primary);
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .02em;
  line-height: 1;
  white-space: nowrap;
  cursor: pointer;
}
.site-header-account-icon {
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  flex: 0 0 auto;
  overflow: visible;
  border: 1.5px solid #fff;
  border-radius: 50%;
  color: #fff;
}
.site-header-account-icon .site-header-person {
  display: block;
  width: 16px;
  height: 16px;
}
.site-header-account:hover { background: var(--brand-primary-light); }
.site-header-pop {
  position: relative;
}
.site-header-pop-panel {
  position: absolute;
  top: 100%;
  right: 0;
  z-index: 80;
  min-width: 148px;
  padding-top: 8px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 160ms ease, visibility 0s linear 160ms;
}
.site-header-pop:hover .site-header-pop-panel,
.site-header-pop:focus-within .site-header-pop-panel,
.site-header-pop.is-open .site-header-pop-panel {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transition: opacity 160ms ease, visibility 0s;
}
.site-header-pop-card {
  border: 1px solid #f0f0f0;
  border-radius: 0;
  background: #fff;
  padding: 4px 0;
}
.site-header-pop-name {
  margin: 0;
  padding: 8px 14px 7px;
  border-bottom: 1px solid #f0f0f0;
  color: #191919;
  font-size: 13px;
  font-weight: 600;
}
.site-header-pop-item {
  display: block;
  width: 100%;
  padding: 8px 14px;
  border: 0;
  appearance: none;
  background: transparent;
  color: #191919;
  font-size: 13px;
  font-weight: 400;
  line-height: 1.4;
  text-align: left;
  text-decoration: none;
  cursor: pointer;
}
.site-header-pop-item:hover,
.site-header-pop-item:focus-visible {
  color: var(--brand-primary);
}
.site-header-pop-item.is-active {
  color: var(--brand-primary);
}
.site-header-account-menu {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  z-index: 20;
  min-width: 168px;
  border: 1px solid #ececec;
  background: #fff;
  box-shadow: 0 10px 28px rgba(0, 0, 0, .08);
  padding: 10px 0;
}
.site-header-account-name,
.site-header-account-menu a,
.site-header-account-menu button {
  display: block;
  width: 100%;
  padding: 8px 14px;
  border: 0;
  background: transparent;
  color: #191919;
  font-size: 13px;
  font-weight: 500;
  text-align: left;
}
.site-header-account-name {
  color: #8a8a8a;
  font-weight: 400;
}
.site-header-account-menu a:hover,
.site-header-account-menu button:hover {
  background: #fff7f3;
  color: var(--brand-primary);
}
.site-header-icon {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  flex: 0 0 auto;
  border: 1px solid #191919;
  border-radius: 50%;
  background: #fff;
  color: #191919;
  transition-duration: 220ms;
}
.site-header-icon:hover { background: #191919; color: #fff; }
.site-header-icon .material-symbols-outlined { font-size: 19px; }
.site-header-menu-btn,
.site-header-balance,
.site-mobile-menu,
.site-mobile-menu-overlay {
  display: none;
}
.site-header-inner,
.site-mobile-menu,
.site-checkout-bar {
  position: relative;
  z-index: 2;
  background: #fff;
}
.site-search-panel {
  max-height: 0;
  overflow: hidden;
  width: min(var(--event-content-width), 100%);
  margin-inline: auto;
  border-top: 1px solid transparent;
  background: #fff;
  padding: 0 clamp(22px, 3.5vw, 46px);
  opacity: 0;
  transform: translateY(-8px);
  visibility: hidden;
  transition: max-height 280ms ease, padding 280ms ease, opacity 180ms ease, transform 280ms ease, border-color 180ms ease, visibility 0s linear 280ms;
}
.site-search-panel.is-open {
  max-height: 76px;
  border-top-color: #ececec;
  padding-block: 10px 14px;
  opacity: 1;
  transform: translateY(0);
  visibility: visible;
  transition-delay: 0s;
}
.site-search-form {
  display: flex;
  width: min(100%, 680px);
  height: 44px;
  align-items: center;
  gap: 10px;
  margin-left: auto;
  border-bottom: 1px solid var(--brand-primary);
  color: var(--brand-primary);
}
.site-search-form input {
  min-width: 0;
  flex: 1;
  border: 0;
  background: transparent;
  color: var(--text-primary);
  font-size: 14px;
  outline: 0;
}
.site-search-form input::placeholder { color: var(--brand-primary); opacity: .7; }
.site-search-icon {
  display: block;
  width: 22px;
  height: 22px;
  flex: 0 0 auto;
}
.site-search-close {
  display: grid;
  width: 30px;
  height: 30px;
  place-items: center;
  flex: 0 0 auto;
  padding: 0;
  border: 0;
  background: transparent;
  line-height: 0;
  cursor: pointer;
}
.site-search-close img {
  display: block;
  width: 22px;
  height: 22px;
}
.site-search-close:hover { opacity: .8; }
.site-nav-bar {
  display: none !important;
}
.site-nav-bar-inner {
  display: flex;
  width: min(var(--event-content-width), 100%);
  align-items: center;
  gap: 10px;
  margin-inline: auto;
  padding-inline: clamp(22px, 3.5vw, 46px);
}
.site-nav-deco {
  display: block;
  width: 34px;
  height: 42px;
  flex: 0 0 auto;
  object-fit: contain;
}
.site-nav-pill {
  display: flex;
  min-width: 0;
  flex: 1;
  align-items: stretch;
  overflow: hidden;
  border-radius: 999px;
  background: var(--brand-primary);
}
.site-nav-link {
  display: inline-flex;
  min-width: 0;
  flex: 1;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 42px;
  padding: 0 10px;
  color: #fff;
  font-size: 15px;
  font-weight: 500;
  letter-spacing: .04em;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
}
.site-nav-link:hover { background: rgba(255, 255, 255, .12); }
.site-nav-link.is-active { font-weight: 700; }
.site-checkout-bar {
  border-top: 1px solid #f3e4d8;
  background: #fff7f2;
  color: #9e3620;
}
.site-checkout-bar.is-urgent {
  background: #fff1f0;
  color: var(--status-danger);
}
.site-checkout-bar-inner {
  display: flex;
  width: min(var(--event-content-width), 100%);
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-inline: auto;
  padding: 10px clamp(22px, 3.5vw, 46px);
  font-size: 13px;
  line-height: 1.4;
}
.site-checkout-bar-inner p {
  min-width: 0;
  margin: 0;
}
.site-checkout-time { font-variant-numeric: tabular-nums; font-weight: 700; }
.site-checkout-note { margin-left: 8px; color: #b07a64; }
.site-checkout-bar.is-urgent .site-checkout-note { color: inherit; }
.site-checkout-resume {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  min-height: 32px;
  border: 0;
  border-radius: 999px;
  background: #ea580c;
  padding: 0 12px;
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.2;
  white-space: nowrap;
  cursor: pointer;
}
.site-checkout-resume:hover { background: #dc4a05; }
.site-nav-glyph {
  display: block;
  width: 8px;
  height: 18px;
  flex: 0 0 auto;
  object-fit: contain;
}
.brand-header { background: var(--brand-primary); }
.brand-container { width: min(var(--content-width), calc(100% - 32px)); margin-inline: auto; }
.search-field:focus-within { box-shadow: 0 0 0 3px rgba(158, 54, 32, .16); }
.mobile-search-panel { display: none; }
.mobile-search-panel.is-open { display: block; }
.site-footer {
  width: 100%;
  margin-top: auto;
  border-top: 1px solid #ececec;
  background: #fff;
  color: #111;
  font-weight: 500;
}
.site-footer-inner {
  width: min(1120px, 100%);
  margin-inline: auto;
  padding: 48px 16px 28px;
}
.site-footer-top,
.site-footer-base {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.site-footer-brand {
  display: block;
  flex: 0 0 auto;
  line-height: 0;
}
.site-footer-brand img {
  display: block;
  width: auto;
  height: 32px;
}
.site-footer-social {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 8px;
}
.site-footer-social a {
  display: grid;
  width: 36px;
  height: 36px;
  margin: 0;
  place-items: center;
  border-radius: 8px;
  background: #111;
  line-height: 0;
}
.site-footer-social img {
  display: block;
  width: 16px;
  height: 16px;
  filter: brightness(0) invert(1);
}
.site-footer-links {
  display: grid;
  grid-template-columns: 1.1fr 1fr 1fr;
  gap: 32px 40px;
  margin-top: 48px;
}
.site-footer h2 {
  margin: 0 0 14px;
  color: #111;
  font-size: 14px;
  font-weight: 700;
  line-height: 20px;
}
.site-footer-places {
  columns: 2;
  column-gap: 28px;
}
.site-footer-places a { break-inside: avoid; }
.site-footer-links a {
  display: block;
  margin-top: 10px;
  color: #3f3f46;
  font-size: 14px;
  font-weight: 500;
  line-height: 20px;
  text-decoration: none;
}
.site-footer-links a:hover { color: #111; }
.site-footer-base {
  margin-top: 40px;
  padding-top: 20px;
  border-top: 1px solid #ececec;
}
.site-footer-legal {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 16px;
  margin: 0;
  min-width: 0;
  color: #6b6b6b;
  font-size: 13px;
  font-weight: 500;
  line-height: 20px;
}
.site-footer-legal a {
  color: #6b6b6b;
  font-size: 13px;
  font-weight: 500;
  text-decoration: none;
}
.site-footer-legal a:hover { color: #111; }
.site-footer-pay {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 6px;
  max-width: 480px;
  margin: 0;
}
.site-footer-pay-mark {
  display: block;
  width: 38px;
  height: 24px;
  border-radius: 3px;
  background: #fff;
}
.image-placeholder {
  background: linear-gradient(135deg, rgba(158, 54, 32, .07), rgba(158, 54, 32, .01)), var(--surface-muted);
}
@media (max-width: 800px) {
  .site-footer-top,
  .site-footer-base {
    align-items: flex-start;
    flex-direction: column;
  }
  .site-footer-pay { justify-content: flex-start; max-width: none; }
  .site-footer-links { grid-template-columns: 1fr 1fr; }
  .site-footer-col.is-wide { grid-column: 1 / -1; }
}
@media (max-width: 520px) {
  .site-footer-links { grid-template-columns: 1fr; }
  .site-footer-col.is-wide { grid-column: auto; }
}
.site-footer.is-compact {
  padding: 10px clamp(16px, 4vw, 24px);
}
.site-footer-compact-text {
  margin: 0 auto;
  width: min(var(--content-width), 100%);
  color: #9a9a9a;
  font-size: 12px;
  font-weight: 400;
  line-height: 1.4;
  text-align: center;
}
html.is-site-menu-open,
html.is-site-menu-open body {
  overflow: hidden;
}
@media (max-width: 639px) {
  html::before {
    content: "";
    position: fixed;
    inset: 0;
    z-index: 61;
    background: rgba(25, 25, 25, .25);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 240ms ease, visibility 0s linear 240ms;
  }
  html.is-site-menu-open::before {
    opacity: 1;
    visibility: visible;
    transition: opacity 240ms ease;
  }
  html.is-site-menu-open .site-header {
    z-index: 70;
  }
  .site-header,
  [data-site-header].site-header {
    --site-header-height: 56px;
    overflow: visible;
    border-bottom: 1px solid #F0F0F0;
  }
  .site-header-inner {
    width: 100%;
    padding-inline: 8px;
  }
  .site-header-menu-btn {
    display: grid;
    width: 44px;
    height: 44px;
    place-items: center;
    flex: 0 0 auto;
    padding: 0;
    border: 0;
    appearance: none;
    background: transparent;
    color: #191919;
    line-height: 1;
    cursor: pointer;
  }
  .site-header-menu-btn .material-symbols-outlined {
    font-size: 22px;
    font-variation-settings: "FILL" 0, "wght" 400, "GRAD" 0, "opsz" 24;
  }
  .site-header-logo {
    display: block;
    width: 96px;
    min-width: 0;
    flex: 0 0 auto;
    padding-left: 4px;
  }
  .site-header-logo img { width: 96px; }
  .site-header-balance { display: none; }
  .site-header-actions,
  .site-header-tool,
  .site-search-panel {
    display: none !important;
  }
  .site-nav-bar {
    display: none !important;
  }
  .site-search-panel.is-open {
    display: block !important;
  }
  .site-mobile-menu {
    display: flex;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    z-index: 3;
    flex-direction: column;
    width: 100%;
    padding: 12px 20px 8px;
    border-bottom: 1px solid #F0F0F0;
    background: #fff;
    opacity: 0;
    transform: translateY(-12px);
    visibility: hidden;
    pointer-events: none;
    transition: transform 280ms cubic-bezier(.22, .61, .36, 1), opacity 220ms ease, visibility 0s linear 280ms;
  }
  .site-header.is-menu-open .site-mobile-menu {
    opacity: 1;
    transform: translateY(0);
    visibility: visible;
    pointer-events: auto;
    transition-delay: 0s;
  }
  .site-mobile-menu-overlay {
    display: block;
    position: fixed;
    inset: 0;
    z-index: 1;
    width: 100%;
    height: 100%;
    padding: 0;
    border: 0;
    appearance: none;
    background: transparent;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 240ms ease, visibility 0s linear 240ms;
  }
  .site-header.is-menu-open .site-mobile-menu-overlay {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transition-delay: 0s;
  }
  .site-mobile-menu-overlay:active { transform: none; }
  @media (prefers-reduced-motion: reduce) {
    html::before,
    .site-mobile-menu,
    .site-mobile-menu-overlay {
      transition: none;
    }
    .site-mobile-menu { transform: none; }
  }
  .site-mobile-search {
    display: flex;
    align-items: center;
    gap: 10px;
    height: 40px;
    margin: 0;
    padding: 0 0 8px;
    border-bottom: 1px solid #E4E4E4;
  }
  .site-mobile-search .material-symbols-outlined {
    font-size: 20px;
    color: #6B6B6B;
    font-variation-settings: "FILL" 0, "wght" 400, "GRAD" 0, "opsz" 20;
  }
  .site-mobile-search input {
    min-width: 0;
    flex: 1;
    border: 0;
    background: transparent;
    color: #191919;
    font-size: 15px;
    outline: 0;
  }
  .site-mobile-search input::placeholder { color: #6B6B6B; }
  .site-mobile-nav {
    display: flex;
    flex-direction: column;
    padding: 8px 0;
  }
  .site-mobile-nav a {
    position: relative;
    display: flex;
    align-items: center;
    height: 40px;
    color: #191919;
    font-size: 15px;
    font-weight: 400;
    line-height: 1;
    text-decoration: none;
    border-bottom: 1px solid #F0F0F0;
  }
  .site-mobile-nav a:last-child { border-bottom: 0; }
  .site-mobile-nav a.is-active {
    gap: 12px;
    color: #FF5F3C;
    font-weight: 500;
  }
  .site-mobile-nav a.is-active::before {
    content: "";
    width: 2px;
    height: 18px;
    flex: 0 0 auto;
    border-radius: 1px;
    background: #FF5F3C;
  }
  .site-mobile-utils {
    display: flex;
    flex-direction: column;
    gap: 14px;
    padding: 10px 0;
  }
  .site-mobile-util {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 0;
    border: 0;
    background: transparent;
    color: #4A4A4A;
    font-size: 14px;
    font-weight: 400;
    line-height: 1;
    text-align: left;
    text-decoration: none;
    cursor: pointer;
  }
  .site-mobile-util .material-symbols-outlined {
    font-size: 18px;
    color: #4A4A4A;
    font-variation-settings: "FILL" 0, "wght" 400, "GRAD" 0, "opsz" 20;
  }
  .site-mobile-util.is-active,
  .site-mobile-util.is-active .material-symbols-outlined {
    color: var(--brand-primary);
    font-weight: 600;
  }
  .site-checkout-bar-inner {
    padding: 8px 12px;
    font-size: 12px;
  }
  .site-checkout-note { display: none; }
  .brand-container { width: min(100% - 28px, var(--content-width)); }
}

.legal-page {
  min-width: 320px;
  background: #fff;
}
.legal-main {
  width: min(760px, calc(100% - 48px));
  margin: 0 auto;
  padding: 48px 0 88px;
}
.legal-kicker {
  margin: 0 0 8px;
  color: var(--brand-primary);
  font-size: 12px;
  font-weight: 500;
}
.legal-main h1 {
  margin: 0;
  color: #191919;
  font-size: 32px;
  font-weight: 500;
  letter-spacing: -.02em;
  line-height: 1.25;
}
.legal-updated {
  margin: 10px 0 28px;
  color: #8a8a8a;
  font-size: 13px;
}
.legal-lead {
  margin: 0 0 32px;
  color: #555;
  font-size: 15px;
  font-weight: 400;
  line-height: 1.8;
}
.legal-main h2 {
  margin: 36px 0 12px;
  color: #191919;
  font-size: 18px;
  font-weight: 500;
}
.legal-main p,
.legal-main li {
  color: #555;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.85;
}
.legal-main p { margin: 0 0 14px; }
.legal-main ul {
  margin: 0 0 16px;
  padding-left: 20px;
}
.legal-main li + li { margin-top: 8px; }
.legal-main a { color: var(--brand-primary); }
@media (max-width: 639px) {
  .legal-main { width: calc(100% - 36px); padding: 36px 0 72px; }
  .legal-main h1 { font-size: 26px; }
}

.auth-page {
  min-width: 320px;
  background: #fff;
}
.auth-main {
  width: min(400px, calc(100% - 40px));
  margin: 0 auto;
  padding: 48px 0 80px;
}
.auth-panel { width: 100%; }
.auth-title {
  display: flex;
  width: fit-content;
  align-items: center;
  justify-content: center;
  margin: 0 0 0 auto;
  border: 3px solid var(--brand-primary);
  border-radius: 1000px 0 0 1000px;
  background: #fff;
  padding: 7px 20px 7px 35px;
}
.auth-title-text {
  margin-right: 10px;
  color: var(--brand-primary);
  font-size: 24px;
  font-weight: 700;
  letter-spacing: 3px;
  line-height: 1;
}
.auth-title-bars {
  display: flex;
  align-items: center;
}
.auth-title-bar {
  height: 25px;
  margin-right: 2px;
  border-radius: 1000px;
  background: var(--brand-primary);
}
.auth-title-bar.is-lg { width: 10px; }
.auth-title-bar.is-md { width: 7px; }
.auth-title-bar.is-sm { width: 4px; margin-right: 0; }
.auth-subtitle {
  margin: 6px 0 28px;
  color: var(--text-secondary);
  font-size: 13px;
  font-weight: 400;
  line-height: 1.5;
}
[data-auth-form] { display: grid; gap: 16px; }
[data-register-only].hidden,
[data-login-only].hidden { display: none !important; }
.auth-label {
  display: block;
  margin-bottom: 6px;
  color: var(--text-primary);
  font-size: 13px;
  font-weight: 500;
}
.auth-optional { color: var(--text-secondary); font-weight: 400; }
.auth-input {
  width: 100%;
  min-height: 44px;
  border: 1px solid #d8d8d8;
  border-radius: 10px;
  background: #fff;
  padding: 0 14px;
  color: var(--text-primary);
  font-size: 14px;
  font-weight: 400;
  outline: none;
}
.auth-input::placeholder { color: #b0b0b0; letter-spacing: 0; }
.auth-input[type="password"] {
  font-family: "Noto Sans", ui-sans-serif, system-ui, sans-serif;
  letter-spacing: .08em;
}
.auth-input:focus {
  border-color: var(--brand-primary);
  box-shadow: 0 0 0 3px rgba(158, 54, 32, .14);
}
.auth-input.is-invalid,
.auth-input:user-invalid { border-color: #c2410c; }
.auth-input.is-invalid:focus {
  border-color: #c2410c;
  box-shadow: 0 0 0 3px rgba(194, 65, 12, .12);
}
.auth-field-error {
  margin: 6px 0 0;
  color: #c2410c;
  font-size: 12px;
  font-weight: 400;
  line-height: 1.4;
}
.auth-password-wrap { position: relative; }
.auth-password-wrap .auth-input { padding-right: 46px; }
.auth-password-toggle {
  position: absolute;
  top: 50%;
  right: 6px;
  display: grid;
  width: 32px;
  height: 32px;
  transform: translateY(-50%);
  place-items: center;
  border: 0;
  background: transparent;
  color: #8a8a8a;
}
.auth-password-toggle:hover { color: var(--text-primary); }
.auth-password-toggle .material-symbols-outlined { font-size: 20px; }
.auth-login-options,
.auth-agree {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
}
.auth-remember {
  display: inline-flex;
  align-items: flex-start;
  gap: 8px;
  color: #707070;
  font-size: 13px;
  font-weight: 400;
  line-height: 1.45;
  cursor: pointer;
}
.auth-checkbox {
  width: 16px;
  height: 16px;
  margin-top: 1px;
  flex: 0 0 auto;
  border: 1px solid #c5c5c5;
  border-radius: 3px;
  accent-color: var(--brand-primary);
}
.auth-forgot,
.auth-inline-link,
.auth-legal a,
.auth-resend,
[data-switch-action] {
  color: var(--brand-primary);
  font-weight: 500;
}
.auth-forgot,
.auth-resend,
[data-auth-switch] {
  border: 0;
  background: transparent;
  padding: 0;
}
.auth-forgot { font-size: 13px; }
.auth-forgot:hover,
.auth-inline-link:hover,
.auth-legal a:hover,
.auth-resend:hover,
[data-switch-action]:hover {
  color: var(--brand-primary-dark);
  text-decoration: underline;
}
.auth-submit {
  width: 100%;
  min-height: 44px;
  border: 0;
  border-radius: 10px;
  background: var(--brand-primary);
  color: #fff;
  font-size: 15px;
  font-weight: 500;
}
.auth-submit:hover { background: var(--brand-primary-dark); }
.auth-submit:disabled {
  cursor: not-allowed;
  background: #d8d8d8;
  color: #fff;
}
.auth-verify-link {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  margin-top: 8px;
  border-radius: 10px;
  background: var(--brand-primary);
  padding: 0 22px;
  color: #fff;
  font-size: 15px;
  font-weight: 500;
  text-decoration: none;
}
.auth-verify-link:hover { background: var(--brand-primary-dark); }
.auth-legal {
  margin: 14px 0 0;
  color: #9a9a9a;
  font-size: 12px;
  font-weight: 400;
  line-height: 1.7;
}
.auth-switch { margin-top: 22px; text-align: center; }
[data-auth-switch] {
  color: #707070;
  font-size: 13px;
  font-weight: 400;
}
[data-switch-action] { margin-left: 4px; }
.auth-resend {
  width: 100%;
  margin-top: 4px;
  text-align: center;
  font-size: 13px;
  font-weight: 400;
  color: #707070;
}
.auth-resend-link {
  border: 0;
  background: transparent;
  padding: 0;
  color: var(--brand-primary);
  font-size: 13px;
  font-weight: 500;
}
.auth-resend-link:hover { color: var(--brand-primary-dark); text-decoration: underline; }
.auth-resend-link:disabled {
  cursor: not-allowed;
  color: #9a9a9a;
  text-decoration: none;
}
.auth-message {
  display: block;
  margin-top: 2px;
  color: #c2410c;
  font-size: 13px;
  font-weight: 400;
  line-height: 1.5;
}
.auth-message-error { color: #c2410c; }
.auth-message-success { color: #15803d; }
@media (max-width: 639px) {
  .auth-main { padding: 32px 0 64px; }
  .auth-title { padding: 6px 16px 6px 24px; }
  .auth-title-text { font-size: 20px; letter-spacing: 2px; }
}

@keyframes wm-toast-in {
  from { opacity: 0; transform: translateY(-16px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes wm-toast-out {
  from { opacity: 1; transform: translateY(0); }
  to { opacity: 0; transform: translateY(-10px); }
}
.wm-toast-host {
  position: fixed;
  top: calc(12px + env(safe-area-inset-top, 0px));
  left: 0;
  right: 0;
  z-index: 9600;
  display: flex;
  justify-content: center;
  pointer-events: none;
  padding: 0 16px;
}
body[data-checkout-app="1"] .wm-toast-host {
  top: calc(var(--ticket-timebar-height, 52px) + 10px);
}
@media (max-width: 1023px) {
  body[data-checkout-app="1"] .wm-toast-host {
    padding: 0 12px;
  }
  body[data-checkout-app="1"] .wm-toast {
    width: 100%;
    max-width: 100%;
    border-radius: 14px;
    padding: 14px 16px;
    font-size: 13px;
  }
}
.wm-toast {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  max-width: min(520px, 100%);
  margin: 0;
  border-radius: 999px;
  background: #fff;
  padding: 12px 18px 12px 14px;
  color: #191919;
  box-shadow: 0 10px 32px rgba(25, 25, 25, .16);
  font-size: 13px;
  font-weight: 600;
  line-height: 1.45;
  cursor: pointer;
  pointer-events: auto;
  animation: wm-toast-in .34s cubic-bezier(.22, .8, .28, 1) forwards;
}
.wm-toast.is-out { animation: wm-toast-out .22s ease-in forwards; }
.wm-toast .material-symbols-outlined {
  flex: 0 0 auto;
  margin-top: 1px;
  color: var(--brand-primary);
  font-size: 20px;
  font-variation-settings: "FILL" 1, "wght" 500, "GRAD" 0, "opsz" 24;
}
.wm-toast p { margin: 0; }
.wm-toast.is-error .material-symbols-outlined { color: #b91c1c; }
.wm-toast.is-success .material-symbols-outlined { color: #15803d; }
.wm-toast.is-info .material-symbols-outlined { color: var(--brand-primary); }

/* ─── Unified Modal ───────────────────────────────────────── */
.wm-modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 9000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 28px;
  background: rgba(65, 65, 65, .82);
  opacity: 0;
  animation: wm-modal-fade-in .14s ease-out forwards;
}
.wm-modal-backdrop.is-open { opacity: 1; }
.wm-modal-backdrop.is-closing { animation: wm-modal-fade-out .1s ease-in forwards; }
.wm-modal-card {
  position: relative;
  width: min(100%, 420px);
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: flex-start;
  border-radius: 16px;
  padding: 28px 24px 24px;
  background: #fff;
  box-shadow: none;
  animation: wm-modal-slide-in .16s ease-out forwards;
}
.wm-modal-backdrop.is-closing .wm-modal-card { animation: wm-modal-slide-out .1s ease-in forwards; }

.wm-modal-icon { display: none; }

.wm-modal-title {
  margin: 0;
  text-align: left;
  font-size: 1.15rem;
  font-weight: 700;
  line-height: 1.35;
  color: #191919;
}
.wm-modal-body {
  margin: 10px 0 0;
  text-align: left;
  font-size: .9rem;
  font-weight: 400;
  line-height: 1.6;
  color: #707070;
}
.wm-modal-actions {
  display: grid;
  justify-content: stretch;
  gap: 10px;
  margin-top: 24px;
}
.wm-modal-actions:not(.has-cancel) {
  width: 100%;
}
.wm-modal-actions.has-cancel {
  width: 100%;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.wm-modal-actions.has-stack {
  width: 100%;
  grid-template-columns: 1fr;
}

.wm-modal-btn {
  min-height: 48px;
  border-radius: 999px;
  border: 1px solid var(--brand-primary);
  padding: 0 16px;
  background: #fff;
  color: var(--brand-primary);
  font-size: 16px;
  font-weight: 700;
  line-height: 1.2;
  cursor: pointer;
  transition: transform .12s ease, opacity .12s ease, background-color .12s ease, border-color .12s ease;
}
.wm-modal-btn:active { transform: translateY(1px) scale(.99); }
.wm-modal-btn.is-primary,
.wm-modal-btn.is-danger {
  background: var(--brand-primary);
  color: #fff;
}
.wm-modal-btn.is-primary:hover,
.wm-modal-btn.is-danger:hover { background: var(--brand-primary-light); border-color: var(--brand-primary-light); }
.wm-modal-btn.is-cancel {
  background: #fff;
  color: var(--brand-primary);
}
.wm-modal-btn.is-cancel:hover { background: #fff7f3; }
.wm-modal-btn.is-quiet {
  background: #fff;
  border-color: #e4e4e4;
  color: #707070;
}
.wm-modal-btn.is-quiet:hover { background: #f7f7f7; border-color: #d4d4d4; color: #191919; }
.wm-modal-actions.is-destructive .is-primary { order: 2; }
.wm-modal-actions.is-destructive .is-quiet { order: 1; }

.btn-spinner {
  display: block;
  width: 22px;
  height: 22px;
  border: 2.5px solid rgba(255, 255, 255, 0.28);
  border-top-color: #fff;
  border-radius: 50%;
  animation: btn-spin 0.7s linear infinite;
}
@keyframes btn-spin {
  to { transform: rotate(360deg); }
}

/* Keep a visible spinner on the button itself so fixed mobile bars
   (iOS often drops child-span animations) still show progress. */
.ticket-purchase.is-loading,
.event-buy-button.is-loading,
.checkout-primary.is-loading,
.checkout-secondary.is-loading,
.checkout-back.is-loading,
.auth-submit.is-busy,
.wm-modal-btn.is-loading {
  position: relative;
  color: transparent !important;
  pointer-events: none;
}
.ticket-purchase.is-loading > *,
.event-buy-button.is-loading > *,
.checkout-primary.is-loading > *,
.checkout-secondary.is-loading > *,
.checkout-back.is-loading > *,
.wm-modal-btn.is-loading > * {
  opacity: 0 !important;
}
.ticket-purchase.is-loading::after,
.event-buy-button.is-loading::after,
.checkout-primary.is-loading::after,
.auth-submit.is-busy::after,
.wm-modal-btn.is-primary.is-loading::after,
.wm-modal-btn.is-danger.is-loading::after {
  content: "";
  position: absolute;
  inset: 0;
  width: 20px;
  height: 20px;
  margin: auto;
  border: 2.5px solid rgba(255, 255, 255, 0.28);
  border-top-color: #fff;
  border-radius: 50%;
  animation: btn-spin 0.7s linear infinite;
}
.checkout-secondary.is-loading::after,
.checkout-back.is-loading::after,
.wm-modal-btn.is-loading:not(.is-primary):not(.is-danger)::after {
  content: "";
  position: absolute;
  inset: 0;
  width: 20px;
  height: 20px;
  margin: auto;
  border: 2.5px solid rgba(25, 25, 25, .15);
  border-top-color: #707070;
  border-radius: 50%;
  animation: btn-spin 0.7s linear infinite;
}

@keyframes wm-modal-fade-in   { from { opacity: 0; } to { opacity: 1; } }
@keyframes wm-modal-fade-out  { from { opacity: 1; } to { opacity: 0; } }
@keyframes wm-modal-slide-in  { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
@keyframes wm-modal-slide-out { from { opacity: 1; transform: none; } to { opacity: 0; transform: translateY(6px); } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    scroll-behavior: auto !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
    transition-delay: 0s !important;
  }
  .btn-spinner,
  .event-buy-button-spinner,
  .ticket-purchase.is-loading::after,
  .event-buy-button.is-loading::after,
  .checkout-primary.is-loading::after,
  .checkout-secondary.is-loading::after,
  .checkout-back.is-loading::after,
  .auth-submit.is-busy::after,
  .auth-submit:disabled::after,
  .wm-modal-btn.is-loading::after {
    animation: btn-spin 0.7s linear infinite !important;
  }
}

@media (max-width: 640px) {
  .wm-modal-backdrop { padding: 18px; }
  .wm-modal-card {
    width: 100%;
    min-height: 0;
    border-radius: 16px;
    padding: 24px 20px 20px;
  }
  .wm-modal-title { font-size: 1.2rem; }
  .wm-modal-body { font-size: .95rem; }
  .wm-modal-actions.has-cancel { grid-template-columns: 1fr; }
  .wm-modal-btn { min-height: 48px; }
  .wm-modal-actions.has-cancel .wm-modal-btn.is-cancel { order: 1; }
  .wm-modal-actions.has-cancel .wm-modal-btn.is-primary,
  .wm-modal-actions.has-cancel .wm-modal-btn.is-danger { order: 0; }
  .wm-modal-actions.is-destructive .is-primary { order: 0; }
  .wm-modal-actions.is-destructive .is-quiet { order: 1; }
}
