:root {
  --bg: #17021f;
  --surface: #260b31;
  --surface-2: #351244;
  --line: #633675;
  --purple: #7b12c7;
  --purple-bright: #9820e6;
  --yellow: #ffc52f;
  --yellow-dark: #dc8f00;
  --cream: #fff8e7;
  --white: #fff;
  --ink: #18071f;
  --muted: #cbb7d2;
  --green: #1fc66b;
  --red: #f1414d;
  --shadow: 0 18px 44px rgba(7, 0, 10, .34);
}

* {
  box-sizing: border-box;
}

html {
  min-width: 320px;
  min-height: 100%;
  background: var(--bg);
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  min-height: 100vh;
  margin: 0;
  background:
    radial-gradient(circle at 85% 15%, rgba(255, 197, 47, .1), transparent 25%),
    linear-gradient(180deg, #1b0324, var(--bg));
  color: var(--white);
  font-family: Arial, Helvetica, sans-serif;
  letter-spacing: 0;
}

button,
input {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button {
  cursor: pointer;
}

button:focus-visible,
a:focus-visible,
input:focus-visible {
  outline: 3px solid rgba(255, 197, 47, .75);
  outline-offset: 3px;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
}

[hidden] {
  display: none !important;
}

.web-game {
  min-height: 100vh;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.game-header {
  position: sticky;
  top: 0;
  z-index: 40;
  min-height: 72px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 18px;
  padding: max(10px, env(safe-area-inset-top)) max(22px, calc((100vw - 1180px) / 2));
  border-bottom: 1px solid rgba(255, 255, 255, .1);
  background: rgba(23, 2, 31, .93);
  backdrop-filter: blur(16px);
}

.site-back {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  width: max-content;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.site-back:hover {
  color: var(--yellow);
}

.back-arrow {
  width: 12px;
  height: 12px;
  display: inline-block;
  border-left: 3px solid currentColor;
  border-bottom: 3px solid currentColor;
  transform: rotate(45deg);
}

.game-brand img {
  width: 112px;
  max-height: 54px;
  object-fit: contain;
  filter: drop-shadow(0 5px 9px rgba(0, 0, 0, .35));
}

.web-badge {
  justify-self: end;
  padding: 7px 10px;
  border: 1px solid rgba(255, 197, 47, .35);
  border-radius: 6px;
  color: var(--yellow);
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.game-main {
  width: min(100% - 36px, 1120px);
  margin: 0 auto;
  padding: 30px 0 max(42px, env(safe-area-inset-bottom));
}

.game-screen {
  animation: screen-in .24s ease;
}

@keyframes screen-in {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

.home-layout {
  min-height: calc(100vh - 145px);
  display: grid;
  grid-template-columns: .92fr 1.08fr;
  align-items: center;
  gap: 48px;
}

.home-visual {
  position: relative;
  min-height: 590px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 8px;
  background: #30122f;
  box-shadow: var(--shadow);
}

.home-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(23, 2, 31, .48));
  pointer-events: none;
}

.home-visual img {
  width: 100%;
  height: 100%;
  min-height: 590px;
  object-fit: cover;
  object-position: center;
}

.home-round-badge {
  position: absolute;
  z-index: 2;
  right: 18px;
  bottom: 18px;
  padding: 10px 13px;
  border-radius: 6px;
  background: var(--yellow);
  color: var(--ink);
  font-size: 12px;
  font-weight: 950;
  text-transform: uppercase;
}

.home-content {
  max-width: 530px;
}

.eyebrow {
  display: block;
  margin-bottom: 9px;
  color: var(--yellow);
  font-size: 12px;
  font-weight: 950;
  text-transform: uppercase;
}

h1,
h2,
p {
  margin-top: 0;
}

.home-content h1 {
  margin-bottom: 18px;
  font-size: clamp(46px, 6vw, 74px);
  line-height: .92;
  text-transform: uppercase;
}

.home-content > p {
  max-width: 490px;
  margin-bottom: 24px;
  color: var(--muted);
  font-size: 18px;
  font-weight: 650;
  line-height: 1.45;
}

.home-stats {
  max-width: 480px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-bottom: 24px;
}

.home-stats article {
  min-height: 82px;
  display: grid;
  place-items: center;
  align-content: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(53, 18, 68, .74);
}

.home-stats strong {
  color: var(--yellow);
  font-size: 25px;
}

.home-stats span {
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
}

.home-actions,
.between-actions,
.final-actions,
.manual-actions {
  display: grid;
  gap: 10px;
}

.game-button {
  min-height: 54px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 11px;
  padding: 12px 18px;
  border: 1px solid transparent;
  border-radius: 7px;
  font-weight: 950;
  text-align: center;
  text-transform: uppercase;
  transition: transform .18s ease, border-color .18s ease, background .18s ease;
}

.game-button:hover {
  transform: translateY(-2px);
}

.game-button.primary {
  background: var(--yellow);
  color: var(--ink);
  box-shadow: 0 6px 0 var(--yellow-dark);
}

.game-button.secondary,
.game-button.resume-button {
  border-color: var(--line);
  background: var(--surface-2);
  color: var(--white);
}

.game-button.resume-button {
  border-color: var(--yellow);
  color: var(--yellow);
}

.game-button.ghost {
  border-color: rgba(255, 255, 255, .18);
  background: transparent;
  color: var(--muted);
}

.game-button:disabled {
  cursor: not-allowed;
  opacity: .45;
  transform: none;
}

.button-icon {
  position: relative;
  width: 20px;
  height: 20px;
  display: inline-block;
}

.play-mark::before,
.resume-mark::before {
  content: "";
  position: absolute;
  left: 6px;
  top: 3px;
  border-top: 7px solid transparent;
  border-bottom: 7px solid transparent;
  border-left: 11px solid currentColor;
}

.resume-mark::after {
  content: "";
  position: absolute;
  right: 0;
  top: 3px;
  width: 2px;
  height: 14px;
  background: currentColor;
  box-shadow: 5px 0 0 currentColor;
}

.score-mark::before {
  content: "";
  position: absolute;
  left: 2px;
  bottom: 2px;
  width: 4px;
  height: 8px;
  background: currentColor;
  box-shadow: 7px -4px 0 currentColor, 14px -9px 0 currentColor;
}

.screen-heading {
  min-height: 72px;
  display: grid;
  grid-template-columns: 48px 1fr 48px;
  align-items: center;
  gap: 16px;
  margin-bottom: 24px;
}

.screen-heading > div {
  text-align: center;
}

.screen-heading h2,
.play-topbar h2,
.dialog-heading h2 {
  margin: 0;
  font-size: clamp(28px, 4vw, 42px);
  line-height: 1;
}

.icon-button {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: var(--surface-2);
  color: var(--white);
}

.setup-grid {
  max-width: 820px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin: 0 auto;
}

.setup-card {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
}

.team-setup {
  display: grid;
  gap: 12px;
}

.team-setup label,
.timer-setup legend {
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.team-setup input,
.manual-team input {
  width: 100%;
  min-height: 54px;
  padding: 10px 12px;
  border: 2px solid rgba(255, 255, 255, .28);
  border-radius: 6px;
  background: rgba(255, 255, 255, .12);
  color: inherit;
  font-size: 21px;
  font-weight: 950;
  text-align: center;
  text-transform: uppercase;
}

.team-a {
  border-color: #9a48de;
  background: linear-gradient(135deg, #6e13ad, #3f0c56);
}

.team-b {
  border-color: #f3bd30;
  background: linear-gradient(135deg, #f5c234, #bd7200);
  color: var(--ink);
}

.timer-setup {
  grid-column: 1 / -1;
  min-width: 0;
}

.switch-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin: 12px 0 20px;
}

.switch-row strong,
.switch-row small {
  display: block;
}

.switch-row small {
  margin-top: 5px;
  color: var(--muted);
}

.switch {
  position: relative;
  width: 54px;
  height: 30px;
  flex: 0 0 auto;
}

.switch input {
  position: absolute;
  opacity: 0;
}

.switch i {
  position: absolute;
  inset: 0;
  border-radius: 20px;
  background: #5c4b62;
  transition: background .2s ease;
}

.switch i::after {
  content: "";
  position: absolute;
  left: 4px;
  top: 4px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #fff;
  transition: transform .2s ease;
}

.switch input:checked + i {
  background: var(--green);
}

.switch input:checked + i::after {
  transform: translateX(24px);
}

.duration-control {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}

.duration-control button,
.history-filters button {
  min-height: 44px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #210a2a;
  color: var(--muted);
  font-weight: 900;
}

.duration-control button.is-selected,
.history-filters button.is-selected {
  border-color: var(--yellow);
  background: var(--yellow);
  color: var(--ink);
}

.duration-control.is-disabled {
  opacity: .35;
  pointer-events: none;
}

.setup-summary {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.setup-summary span {
  min-height: 62px;
  display: grid;
  place-items: center;
  align-content: center;
  border: 1px solid var(--line);
  border-radius: 7px;
  color: var(--muted);
  font-size: 12px;
  text-align: center;
}

.setup-summary b {
  color: var(--yellow);
  font-size: 19px;
}

.setup-start {
  grid-column: 1 / -1;
}

.rules-layout {
  max-width: 760px;
  display: grid;
  gap: 16px;
  margin: 0 auto;
}

.rules-video {
  display: grid;
  gap: 12px;
}

.rules-video-heading {
  display: flex;
  align-items: center;
  gap: 13px;
}

.rules-video-heading h3 {
  margin: 0;
  font-size: 22px;
}

.rules-video-heading .eyebrow {
  margin-bottom: 3px;
}

.rules-video-icon {
  position: relative;
  width: 46px;
  height: 46px;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--yellow);
}

.rules-video-icon::before {
  content: "";
  width: 0;
  height: 0;
  margin-left: 4px;
  border-top: 9px solid transparent;
  border-bottom: 9px solid transparent;
  border-left: 14px solid var(--ink);
}

.rules-video video {
  width: 100%;
  aspect-ratio: 16 / 9;
  display: block;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #09010c;
  box-shadow: var(--shadow);
  object-fit: cover;
}

.objective-card,
.turn-summary,
.manual-result {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
}

.objective-card strong {
  font-size: 20px;
}

.objective-card p,
.manual-result p {
  margin: 6px 0 0;
  color: var(--muted);
  line-height: 1.45;
}

.objective-icon {
  position: relative;
  width: 54px;
  height: 54px;
  flex: 0 0 auto;
  border: 3px solid var(--yellow);
  border-radius: 50%;
}

.objective-icon::before {
  content: "";
  position: absolute;
  left: 16px;
  top: 13px;
  width: 17px;
  height: 17px;
  border: 3px solid var(--yellow);
  border-radius: 50%;
}

.rule-list {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  list-style: none;
}

.rule-list li {
  min-height: 54px;
  display: grid;
  grid-template-columns: 40px 1fr;
  align-items: center;
  gap: 14px;
}

.rule-list li > span {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 6px;
  background: var(--yellow);
  color: var(--ink);
  font-weight: 950;
}

.rule-list p {
  margin: 0;
  line-height: 1.4;
}

.play-screen {
  width: min(100%, 760px);
  margin: 0 auto;
}

.play-topbar {
  display: grid;
  grid-template-columns: 48px 1fr 48px;
  align-items: center;
  gap: 14px;
  margin-bottom: 18px;
}

.round-heading {
  text-align: center;
}

.round-heading small {
  display: block;
  margin-bottom: 4px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 850;
  text-transform: uppercase;
}

.settings-mark,
.reset-mark,
.home-mark {
  position: relative;
  width: 22px;
  height: 22px;
  display: block;
}

.settings-mark::before {
  content: "";
  position: absolute;
  inset: 3px;
  border: 3px solid currentColor;
  border-radius: 50%;
  box-shadow: 0 -7px 0 -5px currentColor, 0 7px 0 -5px currentColor, 7px 0 0 -5px currentColor, -7px 0 0 -5px currentColor;
}

.reset-mark::before {
  content: "";
  position: absolute;
  inset: 3px;
  border: 3px solid currentColor;
  border-left-color: transparent;
  border-radius: 50%;
}

.reset-mark::after {
  content: "";
  position: absolute;
  left: 0;
  top: 1px;
  border-top: 5px solid transparent;
  border-bottom: 5px solid transparent;
  border-right: 8px solid currentColor;
}

.home-mark::before {
  content: "";
  position: absolute;
  left: 4px;
  bottom: 2px;
  width: 14px;
  height: 13px;
  border: 3px solid currentColor;
  border-top: 0;
}

.home-mark::after {
  content: "";
  position: absolute;
  left: 4px;
  top: 3px;
  width: 14px;
  height: 14px;
  border-left: 3px solid currentColor;
  border-top: 3px solid currentColor;
  transform: rotate(45deg);
}

.play-meta {
  display: grid;
  grid-template-columns: 1.4fr .6fr;
  gap: 12px;
}

.play-meta article {
  min-height: 92px;
  display: grid;
  align-content: center;
  gap: 5px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.play-meta span,
.timer-line span {
  color: var(--muted);
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.play-meta strong {
  overflow: hidden;
  font-size: 27px;
  text-overflow: ellipsis;
  text-transform: uppercase;
  white-space: nowrap;
}

.turn-card {
  background: linear-gradient(135deg, #8b1bd1, #5d0c94);
}

.deck-card {
  background: var(--surface);
}

.timer-card {
  margin-top: 12px;
  padding: 17px 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
}

.timer-card.is-danger {
  border-color: var(--red);
}

.timer-line {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.timer-line strong {
  color: var(--yellow);
  font-size: 32px;
  line-height: 1;
}

.timer-card.is-danger .timer-line strong {
  color: #ff6570;
}

.timer-progress {
  height: 7px;
  overflow: hidden;
  margin-top: 13px;
  border-radius: 5px;
  background: #4d2b58;
}

.timer-progress i {
  width: 100%;
  height: 100%;
  display: block;
  border-radius: inherit;
  background: var(--yellow);
  transition: width .3s linear;
}

.timer-card.is-danger .timer-progress i {
  background: var(--red);
}

#timer-off-copy {
  margin: 10px 0 0;
  color: var(--muted);
}

.word-instruction {
  margin: 24px 0 10px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
  text-align: center;
  text-transform: uppercase;
}

.word-card {
  position: relative;
  min-height: 215px;
  display: grid;
  place-items: center;
  padding: 30px;
  border: 4px solid #744387;
  border-radius: 8px;
  background: var(--cream);
  color: var(--ink);
  box-shadow: var(--shadow);
  transition: border-color .2s ease, background .2s ease;
}

.word-card.is-extra {
  border-color: var(--yellow);
  background: #fff0b7;
}

.word-card > strong {
  max-width: 100%;
  font-size: clamp(44px, 10vw, 80px);
  line-height: .95;
  overflow-wrap: anywhere;
  text-align: center;
  text-transform: uppercase;
}

.extra-corner {
  position: absolute;
  top: 12px;
  right: 12px;
  padding: 6px 9px;
  border-radius: 5px;
  background: var(--yellow);
  font-size: 11px;
  font-weight: 950;
  text-transform: uppercase;
}

.extra-toggle {
  width: 100%;
  min-height: 74px;
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 12px;
  padding: 13px 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  color: var(--white);
  text-align: left;
}

.extra-toggle.is-active {
  border-color: var(--yellow);
  background: #4b2c23;
}

.extra-toggle.is-used {
  cursor: not-allowed;
  opacity: .45;
}

.extra-toggle strong,
.extra-toggle small {
  display: block;
}

.extra-toggle small {
  margin-top: 4px;
  color: var(--muted);
}

.css-star {
  width: 32px;
  height: 32px;
  flex: 0 0 auto;
  background: var(--yellow);
  clip-path: polygon(50% 0, 61% 35%, 98% 35%, 68% 57%, 79% 93%, 50% 71%, 21% 93%, 32% 57%, 2% 35%, 39% 35%);
}

.answer-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 12px;
}

.answer-button {
  min-height: 132px;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 4px;
  border: 0;
  border-radius: 8px;
  color: #fff;
  box-shadow: 0 7px 0 rgba(0, 0, 0, .25);
}

.answer-button.correct {
  background: var(--green);
}

.answer-button.skip {
  background: var(--red);
}

.answer-button strong {
  font-size: 24px;
}

.answer-button small {
  font-weight: 800;
}

.check-mark,
.forward-mark {
  position: relative;
  width: 35px;
  height: 35px;
  display: block;
}

.check-mark::before {
  content: "";
  position: absolute;
  left: 6px;
  top: 3px;
  width: 16px;
  height: 27px;
  border-right: 7px solid currentColor;
  border-bottom: 7px solid currentColor;
  transform: rotate(42deg);
}

.forward-mark::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 15px;
  width: 29px;
  height: 5px;
  background: currentColor;
}

.forward-mark::after {
  content: "";
  position: absolute;
  right: 2px;
  top: 8px;
  width: 15px;
  height: 15px;
  border-top: 5px solid currentColor;
  border-right: 5px solid currentColor;
  transform: rotate(45deg);
}

.live-score {
  min-height: 70px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 15px;
  margin-top: 12px;
  padding: 10px 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
}

.live-score article {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.live-score span {
  max-width: 140px;
  overflow: hidden;
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
  text-overflow: ellipsis;
  text-transform: uppercase;
  white-space: nowrap;
}

.live-score strong {
  font-size: 30px;
}

.live-score i {
  color: var(--yellow);
  font-size: 11px;
  font-style: normal;
  font-weight: 950;
}

.end-turn-button {
  width: 100%;
  min-height: 46px;
  margin-top: 12px;
  border: 1px solid rgba(255, 255, 255, .2);
  border-radius: 7px;
  background: transparent;
  color: var(--muted);
  font-weight: 850;
}

.score-versus {
  max-width: 820px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 14px;
  margin: 0 auto;
}

.score-team,
.manual-team {
  min-width: 0;
  display: grid;
  justify-items: center;
  gap: 12px;
  padding: 24px;
  border: 2px solid transparent;
  border-radius: 8px;
}

.purple-team {
  border-color: #a950e4;
  background: linear-gradient(145deg, #8d1cda, #541079);
  color: #fff;
}

.yellow-team {
  border-color: #ffd15a;
  background: linear-gradient(145deg, #ffd85f, #f2ae18);
  color: var(--ink);
}

.score-team > span,
.manual-team input {
  max-width: 100%;
  overflow: hidden;
  font-size: 20px;
  font-weight: 950;
  text-overflow: ellipsis;
  text-transform: uppercase;
  white-space: nowrap;
}

.score-team > strong,
.manual-team > strong {
  font-size: clamp(68px, 11vw, 112px);
  line-height: .9;
}

.score-team > div,
.manual-team > div {
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.score-team button,
.manual-team button {
  min-height: 48px;
  border: 0;
  border-radius: 6px;
  background: rgba(255, 255, 255, .92);
  color: var(--ink);
  font-size: 20px;
  font-weight: 950;
}

.score-team button:last-child,
.manual-team button:last-child {
  background: #e82f43;
  color: #fff;
}

.versus-badge {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--surface);
  color: var(--yellow);
  font-weight: 950;
}

.turn-summary {
  max-width: 820px;
  display: grid;
  justify-items: center;
  gap: 7px;
  margin: 18px auto 0;
  text-align: center;
}

.turn-summary span,
.turn-summary small,
.manual-result span {
  color: var(--muted);
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.turn-summary strong {
  font-size: 24px;
}

.between-actions {
  max-width: 820px;
  margin: 16px auto 0;
}

.history-filters {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-bottom: 14px;
}

.history-list {
  display: grid;
  gap: 8px;
}

.history-item {
  min-height: 70px;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 16px;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: var(--surface);
}

.history-item strong,
.history-item span,
.history-item small {
  display: block;
}

.history-item span,
.history-item small {
  margin-top: 4px;
  color: var(--muted);
  font-size: 11px;
}

.history-points {
  min-width: 54px;
  padding: 9px;
  border-radius: 6px;
  background: #3d2346;
  color: var(--yellow);
  font-size: 18px;
  font-weight: 950;
  text-align: center;
}

.history-empty {
  padding: 50px 20px;
  border: 1px dashed var(--line);
  border-radius: 8px;
  color: var(--muted);
  text-align: center;
}

.final-panel {
  width: min(100%, 700px);
  display: grid;
  justify-items: center;
  margin: 20px auto 0;
  padding: 34px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: var(--shadow);
  text-align: center;
}

.winner-mark {
  position: relative;
  width: 78px;
  height: 70px;
  display: block;
  margin-bottom: 16px;
}

.winner-mark::before {
  content: "";
  position: absolute;
  left: 20px;
  top: 0;
  width: 38px;
  height: 38px;
  border: 6px solid var(--yellow);
  border-radius: 4px 4px 18px 18px;
}

.winner-mark::after {
  content: "";
  position: absolute;
  left: 27px;
  bottom: 0;
  width: 24px;
  height: 27px;
  border-bottom: 7px solid var(--yellow);
  border-left: 7px solid transparent;
  border-right: 7px solid transparent;
}

.final-panel h2 {
  margin: 0;
  font-size: clamp(32px, 5vw, 48px);
}

.winner-name {
  max-width: 100%;
  margin: 20px 0 8px;
  overflow: hidden;
  color: var(--yellow);
  font-size: clamp(42px, 9vw, 76px);
  line-height: 1;
  text-overflow: ellipsis;
  text-transform: uppercase;
}

.final-panel > p {
  color: var(--muted);
}

.final-score {
  width: min(100%, 440px);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 12px;
  margin: 20px 0;
}

.final-score article {
  display: grid;
  gap: 7px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: #351343;
}

.final-score span {
  overflow: hidden;
  color: var(--muted);
  font-size: 11px;
  font-weight: 900;
  text-overflow: ellipsis;
  text-transform: uppercase;
  white-space: nowrap;
}

.final-score strong {
  font-size: 42px;
}

.final-score i {
  color: var(--yellow);
  font-style: normal;
}

.final-actions {
  width: min(100%, 440px);
}

.manual-round {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 7px;
  margin-bottom: 18px;
}

.manual-round span,
.manual-round small {
  color: var(--muted);
  font-weight: 850;
  text-transform: uppercase;
}

.manual-round strong {
  color: var(--yellow);
  font-size: 38px;
}

.manual-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.manual-team input {
  border-color: rgba(255, 255, 255, .4);
  background: rgba(255, 255, 255, .13);
}

.yellow-team input {
  border-color: rgba(30, 8, 34, .25);
  background: rgba(255, 255, 255, .5);
  color: var(--ink);
}

.manual-result {
  display: grid;
  justify-items: center;
  gap: 6px;
  margin-top: 16px;
  text-align: center;
}

.manual-result strong {
  color: var(--yellow);
  font-size: 29px;
  text-transform: uppercase;
}

.manual-actions {
  margin-top: 16px;
}

.settings-dialog {
  width: min(100% - 28px, 560px);
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  color: var(--white);
  box-shadow: 0 28px 80px rgba(0, 0, 0, .58);
}

.settings-dialog::backdrop {
  background: rgba(8, 0, 12, .72);
  backdrop-filter: blur(5px);
}

.settings-dialog form {
  padding: 24px;
}

.dialog-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.close-button {
  color: var(--muted);
  font-size: 24px;
}

.dialog-duration {
  margin-bottom: 18px;
}

.settings-dialog .game-button {
  width: 100%;
}

.game-toast {
  position: fixed;
  z-index: 90;
  left: 50%;
  bottom: max(22px, env(safe-area-inset-bottom));
  width: min(100% - 32px, 500px);
  padding: 14px 18px;
  border: 1px solid var(--yellow);
  border-radius: 7px;
  background: #2a0b35;
  color: #fff;
  box-shadow: var(--shadow);
  font-weight: 800;
  text-align: center;
  transform: translateX(-50%);
}

/* Home inspired by the mobile game identity. */
.home-mode .game-header {
  display: none;
}

.home-mode .game-main {
  width: 100%;
  max-width: none;
  padding: 0;
}

.home-screen {
  position: relative;
  min-height: 100svh;
  overflow: hidden;
  isolation: isolate;
  background: #13011c;
}

.home-scene,
.home-shade {
  position: absolute;
  inset: 0;
  z-index: -2;
  pointer-events: none;
}

.home-scene {
  background-color: #210331;
  background-image: url("../assets/game-host-bg.png");
  background-repeat: no-repeat;
  background-position: calc(50% + 320px) top;
  background-size: auto 1180px;
}

.home-shade {
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(18, 0, 27, .94) 0%, rgba(18, 0, 27, .76) 38%, rgba(18, 0, 27, .12) 72%),
    linear-gradient(180deg, rgba(18, 0, 27, .08) 0%, rgba(18, 0, 27, .2) 47%, #13011c 82%);
}

.home-app-shell {
  width: min(100% - 40px, 1100px);
  min-height: 100svh;
  margin: 0 auto;
  padding: max(18px, env(safe-area-inset-top)) 0 max(38px, env(safe-area-inset-bottom));
}

.home-topbar {
  min-height: 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.home-site-link {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: rgba(255, 255, 255, .84);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.home-site-link:hover {
  color: var(--yellow);
}

.home-settings {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: var(--yellow);
}

.home-settings .settings-mark {
  width: 28px;
  height: 28px;
}

.home-branding {
  width: min(100%, 520px);
  min-height: 390px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  padding-top: 32px;
}

.home-logo {
  width: min(100%, 455px);
  height: 320px;
  object-fit: cover;
  filter: drop-shadow(0 12px 18px rgba(0, 0, 0, .65));
}

.home-tagline {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0;
  color: #fff;
  font-size: 18px;
  font-style: italic;
  font-weight: 900;
  text-align: center;
}

.home-tagline::before,
.home-tagline::after {
  content: "";
  flex: 1;
  height: 3px;
  border-radius: 2px;
  background: var(--yellow);
  transform: rotate(-8deg);
}

.home-tagline::after {
  transform: rotate(8deg);
}

.home-menu-panel {
  width: min(100%, 500px);
}

.home-menu-title,
.home-faq h2 {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 0 0 14px;
  color: var(--yellow);
  font-size: 17px;
  font-weight: 950;
  text-align: center;
  text-transform: uppercase;
}

.home-menu-title::before,
.home-menu-title::after,
.home-faq h2::before,
.home-faq h2::after {
  content: "";
  flex: 1;
  height: 2px;
  background: rgba(255, 197, 47, .48);
}

.home-menu-button {
  width: 100%;
  min-height: 92px;
  display: grid;
  grid-template-columns: 64px 1fr;
  align-items: center;
  gap: 15px;
  margin-bottom: 12px;
  padding: 14px 18px;
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 8px;
  color: #fff;
  text-align: left;
  box-shadow: 0 10px 24px rgba(5, 0, 10, .34);
  transition: transform .18s ease, filter .18s ease;
}

.home-menu-button:hover {
  transform: translateY(-2px);
  filter: brightness(1.06);
}

.home-menu-button > span:last-child {
  min-width: 0;
  display: grid;
  gap: 3px;
}

.home-menu-button strong {
  font-size: 22px;
  line-height: 1.05;
  text-transform: uppercase;
}

.home-menu-button small {
  color: rgba(255, 255, 255, .82);
  font-size: 13px;
  line-height: 1.3;
}

.home-menu-primary {
  border-color: #ffe38b;
  background: var(--yellow);
  color: var(--ink);
  box-shadow: 0 6px 0 var(--yellow-dark), 0 14px 28px rgba(5, 0, 10, .38);
}

.home-menu-primary small {
  color: rgba(24, 7, 31, .76);
}

.home-menu-secondary,
.home-menu-button.resume-button {
  background: rgba(77, 24, 107, .93);
}

.home-menu-button.resume-button {
  border-color: rgba(255, 197, 47, .52);
}

.home-menu-icon {
  position: relative;
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, .16);
  color: #fff;
}

.home-menu-primary .home-menu-icon {
  background: #2a0836;
  color: var(--yellow);
}

.home-play-icon::before,
.home-video-icon::after {
  content: "";
  width: 0;
  height: 0;
  margin-left: 4px;
  border-top: 10px solid transparent;
  border-bottom: 10px solid transparent;
  border-left: 15px solid currentColor;
}

.home-resume-icon {
  background-image: url("../assets/game-mouth-logo.png");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 72%;
}

.home-score-icon::before {
  content: "";
  width: 23px;
  height: 18px;
  border: 4px solid currentColor;
  border-top-width: 3px;
  border-radius: 2px 2px 11px 11px;
}

.home-score-icon::after {
  content: "";
  position: absolute;
  bottom: 12px;
  width: 21px;
  height: 4px;
  border-radius: 2px;
  background: currentColor;
  box-shadow: 0 -7px 0 -1px currentColor;
}

.home-video-icon::before {
  content: "";
  position: absolute;
  width: 30px;
  height: 23px;
  border: 3px solid currentColor;
  border-radius: 5px;
}

.home-video-icon::after {
  position: relative;
  z-index: 1;
  border-top-width: 6px;
  border-bottom-width: 6px;
  border-left-width: 9px;
}

.home-faq {
  width: min(100%, 720px);
  margin-top: 54px;
}

.home-faq-list {
  display: grid;
  gap: 8px;
}

.home-faq details {
  overflow: hidden;
  border: 1px solid rgba(176, 94, 220, .28);
  border-radius: 8px;
  background: rgba(39, 10, 53, .9);
}

.home-faq summary {
  min-height: 60px;
  display: grid;
  grid-template-columns: 38px 1fr 18px;
  align-items: center;
  gap: 10px;
  padding: 9px 16px;
  cursor: pointer;
  list-style: none;
  color: #fff;
  font-size: 16px;
}

.home-faq summary::-webkit-details-marker {
  display: none;
}

.home-faq summary i {
  position: relative;
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  color: var(--yellow);
  font-size: 24px;
  font-style: normal;
  font-weight: 950;
}

.home-faq summary b {
  width: 13px;
  height: 13px;
  border-right: 3px solid var(--yellow);
  border-bottom: 3px solid var(--yellow);
  transform: rotate(45deg) translateY(-3px);
  transition: transform .18s ease;
}

.home-faq details[open] summary b {
  transform: rotate(225deg) translate(-2px, -2px);
}

.home-faq details p {
  margin: 0;
  padding: 0 20px 17px 64px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.5;
}

.faq-star {
  background: var(--yellow);
  clip-path: polygon(50% 0, 61% 34%, 98% 35%, 68% 56%, 79% 92%, 50% 71%, 21% 92%, 32% 56%, 2% 35%, 39% 34%);
  transform: scale(.65);
}

.faq-bolt {
  background: var(--yellow);
  clip-path: polygon(48% 0, 18% 52%, 44% 52%, 30% 100%, 82% 39%, 55% 39%, 72% 0);
  transform: scale(.65);
}

.faq-hourglass::before,
.faq-hourglass::after {
  content: "";
  position: absolute;
  left: 7px;
  width: 20px;
  height: 10px;
  border: 3px solid var(--yellow);
}

.faq-hourglass::before {
  top: 5px;
  border-bottom: 0;
  border-radius: 3px 3px 0 0;
  transform: skewX(20deg);
}

.faq-hourglass::after {
  bottom: 5px;
  border-top: 0;
  border-radius: 0 0 3px 3px;
  transform: skewX(-20deg);
}

.home-footer {
  width: min(100%, 500px);
  display: grid;
  justify-items: center;
  gap: 4px;
  margin-top: 46px;
  color: rgba(255, 255, 255, .52);
}

.home-footer img {
  width: 112px;
  max-height: 72px;
  object-fit: contain;
  margin-bottom: 4px;
}

.home-footer span,
.home-footer small {
  font-size: 12px;
}

@media (min-width: 961px) {
  .home-scene {
    inset: 0 auto 0 50%;
    width: min(100%, 1320px);
    transform: translateX(-50%);
    background-color: transparent;
    background-position: right 110px top;
    background-size: auto 1160px;
    -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 7%, #000 93%, transparent 100%);
    mask-image: linear-gradient(90deg, transparent 0%, #000 7%, #000 93%, transparent 100%);
  }

  .home-shade {
    background:
      linear-gradient(90deg, #13011c 0%, rgba(19, 1, 28, .92) 27%, rgba(19, 1, 28, .28) 60%, rgba(19, 1, 28, .08) 77%, #13011c 100%),
      linear-gradient(180deg, rgba(19, 1, 28, .04) 0%, rgba(19, 1, 28, .08) 54%, #13011c 81%);
  }

  .home-app-shell {
    width: min(100% - 56px, 1240px);
    display: grid;
    grid-template-columns: minmax(470px, 530px) minmax(360px, 1fr);
    grid-template-areas:
      "top top"
      "brand visual"
      "menu visual"
      "faq faq"
      "footer footer";
    column-gap: 54px;
  }

  .home-topbar {
    grid-area: top;
  }

  .home-branding {
    grid-area: brand;
    width: 100%;
    min-height: 350px;
    padding-top: 8px;
  }

  .home-logo {
    width: min(100%, 520px);
    height: 345px;
  }

  .home-menu-panel {
    grid-area: menu;
    width: 100%;
  }

  .home-menu-button {
    min-height: 82px;
    grid-template-columns: 58px 1fr;
    padding-block: 11px;
  }

  .home-menu-icon {
    width: 52px;
    height: 52px;
  }

  .home-faq {
    grid-area: faq;
    width: min(100%, 1100px);
    margin: 210px auto 0;
  }

  .home-faq-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .home-footer {
    grid-area: footer;
    width: 100%;
    margin-inline: auto;
  }
}

@media (max-width: 960px) {
  .home-scene {
    inset: 0;
    width: auto;
    transform: none;
    -webkit-mask-image: none;
    mask-image: none;
    background-position: 57% top;
    background-size: auto 1120px;
  }

  .home-shade {
    background:
      linear-gradient(180deg, rgba(18, 0, 27, .08) 0%, rgba(18, 0, 27, .1) 34%, rgba(18, 0, 27, .72) 58%, #13011c 76%),
      linear-gradient(90deg, rgba(18, 0, 27, .48), transparent 80%);
  }

  .home-app-shell {
    width: min(100% - 28px, 560px);
    display: block;
  }

  .home-branding {
    width: 100%;
    min-height: 520px;
    padding-top: 16px;
  }

  .home-logo {
    width: min(92%, 370px);
    height: 270px;
  }

  .home-menu-panel,
  .home-faq,
  .home-footer {
    width: 100%;
  }

  .home-layout {
    grid-template-columns: 1fr;
    gap: 26px;
  }

  .home-visual {
    min-height: 380px;
  }

  .home-visual img {
    min-height: 380px;
    object-position: center 47%;
  }

  .home-content {
    max-width: none;
  }
}

@media (max-width: 620px) {
  .home-topbar {
    min-height: 42px;
  }

  .home-site-link > span:last-child {
    display: none;
  }

  .home-site-link,
  .home-settings {
    width: 42px;
    height: 42px;
    justify-content: center;
  }

  .home-branding {
    min-height: 510px;
    padding-top: 10px;
  }

  .home-logo {
    width: min(94%, 345px);
    height: 250px;
  }

  .home-tagline {
    font-size: 15px;
  }

  .home-menu-title,
  .home-faq h2 {
    gap: 9px;
    font-size: 15px;
  }

  .home-menu-button {
    min-height: 88px;
    grid-template-columns: 58px 1fr;
    gap: 13px;
    padding: 13px 14px;
  }

  .home-menu-icon {
    width: 54px;
    height: 54px;
  }

  .home-menu-button strong {
    font-size: clamp(19px, 5.4vw, 22px);
  }

  .home-menu-button small {
    font-size: 12px;
  }

  .home-faq {
    margin-top: 42px;
  }

  .home-faq summary {
    grid-template-columns: 34px 1fr 16px;
    padding-inline: 12px;
    font-size: 14px;
  }

  .home-faq details p {
    padding: 0 16px 16px 56px;
    font-size: 13px;
  }

  .game-header {
    min-height: 66px;
    grid-template-columns: 42px 1fr 42px;
    padding-inline: 14px;
  }

  .site-back {
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    border: 1px solid var(--line);
    border-radius: 7px;
  }

  .site-back > span:last-child,
  .web-badge {
    display: none;
  }

  .game-brand {
    justify-self: center;
  }

  .game-brand img {
    width: 104px;
  }

  .game-main {
    width: min(100% - 24px, 520px);
    padding-top: 18px;
  }

  .home-layout {
    min-height: auto;
  }

  .home-visual {
    min-height: 315px;
  }

  .home-visual img {
    min-height: 315px;
  }

  .home-content h1 {
    font-size: clamp(43px, 14vw, 60px);
  }

  .home-content > p {
    font-size: 16px;
  }

  .home-stats {
    gap: 6px;
  }

  .home-stats article {
    min-height: 72px;
  }

  .screen-heading {
    grid-template-columns: 46px 1fr 46px;
    gap: 8px;
    margin-bottom: 16px;
  }

  .screen-heading h2 {
    font-size: 28px;
  }

  .setup-grid,
  .manual-grid {
    grid-template-columns: 1fr;
  }

  .timer-setup,
  .setup-summary,
  .setup-start {
    grid-column: auto;
  }

  .setup-card {
    padding: 18px;
  }

  .setup-summary {
    grid-template-columns: 1fr 1fr 1fr;
  }

  .setup-summary span {
    padding: 7px;
    font-size: 10px;
  }

  .play-meta article {
    min-height: 78px;
    padding: 14px;
  }

  .play-meta strong {
    font-size: 21px;
  }

  .timer-line strong {
    font-size: 27px;
  }

  .word-card {
    min-height: 185px;
    padding: 25px 18px;
  }

  .word-card > strong {
    font-size: clamp(40px, 13vw, 64px);
  }

  .answer-button {
    min-height: 120px;
  }

  .answer-button strong {
    font-size: 21px;
  }

  .live-score {
    padding-inline: 10px;
  }

  .live-score article {
    gap: 7px;
  }

  .live-score span {
    max-width: 85px;
  }

  .score-versus {
    grid-template-columns: 1fr 36px 1fr;
    gap: 7px;
  }

  .score-team,
  .manual-team {
    padding: 16px 10px;
  }

  .score-team > span {
    font-size: 15px;
  }

  .score-team > strong,
  .manual-team > strong {
    font-size: 66px;
  }

  .versus-badge {
    width: 36px;
    height: 36px;
    font-size: 11px;
  }

  .manual-team input {
    font-size: 17px;
  }

  .final-panel {
    padding: 25px 16px;
  }
}

@media (max-width: 380px) {
  .home-scene {
    background-position: 58% top;
    background-size: auto 1040px;
  }

  .home-branding {
    min-height: 475px;
  }

  .home-logo {
    height: 225px;
  }

  .home-menu-button {
    grid-template-columns: 52px 1fr;
    padding-inline: 11px;
  }

  .home-menu-icon {
    width: 48px;
    height: 48px;
  }

  .duration-control {
    grid-template-columns: 1fr 1fr;
  }

  .setup-summary {
    grid-template-columns: 1fr;
  }

  .answer-grid {
    gap: 8px;
  }

  .score-team button,
  .manual-team button {
    min-height: 44px;
    font-size: 17px;
  }
}

/* Final responsive home composition. */
.home-screen .home-scene {
  inset: 0;
  width: auto;
  z-index: -3;
  transform: none;
  background-color: #13011c;
  background-image: url("../assets/game-stage-bg.png");
  background-position: center top;
  background-size: cover;
  -webkit-mask-image: none;
  mask-image: none;
}

.home-screen .home-shade {
  z-index: -2;
  background:
    linear-gradient(90deg, rgba(13, 0, 22, .7) 0%, rgba(13, 0, 22, .3) 48%, rgba(13, 0, 22, .08) 78%),
    linear-gradient(180deg, rgba(13, 0, 22, 0) 52%, #13011c 90%);
}

.home-host {
  position: absolute;
  z-index: -1;
  right: max(18px, calc((100vw - 1300px) / 2));
  top: 94px;
  width: min(39vw, 570px);
  height: auto;
  pointer-events: none;
  filter: drop-shadow(0 24px 30px rgba(5, 0, 10, .5));
}

.home-screen .home-app-shell {
  position: relative;
  z-index: 1;
  width: min(100% - 56px, 1300px);
  display: grid;
  grid-template-columns: minmax(540px, 620px) minmax(360px, 1fr);
  grid-template-areas:
    "top top"
    "brand visual"
    "menu visual"
    "faq faq"
    "footer footer";
  column-gap: 46px;
}

.home-screen .home-topbar {
  grid-area: top;
}

.home-screen .home-branding {
  grid-area: brand;
  width: 100%;
  min-height: 390px;
  align-items: flex-start;
  padding-top: 8px;
}

.home-full-logo {
  width: min(100%, 590px);
  height: 350px;
  display: block;
  object-fit: cover;
  filter: drop-shadow(0 14px 20px rgba(0, 0, 0, .55));
}

.home-brand-lockup {
  width: 100%;
  min-height: 220px;
  display: grid;
  grid-template-columns: 175px 1fr;
  align-items: center;
}

.home-mouth-logo {
  width: 175px;
  height: 175px;
  object-fit: contain;
  transform: scale(1.36);
  filter: drop-shadow(0 12px 18px rgba(0, 0, 0, .48));
}

.home-wordmark {
  position: relative;
  z-index: 1;
  display: grid;
  align-content: center;
  line-height: .85;
  text-transform: uppercase;
  filter: drop-shadow(0 8px 12px rgba(0, 0, 0, .55));
}

.home-wordmark span {
  color: #fff;
  font-size: 42px;
  font-weight: 950;
}

.home-wordmark strong {
  color: var(--yellow);
  font-size: 66px;
  font-weight: 950;
}

.home-screen .home-tagline {
  width: min(100%, 590px);
  margin-top: -8px;
  font-size: 18px;
}

.home-screen .home-menu-panel {
  grid-area: menu;
  width: min(100%, 620px);
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.home-screen .home-menu-title,
.home-screen .home-menu-primary,
.home-screen .home-menu-button.resume-button {
  grid-column: 1 / -1;
}

.home-screen .home-menu-title {
  margin: 0;
}

.home-screen .home-menu-button {
  min-height: 125px;
  grid-template-columns: 68px 1fr;
  gap: 15px;
  margin: 0;
  padding: 17px;
  border-color: rgba(255, 255, 255, .2);
  background: rgba(57, 16, 78, .92);
  backdrop-filter: blur(8px);
}

.home-screen .home-menu-primary {
  min-height: 105px;
  grid-template-columns: 74px 1fr;
  border-color: #ffe28a;
  background: var(--yellow);
}

.home-screen .home-menu-button.resume-button {
  min-height: 96px;
  background: rgba(86, 27, 116, .94);
}

.home-screen .home-menu-button strong {
  font-size: 22px;
}

.home-screen .home-menu-primary strong {
  font-size: 27px;
}

.home-screen .home-menu-button small {
  font-size: 13px;
}

.home-screen .home-menu-icon {
  width: 60px;
  height: 60px;
}

.home-screen .home-menu-primary .home-menu-icon {
  width: 68px;
  height: 68px;
}

.home-screen .home-faq {
  grid-area: faq;
  width: min(100%, 1100px);
  margin: 235px auto 0;
  padding-top: 34px;
  border-top: 1px solid rgba(255, 197, 47, .22);
}

.home-screen .home-faq-list {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.home-screen .home-faq details {
  background: rgba(31, 6, 43, .88);
  backdrop-filter: blur(8px);
}

.home-screen .home-footer {
  grid-area: footer;
  width: 100%;
  margin: 42px auto 0;
}

@media (max-width: 960px) {
  .home-screen .home-scene {
    background-position: center top;
    background-size: auto 780px;
  }

  .home-screen .home-shade {
    background: linear-gradient(180deg, rgba(13, 0, 22, .04) 0%, rgba(13, 0, 22, .14) 36%, #13011c 69%);
  }

  .home-host {
    right: max(-48px, calc((100vw - 590px) / 2));
    top: 250px;
    width: min(70vw, 420px);
  }

  .home-screen .home-app-shell {
    width: min(100% - 28px, 580px);
    display: block;
  }

  .home-screen .home-branding {
    width: 100%;
    min-height: 510px;
    align-items: center;
    padding-top: 0;
  }

  .home-full-logo {
    width: min(100%, 500px);
    height: 300px;
  }

  .home-brand-lockup {
    width: min(100%, 500px);
    min-height: 215px;
    grid-template-columns: 145px 1fr;
  }

  .home-mouth-logo {
    width: 145px;
    height: 145px;
  }

  .home-wordmark span {
    font-size: 35px;
  }

  .home-wordmark strong {
    font-size: 54px;
  }

  .home-screen .home-menu-panel {
    width: 100%;
    display: grid;
    grid-template-columns: 1fr;
  }

  .home-screen .home-menu-button,
  .home-screen .home-menu-primary {
    min-height: 96px;
    grid-template-columns: 64px 1fr;
  }

  .home-screen .home-menu-button strong {
    font-size: 21px;
  }

  .home-screen .home-faq {
    width: 100%;
    margin-top: 48px;
    padding-top: 28px;
  }

  .home-screen .home-faq-list {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 620px) {
  .home-screen .home-scene {
    background-size: auto 660px;
  }

  .home-host {
    right: -82px;
    top: 232px;
    width: min(86vw, 365px);
  }

  .home-screen .home-branding {
    min-height: 470px;
  }

  .home-full-logo {
    width: min(100%, 390px);
    height: 250px;
  }

  .home-brand-lockup {
    min-height: 185px;
    grid-template-columns: 112px 1fr;
  }

  .home-mouth-logo {
    width: 112px;
    height: 112px;
  }

  .home-wordmark span {
    font-size: 28px;
  }

  .home-wordmark strong {
    font-size: 43px;
  }

  .home-screen .home-tagline {
    font-size: 14px;
  }

  .home-screen .home-menu-button,
  .home-screen .home-menu-primary {
    min-height: 92px;
  }

  .home-screen .home-menu-button strong,
  .home-screen .home-menu-primary strong {
    font-size: 20px;
  }
}

@media (max-width: 380px) {
  .home-host {
    right: -78px;
    top: 224px;
    width: 340px;
  }

  .home-screen .home-branding {
    min-height: 450px;
  }

  .home-full-logo {
    height: 225px;
  }

  .home-brand-lockup {
    grid-template-columns: 96px 1fr;
  }

  .home-mouth-logo {
    width: 96px;
    height: 96px;
  }

  .home-wordmark span {
    font-size: 25px;
  }

  .home-wordmark strong {
    font-size: 38px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    scroll-behavior: auto !important;
    animation-duration: .01ms !important;
    transition-duration: .01ms !important;
  }
}
