:root {
  color-scheme: dark;
  --ink: #050505;
  --paper: #88dcff;
  --field: #12230c;
  --cyan: #45c9ff;
  --glow-blue: #00a8ff;
  --danger: #ff4242;
  --timer-purple: #8f38ff;
  --deep-blue: #073a88;
  --shadow-blue: #062866;
  --panel-blue: #0b4c94;
  --white-gloss: rgba(255, 255, 255, 0.9);
}

* {
  box-sizing: border-box;
}

html,
body {
  width: 100%;
  height: 100%;
  margin: 0;
  overflow: hidden;
  background: var(--field);
  font-family: "Trebuchet MS", Arial, sans-serif;
}

body {
  min-width: 320px;
}

#game-canvas {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  outline: none;
}

.hud {
  position: fixed;
  inset: 0;
  pointer-events: none;
  color: var(--paper);
  text-shadow:
    0 2px 4px rgba(0, 0, 0, 0.9),
    0 0 12px var(--glow-blue),
    0 0 28px rgba(0, 168, 255, 0.72);
}

.timer-shell {
  position: absolute;
  top: 34px;
  left: 50%;
  width: min(72rem, calc(100% - 112px));
  height: 24px;
  transform: translateX(-50%);
  border: 3px solid rgba(255, 255, 255, 0.78);
  border-radius: 999px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.4), rgba(11, 32, 91, 0.42)),
    rgba(255, 255, 255, 0.22);
  box-shadow:
    0 5px 0 rgba(6, 40, 102, 0.6),
    0 12px 22px rgba(0, 0, 0, 0.24),
    inset 0 2px 0 rgba(255, 255, 255, 0.62);
  overflow: hidden;
}

.timer-bar {
  width: 100%;
  height: 100%;
  border-radius: inherit;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.38), rgba(255, 255, 255, 0) 36%),
    linear-gradient(90deg, #7d28ff, var(--timer-purple), #bf68ff);
  box-shadow:
    inset 0 -4px 0 rgba(55, 11, 136, 0.34),
    0 0 18px rgba(176, 92, 255, 0.62);
  transform-origin: left center;
  transition: width 80ms linear;
}

.timer-bar.low {
  background: var(--timer-purple);
  box-shadow: 0 0 18px #f0b4ff;
}

.readout {
  position: absolute;
  top: 68px;
  left: 50%;
  width: min(50rem, calc(100% - 40px));
  padding: 4px 18px 8px;
  transform: translateX(-50%);
  text-align: center;
}

.answer-line {
  font-size: 34px;
  font-weight: 900;
  line-height: 1.1;
  color: var(--paper);
}

.meta-line {
  display: none;
  justify-content: center;
  gap: 22px;
  margin-top: 7px;
  font-size: 16px;
  font-weight: 800;
  line-height: 1.2;
  color: #9be6ff;
}

.choice-labels {
  position: absolute;
  inset: 0;
}

.choice-label {
  position: absolute;
  width: 620px;
  max-width: 620px;
  padding: 10px 14px;
  transform: translate(-50%, -50%);
  transform-origin: center center;
  color: rgba(88, 207, 255, 0.68);
  font-size: 94px;
  font-weight: 900;
  line-height: 0.98;
  text-align: center;
  text-shadow:
    0 8px 0 rgba(0, 8, 23, 0.46),
    0 0 13px rgba(0, 200, 255, 0.52),
    0 0 34px rgba(0, 125, 255, 0.46),
    0 0 58px rgba(0, 68, 255, 0.32);
  white-space: normal;
  overflow-wrap: anywhere;
  will-change: transform;
}

.choice-label.hit {
  color: rgba(184, 243, 255, 0.72);
}

.choice-label.wrong {
  color: rgba(255, 209, 209, 0.72);
}

.screen {
  position: fixed;
  inset: 0;
  z-index: 5;
  display: none;
  align-items: center;
  justify-content: center;
  pointer-events: auto;
  background:
    linear-gradient(180deg, rgba(222, 255, 178, 0.1), rgba(34, 132, 31, 0.16)),
    rgba(142, 221, 82, 0.18);
  backdrop-filter: blur(1px) saturate(1.15);
}

.screen.active {
  display: flex;
}

.confetti-root {
  position: fixed;
  inset: 0;
  z-index: 8;
  pointer-events: none;
  overflow: hidden;
}

.version-badge {
  position: fixed;
  right: 18px;
  bottom: 14px;
  z-index: 9;
  display: none;
  padding: 7px 10px;
  border: 2px solid rgba(255, 255, 255, 0.72);
  border-radius: 999px;
  background: rgba(7, 58, 136, 0.32);
  color: #ffffff;
  font-size: 14px;
  font-weight: 900;
  letter-spacing: 0;
  line-height: 1;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.72);
  pointer-events: none;
}

body.menu-open .version-badge {
  display: block;
}

.confetti-piece {
  position: absolute;
  top: -32px;
  width: 12px;
  height: 22px;
  border-radius: 3px;
  opacity: 0.95;
  box-shadow: 0 0 14px currentColor;
  animation: confetti-fall var(--fall-time, 2.8s) linear forwards;
}

@keyframes confetti-fall {
  0% {
    transform: translate3d(0, -24px, 0) rotate(0deg);
  }

  100% {
    transform: translate3d(var(--drift, 0px), calc(100vh + 80px), 0) rotate(var(--spin, 720deg));
  }
}

.menu-panel {
  position: relative;
  display: flex;
  width: min(43rem, calc(100% - 96px));
  padding: 34px 40px 40px;
  flex-direction: column;
  align-items: stretch;
  gap: 21px;
  border: 5px solid var(--panel-blue);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.86), rgba(213, 255, 117, 0.78) 31%, rgba(121, 218, 54, 0.82) 73%, rgba(67, 173, 38, 0.84)),
    rgba(152, 230, 56, 0.82);
  box-shadow:
    0 0 0 5px rgba(255, 255, 255, 0.94),
    0 15px 0 #0b3f7f,
    0 27px 38px rgba(0, 24, 73, 0.36),
    inset 0 7px 0 rgba(255, 255, 255, 0.68),
    inset 0 -10px 0 rgba(31, 148, 24, 0.3);
  color: var(--paper);
  text-align: center;
  text-shadow: none;
}

.menu-panel::before {
  content: "";
  position: absolute;
  inset: 12px 16px auto;
  height: 24px;
  border-radius: 999px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.32), transparent);
  pointer-events: none;
}

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

.splash-title {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: flex-end;
  gap: 0.12em;
  margin: 0 0 4px;
  color: #d9ff25;
  font-size: 72px;
  font-weight: 900;
  line-height: 0.86;
  -webkit-text-stroke: 4px #083b8c;
  paint-order: stroke fill;
  text-shadow:
    0 7px 0 #061d5f,
    0 11px 0 rgba(0, 0, 0, 0.2),
    0 -3px 0 rgba(255, 255, 255, 0.72),
    0 0 16px rgba(0, 188, 255, 0.46),
    0 0 34px rgba(255, 255, 255, 0.2);
}

.menu-title {
  font-size: 58px;
}

.main-menu-header {
  display: grid;
  grid-template-columns: 156px minmax(0, 1fr);
  align-items: center;
  gap: 14px;
  margin: -4px 0 2px;
}

#mainMenuPanel {
  width: min(38rem, calc(100% - 96px));
  transform: translateX(-58px);
}

.main-menu-header::after {
  display: none;
}

.main-menu-title {
  margin: 0;
}

.account-header-slot {
  display: grid;
  align-self: center;
  gap: 8px;
}

.menu-button.account-menu-button {
  min-height: 52px;
  padding: 0 12px;
  border-width: 4px;
  font-size: 21px;
  align-self: center;
  box-shadow:
    0 0 0 3px rgba(255, 255, 255, 0.9),
    0 5px 0 var(--shadow-blue),
    0 10px 14px rgba(0, 21, 73, 0.26),
    inset 0 4px 0 rgba(255, 255, 255, 0.48),
    inset 0 -5px 0 rgba(0, 43, 117, 0.16);
}

.menu-button.account-menu-button:not(.locked)::before {
  top: 6px;
  height: 11px;
}

.account-greeting {
  padding: 1px 4px 0;
  border: 0;
  background: transparent;
  color: #34383f;
  font-size: 15px;
  font-weight: 900;
  line-height: 1.02;
  overflow-wrap: anywhere;
  text-shadow:
    0 1px 0 rgba(255, 255, 255, 0.78),
    0 2px 5px rgba(0, 21, 73, 0.22);
}

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

.promo-cloud {
  position: absolute;
  top: 42px;
  right: 4px;
  z-index: 1;
  width: 374px;
  height: 232px;
  color: #073a88;
  font: 900 17px/1.08 "Trebuchet MS", Arial, sans-serif;
  text-align: center;
  filter: drop-shadow(0 11px 13px rgba(0, 21, 73, 0.24));
}

.promo-cloud[hidden] {
  display: none;
}

.promo-cloud-shape {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
}

.promo-cloud-shape path {
  fill: #ffffff;
  stroke: #050505;
  stroke-width: 11;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.promo-cloud-text {
  position: absolute;
  inset: 80px 52px 46px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.24em;
  transform: translateY(-10px) rotate(-4deg);
  transform-origin: center;
}

.promo-cloud a {
  position: relative;
  z-index: 1;
  color: #006dff;
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
}

.promo-cloud a:hover,
.promo-cloud a:focus-visible {
  color: #004fc0;
  outline: none;
  text-shadow: 0 0 10px rgba(61, 194, 255, 0.68);
}

.title-beam {
  color: #d9ff25;
}

.title-me {
  color: #65ddff;
}

.title-up {
  color: #c66cff;
}

.winner-panel h1 {
  color: #65ddff;
  font-size: 58px;
  font-weight: 900;
  line-height: 0.92;
  -webkit-text-stroke: 3px #083b8c;
  paint-order: stroke fill;
  text-shadow:
    0 7px 0 #061d5f,
    0 -3px 0 rgba(255, 255, 255, 0.72),
    0 0 22px rgba(0, 200, 255, 0.75);
}

.winner-bang {
  margin: -4px 0 8px;
  color: #ffe328;
  font-size: 218px;
  font-weight: 900;
  line-height: 0.72;
  -webkit-text-stroke: 7px #b66500;
  paint-order: stroke fill;
  text-shadow:
    0 9px 0 #7f4200,
    0 -4px 0 rgba(255, 255, 255, 0.8),
    0 0 24px rgba(255, 246, 62, 0.82);
}

.menu-button {
  position: relative;
  min-height: 92px;
  border: 5px solid var(--deep-blue);
  border-radius: 999px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.62), rgba(255, 255, 255, 0) 28%),
    linear-gradient(180deg, #7be8ff, #11acf0 62%, #0877c9);
  color: #ffffff;
  font: 900 37px/1 "Trebuchet MS", Arial, sans-serif;
  letter-spacing: 0;
  -webkit-text-stroke: 1.1px #082b71;
  paint-order: stroke fill;
  text-shadow:
    0 3px 0 #082b71,
    0 0 12px rgba(255, 255, 255, 0.42);
  box-shadow:
    0 0 0 4px rgba(255, 255, 255, 0.9),
    0 8px 0 var(--shadow-blue),
    0 15px 20px rgba(0, 21, 73, 0.3),
    inset 0 6px 0 rgba(255, 255, 255, 0.48),
    inset 0 -7px 0 rgba(0, 43, 117, 0.2);
  cursor: pointer;
  overflow: hidden;
  transition:
    transform 120ms ease,
    filter 120ms ease,
    box-shadow 120ms ease;
}

.menu-button:not(.locked)::before {
  content: "";
  position: absolute;
  top: 9px;
  left: 11%;
  width: 78%;
  height: 21px;
  border-radius: 999px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.5), transparent);
  pointer-events: none;
}

.menu-button:hover,
.menu-button:focus-visible {
  transform: translateY(-2px);
  outline: none;
  filter: brightness(1.08);
  box-shadow:
    0 0 0 4px rgba(255, 255, 255, 0.94),
    0 9px 0 var(--shadow-blue),
    0 16px 22px rgba(0, 21, 73, 0.32),
    0 0 20px rgba(88, 207, 255, 0.35),
    inset 0 6px 0 rgba(255, 255, 255, 0.54),
    inset 0 -7px 0 rgba(0, 43, 117, 0.2);
}

.menu-button:active {
  transform: translateY(5px);
  box-shadow:
    0 0 0 4px rgba(255, 255, 255, 0.88),
    0 3px 0 #062866,
    0 8px 13px rgba(0, 21, 73, 0.25),
    inset 0 6px 0 rgba(255, 255, 255, 0.4),
    inset 0 -7px 0 rgba(0, 43, 117, 0.18);
}

.menu-button:disabled {
  cursor: wait;
  opacity: 0.72;
  filter: grayscale(0.08);
}

.menu-button.button-lime {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.7), rgba(255, 255, 255, 0) 30%),
    linear-gradient(180deg, #eaff37, #aeea1d 58%, #56bf16);
}

.menu-button.button-cyan {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.68), rgba(255, 255, 255, 0) 30%),
    linear-gradient(180deg, #8bf2ff, #38d2ff 56%, #1589e6);
}

.menu-button.button-purple {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.66), rgba(255, 255, 255, 0) 30%),
    linear-gradient(180deg, #e07cff, #b756ff 58%, #7830dc);
}

.menu-button.button-yellow {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.72), rgba(255, 255, 255, 0) 30%),
    linear-gradient(180deg, #fff35a, #ffd322 58%, #e89408);
}

.shop-menu-button {
  width: 75%;
  align-self: center;
}

.quiz-menu-panel {
  width: min(45rem, calc(100% - 96px));
}

.quiz-button {
  min-height: 98px;
  font-size: 39px;
}

.controls-info {
  display: grid;
  gap: 6px;
  padding: 11px 16px 12px;
  border: 4px solid var(--deep-blue);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.72), rgba(255, 255, 255, 0.18) 35%),
    linear-gradient(180deg, #dffaff, #9eeaff 62%, #5ec9ff);
  color: #34383f;
  font: 900 17px/1.08 "Trebuchet MS", Arial, sans-serif;
  text-align: center;
  box-shadow:
    0 0 0 4px rgba(255, 255, 255, 0.88),
    0 7px 0 #062866,
    0 13px 18px rgba(0, 21, 73, 0.25),
    inset 0 5px 0 rgba(255, 255, 255, 0.58),
    inset 0 -6px 0 rgba(0, 43, 117, 0.12);
}

.controls-info div {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
}

.controls-info.multiplayer-controls {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 16px;
}

.controls-info.multiplayer-controls div:last-child {
  grid-column: 1 / -1;
}

.controls-info .controls-heading {
  grid-column: 1 / -1;
  justify-content: center;
  color: #34383f;
  text-align: center;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.58);
}

.controls-info .controls-tip {
  justify-content: center;
  color: #34383f;
  text-align: center;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.58);
}

.controls-info span {
  min-width: 0;
  color: #34383f;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.58);
}

.quiz-picker-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 16px;
  align-items: stretch;
}

.quiz-dropdown {
  position: relative;
}

.quiz-dropdown-button {
  min-height: 78px;
  width: 100%;
  padding: 0 18px;
  font-size: 24px;
}

.quiz-dropdown-button::after {
  content: "";
  display: inline-block;
  margin-left: 12px;
  border-top: 10px solid #ffffff;
  border-right: 8px solid transparent;
  border-left: 8px solid transparent;
  filter: drop-shadow(0 2px 0 #082b71);
  transform: translateY(-2px);
}

.quiz-dropdown-menu {
  position: absolute;
  top: calc(100% + 14px);
  left: 0;
  right: 0;
  z-index: 12;
  display: grid;
  gap: 4px;
  padding: 10px;
  border: 5px solid var(--deep-blue);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.74), rgba(131, 230, 255, 0.9)),
    #49cff4;
  box-shadow:
    0 0 0 4px rgba(255, 255, 255, 0.9),
    0 9px 0 var(--shadow-blue),
    0 16px 20px rgba(0, 21, 73, 0.34);
}

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

.quiz-dropdown-option {
  display: flex;
  min-height: 58px;
  align-items: center;
  justify-content: flex-start;
  gap: 12px;
  padding: 4px 12px;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: #083b8c;
  font: 900 20px/1 "Trebuchet MS", Arial, sans-serif;
  letter-spacing: 0;
  cursor: pointer;
  text-align: left;
  box-shadow: none;
  transition:
    transform 100ms ease,
    filter 100ms ease,
    background 100ms ease,
    color 100ms ease;
}

.quiz-dropdown-option:hover,
.quiz-dropdown-option:focus-within {
  outline: none;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.72), rgba(255, 255, 255, 0.18)),
    rgba(216, 251, 255, 0.74);
  color: #062866;
  filter: brightness(1.08);
}

.quiz-checkbox {
  width: 26px;
  height: 26px;
  flex: 0 0 auto;
  accent-color: #56bf16;
  cursor: pointer;
}

.quiz-option-text {
  display: inline-flex;
  min-width: 0;
  align-items: center;
  gap: 0.18em;
}

.quiz-current-window {
  display: flex;
  min-height: 78px;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.18em;
  row-gap: 0;
  padding: 5px 18px;
  border: 5px solid var(--deep-blue);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.78), rgba(255, 255, 255, 0) 30%),
    linear-gradient(180deg, #f8ffff, #c9f6ff 58%, #7fd6ff);
  color: #083b8c;
  font: 900 25px/1 "Trebuchet MS", Arial, sans-serif;
  letter-spacing: 0;
  text-align: center;
  overflow-wrap: anywhere;
  box-shadow:
    0 0 0 4px rgba(255, 255, 255, 0.9),
    0 7px 0 var(--shadow-blue),
    0 13px 18px rgba(0, 21, 73, 0.28),
    inset 0 6px 0 rgba(255, 255, 255, 0.56),
    inset 0 -7px 0 rgba(0, 43, 117, 0.18);
}

.quiz-symbol {
  display: inline-block;
  font-size: 2.55em;
  line-height: 0.56;
  transform: translateY(0.03em);
}

.online-label {
  margin-bottom: -8px;
  color: #ffffff;
  font-size: 23px;
  font-weight: 900;
  line-height: 1;
  -webkit-text-stroke: 0.9px #082b71;
  paint-order: stroke fill;
  text-shadow:
    0 3px 0 #082b71,
    0 0 12px rgba(255, 255, 255, 0.42);
}

.online-input {
  width: 100%;
  height: 76px;
  border: 5px solid var(--deep-blue);
  border-radius: 999px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.72), rgba(255, 255, 255, 0) 34%),
    linear-gradient(180deg, #ffffff, #bff5ff 58%, #62d1ff);
  color: #073a88;
  font: 900 36px/1 "Trebuchet MS", Arial, sans-serif;
  letter-spacing: 0;
  text-align: center;
  text-transform: uppercase;
  box-shadow:
    0 0 0 4px rgba(255, 255, 255, 0.88),
    0 7px 0 #062866,
    inset 0 6px 0 rgba(255, 255, 255, 0.66),
    inset 0 -7px 0 rgba(0, 43, 117, 0.14);
  outline: none;
}

.online-input::placeholder {
  color: rgba(7, 58, 136, 0.42);
}

.online-input:focus {
  filter: brightness(1.05);
  box-shadow:
    0 0 0 4px rgba(255, 255, 255, 0.9),
    0 7px 0 #062866,
    0 0 24px rgba(69, 201, 255, 0.72),
    inset 0 6px 0 rgba(255, 255, 255, 0.66),
    inset 0 -7px 0 rgba(0, 43, 117, 0.14);
}

.online-room-row {
  display: grid;
  grid-template-columns: 1fr 142px;
  gap: 14px;
  align-items: center;
}

.online-room-code {
  display: grid;
  min-height: 64px;
  place-items: center;
  border: 5px solid var(--deep-blue);
  border-radius: 999px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.72), rgba(255, 255, 255, 0) 34%),
    linear-gradient(180deg, #ffffff, #bff5ff 58%, #62d1ff);
  color: #ffe328;
  font-size: 46px;
  font-weight: 900;
  line-height: 0.95;
  -webkit-text-stroke: 3px #083b8c;
  paint-order: stroke fill;
  box-shadow:
    0 0 0 4px rgba(255, 255, 255, 0.88),
    0 7px 0 #062866,
    inset 0 6px 0 rgba(255, 255, 255, 0.66),
    inset 0 -7px 0 rgba(0, 43, 117, 0.14);
  text-shadow:
    0 6px 0 #061d5f,
    0 -3px 0 rgba(255, 255, 255, 0.72),
    0 0 18px rgba(255, 246, 62, 0.56);
}

.online-copy-code {
  min-height: 62px;
  font-size: 23px;
}

.online-status {
  min-height: 24px;
  color: #ffffff;
  font-size: 18px;
  font-weight: 900;
  line-height: 1.15;
  -webkit-text-stroke: 0.7px #082b71;
  paint-order: stroke fill;
  text-shadow:
    0 2px 0 #082b71,
    0 0 10px rgba(255, 255, 255, 0.38);
}

.online-status.error {
  color: #ffd1d1;
}

.online-status.good {
  color: #d9ff25;
}

.online-lobby-panel {
  width: min(40rem, calc(100% - 96px));
}

.online-name-row {
  display: grid;
  grid-template-columns: 1fr 142px;
  gap: 14px;
  align-items: center;
}

.online-name-input {
  height: 62px;
  font-size: 28px;
  text-transform: none;
}

.online-save-name {
  min-height: 62px;
  font-size: 24px;
}

.online-player-list {
  display: grid;
  max-height: 142px;
  margin: -2px 0 2px;
  padding: 0;
  gap: 8px;
  overflow: auto;
  list-style: none;
}

.online-player-list li {
  display: flex;
  min-height: 42px;
  align-items: center;
  gap: 10px;
  padding: 7px 14px;
  border: 3px solid rgba(7, 58, 136, 0.74);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.58);
  color: #073a88;
  font-size: 20px;
  font-weight: 900;
  line-height: 1;
  text-align: left;
}

.online-player-swatch {
  width: 20px;
  height: 20px;
  flex: 0 0 auto;
  border: 3px solid #ffffff;
  border-radius: 999px;
  box-shadow: 0 2px 0 rgba(6, 29, 95, 0.35);
}

.online-player-host {
  margin-left: auto;
  color: #7d35d6;
  font-size: 15px;
}

.account-panel {
  width: min(43rem, calc(100% - 96px));
}

.account-choice-panel {
  display: grid;
  gap: 21px;
}

.account-choice-panel[hidden],
.account-form[hidden] {
  display: none;
}

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

.account-input {
  height: 66px;
  font-size: 27px;
  text-transform: none;
}

.account-action-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.account-action-button {
  min-height: 72px;
  padding: 0 18px;
  font-size: 24px;
}

.account-signed-in {
  display: grid;
  gap: 20px;
}

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

.account-email-display {
  display: grid;
  min-height: 72px;
  place-items: center;
  padding: 8px 18px;
  border: 5px solid var(--deep-blue);
  border-radius: 999px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.72), rgba(255, 255, 255, 0) 34%),
    linear-gradient(180deg, #ffffff, #bff5ff 58%, #62d1ff);
  color: #073a88;
  font-size: 27px;
  font-weight: 900;
  line-height: 1;
  overflow-wrap: anywhere;
  box-shadow:
    0 0 0 4px rgba(255, 255, 255, 0.88),
    0 7px 0 #062866,
    inset 0 6px 0 rgba(255, 255, 255, 0.66),
    inset 0 -7px 0 rgba(0, 43, 117, 0.14);
}

.account-status {
  min-height: 34px;
}

.countdown-overlay {
  position: fixed;
  inset: 0;
  z-index: 10;
  display: grid;
  place-items: center;
  pointer-events: none;
}

.countdown-overlay[hidden] {
  display: none;
}

.countdown-text {
  min-width: 260px;
  color: #ffe328;
  font-size: 180px;
  font-weight: 900;
  line-height: 0.85;
  text-align: center;
  text-transform: uppercase;
  -webkit-text-stroke: 8px #083b8c;
  paint-order: stroke fill;
  text-shadow:
    0 12px 0 #061d5f,
    0 -5px 0 rgba(255, 255, 255, 0.78),
    0 0 28px rgba(255, 246, 62, 0.86),
    0 0 54px rgba(0, 168, 255, 0.74);
}

.menu-button.locked {
  color: rgba(255, 255, 255, 0.82);
  cursor: not-allowed;
  opacity: 0.82;
  filter: grayscale(0.18);
}

.menu-button.locked:hover,
.menu-button.locked:focus-visible {
  transform: none;
  filter: grayscale(0.18);
}

.menu-button.locked::before,
.menu-button.locked::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 8%;
  width: 84%;
  height: 7px;
  border-radius: 999px;
  background: rgba(255, 51, 51, 0.72);
  box-shadow:
    0 0 0 2px rgba(141, 6, 6, 0.66),
    0 2px 0 rgba(0, 0, 0, 0.45);
}

.menu-button.locked::before {
  transform: rotate(9deg);
}

.menu-button.locked::after {
  transform: rotate(-9deg);
}

body.menu-open .hud {
  opacity: 0.28;
}
