/* Shared visitor interface for the portrait tablet. */
:root { --visitor-border: #ffffff19; --visitor-panel: #242139; }
.shell { grid-template-rows: 86px minmax(0, 1fr); }
.header-controls { display: flex; align-items: center; gap: 12px; }
.fullscreen-button {
  width: 48px; height: 48px; display: grid; place-items: center;
  color: #ffffff99; background: transparent; border: 1px solid var(--visitor-border);
  border-radius: 14px; cursor: pointer;
}
.fullscreen-button:hover { color: white; background: #ffffff08; }
.topbar { background: #1e1b30bb; border-bottom: 1px solid #ffffff0e; }
.language-switch { border-radius: 17px; padding: 5px; background: #14122266; border-color: var(--visitor-border); }
.language-switch button { min-width: 56px; min-height: 48px; border-radius: 12px; font-size: 1rem; }
.primary-button, .secondary-button { border-radius: 17px; font-weight: 800; }
.primary-button { background: linear-gradient(140deg, #e02756, #bd1742); box-shadow: 0 12px 35px #ce224f25; }
.primary-button:disabled { box-shadow: none; opacity: .35; }
button:focus-visible, .answers label:has(input:focus-visible) { outline: 3px solid #fff; outline-offset: 4px; }
.backdrop__image { transition: opacity .5s ease; }
body[data-screen="question"] .backdrop__image,
body[data-screen="age"] .backdrop__image { opacity: .12; }
.intro-logo { display: block; width: clamp(150px, 27vw, 250px); height: auto; margin: 0 auto 24px; object-fit: contain; }
.signal-card { display: none !important; }
.result-brand { width: 58px; height: 45px; object-fit: contain; justify-self: end; }
.artwork-license-note { display: none; }
.answers label { border: 1px solid #ffffff20; background: #29253f; box-shadow: inset 0 1px #ffffff07; }
.answers label:has(input:checked) { background: linear-gradient(120deg, #601f40, #332139); border-color: #ee4372; box-shadow: 0 0 0 1px #ee437233; }
.answers label:has(input:checked)::after { box-shadow: none; }
.answers .answer-index { color: #d0cddc; background: #ffffff08; border-color: #ffffff12; }
.quiz-phases span { border: 0; background: transparent; letter-spacing: .13em; font-size: .67rem; }
.quiz-phases span.is-active { background: #cf224f18; color: #f66589; box-shadow: none; }
.progress-track { height: 4px; background: #ffffff09; }
.progress-track span { background: linear-gradient(90deg, #cf224f, #fb7899); box-shadow: none; }
.eyebrow { letter-spacing: .2em; }
.email-panel, .venue-card { border-color: var(--visitor-border); border-radius: 26px; }
.fullscreen-status:empty { display: none; }
.fullscreen-status { position: fixed; bottom: 20px; left: 50%; transform: translateX(-50%); z-index: 50; max-width: 90%; background: #29243d; border: 1px solid #ffffff25; padding: 16px 22px; border-radius: 14px; text-align: center; }
@media (orientation: portrait) {
  .shell { height: 100dvh; grid-template-rows: 86px minmax(0, 1fr); }
  .screen { padding: 20px 28px; }
  .screen[data-screen="intro"] .intro-copy {
    width: min(100%, 780px); border: 0; background: none; box-shadow: none;
    backdrop-filter: none; padding: 20px 24px; overflow: visible;
  }
  .intro-copy::before, .intro-copy::after { display: none; }
  .screen[data-screen="intro"] .intro-copy h1 {
    font-size: clamp(3rem, 7.9vw, 5.5rem); max-width: 650px; line-height: 1.02;
    margin: 12px auto 20px; letter-spacing: -.05em;
  }
  .screen[data-screen="intro"] .intro-copy .lead { max-width: 490px; color: #c5c1d4; line-height: 1.55; }
  .intro-copy .eyebrow { color: #fb6d95; font-size: .75rem; }
  .intro-copy .meta-row { margin: 24px auto; gap: 22px; }
  .intro-copy .meta-row span { background: none; border: 0; padding: 0; color: #b0a9c0; font-size: .85rem; }
  .screen[data-screen="intro"] .intro-copy .primary-button { min-height: 76px; width: min(100%, 490px); font-size: 1.25rem; }
  .intro-copy .privacy { max-width: 360px; margin: 24px auto 0; color: #91899f; font-size: .7rem; }
  .age-panel {
    width: min(100%, 780px); justify-self: center; padding: 28px;
    background: linear-gradient(150deg, #28233dbe, #171425cc); border: 1px solid var(--visitor-border);
    box-shadow: 0 25px 80px #09051622; border-radius: 28px;
  }
  .age-panel h2 { font-size: clamp(2.5rem, 6.5vw, 4rem); letter-spacing: -.04em; margin-bottom: 14px; }
  .age-lead { color: #b6afc5; font-size: 1rem; max-width: 440px; margin: 0 auto 30px; }
  .age-options { gap: 14px; width: 100%; }
  .age-option {
    min-height: 100px; border-radius: 18px; border: 1px solid #ffffff22;
    background: linear-gradient(125deg, #343049, #292339); box-shadow: inset 0 1px #ffffff09;
  }
  .age-option::before { display: none; }
  .age-option strong { font-size: clamp(1.8rem, 4.8vw, 2.7rem); }
  .age-option span { color: #bfb8cd; font-size: .8rem; }
  .age-option:hover, .age-option:active { border-color: #ed537d; background: #48223b; }
  .screen[data-screen="question"] { max-width: 1000px; width: 100%; justify-self: center; }
  .question-layout { gap: clamp(18px, 3vh, 38px); align-content: center; }
  .question-copy { text-align: center; }
  .question-copy h2 { max-width: 820px; margin: 0 auto; font-size: clamp(2.1rem, 4.7vw, 3.4rem); line-height: 1.16; letter-spacing: -.035em; }
  .question-copy .eyebrow { font-size: .68rem; margin-bottom: 15px; color: #c9b9cd; }
  .answers { width: min(100%, 820px); margin: 0 auto; gap: 12px; }
  .answers label { min-height: 80px; border-radius: 18px; padding: 16px 42px 16px 16px; font-size: clamp(1rem, 2.3vw, 1.35rem); line-height: 1.35; }
  .answer-index { flex-shrink: 0; }
  .question-actions .primary-button { min-height: 66px; border-radius: 17px; font-size: 1.05rem; }
}
@media (orientation: portrait) and (max-height: 950px) {
  .shell { grid-template-rows: 72px minmax(0, 1fr); }
  .topbar { min-height: 72px; padding: 5px 16px; }
  .brand-logo { height: 54px; }
  .screen { padding: 14px 18px; }
  .intro-logo { width: 145px; margin-bottom: 14px; }
  .screen[data-screen="intro"] .intro-copy h1 { font-size: clamp(2.7rem, 7vw, 4rem); margin-bottom: 15px; }
  .intro-copy .meta-row { margin: 18px auto; }
  .screen[data-screen="intro"] .intro-copy .primary-button { min-height: 62px; }
  .age-panel { padding: 22px; }
  .age-option { min-height: 78px; }
  .age-lead { margin-bottom: 22px; }
  .question-layout { gap: 20px; }
  .question-copy h2 { font-size: clamp(1.65rem, 4.5vw, 2.5rem); }
  .answers { gap: 9px; }
  .answers label { min-height: 62px; padding: 12px 32px 12px 12px; font-size: .98rem; }
  .question-actions .primary-button { min-height: 54px; }
}
@media (orientation: portrait) {
  .email-layout { height: 100%; min-height: 0; display: grid; grid-template-columns: 1fr; grid-template-rows: auto minmax(0, 1fr); gap: 14px; }
  .venue-card { display: grid; grid-template-columns: 76px 1fr; gap: 8px 18px; padding: 20px 24px; align-items: center; }
  .venue-card__logo { width: 76px; height: 68px; margin: 0; grid-row: 1 / 3; object-fit: contain; }
  .venue-card .eyebrow, .venue-card__tagline { display: none; }
  .venue-card h2 { font-size: 1.25rem; margin: 0; grid-column: 2; }
  .venue-details { grid-column: 2; display: flex; gap: 20px; margin: 0; }
  .venue-details > div { border: 0; background: none; padding: 0; }
  .venue-details p { font-size: .75rem; line-height: 1.4; }
  .email-panel { padding: 28px; display: flex; flex-direction: column; justify-content: center; }
  .email-panel h2 { font-size: clamp(1.8rem, 4.8vw, 3rem); line-height: 1.12; }
  .email-back { margin-bottom: 22px; }
  .email-result-chip { display: flex; margin: 16px 0; }
  .email-privacy { display: block; }
  .email-panel input { min-height: 62px; font-size: 1.05rem; }
  .email-panel .primary-button, .email-panel .secondary-button { min-height: 58px; font-size: 1rem; }
}
@media (orientation: portrait) and (max-height: 950px) {
  .venue-card { padding: 12px 18px; }
  .venue-card h2 { font-size: 1rem; }
  .venue-details p { font-size: .65rem; }
  .email-panel { padding: 22px; }
  .email-back { margin-bottom: 14px; }
  .email-result-chip { margin: 12px 0; }
  .email-panel h2 { font-size: 1.9rem; }
  .email-panel input { min-height: 54px; }
  .email-panel .primary-button, .email-panel .secondary-button { min-height: 50px; font-size: .9rem; }
}
/* One centered column at every viewport width, including wide portrait tablets. */
.screen[data-screen="intro"] {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  grid-template-rows: minmax(0, 1fr);
  place-items: center;
  gap: 0;
  width: 100%;
  min-width: 0;
}
.screen[data-screen="intro"] .intro-copy {
  grid-column: 1;
  justify-self: center;
  width: min(100%, 780px);
  height: auto;
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.screen[data-screen="intro"] .intro-copy h1,
.screen[data-screen="intro"] .intro-copy .lead,
.screen[data-screen="intro"] .intro-copy .privacy,
.screen[data-screen="intro"] .intro-copy .primary-button {
  margin-inline: auto;
}
.screen[data-screen="intro"] .intro-copy .meta-row { justify-content: center; }
@media (prefers-reduced-motion: reduce) { .backdrop__image { transition: none; } }
