* {
  box-sizing: border-box;
}
html,
body {
  margin: 0;
  background: #fff;
  color: #262536;
  font-family: Arial, sans-serif;
  font-size: 14px;
}
button,
input,
select {
  font: inherit;
  color: inherit;
}
button {
  cursor: pointer;
  touch-action: manipulation;
}
button,
input,
select {
  max-width: 100%;
}
[hidden] {
  display: none !important;
}
h1,
h2,
h3,
p {
  margin: 0;
}
button:focus-visible,
input:focus-visible,
select:focus-visible {
  outline: 3px solid #5129ac;
  outline-offset: 4px;
}
button[aria-pressed='true'] {
  outline: 3px solid #302144;
  outline-offset: 3px;
}
.scene {
  min-height: 480px;
  overflow: hidden;
  position: relative;
}
.event-hero {
  color: #fff;
  padding: 33px 34px 28px;
  min-height: 185px;
  background:
    linear-gradient(90deg, #0a132bd9, #0a132b44),
    url('/games/northern-lights-live.webp') center 45% / cover;
}
.event-kicker {
  font-size: 9px;
  letter-spacing: 0.16em;
  font-weight: 700;
}
.event-hero h1 {
  font-size: 34px;
  line-height: 1.08;
  letter-spacing: -0.045em;
  max-width: 300px;
  margin: 13px 0 8px;
}
.event-hero p {
  font-size: 12px;
  color: #e2eaf7;
}
.event-date {
  display: block;
  font-size: 9px;
  letter-spacing: 0.1em;
  margin-top: 18px;
}
.event-date i {
  font-style: normal;
  margin-inline: 8px;
}
.event-hero.compact {
  padding-block: 24px;
  min-height: 149px;
}
.event-hero.compact h1 {
  font-size: 28px;
  margin-top: 9px;
}
.event-hero.compact p {
  display: none;
}
.event-hero.compact .event-date {
  margin-top: 12px;
}
.content {
  padding: 26px 34px 24px;
  position: relative;
}
.small-label {
  font-size: 8px;
  color: #625b6f;
  font-weight: 700;
  letter-spacing: 0.13em;
  line-height: 1.8;
}
.section-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.content h2 {
  font-size: 26px;
  letter-spacing: -0.045em;
  line-height: 1.2;
  margin: 6px 0 16px;
}
.section-title h2 {
  margin-bottom: 0;
}
.price {
  font-size: 22px;
  font-weight: 700;
  white-space: nowrap;
}
.price small {
  font-size: 10px;
  color: #675f70;
  font-weight: 400;
}
.stage {
  position: relative;
  background: #f4f1f6;
  margin: 25px 0 20px;
  padding: 10px;
  text-align: center;
  font-size: 8px;
  letter-spacing: 0.22em;
  color: #716879;
  border-bottom: 2px solid #c5bdce;
  border-radius: 60% 60% 3px 3px;
}
.stage span {
  display: none;
}
.seat-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  max-width: 360px;
  margin: auto;
}
.seat {
  border: 1px solid #a57976;
  border-radius: 8px;
  min-height: 67px;
  padding: 8px 4px;
  display: grid;
  place-items: center;
  font-size: 13px;
  line-height: 1.2;
}
.available {
  background: #9fc3ab;
}
.sold {
  background: #d49a95;
}
.seat.available {
  border-color: #5c8569;
}
.seat.sold {
  border-color: #95615c;
}
.seat strong {
  font-size: 19px;
  margin: 4px 0 3px;
}
.seat small {
  font-size: 9px;
}
.fixed .seat {
  min-height: 77px;
}
.seat-legend {
  display: flex;
  gap: 20px;
  justify-content: center;
  margin-top: 18px;
  font-size: 10px;
  color: #514958;
}
.seat-legend span {
  display: flex;
  gap: 7px;
  align-items: center;
}
.seat-legend i {
  display: block;
  width: 10px;
  height: 10px;
  border: 1px solid #706878;
  border-radius: 3px;
}
.task-feedback {
  min-height: 20px;
  color: #62516e;
  font-size: 12px;
  line-height: 1.6;
  margin-top: 20px;
}
.task-feedback[data-success='true'] {
  color: #246344;
}
.view-color[data-filter='deuteranopia'] .seating-map > .seat-grid,
.view-color[data-filter='deuteranopia'] .seat-legend {
  filter: url('#deuteranopia');
}
.view-color[data-filter='mono'] .seating-map > .seat-grid,
.view-color[data-filter='mono'] .seat-legend {
  filter: grayscale(1);
}
.promo {
  padding: 14px 17px;
  background: #fbefdd;
  border: 1px solid #e5cba4;
  border-radius: 6px;
  margin: 18px 0;
  transform: rotate(-1deg);
}
.promo span {
  font-size: 8px;
  color: #745226;
  letter-spacing: 0.1em;
}
.promo strong {
  font-size: 17px;
  display: block;
  margin: 5px 0;
}
.promo small {
  font-size: 10px;
  color: #745a34;
}
.calm-step {
  font-size: 12px;
  color: #5e546f;
  background: #f4f0fb;
  padding: 12px 15px;
  border-radius: 5px;
  margin: 15px 0;
}
.ticket-options {
  border: 0;
  padding: 0;
  margin: 15px 0;
}
.ticket-options legend {
  font-size: 12px;
  font-weight: 700;
  margin-bottom: 10px;
}
.ticket-options label {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 15px;
  border: 1px solid #bcb2c8;
  border-radius: 6px;
  margin-bottom: 10px;
  cursor: pointer;
}
.ticket-options label:has(input:checked) {
  background: #f4effc;
  border: 1px solid #6c4a99;
}
.ticket-options input {
  width: 17px;
  height: 17px;
  accent-color: #6336a4;
}
.ticket-options strong {
  font-size: 14px;
}
.ticket-options small {
  font-size: 10px;
  display: block;
  color: #615b69;
  margin-top: 4px;
}
.ticket-options b {
  margin-left: auto;
  font-size: 14px;
}
.action {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  width: 100%;
  min-height: 46px;
  border: 1px solid #48336c;
  border-radius: 6px;
  background: #35264f;
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  padding: 12px 17px;
}
.noise-cards {
  display: flex;
  gap: 10px;
  margin: 10px 0 17px;
}
.noise-cards span {
  background: #f0ecf4;
  border: 1px dashed #b0a2bf;
  padding: 9px;
  font-size: 10px;
  flex: 1;
  color: #6c587e;
}
.policy {
  font-size: calc(14px * var(--text-scale, 1));
  margin: 20px 0;
  color: #443c4e;
}
.dense-policy {
  line-height: 1.23;
  letter-spacing: -0.035em;
  text-align: justify;
}
.clear-policy {
  line-height: 1.7;
  max-width: 60ch;
}
.clear-policy h3 {
  font-size: 1em;
  margin: 17px 0 5px;
}
.clear-policy p {
  margin-bottom: 14px;
}
.clear-policy strong {
  color: #352151;
}
.extra-spacing .policy {
  line-height: 1.9;
  letter-spacing: 0.03em;
  word-spacing: 0.1em;
  text-align: left;
}
.answer-label {
  font-size: 13px;
  margin-top: 23px;
  line-height: 1.5;
}
.answer-row {
  display: flex;
  gap: 9px;
  flex-wrap: wrap;
  margin-top: 12px;
}
.answer-row button {
  border: 1px solid #9f91af;
  background: #faf8fd;
  border-radius: 5px;
  font-size: 12px;
  padding: 12px;
  min-height: 44px;
  flex: 1;
  white-space: nowrap;
}
.vision-copy {
  margin: 20px 0;
  padding: 19px;
  background: #fafafa;
  font-size: calc(12px * var(--text-scale, 1));
  line-height: 1.5;
  color: #c0bdc6;
  overflow: hidden;
  border: 1px solid #eceaf0;
}
.vision-copy p {
  margin-top: 12px;
}
.original .vision-copy p,
.original .vision-copy h3 {
  white-space: nowrap;
}
.vision-copy h3 {
  font-size: 1.1em;
}
.fixed .vision-copy {
  color: #32293e;
  background: #fff;
  border-color: #ada3b9;
  font-size: calc(15px * var(--text-scale, 1));
  overflow-wrap: anywhere;
}
.vision-copy.keyboard-form {
  margin-top: 20px;
}
.keyboard-form label {
  display: block;
  font-size: 12px;
  margin: 14px 0 7px;
}
.keyboard-form select {
  padding: 12px;
  border: 1px solid #ada2bc;
  border-radius: 5px;
  width: 100%;
  background: white;
  min-height: 44px;
}
.keyboard-form .action {
  margin-top: 20px;
}
.intro-note {
  font-size: 12px;
  line-height: 1.7;
  color: #675d73;
}
.route-readout {
  font-size: 11px;
  line-height: 1.8;
  background: #f3eff9;
  border: 1px solid #d4c9e1;
  margin-top: 18px;
  padding: 12px;
  border-radius: 5px;
}
.original .keyboard-form :focus {
  outline: 1px dotted #665773;
  outline-offset: 1px;
}
.fixed .keyboard-form :focus,
.route-highlight {
  outline: 3px solid #6a30bf !important;
  outline-offset: 4px !important;
}
.email-example {
  margin: 24px 0;
}
.email-example label,
.lookalike-label {
  display: block;
  font-size: 12px;
  margin-bottom: 8px;
  font-weight: 700;
}
.email-example input {
  border: 1px solid #9b8bad;
  border-radius: 5px;
  background: #fff;
  padding: 13px;
  width: 100%;
  font-size: 14px;
}
.email-example p {
  font-size: 11px;
  color: #695c76;
  line-height: 1.6;
  margin-top: 8px;
}
.sample-note {
  display: block;
  font-size: 9px;
  color: #766781;
  margin-top: 12px;
}
.tree-panel {
  background: #f3eff9;
  border: 1px solid #c6b5dc;
  padding: 18px;
  border-radius: 7px;
  margin-bottom: 14px;
}
.tree-panel strong {
  display: block;
  font-family: monospace;
  font-size: 14px;
  margin: 10px 0;
  line-height: 1.5;
}
.tree-panel p {
  font-size: 11px;
  line-height: 1.7;
  color: #655371;
}
.tree-panel.inspected {
  border-color: #895fab;
}
.highlighted {
  outline: 3px solid #7b49ad;
  outline-offset: 4px;
}
.outline-action {
  border: 1px solid #91819f;
  padding: 12px 17px;
  background: white;
  border-radius: 6px;
  font-size: 12px;
  min-height: 44px;
}
.loading {
  padding: 40px;
}
@media (max-width: 500px) {
  .event-hero {
    padding: 26px 22px;
    min-height: 163px;
  }
  .event-hero h1 {
    font-size: 29px;
  }
  .event-hero.compact {
    min-height: 130px;
    padding: 22px;
  }
  .event-hero.compact h1 {
    font-size: 25px;
  }
  .event-date {
    font-size: 8px;
  }
  .content {
    padding: 22px;
  }
  .content h2 {
    font-size: 24px;
  }
  .seat-grid {
    gap: 9px;
  }
  .seat {
    min-height: 59px;
  }
  .fixed .seat {
    min-height: 70px;
  }
  .price {
    font-size: 19px;
  }
  .price small {
    font-size: 8px;
  }
  .answer-row {
    gap: 7px;
  }
  .answer-row button {
    font-size: 11px;
    padding: 10px 7px;
  }
  .policy {
    font-size: calc(13px * var(--text-scale, 1));
  }
  .tree-panel {
    padding: 14px;
  }
  .noise-cards {
    gap: 7px;
  }
  .ticket-options label {
    padding: 12px;
  }
  .scene {
    min-height: 420px;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}
@media (forced-colors: active) {
  button,
  .ticket-options label,
  .tree-panel,
  .promo {
    border: 1px solid ButtonText;
  }
  .seat-legend i {
    border: 1px solid CanvasText;
  }
  .task-feedback[data-success='true'] {
    color: CanvasText;
  }
}

.effect-text-alternative {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.reading-surface {
  background: #faf6ee;
}
.reading-surface .policy {
  font-size: 18px;
  max-width: 66ch;
  margin: 24px auto;
  padding: 28px;
  color: #38332c;
  background: #fffdf8;
  border: 1px solid #ded6c7;
  border-radius: 10px;
  box-shadow: 0 4px 0 #eae3d6;
  text-align: left;
  letter-spacing: 0;
  line-height: 1.65;
}
.reading-surface .policy p {
  position: relative;
}

/* Each distraction is a tiny, fictional side quest. */
.distraction-stage {
  position: relative;
  min-height: 720px;
}
.fixed .distraction-stage {
  min-height: 0;
}
.popup-layer {
  position: absolute;
  inset: 0;
  pointer-events: none;
  isolation: isolate;
}
.distraction-popup {
  position: absolute;
  width: 245px;
  max-width: calc(100% - 32px);
  z-index: var(--popup-layer);
  pointer-events: auto;
  padding: 24px;
  color: #2c2235;
  border: 1px solid #9e8eae;
  border-radius: 13px;
  box-shadow:
    0 14px 38px #28163538,
    0 2px 4px #28163520;
  background: #fff;
  animation: popup-arrive 0.48s cubic-bezier(0.2, 0.8, 0.2, 1) both;
}
.popup-close {
  position: absolute;
  top: 5px;
  right: 5px;
  background: transparent;
  border: none;
  width: 36px;
  height: 36px;
  font-size: 24px;
  border-radius: 50%;
}
.popup-close:hover {
  background: #0000000a;
}
.popup-symbol {
  font-size: 30px;
  display: block;
  margin-bottom: 8px;
}
.popup-tag {
  font-size: 8px;
  letter-spacing: 0.12em;
  font-weight: 700;
}
.distraction-popup h3 {
  font-size: 27px;
  line-height: 1.05;
  letter-spacing: -0.055em;
  margin: 10px 0;
}
.popup-body {
  font-size: 11px;
  line-height: 1.6;
}
.popup-primary,
.popup-secondary {
  width: 100%;
  min-height: 40px;
  font-size: 11px;
  font-weight: 700;
  border-radius: 6px;
}
.popup-primary {
  background: #30233e;
  color: #fff;
  border: 1px solid #30233e;
  padding: 10px 12px;
  margin-top: 17px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 7px;
}
.popup-secondary {
  background: transparent;
  border: 0;
  text-decoration: underline;
  text-underline-offset: 3px;
  margin-top: 2px;
}
.popup-example {
  display: block;
  font-size: 7px;
  letter-spacing: 0.05em;
  margin-top: 6px;
  text-align: center;
}
.popup-cookies,
.popup-preferences {
  bottom: 20px;
  left: 20px;
  width: calc(100% - 40px);
  max-width: none;
  background: #fff8e5;
  border-color: #b4a178;
  --entry-x: 0;
  --entry-y: 100px;
}
.popup-cookies {
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 24px;
}
.popup-cookies .popup-symbol {
  grid-column: 1;
  font-size: 45px;
  margin-bottom: 5px;
}
.popup-cookies .popup-tag,
.popup-cookies h3,
.popup-cookies .popup-body {
  grid-column: 1;
}
.popup-cookies .popup-primary {
  grid-column: 2;
  grid-row: 2 / 4;
  align-self: end;
}
.popup-cookies .popup-secondary {
  grid-column: 2;
  grid-row: 4;
  align-self: start;
}
.popup-cookies .popup-example {
  grid-column: 1 / -1;
}
.popup-cookies h3 {
  font-size: 34px;
}
.popup-newsletter {
  left: 18px;
  top: 80px;
  background: #e9dafa;
  --entry-x: -150px;
  --entry-y: 0;
}
.popup-chat {
  right: 17px;
  top: 243px;
  width: 230px;
  background: #dcf2dc;
  --entry-x: 150px;
  --entry-y: 0;
}
.popup-update {
  right: 24px;
  top: 20px;
  width: 230px;
  background: #ffdbce;
  --entry-x: 0;
  --entry-y: -100px;
}
.popup-hotel {
  left: 8%;
  top: 285px;
  background: #dbeafa;
  --entry-x: -100px;
  --entry-y: 50px;
}
.popup-playlist {
  right: 7%;
  top: 90px;
  background: #faf0a9;
  --entry-x: 100px;
  --entry-y: -50px;
}
.popup-preferences {
  width: 285px;
  left: 8%;
  bottom: 50px;
}
.distractions-active .distraction-stage {
  min-height: 760px;
}
.no-entry-motion {
  animation: none;
}
@keyframes popup-arrive {
  from {
    opacity: 0;
    transform: translate(var(--entry-x), var(--entry-y)) scale(0.94);
  }
  to {
    opacity: 1;
    transform: translate(0, 0) scale(1);
  }
}

/* One semantic seat map in both stages. */
.seating-map {
  position: relative;
  max-width: 360px;
  margin: auto;
}
@media (max-width: 500px) {
  .reading-surface .policy {
    font-size: 16px;
    padding: 18px;
  }
  .distraction-popup {
    width: 218px;
    padding: 20px;
  }
  .distraction-popup h3 {
    font-size: 25px;
  }
  .popup-cookies {
    display: block;
    width: calc(100% - 24px);
    left: 12px;
    bottom: 12px;
    max-width: none;
  }
  .popup-cookies .popup-symbol {
    float: right;
    margin: 15px 12px 0;
    font-size: 38px;
  }
  .popup-cookies h3 {
    font-size: 30px;
  }
  .popup-cookies .popup-body {
    max-width: 26ch;
  }
  .popup-newsletter {
    left: 12px;
    top: 72px;
  }
  .popup-chat {
    right: 12px;
    top: 278px;
  }
  .popup-update {
    right: 12px;
    top: 20px;
  }
  .popup-hotel {
    left: 12px;
    top: 355px;
  }
  .popup-playlist {
    right: 12px;
    top: 110px;
  }
  .distractions-active .distraction-stage {
    min-height: 900px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .moving-word,
  .moving-glyph,
  .distraction-popup {
    animation: none !important;
  }
}

.popup-cookies {
  top: 32px;
  bottom: auto;
}
@media (max-width: 500px) {
  .popup-cookies {
    top: 24px;
    bottom: auto;
  }
}
/* New distractions can gather around a detour without covering its focused action. */
.distraction-popup:focus-within {
  z-index: 100;
}

.distraction-popup.popup-engaged {
  z-index: 200;
}
.effects-paused .moving-word,
.effects-paused .moving-glyph,
.effects-paused .distraction-popup {
  animation-play-state: paused !important;
}
.fixed.letters-active .policy {
  line-height: 1.9;
  letter-spacing: 0.025em;
}
.touch-route-control {
  display: none;
  margin-top: 16px;
}
@media (pointer: coarse) {
  .touch-route-control {
    display: block;
  }
}

/* The reading task, rather than the event artwork, leads this example. */
.view-reading .event-hero.compact {
  min-height: 0;
  padding-block: 16px;
}
.view-reading .event-hero.compact h1 {
  font-size: 22px;
  margin: 5px 0;
}
.view-reading .event-hero.compact .event-date {
  margin-top: 6px;
}
.view-reading .reading-surface {
  padding-top: 20px;
}

/* The viewing condition stays constant: only the interface is repaired. */
.blur-surface {
  filter: blur(1.35px);
}
.blur-booking {
  min-height: 430px;
}
.blur-intro {
  font-size: 12px;
  color: #817689;
  margin: 12px 0 24px;
}
.blur-options {
  border: 0;
  padding: 0;
  margin: 0 0 18px;
  display: flex;
  gap: 5px;
}
.blur-options legend {
  font-size: 11px;
  margin-bottom: 10px;
}
.blur-option {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
  border: 1px solid #ddd6e3;
  border-radius: 5px;
  background: #faf8fc;
  color: #897e94;
  font-size: 11px;
  flex: 1;
  min-width: 0;
}
.blur-option input {
  accent-color: #4e287a;
  flex-shrink: 0;
}
.blur-ticket-icon {
  font-size: 17px;
}
.blur-ticket-copy {
  display: grid;
  gap: 4px;
}
.blur-ticket-copy small {
  font-size: 9px;
}
.blur-selected {
  display: none;
}
.blur-option:has(input:checked) {
  background: #e9e2f2;
}
.blur-option:focus-within {
  outline: 3px solid #422167;
  outline-offset: 3px;
}
.original .blur-continue {
  background: #b6a9c4;
  color: #fff;
  font-size: 11px;
  padding: 8px 14px;
  min-height: 30px;
  width: auto;
}
.fixed .blur-intro {
  color: #44364f;
  font-size: 16px;
}
.fixed .blur-options {
  flex-direction: column;
  gap: 18px;
}
.fixed .blur-options legend {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 16px;
}
.fixed .blur-option {
  padding: 22px;
  gap: 16px;
  color: #281d34;
  background: #fff;
  border: 2px solid #6a567d;
  border-radius: 12px;
  min-height: 100px;
  font-size: 22px;
}
.fixed .blur-option input {
  width: 24px;
  height: 24px;
}
.fixed .blur-ticket-icon {
  display: none;
}
.fixed .blur-ticket-copy {
  flex: 1;
}
.fixed .blur-ticket-copy small {
  font-size: 15px;
  font-weight: 400;
  line-height: 1.5;
}
.fixed .blur-option:has(input:checked) {
  border: 3px solid #4e287a;
  padding: 21px;
  background: #eee5fa;
}
.fixed .blur-option:has(input:checked) .blur-selected {
  display: block;
  flex-basis: 100%;
  font-size: 16px;
  font-weight: 700;
}
.fixed .blur-continue {
  min-height: 58px;
  font-size: 18px;
  background: #352044;
}
.fixed .blur-booking .task-feedback {
  font-size: 17px;
}
@media (max-width: 500px) {
  .fixed .blur-option {
    padding: 16px;
    gap: 10px;
    font-size: 20px;
  }
  .fixed .blur-option:has(input:checked) {
    padding: 15px;
  }
  .fixed .blur-ticket-copy small {
    font-size: 14px;
  }
}

/* Selection feedback stays inside each control; it never moves surrounding content. */
.seat,
.answer-row button,
.ticket-options label,
.blur-option,
.action {
  transition:
    background-color 160ms ease,
    border-color 160ms ease,
    box-shadow 160ms ease,
    transform 160ms ease;
}
.seat[aria-pressed='true'],
.answer-row button[aria-pressed='true'],
.ticket-options label:has(input:checked) {
  box-shadow: inset 0 0 0 2px #553176;
}
.task-feedback {
  min-height: 3.2em;
  padding-left: 24px;
  position: relative;
}
.task-feedback[data-success='true']::before {
  content: '✓';
  position: absolute;
  left: 0;
  font-weight: 700;
}
.fixed .blur-option .blur-selected {
  display: block;
  visibility: hidden;
  flex-basis: 100%;
  font-size: 16px;
  font-weight: 700;
}
.fixed .blur-option:has(input:checked) .blur-selected {
  visibility: visible;
}
@keyframes selection-settle {
  0% {
    transform: scale(0.97);
  }
  65% {
    transform: scale(1.012);
  }
  100% {
    transform: scale(1);
  }
}
@media (prefers-reduced-motion: no-preference) {
  .seat[aria-pressed='true'],
  .answer-row button[aria-pressed='true'],
  .ticket-options label:has(input:checked),
  .blur-option:has(input:checked) {
    animation: selection-settle 220ms ease-out;
  }
  .action:active {
    transform: scale(0.98);
  }
}
@media (max-width: 500px) {
  .task-feedback {
    min-height: 4.8em;
  }
}

/* The outgoing view is a short-lived, noninteractive visual copy. */
.scene-previous {
  position: absolute;
  inset: 0 0 auto;
  width: 100%;
  pointer-events: none;
  z-index: 50;
}
.scene-previous *,
.scene-previous *::before,
.scene-previous *::after {
  animation: none !important;
  transition: none !important;
}
button {
  transition:
    background-color 160ms ease,
    box-shadow 160ms ease,
    transform 140ms ease;
}
.action > span[aria-hidden],
.popup-primary > span[aria-hidden] {
  display: inline-block;
  transition: translate 160ms ease;
}
@media (hover: hover) and (pointer: fine) {
  button:hover:not(:disabled) {
    box-shadow: inset 0 0 0 100vmax #2613330d;
  }
  .action:hover > span[aria-hidden],
  .popup-primary:hover > span[aria-hidden] {
    translate: 3px 0;
  }
}
@media (prefers-reduced-motion: no-preference) {
  button:active:not(:disabled) {
    transform: scale(0.98);
  }
}
@media (prefers-reduced-motion: reduce) {
  .action > span[aria-hidden],
  .popup-primary > span[aria-hidden] {
    translate: none;
  }
}

/* Touch-friendly task controls; the intentional before-state barriers remain. */
@media (max-width: 600px) {
  .content {
    padding: 22px 18px;
  }
  .event-hero.compact {
    min-height: 116px;
    padding: 22px 18px;
  }
  .event-hero.compact h1 {
    font-size: 25px;
  }
  .event-date {
    font-size: 10px;
    line-height: 1.6;
  }
  .answer-row {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
  }
  .answer-row button {
    min-height: 48px;
    font-size: 15px;
    padding: 12px 16px;
    text-align: left;
  }
  .action:not(.blur-continue),
  .outline-action {
    min-height: 48px;
    font-size: 15px;
    padding: 13px 16px;
  }
  .keyboard-form select {
    font-size: 16px;
    min-height: 48px;
  }
  .ticket-options label {
    padding: 16px 12px;
    min-height: 76px;
  }
  .ticket-options input {
    width: 22px;
    height: 22px;
    flex-shrink: 0;
  }
  .ticket-options strong {
    font-size: 16px;
  }
  .ticket-options small {
    font-size: 12px;
    line-height: 1.5;
  }
  .ticket-options b {
    font-size: 17px;
  }
  .task-feedback {
    font-size: 14px;
    line-height: 1.6;
  }
  .reading-surface .policy {
    padding: 16px;
  }
  .popup-close {
    width: 44px;
    height: 44px;
  }
  .popup-primary,
  .popup-secondary {
    min-height: 44px;
    font-size: 13px;
  }
  .distraction-popup h3 {
    padding-right: 8px;
  }
  .popup-body {
    font-size: 12px;
  }
  .popup-example {
    font-size: 8px;
  }
  .fixed .blur-continue {
    font-size: 17px;
    min-height: 52px;
  }
}
@media (pointer: coarse) {
  button,
  label {
    -webkit-tap-highlight-color: transparent;
  }
}
