:root {
  --bg: #0b0d12;
  --bg-2: #141821;
  --panel: #1a1d26;
  --panel-strong: #1f2430;
  --text: #f3f3f4;
  --muted: #9a9da8;
  --accent: #ef3c5f;
  --accent-2: #ff587b;
  --button: #ef3d61;
  --button-hover: #ff5878;
  --line: rgba(255, 255, 255, 0.08);
  --soft: rgba(255, 255, 255, 0.04);
  --soft-2: rgba(255, 255, 255, 0.02);
}

* {
  box-sizing: border-box;
}

html, body {
  margin: 0;
  min-height: 100%;
  background: var(--bg);
  color: var(--text);
  font-family: Inter, "Segoe UI", sans-serif;
}

.account-gate {
  display: grid;
  place-items: center;
  flex: 1 1 auto;
  min-height: 100vh;
  padding: 24px 16px;
}

.account-loading {
  display: flex;
  min-height: 100vh;
  align-items: center;
  justify-content: center;
  gap: 12px;
  color: rgba(240, 250, 255, 0.72);
  font-size: 0.95rem;
}

.account-loading[hidden] {
  display: none !important;
}

.account-loading-spinner {
  width: 18px;
  height: 18px;
  border: 2px solid rgba(240, 250, 255, 0.22);
  border-top-color: var(--accent);
  border-radius: 50%;
  animation: account-loading-spin 0.8s linear infinite;
}

@keyframes account-loading-spin {
  to { transform: rotate(360deg); }
}

.account-card {
  width: min(440px, 100%);
  padding: 28px;
  color: var(--text);
  background: rgba(11, 13, 18, 0.94);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 14px;
  box-shadow: 0 24px 72px rgba(0, 0, 0, 0.4);
}

.account-brand {
  display: block;
  width: min(330px, 100%);
  height: auto;
  margin: 0 auto 18px;
}

@media (max-width: 640px) {
  .account-brand {
    width: min(240px, 100%);
  }
}

.account-card h1 {
  margin: 0;
  color: var(--text);
  font-size: 1.8rem;
  line-height: 1.1;
}

.account-subtitle {
  margin: 10px 0 20px;
  color: var(--muted);
  line-height: 1.5;
}

.account-mode-switch {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px;
  margin-bottom: 18px;
  padding: 4px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 9px;
}

.account-mode-tab {
  min-height: 38px;
  color: var(--muted);
  background: transparent;
  border: 0;
  border-radius: 6px;
  font: inherit;
  cursor: pointer;
}

.account-mode-tab.active {
  color: var(--text);
  background: rgba(255, 255, 255, 0.1);
}

.account-form {
  display: grid;
  gap: 9px;
}

.account-form label {
  margin-top: 5px;
  color: var(--text);
  font-size: 0.9rem;
  font-weight: 600;
}

.account-form .account-remember {
  display: flex;
  align-items: center;
  gap: 9px;
  margin: 4px 0 0;
  color: var(--text);
  font-size: 0.88rem;
  font-weight: 500;
  cursor: pointer;
}

.account-remember[hidden] {
  display: none;
}

.account-remember input {
  width: 16px;
  min-height: 16px;
  margin: 0;
  accent-color: var(--accent-2);
}

.account-resend-code {
  justify-self: start;
  min-height: 32px;
  padding: 0 4px;
  color: var(--accent-2);
  background: transparent;
  border: 0;
  font: inherit;
  font-size: 0.84rem;
  cursor: pointer;
}

.account-resend-code:disabled {
  opacity: 0.6;
  cursor: wait;
}

.account-gate .account-resend-code {
  color: #00e5ff;
}

.account-gate .account-resend-code:focus-visible {
  outline: 2px solid #00e5ff;
  outline-offset: 2px;
}

.account-input {
  width: 100%;
  min-height: 44px;
  padding: 0 12px;
  color: var(--text);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 7px;
  font: inherit;
}

.account-input:focus-visible,
.account-mode-tab:focus-visible,
.account-submit:focus-visible,
.account-logout:focus-visible {
  outline: 2px solid var(--accent-2);
  outline-offset: 2px;
}

.account-hint,
.account-status {
  margin: 3px 0 0;
  color: var(--muted);
  font-size: 0.84rem;
  line-height: 1.45;
}

.account-status.is-error {
  color: #ff8585;
}

.account-submit {
  min-height: 46px;
  margin-top: 9px;
  color: #07131e;
  background: linear-gradient(135deg, var(--button), var(--button-hover));
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

.account-submit:disabled {
  cursor: wait;
  opacity: 0.7;
}

.account-gate .account-remember input {
  accent-color: #00e5ff;
}

.account-gate .account-submit {
  color: #07131e;
  background: #00e5ff;
  border-color: #00e5ff;
}

.account-gate .account-submit:hover:not(:disabled) {
  filter: brightness(1.06);
}

.account-gate .account-submit:focus-visible,
.account-gate .account-remember input:focus-visible,
.account-gate .account-input:focus-visible {
  outline-color: #00e5ff;
}

.account-settings-dialog .account-submit {
  color: var(--poster-text-color, var(--app-text-color, #f5f7fa));
}

.account-gate[hidden],
.account-loading[hidden],
.page-shell[hidden],
.poster-design-dock[hidden] {
  display: none !important;
}

.account-logout {
  min-height: 34px;
  padding: 0 10px;
  color: var(--text);
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 7px;
  font: inherit;
  cursor: pointer;
}

.account-menu[hidden] {
  display: none !important;
}

.poster-design-toggle[hidden] {
  display: none !important;
}

.account-menu {
  position: absolute;
  top: 0;
  left: auto;
  right: 0;
  z-index: 1001;
  display: grid;
  width: min(270px, calc(100vw - 24px));
  max-height: min(calc(100vh - 32px), 720px);
  padding: 8px;
  overflow-y: auto;
  overscroll-behavior: contain;
  color: var(--text);
  background: rgba(10, 17, 27, 0.98);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 10px;
  box-shadow: 0 16px 38px rgba(0, 0, 0, 0.45);
}

html body .account-menu {
  color: var(--app-text-color, var(--text)) !important;
  background: var(--app-background-color, #050b18) !important;
  border-color: color-mix(in srgb, var(--app-accent-color, var(--accent)) 40%, transparent) !important;
  box-shadow: 0 16px 38px color-mix(in srgb, var(--app-accent-color, var(--accent)) 16%, rgba(0, 0, 0, 0.4)) !important;
}

.account-menu-summary {
  display: grid;
  gap: 5px;
  padding: 10px 10px 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

html body .account-menu-summary {
  border-bottom-color: color-mix(in srgb, var(--app-accent-color, var(--accent)) 24%, transparent) !important;
}

.account-menu-label,
.account-menu-email,
.account-menu-plan {
  margin: 0;
}

.account-menu-label {
  color: var(--app-accent-color, var(--accent));
  font-size: 0.68rem;
  font-weight: 750;
}

.account-menu-email {
  overflow-wrap: anywhere;
  color: var(--text);
  font-size: 0.86rem;
}

.account-menu-plan {
  color: var(--poster-text-color, var(--app-text-color, var(--text)));
  opacity: 0.72;
  font-size: 0.78rem;
}

.account-menu-item {
  display: flex;
  align-items: center;
  gap: 9px;
  min-height: 40px;
  padding: 0 10px;
  color: var(--text);
  text-align: left;
  background: transparent;
  border: 0;
  border-radius: 6px;
  font: inherit;
  font-size: 0.86rem;
  cursor: pointer;
}

.account-menu-item[hidden] {
  display: none !important;
}

.account-menu-item svg {
  flex: 0 0 22px;
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
}

.account-menu-item .account-subscription-icon {
  overflow: visible;
  flex-basis: 22px;
  width: 22px;
  height: 22px;
  color: var(--app-accent-color, var(--accent));
}

.account-menu-item .account-poster-icon {
  color: var(--app-accent-color, var(--accent));
}

.account-menu-item .account-settings-icon {
  color: var(--app-accent-color, var(--accent));
}

.account-subscription-icon .account-subscription-icon-ring,
.account-subscription-icon .account-subscription-icon-crown {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.account-subscription-icon .account-subscription-icon-badge {
  fill: currentColor;
  stroke: none;
}

.account-subscription-mark {
  display: none;
  color: var(--app-accent-ink, #07131e);
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.account-subscription-icon[data-state="get"] .account-subscription-mark-get,
.account-subscription-icon[data-state="active"] .account-subscription-mark-active,
.account-subscription-icon[data-state="renew"] .account-subscription-mark-renew {
  display: block;
}

.account-menu-item:hover,
.account-menu-item:focus-visible {
  background: rgba(255, 255, 255, 0.09);
}

html body .account-menu-item {
  color: var(--app-text-color, var(--text)) !important;
}

html body .account-menu-item:hover,
html body .account-menu-item:focus-visible {
  background: color-mix(in srgb, var(--app-accent-color, var(--accent)) 16%, transparent) !important;
}

.account-menu-item:disabled {
  opacity: 0.6;
  cursor: wait;
}

.account-menu-signout {
  margin-top: 4px;
  color: #ff9aa6;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 0 0 6px 6px;
}

.account-payment-dialog {
  width: min(390px, calc(100vw - 32px));
  padding: 0;
  color: var(--app-text-color, #f4f8ff);
  background: var(--app-background-color, #050b18);
  border: 1px solid color-mix(in srgb, var(--app-accent-color, var(--accent)) 40%, transparent);
  border-radius: 12px;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.5);
}

.account-payment-dialog::backdrop {
  background: rgba(2, 8, 18, 0.72);
  backdrop-filter: blur(5px);
}

.account-payment-content {
  display: grid;
  gap: 16px;
  padding: 22px;
}

.account-payment-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.account-payment-heading h2 {
  margin: 4px 0 0;
  font-size: 1.25rem;
}

.account-payment-eyebrow {
  margin: 0;
  color: #b7ef58;
  font-size: 0.7rem;
  font-weight: 700;
}

.account-payment-close {
  width: 34px;
  height: 34px;
  color: #f4f8ff;
  background: linear-gradient(135deg, var(--app-accent-strong, var(--button)), var(--app-accent-color, var(--accent)));
  border: 1px solid color-mix(in srgb, var(--app-accent-color, var(--accent)) 55%, transparent);
  border-radius: 7px;
  font: inherit;
  font-size: 1.3rem;
  cursor: pointer;
  box-shadow: 0 8px 20px color-mix(in srgb, var(--app-accent-color, var(--accent)) 24%, transparent);
}

.account-payment-close:hover,
.account-payment-close:focus-visible {
  filter: brightness(1.08);
}

.account-payment-price {
  margin: 0;
  font-size: 1.12rem;
  font-weight: 700;
}

.account-payment-price span,
.account-payment-reference > span {
  color: rgba(240, 250, 255, 0.62);
  font-size: 0.82rem;
  font-weight: 400;
}

.account-payment-qr {
  display: block;
  width: min(100%, 280px);
  aspect-ratio: 1;
  margin: 0 auto;
  object-fit: contain;
  background: #fff;
  border-radius: 8px;
}

.account-payment-qr[hidden] {
  display: none;
}

.account-payment-reference {
  display: grid;
  gap: 7px;
  padding: 12px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 8px;
}

.account-payment-reference[hidden] {
  display: none !important;
}

.account-payment-reference > div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.account-payment-reference strong {
  overflow-wrap: anywhere;
  font-size: 0.92rem;
}

.account-payment-reference button {
  min-height: 30px;
  padding: 0 9px;
  color: var(--app-glass-ink, var(--app-text-color, #f5f7fa));
  background: color-mix(in srgb, var(--app-accent-color, #16e6ff) 28%, var(--app-background-color, #050b18) 72%);
  border: 1px solid color-mix(in srgb, var(--app-accent-color, #16e6ff) 55%, transparent);
  border-radius: 6px;
  font: inherit;
  font-size: 0.78rem;
  cursor: pointer;
}

.account-payment-reference button:hover,
.account-payment-reference button:focus-visible {
  background: color-mix(in srgb, var(--app-accent-color, #16e6ff) 36%, var(--app-background-color, #050b18) 64%);
}

.account-payment-status {
  min-height: 1.4em;
  margin: 0;
  color: rgba(240, 250, 255, 0.7);
  font-size: 0.84rem;
  line-height: 1.45;
}

.account-settings-dialog {
  position: static;
  width: 100%;
  max-height: none;
  margin: 0;
  padding: 0;
  overflow: visible;
  color: inherit;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

.account-settings-dialog[hidden] {
  display: none !important;
}

.account-settings-content {
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  max-height: none;
  padding: 0;
  overflow: visible;
}

.account-settings-header {
  position: static;
  z-index: 1;
  display: grid;
  grid-template-columns: 32px minmax(0, 1fr) 32px;
  align-items: center;
  gap: 9px;
  margin: 4px -8px 8px;
  padding: 8px;
  background: var(--app-background-color, #050b18);
  border-bottom: 1px solid color-mix(in srgb, var(--app-accent-color, var(--accent)) 24%, transparent);
}

.account-settings-header[hidden] {
  display: none !important;
}

.account-settings-header h2 {
  margin: 0;
  color: var(--app-text-color, var(--text));
  text-align: center;
  font-size: 1.05rem;
  font-weight: 650;
}

.account-settings-list,
.account-settings-pages,
.account-settings-group {
  display: grid;
  gap: 5px;
}

.account-settings-list[hidden],
.account-settings-pages[hidden],
.account-settings-page[hidden] {
  display: none !important;
}

.account-settings-group {
  gap: 5px;
  padding-bottom: 10px;
  border-bottom: 1px solid color-mix(in srgb, var(--app-accent-color, var(--accent)) 24%, transparent);
}

.account-settings-section-label {
  margin: 8px 10px 3px;
  color: var(--app-accent-color, var(--accent));
  font-size: 0.7rem;
  font-weight: 750;
}

.account-settings-item {
  display: flex;
  align-items: center;
  gap: 11px;
  width: 100%;
  min-height: 44px;
  padding: 0 10px;
  color: var(--app-text-color, var(--text));
  text-align: left;
  background: transparent;
  border: 0;
  border-radius: 7px;
  font: inherit;
  font-size: 0.88rem;
  cursor: pointer;
}

.account-settings-item svg {
  flex: 0 0 19px;
  width: 19px;
  height: 19px;
  fill: none;
  stroke: var(--app-accent-color, var(--accent));
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.account-settings-item:hover,
.account-settings-item:focus-visible {
  background: color-mix(in srgb, var(--app-accent-color, var(--accent)) 16%, transparent);
}

.account-settings-logout {
  margin-top: 8px;
  border-top: 1px solid color-mix(in srgb, var(--app-accent-color, var(--accent)) 24%, transparent);
  border-radius: 0 0 7px 7px;
}

.account-settings-page {
  display: grid;
  align-content: start;
  gap: 13px;
  padding: 10px 2px 4px;
}

.account-settings-detail {
  display: grid;
  gap: 5px;
  padding: 11px 12px;
  background: color-mix(in srgb, var(--app-glass-color, #123754) 76%, transparent);
  border: 1px solid color-mix(in srgb, var(--app-accent-color, var(--accent)) 30%, transparent);
  border-radius: 8px;
}

.account-settings-detail span {
  color: var(--muted);
  font-size: 0.76rem;
}

.account-settings-detail strong {
  overflow-wrap: anywhere;
  color: var(--app-text-color, var(--text));
  font-size: 0.9rem;
  font-weight: 550;
}

.account-password-form label {
  color: var(--app-text-color, var(--text));
  font-size: 0.86rem;
  font-weight: 600;
}

.account-settings-status {
  min-height: 1.4em;
  margin: 0;
  color: var(--muted);
  font-size: 0.82rem;
}

.account-settings-status.is-error {
  color: #ff8585;
}

.account-legal-copy p {
  margin: 0;
  color: var(--app-text-color, var(--text));
  font-size: 0.88rem;
  line-height: 1.55;
}

@media (max-width: 680px) {
}

@media (max-width: 520px) {
  .account-card {
    padding: 22px 18px;
  }

}

body {
  min-height: 100vh;
  display: flex;
  justify-content: center;
  background: radial-gradient(circle at top left, rgba(151, 41, 61, 0.15), transparent 25%), var(--bg);
}

button, input {
  font: inherit;
}

.page-shell {
  width: min(1280px, calc(100vw - 32px));
  margin: 18px auto 32px;
  background: rgba(11, 13, 18, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 26px 60px rgba(0, 0, 0, 0.34);
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  padding: 15px 20px 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(17, 20, 28, 0.96);
}

.logout-form {
  margin-left: auto;
}

.logout-button {
  min-height: 38px;
  padding: 0 12px;
  color: rgba(220, 247, 255, 0.8);
  background: transparent;
  border: 1px solid rgba(56, 198, 238, 0.22);
  border-radius: 9px;
  cursor: pointer;
  font: inherit;
  font-size: 0.86rem;
}

.logout-button:hover,
.logout-button:focus-visible {
  color: #20e8f5;
  border-color: rgba(32, 232, 245, 0.5);
}

.brand {
  display: flex;
  align-items: center;
  gap: 16px;
}

.brand-mark {
  position: relative;
  width: 84px;
  height: 68px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  font-size: 42px;
  color: #f7f3ef;
  letter-spacing: -0.08em;
  text-shadow: 0 0 18px rgba(255,255,255,0.18);
  font-family: "Arial Black", Impact, sans-serif;
}

.brand-mark::before,
.brand-mark::after {
  content: "";
  position: absolute;
  inset: 4px 15px 4px 12px;
  border-radius: 12px;
  background: linear-gradient(180deg, rgba(255,255,255,0.2), rgba(255,255,255,0.02));
  transform: skewX(-16deg);
  opacity: 0.75;
}

.brand-mark span {
  position: relative;
  z-index: 1;
}

.brand-name {
  display: flex;
  align-items: baseline;
  gap: 0.2rem;
  font-weight: 900;
  letter-spacing: 0.02em;
  color: white;
  text-transform: uppercase;
  line-height: 0.9;
}

.brand-name .connect {
  font-size: 28px;
}

.brand-name .saigon {
  font-size: 18px;
  letter-spacing: 0.14em;
  opacity: 0.95;
}

.site-name {
  display: block;
  width: min(360px, 42vw);
  height: auto;
  margin: 0 auto;
  object-fit: contain;
}

@media (max-width: 640px) {
  .site-name {
    width: min(240px, 72vw);
  }
}

.layout {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(320px, 0.9fr);
  gap: 28px;
  padding: 26px 18px 20px 18px;
  background: rgba(9, 12, 18, 0.88);
}

.panel {
  background: rgba(15, 18, 24, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.04);
  border-radius: 18px;
  padding: 18px 20px 16px;
  min-width: 0;
}

.main-panel {
  padding-top: 10px;
}

.eyebrow {
  color: #ff5e7d;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-size: 0.95rem;
  margin: 10px 0 16px;
}

.header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 22px;
}

h1 {
  margin: 0;
  font-size: clamp(2.6rem, 4vw, 5rem);
  font-weight: 900;
  line-height: 0.9;
  letter-spacing: -0.08em;
  color: #f5f5f7;
}

.new-booking {
  border: 0;
  background: transparent;
  color: rgba(255,255,255,0.8);
  font: inherit;
  font-size: 1.08rem;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
}

.new-booking::before {
  content: "+";
  font-size: 2rem;
  line-height: 1;
  font-weight: 300;
  display: inline-block;
  transform: translateY(-2px);
}

.quick-fill {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  height: 72px;
  width: 100%;
  padding: 0 18px 0 20px;
  margin-bottom: 26px;
  border-radius: 16px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.07);
  color: rgba(255,255,255,0.82);
  font-size: 1.2rem;
  cursor: pointer;
}

.quick-fill strong {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.78);
  font-weight: 500;
}

.section-label {
  margin: 0 0 12px;
  font-size: 1.05rem;
  color: rgba(255,255,255,0.9);
  font-weight: 500;
}

.outlet-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 18px 18px 16px 18px;
  border-radius: 18px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  margin-bottom: 18px;
}

.outlet-card:has(.search-btn:focus-visible) {
  border-color: rgba(239, 61, 97, 0.5);
}

.outlet-menu {
  margin: -6px 0 18px;
  padding: 12px;
  background: rgba(255,255,255,0.035);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 16px;
}

.outlet-menu[hidden] {
  display: none;
}

.outlet-brand {
  display: flex;
  align-items: center;
  gap: 18px;
  min-width: 0;
  flex: 1;
}

.script-logo {
  font-family: "Georgia", "Times New Roman", serif;
  font-style: italic;
  font-size: clamp(2.2rem, 3vw, 4rem);
  line-height: 1;
  color: rgba(255,255,255,0.86);
  letter-spacing: -0.08em;
  transform: translateY(2px);
}

.script-logo.has-logo-image {
  display: flex;
  flex: 0 1 143px;
  width: 143px;
  height: 94px;
  min-width: 0;
  align-items: center;
  justify-content: center;
  transform: none;
}

.selected-outlet-logo-image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.outlet-brand.has-logo-image {
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 4px;
}

.outlet-brand.has-logo-image .script-logo.has-logo-image {
  flex: 0 0 72px;
}

.outlet-brand.has-logo-image .outlet-subtext {
  width: 143px;
  text-align: center;
  font-size: clamp(1rem, 1.4vw, 1.2rem);
  line-height: 1.05;
  letter-spacing: 0;
  overflow-wrap: anywhere;
}

.outlet-subtext {
  font-size: clamp(1.4rem, 2vw, 2.3rem);
  font-weight: 700;
  color: rgba(255,255,255,0.82);
  letter-spacing: -0.06em;
}

.search-btn {
  border: 0;
  padding: 0 28px;
  width: 231px;
  min-width: 231px;
  flex: 0 0 231px;
  height: 76px;
  border-radius: 16px;
  background: linear-gradient(180deg, var(--button), var(--button-hover));
  color: white;
  font: inherit;
  font-weight: 700;
  font-size: 1.2rem;
  letter-spacing: -0.03em;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  box-shadow: 0 12px 20px rgba(239, 61, 97, 0.25);
}

.hint {
  margin: 0 0 20px;
  color: rgba(255,255,255,0.56);
  font-size: 1rem;
  line-height: 1.4;
}

.field {
  margin-bottom: 20px;
}

.field-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}

.label-row {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: -0.04em;
  color: rgba(255,255,255,0.96);
}

.required {
  color: var(--accent);
  font-weight: 700;
}

.optional {
  color: rgba(255,255,255,0.44);
  font-weight: 500;
  font-size: 0.9rem;
}

.input, .spinner {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.08);
  color: var(--text);
  border-radius: 14px;
  height: 64px;
  width: 100%;
  padding: 0 18px;
  font: inherit;
  font-size: 1.2rem;
  outline: none;
}

select.input {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16'%3E%3Cpath d='M3 6.5 8 11l5-4.5' fill='none' stroke='%23bfe9ff' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 18px center;
  background-size: 16px 16px;
  padding-right: 48px;
}

.input::placeholder {
  color: rgba(255,255,255,0.36);
}

.input:focus {
  border-color: rgba(255,255,255,0.15);
  box-shadow: 0 0 0 3px rgba(255,255,255,0.04);
}

input[type="date"],
input[type="time"] {
  color-scheme: dark;
  appearance: none;
  -webkit-appearance: none;
  display: flex;
  align-items: center;
  min-height: 58px;
  height: 58px;
  line-height: 1.2;
}

.field-picker-wrap {
  position: relative;
  width: 100%;
  min-width: 0;
}

.field-picker-wrap input[type="date"],
.field-picker-wrap input[type="time"] {
  padding-right: 48px;
  min-height: 58px;
  height: 58px;
  line-height: 1.2;
}

.field-picker-wrap input[type="date"]::-webkit-calendar-picker-indicator,
.field-picker-wrap input[type="time"]::-webkit-calendar-picker-indicator {
  width: 34px;
  height: 34px;
  opacity: 0;
  cursor: pointer;
}

.field-picker-icon {
  position: absolute;
  top: 50%;
  right: 17px;
  width: 22px;
  height: 22px;
  fill: none;
  stroke: var(--poster-text-color, var(--app-text-color, #f5f7fa));
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  pointer-events: none;
  transform: translateY(-50%);
}

.table-deal-picker {
  position: relative;
  width: 100%;
}

.table-deal-picker.is-open {
  z-index: 30;
}

.table-deal-native-select {
  display: none;
}

.table-deal-trigger {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-right: 52px;
  text-align: left;
  cursor: pointer;
}

.table-deal-trigger::after,
.venue-card::after {
  content: "";
  position: absolute;
  right: 18px;
  top: 50%;
  width: 9px;
  height: 9px;
  border-right: 2px solid rgba(191, 233, 255, 0.92);
  border-bottom: 2px solid rgba(191, 233, 255, 0.92);
  transform: translateY(-65%) rotate(45deg);
  pointer-events: none;
  border-radius: 1px;
}

.table-deal-trigger[aria-expanded="true"]::after,
.venue-card[aria-expanded="true"]::after {
  transform: translateY(-35%) rotate(225deg);
}

.table-deal-chevron {
  position: absolute;
  top: 50%;
  right: 16px;
  color: rgba(235, 249, 255, 0.9);
  font-size: 1.8rem;
  line-height: 1;
  transform: translateY(-50%);
  transition: transform 0.16s ease;
  opacity: 0;
  pointer-events: none;
}

.table-deal-trigger[aria-expanded="true"] .table-deal-chevron {
  transform: translateY(-50%) rotate(180deg);
}

.table-deal-menu {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  z-index: 40;
  display: grid;
  width: 100%;
  gap: 6px;
  max-height: min(48vh, 360px);
  padding: 8px;
  overflow-y: auto;
  overscroll-behavior-y: contain;
  scrollbar-color: var(--app-accent-color, var(--accent)) rgba(255, 255, 255, 0.08);
  scrollbar-width: thin;
  background: color-mix(in srgb, var(--app-background-color, #050b18) 54%, #07111c 46%);
  border: 1px solid color-mix(in srgb, #d8fbff 42%, var(--app-accent-color, var(--accent)) 58%);
  border-radius: 14px;
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.32);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.table-deal-menu[hidden] {
  display: none;
}

.table-deal-add-row {
  position: sticky;
  top: 0;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px;
  padding: 0 0 6px;
  background: color-mix(in srgb, var(--app-background-color, #050b18) 54%, #07111c 46%);
}

.table-deal-add-input {
  min-height: 38px;
  padding: 0 12px;
  color: var(--app-text-color, var(--text));
  background: color-mix(in srgb, var(--app-background-color, #050b18) 54%, #07111c 46%);
  border: 1px solid color-mix(in srgb, #d8fbff 42%, var(--app-accent-color, var(--accent)) 58%);
  border-radius: 10px;
  font: inherit;
}

.table-deal-add-button {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  flex: 0 0 38px;
  padding: 0;
  color: var(--app-text-color, var(--text));
  background: linear-gradient(135deg, var(--app-accent-strong, var(--button)), var(--app-accent-color, var(--accent)));
  border: 1px solid color-mix(in srgb, var(--app-accent-color, var(--accent)) 55%, transparent);
  border-radius: 8px;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

.table-deal-add-button svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: var(--poster-text-color, var(--app-text-color, #f5f7fa)) !important;
  stroke-width: 2;
  stroke-linecap: round;
}

.table-deal-option-row {
  display: flex;
  align-items: center;
  gap: 8px;
}

.table-deal-option {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex: 1;
  width: 100%;
  min-height: 42px;
  padding: 0 12px;
  color: rgba(245, 250, 255, 0.9);
  text-align: left;
  background: transparent;
  border: 1px solid transparent;
  border-radius: 10px;
  cursor: pointer;
  font: inherit;
  transition: background 0.15s ease, border-color 0.15s ease;
}

.table-deal-option:hover,
.table-deal-option:focus-visible,
.table-deal-option.active {
  background: color-mix(in srgb, var(--app-accent-color, var(--accent)) 10%, transparent);
  border-color: color-mix(in srgb, var(--app-accent-color, var(--accent)) 28%, transparent);
}

.table-deal-remove {
  width: 30px;
  height: 30px;
  flex: 0 0 30px;
  color: var(--app-accent-color, var(--accent)) !important;
  background: color-mix(in srgb, var(--app-accent-color, var(--accent)) 12%, transparent);
  border: 1px solid color-mix(in srgb, #efffff 64%, var(--app-accent-color, #16e6ff) 36%);
  border-radius: 8px;
  font: inherit;
  font-size: 1.1rem;
  line-height: 1;
  cursor: pointer;
}

.table-deal-remove:hover,
.table-deal-remove:focus-visible {
  background: color-mix(in srgb, var(--app-accent-color, var(--accent)) 12%, transparent);
  border-color: color-mix(in srgb, #efffff 64%, var(--app-accent-color, #16e6ff) 36%);
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--app-accent-color, #16e6ff) 18%, transparent);
}

html body .page-shell .table-deal-menu .table-deal-remove {
  color: var(--app-accent-color, var(--accent)) !important;
  background: color-mix(in srgb, var(--app-accent-color, var(--accent)) 12%, transparent) !important;
  border-color: color-mix(in srgb, var(--app-accent-color, var(--accent)) 28%, transparent) !important;
  box-shadow: none;
}

html body .page-shell .table-deal-menu .table-deal-remove:is(:hover, :focus-visible, :active) {
  background: color-mix(in srgb, var(--app-accent-color, var(--accent)) 12%, transparent) !important;
  border-color: color-mix(in srgb, #efffff 64%, var(--app-accent-color, #16e6ff) 36%) !important;
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--app-accent-color, #16e6ff) 18%, transparent) !important;
}

.spinner {
  display: grid;
  grid-template-columns: 48px 1fr 48px;
  align-items: center;
  padding: 0;
  overflow: hidden;
}

.stepper {
  border: none;
  background: transparent;
  color: rgba(255,255,255,0.8);
  font-size: 2rem;
  font-weight: 400;
  cursor: pointer;
  width: 100%;
  height: 100%;
}

.stepper:hover {
  background: rgba(255,255,255,0.02);
}

.stepper-value {
  width: 100%;
  min-width: 0;
  padding: 0;
  color: inherit;
  background: transparent;
  border: 0;
  outline: none;
  appearance: textfield;
  text-align: center;
  font-size: 2rem;
  font-weight: 700;
  letter-spacing: -0.05em;
}

.stepper-value::-webkit-inner-spin-button,
.stepper-value::-webkit-outer-spin-button {
  margin: 0;
  appearance: none;
}

.inline-hint {
  margin: 6px 2px 0;
  color: rgba(255,255,255,0.54);
  font-size: 0.98rem;
  line-height: 1.4;
}

.remember {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 10px;
  color: rgba(255,255,255,0.82);
  font-weight: 500;
  cursor: pointer;
  flex: 1;
  font-size: 0.92rem;
}

.remember input {
  margin: 0;
  width: 18px;
  height: 18px;
  accent-color: #ff5a7c;
}

.remember input:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.booker-default-hint {
  margin: 6px 2px 0;
  color: rgba(255,255,255,0.55);
  font-size: 0.78rem;
  line-height: 1.4;
}

.venue-card {
  position: relative;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 52px 16px 18px;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 14px;
  background: rgba(255,255,255,0.03);
  margin-top: 8px;
  min-height: 80px;
  color: inherit;
  text-align: left;
  font: inherit;
  cursor: pointer;
  appearance: none;
}

.venue-details-chevron {
  position: absolute;
  right: 18px;
  top: 50%;
  transform: translateY(-50%);
  margin-left: 4px;
  font-size: 1.35rem;
  transition: transform 0.15s ease;
  opacity: 0;
  pointer-events: none;
}

.venue-card[aria-expanded="true"] .venue-details-chevron {
  transform: rotate(180deg);
}

.venue-details-editor {
  display: grid;
  gap: 14px;
  margin-top: 8px;
  padding: 16px;
  background: rgba(12, 34, 57, 0.58);
  border: 1px solid rgba(56, 198, 238, 0.2);
  border-radius: 14px;
}

.venue-details-editor[hidden] {
  display: none;
}

.venue-edit-field {
  display: grid;
  gap: 7px;
  color: rgba(240, 250, 255, 0.76);
  font-size: 0.92rem;
}

.venue-edit-field .input {
  height: 50px;
}

.venue-policy-editor {
  height: auto !important;
  min-height: 116px;
  padding: 12px !important;
  line-height: 1.45;
  resize: vertical;
}

.venue-edit-error {
  margin: 0;
  color: #ff9ca8;
  font-size: 0.88rem;
}

.venue-edit-error[hidden] {
  display: none;
}

.venue-details-save {
  justify-self: end;
  min-height: 44px;
  padding: 0 18px;
}

.venue-label {
  color: rgba(255,255,255,0.86);
  font-size: 1.05rem;
  letter-spacing: -0.04em;
}

.venue-tag {
  position: absolute;
  top: 50%;
  left: 50%;
  display: grid;
  place-items: center;
  flex: 0 0 52px;
  width: 52px;
  height: 52px;
  padding: 4px;
  overflow: hidden;
  background: rgba(255,255,255,0.035);
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,0.08);
  transform: translate(-50%, -50%);
}

.venue-tag-logo {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.venue-tag-logo[hidden],
.venue-tag-monogram[hidden] {
  display: none;
}

.venue-tag-monogram {
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
  color: rgba(240, 250, 255, 0.92);
  background: linear-gradient(135deg, rgba(8, 170, 190, 0.45), rgba(44, 235, 241, 0.16));
  border-radius: 8px;
  font-size: 1.15rem;
  font-weight: 700;
}

.venue-logo-grid {
  display: flex;
  flex: 0 1 auto;
  min-width: 0;
  max-width: 996px;
  overflow-x: auto;
  overflow-y: hidden;
  overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  scrollbar-color: color-mix(in srgb, var(--app-accent-color, #2cebf1) 55%, transparent) rgba(255, 255, 255, 0.04);
  scrollbar-width: thin;
  -webkit-overflow-scrolling: touch;
  cursor: grab;
  gap: 12px;
  margin: 0;
}

.venue-picker-row {
  display: flex;
  align-items: center;
  gap: 12px;
}

.venue-menu-actions {
  display: flex;
  flex: 0 0 auto;
  gap: 8px;
  margin-left: auto;
  margin-right: 6px;
}

.venue-action-button {
  display: grid;
  place-items: center;
  flex: 0 0 111.5px;
  width: 111.5px;
  height: 76px;
  padding: 0;
  color: #031321;
  background: linear-gradient(135deg, #08aabe, #2cebf1);
  border: 0;
  border-radius: 10px;
  box-shadow: 0 10px 28px rgba(15, 214, 235, 0.2);
  cursor: pointer;
  transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.venue-action-button:hover,
.venue-action-button:focus-visible {
  color: #031321;
  background: linear-gradient(135deg, #12bfd0, #55f0f3);
}

.venue-action-button svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.shared-club-data {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 10px;
  padding: 10px 4px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.shared-club-publish-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 40px;
  padding: 0 12px;
  color: rgba(220, 247, 255, 0.88);
  background: rgba(22, 230, 255, 0.07);
  border: 1px solid rgba(22, 230, 255, 0.22);
  border-radius: 10px;
  font: inherit;
  font-size: 0.84rem;
  cursor: pointer;
}

.shared-club-publish-button[hidden],
.shared-club-data-status[hidden] {
  display: none;
}

.shared-club-publish-button svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.shared-club-publish-button:disabled {
  opacity: 0.6;
  cursor: wait;
}

.shared-club-data-status {
  margin: 0;
  color: rgba(220, 247, 255, 0.58);
  font-size: 0.78rem;
  overflow-wrap: anywhere;
}

.shared-club-data-status.is-error {
  color: #ff8291;
}

.club-search-panel {
  display: grid;
  gap: 8px;
  margin-top: 10px;
}

.club-search-panel[hidden],
.club-search-empty[hidden],
.venue-option[hidden] {
  display: none;
}

.club-search-empty {
  padding: 8px 4px;
  color: rgba(240, 250, 255, 0.62);
  font-size: 0.9rem;
}

.club-dialog {
  width: min(440px, calc(100vw - 32px));
  max-height: min(92vh, 900px);
  padding: 0;
  overflow: hidden;
  color: #f4f8ff;
  background: #0c2239;
  border: 1px solid rgba(56, 198, 238, 0.3);
  border-radius: 16px;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.5);
}

.club-dialog::backdrop {
  background: rgba(2, 8, 18, 0.72);
  backdrop-filter: blur(5px);
}

.club-dialog-form {
  display: grid;
  gap: 18px;
  max-height: min(92vh, 900px);
  padding: 22px;
  overflow-y: auto;
  overscroll-behavior: contain;
}

.club-dialog-header,
.club-dialog-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.club-dialog-header h2 {
  margin: 0;
  font-size: 1.2rem;
  font-weight: 650;
}

.club-dialog-close {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  padding: 0;
  color: rgba(240, 250, 255, 0.8);
  background: transparent;
  border: 1px solid rgba(56, 198, 238, 0.22);
  border-radius: 10px;
  cursor: pointer;
  font: inherit;
  font-size: 1.4rem;
}

.club-dialog-field {
  display: grid;
  gap: 7px;
  color: rgba(240, 250, 255, 0.76);
  font-size: 0.92rem;
}

.club-dialog-field .input {
  height: 50px;
}

.club-logo-input {
  height: auto !important;
  min-height: 50px;
  padding: 8px !important;
}

.club-logo-preview {
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto;
  justify-items: center;
  align-items: center;
  gap: 4px;
  height: 144px;
  min-height: 144px;
  padding: 8px 14px;
  overflow: hidden;
  color: rgba(240, 250, 255, 0.7);
  background-color: #10263b;
  background-image: linear-gradient(45deg, rgba(255,255,255,0.045) 25%, transparent 25%, transparent 75%, rgba(255,255,255,0.045) 75%), linear-gradient(45deg, rgba(255,255,255,0.045) 25%, transparent 25%, transparent 75%, rgba(255,255,255,0.045) 75%);
  background-position: 0 0, 8px 8px;
  background-size: 16px 16px;
  border: 1px solid rgba(56, 198, 238, 0.18);
  border-radius: 12px;
  font-size: 0.82rem;
}

.club-logo-preview[hidden] {
  display: none;
}

.club-logo-preview img {
  width: 220px;
  max-width: 100%;
  height: 60px;
  max-height: 100%;
  object-fit: contain;
}

.venue-line.venue-logo-expanded {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: start;
  column-gap: 16px;
  row-gap: 16px;
}

.venue-line.venue-logo-expanded .poster-venue-logo {
  grid-column: 1 / -1;
}

.venue-line.venue-logo-expanded .preview-deal {
  grid-column: 2;
  justify-self: end;
}

.club-logo-preview img[hidden] {
  display: none;
}

.club-logo-preview span {
  overflow-wrap: anywhere;
}

.club-logo-scale-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: -4px;
}

.club-logo-scale-controls[hidden] {
  display: none;
}

.club-logo-scale-button {
  display: grid;
  place-items: center;
  flex: 0 0 38px;
  width: 38px;
  height: 38px;
  padding: 0;
  color: rgba(240, 250, 255, 0.9);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(56, 198, 238, 0.24);
  border-radius: 10px;
  font: inherit;
  font-size: 1.35rem;
  cursor: pointer;
}

.club-logo-scale-button:hover,
.club-logo-scale-button:focus-visible {
  border-color: rgba(32, 232, 245, 0.7);
}

.club-logo-scale-button:disabled {
  opacity: 0.38;
  cursor: not-allowed;
}

#clubLogoScaleValue {
  min-width: 4ch;
  color: rgba(240, 250, 255, 0.85);
  font-weight: 700;
  text-align: center;
}

.club-full-poster-preview {
  display: grid;
  gap: 8px;
}

.club-full-poster-preview-title {
  color: rgba(220, 247, 255, 0.7);
  font-size: 0.68rem;
  font-weight: 700;
}

.club-full-poster-preview-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 953 / 1650;
  overflow: hidden;
  background: #06172d;
  border: 1px solid rgba(56, 198, 238, 0.25);
  border-radius: 12px;
}

.policy-character-count {
  display: block;
  margin-top: -12px;
  color: rgba(220, 247, 255, 0.58);
  font-size: 0.76rem;
  text-align: right;
}

.club-policy-input {
  height: auto !important;
  min-height: 116px;
  padding: 12px !important;
  line-height: 1.45;
  resize: vertical;
}

.club-form-error {
  margin: -6px 0 0;
  color: #ff8291;
  font-size: 0.88rem;
}

.club-dialog-actions {
  justify-content: flex-end;
}

.club-dialog-cancel {
  min-height: 46px;
  padding: 0 16px;
  color: rgba(240, 250, 255, 0.82);
  background: transparent;
  border: 1px solid rgba(56, 198, 238, 0.25);
  border-radius: 12px;
  cursor: pointer;
  font: inherit;
}

.club-dialog-actions .download-btn {
  min-height: 46px;
  padding: 0 18px;
}

.venue-context-menu {
  position: fixed;
  z-index: 1200;
  display: grid;
  width: 160px;
  gap: 4px;
  padding: 6px;
  background: rgba(12, 34, 57, 0.96);
  border: 1px solid rgba(56, 198, 238, 0.26);
  border-radius: 12px;
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.38);
}

.venue-context-menu[hidden] {
  display: none;
}

.venue-context-menu button {
  min-height: 40px;
  padding: 0 10px;
  color: rgba(245, 250, 255, 0.9);
  text-align: left;
  background: transparent;
  border: 1px solid transparent;
  border-radius: 8px;
  cursor: pointer;
  font: inherit;
}

.venue-context-menu button:hover,
.venue-context-menu button:focus-visible {
  background: rgba(20, 225, 237, 0.1);
  border-color: rgba(32, 232, 245, 0.28);
}

.venue-context-menu #deleteVenueAction:hover,
.venue-context-menu #deleteVenueAction:focus-visible {
  color: #ff9ca8;
  background: rgba(255, 94, 125, 0.12);
  border-color: rgba(255, 94, 125, 0.28);
}

.venue-context-menu {
  position: fixed;
  z-index: 1200;
  display: grid;
  width: 160px;
  gap: 4px;
  padding: 6px;
  background: rgba(12, 34, 57, 0.96);
  border: 1px solid rgba(56, 198, 238, 0.26);
  border-radius: 12px;
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.38);
}

.venue-context-menu[hidden] {
  display: none;
}

.venue-context-menu button {
  min-height: 40px;
  padding: 0 10px;
  color: rgba(245, 250, 255, 0.9);
  text-align: left;
  background: transparent;
  border: 1px solid transparent;
  border-radius: 8px;
  cursor: pointer;
  font: inherit;
}

.venue-context-menu button:hover,
.venue-context-menu button:focus-visible {
  background: rgba(20, 225, 237, 0.1);
  border-color: rgba(32, 232, 245, 0.28);
}

.venue-context-menu #deleteVenueAction:hover,
.venue-context-menu #deleteVenueAction:focus-visible {
  color: #ff9ca8;
  background: rgba(255, 94, 125, 0.12);
  border-color: rgba(255, 94, 125, 0.28);
}

.venue-logo-grid::-webkit-scrollbar {
  height: 8px;
}

.venue-logo-grid::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.04);
  border-radius: 999px;
}

.venue-logo-grid::-webkit-scrollbar-thumb {
  background: color-mix(in srgb, var(--app-accent-color, #2cebf1) 55%, transparent);
  border-radius: 999px;
}

.venue-option {
  position: relative;
  flex: 0 0 114px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 92px;
  padding: 10px 12px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,0.08);
  background: rgba(255,255,255,0.02);
  color: rgba(255,255,255,0.84);
  cursor: pointer;
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  user-select: none;
  scroll-snap-align: start;
  transition: transform 0.15s ease, border-color 0.15s ease, background 0.15s ease;
}

.venue-option:hover {
  transform: translateY(-1px);
  border-color: rgba(255,255,255,0.14);
}

.venue-logo-grid.is-dragging,
.venue-logo-grid.is-dragging * {
  cursor: grabbing !important;
  user-select: none !important;
}

#previewVenueName[hidden],
#previewVenueLogo[hidden] {
  display: none !important;
}

.poster-venue-logo {
  display: block;
  flex: 0 0 346px;
  width: 346px;
  height: 126px;
  max-width: calc(100% - 128px);
  object-fit: contain;
  object-position: left center;
  transform-origin: left center;
}

.venue-option.active {
  background: rgba(239, 61, 97, 0.08);
  border-color: rgba(239, 61, 97, 0.45);
  box-shadow: inset 0 0 0 1px rgba(239, 61, 97, 0.15);
}

.venue-logo-mark {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  font-family: "Georgia", serif;
  font-style: italic;
  font-weight: 700;
  font-size: 1.1rem;
  letter-spacing: -0.04em;
  color: rgba(255,255,255,0.9);
}

.venue-logo-mark.has-logo-image {
  position: relative;
  width: 84px;
  overflow: hidden;
}

.venue-logo-image {
  display: block;
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  max-height: none;
  object-fit: contain;
  object-position: center;
}

.venue-option-name {
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.download-wrap {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 18px;
  flex-wrap: wrap;
}

.download-btn {
  border: 0;
  height: 60px;
  padding: 0 24px;
  border-radius: 14px;
  background: linear-gradient(180deg, var(--button), var(--button-hover));
  color: white;
  font: inherit;
  font-size: 1.05rem;
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.download-btn::before {
  content: "↓";
  font-size: 1.3rem;
  font-weight: 700;
}

.download-meta {
  color: rgba(255,255,255,0.54);
  font-size: 0.98rem;
}

.support-note {
  margin-top: 20px;
  padding-top: 18px;
  border-top: 1px solid rgba(255,255,255,0.05);
  color: rgba(255,255,255,0.58);
  font-size: 0.95rem;
  line-height: 1.5;
}

.preview-panel {
  background: rgba(17, 20, 28, 0.84);
  padding: 20px 18px 16px;
}

.preview-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 16px;
}

.preview-header h2 {
  margin: 0;
  font-size: 1.25rem;
  letter-spacing: -0.04em;
  color: rgba(255,255,255,0.88);
}

.preview-badge {
  color: rgba(255,255,255,0.68);
  font-size: 0.8rem;
  letter-spacing: 0.2em;
  font-weight: 700;
}

.preview-card {
  background: linear-gradient(180deg, #121824, #0d1119);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 24px;
  padding: 18px 16px 14px;
  min-height: 770px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.04);
  position: relative;
  overflow: hidden;
}

.preview-window {
  width: 100%;
  max-width: 460px;
  aspect-ratio: 9 / 16;
  border-radius: 18px;
  background: linear-gradient(180deg, #0f121a, #1a1d28 40%, #0b0d14);
  border: 1px solid rgba(255,255,255,0.08);
  box-shadow: 0 22px 28px rgba(0,0,0,0.28);
  position: relative;
  overflow: hidden;
}

.preview-window::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(255,255,255,0.06), transparent 12%, transparent 72%, rgba(0,0,0,0.2));
  pointer-events: none;
}

.preview-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 24px 16px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  color: rgba(255,255,255,0.82);
  font-size: 0.78rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-weight: 700;
}

.logo-mini {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
}

.logo-mark {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.08);
  font-weight: 800;
  color: white;
  font-size: 0.85rem;
}

.preview-body {
  padding: 22px 22px 0;
  color: rgba(255,255,255,0.92);
}

.venue-name {
  display: inline-block;
  margin-bottom: 14px;
  color: rgba(255,255,255,0.8);
  font-size: 0.82rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  opacity: 0.8;
}

.main-title {
  margin: 0 0 22px;
  font-size: clamp(2rem, 3vw, 3rem);
  line-height: 1.1;
  letter-spacing: -0.08em;
  font-weight: 800;
}

.title-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.title-row .main-title {
  min-width: 0;
}

.preview-deal {
  flex: 0 0 auto;
  margin-top: 4px;
  color: rgba(255,255,255,0.92);
  font-size: 1.25rem;
  line-height: 1.2;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.preview-deal[hidden] {
  display: none;
}

.meta {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px 18px;
  color: rgba(255,255,255,0.72);
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.meta strong {
  display: block;
  font-size: 1.45rem;
  letter-spacing: -0.05em;
  text-transform: none;
  margin-top: 7px;
  color: rgba(255,255,255,0.94);
}

.note {
  margin-top: 24px;
  color: rgba(255,255,255,0.62);
  font-size: 0.8rem;
  line-height: 1.6;
  letter-spacing: 0.04em;
}

.preview-footer {
  position: absolute;
  left: 22px;
  right: 22px;
  bottom: 22px;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 12px;
  color: rgba(255,255,255,0.76);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.qr {
  width: 72px;
  height: 72px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(255,255,255,0.14), rgba(255,255,255,0.04));
  border: 1px solid rgba(255,255,255,0.08);
  display: grid;
  place-items: center;
  font-size: 1.5rem;
  font-weight: 800;
  color: rgba(255,255,255,0.9);
}

@media (max-width: 980px) {
  .layout {
    grid-template-columns: 1fr;
  }

  .preview-panel {
    order: 2;
  }

  .main-panel {
    order: 1;
  }
}

@media (max-width: 640px) {
  .page-shell {
    width: calc(100vw - 12px);
    margin-top: 0;
  }

  .topbar {
    flex-direction: column;
    align-items: center;
  }

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

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

  .outlet-card {
    flex-direction: column;
    align-items: stretch;
  }

  .search-btn {
    width: 231px;
  }

}

/* Precision layout overrides for the confirmation editor and ticket preview. */
:root {
  --bg: #050b18;
  --bg-2: #08172b;
  --panel: rgba(7, 20, 38, 0.86);
  --panel-strong: rgba(10, 30, 52, 0.92);
  --text: #f5f7fa;
  --muted: #a8b4c7;
  --accent: #16e6ff;
  --accent-2: #73c8ff;
  --button: #0dbbd1;
  --button-hover: #17e6ff;
  --line: rgba(22, 230, 255, 0.22);
  --soft: rgba(22, 230, 255, 0.08);
  --soft-2: rgba(255, 255, 255, 0.035);
}

html,
body {
  min-height: 100%;
  background: var(--bg);
  font-family: Inter, Manrope, "Segoe UI", sans-serif;
}

body {
  display: block;
  background:
    linear-gradient(128deg, rgba(23, 107, 255, 0.12), transparent 32%),
    linear-gradient(315deg, rgba(108, 99, 255, 0.11), transparent 36%),
    radial-gradient(circle at 78% 18%, rgba(22, 230, 255, 0.08), transparent 28%),
    var(--bg);
}

button,
input {
  font-family: inherit;
}

.page-shell {
  width: min(1380px, calc(100vw - 32px));
  margin: 24px auto 36px;
  overflow: hidden;
  background: rgba(4, 12, 26, 0.78);
  border: 1px solid rgba(22, 230, 255, 0.2);
  border-radius: 28px;
  box-shadow: 0 0 42px rgba(0, 220, 255, 0.08), 0 28px 80px rgba(0, 0, 0, 0.42);
}

.topbar {
  min-height: 88px;
  padding: 14px 28px;
  background: rgba(5, 15, 31, 0.88);
  border-bottom: 1px solid rgba(22, 230, 255, 0.15);
}

.brand-mark {
  width: 68px;
  height: 54px;
  font-size: 34px;
  color: var(--text);
}

.brand-name .connect {
  font-size: 24px;
  letter-spacing: 0.06em;
}

.brand-name .saigon {
  font-size: 14px;
  letter-spacing: 0.18em;
}

.site-name {
  font-size: clamp(1.1rem, 2vw, 1.7rem);
  letter-spacing: 0.08em;
  color: rgba(232, 249, 255, 0.82);
}

.layout {
  grid-template-columns: minmax(0, 1.12fr) minmax(520px, 0.88fr);
  gap: 24px;
  padding: 24px;
  background: linear-gradient(135deg, rgba(5, 14, 29, 0.92), rgba(7, 19, 38, 0.82));
}

.panel {
  border: 1px solid rgba(22, 230, 255, 0.13);
  border-radius: 22px;
  background: rgba(5, 16, 32, 0.76);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.main-panel {
  padding: 24px 26px 22px;
}

.eyebrow,
.required {
  color: var(--accent);
}

.header-row {
  margin-bottom: 18px;
}

h1 {
  font-size: clamp(2rem, 4vw, 3.8rem);
  letter-spacing: -0.055em;
}

.new-booking,
.clear-btn {
  color: rgba(220, 247, 255, 0.78);
}

.quick-fill,
.outlet-card,
.venue-card,
.input,
.spinner {
  background: rgba(12, 34, 56, 0.5);
  border-color: rgba(22, 230, 255, 0.16);
}

.quick-fill:hover,
.outlet-card:hover {
  border-color: rgba(22, 230, 255, 0.42);
}

.search-btn,
.download-btn {
  background: linear-gradient(135deg, #078ba7, #12d8e8);
  color: #03131d;
  box-shadow: 0 10px 24px rgba(0, 220, 255, 0.18);
}

.outlet-card:has(.search-btn:focus-visible) {
  border-color: rgba(22, 230, 255, 0.66);
}

.outlet-menu {
  background: rgba(7, 28, 48, 0.84);
  border-color: rgba(22, 230, 255, 0.2);
}

.venue-option.active {
  background: rgba(22, 230, 255, 0.1);
  border-color: rgba(22, 230, 255, 0.62);
  box-shadow: inset 0 0 0 1px rgba(22, 230, 255, 0.15);
}

.venue-logo-mark {
  border-color: rgba(22, 230, 255, 0.22);
  background: rgba(22, 230, 255, 0.06);
}

.remember input {
  accent-color: var(--accent);
}

.preview-panel {
  padding: 18px;
  background: rgba(4, 16, 33, 0.7);
}

.preview-header {
  margin-bottom: 10px;
}

.preview-header h2,
.preview-badge {
  color: rgba(220, 247, 255, 0.78);
}

.preview-card {
  min-height: 0;
  padding: 18px;
  border-color: rgba(22, 230, 255, 0.18);
  border-radius: 24px;
  background: linear-gradient(145deg, rgba(5, 21, 42, 0.94), rgba(5, 12, 28, 0.96));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05), 0 0 28px rgba(0, 220, 255, 0.05);
}

.preview-window {
  max-width: 520px;
  border: 1px solid rgba(22, 230, 255, 0.7);
  border-radius: 32px;
  background:
    linear-gradient(145deg, rgba(8, 35, 61, 0.72), transparent 35%),
    linear-gradient(180deg, #07172c 0%, #04101f 66%, #06152b 100%);
  box-shadow: 0 0 26px rgba(0, 220, 255, 0.13), 0 0 6px rgba(124, 99, 255, 0.34), inset 0 0 34px rgba(0, 145, 255, 0.06);
}

.preview-window::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(125deg, transparent 25%, rgba(22, 230, 255, 0.08) 43%, transparent 60%);
  mix-blend-mode: screen;
}

.poster-header {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 28px 32px 18px;
}

.poster-brands {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.club-logo {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border: 1px solid rgba(22, 230, 255, 0.48);
  border-radius: 9px;
  color: var(--text);
  font-size: 1.4rem;
  font-weight: 800;
  background: linear-gradient(145deg, rgba(22, 230, 255, 0.7), rgba(0, 100, 150, 0.56));
  box-shadow: 0 0 14px rgba(22, 230, 255, 0.28);
}

.brand-word,
.connect-lockup,
.poster-side-copy,
.confirmation-kicker,
.meta-card > span:not(.meta-icon),
.location-card > div > span,
.rules-heading {
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.brand-word {
  font-size: 0.72rem;
  font-weight: 700;
}

.poster-nine-club-logo {
  display: block;
  flex: 0 0 123px;
  width: 123px;
  height: 92px;
  object-fit: contain;
}

.brand-cross {
  color: rgba(220, 247, 255, 0.55);
  font-size: 1.25rem;
  margin: 0 5px;
}

.connect-lockup {
  display: flex;
  flex-direction: column;
  gap: 2px;
  line-height: 1;
  font-size: 0.55rem;
  text-align: center;
}

.connect-lockup strong {
  font-size: 0.84rem;
  letter-spacing: 0.08em;
}

.poster-connect-logo {
  display: block;
  flex: 0 0 89.6px;
  width: 89.6px;
  height: 89.6px;
  object-fit: contain;
}

.poster-side-copy {
  flex: 0 0 auto;
  color: rgba(220, 247, 255, 0.76);
  font-size: 0.56rem;
  line-height: 1.65;
  text-align: left;
}

.preview-body {
  position: relative;
  z-index: 1;
  padding: 22px 32px 28px;
}

.confirmation-kicker {
  position: relative;
  padding-bottom: 15px;
  color: rgba(238, 250, 255, 0.8);
  font-size: clamp(0.58rem, 1.25vw, 0.78rem);
}

.confirmation-kicker::after,
.rules-heading::after {
  content: "";
  display: block;
  width: 38px;
  height: 3px;
  margin-top: 13px;
  background: var(--accent);
  box-shadow: 0 0 12px rgba(22, 230, 255, 0.7);
}

.confirmation-card {
  margin-top: 34px;
  padding: 34px 32px 28px;
  border: 1px solid rgba(22, 230, 255, 0.68);
  border-radius: 30px;
  background: linear-gradient(145deg, rgba(9, 35, 61, 0.76), rgba(4, 15, 30, 0.76));
  box-shadow: 0 0 22px rgba(0, 220, 255, 0.12), 0 0 5px rgba(107, 99, 255, 0.24), inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.venue-line {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.poster-venue {
  color: #f5f7fa;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.3rem, 6vw, 4.5rem);
  font-style: italic;
  line-height: 0.95;
  letter-spacing: -0.08em;
  text-shadow: 0 4px 18px rgba(255, 255, 255, 0.12);
}

.preview-deal {
  margin: 0;
  padding: 10px 17px;
  border: 1px solid rgba(22, 230, 255, 0.7);
  border-radius: 999px;
  color: #eaffff;
  font-size: 0.85rem;
  letter-spacing: 0.12em;
  background: linear-gradient(135deg, rgba(0, 128, 158, 0.92), rgba(10, 219, 226, 0.68));
  box-shadow: 0 0 16px rgba(22, 230, 255, 0.22);
}

.guest-block {
  margin-top: 30px;
  padding-bottom: 26px;
  border-bottom: 1px solid rgba(138, 224, 255, 0.5);
}

.guest-block > span {
  color: rgba(220, 247, 255, 0.66);
  font-size: 0.64rem;
  letter-spacing: 0.2em;
}

.main-title {
  margin: 8px 0 0;
  max-width: 100%;
  overflow-wrap: anywhere;
  color: #f8fbff;
  font-size: clamp(2.35rem, 6.8vw, 4.4rem);
  line-height: 0.98;
  letter-spacing: -0.065em;
}

.meta {
  gap: 14px;
  margin-top: 28px;
}

.meta-card {
  min-height: 118px;
  display: grid;
  grid-template-columns: 42px 1fr;
  grid-template-rows: auto auto auto;
  column-gap: 12px;
  align-content: center;
  padding: 18px;
  border: 1px solid rgba(22, 230, 255, 0.22);
  border-radius: 17px;
  background: rgba(3, 18, 35, 0.7);
}

.meta-icon {
  grid-row: 1 / span 3;
  align-self: center;
  color: var(--accent);
  font-size: 1.9rem;
  line-height: 1;
  text-shadow: 0 0 12px rgba(22, 230, 255, 0.6);
}

.meta-card > span:not(.meta-icon) {
  color: rgba(220, 247, 255, 0.66);
  font-size: 0.62rem;
}

.meta strong {
  margin-top: 5px;
  color: #f5f7fa;
  font-size: clamp(1.5rem, 3.2vw, 2.25rem);
  line-height: 1;
}

.meta small {
  margin-top: 4px;
  color: rgba(220, 247, 255, 0.7);
  font-size: 0.65rem;
  letter-spacing: 0.13em;
}

.meta .booker-value {
  font-size: clamp(1rem, 2vw, 1.35rem);
  overflow-wrap: anywhere;
}

.location-card {
  min-height: 84px;
  display: grid;
  grid-template-columns: 42px 1fr 20px;
  align-items: center;
  gap: 12px;
  margin-top: 18px;
  padding: 16px 18px;
  border: 1px solid rgba(22, 230, 255, 0.72);
  border-radius: 18px;
  background: rgba(6, 38, 59, 0.6);
  box-shadow: 0 0 16px rgba(22, 230, 255, 0.11);
}

.location-card > div > span {
  display: block;
  color: rgba(220, 247, 255, 0.66);
  font-size: 0.61rem;
}

.location-card strong {
  display: block;
  margin-top: 6px;
  color: #f2fbff;
  font-size: clamp(0.8rem, 1.8vw, 1.05rem);
  letter-spacing: 0.02em;
}

.location-arrow {
  color: #eaffff;
  font-size: 2rem;
  font-weight: 300;
  text-align: right;
}

.rules-card {
  margin-top: 28px;
  padding: 28px 32px 24px;
  border: 1px solid rgba(22, 230, 255, 0.48);
  border-radius: 24px;
  background: rgba(7, 27, 50, 0.62);
  box-shadow: 0 0 20px rgba(0, 220, 255, 0.08);
}

.rules-heading {
  color: rgba(238, 250, 255, 0.8);
  font-size: clamp(0.58rem, 1.4vw, 0.78rem);
}

.rules-copy {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 14px;
  align-items: center;
  margin-top: 18px;
  padding: 16px 18px;
  border: 1px solid rgba(22, 230, 255, 0.2);
  border-radius: 16px;
  background: rgba(4, 21, 39, 0.7);
}

.rules-icon {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border: 2px solid var(--accent);
  border-radius: 50%;
  color: var(--accent);
  font-size: 1.25rem;
  font-weight: 800;
  box-shadow: 0 0 12px rgba(22, 230, 255, 0.42);
}

.rules-copy p {
  margin: 0;
  color: rgba(237, 249, 255, 0.82);
  font-size: clamp(0.57rem, 1.35vw, 0.75rem);
  line-height: 1.6;
  letter-spacing: 0.045em;
}

.poster-glow {
  position: absolute;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  pointer-events: none;
  filter: blur(42px);
  opacity: 0.2;
}

.poster-glow-one {
  right: -100px;
  bottom: 90px;
  background: #16e6ff;
}

.poster-glow-two {
  left: -100px;
  top: 34%;
  background: #6c63ff;
}

@media (max-width: 980px) {
  .layout {
    grid-template-columns: minmax(0, 1fr);
  }

  .preview-panel {
    order: 2;
  }

  .preview-window {
    max-width: 560px;
  }
}

@media (max-width: 640px) {
  .page-shell {
    width: calc(100vw - 16px);
    margin: 8px auto 18px;
    border-radius: 20px;
  }

  .topbar {
    min-height: 74px;
    padding: 12px 16px;
  }

  .brand {
    gap: 8px;
  }

  .brand-mark {
    width: 52px;
    height: 44px;
    font-size: 26px;
  }

  .brand-name .connect {
    font-size: 18px;
  }

  .brand-name .saigon {
    font-size: 11px;
  }

  .site-name {
    font-size: 0.9rem;
  }

  .layout {
    gap: 14px;
    padding: 12px;
  }

  .main-panel,
  .preview-panel {
    padding: 14px;
  }

  .preview-card {
    padding: 8px;
  }

  .preview-window {
    border-radius: 24px;
  }

  .poster-header {
    padding: 20px 20px 12px;
  }

  .preview-body {
    padding: 16px 20px 20px;
  }

  .confirmation-card {
    margin-top: 24px;
    padding: 24px 18px 20px;
    border-radius: 24px;
  }

  .poster-venue {
    font-size: clamp(2rem, 11vw, 3.2rem);
  }

  .preview-deal {
    padding: 8px 12px;
    font-size: 0.7rem;
  }

  .guest-block {
    margin-top: 24px;
    padding-bottom: 20px;
  }

  .main-title {
    font-size: clamp(2rem, 10vw, 3.2rem);
  }

  .meta {
    gap: 10px;
    margin-top: 20px;
  }

  .meta-card {
    min-height: 96px;
    grid-template-columns: 27px 1fr;
    column-gap: 8px;
    padding: 12px 10px;
  }

  .meta-icon {
    font-size: 1.35rem;
  }

  .meta strong {
    font-size: clamp(1.1rem, 5vw, 1.65rem);
  }

  .meta .booker-value {
    font-size: 0.8rem;
  }

  .location-card {
    min-height: 72px;
    grid-template-columns: 28px 1fr 16px;
    gap: 8px;
    padding: 12px 10px;
  }

  .location-card strong {
    font-size: 0.68rem;
  }

  .rules-card {
    margin-top: 18px;
    padding: 20px 16px 16px;
    border-radius: 20px;
  }

  .rules-copy {
    grid-template-columns: 28px 1fr;
    gap: 9px;
    padding: 12px 10px;
  }

  .rules-icon {
    width: 26px;
    height: 26px;
    font-size: 0.9rem;
  }

  .rules-copy p {
    font-size: 0.48rem;
    line-height: 1.55;
  }
}

/* Keep every poster section inside the fixed 9:16 ticket frame. */
.poster-header {
  padding: 18px 28px 12px;
}

.preview-body {
  padding: 14px 28px 18px;
}

.confirmation-kicker {
  padding-bottom: 10px;
}

.confirmation-kicker::after,
.rules-heading::after {
  margin-top: 8px;
}

.confirmation-card {
  margin-top: 20px;
  padding: 18px 22px 16px;
}

.poster-venue {
  font-size: clamp(2rem, 5.4vw, 3.8rem);
}

.guest-block {
  margin-top: 16px;
  padding-bottom: 14px;
}

.main-title {
  font-size: clamp(2.1rem, 5.7vw, 3.7rem);
}

.meta {
  gap: 10px;
  margin-top: 14px;
}

.meta-card {
  min-height: 82px;
  padding: 11px;
}

.meta-icon {
  font-size: 1.55rem;
}

.meta strong {
  margin-top: 3px;
  font-size: clamp(1.25rem, 2.7vw, 1.85rem);
}

.location-card {
  min-height: 56px;
  margin-top: 10px;
  padding: 9px 12px;
}

.rules-card {
  margin-top: 14px;
  padding: 13px 22px 11px;
}

.rules-copy {
  gap: 10px;
  margin-top: 8px;
  padding: 8px 10px;
}

.rules-copy p {
  line-height: 1.42;
}

@media (max-width: 640px) {
  .poster-header {
    padding: 16px 20px 10px;
  }

  .preview-body {
    padding: 12px 20px 14px;
  }

  .confirmation-card {
    margin-top: 13px;
    padding: 13px 10px 11px;
  }

  .poster-venue {
    font-size: clamp(1.6rem, 8.5vw, 2.4rem);
  }

  .guest-block {
    margin-top: 13px;
    padding-bottom: 11px;
  }

  .main-title {
    font-size: clamp(1.65rem, 8vw, 2.4rem);
  }

  .meta {
    gap: 8px;
    margin-top: 11px;
  }

  .meta-card {
    min-height: 64px;
    padding: 6px 6px;
    grid-template-columns: 22px 1fr;
    column-gap: 6px;
  }

  .meta-icon {
    font-size: 0.95rem;
  }

  .meta strong {
    margin-top: 2px;
    font-size: clamp(0.88rem, 3.8vw, 1.2rem);
  }

  .location-card {
    min-height: 45px;
    margin-top: 7px;
    padding: 7px 8px;
  }

  .rules-card {
    margin-top: 10px;
    padding: 10px 12px 8px;
  }

  .rules-copy {
    margin-top: 6px;
    padding: 6px 7px;
  }
}

/* Neon confirmation poster */
:root {
  --font-ui: "Inter", "Avenir Next", "Century Gothic", sans-serif;
  --font-display: "Inter", "Avenir Next", "Century Gothic", sans-serif;
  --font-brand: "Brush Script MT", "Segoe Script", "Lucida Handwriting", cursive;
  --bg: #050c1d;
  --bg-2: #08152a;
  --panel: rgba(7, 17, 35, 0.82);
  --panel-strong: #0b2038;
  --text: #f4f8ff;
  --muted: #9daabd;
  --accent: #20e8f5;
  --accent-2: #795dff;
  --button: #08baca;
  --button-hover: #25e7f1;
  --line: rgba(74, 217, 255, 0.28);
  --soft: rgba(32, 232, 245, 0.08);
}

body {
  background:
    radial-gradient(circle at 85% 8%, rgba(24, 217, 255, 0.15), transparent 28%),
    radial-gradient(circle at 10% 86%, rgba(102, 62, 255, 0.16), transparent 32%),
    linear-gradient(135deg, #030916, #07172d 52%, #050916);
  font-family: "Trebuchet MS", "Segoe UI", sans-serif;
  position: relative;
  isolation: isolate;
}

body::before,
body::after {
  content: "";
  position: fixed;
  z-index: -1;
  pointer-events: none;
@media (min-width: 900px) {
  .preview-window {
    width: 953px !important;
    height: 1650px !important;
    flex: 0 0 953px !important;
    max-width: none !important;
    aspect-ratio: auto !important;
  }
}

/* Absolute final clean-artwork cascade. */
.preview-window > img.background-artwork {
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
  max-width: none !important;
  display: block !important;
  object-fit: fill !important;
  pointer-events: none !important;
  z-index: 0 !important;
}

.preview-window > img.main-card-artwork {
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
  max-width: none !important;
  display: block !important;
  object-fit: fill !important;
  pointer-events: none !important;
  z-index: 1 !important;
}

@media (max-width: 1450px) and (min-width: 981px) {
  html body .page-shell main.layout {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) !important;
  }

  html body .page-shell main.layout > .main-panel {
    order: 1 !important;
  }

  html body .page-shell main.layout > .preview-panel {
    order: 2 !important;
    align-items: center !important;
  }
}

/* Use the built-in original app poster for the preview background. */
.preview-window {
  background-image: url("./public/assets/background-artwork-original.png") !important;
  background-repeat: no-repeat !important;
  background-size: 100% 100% !important;
  background-position: center !important;
}

.preview-window > img.background-artwork,
.preview-window > img.main-card-artwork,
.preview-window > img.target-background,
.preview-window > img.target-main-card,
.preview-window > img.main-booking-card-full-artwork,
.preview-window > img.main-booking-card-border-artwork,
.confirmation-card > img.confirmation-card-artwork {
  display: none !important;
}

.preview-window {
  background-image: url("./public/assets/background-artwork-original.png") !important;
  background-repeat: no-repeat !important;
  background-size: 100% 100% !important;
  background-position: center !important;
}

/* Absolute final clean-artwork cascade. */
.preview-window > img.background-artwork,
.preview-window > img.main-card-artwork {
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
  max-width: none !important;
  display: block !important;
  object-fit: fill !important;
  pointer-events: none !important;
}

.preview-window > img.background-artwork {
  z-index: 0 !important;
}

.preview-window > img.main-card-artwork {
  z-index: 1 !important;
}

/* Final clean artwork layers must win over all legacy artwork rules. */
.preview-window > .background-artwork,
.preview-window > .main-card-artwork {
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
  max-width: none !important;
  display: block !important;
  object-fit: fill !important;
  pointer-events: none !important;
}

.preview-window > .background-artwork {
  z-index: 0 !important;
}

.preview-window > .main-card-artwork {
  z-index: 1 !important;
}

/* Final clean artwork stack. */
.preview-window {
  position: relative;
  overflow: hidden;
  background-image: none !important;
}

.background-artwork,
.main-card-artwork {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  display: block;
  pointer-events: none;
}

.background-artwork {
  z-index: 0;
}

.main-card-artwork {
  z-index: 1;
}

.poster-header,
.preview-body {
  position: relative;
  z-index: 2;
}

.target-background,
.target-main-card,
.confirmation-card-artwork,
.main-booking-card-full-artwork,
.main-booking-card-border-artwork {
  display: none !important;
}
}

body::before {
  top: -12vh;
  right: 13vw;
  width: 24vw;
  height: 124vh;
  opacity: 0.48;
  transform: rotate(14deg) skewX(-11deg);
  background:
    linear-gradient(90deg, transparent 0 24%, rgba(18, 220, 246, 0.72) 31%, rgba(15, 111, 220, 0.28) 43%, transparent 57%),
    linear-gradient(90deg, transparent 48%, rgba(101, 75, 255, 0.48) 53%, transparent 59%);
  filter: blur(1px);
  clip-path: polygon(34% 0, 68% 0, 54% 30%, 100% 44%, 71% 100%, 34% 100%, 48% 55%, 0 42%);
}

body::after {
  top: 7vh;
  right: -13vw;
  width: 47vw;
  height: 56vw;
  opacity: 0.58;
  border: 2px solid rgba(22, 218, 246, 0.48);
  border-left-color: rgba(87, 95, 255, 0.62);
  border-radius: 46% 54% 48% 52%;
  transform: rotate(-23deg);
  box-shadow: 0 0 20px rgba(22, 218, 246, 0.26), inset 0 0 28px rgba(58, 79, 255, 0.12);
}

.page-shell {
  background: rgba(3, 10, 25, 0.83);
  border-color: rgba(63, 203, 255, 0.2);
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.48), 0 0 80px rgba(10, 143, 255, 0.08);
}

.topbar,
.layout {
  background: rgba(4, 12, 29, 0.72);
  border-color: rgba(90, 194, 255, 0.16);
}

.panel {
  background: rgba(4, 13, 29, 0.68);
  border-color: rgba(63, 203, 255, 0.16);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.eyebrow,
.section-label,
.venue-label {
  color: var(--accent);
}

.quick-fill,
.outlet-card,
.venue-card,
.input,
.spinner,
.venue-option,
.outlet-menu {
  background: rgba(12, 34, 57, 0.58);
  border-color: rgba(56, 198, 238, 0.2);
}

.search-btn,
.download-btn {
  background: linear-gradient(135deg, #08aabe, #2cebf1);
  color: #031321;
  box-shadow: 0 10px 28px rgba(15, 214, 235, 0.2);
}

.venue-option.active {
  background: rgba(20, 225, 237, 0.1);
  border-color: rgba(32, 232, 245, 0.75);
  box-shadow: inset 0 0 0 1px rgba(32, 232, 245, 0.18), 0 0 22px rgba(32, 232, 245, 0.08);
}

.remember input {
  accent-color: var(--accent);
}

.preview-panel {
  background: rgba(2, 10, 25, 0.5);
  border-color: rgba(68, 204, 255, 0.16);
  padding: 22px 18px 18px;
}

.preview-header h2 {
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.9rem;
}

.preview-badge {
  color: rgba(174, 225, 255, 0.72);
  letter-spacing: 0.14em;
}

.preview-card {
  min-height: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  overflow: visible;
}

.preview-window {
  width: min(100%, 480px);
  max-width: 480px;
  aspect-ratio: 9 / 16;
  border: 1px solid rgba(32, 232, 245, 0.82);
  border-radius: 26px;
  background:
    linear-gradient(145deg, rgba(20, 62, 100, 0.38), transparent 32%),
    radial-gradient(circle at 100% 20%, rgba(103, 61, 255, 0.28), transparent 33%),
    linear-gradient(150deg, #071b31 0%, #061020 48%, #030817 100%);
  box-shadow:
    0 0 0 1px rgba(104, 77, 255, 0.28),
    0 0 22px rgba(20, 225, 246, 0.52),
    0 0 70px rgba(70, 53, 255, 0.22),
    inset 0 0 36px rgba(32, 232, 245, 0.08);
  overflow: hidden;
}

.preview-window::before {
  background:
    linear-gradient(120deg, transparent 12%, rgba(34, 224, 255, 0.1) 13%, transparent 26%),
    linear-gradient(165deg, transparent 64%, rgba(92, 65, 255, 0.18) 65%, transparent 78%);
  opacity: 1;
}

.poster-header,
.preview-body {
  position: relative;
  z-index: 2;
}

.poster-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
  padding: 7% 7% 0;
  color: #f4f8ff;
}

.poster-brands {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}

.club-logo {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border: 1px solid rgba(42, 230, 247, 0.88);
  border-radius: 8px;
  background: linear-gradient(145deg, #21d9ed, #07527a);
  color: white;
  font-family: Georgia, serif;
  font-size: 1.35rem;
  font-weight: 700;
  box-shadow: 0 0 15px rgba(18, 220, 242, 0.38);
}

.brand-word,
.connect-lockup strong,
.connect-lockup span,
.poster-side-copy,
.confirmation-kicker,
.meta-card > span:not(.meta-icon),
.location-card > div > span,
.rules-heading {
  letter-spacing: 0.16em;
}

.brand-word {
  font-size: 0.78rem;
  font-weight: 700;
}

.brand-cross {
  margin: 0 5px;
  color: rgba(230, 246, 255, 0.72);
  font-size: 1.25rem;
}

html body .page-shell .preview-window .brand-cross {
  transform: translateX(-14px);
}

.connect-lockup {
  display: flex;
  flex-direction: column;
  line-height: 0.96;
}

.connect-lockup strong {
  font-size: 0.78rem;
}

.connect-lockup span {
  align-self: center;
  margin-top: 4px;
  font-size: 0.45rem;
  font-weight: 700;
}

.poster-side-copy {
  color: rgba(230, 244, 255, 0.82);
  font-size: 0.48rem;
  line-height: 1.55;
  text-align: left;
}

.preview-body {
  padding: 7% 7% 8%;
}

.confirmation-kicker {
  position: relative;
  margin-bottom: 12%;
  color: rgba(241, 249, 255, 0.88);
  font-size: 0.65rem;
}

.confirmation-kicker::after,
.rules-heading::after {
  content: "";
  display: block;
  width: 34px;
  height: 3px;
  margin-top: 10px;
  background: var(--accent);
  box-shadow: 0 0 12px var(--accent);
}

.confirmation-card,
.rules-card {
  position: relative;
  border: 1px solid rgba(50, 222, 245, 0.64);
  border-radius: 20px;
  background: linear-gradient(145deg, rgba(14, 44, 73, 0.62), rgba(3, 15, 31, 0.78));
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.09), 0 0 20px rgba(18, 206, 240, 0.12);
}

.confirmation-card {
  padding: 8% 7% 7%;
}

.venue-line,
.title-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.poster-venue {
  color: #f7fbff;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.6rem, 5vw, 3rem);
  font-style: italic;
  line-height: 0.92;
}

.preview-deal {
  margin: 0;
  padding: 8px 16px;
  border: 1px solid rgba(23, 231, 245, 0.9);
  border-radius: 999px;
  background: linear-gradient(100deg, rgba(4, 168, 196, 0.8), rgba(26, 62, 142, 0.86));
  color: #f2fdff;
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  box-shadow: 0 0 18px rgba(16, 229, 245, 0.35);
}

.guest-block {
  margin: 8% 0 7%;
  padding-bottom: 8%;
  border-bottom: 1px solid rgba(111, 207, 244, 0.52);
}

.guest-block > span {
  color: rgba(230, 242, 255, 0.76);
  font-size: 0.56rem;
  letter-spacing: 0.18em;
}

.main-title {
  margin: 8px 0 0;
  color: #f8fbff;
  font-size: clamp(1.55rem, 5vw, 3.1rem);
  line-height: 1;
  letter-spacing: 0.02em;
  font-weight: 700;
  overflow-wrap: anywhere;
}

.meta {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.meta-card {
  position: relative;
  min-height: 84px;
  padding: 14px 12px 11px 48px;
  border: 1px solid rgba(49, 184, 231, 0.3);
  border-radius: 14px;
  background: rgba(5, 21, 41, 0.68);
  color: rgba(232, 244, 255, 0.72);
  font-size: 0.52rem;
  letter-spacing: 0.15em;
}

.meta-icon {
  position: absolute;
  top: 15px;
  left: 13px;
  color: var(--accent);
  font-size: 1.4rem;
  line-height: 1;
  letter-spacing: 0;
  text-shadow: 0 0 10px rgba(32, 232, 245, 0.6);
}

.meta-card strong,
.meta-card small {
  display: block;
  color: #f3f8ff;
  letter-spacing: 0.02em;
  text-transform: none;
}

.meta-card strong {
  margin-top: 8px;
  font-size: 1.2rem;
  line-height: 1;
}

.meta-card small {
  margin-top: 4px;
  color: rgba(233, 241, 255, 0.76);
  font-size: 0.55rem;
  letter-spacing: 0.12em;
}

.meta-card .booker-value {
  font-size: 0.78rem;
  line-height: 1.15;
  overflow-wrap: anywhere;
}

.location-card {
  display: grid;
  grid-template-columns: 32px 1fr 20px;
  align-items: center;
  gap: 8px;
  margin-top: 10px;
  min-height: 62px;
  padding: 10px 12px;
  border: 1px solid rgba(32, 232, 245, 0.72);
  border-radius: 14px;
  background: rgba(4, 33, 52, 0.76);
  box-shadow: 0 0 18px rgba(32, 232, 245, 0.12);
}

.location-card .meta-icon {
  position: static;
  text-align: center;
}

.location-card > div > span {
  display: block;
  color: rgba(230, 242, 255, 0.76);
  font-size: 0.52rem;
}

.location-card strong {
  display: block;
  margin-top: 5px;
  color: #eaf8ff;
  font-size: 0.62rem;
  font-weight: 500;
  letter-spacing: 0.05em;
}

.location-arrow {
  color: #f4fbff;
  font-size: 1.8rem;
  text-align: center;
}

.rules-card {
  margin-top: 5%;
  padding: 6% 7%;
  border-color: rgba(61, 202, 242, 0.42);
}

.rules-heading {
  color: rgba(240, 249, 255, 0.88);
  font-size: 0.58rem;
}

.rules-copy {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-top: 14px;
  padding: 12px;
  border: 1px solid rgba(42, 156, 210, 0.3);
  border-radius: 12px;
  background: rgba(8, 39, 63, 0.62);
}

.rules-icon {
  display: grid;
  place-items: center;
  flex: 0 0 25px;
  height: 25px;
  border: 2px solid var(--accent);
  border-radius: 50%;
  color: var(--accent);
  font-weight: 700;
  box-shadow: 0 0 12px rgba(32, 232, 245, 0.42);
}

.rules-copy p {
  margin: 0;
  color: rgba(242, 248, 255, 0.84);
  font-size: 0.46rem;
  line-height: 1.55;
  letter-spacing: 0.04em;
  white-space: pre-line;
}

.poster-glow {
  position: absolute;
  z-index: 1;
  width: 35%;
  height: 42%;
  border: 1px solid rgba(27, 224, 250, 0.28);
  border-radius: 50%;
  filter: blur(1px);
  opacity: 0.6;
  pointer-events: none;
}

.poster-glow-one {
  right: -20%;
  top: 12%;
  transform: rotate(28deg);
  box-shadow: 0 0 34px rgba(22, 222, 250, 0.28);
}

.poster-glow-two {
  left: -18%;
  bottom: -14%;
  border-color: rgba(109, 81, 255, 0.42);
  box-shadow: 0 0 40px rgba(92, 66, 255, 0.32);
}

@media (max-width: 640px) {
  .preview-panel {
    padding-inline: 8px;
  }

  .preview-window {
    border-radius: 20px;
  }

  .poster-header {
    padding-top: 8%;
  }

  .poster-side-copy {
    font-size: 0.4rem;
  }

  .poster-venue {
    font-size: clamp(1.45rem, 8vw, 2.4rem);
  }

  .main-title {
    font-size: clamp(1.3rem, 7vw, 2.2rem);
  }

  .meta-card {
    min-height: 72px;
    padding: 11px 8px 9px 37px;
  }

  .meta-icon {
    top: 12px;
    left: 10px;
    font-size: 1.1rem;
  }

  .meta-card strong {
    font-size: 0.95rem;
  }

  .meta-card .booker-value {
    font-size: 0.65rem;
  }

  .location-card strong {
    font-size: 0.51rem;
  }

  .rules-copy p {
    font-size: 0.39rem;
  }
}

/* Final sizing pass: keep the complete ticket inside its 9:16 frame. */
.poster-header {
  padding: 20px 28px 10px !important;
}

.preview-body {
  padding: 12px 28px 14px !important;
}

.confirmation-kicker {
  margin-bottom: 18px !important;
  padding-bottom: 0 !important;
}

.confirmation-kicker::after,
.rules-heading::after {
  margin-top: 7px !important;
}

.confirmation-card {
  margin-top: 0 !important;
  padding: 20px 22px 16px !important;
}

.poster-venue {
  font-size: clamp(2rem, 5.2vw, 3.4rem) !important;
}

.guest-block {
  margin: 18px 0 14px !important;
  padding-bottom: 14px !important;
}

.main-title {
  font-size: clamp(2rem, 5.6vw, 3.5rem) !important;
}

.meta {
  gap: 9px !important;
}

.meta-card {
  min-height: 82px !important;
  padding: 10px 10px 9px 42px !important;
}

.meta-icon {
  top: 12px !important;
  left: 11px !important;
  font-size: 1.3rem !important;
}

.meta-icon,
.vip-icon {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.meta-card > .meta-icon {
  width: 34px;
  height: 34px;
}

.location-card > .meta-icon {
  width: 34px;
  height: 34px;
}

.preview-deal {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
}

.vip-icon {
  width: 25px;
  height: 25px;
  color: var(--accent);
  stroke-width: 1.7;
}

.meta-card strong {
  margin-top: 5px !important;
  font-size: clamp(1.15rem, 2.7vw, 1.75rem) !important;
}

.meta-card small {
  margin-top: 3px !important;
}

.meta-card .booker-value {
  font-size: clamp(0.72rem, 1.8vw, 1rem) !important;
}

.location-card {
  min-height: 56px !important;
  margin-top: 10px !important;
  padding: 8px 10px !important;
}

.location-card strong {
  font-size: clamp(0.62rem, 1.55vw, 0.86rem) !important;
}

.rules-card {
  margin-top: 18px !important;
  padding: 14px 20px 11px !important;
}

.rules-copy {
  gap: 10px !important;
  margin-top: 9px !important;
  padding: 9px 10px !important;
}

.rules-copy p {
  font-size: clamp(0.48rem, 1.1vw, 0.63rem) !important;
  line-height: 1.42 !important;
}

@media (max-width: 640px) {
  .poster-header {
    padding: 15px 20px 8px !important;
  }

  .preview-body {
    padding: 9px 20px 10px !important;
  }

  .confirmation-kicker {
    margin-bottom: 11px !important;
  }

  .confirmation-card {
    padding: 12px 10px 10px !important;
  }

  .poster-venue {
    font-size: clamp(1.55rem, 8.2vw, 2.2rem) !important;
  }

  .guest-block {
    margin: 11px 0 9px !important;
    padding-bottom: 10px !important;
  }

  .main-title {
    font-size: clamp(1.55rem, 7.8vw, 2.2rem) !important;
  }

  .meta {
    gap: 7px !important;
  }

  .meta-card {
    min-height: 61px !important;
    padding: 6px 5px 5px 30px !important;
  }

  .meta-icon {
    top: 9px !important;
    left: 8px !important;
    font-size: 0.92rem !important;
  }

  .meta-card > .meta-icon,
  .location-card > .meta-icon {
    width: 22px;
    height: 22px;
  }

  .vip-icon {
    width: 18px;
    height: 18px;
  }

  .meta-card > span:not(.meta-icon) {
    font-size: 0.45rem !important;
  }

  .meta-card strong {
    margin-top: 2px !important;
    font-size: clamp(0.82rem, 3.5vw, 1.1rem) !important;
  }

  .meta-card small {
    font-size: 0.42rem !important;
  }

  .meta-card .booker-value {
    font-size: 0.62rem !important;
  }

  .location-card {
    min-height: 43px !important;
    margin-top: 6px !important;
    padding: 6px 7px !important;
  }

  .location-card strong {
    font-size: 0.5rem !important;
  }

  .rules-card {
    margin-top: 9px !important;
    padding: 9px 11px 7px !important;
  }

  .rules-copy {
    gap: 7px !important;
    margin-top: 6px !important;
    padding: 6px 6px !important;
  }

  .rules-icon {
    flex-basis: 21px !important;
    height: 21px !important;
    font-size: 0.75rem !important;
  }

  .rules-copy p {
    font-size: 0.36rem !important;
    line-height: 1.35 !important;
  }
}

/* Reference-sized portrait ticket at the 900px canvas breakpoint. */
@media (min-width: 641px) and (max-width: 980px) {
  .preview-panel {
    padding: 24px 18px 28px !important;
  }

  .preview-window {
    width: min(100%, 790px) !important;
    max-width: 790px !important;
    border-radius: 40px !important;
  }

  .poster-header {
    padding: 45px 48px 16px !important;
  }

  .club-logo {
    width: 48px;
    height: 48px;
    font-size: 1.8rem;
  }

  .brand-word {
    font-size: 1rem;
  }

  .connect-lockup strong {
    font-size: 1.1rem;
  }

  .poster-side-copy {
    font-size: 0.72rem;
  }

  .preview-body {
    padding: 20px 50px 44px !important;
  }

  .confirmation-kicker {
    margin-bottom: 48px !important;
    font-size: 0.95rem !important;
    letter-spacing: 0.22em;
  }

  .confirmation-kicker::after {
    width: 60px;
    height: 4px;
    margin-top: 13px !important;
  }

  .confirmation-card {
    padding: 56px 40px 66px !important;
    border-radius: 32px !important;
  }

  .poster-venue {
    font-size: clamp(5rem, 8vw, 5.8rem) !important;
  }

  .preview-deal {
    min-width: 95px;
    min-height: 52px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.95rem;
  }

  .guest-block {
    margin: 40px 0 36px !important;
    padding-bottom: 32px !important;
  }

  .guest-block > span {
    font-size: 0.85rem;
    letter-spacing: 0.2em;
  }

  .main-title {
    font-size: clamp(3rem, 7vw, 4.5rem) !important;
    line-height: 1;
  }

  .meta {
    gap: 18px !important;
  }

  .meta-card {
    min-height: 145px !important;
    padding: 24px 20px 20px 70px !important;
    border-radius: 22px !important;
  }

  .meta-icon {
    top: 28px !important;
    left: 22px !important;
    font-size: 2.2rem !important;
  }

  .meta-card > span:not(.meta-icon) {
    font-size: 0.78rem !important;
  }

  .meta-card strong {
    margin-top: 10px !important;
    font-size: 2.1rem !important;
  }

  .meta-card small {
    margin-top: 6px !important;
    font-size: 0.76rem !important;
  }

  .meta-card .booker-value {
    font-size: 1.35rem !important;
  }

  .location-card {
    min-height: 100px !important;
    margin-top: 18px !important;
    padding: 18px 22px !important;
    border-radius: 22px !important;
  }

  .location-card .meta-icon {
    position: static !important;
    font-size: 2.2rem !important;
  }

  .location-card > div > span {
    font-size: 0.78rem !important;
  }

  .location-card strong {
    margin-top: 8px;
    font-size: 1.05rem !important;
  }

  .rules-card {
    margin-top: 45px !important;
    padding: 32px 34px 28px !important;
    border-radius: 30px !important;
  }

  .rules-heading {
    font-size: 0.9rem !important;
    letter-spacing: 0.22em;
  }

  .rules-heading::after {
    width: 60px;
    height: 4px;
    margin-top: 13px !important;
  }

  .rules-copy {
    gap: 18px !important;
    margin-top: 22px !important;
    padding: 18px 20px !important;
    border-radius: 18px !important;
  }

  .rules-icon {
    flex-basis: 38px !important;
    height: 38px !important;
    font-size: 1.2rem !important;
  }

  .rules-copy p {
    font-size: 0.78rem !important;
    line-height: 1.6 !important;
  }
}

@media (min-width: 400px) and (max-width: 640px) {
  .confirmation-card {
    padding-top: 18px !important;
    padding-bottom: 50px !important;
  }

  .guest-block {
    margin-top: 17px !important;
    margin-bottom: 15px !important;
  }

  .rules-card {
    margin-top: 18px !important;
  }
}

.poster-venue {
  position: relative;
  display: inline-block;
}

.poster-venue::after {
  content: "";
  position: absolute;
  left: 18%;
  bottom: -12px;
  width: 70%;
  height: 13px;
  border-bottom: 5px solid var(--accent);
  border-radius: 50%;
  transform: rotate(-10deg);
  filter: drop-shadow(0 0 6px rgba(22, 230, 255, 0.72));
}

@media (min-width: 641px) and (max-width: 980px) {
  .poster-venue {
    font-size: clamp(6.6rem, 10vw, 7.8rem) !important;
  }
}

@media (max-width: 640px) {
  .poster-venue {
    font-size: clamp(2.8rem, 11vw, 3.4rem) !important;
  }

  .poster-venue::after {
    bottom: -8px;
    height: 9px;
    border-bottom-width: 3px;
  }
}

/* Typography and icon-column correction pass. */
.guest-block > span,
.meta-card > span:not(.meta-icon),
.location-card > div > span,
.rules-heading,
.confirmation-kicker {
  font-family: var(--font-ui);
  font-weight: 500;
  letter-spacing: 0.2em;
  line-height: 1.2;
}

.main-title {
  font-family: var(--font-display) !important;
  font-size: clamp(48px, 5.5vw, 72px) !important;
  font-weight: 600 !important;
  letter-spacing: -0.02em !important;
  line-height: 0.98 !important;
}

.meta-card {
  position: relative;
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  grid-template-rows: auto auto auto;
  column-gap: 20px;
  align-content: center;
  align-items: center;
  padding: 22px 20px !important;
}

.meta-card > .meta-icon {
  position: static !important;
  grid-column: 1;
  grid-row: 1 / span 3;
  align-self: center;
  width: 38px !important;
  height: 38px !important;
  margin: 0;
}

.meta-card > span:not(.meta-icon),
.meta-card > strong,
.meta-card > small {
  grid-column: 2;
  min-width: 0;
}

.meta-card > span:not(.meta-icon) {
  font-size: 0.76rem !important;
  font-weight: 500;
  letter-spacing: 0.2em;
}

.meta-card > strong {
  margin-top: 8px !important;
  font-family: var(--font-ui);
  font-size: 2.15rem !important;
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1 !important;
  white-space: nowrap;
}

.meta-card > small {
  margin-top: 5px !important;
  font-family: var(--font-ui);
  font-size: 0.72rem !important;
  font-weight: 500;
  letter-spacing: 0.15em;
  line-height: 1.1;
  white-space: nowrap;
}

.meta-card > .booker-value {
  font-size: 1.3rem !important;
  font-weight: 500;
  white-space: nowrap;
}

.location-card {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr) 40px;
  column-gap: 20px;
  align-items: center;
  padding: 18px 20px !important;
}

.location-card > .meta-icon {
  position: static !important;
  grid-column: 1;
  width: 38px !important;
  height: 38px !important;
  margin: 0;
}

.location-card > div {
  grid-column: 2;
  min-width: 0;
}

.location-card > div > span {
  font-size: 0.76rem !important;
  font-weight: 500;
  letter-spacing: 0.2em;
}

.location-card strong {
  font-family: var(--font-ui);
  font-weight: 500;
  font-size: 1rem !important;
  line-height: 1.15;
  white-space: nowrap;
}

.location-card > .location-arrow {
  grid-column: 3;
  justify-self: end;
}

.rules-heading {
  font-size: 0.8rem !important;
  font-weight: 500;
  letter-spacing: 0.2em;
}

.rules-copy p {
  font-family: var(--font-ui);
  font-weight: 400;
  letter-spacing: 0;
  line-height: 1.45 !important;
}

@media (max-width: 640px) {
  .meta-card {
    grid-template-columns: 38px minmax(0, 1fr);
    column-gap: 14px;
    padding: 10px 8px !important;
  }

  .meta-card > .meta-icon,
  .location-card > .meta-icon {
    width: 32px !important;
    height: 32px !important;
  }

  .meta-card > span:not(.meta-icon),
  .location-card > div > span {
    font-size: 0.5rem !important;
    letter-spacing: 0.13em;
  }

  .meta-card > strong {
    margin-top: 3px !important;
    font-size: 1.15rem !important;
  }

  .meta-card > small {
    margin-top: 2px !important;
    font-size: 0.45rem !important;
  }

  .meta-card > .booker-value {
    font-size: 0.72rem !important;
  }

  .location-card {
    grid-template-columns: 38px minmax(0, 1fr) 28px;
    column-gap: 14px;
    padding: 8px !important;
  }

  .location-card strong {
    font-size: 0.56rem !important;
  }
}

/* Compact information grid correction. */
.meta {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px !important;
  margin-top: 24px !important;
}

.meta-card {
  grid-template-columns: 36px minmax(0, 1fr) !important;
  column-gap: 14px !important;
  min-height: 0 !important;
  height: clamp(110px, 8.5vw, 145px) !important;
  padding: 16px 18px !important;
  border-radius: 18px !important;
}

.meta-card > .meta-icon {
  width: 32px !important;
  height: 32px !important;
  stroke-width: 1.7;
}

.meta-card > span:not(.meta-icon) {
  font-size: 13px !important;
  font-weight: 400 !important;
  letter-spacing: 3px !important;
  line-height: 1.1;
}

.meta-card > strong {
  margin-top: 8px !important;
  font-size: clamp(2rem, 3vw, 2.25rem) !important;
  font-weight: 400 !important;
  line-height: 1 !important;
  letter-spacing: -0.02em;
}

.meta-card > small {
  margin-top: 6px !important;
  font-size: 12px !important;
  font-weight: 400 !important;
  letter-spacing: 2px !important;
  line-height: 1 !important;
}

.meta-card > .booker-value {
  font-size: clamp(1.25rem, 2.4vw, 1.4rem) !important;
  font-weight: 400 !important;
  white-space: nowrap;
}

.location-card {
  grid-template-columns: 36px minmax(0, 1fr) 32px !important;
  column-gap: 14px !important;
  min-height: 0 !important;
  height: 88px !important;
  margin-top: 16px !important;
  padding: 16px 18px !important;
  border-radius: 19px !important;
}

.location-card > .meta-icon {
  width: 34px !important;
  height: 34px !important;
  stroke-width: 1.7;
}

.location-card > div > span {
  font-size: 13px !important;
  font-weight: 400 !important;
  letter-spacing: 3px !important;
  line-height: 1.1;
}

.location-card strong {
  margin-top: 6px !important;
  font-size: clamp(1rem, 2.1vw, 1.25rem) !important;
  font-weight: 400 !important;
  line-height: 1.1;
  white-space: nowrap;
}

.location-arrow {
  width: 24px;
  height: 24px;
  justify-self: end;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

@media (max-width: 640px) {
  .meta {
    gap: 12px !important;
    margin-top: 18px !important;
  }

  .meta-card {
    grid-template-columns: 36px minmax(0, 1fr) !important;
    column-gap: 12px !important;
    height: 86px !important;
    padding: 12px 10px !important;
  }

  .meta-card > .meta-icon {
    width: 30px !important;
    height: 30px !important;
  }

  .meta-card > span:not(.meta-icon) {
    font-size: 10px !important;
    letter-spacing: 2px !important;
  }

  .meta-card > strong {
    margin-top: 5px !important;
    font-size: 1.55rem !important;
  }

  .meta-card > small {
    margin-top: 4px !important;
    font-size: 10px !important;
    letter-spacing: 1.5px !important;
  }

  .meta-card > .booker-value {
    font-size: 0.88rem !important;
  }

  .location-card {
    grid-template-columns: 36px minmax(0, 1fr) 28px !important;
    column-gap: 12px !important;
    height: 78px !important;
    margin-top: 12px !important;
    padding: 12px 10px !important;
  }

  .location-card > .meta-icon {
    width: 30px !important;
    height: 30px !important;
  }

  .location-card > div > span {
    font-size: 10px !important;
    letter-spacing: 2px !important;
  }

  .location-card strong {
    margin-top: 4px !important;
    font-size: 0.72rem !important;
  }
}

/* Use the supplied main-card artwork as the card surface. */
.confirmation-card {
  position: relative;
  overflow: hidden;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
}

.confirmation-card-artwork {
  position: absolute;
  inset: 0;
  z-index: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: fill;
  pointer-events: none;
}

.confirmation-card-content {
  position: relative;
  z-index: 1;
}

/* Final composition pass: keep policy inside the portrait ticket. */
@media (min-width: 641px) and (max-width: 980px) {
  .confirmation-card {
    padding-bottom: 32px !important;
  }

  .page-shell {
    width: calc(100vw - 28px) !important;
  }

  .layout {
    padding: 0 !important;
  }

  .preview-panel {
    padding: 0 !important;
  }

  .preview-header {
    display: none;
  }

  .preview-card {
    padding: 0 !important;
  }

  .preview-window {
    width: 100% !important;
    max-width: none !important;
  }

  .preview-body {
    padding-left: 40px !important;
    padding-right: 40px !important;
  }

  .rules-card {
    margin-top: 30px !important;
  }

  .meta {
    margin-top: 70px !important;
  }

  .meta-card {
    height: 133px !important;
  }

  .rules-heading {
    white-space: nowrap;
    font-size: 0.78rem !important;
    letter-spacing: 0.16em !important;
  }
}

@media (min-width: 900px) and (max-width: 980px) {
  .preview-body {
    padding-left: 62px !important;
    padding-right: 68px !important;
  }

  .confirmation-kicker {
    margin-bottom: 99px !important;
  }

  .confirmation-card {
    padding-bottom: 132px !important;
  }

  .meta-card {
    height: 165px !important;
  }

  .rules-card {
    height: 318px !important;
    padding: 32px 34px 28px !important;
  }

  .rules-copy {
    margin-top: 22px !important;
    padding: 18px 20px !important;
  }
}

@media (max-width: 640px) {
  .confirmation-card {
    padding-top: 8px !important;
    padding-bottom: 8px !important;
  }

  .poster-venue {
    font-size: clamp(2.4rem, 9vw, 2.8rem) !important;
  }

  .guest-block {
    margin-top: 7px !important;
    margin-bottom: 6px !important;
    padding-bottom: 7px !important;
  }

  .main-title {
    font-size: clamp(1.7rem, 7.2vw, 2rem) !important;
  }

  .meta {
    margin-top: 12px !important;
    gap: 10px !important;
  }

  .meta-card {
    height: 64px !important;
    padding: 7px 8px !important;
  }

  .location-card {
    height: 64px !important;
    margin-top: 8px !important;
  }

  .rules-card {
    margin-top: 14px !important;
    padding: 9px 11px 8px !important;
  }

  .rules-heading {
    white-space: nowrap;
    font-size: 0.58rem !important;
    letter-spacing: 0.1em !important;
  }

  .rules-copy {
    margin-top: 6px !important;
    padding: 6px 7px !important;
  }
}

/* Target artwork and typography correction pass. */
body {
  background: #030a18;
  font-family: var(--font-ui);
}

body::before,
body::after {
  display: none;
}

.background-artwork {
  display: none;
}

.preview-window {
  background-image: url("./public/assets/background-artwork-original.png") !important;
  background-repeat: no-repeat !important;
  background-size: 100% 100% !important;
  background-position: center !important;
}

.preview-window {
  position: relative;
  width: 953px !important;
  height: 1650px !important;
  max-width: none !important;
  aspect-ratio: auto !important;
  overflow: hidden;
  background-image: none !important;
}

.target-background,
.target-main-card {
  position: absolute;
  left: 0;
  top: 0;
  width: 953px;
  height: 1650px;
  max-width: none;
  object-fit: fill;
  display: block;
  pointer-events: none;
}

.target-background {
  z-index: 0;
}

.target-main-card {
  z-index: 1;
}

.poster-header,
.preview-body {
  position: relative;
  z-index: 2;
}

.preview-window::before {
  display: none;
}

.main-booking-card-border-artwork {
  position: absolute;
  left: 0;
  top: 0;
  width: 953px;
  height: 1650px;
  z-index: 1;
  pointer-events: none;
}

.poster-glow {
  display: none;
}

.poster-header,
.preview-body,
.confirmation-card-content {
  z-index: 2;
}

.page-shell {
  position: relative;
  z-index: 1;
  background: rgba(3, 10, 24, 0.76);
  backdrop-filter: blur(18px);
}

.poster-header,
.preview-body {
  font-family: var(--font-ui);
}

.poster-venue {
  font-family: var(--font-brand) !important;
  font-weight: 400;
  letter-spacing: -0.06em;
  transform: scaleX(1.06);
  transform-origin: left center;
}

.poster-side-copy,
.confirmation-kicker,
.guest-block > span,
.meta-card > span:not(.meta-icon),
.location-card > div > span,
.rules-heading {
  font-weight: 500;
  letter-spacing: 0.22em;
}

.main-title {
  font-family: var(--font-display) !important;
  font-weight: 600 !important;
  letter-spacing: -0.045em !important;
}

.meta-card,
.location-card,
.rules-copy {
  backdrop-filter: blur(20px);
  background: rgba(3, 20, 38, 0.58);
}

.meta-card > span:not(.meta-icon),
.location-card > div > span,
.guest-block > span {
  font-weight: 500;
}

.meta-card strong {
  font-weight: 500;
}

.meta-card .booker-value {
  font-weight: 500;
}

.rules-copy p {
  font-weight: 400;
}

.connect-lockup strong {
  font-family: var(--font-ui);
  font-weight: 700;
  letter-spacing: 0.12em;
}

.connect-lockup span,
.brand-word,
.poster-side-copy {
  font-weight: 500;
}

/* Keep the main card artwork inside the main booking card only. */
.confirmation-card-artwork {
  display: block !important;
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: fill;
  pointer-events: none;
}

.main-booking-card-border-artwork,
.main-booking-card-full-artwork {
  display: none !important;
}

.confirmation-card-content {
  position: relative;
  z-index: 2;
}

html body .page-shell .layout .preview-panel .preview-card .preview-window .preview-body .confirmation-card {
  border: 1px solid rgba(80, 235, 255, 0.56) !important;
  border-radius: 30px !important;
  background: transparent !important;
  box-shadow: none !important;
}

html body .page-shell .layout .preview-panel .preview-card .preview-window .preview-body .rules-card {
  border-color: rgba(80, 235, 255, 0.56) !important;
  box-shadow: none !important;
}

/* Enlarge the existing information icons by 70% without changing the content. */
.meta-card {
  grid-template-columns: 55px minmax(0, 1fr) !important;
  column-gap: 20px !important;
}

.meta-card > .meta-icon {
  width: 54px !important;
  height: 54px !important;
}

.location-card {
  grid-template-columns: 58px minmax(0, 1fr) 32px !important;
  column-gap: 20px !important;
}

.location-card > .meta-icon {
  width: 58px !important;
  height: 58px !important;
}

.rules-icon {
  width: 58px !important;
  height: 58px !important;
  flex-basis: 58px !important;
}

.vip-icon {
  width: 42px !important;
  height: 42px !important;
}

/* Double the information-grid typography as requested. */
.meta-card > span:not(.meta-icon) {
  font-size: 20.8px !important;
}

.meta-card > strong {
  font-size: 3.44rem !important;
}

.meta-card > small {
  font-size: 19.2px !important;
}

.meta-card > .booker-value {
  font-size: 2.24rem !important;
}

.location-card > .meta-icon {
  width: 51px !important;
  height: 51px !important;
}

.location-card > div > span {
  font-size: 19.5px !important;
}

.location-card strong {
  font-size: 1.875rem !important;
}


.guest-block {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  text-align: center;
}

.guest-block > span {
  font-size: 25px !important;
}

.guest-block .main-title {
  font-size: clamp(72px, 8.25vw, 108px) !important;
}

.rules-heading {
  font-size: 1.6rem !important;
}

.rules-copy p {
  font-size: 1.326rem !important;
}

.confirmation-card {
  position: relative;
  overflow: hidden;
}

.confirmation-card-content {
  z-index: 10;
}

.confirmation-card {
  overflow: hidden !important;
  border: 1px solid rgba(22, 230, 255, 0.48) !important;
  border-radius: 24px !important;
  background: rgba(7, 27, 50, 0.62) !important;
  box-shadow: 0 0 20px rgba(0, 220, 255, 0.08) !important;
}

html body .page-shell .layout .preview-panel .preview-card .preview-window {
  background-image: url("./public/assets/background-artwork-original.png") !important;
  background-repeat: no-repeat !important;
  background-size: 100% 100% !important;
  background-position: center !important;
}

html body .page-shell main.layout {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) !important;
}

html body .page-shell main.layout > .main-panel {
  order: 1 !important;
}

html body .page-shell main.layout > .preview-panel {
  order: 2 !important;
  align-items: center !important;
}

/* Canonical preview output: one fixed 953x1650 canvas, independent of Chrome size. */
html body .page-shell main.layout > .preview-panel {
  width: 953px !important;
  height: 1650px !important;
  min-width: 953px !important;
  min-height: 1650px !important;
  justify-self: center !important;
  margin-left: auto !important;
  margin-right: auto !important;
  padding: 0 !important;
  overflow: hidden !important;
  transform: none !important;
}

@media (min-width: 981px) {
  html body .page-shell main.layout > .preview-panel {
    translate: 7px 0;
  }
}

html body .page-shell main.layout > .preview-panel > .preview-card,
html body .page-shell main.layout > .preview-panel .preview-window {
  width: 953px !important;
  height: 1650px !important;
  min-width: 953px !important;
  min-height: 1650px !important;
  max-width: none !important;
  transform: none !important;
  zoom: 1 !important;
}

/* Keep the preview composition aligned with the exported poster. */
html body .page-shell .preview-window .preview-body {
  min-height: calc(100% - 132px) !important;
  display: flex !important;
  flex-direction: column !important;
}

html body .page-shell .preview-window .rules-card {
  margin-top: auto !important;
  margin-bottom: 30px !important;
}

/* Remove the recurring blue surface overlay; artwork/background remains the only visual surface. */
html body .page-shell .preview-window .preview-body,
html body .page-shell .preview-window .confirmation-card,
html body .page-shell .preview-window .rules-card {
  background: transparent !important;
  background-image: none !important;
  opacity: 1 !important;
  filter: none !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}

html body .page-shell .layout .preview-panel .preview-card .preview-window {
  background-image: url("./public/assets/background-artwork-original.png") !important;
}

/* The output canvas must never scale with the browser viewport. */
html body .page-shell .preview-card,
html body .page-shell .preview-window {
  width: 953px !important;
  height: 1650px !important;
  min-width: 953px !important;
  min-height: 1650px !important;
  max-width: none !important;
  aspect-ratio: auto !important;
  transform: none !important;
  zoom: 1 !important;
}

html body .page-shell main.layout .preview-panel .preview-card,
html body .page-shell main.layout .preview-panel .preview-window {
  width: 953px !important;
  height: 1650px !important;
  min-width: 953px !important;
  min-height: 1650px !important;
  transform: none !important;
  zoom: 1 !important;
}

html body .page-shell .preview-card {
  overflow: auto !important;
}

/* The exported preview is the only visible output canvas. */
html body .page-shell .preview-panel > .preview-header {
  display: none !important;
}

html body .page-shell .preview-panel .preview-card,
html body .page-shell .preview-panel .preview-window {
  width: 953px !important;
  height: 1650px !important;
  max-width: none !important;
  min-height: 0 !important;
  aspect-ratio: auto !important;
}

html body .page-shell .preview-panel .preview-card {
  overflow: hidden !important;
}

/* Keep the output content compact and prevent text collisions. */
html body .page-shell .preview-window .meta-card {
  grid-template-columns: 36px minmax(0, 1fr) !important;
  column-gap: 14px !important;
  height: 133px !important;
  padding: 16px 18px !important;
}

html body .page-shell .preview-window .meta-card > .meta-icon {
  width: 32px !important;
  height: 32px !important;
}

html body .page-shell .preview-window .meta-card > span:not(.meta-icon) {
  font-size: 13px !important;
  letter-spacing: 3px !important;
}

html body .page-shell .preview-window .meta-card > strong {
  margin-top: 8px !important;
  font-size: 34px !important;
}

html body .page-shell .preview-window .meta-card > small {
  margin-top: 6px !important;
  font-size: 12px !important;
}

html body .page-shell .preview-window .meta-card > .booker-value {
  font-size: 22px !important;
}

html body .page-shell .preview-window .location-card {
  grid-template-columns: 36px minmax(0, 1fr) 32px !important;
  column-gap: 14px !important;
  height: 88px !important;
  padding: 16px 18px !important;
}

html body .page-shell .layout .preview-panel .preview-card .preview-window .preview-body .location-card {
  border-color: rgba(49, 184, 231, 0.3) !important;
  background: rgba(3, 20, 38, 0.58) !important;
  background-image: none !important;
  box-shadow: none !important;
  backdrop-filter: blur(20px) !important;
  -webkit-backdrop-filter: blur(20px) !important;
}

html body .page-shell .preview-window .location-card > .meta-icon {
  width: 34px !important;
  height: 34px !important;
}

html body .page-shell .preview-window .location-card > div > span {
  font-size: 13px !important;
  letter-spacing: 3px !important;
}

html body .page-shell .preview-window .location-card strong {
  font-size: 20px !important;
}

html body .page-shell .preview-window .rules-heading {
  font-size: 16px !important;
  letter-spacing: 3px !important;
  white-space: nowrap;
}

html body .page-shell .preview-window .rules-copy p {
  font-size: 14px !important;
  line-height: 1.45 !important;
}

.preview-card {
  width: 953px !important;
  height: 1650px !important;
  min-height: 0 !important;
  overflow: visible !important;
}

@media (min-width: 981px) and (max-width: 1450px) {
  html body .page-shell main.layout .preview-panel .preview-card {
    width: 536px !important;
    height: 928px !important;
    overflow: visible !important;
  }

  html body .page-shell main.layout .preview-panel .preview-window {
    width: 953px !important;
    height: 1650px !important;
    transform: scale(0.5624) !important;
    transform-origin: top left !important;
  }
}

@media (max-width: 980px) {
  html body .page-shell main.layout .preview-panel .preview-card {
    width: calc(100vw - 24px) !important;
    height: calc((100vw - 24px) * 1.730325) !important;
    overflow: visible !important;
  }

  html body .page-shell main.layout .preview-panel .preview-window {
    width: 953px !important;
    height: 1650px !important;
    transform: scale(calc((100vw - 24px) / 953px)) !important;
    transform-origin: top left !important;
  }
}

/* Canonical export canvas: the preview always originates at 953x1650. */
.preview-window {
  width: 953px !important;
  height: 1650px !important;
  aspect-ratio: auto !important;
  flex: 0 0 953px !important;
  container-type: inline-size;
  container-name: poster-canvas;
}

@media (max-width: 976px) {
  .preview-card {
    width: calc(100vw - 24px) !important;
    height: calc((100vw - 24px) * 1.730325) !important;
    overflow: visible !important;
  }

  .preview-window {
    width: 953px !important;
    height: 1650px !important;
    transform: scale(calc((100vw - 24px) / 953px)) !important;
    transform-origin: top center;
  }
}

@media (max-width: 1450px) {
  html body .page-shell main.layout .preview-panel .preview-card .preview-window {
    transform: none !important;
    width: 953px !important;
    height: 1650px !important;
  }
}

/* The supplied main-card artwork owns the visual box; keep this wrapper layout-only. */
.confirmation-card {
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
}

.preview-window > img.background-artwork {
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
  max-width: none !important;
  display: block !important;
  object-fit: fill !important;
  pointer-events: none !important;
  z-index: 0 !important;
}

.preview-window > img.main-card-artwork {
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
  max-width: none !important;
  display: block !important;
  object-fit: fill !important;
  pointer-events: none !important;
  z-index: 1 !important;
}

@media (min-width: 900px) and (max-width: 980px) {
  .preview-body {
    padding-right: 68px !important;
  }

  .confirmation-kicker {
    margin-bottom: 99px !important;
  }
}

@media (min-width: 900px) {
  .preview-window {
    width: 953px !important;
    height: 1650px !important;
    flex: 0 0 953px !important;
    max-width: none !important;
    aspect-ratio: auto !important;
  }
}

@container poster-canvas (min-width: 900px) and (max-width: 980px) {
  html body .page-shell .preview-window .poster-header {
    padding: 45px 48px 16px !important;
  }

  html body .page-shell .preview-window .poster-nine-club-logo {
    flex-basis: 123px !important;
    width: 123px !important;
    height: 92px !important;
  }

  html body .page-shell .preview-window .poster-connect-logo {
    flex-basis: 89.6px !important;
    width: 89.6px !important;
    height: 89.6px !important;
  }

  html body .page-shell .preview-window .poster-side-copy {
    font-size: 14.98px !important;
  }

  html body .page-shell .preview-window .preview-body {
    display: flex !important;
    flex-direction: column !important;
    min-height: calc(100% - 132px) !important;
    padding: 20px 68px 44px 62px !important;
  }

  html body .page-shell .preview-window .confirmation-kicker {
    margin-bottom: 99px !important;
    font-size: 19.76px !important;
    letter-spacing: 0.22em !important;
  }

  html body .page-shell .preview-window .confirmation-kicker::after,
  html body .page-shell .preview-window .rules-heading::after {
    width: 60px !important;
    height: 4px !important;
    margin-top: 13px !important;
  }

  html body .page-shell .preview-window .confirmation-card {
    padding: 56px 40px 65px !important;
    border-radius: 32px !important;
  }

  html body .page-shell .preview-window .poster-venue {
    font-size: 137.28px !important;
  }

  html body .page-shell .preview-window .poster-venue-logo {
    flex-basis: 346px !important;
    width: 346px !important;
    height: 126px !important;
    max-width: calc(100% - 128px) !important;
  }

  html body .page-shell .preview-window .preview-deal {
    min-width: 95px !important;
    min-height: 52px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 19.76px !important;
  }

  html body .page-shell .preview-window .guest-block {
    margin: 40px 0 36px !important;
    padding-bottom: 32px !important;
  }

  html body .page-shell .preview-window .guest-block > span {
    font-size: 32.5px !important;
    letter-spacing: 0.2em !important;
  }

  html body .page-shell .preview-window .main-title {
    font-size: 102.22px !important;
    line-height: 0.98 !important;
  }

  html body .page-shell .preview-window .meta {
    gap: 16px !important;
    margin-top: 70px !important;
  }

  html body .page-shell .preview-window .meta-card {
    height: 133px !important;
    grid-template-columns: 54px minmax(0, 1fr) !important;
  }

  html body .page-shell .preview-window .meta-icon {
    font-size: 45.76px !important;
  }

  html body .page-shell .preview-window .meta-card > .meta-icon {
    width: 48px !important;
    height: 48px !important;
  }

  html body .page-shell .preview-window .meta-card > span:not(.meta-icon) {
    font-size: 16.22px !important;
  }

  html body .page-shell .preview-window .meta-card strong {
    margin-top: 10.4px !important;
    font-size: 44.2px !important;
  }

  html body .page-shell .preview-window .meta-card small {
    margin-top: 7.8px !important;
    font-size: 15.6px !important;
  }

  html body .page-shell .preview-window .meta-card .booker-value {
    font-size: 28.08px !important;
  }

  html body .page-shell .preview-window .location-card {
    grid-template-columns: 54px minmax(0, 1fr) 32px !important;
  }

  html body .page-shell .preview-window .location-card > .meta-icon {
    width: 51px !important;
    height: 51px !important;
    font-size: 45.76px !important;
  }

  html body .page-shell .preview-window .location-card > div > span {
    font-size: 16.9px !important;
  }

  html body .page-shell .preview-window .location-card strong {
    font-size: 26px !important;
  }

  html body .page-shell .preview-window .rules-card {
    height: 318px !important;
    margin-top: auto !important;
    margin-bottom: 51px !important;
    padding: 32px 34px 28px !important;
  }

  html body .page-shell .preview-window .rules-heading {
    white-space: nowrap !important;
    font-size: 20.8px !important;
    letter-spacing: 3px !important;
  }

  html body .page-shell .preview-window .rules-copy {
    gap: 18px !important;
    margin-top: 22px !important;
    padding: 18px 20px !important;
  }

  html body .page-shell .preview-window .rules-icon {
    flex-basis: 58px !important;
    width: 58px !important;
    height: 58px !important;
    font-size: 24.96px !important;
  }

  html body .page-shell .preview-window .rules-copy p {
    font-size: 20.8px !important;
    line-height: 1.3 !important;
  }
}

@media (max-width: 640px) {
  html body .page-shell main.layout > .preview-panel {
    width: calc(100vw - 40px) !important;
    min-width: 0 !important;
    height: calc((100vw - 40px) * 1.730325) !important;
    min-height: 0 !important;
    padding: 0 !important;
    overflow: hidden !important;
  }

  html body .page-shell main.layout > .preview-panel > .preview-card {
    position: relative !important;
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    min-width: 0 !important;
    min-height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: hidden !important;
  }

  html body .page-shell main.layout .preview-panel .preview-card .preview-window {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 953px !important;
    height: 1650px !important;
    min-width: 953px !important;
    min-height: 1650px !important;
    transform: scale(calc((100vw - 40px) / 953px)) !important;
    transform-origin: top left !important;
  }

  html body .page-shell .outlet-card .search-btn {
    flex: 0 0 118px !important;
    width: 118px !important;
    min-width: 118px !important;
    height: 48px !important;
    align-self: center !important;
    padding: 0 6px !important;
    border-radius: 12px !important;
    font-size: 0.82rem !important;
    letter-spacing: 0 !important;
    white-space: nowrap !important;
  }

  html body .page-shell .outlet-card {
    flex-direction: row !important;
    align-items: center !important;
    gap: 8px !important;
  }

  html body .page-shell .outlet-brand {
    flex: 1 1 auto !important;
    width: auto !important;
    min-width: 0 !important;
    gap: 10px !important;
  }

  html body .page-shell .field-grid > .field {
    width: 100% !important;
    min-width: 0 !important;
  }

  html body .page-shell .field-grid input[type="date"],
  html body .page-shell .field-grid input[type="time"] {
    display: flex !important;
    align-items: center !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
    min-inline-size: 0 !important;
    box-sizing: border-box !important;
    appearance: none !important;
    -webkit-appearance: none !important;
    height: 54px !important;
    min-height: 54px !important;
    line-height: 1.15 !important;
    padding: 0 48px 0 16px !important;
    font-size: 1.1rem !important;
  }

  html body .page-shell .field-grid input[type="date"]::-webkit-date-and-time-value,
  html body .page-shell .field-grid input[type="time"]::-webkit-date-and-time-value {
    display: flex !important;
    align-items: center !important;
    height: 100% !important;
    width: 100% !important;
    min-width: 0 !important;
    text-align: left !important;
    line-height: 1.15 !important;
  }

  html body .page-shell .venue-action-button {
    flex: 0 0 52px !important;
    width: 52px !important;
    height: 52px !important;
  }

  html body .page-shell .venue-picker-row {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) auto !important;
    width: 100% !important;
    min-width: 0 !important;
    gap: 8px !important;
  }

  html body .page-shell .venue-logo-grid {
    width: 100% !important;
    min-width: 0 !important;
    flex: 1 1 0 !important;
  }

  html body .page-shell .venue-menu-actions {
    flex-direction: column !important;
    margin: 0 6px 0 0 !important;
  }

  html body .page-shell .script-logo.has-logo-image {
    flex: 0 0 73px !important;
    width: 112px !important;
    height: 73px !important;
  }

  html body .page-shell .outlet-brand.has-logo-image .outlet-subtext {
    width: 112px !important;
    font-size: 1rem !important;
  }
}

html body .page-shell .preview-window .rules-copy p {
  min-width: 0 !important;
  max-width: 100% !important;
  overflow-wrap: anywhere !important;
  word-break: normal !important;
}

html body .page-shell .preview-window .location-card {
  grid-template-columns: 54px minmax(0, 1fr) !important;
}

.poster-design-dock {
  position: fixed;
  top: 16px;
  right: 16px;
  z-index: 1000;
}

.poster-design-toggle,
.poster-design-close,
.poster-design-remove {
  display: grid;
  place-items: center;
  color: #e9f8ff;
  background: rgba(8, 25, 43, 0.96);
  border: 1px solid rgba(22, 230, 255, 0.3);
  cursor: pointer;
}

.poster-design-toggle {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
}

.poster-design-toggle svg {
  width: 23px;
  height: 23px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
}

.poster-design-toggle:hover,
.poster-design-toggle:focus-visible,
.poster-design-close:hover,
.poster-design-remove:hover {
  color: #031321;
  background: #16e6ff;
}

.poster-design-panel {
  position: absolute;
  top: 0;
  right: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
  width: min(360px, calc(100vw - 24px));
  max-height: 55vh;
  max-height: 55dvh;
  padding: 16px;
  overflow: auto;
  color: #f4f8ff;
  background: var(--app-background-color, #050b18);
  border: 1px solid rgba(22, 230, 255, 0.28);
  border-radius: 14px;
  box-shadow: 0 18px 60px rgba(0, 0, 0, 0.5);
  overscroll-behavior: contain;
}

.poster-design-panel[hidden],
.poster-brand-thumbnail[hidden] {
  display: none;
}

.poster-design-panel :is(button, .poster-design-file-button) {
  background: color-mix(in srgb, var(--app-background-color, #050b18) 90%, var(--app-text-color, #fff) 10%) !important;
  border-color: color-mix(in srgb, var(--app-accent-color, var(--accent)) 32%, transparent) !important;
}

.poster-design-save {
  position: sticky;
  bottom: 0;
  z-index: 2;
  width: 100%;
  min-height: 42px;
  margin-top: 4px;
  color: var(--app-text-color, var(--text));
  background: linear-gradient(135deg, var(--app-accent-strong, var(--button)), var(--app-accent-color, var(--accent)));
  border: 1px solid color-mix(in srgb, var(--app-accent-color, var(--accent)) 55%, transparent);
  border-radius: 8px;
  font: inherit;
  font-weight: 650;
  cursor: pointer;
  box-shadow: 0 8px 20px color-mix(in srgb, var(--app-accent-color, var(--accent)) 24%, transparent);
}

.poster-design-save:hover,
.poster-design-save:focus-visible {
  filter: brightness(1.08);
}

.poster-design-controls {
  display: contents;
}

.poster-design-controls[hidden],
.poster-design-unlock[hidden] {
  display: none;
}

.poster-design-unlock {
  display: grid;
  gap: 10px;
  padding: 14px;
  background: color-mix(in srgb, var(--app-background-color, #050b18) 90%, var(--app-text-color, #fff) 10%);
  border: 1px solid color-mix(in srgb, var(--app-accent-color, var(--accent)) 32%, transparent);
  border-radius: 8px;
}

.poster-design-unlock-row {
  display: flex;
  gap: 8px;
}

.poster-design-pin {
  flex: 1 1 auto;
  width: 0;
  min-width: 0;
  height: 38px;
  padding: 0 10px;
  color: var(--app-text-color, var(--text));
  background: rgba(5, 16, 32, 0.72);
  border: 1px solid color-mix(in srgb, var(--app-accent-color, var(--accent)) 32%, transparent);
  border-radius: 7px;
  font: inherit;
}

.poster-design-unlock-button {
  min-width: 84px;
  padding: 0 12px;
  color: var(--app-text-color, var(--text));
  background: color-mix(in srgb, var(--app-background-color, #050b18) 90%, var(--app-text-color, #fff) 10%);
  border: 1px solid color-mix(in srgb, var(--app-accent-color, var(--accent)) 32%, transparent);
  border-radius: 7px;
  font: inherit;
  cursor: pointer;
}

.poster-design-pin-error {
  margin: 0;
  color: #ff7c7c;
  font-size: 12px;
}

.poster-design-color {
  width: 52px;
  height: 36px;
  padding: 3px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(177, 219, 238, 0.2);
  border-radius: 7px;
  cursor: pointer;
}

.poster-design-header,
.poster-design-section-heading,
.poster-design-actions,
.poster-brand-file-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 9px;
}

.poster-design-header {
  display: grid;
  grid-template-columns: 32px minmax(0, 1fr) 32px;
  align-items: center;
  justify-content: initial;
  position: sticky;
  top: 0;
  z-index: 4;
  padding: 8px 0;
  background: var(--app-background-color, #050b18);
  border-bottom: 1px solid color-mix(in srgb, var(--app-accent-color, var(--accent)) 24%, transparent);
}

.poster-design-header h2,
.poster-design-section h3 {
  margin: 0;
  color: #effbff;
  font-size: 14px;
  font-weight: 650;
}

.poster-design-header h2 {
  text-align: center;
  font-size: 16px;
}

.poster-design-close,
.poster-design-remove {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  font-size: 20px;
  line-height: 1;
}

.poster-design-back svg {
  width: 19px;
  height: 19px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.poster-design-section {
  display: grid;
  gap: 9px;
  min-width: 0;
  padding-top: 12px;
  border-top: 1px solid color-mix(in srgb, var(--app-accent-color, var(--accent)) 24%, transparent);
}

.poster-design-actions {
  justify-content: flex-start;
}

.poster-design-file-input {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  clip-path: inset(50%);
}

.poster-design-file-button,
.poster-design-reset {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 0 11px;
  color: #e7f8ff;
  background: rgba(16, 47, 69, 0.82);
  border: 1px solid rgba(22, 230, 255, 0.25);
  border-radius: 8px;
  font: inherit;
  font-size: 12px;
  cursor: pointer;
}

.poster-design-file-button:hover,
.poster-design-reset:hover {
  background: rgba(20, 93, 115, 0.9);
}

.poster-design-range-label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  color: #b8c9d8;
  font-size: 12px;
}

.poster-design-range-label-heading > span {
  color: #effbff;
  font-size: 14px;
  font-weight: 650;
}

.poster-design-range-label-heading > output {
  font-size: 12px;
  font-weight: 400;
}

.poster-design-range-label output {
  color: #effbff;
  font-variant-numeric: tabular-nums;
}

.poster-design-range {
  width: 100%;
  min-width: 0;
  height: 24px;
  margin: 0;
  padding: 0;
  appearance: none;
  background: transparent;
  cursor: pointer;
}

.poster-design-range::-webkit-slider-runnable-track {
  height: 6px;
  background: var(--range-gradient, #16e6ff);
  border-radius: 999px;
}

.poster-design-range::-moz-range-track {
  height: 6px;
  background: var(--range-gradient, #16e6ff);
  border-radius: 999px;
}

.poster-design-range::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 18px;
  height: 18px;
  margin-top: -6px;
  border: 2px solid rgba(10, 20, 35, 0.78);
  border-radius: 50%;
  background: var(--poster-text-color, #f4f8ff);
  box-shadow: 0 2px 10px rgba(17, 22, 30, 0.45), 0 0 0 2px rgba(255, 255, 255, 0.12);
}

.poster-design-range::-moz-range-thumb {
  width: 18px;
  height: 18px;
  border: 2px solid rgba(10, 20, 35, 0.78);
  border-radius: 50%;
  background: var(--poster-text-color, #f4f8ff);
  box-shadow: 0 2px 10px rgba(17, 22, 30, 0.45), 0 0 0 2px rgba(255, 255, 255, 0.12);
}

.poster-brand-editor {
  position: relative;
  border: 1px solid rgba(177, 219, 238, 0.16);
  border-radius: 8px;
}

.poster-brand-editor summary {
  padding: 10px 76px 10px 12px;
  color: #eaf8ff;
  font-size: 12px;
  cursor: pointer;
}

.poster-brand-reset {
  position: absolute;
  top: 4px;
  right: 8px;
  z-index: 1;
  min-height: 26px;
  padding: 0 8px;
  font-size: 11px;
}

.poster-brand-editor-content {
  display: grid;
  gap: 8px;
  padding: 0 12px 12px;
}

.poster-brand-file-row {
  justify-content: flex-start;
}

.poster-brand-thumbnail {
  width: 44px;
  height: 36px;
  object-fit: contain;
  border: 1px solid rgba(177, 219, 238, 0.16);
  border-radius: 5px;
}

.poster-design-status {
  min-height: 16px;
  margin: 0;
  color: #9db2c5;
  font-size: 11px;
}

.preview-window .poster-brand-logo {
  display: block !important;
  max-width: none !important;
  object-fit: contain !important;
}

.preview-window .brand-cross {
  flex: 0 0 auto;
  transform: none !important;
}

.preview-window .meta-icon,
.preview-window .vip-icon,
.preview-window .rules-icon {
  color: var(--poster-accent-color, var(--accent)) !important;
}

html body .page-shell .preview-window .preview-body .preview-deal {
  border-color: color-mix(in srgb, var(--poster-accent-color, var(--accent)) 78%, transparent) !important;
  background: linear-gradient(135deg,
    color-mix(in srgb, var(--poster-accent-color, var(--accent)) 72%, var(--app-background-color, #050b18) 28%),
    color-mix(in srgb, var(--poster-accent-color, var(--accent)) 35%, var(--app-background-color, #050b18) 65%)) !important;
  box-shadow: 0 0 16px color-mix(in srgb, var(--poster-accent-color, var(--accent)) 28%, transparent) !important;
}

.preview-window .rules-icon {
  border-color: var(--poster-accent-color, var(--accent)) !important;
  box-shadow: 0 0 12px color-mix(in srgb, var(--poster-accent-color, var(--accent)) 42%, transparent) !important;
}

.preview-window .confirmation-kicker::after,
.preview-window .rules-heading::after {
  background: var(--poster-accent-color, var(--accent)) !important;
  box-shadow: 0 0 12px var(--poster-accent-color, var(--accent)) !important;
}

html body .page-shell .layout .preview-panel .preview-card .preview-window .preview-body .confirmation-card,
html body .page-shell .layout .preview-panel .preview-card .preview-window .preview-body .rules-card {
  border-color: color-mix(in srgb, var(--poster-accent-color, var(--accent)) 56%, transparent) !important;
  box-shadow: 0 0 16px color-mix(in srgb, var(--poster-accent-color, var(--accent)) 18%, transparent) !important;
}

html body {
  accent-color: var(--app-accent-color, var(--accent)) !important;
}

html body .page-shell .panel,
html body .page-shell .quick-fill,
html body .page-shell .outlet-card,
html body .page-shell .venue-card,
html body .page-shell .input,
html body .page-shell .spinner,
html body .page-shell .venue-option,
html body .page-shell .meta-card,
html body .page-shell .location-card,
html body .page-shell .rules-copy,
html body .page-shell .poster-design-panel,
html body .page-shell .poster-brand-editor {
  border-color: color-mix(in srgb, var(--app-accent-color, var(--accent)) 24%, transparent) !important;
}

html body .page-shell .preview-window {
  border-color: color-mix(in srgb, var(--app-accent-color, var(--accent)) 70%, transparent) !important;
  box-shadow: 0 0 26px color-mix(in srgb, var(--app-accent-color, var(--accent)) 16%, transparent), inset 0 0 34px color-mix(in srgb, var(--app-accent-color, var(--accent)) 6%, transparent) !important;
}

html body .page-shell .layout .preview-panel .preview-card .preview-window .preview-body .location-card {
  border-color: color-mix(in srgb, var(--app-accent-color, var(--accent)) 24%, transparent) !important;
}

html body .page-shell .preview-window .guest-block {
  border-bottom-color: color-mix(in srgb, var(--app-accent-color, var(--accent)) 24%, transparent) !important;
}

html body .page-shell .preview-window > .background-artwork {
  filter: none !important;
}

html body .page-shell .search-btn,
html body .page-shell .download-btn,
html body .page-shell .venue-action-button,
html body .page-shell .shared-club-publish-button {
  background: linear-gradient(135deg, var(--app-accent-strong, var(--button)), var(--app-accent-color, var(--accent))) !important;
  border-color: color-mix(in srgb, var(--app-accent-color, var(--accent)) 55%, transparent) !important;
  box-shadow: 0 10px 24px color-mix(in srgb, var(--app-accent-color, var(--accent)) 24%, transparent) !important;
}

html body .page-shell .venue-action-button {
  color: var(--app-accent-ink, #031321) !important;
}

html body .page-shell .venue-option.active,
html body .page-shell .table-deal-option.active {
  background: color-mix(in srgb, var(--app-accent-color, var(--accent)) 12%, transparent) !important;
  border-color: color-mix(in srgb, var(--app-accent-color, var(--accent)) 65%, transparent) !important;
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--app-accent-color, var(--accent)) 18%, transparent) !important;
}

html body .page-shell .table-deal-option.active {
  border-color: color-mix(in srgb, #efffff 64%, var(--app-accent-color, #16e6ff) 36%) !important;
}

html body .page-shell .stepper,
html body .page-shell .club-logo-scale-button,
html body .page-shell .table-deal-trigger,
html body .page-shell .poster-design-toggle,
html body .page-shell .poster-design-close,
html body .page-shell .poster-design-remove,
html body .page-shell .poster-design-file-button,
html body .page-shell .poster-design-reset {
  border-color: color-mix(in srgb, var(--app-accent-color, var(--accent)) 32%, transparent) !important;
}

html body .page-shell .poster-design-file-button,
html body .page-shell .poster-design-reset {
  background: color-mix(in srgb, var(--app-background-color, #050b18) 90%, var(--app-text-color, #fff) 10%) !important;
}

html body .page-shell .input,
html body .page-shell .spinner,
html body .page-shell .outlet-card,
html body .page-shell .venue-card {
  background: color-mix(in srgb, var(--app-background-color, #050b18) 90%, var(--app-text-color, #fff) 10%) !important;
}

html body .page-shell .main-panel {
  background: var(--app-background-color, #050b18) !important;
}

html body .page-shell {
  border-color: color-mix(in srgb, var(--app-accent-color, var(--accent)) 24%, transparent) !important;
}

html body .page-shell .topbar {
  border-bottom-color: color-mix(in srgb, var(--app-accent-color, var(--accent)) 24%, transparent) !important;
}

html body .page-shell .poster-design-toggle:hover,
html body .page-shell .poster-design-toggle:focus-visible,
html body .page-shell .poster-design-close:hover,
html body .page-shell .poster-design-remove:hover {
  color: var(--app-accent-ink, #031321) !important;
  background: var(--app-accent-color, var(--accent)) !important;
}

html body .page-shell .poster-design-file-button:hover,
html body .page-shell .poster-design-reset:hover,
html body .page-shell .club-logo-scale-button:hover,
html body .page-shell .stepper:hover {
  background: color-mix(in srgb, var(--app-background-color, #050b18) 82%, var(--app-text-color, #fff) 18%) !important;
}

.poster-design-range::-webkit-slider-runnable-track {
  background: var(--range-gradient, var(--app-accent-color, #16e6ff));
}

.poster-design-range::-moz-range-track {
  background: var(--range-gradient, var(--app-accent-color, #16e6ff));
}

html body .page-shell .preview-window .preview-body .confirmation-kicker,
html body .page-shell .preview-window .preview-body .guest-block > span,
html body .page-shell .preview-window .preview-body .main-title,
html body .page-shell .preview-window .preview-body .meta-card > span:not(.meta-icon),
html body .page-shell .preview-window .preview-body .meta-card > strong,
html body .page-shell .preview-window .preview-body .meta-card > small,
html body .page-shell .preview-window .preview-body .location-card > div > span,
html body .page-shell .preview-window .preview-body .location-card strong,
html body .page-shell .preview-window .preview-body .rules-heading,
html body .page-shell .preview-window .preview-body .rules-copy p {
  color: var(--poster-text-color, #f5f7fa) !important;
}

html body .page-shell :is(h1, h2, h3, h4, p, span, strong, small, label, button, input, select, textarea, output, summary, li, [role="status"], [role="option"]) {
  color: var(--app-text-color, var(--text)) !important;
}

html body .poster-design-panel .poster-brand-editor summary {
  color: var(--poster-text-color, var(--app-text-color, #f5f7fa)) !important;
}

html body .page-shell button:has(svg) svg {
  color: var(--app-accent-color, var(--accent)) !important;
}

html body .page-shell input::placeholder,
html body .page-shell textarea::placeholder {
  color: var(--app-text-color, var(--text)) !important;
  opacity: 0.72;
}

html,
html body {
  background: var(--app-background-color, #050b18) !important;
}

html body .page-shell,
html body .page-shell .topbar,
html body .page-shell .layout,
html body .page-shell .main-panel,
html body .page-shell .preview-panel {
  background: var(--app-background-color, #050b18) !important;
}

@media (max-width: 640px) {
  .poster-design-dock {
    top: 10px;
    right: 10px;
  }

  .poster-design-panel {
    max-height: 55vh;
    max-height: 55dvh;
    padding: 13px;
  }
}

.poster-design-range[data-brand-setting]::-webkit-slider-runnable-track {
  background: var(--app-accent-color, #16e6ff) !important;
}

.poster-design-range[data-brand-setting]::-moz-range-track {
  background: var(--app-accent-color, #16e6ff) !important;
}

.poster-design-panel {
  color: var(--app-text-color, var(--text)) !important;
  background: var(--app-background-color, #050b18) !important;
  border-color: color-mix(in srgb, var(--app-accent-color, var(--accent)) 40%, transparent) !important;
}

.poster-design-toggle,
.poster-design-panel .poster-design-close,
.account-settings-dialog .poster-design-close,
.poster-design-panel .poster-design-save {
  color: var(--app-text-color, var(--text)) !important;
  background: linear-gradient(135deg, var(--app-accent-strong, var(--button)), var(--app-accent-color, var(--accent))) !important;
  border-color: color-mix(in srgb, var(--app-accent-color, var(--accent)) 55%, transparent) !important;
  box-shadow: 0 8px 20px color-mix(in srgb, var(--app-accent-color, var(--accent)) 24%, transparent) !important;
}

.poster-design-toggle svg {
  color: var(--app-text-color, var(--text)) !important;
}

.poster-design-toggle:hover,
.poster-design-toggle:focus-visible,
.poster-design-panel .poster-design-close:hover,
.account-settings-dialog .poster-design-close:hover,
.poster-design-panel .poster-design-save:hover,
.poster-design-panel .poster-design-save:focus-visible {
  filter: brightness(1.08);
}

html body .page-shell :is(.outlet-card, .input, .spinner, .venue-card, .table-deal-trigger, .poster-design-file-button, .poster-design-reset) {
  background: color-mix(in srgb, var(--app-glass-color, #123754) 78%, transparent) !important;
  border-color: color-mix(in srgb, #d8fbff 42%, var(--app-accent-color, #16e6ff) 58%) !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.22), 0 8px 22px rgba(0, 9, 22, 0.2) !important;
  backdrop-filter: blur(14px) saturate(145%) !important;
  -webkit-backdrop-filter: blur(14px) saturate(145%) !important;
}

html body .poster-design-panel .poster-design-file-button,
html body .poster-design-panel .poster-design-reset {
  background: color-mix(in srgb, var(--app-glass-color, #123754) 78%, transparent) !important;
  border-color: color-mix(in srgb, #d8fbff 42%, var(--app-accent-color, #16e6ff) 58%) !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.22), 0 8px 22px rgba(0, 9, 22, 0.2) !important;
  backdrop-filter: blur(14px) saturate(145%) !important;
  -webkit-backdrop-filter: blur(14px) saturate(145%) !important;
}

html body .poster-design-panel .poster-design-reset {
  color: var(--app-glass-ink, #f5f7fa) !important;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.22);
}

html body .poster-design-panel :is(.poster-design-file-button, .poster-design-reset):hover,
html body .poster-design-panel :is(.poster-design-file-button, .poster-design-reset):focus-visible {
  background: color-mix(in srgb, var(--app-accent-color, #16e6ff) 28%, var(--app-glass-color, #123754) 72%) !important;
  border-color: color-mix(in srgb, #efffff 64%, var(--app-accent-color, #16e6ff) 36%) !important;
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--app-accent-color, #16e6ff) 22%, transparent), 0 12px 26px rgba(0, 9, 22, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.3) !important;
  filter: brightness(1.08);
}

html body .page-shell .preview-window .preview-body .confirmation-card,
html body .page-shell .layout .preview-panel .preview-card .preview-window .preview-body .confirmation-card,
html body .page-shell .preview-window .preview-body .rules-card,
html body .page-shell .layout .preview-panel .preview-card .preview-window .preview-body .rules-card {
  background: linear-gradient(145deg,
    color-mix(in srgb, var(--poster-glass-color, #123754) var(--poster-glass-top-opacity, 78%), transparent),
    color-mix(in srgb, var(--poster-glass-color, #123754) var(--poster-glass-bottom-opacity, 62%), transparent)) !important;
  border-color: color-mix(in srgb, #d8fbff 42%, var(--app-accent-color, #16e6ff) 58%) !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 12px 28px rgba(0, 8, 20, 0.24), 0 0 20px color-mix(in srgb, var(--app-accent-color, #16e6ff) 16%, transparent) !important;
  backdrop-filter: blur(var(--poster-glass-blur, 22px)) saturate(var(--poster-glass-saturation, 1.5)) !important;
  -webkit-backdrop-filter: blur(var(--poster-glass-blur, 22px)) saturate(var(--poster-glass-saturation, 1.5)) !important;
}

html body .page-shell .preview-window .preview-body .meta-card,
html body .page-shell .preview-window .preview-body .location-card,
html body .page-shell .preview-window .preview-body .rules-copy,
html body .page-shell .layout .preview-panel .preview-card .preview-window .preview-body .location-card {
  background: color-mix(in srgb, var(--poster-glass-color, #123754) 62%, transparent) !important;
  border-color: color-mix(in srgb, #d8fbff 42%, var(--app-accent-color, #16e6ff) 58%) !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 12px 28px rgba(0, 8, 20, 0.24), 0 0 20px color-mix(in srgb, var(--app-accent-color, #16e6ff) 16%, transparent) !important;
  backdrop-filter: blur(20px) saturate(150%) !important;
  -webkit-backdrop-filter: blur(20px) saturate(150%) !important;
}

html body .page-shell .preview-window .preview-body .guest-block {
  border-bottom-color: color-mix(in srgb, #efffff 48%, var(--app-accent-color, #16e6ff) 52%) !important;
  text-shadow: 0 1px 12px rgba(0, 8, 20, 0.55);
}

html body .page-shell .outlet-menu {
  background: color-mix(in srgb, var(--app-glass-color, #123754) 78%, transparent) !important;
  border-color: color-mix(in srgb, #d8fbff 42%, var(--app-accent-color, #16e6ff) 58%) !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 14px 30px rgba(0, 9, 22, 0.24) !important;
  backdrop-filter: blur(14px) saturate(145%) !important;
  -webkit-backdrop-filter: blur(14px) saturate(145%) !important;
}

html body .page-shell .venue-action-button,
html body .page-shell .venue-action-button svg {
  color: var(--poster-text-color, var(--app-text-color, #f5f7fa)) !important;
}

html body .page-shell .venue-action-button svg {
  stroke: currentColor !important;
}

html body .page-shell .outlet-menu .venue-option {
  background: color-mix(in srgb, var(--app-glass-color, #123754) 88%, transparent) !important;
  border-color: color-mix(in srgb, var(--app-accent-color, #16e6ff) 30%, transparent) !important;
  color: var(--app-text-color, #f5f7fa) !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12), 0 8px 18px rgba(0, 9, 22, 0.14) !important;
}

html body .page-shell .outlet-menu .venue-option:hover,
html body .page-shell .outlet-menu .venue-option:focus-visible {
  background: color-mix(in srgb, var(--app-glass-color, #123754) 76%, var(--app-accent-color, #16e6ff) 24%) !important;
  border-color: color-mix(in srgb, var(--app-accent-color, #16e6ff) 58%, transparent) !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.18), 0 10px 24px color-mix(in srgb, var(--app-accent-color, #16e6ff) 14%, transparent) !important;
}

html body .page-shell .outlet-menu .venue-option:is(.active, [aria-selected="true"]) {
  background: color-mix(in srgb, var(--app-glass-color, #123754) 82%, var(--app-accent-color, #16e6ff) 18%) !important;
  border-color: color-mix(in srgb, var(--app-accent-color, #16e6ff) 68%, transparent) !important;
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--app-accent-color, #16e6ff) 24%, transparent), 0 0 18px color-mix(in srgb, var(--app-accent-color, #16e6ff) 12%, transparent) !important;
}

html body .page-shell .outlet-menu .venue-logo-mark {
  background: color-mix(in srgb, var(--app-glass-color, #123754) 76%, transparent) !important;
  border-color: color-mix(in srgb, var(--app-accent-color, #16e6ff) 38%, transparent) !important;
  color: var(--app-text-color, #f5f7fa) !important;
}

html body .poster-design-panel :is(button, input, select, textarea, .poster-design-file-button):focus-visible {
  outline: 2px solid var(--app-accent-color, var(--accent)) !important;
  outline-offset: 2px;
}

html body .page-shell .required {
  color: var(--app-accent-color, var(--accent)) !important;
}

html body .page-shell .support-note {
  color: var(--poster-text-color, var(--app-text-color, #f5f7fa)) !important;
}

html body .poster-design-panel :is(
  h2,
  h3,
  p:not(.poster-design-pin-error),
  span,
  strong,
  small,
  label,
  output,
  button,
  .poster-design-file-button,
  input:not([type="color"]):not([type="range"]),
  textarea,
  select
) {
  color: var(--poster-text-color, var(--app-text-color, #f5f7fa)) !important;
}

