/* QS Webinar — public pages (registration, room, messages).
   Colours, fonts and button style come from the webinar's theme: the server writes them as
   custom properties and data-* attributes on <html> (see src/lib/themes.js). The values in
   :root below are only the fallback. */

@font-face {
  font-family: 'Archivo';
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  font-stretch: 62% 125%;
  src: url('/vendor/fonts/archivo/archivo-latin-ext-wdth-normal.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F,
    U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Archivo';
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  font-stretch: 62% 125%;
  src: url('/vendor/fonts/archivo/archivo-latin-wdth-normal.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC,
    U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-display: swap;
  font-weight: 200 800;
  src: url('/vendor/fonts/manrope/manrope-latin-ext-wght-normal.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F,
    U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-display: swap;
  font-weight: 200 800;
  src: url('/vendor/fonts/manrope/manrope-latin-wght-normal.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC,
    U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-display: swap;
  font-weight: 300 700;
  src: url('/vendor/fonts/cormorant-garamond/cormorant-garamond-latin-ext-wght-normal.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F,
    U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-display: swap;
  font-weight: 300 700;
  src: url('/vendor/fonts/cormorant-garamond/cormorant-garamond-latin-wght-normal.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC,
    U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: italic;
  font-display: swap;
  font-weight: 300 700;
  src: url('/vendor/fonts/cormorant-garamond/cormorant-garamond-latin-ext-wght-italic.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F,
    U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: italic;
  font-display: swap;
  font-weight: 300 700;
  src: url('/vendor/fonts/cormorant-garamond/cormorant-garamond-latin-wght-italic.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC,
    U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Cinzel';
  font-style: normal;
  font-display: swap;
  font-weight: 400 900;
  src: url('/vendor/fonts/cinzel/cinzel-latin-ext-wght-normal.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F,
    U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Cinzel';
  font-style: normal;
  font-display: swap;
  font-weight: 400 900;
  src: url('/vendor/fonts/cinzel/cinzel-latin-wght-normal.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC,
    U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  /* the page */
  --house: #15110f;
  --wings: #1f1916;
  --wings-2: #2a221d;
  --line: #3b3029;
  --text: #f4ede4;
  --text-2: #bdb0a3;
  --text-3: #93867a;
  /* the form card */
  --paper: #f8f2e7;
  --paper-2: #eee4d3;
  --ink: #1b1511;
  --ink-2: #5a4e44;
  --ink-line: #cdbfa9;
  --field-line: #1b1511;
  --field-focus: #fff;
  /* accent, buttons and signals */
  --accent: #f2a93b;
  --accent-ink: #1b1511;
  --accent-soft: #f2a93b; /* the accent, readable on the page */
  --accent-card: #a86a08; /* the accent, readable on the form card */
  --foil: linear-gradient(115deg, #a86a08, #f2a93b, #ffe2a8, #f2a93b, #a86a08);
  --btn-bg: #f2a93b;
  --btn-ink: #1b1511;
  --btn-line: #c98a26;
  --btn-radius: 8px;
  --btn-glow: #c98a26;
  --onair: #e5484d;
  --danger: #b3261e;
  --error-bg: #f6dcd8;
  --error-ink: #5f1410;
  --shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
  --page-glow: none;

  --font: 'Archivo', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --font-display: var(--font);
  --font-label: var(--font);
  --display-weight: 780;
  --display-stretch: 68%;
  --display-track: -0.012em;
  --display-lh: 0.98;
  --display-scale: 1; /* large titles */
  --display-small: 1; /* small headings set in the display face */
  --body-size: 17px;
  --body-lh: 1.5;
  --r-s: 6px;
  --r-m: 10px;
  --r-l: 16px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  color-scheme: dark;
}
html[data-scheme='light'] {
  color-scheme: light;
}
/* Inside someone else's page the frame must stay see-through: browsers paint an opaque
   backdrop when the two documents declare different colour schemes. */
html[data-embed] {
  color-scheme: light;
}
body {
  margin: 0;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  background-color: var(--house);
  background-image: var(--page-glow);
  background-repeat: no-repeat;
  background-size: 100% 1100px;
  color: var(--text);
  font: 400 var(--body-size) / var(--body-lh) var(--font);
  font-stretch: 100%;
  -webkit-font-smoothing: antialiased;
}
body > main {
  flex: 1 0 auto;
  width: 100%;
}
h1,
h2,
h3,
p,
ul,
ol,
dl,
dd,
figure {
  margin: 0;
}
ul,
ol {
  padding: 0;
  list-style: none;
}
img {
  max-width: 100%;
  display: block;
}
a {
  color: inherit;
}
button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
}
[hidden] {
  display: none !important;
}
:focus-visible {
  outline: 2px solid var(--accent-soft);
  outline-offset: 2px;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

/* Display voice: set by the theme's font (condensed and heavy, or a serif, or the body face). */
.display {
  font-family: var(--font-display);
  font-stretch: var(--display-stretch);
  font-weight: var(--display-weight);
  line-height: var(--display-lh);
  letter-spacing: var(--display-track);
}
.display em {
  font-style: italic;
  color: var(--accent-soft);
}
[data-font='mg'] .display em {
  font-weight: 700;
  background: var(--foil);
  background-size: 250% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: foil 9s ease-in-out infinite;
  /* italic serifs overhang their box: keep the last letter from being clipped */
  padding-right: 0.08em;
}
@keyframes foil {
  0%,
  100% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
}

/* ---- logo ------------------------------------------------------------------------------- */
.logo-link {
  display: inline-flex;
}
img.is-white {
  filter: brightness(0) invert(1);
}

/* ---- buttons ---------------------------------------------------------------------------- */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 10px 18px;
  border: 1.5px solid transparent;
  border-radius: var(--btn-radius);
  font-weight: 600;
  font-size: 16px;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.12s ease, filter 0.15s ease, background-color 0.15s ease, box-shadow 0.25s ease;
}
.btn:active {
  transform: translateY(1px);
}
.btn[disabled] {
  opacity: 0.6;
  cursor: default;
}
.btn-accent {
  background: var(--btn-bg);
  color: var(--btn-ink);
  border-color: var(--btn-line);
}
.btn-accent:hover {
  filter: brightness(1.06);
}
.btn-ghost {
  background: transparent;
  color: var(--text);
  border-color: var(--line);
}
.btn-ghost:hover {
  background: var(--wings-2);
}
.btn-paper {
  background: transparent;
  color: var(--ink);
  border-color: var(--ink-line);
  border-radius: min(var(--btn-radius), var(--r-s));
}
.btn-paper:hover {
  background: var(--paper-2);
}
.btn-big {
  min-height: 54px;
  font-size: 18px;
  font-weight: 700;
  width: 100%;
}
[data-btn-size='large'] .btn-big {
  min-height: 66px;
  font-size: 20px;
}
.btn svg {
  width: 18px;
  height: 18px;
  flex: none;
}
.btn-arr {
  display: none;
}

/* metallic buttons: the sweep, a hairline set inside the edge, a slow glint on the main call to action */
[data-btn='foil'] .btn-accent {
  isolation: isolate;
  overflow: hidden;
  border: 0;
  background-size: 220% 100%;
}
[data-btn='foil'] .btn-accent::before {
  content: '';
  position: absolute;
  inset: 4px;
  border: 1px solid color-mix(in srgb, var(--btn-ink) 28%, transparent);
  border-radius: max(0px, calc(var(--btn-radius) - 4px));
  pointer-events: none;
}
[data-btn='foil'] .btn-big::after {
  content: '';
  position: absolute;
  top: 0;
  left: -70%;
  width: 45%;
  height: 100%;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, 0.7), transparent);
  transform: skewX(-22deg);
  animation: shine 5s ease-in-out infinite;
  pointer-events: none;
}
@keyframes shine {
  0%,
  60% {
    left: -70%;
  }
  100% {
    left: 140%;
  }
}
[data-btn='foil'] .btn-accent:hover {
  filter: none;
  transform: translateY(-2px);
  box-shadow: 0 22px 50px -18px var(--btn-glow);
}
[data-btn='foil'] .btn-big .btn-arr {
  display: inline-block;
  flex: none;
  position: relative;
  width: 24px;
  height: 1px;
  margin-left: 6px;
  background: currentColor;
  transition: width 0.4s cubic-bezier(0.2, 0.7, 0.2, 1);
}
[data-btn='foil'] .btn-big .btn-arr::after {
  content: '';
  position: absolute;
  right: 0;
  top: -4px;
  width: 9px;
  height: 9px;
  border-top: 1px solid currentColor;
  border-right: 1px solid currentColor;
  transform: rotate(45deg);
}
[data-btn='foil'] .btn-big:hover .btn-arr {
  width: 38px;
}

/* outlined buttons: on the page they take the accent, on the form card the button colour */
[data-btn='outline'] .btn-accent {
  background: transparent;
  color: var(--accent-soft);
  border-color: var(--accent-soft);
}
[data-btn='outline'] .ticket .btn-accent {
  color: var(--btn-ink);
  border-color: var(--btn-line);
}
[data-btn='outline'] .btn-accent:hover {
  filter: none;
  background: color-mix(in srgb, currentColor 12%, transparent);
}

[data-btn-case='upper'] .btn-accent {
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 13px;
  font-weight: 800;
}
[data-btn-case='upper'] .btn-big {
  min-height: 62px;
  padding: 16px 22px;
  font-size: 14px;
  letter-spacing: 0.18em;
}
[data-btn-case='upper'][data-btn-size='large'] .btn-big {
  min-height: 72px;
  font-size: 15.5px;
}

/* ---- countdown -------------------------------------------------------------------------- */
.countdown {
  display: flex;
  gap: clamp(10px, 2.2vw, 22px);
  font-variant-numeric: lining-nums tabular-nums;
}
.countdown > div {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 2.2ch;
}
.countdown b {
  font-family: var(--font-display);
  font-stretch: var(--display-stretch);
  font-weight: var(--display-weight);
  font-size: var(--cd-size, 56px);
  line-height: 1;
  letter-spacing: -0.01em;
}
.countdown span {
  margin-top: 6px;
  font-size: 13px;
  color: var(--cd-unit, var(--text-3));
}
[data-font='mg'] .countdown span {
  font-family: var(--font-label);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

/* ---- the form card (registration form and confirmation) --------------------------------- */
.ticket {
  position: relative;
  background: var(--paper);
  color: var(--ink);
  border-radius: var(--r-l);
  color-scheme: light;
  box-shadow: var(--shadow);
}
[data-card='dark'] .ticket {
  color-scheme: dark;
}
.ticket::before {
  /* the strip of colour a ticket is recognised by */
  content: '';
  display: block;
  height: 8px;
  border-radius: var(--r-l) var(--r-l) 0 0;
  background: var(--accent);
}
.ticket-main {
  padding: 26px 28px 24px;
}
.ticket-main h2 {
  font-size: calc(30px * var(--display-small));
  margin-bottom: 6px;
}
.ticket-main > p {
  color: var(--ink-2);
  font-size: 15px;
}
.ticket-tear {
  position: relative;
  margin: 0 22px;
  border-top: 2px dashed var(--ink-line);
}
.ticket-tear::before,
.ticket-tear::after {
  content: '';
  position: absolute;
  top: -13px;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--house);
}
.ticket-tear::before {
  left: -34px;
}
.ticket-tear::after {
  right: -34px;
}
.ticket-stub {
  padding: 18px 28px 22px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px 20px;
}
.ticket-stub div {
  min-width: 0;
}
.ticket-stub dt {
  font-size: 13px;
  color: var(--ink-2);
}
.ticket-stub dd {
  font-weight: 600;
  font-size: 16px;
  line-height: 1.3;
  overflow-wrap: anywhere;
}
.ticket-stub .wide {
  grid-column: 1 / -1;
}
.ticket-stub .blank {
  display: inline-block;
  width: 100%;
  max-width: 180px;
  height: 1.2em;
  border-bottom: 1.5px dotted var(--ink-line);
}

/* "card" form style: no tear-off, a plain edge */
[data-form='card'] .ticket {
  border: 1px solid var(--ink-line);
}
[data-form='card'] .ticket::before {
  display: none;
}
[data-form='card'] .ticket-main {
  padding-top: 30px;
}
[data-form='card'] .ticket-tear {
  margin: 0 28px;
  border-top: 1px solid var(--ink-line);
}
[data-form='card'] .ticket-tear::before,
[data-form='card'] .ticket-tear::after {
  display: none;
}
[data-form='card'] .ticket-stub dt {
  font-family: var(--font-label);
}
[data-font='mg'] .ticket-stub dt {
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent-card);
}

/* form fields: lines to fill in, like on a paper form */
.field {
  margin-top: 16px;
}
.field label,
.field .label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 4px;
}
.field label small {
  font-weight: 400;
  color: var(--ink-2);
}
.field input[type='text'],
.field input[type='email'],
.field input[type='tel'],
.field select {
  width: 100%;
  min-height: 46px;
  padding: 8px 10px;
  border: 0;
  border-bottom: 1.5px solid var(--field-line);
  border-radius: var(--r-s) var(--r-s) 0 0;
  background: var(--paper-2);
  color: var(--ink);
  font-size: 17px; /* 16px+ keeps iOS from zooming on focus */
}
.field input::placeholder {
  color: var(--ink-2);
  opacity: 0.7;
}
.field input:focus,
.field select:focus {
  outline: none;
  background: var(--field-focus);
  border-bottom-color: var(--accent-card);
  box-shadow: 0 2px 0 var(--accent-card);
}
.field.invalid input,
.field.invalid select {
  border-bottom-color: var(--danger);
  box-shadow: 0 2px 0 var(--danger);
}
.field .error {
  display: block;
  min-height: 0;
  margin-top: 4px;
  font-size: 14px;
  color: var(--danger);
}
.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.phone-row {
  display: grid;
  grid-template-columns: 112px 1fr;
  gap: 8px;
}
.field label.consent {
  display: grid;
  grid-template-columns: 22px 1fr;
  gap: 10px;
  margin: 2px 0 0;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.4;
  color: var(--ink-2);
  cursor: pointer;
}
.field label.consent.is-note {
  grid-template-columns: 1fr;
  cursor: default;
}
.consent input {
  width: 20px;
  height: 20px;
  margin: 1px 0 0;
  accent-color: var(--accent-card);
}
.consent a {
  color: var(--ink);
}
.form-error {
  margin-top: 14px;
  padding: 10px 12px;
  border-left: 3px solid var(--danger);
  background: var(--error-bg);
  color: var(--error-ink);
  font-size: 15px;
  border-radius: 0 var(--r-s) var(--r-s) 0;
}
.ticket .btn-big {
  margin-top: 20px;
}
.spinner {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 2.5px solid currentColor;
  border-right-color: transparent;
  animation: spin 0.7s linear infinite;
}
@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

/* session picker */
.sessions {
  border: 0;
  padding: 0;
  margin: 16px 0 0;
}
.sessions legend {
  padding: 0;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 6px;
}
.session {
  display: grid;
  grid-template-columns: 22px 1fr;
  gap: 10px;
  align-items: start;
  padding: 10px 12px;
  border: 1.5px solid var(--ink-line);
  border-radius: var(--r-s);
  cursor: pointer;
}
.session + .session {
  margin-top: 8px;
}
.session input {
  width: 18px;
  height: 18px;
  margin: 3px 0 0;
  accent-color: var(--accent-card);
}
.session:has(input:checked) {
  border-color: var(--accent-card);
  background: var(--paper-2);
}
.session b {
  display: block;
  font-weight: 600;
  line-height: 1.3;
}
.session small {
  display: block;
  font-size: 14px;
  color: var(--ink-2);
}
.session .now {
  color: var(--danger);
  font-weight: 600;
}
.session .soon {
  color: var(--accent-card);
  font-weight: 600;
}
/* a single session (the form embedded in another page): shown, not chosen */
.session.is-single {
  grid-template-columns: 1fr;
  cursor: default;
  border-color: var(--accent-card);
  background: var(--paper-2);
}

/* ---- the speakers on top of the form ------------------------------------------------------ */
/* One or two medallions sit across the upper edge of the card; names and roles follow below. */
.reg-ticket.has-hosts {
  padding-top: 50px;
}
.ticket-hosts {
  --pic: 96px;
  display: flow-root; /* keeps the lifted medallions from dragging the whole strip up with them */
  padding: 0 22px 16px;
  text-align: center;
  border-radius: var(--r-l) var(--r-l) 0 0;
}
.ticket-hosts.is-band {
  background: color-mix(in srgb, var(--accent-card) 15%, transparent);
  border-bottom: 1px solid color-mix(in srgb, var(--accent-card) 30%, transparent);
}
[data-form='ticket'] .ticket.has-hosts::before {
  display: none; /* the strip of colour gives way to the speakers */
}
.hosts-row {
  display: grid;
  grid-template-columns: repeat(var(--n, 1), minmax(0, 1fr));
  justify-items: center;
  gap: 0 14px;
  max-width: calc(var(--n, 1) * 200px);
  margin: 0 auto;
}
.hosts-pics {
  margin-top: calc(var(--pic) / -2);
}
.host-pic {
  width: var(--pic);
  height: var(--pic);
  padding: 3px;
  border-radius: 50%;
  background: var(--accent-card);
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.3);
}
[data-btn='foil'] .host-pic {
  background: var(--foil, var(--accent-card));
}
.host-pic img,
.host-pic > span {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  background: var(--paper-2);
}
.host-pic.is-initials > span {
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-weight: var(--display-weight);
  font-size: calc(var(--pic) * 0.36);
  color: var(--ink);
}
.hosts-label {
  margin: 12px 0 2px;
  font-size: 13px;
  color: var(--ink-2);
}
[data-font='mg'] .hosts-label {
  font-family: var(--font-label);
  font-size: 11px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--accent-card);
}
.hosts-names b {
  display: block;
  font-family: var(--font-display);
  font-weight: var(--display-weight);
  font-size: calc(25px * var(--display-small));
  line-height: 1.15;
  color: var(--ink);
  overflow-wrap: anywhere;
}
.hosts-names span {
  display: block;
  margin-top: 3px;
  font-size: 13.5px;
  line-height: 1.35;
  color: var(--ink-2);
}
.ticket-hosts[style*='--n:2'] {
  --pic: 84px;
}
.ticket-hosts[style*='--n:2'] .hosts-names b {
  font-size: calc(20px * var(--display-small));
}
.ticket.has-hosts .ticket-main {
  padding-top: 20px;
}
.ticket.no-stub .ticket-main {
  padding-bottom: 28px;
}

/* ======================================================================================== */
/* Registration page                                                                         */
/* ======================================================================================== */
.reg-top {
  display: flex;
  align-items: center;
  min-height: 72px;
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 22px clamp(20px, 5vw, 64px) 0;
}
.reg-top img {
  height: 40px;
  max-height: 40px;
  width: auto;
}
.reg {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(340px, 440px);
  grid-template-areas: 'head ticket' 'more ticket';
  column-gap: clamp(32px, 6vw, 96px);
  align-items: start;
  max-width: 1240px;
  margin: 0 auto;
  padding: clamp(20px, 4vw, 48px) clamp(20px, 5vw, 64px) 80px;
}
.bill-head {
  grid-area: head;
  min-width: 0;
}
.bill-more {
  grid-area: more;
  margin-top: 44px;
  min-width: 0;
}
.reg-ticket {
  grid-area: ticket;
  position: sticky;
  top: 24px;
}
.bill-badge {
  display: inline-block;
  margin-bottom: 18px;
  padding: 5px 12px;
  border: 1.5px solid var(--accent-soft);
  border-radius: 999px;
  color: var(--accent-soft);
  font-size: 15px;
  font-weight: 600;
}
/* the Marketing Genius eyebrow: small capitals with a hairline */
[data-font='mg'] .bill-badge {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 22px;
  padding: 0;
  border: 0;
  border-radius: 0;
  font-family: var(--font-label);
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.3em;
  text-transform: uppercase;
}
[data-font='mg'] .bill-badge::after {
  content: '';
  width: 42px;
  height: 1px;
  background: linear-gradient(90deg, currentColor, transparent);
}
.bill-title {
  font-size: calc(clamp(44px, 7.4vw, 96px) * var(--display-scale));
  text-wrap: balance;
}
.bill-title.is-long {
  font-size: calc(clamp(38px, 5.4vw, 68px) * var(--display-scale));
}
.bill-title.is-xlong {
  font-size: calc(clamp(32px, 4.2vw, 52px) * var(--display-scale));
}
[data-font='archivo'] .bill-title.is-xlong {
  font-stretch: 74%;
}
.bill-sub {
  margin-top: 22px;
  max-width: 34em;
  font-size: clamp(19px, 1.7vw, 22px);
  line-height: 1.45;
  color: var(--text-2);
}
.bill-when {
  margin-top: 34px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}
.bill-when-text {
  font-size: 22px;
  font-weight: 600;
  color: var(--accent-soft);
}
.bill-when-note {
  margin-top: 2px;
  font-size: 15px;
  color: var(--text-3);
}
.bill-when .countdown {
  margin-top: 20px;
  --cd-size: clamp(40px, 5vw, 60px);
}
.bill-when .countdown > div {
  align-items: flex-start;
}
.bill-cover {
  margin-bottom: 36px;
  border-radius: var(--r-m);
  overflow: hidden;
}
.bill-cover img {
  width: 100%;
  max-height: 420px;
  object-fit: cover;
}
.bill-more h2 {
  font-size: calc(30px * var(--display-small));
  margin-bottom: 16px;
}
.bill-points li {
  position: relative;
  padding: 12px 0 12px 34px;
  border-bottom: 1px solid var(--line);
  max-width: 40em;
  font-size: 18px;
}
.bill-points li::before {
  content: '';
  position: absolute;
  left: 2px;
  top: calc(12px + 0.76em);
  width: 16px;
  height: 3px;
  transform: translateY(-50%);
  background: var(--accent-soft);
}
[data-font='mg'] .bill-points li::before {
  width: 7px;
  height: 7px;
  left: 6px;
  transform: translateY(-50%) rotate(45deg);
}
.bill-text {
  max-width: 38em;
  color: var(--text-2);
}
.bill-text p + p {
  margin-top: 0.9em;
}
.bill-points + .bill-text,
.bill-text + .bill-host,
.bill-points + .bill-host {
  margin-top: 36px;
}
.bill-host {
  display: flex;
  align-items: center;
  gap: 16px;
}
.bill-host + .bill-host {
  margin-top: 16px;
}
.bill-host img {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  object-fit: cover;
  flex: none;
}
.bill-host small {
  display: block;
  font-size: 14px;
  color: var(--text-3);
}
.bill-host b {
  display: block;
  font-size: 20px;
  font-weight: 650;
}
.bill-host span {
  color: var(--text-2);
  font-size: 16px;
}
.draft-note {
  margin: 0;
  padding: 10px clamp(20px, 5vw, 64px);
  background: var(--accent);
  color: var(--accent-ink);
  font-size: 15px;
  font-weight: 600;
}
.reg-empty {
  color: var(--ink-2);
  margin-top: 14px;
}

/* ---- layouts ---------------------------------------------------------------------------- */
/* split, form on the left */
[data-layout='split'] body.form-left .reg {
  grid-template-columns: minmax(340px, 440px) minmax(0, 1.15fr);
  grid-template-areas: 'ticket head' 'ticket more';
}

/* center: one column, the hero centred, the form right under it */
[data-layout='center'] .reg-top {
  justify-content: center;
}
[data-layout='center'] .reg {
  grid-template-columns: minmax(0, 1fr);
  grid-template-areas: 'head' 'ticket' 'more';
  max-width: 960px;
}
[data-layout='center'] .bill-head {
  text-align: center;
  padding-top: clamp(8px, 3vw, 40px);
}
[data-layout='center'] .bill-sub {
  margin-left: auto;
  margin-right: auto;
}
[data-layout='center'] .bill-when {
  border-top: 0;
  padding-top: 0;
}
[data-layout='center'] .bill-when .countdown {
  justify-content: center;
}
[data-layout='center'] .bill-when .countdown > div {
  align-items: center;
}
[data-layout='center'] .reg-ticket {
  position: static;
  width: 100%;
  max-width: 520px;
  margin: 44px auto 0;
}
[data-layout='center'] .bill-more {
  width: 100%;
  max-width: 720px;
  margin: 72px auto 0;
}
[data-layout='center'][data-font='mg'] .bill-badge::before {
  content: '';
  width: 42px;
  height: 1px;
  background: linear-gradient(90deg, transparent, currentColor);
}

/* cover: the cover image fills the first screen behind the title and the form */
.reg-hero {
  position: relative;
  isolation: isolate;
}
.reg-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image: linear-gradient(180deg, rgba(3, 6, 12, 0.7), rgba(3, 6, 12, 0.82)), var(--cover, none);
  background-size: cover;
  background-position: center;
}
[data-layout='cover'] .reg-hero {
  /* text over a photograph is always light, whatever the theme */
  --text: #ffffff;
  --text-2: rgba(255, 255, 255, 0.86);
  --text-3: rgba(255, 255, 255, 0.7);
  --line: rgba(255, 255, 255, 0.28);
  --accent-soft: var(--accent-on-dark, #ffffff);
  color: var(--text);
}
[data-layout='cover'] .reg-hero .reg {
  grid-template-areas: 'head ticket';
  align-items: center;
  min-height: min(78vh, 760px);
  padding-bottom: clamp(40px, 6vw, 72px);
}
[data-layout='cover'] .reg-hero .reg-ticket {
  position: static;
}
[data-layout='cover'] .reg-below {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: clamp(40px, 6vw, 72px) clamp(20px, 5vw, 64px) 80px;
}
[data-layout='cover'] .reg-below .bill-more {
  margin-top: 0;
  max-width: 760px;
}
[data-layout='cover'] .ticket-tear::before,
[data-layout='cover'] .ticket-tear::after {
  display: none;
}

/* minimal: little more than the form */
[data-layout='minimal'] .reg-top {
  justify-content: center;
}
[data-layout='minimal'] .reg {
  grid-template-columns: minmax(0, 1fr);
  grid-template-areas: 'head' 'ticket';
  max-width: 600px;
}
[data-layout='minimal'] .bill-head {
  text-align: center;
}
[data-layout='minimal'] .bill-title,
[data-layout='minimal'] .bill-title.is-long,
[data-layout='minimal'] .bill-title.is-xlong {
  font-size: calc(clamp(30px, 4.4vw, 52px) * var(--display-scale));
}
[data-font='mg'][data-layout='minimal'] .bill-title {
  font-size: clamp(32px, 4.6vw, 46px);
}
[data-layout='minimal'] .bill-sub {
  margin: 14px auto 0;
  font-size: 18px;
}
[data-layout='minimal'] .bill-when {
  margin-top: 20px;
  padding-top: 0;
  border-top: 0;
}
[data-layout='minimal'] .bill-when .countdown {
  display: none;
}
[data-layout='minimal'] .reg-ticket {
  position: static;
  margin-top: 28px;
}
[data-layout='minimal'][data-font='mg'] .bill-badge::before {
  content: '';
  width: 42px;
  height: 1px;
  background: linear-gradient(90deg, transparent, currentColor);
}

/* ---- the Marketing Genius look ----------------------------------------------------------- */
/* square corners everywhere, hairlines in gold, the form on a deep blue panel */
[data-theme^='mg'] {
  --r-s: 0px;
  --r-m: 0px;
  --r-l: 0px;
}
[data-theme='mg'] .ticket {
  border: 0;
  background: linear-gradient(160deg, color-mix(in srgb, var(--paper) 72%, #1d3d70), color-mix(in srgb, var(--paper) 88%, #000));
}
[data-theme='mg'][data-form='card'] .ticket::before {
  /* a one-pixel frame that fades from bright to faint and back, like foil catching the light */
  display: block;
  position: absolute;
  inset: 0;
  height: auto;
  padding: 1px;
  border-radius: 0;
  background: linear-gradient(
    150deg,
    color-mix(in srgb, var(--accent) 60%, #fff),
    color-mix(in srgb, var(--accent) 18%, transparent) 40%,
    color-mix(in srgb, var(--accent) 18%, transparent) 60%,
    color-mix(in srgb, var(--accent) 70%, #fff)
  );
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}
[data-theme='mg'] .curtain {
  /* blue velvet instead of the accent-tinted cloth */
  --cloth: color-mix(in oklab, var(--accent) 9%, #16305c);
  --cloth-deep: color-mix(in oklab, var(--accent) 5%, #07101f);
}
[data-theme='mg'] .bill-cover {
  position: relative;
  background: #000;
  box-shadow: 0 50px 100px -40px rgba(0, 0, 0, 0.95), 0 0 100px -30px color-mix(in srgb, var(--accent) 35%, transparent);
}
[data-theme='mg'] .bill-cover::after {
  content: '';
  position: absolute;
  inset: 0;
  padding: 1px;
  background: var(--foil);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}
[data-theme^='mg'] .bill-when,
[data-theme^='mg'] .bill-points li {
  border-color: color-mix(in srgb, var(--accent) 30%, transparent);
}
[data-font='mg'] .bill-sub {
  line-height: 1.6;
}
[data-font='mg'] .bill-when-text {
  font-family: var(--font-display);
  font-size: 30px;
  font-weight: 600;
  line-height: 1.15;
}
[data-font='mg'] .bill-host b {
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 600;
  line-height: 1.15;
}
[data-font='mg'] .bill-host small {
  font-family: var(--font-label);
  font-size: 11px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--accent-soft);
}

/* ---- embedded in another page: only the form --------------------------------------------- */
body.is-embed {
  display: block;
  min-height: 0;
  background: transparent;
}
body.is-embed .reg {
  display: block;
  padding: 10px;
  max-width: 500px;
}
body.is-embed .reg-ticket {
  position: static;
}
body.is-embed .ticket {
  box-shadow: none;
}
[data-form='ticket'] body.is-embed .ticket {
  border: 1px solid var(--ink-line);
}
body.is-embed .ticket-tear::before,
body.is-embed .ticket-tear::after {
  display: none;
}
body.is-embed .ticket-main > .embed-title {
  margin-bottom: 4px;
  font-size: calc(26px * var(--display-small));
  color: var(--ink);
}
/* the admin preview of the form in its window: the same form, over a dimmed page */
body.is-embed.is-stage {
  min-height: 100vh;
  display: grid;
  justify-items: center;
  align-content: start;
  padding: 7vh 12px 40px;
  background: #42454c;
}
body.is-stage .reg {
  width: 100%;
  padding: 0;
}
body.is-stage .ticket {
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.45);
}

/* ---- footer ------------------------------------------------------------------------------ */
.site-foot {
  flex: none;
  padding: 30px 20px 34px;
  border-top: 1px solid var(--line);
  text-align: center;
  font-size: 13px;
  line-height: 1.6;
  color: var(--text-2);
}
.site-foot p + p {
  margin-top: 6px;
}
.site-foot a {
  color: var(--text);
  text-decoration: none;
  border-bottom: 1px solid color-mix(in srgb, var(--text) 30%, transparent);
}
.site-foot a:hover {
  color: var(--accent-soft);
  border-bottom-color: currentColor;
}
.site-foot-links span {
  margin: 0 4px;
  opacity: 0.6;
}
.site-foot .site-foot-logo {
  height: 46px;
  width: auto;
  margin: 0 auto 22px;
}
[data-theme='mg'] .site-foot {
  background: #03060c;
  border-top-color: color-mix(in srgb, var(--accent) 30%, transparent);
}

@media (max-width: 900px) {
  .reg,
  [data-layout='split'] body.form-left .reg,
  [data-layout='cover'] .reg-hero .reg {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas: 'head' 'ticket' 'more';
    padding-bottom: 56px;
    min-height: 0;
  }
  [data-layout='cover'] .reg-hero .reg,
  [data-layout='minimal'] .reg {
    grid-template-areas: 'head' 'ticket';
  }
  .reg-ticket {
    position: static;
    margin-top: 32px;
  }
  .reg-top img {
    height: 34px;
  }
  .ticket-main {
    padding: 22px 20px 20px;
  }
  .ticket-stub {
    padding: 16px 20px 20px;
  }
  .ticket-tear,
  [data-form='card'] .ticket-tear {
    margin: 0 16px;
  }
  .ticket-tear::before {
    left: -28px;
  }
  .ticket-tear::after {
    right: -28px;
  }
  [data-font='mg'] .bill-badge {
    font-size: 11px;
    letter-spacing: 0.2em;
    gap: 12px;
  }
  [data-font='mg'] .bill-badge::before,
  [data-font='mg'] .bill-badge::after {
    width: 24px;
  }
}
@media (max-width: 420px) {
  .field-row {
    grid-template-columns: 1fr;
    gap: 0;
  }
}
@media (prefers-reduced-motion: reduce) {
  [data-font='mg'] .display em,
  [data-btn='foil'] .btn-big::after {
    animation: none;
  }
}

/* ======================================================================================== */
/* Room                                                                                      */
/* ======================================================================================== */
body.room {
  background-image: none;
}
.bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 56px;
  padding: 8px clamp(14px, 2.4vw, 28px);
  border-bottom: 1px solid var(--line);
}
.bar-id {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}
.bar-id img {
  max-height: 30px;
  width: auto;
  flex: none;
}
.bar-title {
  font-weight: 650;
  font-size: 17px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.tally {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex: none;
  padding: 5px 12px;
  border-radius: 999px;
  border: 1px solid var(--line);
  font-size: 14px;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.tally i {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--text-3);
}
.tally[data-kind='live'] {
  border-color: var(--onair);
}
.tally[data-kind='live'] i {
  background: var(--onair);
  animation: tally 1.6s ease-in-out infinite;
}
.tally[data-kind='waiting'] i {
  background: var(--accent-soft);
}
@keyframes tally {
  50% {
    opacity: 0.35;
  }
}

.hall {
  flex: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 380px;
  gap: clamp(14px, 2vw, 24px);
  width: 100%;
  max-width: 1560px;
  margin: 0 auto;
  padding: clamp(12px, 2vw, 24px) clamp(14px, 2.4vw, 28px) 24px;
  align-items: start;
}
.hall.is-solo {
  grid-template-columns: minmax(0, 1fr);
  max-width: 1120px;
}
.stage-col {
  min-width: 0;
}
.stage {
  /* the stage is always a dark room, whatever the theme of the page */
  --text: #f4f1ea;
  --text-2: #c3bfb6;
  --text-3: #98948c;
  --line: rgba(255, 255, 255, 0.2);
  --ink: #14110f;
  color: var(--text);
  position: relative;
  aspect-ratio: 16 / 9;
  background: #000;
  border-radius: var(--r-m);
  overflow: hidden;
  isolation: isolate;
}
.stage:fullscreen {
  border-radius: 0;
  aspect-ratio: auto;
  width: 100vw;
  height: 100vh;
}
.stage-media,
.stage-media video,
.stage-media iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  background: #000;
}
.stage-media video {
  object-fit: contain;
}

/* The curtain: two halves that slide apart when the session starts. */
.curtain {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  pointer-events: none;
  --cloth: color-mix(in oklab, var(--accent) 34%, var(--cloth-base, #120d0b));
  --cloth-deep: color-mix(in oklab, var(--accent) 16%, var(--cloth-base-deep, #0c0908));
}
.curtain i {
  flex: 1;
  background:
    repeating-linear-gradient(
      90deg,
      rgba(0, 0, 0, 0.34) 0,
      rgba(0, 0, 0, 0) 9px,
      rgba(255, 255, 255, 0.055) 15px,
      rgba(0, 0, 0, 0) 22px,
      rgba(0, 0, 0, 0.34) 38px
    ),
    linear-gradient(180deg, var(--cloth), var(--cloth-deep));
  background-color: #2a1c12;
  transition: transform 1.5s cubic-bezier(0.7, 0, 0.18, 1);
  will-change: transform;
}
.curtain i:first-child {
  box-shadow: inset -14px 0 22px -10px rgba(0, 0, 0, 0.55);
}
.curtain i:last-child {
  box-shadow: inset 14px 0 22px -10px rgba(0, 0, 0, 0.55);
}
.curtain.is-open i:first-child {
  transform: translateX(-101%);
}
.curtain.is-open i:last-child {
  transform: translateX(101%);
}
@media (prefers-reduced-motion: reduce) {
  .curtain i {
    transition: opacity 0.25s linear;
  }
  .curtain.is-open i {
    transform: none !important;
    opacity: 0;
  }
  .tally[data-kind='live'] i,
  .spinner {
    animation: none;
  }
}

.overlay {
  position: absolute;
  inset: 0;
  z-index: 5; /* above the player controls; only its children take clicks */
  display: grid;
  place-items: center;
  padding: clamp(14px, 3vw, 32px);
  text-align: center;
  pointer-events: none;
}
.overlay > * {
  pointer-events: auto;
}
.pre {
  max-width: 100%;
}
.pre-label {
  font-size: clamp(16px, 2vw, 21px);
  color: var(--text);
  opacity: 0.86;
  margin-bottom: clamp(8px, 1.6vw, 18px);
}
.pre .countdown {
  justify-content: center;
  --cd-size: clamp(44px, 9vw, 120px);
  --cd-unit: rgba(244, 237, 228, 0.7);
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.45);
}
.pre-note {
  margin-top: clamp(10px, 2vw, 22px);
  font-size: clamp(14px, 1.5vw, 17px);
  color: var(--text);
  opacity: 0.8;
}
.card {
  max-width: 520px;
  padding: clamp(18px, 3vw, 30px);
  border-radius: var(--r-m);
  background: rgba(10, 12, 16, 0.86);
  border: 1px solid var(--line);
  backdrop-filter: blur(6px);
}
.card h2 {
  font-size: calc(clamp(26px, 3.4vw, 40px) * var(--display-small));
}
.card p {
  margin-top: 10px;
  color: var(--text-2);
}
.card-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: 20px;
}
.pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 52px;
  padding: 12px 22px;
  border: 0;
  border-radius: max(var(--btn-radius), 0px);
  background: var(--text);
  color: var(--ink);
  font-weight: 700;
  font-size: 18px;
  cursor: pointer;
  box-shadow: 0 10px 34px rgba(0, 0, 0, 0.5);
}
.pill svg {
  width: 22px;
  height: 22px;
}
.overlay.is-bottom {
  place-items: end center;
  padding-bottom: 76px; /* clear of the control bar */
}
.stage .spinner {
  width: 44px;
  height: 44px;
  border-width: 4px;
  color: rgba(244, 237, 228, 0.9);
}

.controls {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 4;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 26px 10px 8px;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.6));
  opacity: 0;
  transition: opacity 0.2s ease;
}
.stage:hover .controls,
.stage:focus-within .controls,
.stage.show-controls .controls {
  opacity: 1;
}
.ctl {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: var(--r-s);
  background: transparent;
  color: #fff;
  cursor: pointer;
}
.ctl:hover {
  background: rgba(255, 255, 255, 0.14);
}
.ctl svg {
  width: 24px;
  height: 24px;
}
.volume {
  width: 96px;
  accent-color: #fff;
}
.controls .gap {
  flex: 1;
}

.under {
  margin-top: 16px;
}
.offer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 16px 18px;
  margin-bottom: 16px;
  border-radius: var(--r-m);
  background: var(--wings);
  border: 1.5px solid var(--accent-soft);
  animation: offer-in 0.35s ease-out;
}
.offer h3 {
  font-size: 20px;
  font-weight: 700;
  line-height: 1.25;
}
.offer p {
  margin-top: 3px;
  font-size: 15px;
  color: var(--text-2);
}
.offer .btn {
  flex: none;
}
@keyframes offer-in {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
}
.about h1 {
  font-size: calc(clamp(26px, 3vw, 38px) * var(--display-small));
}
.about p {
  margin-top: 6px;
  color: var(--text-2);
}

/* side column: ticket before the doors open, chat afterwards */
.side {
  min-width: 0;
}
.side .ticket-main h2 {
  font-size: calc(28px * var(--display-small));
}
.pass-actions {
  display: grid;
  gap: 8px;
  margin-top: 18px;
}
.pass-actions .btn {
  justify-content: flex-start;
  font-size: 15px;
  min-height: 44px;
  padding: 8px 14px;
}
.pass-actions-label {
  margin-top: 18px;
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
}
.pass-actions-label + .pass-actions {
  margin-top: 8px;
}

.chat {
  display: flex;
  flex-direction: column;
  height: min(calc(100dvh - 104px), 780px);
  min-height: 360px;
  background: var(--wings);
  border: 1px solid var(--line);
  border-radius: var(--r-m);
  overflow: hidden;
}
.chat-head {
  padding: 12px 16px;
  border-bottom: 1px solid var(--line);
  font-weight: 650;
}
.chat-scroll {
  position: relative;
  flex: 1;
  min-height: 0;
}
.chat-list {
  height: 100%;
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 10px 16px 12px;
  scrollbar-width: thin;
  scrollbar-color: var(--line) transparent;
}
.chat-empty {
  padding: 18px 0;
  color: var(--text-3);
  font-size: 15px;
}
.msg {
  padding: 5px 0;
  font-size: 15.5px;
  line-height: 1.4;
  overflow-wrap: anywhere;
}
.msg b {
  font-weight: 650;
  margin-right: 6px;
  color: var(--who, var(--text-2));
}
.msg.is-new {
  animation: msg-in 0.22s ease-out;
}
@keyframes msg-in {
  from {
    opacity: 0;
    transform: translateY(4px);
  }
}
.msg.is-host {
  margin: 4px -8px;
  padding: 7px 8px;
  border-radius: var(--r-s);
  background: var(--wings-2);
}
.msg.is-host b {
  color: var(--text);
}
.msg .tag {
  display: inline-block;
  margin-right: 6px;
  padding: 0 7px;
  border-radius: 999px;
  background: var(--accent);
  color: var(--accent-ink);
  font-size: 12px;
  font-weight: 700;
  line-height: 18px;
  vertical-align: 1px;
}
.msg.is-mine b {
  color: var(--accent-soft);
}
.msg.is-private-reply {
  box-shadow: inset 2px 0 0 var(--accent-soft);
}
.msg.is-pending {
  opacity: 0.72;
}
.msg-note {
  display: block;
  font-size: 12.5px;
  color: var(--text-3);
}
/* a message the control room pinned above the conversation */
.chat-pin {
  padding: 10px 16px 11px;
  border-bottom: 1px solid var(--line);
  background: var(--wings-2);
  box-shadow: inset 3px 0 0 var(--accent-soft);
  font-size: 15px;
  line-height: 1.4;
  overflow-wrap: anywhere;
}
.chat-pin small {
  display: block;
  margin-bottom: 2px;
  font-size: 12px;
  font-weight: 700;
  color: var(--accent-soft);
}
.chat-pin b {
  font-weight: 650;
}
.chat-form.is-off input {
  opacity: 0.55;
  cursor: not-allowed;
}
.chat-form.is-off .btn {
  opacity: 0.5;
  pointer-events: none;
}
.card.is-wait .spinner {
  margin: 18px auto 0;
}
.chat-new {
  position: absolute;
  left: 50%;
  bottom: 10px;
  transform: translateX(-50%);
  padding: 7px 14px;
  border: 0;
  border-radius: 999px;
  background: var(--text);
  color: var(--house);
  font-size: 14px;
  font-weight: 650;
  cursor: pointer;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.5);
}
.chat-form {
  display: flex;
  gap: 8px;
  padding: 10px;
  border-top: 1px solid var(--line);
}
.chat-form input {
  flex: 1;
  min-width: 0;
  min-height: 44px;
  padding: 8px 12px;
  border: 1px solid var(--line);
  border-radius: var(--r-s);
  background: var(--house);
  color: var(--text);
  font-size: 16px;
}
.chat-form input:focus {
  outline: none;
  border-color: var(--accent-soft);
}
.chat-form .btn {
  min-height: 44px;
  padding: 8px 14px;
}
.chat-hint {
  padding: 0 12px 10px;
  font-size: 14px;
  color: var(--accent-soft);
}

@media (max-width: 900px) {
  body.room {
    height: 100dvh;
    overflow: hidden;
  }
  body.room .site-foot {
    display: none; /* the phone room is a fixed-height app: video on top, chat below */
  }
  body.room[data-phase='scheduled'],
  body.room.no-chat {
    height: auto;
    overflow: visible;
  }
  body.room[data-phase='scheduled'] .site-foot,
  body.room.no-chat .site-foot {
    display: block;
  }
  .bar {
    min-height: 48px;
  }
  .hall {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 0;
    min-height: 0;
  }
  .stage {
    border-radius: 0;
  }
  .stage-col {
    flex: none;
  }
  .under {
    margin: 0;
    padding: 10px 14px 4px;
  }
  /* the title is already in the top bar: give the space to what matters */
  .about {
    display: none;
  }
  .under {
    padding-bottom: 0;
  }
  .bar-title {
    white-space: normal;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    font-size: 15px;
    line-height: 1.25;
  }
  .offer {
    margin-bottom: 10px;
    padding: 12px 14px;
    gap: 12px;
  }
  .offer h3 {
    font-size: 17px;
  }
  .offer p {
    display: none;
  }
  .side {
    flex: 1;
    min-height: 0;
    display: flex;
    flex-direction: column;
    padding: 6px 0 0;
  }
  .side .ticket {
    margin: 10px 14px 28px;
    box-shadow: none;
  }
  .chat {
    flex: 1;
    height: auto;
    min-height: 0;
    border-radius: 0;
    border-width: 1px 0 0;
  }
  .chat-head {
    display: none;
  }
  .controls {
    opacity: 1;
  }
  .volume {
    display: none;
  }
}

/* ---- message page (errors, not found) ---------------------------------------------------- */
.plain {
  display: grid;
  place-items: center;
  padding: 48px 24px;
  text-align: center;
}
.plain .plain-logo {
  height: 44px;
  width: auto;
  margin: 0 auto 36px;
}
.plain h1 {
  font-size: calc(clamp(36px, 6vw, 64px) * var(--display-scale));
}
.plain .btn {
  margin-top: 24px;
}
.plain p {
  margin-top: 14px;
  color: var(--text-2);
  max-width: 30em;
}
