html:has(body.play),
body.play {
  overscroll-behavior: none;
}

html:has(body.design-astellas.play .quiz-play.is-splash),
html:has(body.design-astellas.play .bingo-play.is-splash),
html:has(body.design-astellas.play .results-play.is-splash),
html:has(body.design-astellas.play .results-play.is-showing),
html:has(body.design-astellas.play .exchange-play.is-splash),
html:has(body.design-astellas.play .exchange-play.is-cover),
html:has(body.design-astellas.play .exchange-play.is-final),
html:has(body.design-astellas.play .play-stage > .cover-splash--astellas) {
  background-color: #008db0;
}

body.play {
  background-color: var(--color-app);
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  user-select: none;
}

body.play input,
body.play textarea {
  -webkit-touch-callout: default;
  -webkit-user-select: text;
  user-select: text;
}

body.play:has(.play-logo) {
  background-color: var(--splash-bg);
  color: var(--color-paper);
}

.play-logo {
  display: block;
  height: auto;
  width: 100%;
}

body.play:has(.play-logo) label {
  color: var(--color-paper);
}

.play-frame .pin-label {
  color: var(--color-paper);
  font-size: 1.5rem;
  line-height: 1.2;
  margin: 0;
  text-align: center;
}

.name-suggest {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.name-suggest[hidden] {
  display: none;
}

.name-suggest button {
  text-align: left;
}

.pin-row {
  display: flex;
  gap: 10px;
  justify-content: center;
}

.pin-digit {
  flex: 0 0 52px;
  font-size: 1.6rem;
  min-height: 64px;
  padding: 0;
  text-align: center;
  text-transform: uppercase;
  width: 52px;
}

body.play:not(.play-join):has(.play-logo) .play-frame .button-accent {
  background: #fff;
  border: 0;
  box-shadow: none;
  color: var(--splash-bg);
}

body.play input[type="text"],
body.play input[type="search"],
body.play textarea {
  background: var(--play-field-bg, #000);
  border: 1px solid var(--play-field-border, #fff);
  caret-color: var(--play-field-text, #fff);
  color: var(--play-field-text, #fff);
}

body.play input[type="text"]:focus-visible,
body.play input[type="search"]:focus-visible,
body.play textarea:focus-visible {
  outline: 2px solid var(--play-field-border, #fff);
}

.play-frame,
.play-column {
  display: flex;
  flex-direction: column;
  margin: 0 auto;
  max-width: 480px;
  min-height: 100vh;
  padding: 16px;
  width: 100%;
}

.play-frame {
  gap: 28px;
  justify-content: center;
}

.play-column {
  gap: 18px;
  justify-content: flex-start;
  padding-top: 20px;
}

.play-stage {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.guest-name {
  color: var(--guest-color, var(--color-muted));
  font-size: 0.95rem;
  margin: 0;
}

.guest-name-logo {
  display: none;
}

body.design-alpha.play:not(.team):not(.play-join) .guest-name {
  align-items: center;
  background: transparent;
  border-radius: 0;
  box-sizing: border-box;
  color: #fff;
  display: flex;
  gap: 12px;
  justify-content: space-between;
  max-width: 100%;
  padding: 0;
}

body.design-alpha.play:not(.team):not(.play-join) .guest-name-logo {
  display: block;
  flex: 0 0 auto;
  height: 40px;
  width: auto;
}

body.design-alpha.play:not(.team):not(.play-join) .guest-name-slot {
  display: grid;
  margin-left: auto;
  min-width: 0;
}

body.design-alpha.play:not(.team):not(.play-join) .guest-name-value,
body.design-alpha.play:not(.team):not(.play-join) .guest-name-clock {
  color: #fff;
  font-family: Unbounded, Montserrat, "Segoe UI", sans-serif;
  font-size: 1.35rem;
  font-weight: 700;
  grid-area: 1 / 1;
  letter-spacing: -0.04em;
  line-height: 1.05;
  min-width: 0;
  overflow-wrap: anywhere;
  text-align: right;
  transition: transform 0.42s cubic-bezier(0.22, 0.8, 0.28, 1), opacity 0.42s ease;
}

body.design-alpha.play:not(.team):not(.play-join) .guest-name-clock {
  font-variant-numeric: tabular-nums;
  opacity: 0;
  overflow-wrap: normal;
  pointer-events: none;
  transform: translateY(0.7em);
  white-space: nowrap;
}

body.design-alpha.play:not(.team):not(.play-join) .guest-name.is-timing .guest-name-value {
  opacity: 0;
  transform: translateY(-0.7em);
}

body.design-alpha.play:not(.team):not(.play-join) .guest-name.is-timing .guest-name-clock {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  body.design-alpha.play:not(.team):not(.play-join) .guest-name-value,
  body.design-alpha.play:not(.team):not(.play-join) .guest-name-clock {
    transition: none;
  }
}

.team-badge {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.team-badge[hidden] {
  display: none;
}

.team-badge-line {
  color: var(--guest-color, var(--color-muted));
  margin: 0;
}

.team-badge-num {
  color: var(--play-button-bg, var(--color-accent));
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 12vw, 4.4rem);
  line-height: 1;
  margin: 0;
}

.play-team-banner,
.play-score-banner {
  align-items: center;
  backdrop-filter: blur(22px);
  background: rgba(14, 18, 20, 0.46);
  display: flex;
  flex-direction: column;
  gap: 10px;
  inset: 0;
  justify-content: center;
  padding: 32px 24px;
  position: fixed;
  text-align: center;
  z-index: 35;
}

.play-score-banner {
  z-index: 36;
}

.play-event-cover[hidden] {
  display: none !important;
}

.play-team-banner[hidden],
.play-score-banner[hidden] {
  display: none !important;
}

.play-team-banner-kicker,
.play-score-banner-kicker {
  color: #fff;
  font-family: var(--font-ui);
  font-size: clamp(1.2rem, 4.6vw, 1.6rem);
  font-weight: 700;
  letter-spacing: 0.01em;
  margin: 0;
}

.play-team-banner-num,
.play-score-banner-num {
  color: var(--color-accent);
  font-family: var(--font-display);
  font-size: clamp(4.6rem, 24vw, 7.2rem);
  letter-spacing: -0.04em;
  line-height: 0.9;
  margin: 0;
}

.play-frame h1 {
  font-size: clamp(2.4rem, 9vw, 3.4rem);
  margin: 0;
}

.team-kicker,
.team-phase {
  margin: 0;
}

.team-kicker {
  color: var(--color-accent);
  font-size: 0.95rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.team-pick {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.team-pick a {
  align-items: center;
  background: var(--color-card);
  border-radius: 16px;
  color: var(--color-paper);
  display: flex;
  font-family: var(--font-display);
  font-size: 1.35rem;
  min-height: 64px;
  padding: 12px 16px;
  text-decoration: none;
}

.team-state {
  display: flex;
  flex-direction: column;
  gap: 12px;
  justify-content: center;
  min-height: 70vh;
}

.team-meet {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.team-meet h1,
.team-state h1 {
  font-size: clamp(2.6rem, 10vw, 4.2rem);
  margin: 0;
}

.team-phase {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 4vw, 2rem);
}

.play-frame form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.play-frame button,
.play-column button {
  min-height: 48px;
  width: 100%;
}

.play-frame .button-accent,
.play-column .button-accent {
  background: var(--play-button-bg, var(--color-accent));
  color: var(--play-button-text, var(--color-accent-ink));
  min-height: 72px;
}

.play-frame input,
.play-column input,
.play-frame textarea,
.play-column textarea {
  font-size: 16px;
}

.play-frame .error-text {
  font-size: 1.15rem;
}

#mini-gate .mini-gate-logo {
  align-items: center;
  display: flex;
  inset: 0;
  justify-content: center;
  pointer-events: none;
  position: fixed;
  z-index: 2;
}

#mini-status[hidden] {
  display: none;
}

#mini-gate .mini-gate-mark {
  display: block;
  height: auto;
  width: min(420px, 72vw);
}

#mini-gate .mini-status-text--quiet {
  border: 0;
  clip: rect(0 0 0 0);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  white-space: nowrap;
  width: 1px;
}

.mini-name {
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: min(100%, 420px);
}

.mini-name[hidden] {
  display: none;
}

.mini-name label {
  color: #fff;
  font-weight: 700;
}

body.play #mini-name input {
  background: #fff;
  border: 0;
  border-radius: 16px;
  box-sizing: border-box;
  caret-color: #12171b;
  color: #12171b;
  font: inherit;
  font-size: 1.15rem;
  height: 56px;
  padding: 0 16px;
  width: 100%;
}

body.play #mini-name input::placeholder {
  color: #8b938c;
}

body.play #mini-name button {
  background: #fff;
  border: 0;
  border-radius: 16px;
  color: #ff001c;
  cursor: pointer;
  font: inherit;
  font-size: 1.15rem;
  font-weight: 700;
  height: 56px;
}

.mini-name .error-text {
  margin: 0;
}

body.play label,
body.play .reactions-note,
body.play .quiz-kicker,
body.play .quiz-note,
body.play .quiz-secret,
body.play .quiz-stat,
body.play .quiz-hint,
body.play .bingo-status-chip,
body.play .bingo-empty,
body.play .bingo-note,
body.play .hundred-kicker,
body.play .hundred-caption,
body.play .hundred-note,
body.play .hundred-choice small,
body.play .exchange-author,
body.play .exchange-note,
body.play .exchange-saved,
body.play .exchange-taken {
  color: var(--color-paper);
}

body.play.play-join {
  background-color: var(--color-app);
  background-image: var(--hall-bg-image);
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  color: #102418;
}

body.design-alpha.play.play-join {
  background-color: #fff;
  background-image: none;
  color: #12171b;
}

body.design-gedeon.play,
body.design-gedeon.play.play-join,
body.design-gedeon.play:has(.play-logo) {
  background-color: #ebebe6;
  background-image: url("/images/gedeon-play.png?v=20261025");
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  color: #014891;
  font-family: Montserrat, "Segoe UI", system-ui, sans-serif;
}

body.design-gedeon.play .guest-name-logo,
body.design-gedeon.play .quiz-play-logo,
body.design-gedeon.play .quiz-cover-logo {
  display: none;
}

body.design-gedeon.play h1,
body.design-gedeon.play .join-card h1,
body.design-gedeon.play .quiz-question,
body.design-gedeon.play .mini-status-text,
body.design-gedeon.play .mini-name label {
  color: #014891;
  font-family: Montserrat, "Segoe UI", system-ui, sans-serif;
  font-weight: 700;
  letter-spacing: -0.05em;
  line-height: 0.9;
}

body.design-gedeon.play.play-join .join-card,
body.design-gedeon.play #mini-gate {
  background: transparent;
  box-shadow: none;
}

body.design-gedeon.play.play-join {
  align-items: center;
  display: flex;
  justify-content: center;
  min-height: 100dvh;
}

body.design-gedeon.play.play-join .join-card {
  padding: 0;
  width: min(15.5rem, calc(0.84 * max(42.5vw, 23.9vh)));
}

body.design-gedeon.play.play-join .join-label,
body.design-gedeon.play.play-join .join-code-prompt {
  color: #014891;
  font-family: Montserrat, "Segoe UI", system-ui, sans-serif;
  letter-spacing: -0.05em;
}

body.design-gedeon.play.play-join input.join-name,
body.design-gedeon.play #mini-name input {
  border: 2px solid #014891;
  caret-color: #014891;
  color: #014891;
  font-family: Montserrat, "Segoe UI", system-ui, sans-serif;
  font-weight: 700;
}

body.design-gedeon.play.play-join .join-form .button-accent,
body.design-gedeon.play #mini-name button {
  background: #f1556c;
  border-radius: 16px;
  color: #fff;
  font-family: Montserrat, "Segoe UI", system-ui, sans-serif;
  font-weight: 700;
  letter-spacing: -0.04em;
}

body.design-gedeon.play #mini-gate {
  align-items: center;
  display: flex;
  justify-content: center;
  min-height: 100dvh;
}

body.design-gedeon.play #mini-gate .mini-gate-logo {
  align-items: center;
  display: flex;
  inset: auto;
  justify-content: center;
  pointer-events: none;
  position: static;
}

body.design-gedeon.play #mini-gate h1 {
  font-size: clamp(2rem, 8vw, 3.2rem);
  margin: 0;
  text-align: center;
}

body.design-gedeon.play #mini-status {
  align-items: center;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

body.design-gedeon.play #mini-gate .error-text {
  color: #014891;
  font-family: Montserrat, "Segoe UI", system-ui, sans-serif;
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1.2;
  margin: 12px auto 0;
  max-width: min(15.5rem, calc(0.84 * max(42.5vw, 23.9vh)));
  text-align: center;
}

body.design-gedeon.play .mini-name {
  width: min(15.5rem, calc(0.84 * max(42.5vw, 23.9vh)));
}

body.design-alpha.play.play-join .join-card {
  border: 1px solid rgba(18, 23, 27, 0.08);
  box-shadow: 0 16px 36px rgba(18, 23, 27, 0.08);
}

body.design-alpha.play:not(.team):not(.play-join) .wait-line,
body.design-alpha.play:not(.team):not(.play-join) .team-badge-line,
body.design-alpha.play:not(.team):not(.play-join) label,
body.design-alpha.play:not(.team):not(.play-join) .reactions-note,
body.design-alpha.play:not(.team):not(.play-join) .team-badge-num {
  color: #fff;
}

body.design-alpha.play:not(.team) .emoji-key {
  background: #fff;
  border: 1px solid rgba(18, 23, 27, 0.12);
  border-radius: 16px;
  box-shadow: none;
  color: #12171b;
}

body.design-alpha.play:not(.team) .play-column input[type="text"],
body.design-alpha.play:not(.team) .play-column textarea,
body.design-alpha.play:not(.team) .reactions-play input,
body.design-alpha.play:not(.team) .reactions-play textarea {
  background: #fff;
  border: 1px solid rgba(18, 23, 27, 0.16);
  border-radius: 16px;
  caret-color: #12171b;
  color: #12171b;
}

body.design-alpha.play:not(.team) .play-column input::placeholder,
body.design-alpha.play:not(.team) .play-column textarea::placeholder,
body.design-alpha.play:not(.team) .reactions-play input::placeholder,
body.design-alpha.play:not(.team) .reactions-play textarea::placeholder {
  color: #8b938c;
}

body.design-alpha.play:not(.team) .play-column input:focus-visible,
body.design-alpha.play:not(.team) .play-column textarea:focus-visible {
  outline: 2px solid #ff001c;
}

body.design-alpha.play:not(.team):not(.play-join) .play-column .button-accent {
  background: #fff;
  border: 0;
  border-radius: 16px;
  color: #ff001c;
  font-weight: 700;
}

.join-fit {
  align-items: center;
  display: flex;
  justify-content: center;
  margin: 0 auto;
  max-width: 480px;
  min-height: 100dvh;
  padding: 24px 16px;
  width: 100%;
}

.join-art {
  background: transparent;
  min-height: 0;
  position: relative;
  width: 100%;
}

.join-card {
  background: #fff;
  border-radius: 28px;
  box-shadow: 0 16px 36px rgba(8, 40, 16, 0.16);
  margin: 0 auto;
  overflow: visible;
  padding: 28px 22px 24px;
  position: relative;
  width: min(350px, 100%);
}

.join-card::after {
  content: none;
}

.join-photo,
.join-fade {
  display: none;
}

.join-form {
  align-items: stretch;
  display: flex;
  flex-direction: column;
  gap: 16px;
  position: relative;
  width: 100%;
  z-index: 5;
}

.join-form--code {
  gap: 20px;
}

body.play.play-join .join-field {
  color: #102418;
  display: flex;
  flex-direction: column;
  font-size: 0.95rem;
  font-weight: 600;
  gap: 6px;
  text-align: center;
}

body.design-gedeon.play.play-join .join-field {
  color: #014891;
  font-family: Montserrat, "Segoe UI", system-ui, sans-serif;
}

.join-code-prompt,
body.play.play-join .join-label {
  clip: auto;
  clip-path: none;
  color: #102418;
  font-size: 1.25rem;
  font-weight: 700;
  height: auto;
  line-height: 1.3;
  margin: 0;
  overflow: visible;
  position: static;
  text-align: center;
  white-space: normal;
  width: auto;
}

body.play-entry-code .join-code-error {
  color: #d91e49;
  font-size: 15px;
  font-weight: 600;
  margin: 0;
}

body.play.play-join input.join-name {
  background: #fff;
  border: 2px solid rgba(16, 36, 24, 0.14);
  border-radius: 16px;
  box-shadow: none;
  caret-color: #102418;
  color: #102418;
  font-size: 1.05rem;
  font-weight: 600;
  height: 56px;
  min-height: 56px;
  padding: 0 16px;
  text-align: center;
  width: 100%;
}

body.play.play-join input.join-name::placeholder {
  color: #6d7b72;
  font-weight: 500;
}

body.play.play-join input.join-name:focus-visible {
  border-color: var(--color-accent);
  outline: 2px solid var(--color-accent);
}

.join-form .pin-row {
  gap: 8px;
  width: 100%;
}

.pin-row--code {
  gap: clamp(4px, 1.6vw, 8px);
  justify-content: center;
  max-width: 285px;
}

body.play.play-join .join-form .pin-digit {
  background: #fff;
  border: 2px solid rgba(16, 36, 24, 0.14);
  border-radius: 16px;
  box-shadow: none;
  caret-color: #102418;
  color: #102418;
  flex: 1 1 0;
  font-size: 1.4rem;
  font-weight: 700;
  height: 56px;
  min-height: 56px;
  min-width: 0;
  padding: 0;
  width: auto;
}

body.play.play-join .join-form.join-form--code .pin-digit {
  flex: 0 1 calc((100% - (var(--code-slots, 5) - 1) * 8px) / var(--code-slots, 5));
  font-size: clamp(1.1rem, 4.5vw, 1.4rem);
  max-width: 53px;
}

body.play.play-join .join-form .pin-digit:focus-visible {
  border-color: var(--color-accent);
  outline: 2px solid var(--color-accent);
}

.join-form .name-suggest,
.join-form .error-text {
  width: 100%;
}

body.play.play-join .join-form .name-suggest {
  max-height: min(40vh, 280px);
  overflow-y: auto;
  position: relative;
  z-index: 5;
}

body.play.play-join .join-form .name-suggest button {
  background: #fff;
  border: 2px solid rgba(16, 36, 24, 0.14);
  border-radius: 16px;
  box-shadow: none;
  color: #102418;
  font-size: 1rem;
  font-weight: 600;
  min-height: 44px;
  padding: 0 16px;
  width: 100%;
}

body.play.play-join .join-form .name-suggest button:focus-visible {
  border-color: var(--color-accent);
  outline: 2px solid var(--color-accent);
}

.join-form .error-text {
  text-align: center;
}

.join-start {
  background: #fff;
  border: 0;
  border-radius: 5px;
  box-shadow: inset 0 0 0 2px #ff001c;
  color: #ff001c;
  cursor: pointer;
  font-size: clamp(1.35rem, 5vw, 2.15rem);
  font-weight: 500;
  height: 70px;
  letter-spacing: -0.05em;
  line-height: 0.95;
  min-height: 70px;
  padding: 0 20px;
  width: 100%;
}

@media (max-width: 392px) {
  .join-fit {
    height: auto;
    overflow: visible;
  }

  .join-art {
    transform: none;
  }
}

@media (max-width: 480px) {
  .play-frame,
  .play-column {
    padding-left: 16px;
    padding-right: 16px;
  }
}

body.design-astellas.play {
  font-family: Manrope, "Segoe UI", system-ui, sans-serif;
}

body.design-astellas.play .play-column,
body.design-astellas.play .play-column h1,
body.design-astellas.play .play-column p,
body.design-astellas.play .play-column label,
body.design-astellas.play .play-column button,
body.design-astellas.play .play-column input,
body.design-astellas.play .play-column textarea {
  font-family: Manrope, "Segoe UI", system-ui, sans-serif;
  font-weight: 500;
}

body.design-astellas.play .guest-name,
body.design-astellas.play .reactions-note,
body.design-astellas.play .play-compose label,
body.design-astellas.play .wait-line,
body.design-astellas.play .speaker-topic {
  font-size: 16px;
  line-height: 1.25;
}

body.design-astellas.play .play-column h1 {
  font-size: 22px;
  font-weight: 700;
  line-height: 1.15;
}

body.design-astellas .reactions-play input,
body.design-astellas .speakers-play input,
body.design-astellas .speakers-play textarea,
body.design-astellas .play-column input[type="text"],
body.design-astellas .play-column textarea {
  background: var(--play-field-bg, #bbcdd6);
  border: 0;
  border-radius: 15px;
  box-shadow: inset 4px 4px 8px rgba(112, 112, 112, 0.15);
  caret-color: var(--play-field-text, #647684);
  color: var(--play-field-text, #647684);
  font-size: 16px;
  min-height: 65px;
  text-align: center;
}

body.design-astellas .reactions-play textarea {
  height: calc(2 * 1.35em + 24px);
  line-height: 1.35;
  min-height: calc(2 * 1.35em + 24px);
  resize: none;
  text-align: left;
}

body.design-astellas .play-column input::placeholder,
body.design-astellas .play-column textarea::placeholder {
  color: #647684;
  font-weight: 500;
}

body.design-astellas .play-column input:focus-visible,
body.design-astellas .play-column textarea:focus-visible {
  outline: 2px solid var(--play-button-bg, #00c2da);
}

body.design-astellas.play .play-column .button-accent {
  background: var(--play-button-bg, #00c2da);
  border: 0;
  border-radius: 42px;
  box-shadow:
    inset 4px 4px 7px rgba(255, 255, 255, 0.4),
    inset -4px -4px 8px rgba(19, 109, 120, 0.3);
  color: var(--play-button-text, #fff);
  font-size: 22px;
  font-weight: 700;
  height: 50px;
  line-height: 18px;
  margin-left: auto;
  margin-right: auto;
  min-height: 50px;
  padding: 0;
  width: 180px;
}

body.design-astellas .emoji-key {
  background: var(--play-field-bg, #bbcdd6);
  border-radius: 15px;
  box-shadow: inset 4px 4px 8px rgba(112, 112, 112, 0.15);
  min-height: 65px;
}

body.design-astellas.play:not(.play-join) {
  background: #008db0;
  background-image: none;
}

.astellas-hall {
  background: #fff;
  border-radius: 20px 20px 0 0;
  box-shadow:
    inset 4px 4px 7px rgba(233, 245, 247, 0.4),
    inset -4px -4px 8px rgba(0, 141, 176, 0.2);
  margin: 102px auto 0;
  max-width: 420px;
  min-height: calc(100dvh - 102px);
  overflow: hidden;
  padding: clamp(108px, 14vh, 168px) 28px 40px;
  position: relative;
  width: min(420px, calc(100% - 44px));
}

.astellas-hall::before {
  background: url("/images/play/mountainside.png") center 28% / cover no-repeat;
  bottom: 0;
  content: "";
  height: 72%;
  left: 0;
  pointer-events: none;
  position: absolute;
  width: 100%;
  z-index: 0;
}

.astellas-hall::after {
  background: linear-gradient(
    180deg,
    #fff 0%,
    #fff 18%,
    rgba(255, 255, 255, 0.92) 30%,
    rgba(255, 255, 255, 0.55) 42%,
    rgba(255, 255, 255, 0.12) 54%,
    rgba(255, 255, 255, 0) 64%
  );
  content: "";
  inset: 0;
  pointer-events: none;
  position: absolute;
  z-index: 0;
}

body.design-astellas .astellas-hall:has(.exchange-play)::before,
body.design-astellas .astellas-hall:has(.exchange-play)::after,
body.design-astellas .astellas-hall:has(.speakers-play)::before,
body.design-astellas .astellas-hall:has(.speakers-play)::after,
body.design-astellas .astellas-hall:has(.quiz-play:not(.is-splash))::before,
body.design-astellas .astellas-hall:has(.quiz-play:not(.is-splash))::after,
body.design-astellas .astellas-hall:has(.bingo-play:not(.is-splash))::before,
body.design-astellas .astellas-hall:has(.bingo-play:not(.is-splash))::after,
body.design-astellas .astellas-hall:has(.results-play:not(.is-splash)):not(:has(.results-play.is-showing))::before,
body.design-astellas .astellas-hall:has(.results-play:not(.is-splash)):not(:has(.results-play.is-showing))::after,
body.design-astellas .astellas-hall:has(.results-play.is-showing)::before,
body.design-astellas .astellas-hall:has(.results-play.is-showing)::after,
body.design-astellas .astellas-hall:has(.hundred-play)::before,
body.design-astellas .astellas-hall:has(.hundred-play)::after,
body.design-astellas .astellas-hall:has(.quiz-play.is-splash)::before,
body.design-astellas .astellas-hall:has(.quiz-play.is-splash)::after,
body.design-astellas .astellas-hall:has(.bingo-play.is-splash)::before,
body.design-astellas .astellas-hall:has(.bingo-play.is-splash)::after,
body.design-astellas .astellas-hall:has(.results-play.is-splash)::before,
body.design-astellas .astellas-hall:has(.results-play.is-splash)::after,
body.design-astellas .astellas-hall:has(.play-stage > .cover-splash--astellas)::before,
body.design-astellas .astellas-hall:has(.play-stage > .cover-splash--astellas)::after {
  display: none;
}

body.design-astellas .astellas-hall:has(.quiz-play.is-splash),
body.design-astellas .astellas-hall:has(.bingo-play.is-splash),
body.design-astellas .astellas-hall:has(.results-play.is-splash),
body.design-astellas .astellas-hall:has(.play-stage > .cover-splash--astellas),
body.design-astellas .astellas-hall:has(.exchange-play.is-splash),
body.design-astellas .astellas-hall:has(.exchange-play.is-cover),
body.design-astellas .astellas-hall:has(.exchange-play.is-final),
body.design-astellas .astellas-hall:has(.results-play.is-showing) {
  background: transparent;
  border-radius: 0;
  box-shadow: none;
  margin: 0;
  max-width: none;
  min-height: 100dvh;
  overflow: visible;
  padding: 0;
  width: 100%;
}

body.design-astellas .astellas-hall:has(.quiz-play.is-splash) > .astellas-logo,
body.design-astellas .astellas-hall:has(.quiz-play.is-splash) > .guest-name,
body.design-astellas .astellas-hall:has(.quiz-play.is-splash) > .team-badge,
body.design-astellas .astellas-hall:has(.quiz-play.is-splash) > .reactions-play,
body.design-astellas .astellas-hall:has(.bingo-play.is-splash) > .astellas-logo,
body.design-astellas .astellas-hall:has(.bingo-play.is-splash) > .guest-name,
body.design-astellas .astellas-hall:has(.bingo-play.is-splash) > .team-badge,
body.design-astellas .astellas-hall:has(.bingo-play.is-splash) > .reactions-play,
body.design-astellas .astellas-hall:has(.results-play.is-splash) > .astellas-logo,
body.design-astellas .astellas-hall:has(.results-play.is-splash) > .guest-name,
body.design-astellas .astellas-hall:has(.results-play.is-splash) > .team-badge,
body.design-astellas .astellas-hall:has(.results-play.is-splash) > .reactions-play,
body.design-astellas .astellas-hall:has(.play-stage > .cover-splash--astellas) > .astellas-logo,
body.design-astellas .astellas-hall:has(.play-stage > .cover-splash--astellas) > .guest-name,
body.design-astellas .astellas-hall:has(.play-stage > .cover-splash--astellas) > .team-badge,
body.design-astellas .astellas-hall:has(.play-stage > .cover-splash--astellas) > .reactions-play,
body.design-astellas .astellas-hall:has(.exchange-play.is-splash) > .astellas-logo,
body.design-astellas .astellas-hall:has(.exchange-play.is-splash) > .guest-name,
body.design-astellas .astellas-hall:has(.exchange-play.is-splash) > .team-badge,
body.design-astellas .astellas-hall:has(.exchange-play.is-splash) > .reactions-play,
body.design-astellas .astellas-hall:has(.exchange-play.is-cover) > .astellas-logo,
body.design-astellas .astellas-hall:has(.exchange-play.is-cover) > .guest-name,
body.design-astellas .astellas-hall:has(.exchange-play.is-cover) > .team-badge,
body.design-astellas .astellas-hall:has(.exchange-play.is-cover) > .reactions-play,
body.design-astellas .astellas-hall:has(.exchange-play.is-final) > .astellas-logo,
body.design-astellas .astellas-hall:has(.exchange-play.is-final) > .guest-name,
body.design-astellas .astellas-hall:has(.exchange-play.is-final) > .team-badge,
body.design-astellas .astellas-hall:has(.exchange-play.is-final) > .reactions-play,
body.design-astellas .astellas-hall:has(.results-play.is-showing) > .astellas-logo,
body.design-astellas .astellas-hall:has(.results-play.is-showing) > .guest-name,
body.design-astellas .astellas-hall:has(.results-play.is-showing) > .team-badge,
body.design-astellas .astellas-hall:has(.results-play.is-showing) > .reactions-play {
  display: none;
}

body.design-astellas .astellas-hall:has(.quiz-play.is-splash) .play-stage,
body.design-astellas .astellas-hall:has(.bingo-play.is-splash) .play-stage,
body.design-astellas .astellas-hall:has(.results-play.is-splash) .play-stage,
body.design-astellas .astellas-hall:has(.play-stage > .cover-splash--astellas) .play-stage,
body.design-astellas .astellas-hall:has(.exchange-play.is-splash) .play-stage,
body.design-astellas .astellas-hall:has(.exchange-play.is-cover) .play-stage,
body.design-astellas .astellas-hall:has(.exchange-play.is-final) .play-stage,
body.design-astellas .astellas-hall:has(.results-play.is-showing) .play-stage {
  flex: 1 1 auto;
  gap: 0;
  min-height: 100dvh;
  order: 0;
  padding: 0;
}

body.design-astellas .astellas-hall:has(.results-play.is-showing) {
  justify-content: flex-start;
  min-height: 100dvh;
}

body.design-astellas.play:has(.quiz-play.is-splash),
body.design-astellas.play:has(.bingo-play.is-splash),
body.design-astellas.play:has(.results-play.is-splash),
body.design-astellas.play:has(.exchange-play.is-splash),
body.design-astellas.play:has(.exchange-play.is-cover),
body.design-astellas.play:has(.exchange-play.is-final),
body.design-astellas.play:has(.results-play.is-showing),
body.design-astellas.play:has(.play-stage > .cover-splash--astellas) {
  background: #008db0;
}

.astellas-logo {
  display: block;
  height: 33.7494px;
  margin: 4px auto 8px;
  order: 1;
  position: relative;
  width: 161px;
  z-index: 1;
}

.astellas-hall > * {
  position: relative;
  z-index: 1;
}

.astellas-hall .guest-name {
  order: 2;
}

.astellas-hall .play-stage {
  order: 3;
}

.astellas-hall .team-badge {
  order: 4;
}

.astellas-hall .reactions-play {
  gap: 28px;
  order: 5;
}

body.design-astellas .astellas-hall .play-compose {
  gap: 24px;
}

body.design-astellas.play .astellas-hall .guest-name {
  color: #415364;
  font-size: 22px;
  font-weight: 700;
  line-height: 1.15;
  text-align: center;
}

body.design-astellas.play .astellas-hall .wait-line,
body.design-astellas.play .astellas-hall .reactions-note,
body.design-astellas.play .astellas-hall .team-badge-line,
body.design-astellas.play .astellas-hall .speaker-topic {
  color: #647684;
  font-size: 16px;
  font-weight: 500;
  text-align: center;
}

body.design-astellas .astellas-hall .team-badge-num {
  color: #00c2da;
  font-size: 4rem;
  font-weight: 700;
  line-height: 1;
  text-align: center;
}

body.design-astellas .astellas-hall .play-compose label {
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  height: 1px;
  overflow: hidden;
  position: absolute;
  white-space: nowrap;
  width: 1px;
}

body.design-astellas .astellas-hall .action-line {
  color: #00c2da;
  text-align: center;
}

.play-alert {
  background: #fff;
  border: 0;
  border-radius: 5px;
  box-shadow: none;
  color: #ff001c;
  font-family: Montserrat, "Segoe UI", sans-serif;
  margin: auto;
  max-width: min(22rem, calc(100vw - 2rem));
  padding: 28px 22px 22px;
  text-align: center;
  width: calc(100% - 2rem);
}

.play-alert::backdrop {
  background: rgba(0, 0, 0, 0.45);
}

.play-alert-text {
  color: #ff001c;
  font-family: Unbounded, "Segoe UI", sans-serif;
  font-size: clamp(1.15rem, 4vw, 1.5rem);
  font-weight: 700;
  letter-spacing: -0.05em;
  line-height: 0.98;
  margin: 0 0 20px;
}

.play-alert form {
  margin: 0;
}

.play-alert .button-accent,
body.design-astellas .play-alert .button-accent {
  background: #ff001c;
  border: 0;
  border-radius: 5px;
  box-shadow: none;
  color: #fff;
  font-family: Montserrat, "Segoe UI", sans-serif;
  font-size: 1.15rem;
  font-weight: 500;
  letter-spacing: -0.05em;
  min-height: 56px;
  padding: 0 28px;
  width: 100%;
}

@media (max-width: 480px) {
  .astellas-hall {
    gap: 12px;
    margin-top: calc(102px + env(safe-area-inset-top));
    min-height: calc(100dvh - 102px - env(safe-area-inset-top));
    padding: 18px 16px calc(20px + env(safe-area-inset-bottom));
    width: calc(100% - 20px);
  }

  .astellas-logo {
    height: auto;
    margin-bottom: 0;
    max-width: 42vw;
  }

  body.design-astellas.play .astellas-hall .guest-name {
    font-size: 20px;
    overflow-wrap: anywhere;
  }

  body.design-astellas .astellas-hall .emoji-grid {
    gap: 8px;
  }

  body.design-astellas .astellas-hall .emoji-key {
    font-size: 1.55rem;
    min-height: 52px;
    min-width: 0;
  }

  body.design-astellas .astellas-hall .reactions-play {
    gap: 20px;
  }

  body.design-astellas .astellas-hall .play-compose {
    gap: 18px;
  }

  body.design-astellas.play .astellas-hall .button-accent {
    max-width: 100%;
  }
}

.send-confirm {
  display: none;
  border: 0;
  margin: auto;
  padding: 0;
}

.send-confirm[open] {
  background: #fff;
  border-radius: 5px;
  box-shadow: none;
  box-sizing: border-box;
  color: #ff001c;
  display: flex;
  flex-direction: column;
  font-family: Montserrat, "Segoe UI", sans-serif;
  gap: 16px;
  max-width: min(360px, calc(100vw - 32px));
  padding: 24px 20px 20px;
  width: min(360px, calc(100vw - 32px));
}

.send-confirm::backdrop {
  background: rgba(0, 0, 0, 0.45);
}

.send-confirm-title {
  color: #ff001c;
  font-family: Unbounded, "Segoe UI", sans-serif;
  font-size: clamp(1.15rem, 4vw, 1.5rem);
  font-weight: 700;
  letter-spacing: -0.05em;
  line-height: 0.98;
  margin: 0;
  text-align: center;
}

.send-confirm-text {
  background: #fff;
  border-radius: 5px;
  box-shadow: inset 0 0 0 2px #ff001c;
  color: #ff001c;
  font-size: clamp(1.05rem, 3.6vw, 1.35rem);
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 1.15;
  margin: 0;
  max-height: 8.5rem;
  overflow: auto;
  padding: 14px 16px;
  text-align: left;
}

.send-confirm-text[hidden] {
  display: none;
}

.send-confirm-actions {
  display: flex;
  gap: 10px;
}

.send-confirm-actions button {
  border: 0;
  border-radius: 5px;
  flex: 1 1 0;
  font-family: Montserrat, "Segoe UI", sans-serif;
  font-size: 1.1rem;
  font-weight: 500;
  letter-spacing: -0.05em;
  min-height: 56px;
  padding: 10px 12px;
}

.send-confirm-actions [data-send-confirm="yes"] {
  background: #ff001c;
  color: #fff;
}

.send-confirm-actions [data-send-confirm="no"] {
  background: #fff;
  box-shadow: inset 0 0 0 2px #ff001c;
  color: #ff001c;
}

body.design-gedeon.play .play-column {
  align-items: center;
  background: transparent;
  box-sizing: border-box;
  justify-content: center;
  max-width: none;
  min-height: 100dvh;
  overflow-x: hidden;
  overflow-y: auto;
  padding: 24px 0;
  width: 100%;
}

body.design-gedeon.play .emoji-grid {
  display: grid;
  gap: 8px;
  grid-template-columns: repeat(3, 1fr);
  width: 100%;
}

body.design-gedeon.play .emoji-key {
  font-size: 1.35rem;
  min-height: 46px;
  padding: 0;
}

body.design-gedeon.play .play-compose {
  gap: 8px;
}

body.design-gedeon.play .play-compose textarea {
  min-height: 48px;
  padding: 10px 12px;
}

body.design-gedeon.play .reactions-play {
  gap: 10px;
}

body.design-gedeon.play .reactions-note {
  font-size: 0.82rem;
  line-height: 1.2;
  margin: 0;
}

body.design-gedeon.play .send-confirm[open] {
  border-radius: 16px;
  color: #014891;
  font-family: Montserrat, "Segoe UI", system-ui, sans-serif;
  max-width: min(18rem, calc(100vw - 32px));
  width: min(18rem, calc(100vw - 32px));
}

body.design-gedeon.play .send-confirm-title,
body.design-gedeon.play .send-confirm-text {
  color: #014891;
  font-family: Montserrat, "Segoe UI", system-ui, sans-serif;
  font-weight: 700;
  letter-spacing: -0.04em;
}

body.design-gedeon.play .send-confirm-text {
  border-radius: 14px;
  box-shadow: inset 0 0 0 2px #014891;
  text-align: center;
}

body.design-gedeon.play .send-confirm-actions [data-send-confirm="yes"] {
  background: #f1556c;
  border-radius: 14px;
  color: #fff;
  font-family: Montserrat, "Segoe UI", system-ui, sans-serif;
  font-weight: 700;
  min-height: 48px;
}

body.design-gedeon.play .send-confirm-actions [data-send-confirm="no"] {
  background: #fff;
  border-radius: 14px;
  box-shadow: inset 0 0 0 2px #014891;
  color: #014891;
  font-family: Montserrat, "Segoe UI", system-ui, sans-serif;
  font-weight: 700;
  min-height: 48px;
}

body.design-gedeon.play .guest-name,
body.design-gedeon.play .team-badge {
  display: none;
}

body.design-gedeon.play .play-stage {
  align-items: center;
  display: flex;
  justify-content: center;
  width: min(16rem, calc(0.86 * max(42.5vw, 23.9vh)));
}

body.design-gedeon.play .wait-line,
body.design-gedeon.play .results-kicker,
body.design-gedeon.play .results-score,
body.design-gedeon.play .results-score-word,
body.design-gedeon.play .reactions-note,
body.design-gedeon.play .play-compose label {
  color: #014891;
  font-family: Montserrat, "Segoe UI", system-ui, sans-serif;
  font-weight: 700;
  letter-spacing: -0.04em;
  text-align: center;
}

body.design-gedeon.play .wait-line {
  font-size: clamp(1.15rem, 4.6vw, 1.45rem);
  line-height: 1.05;
}

body.design-gedeon.play .results-play,
body.design-gedeon.play .results-showing-stage {
  align-items: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 100dvh;
  width: 100%;
}

body.design-gedeon.play .results-kicker {
  color: #f1556c;
  font-size: 1rem;
  letter-spacing: -0.03em;
  text-transform: none;
}

body.design-gedeon.play .results-score {
  font-size: clamp(3.2rem, 14vw, 4.2rem);
  line-height: 0.9;
}

body.design-gedeon.play .exchange-final-card {
  background: #fff;
  border-radius: 16px;
  box-shadow: none;
  box-sizing: border-box;
  color: #014891;
  font-family: Montserrat, "Segoe UI", system-ui, sans-serif;
  padding: 16px 12px;
  width: 100%;
}

body.design-gedeon.play .exchange-final-name,
body.design-gedeon.play .exchange-screen-eyebrow {
  color: #014891;
  font-family: Montserrat, "Segoe UI", system-ui, sans-serif;
}

body.design-gedeon.play .exchange-final-name {
  font-size: 1.05rem;
  line-height: 1.15;
  overflow-wrap: normal;
  word-break: normal;
}

body.design-gedeon.play .exchange-final-points,
body.design-gedeon.play .exchange-final-points small {
  color: #f1556c;
  font-family: Montserrat, "Segoe UI", system-ui, sans-serif;
}

body.design-gedeon.play .pause-splash {
  align-items: center;
  background: transparent;
  display: flex;
  justify-content: center;
}

body.design-gedeon .cover-splash .quiz-cover-brand {
  --gedeon-circle: max(42.5vw, 23.9vh);
  position: absolute;
  z-index: 2;
}

body.design-gedeon.screen .cover-splash .quiz-cover-brand {
  --gedeon-circle: max(33.4vw, 59.4vh);
}

body.design-gedeon.play:has(.pause-splash) .reactions-play,
body.design-gedeon.play:has(.cover-splash) .reactions-play,
body.design-gedeon.play:has(.results-play) .reactions-play,
body.design-gedeon.play:has(.quiz-play.is-splash) .reactions-play {
  display: none;
}

body.design-gedeon.play.play-join .join-card {
  background: transparent;
  border-radius: 0;
  box-shadow: none;
  padding: 0;
}

body.design-gedeon.play.play-join .join-start {
  background: #f1556c;
  border-radius: 16px;
  box-shadow: none;
  color: #fff;
  font-family: Montserrat, "Segoe UI", system-ui, sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
  height: 48px;
  min-height: 48px;
}

body.design-gedeon.play.play-join input.join-name::placeholder,
body.design-gedeon.play #mini-name input::placeholder {
  color: rgba(1, 72, 145, 0.45);
  font-weight: 600;
}

body.design-gedeon.play.play-join .join-form .pin-digit {
  border-color: #014891;
  caret-color: #014891;
  color: #014891;
}

body.design-gedeon.play .play-team-banner,
body.design-gedeon.play .play-score-banner {
  backdrop-filter: none;
  background-color: #eaebe5;
  background-image: url("/images/gedeon-play.png?v=20261025");
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

body.design-gedeon.play .play-team-banner-kicker,
body.design-gedeon.play .play-score-banner-kicker,
body.design-gedeon.play .play-team-banner-num,
body.design-gedeon.play .play-score-banner-num {
  color: #014891;
  font-family: Montserrat, "Segoe UI", system-ui, sans-serif;
  font-weight: 700;
  letter-spacing: -0.05em;
}

body.design-gedeon.play .play-team-banner-num,
body.design-gedeon.play .play-score-banner-num {
  font-size: clamp(3.4rem, 16vw, 5rem);
  letter-spacing: 0;
  line-height: 1;
}

body.design-gedeon.play .play-team-banner-num {
  font-size: 0;
}

body.design-gedeon.play .play-team-banner-num span {
  color: #f1556c;
  font-size: clamp(3.4rem, 16vw, 5rem);
  letter-spacing: 0;
  line-height: 1;
}

body.design-gedeon.play .reactions-play {
  width: min(16rem, calc(0.86 * max(42.5vw, 23.9vh)));
}

body.design-gedeon.play .emoji-key {
  background: #fff;
  border: 2px solid #014891;
  border-radius: 14px;
  color: #014891;
}

body.design-gedeon.play .play-compose textarea {
  background: #fff;
  border: 2px solid #014891;
  border-radius: 14px;
  color: #014891;
  font-family: Montserrat, "Segoe UI", system-ui, sans-serif;
  font-weight: 700;
}

body.design-gedeon.play .reactions-play .button-accent,
body.design-gedeon.play .play-alert .button-accent {
  background: #f1556c;
  border: 0;
  border-radius: 14px;
  box-shadow: none;
  color: #fff;
  font-family: Montserrat, "Segoe UI", system-ui, sans-serif;
  font-weight: 700;
}

body.design-gedeon.play .play-alert,
body.design-gedeon.play .play-alert-text {
  color: #014891;
  font-family: Montserrat, "Segoe UI", system-ui, sans-serif;
}
