@charset "UTF-8";
/* Remote posters retain a local gradient until they have loaded successfully. */
.poster-image {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  opacity: 0;
  transition: opacity 0.25s;
}
.has-poster > .poster-image {
  opacity: 1;
}
.has-poster > .poster-art {
  display: none;
}
.playing .has-poster.poster::after {
  background:
    linear-gradient(0deg, #050910e6, #05091099 48%, #05091099),
    linear-gradient(90deg, #0003, transparent);
}

.tmdb-credits {
  display: flex;
  align-items: center;
  gap: 18px;
  margin: 18px 0 24px;
  padding: 15px 18px;
  border: 1px solid var(--line);
  border-radius: 6px;
}
.tmdb-credits img {
  display: block;
  object-fit: contain;
}
.tmdb-credits p {
  color: var(--muted);
  font-size: 11px;
  margin: 0;
}
.reward-panel {
  margin: 24px 0;
  padding: 24px;
}
.header-title {
  display: block;
  font-size: 10px;
  color: var(--gold);
  margin-top: 3px;
}
.reward-collection {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr));
  gap: 16px;
}
.reward-card {
  padding: 20px;
  border: 1px solid #ffffff24;
  border-radius: 12px;
}
.reward-card.unlocked {
  border-color: var(--gold);
}
.reward-card h3 {
  margin: 12px 0;
}
.reward-card p {
  margin: 10px 0;
}
.reward-swatch {
  display: inline-block;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  vertical-align: middle;
  margin-left: 12px;
  border: 1px solid #ffffff80;
}
.reward-card button:disabled {
  opacity: 0.6;
  cursor: default;
}
#nextReward {
  color: var(--gold);
}
:root {
  color-scheme: dark;
  --bg: #0b0e14;
  --panel: #12161f;
  --line: #282d38;
  --muted: #949dad;
  --text: #f4f2ec;
  --gold: #eac77a;
  --green: #86d7b3;
  --red: #eea09d;
  --display: Impact, 'Arial Narrow', 'Franklin Gothic Medium', sans-serif;
  --body: Inter, 'Segoe UI', Arial, sans-serif;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 20px;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 14px/1.5 var(--body);
}
button,
input,
select {
  font: inherit;
}
button,
a,
input,
select {
  -webkit-tap-highlight-color: transparent;
}
button {
  cursor: pointer;
  color: inherit;
  transition:
    background 0.18s,
    transform 0.18s,
    border-color 0.18s;
}
a {
  color: inherit;
  text-decoration: none;
}
button:disabled {
  opacity: 0.5;
  cursor: wait;
}
button:hover:not(:disabled) {
  filter: brightness(1.12);
}
button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 4px;
}
.hidden {
  display: none !important;
}
.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;
}
.skip {
  position: fixed;
  top: -60px;
  left: 20px;
  background: var(--gold);
  color: var(--bg);
  padding: 10px 20px;
  z-index: 100;
}
.skip:focus {
  top: 10px;
}
.sidebar {
  position: fixed;
  width: 280px;
  inset: 0 auto 0 0;
  border-right: 1px solid var(--line);
  padding: 35px 23px 24px;
  display: flex;
  flex-direction: column;
  background: #0e1118;
  z-index: 20;
  overflow-y: auto;
}
.brand {
  display: flex;
  gap: 11px;
  align-items: center;
  font-size: 16px;
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: 1px;
}
.brand b {
  color: var(--gold);
}
.brand-icon {
  height: 43px;
  width: 43px;
  background: var(--gold);
  color: #11141b;
  display: grid;
  place-items: center;
  font: 35px var(--display);
  position: relative;
  border-radius: 3px;
  transform: rotate(-5deg);
}
.brand-icon span {
  font: 18px var(--body);
  position: absolute;
  bottom: 0;
  right: 2px;
}
.sidebar-label {
  font-size: 10px;
  letter-spacing: 1.6px;
  color: #8b95a6;
  margin: 54px 10px 15px;
  font-weight: 700;
}
.main-nav {
  display: grid;
  gap: 7px;
}
.main-nav a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 13px;
  color: #a3adbd;
  font-size: 12px;
  font-weight: 600;
  border-radius: 5px;
  border: 1px solid transparent;
}
.main-nav a > span {
  font-size: 20px;
  width: 22px;
  line-height: 1;
}
.main-nav i {
  margin-left: auto;
  font-style: normal;
  font-size: 10px;
  opacity: 0.7;
}
.main-nav a.active {
  background: #eac77a12;
  border-color: #eac77a22;
  color: var(--gold);
}
.main-nav a:hover {
  background: #ffffff07;
}
.sidebar-feature {
  margin-top: 40px;
  border: 1px solid #3a3326;
  padding: 18px 15px;
  background: radial-gradient(ellipse at 100% 100%, #eac77a10, transparent 80%);
  border-radius: 6px;
}
.tag {
  font-size: 10px;
  letter-spacing: 1.2px;
  color: var(--gold);
  font-weight: 800;
}
.sidebar-support {
  padding: 0;
  flex-shrink: 0;
  border: none;
  background: none;
}
.sidebar-feature h3 {
  font: 26px/1.05 var(--display);
  text-transform: uppercase;
  letter-spacing: 0.2px;
  margin: 15px 0 10px;
}
.sidebar-feature p {
  font-size: 11px;
  color: var(--muted);
  line-height: 1.8;
}
.text-button {
  padding: 0;
  border: 0;
  background: none;
  color: var(--gold);
  font-size: 11px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.sidebar-feature .text-button {
  margin-top: 10px;
  justify-content: space-between;
  width: 100%;
}
.sidebar-bottom {
  margin-top: auto;
  padding-top: 28px;
}
.utility {
  border: 0;
  background: none;
  color: #a0aabb;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 9px;
  font-size: 15px;
}
.utility span {
  font-size: 11px;
}
.edition {
  display: block;
  font-size: 10px;
  color: #8490a4;
  line-height: 1.9;
  letter-spacing: 1.3px;
  margin: 20px 9px 0;
}
.workspace {
  margin-left: 280px;
}
.topbar {
  height: 79px;
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 42px;
  gap: 20px;
}
.breadcrumb {
  font-size: 10px;
  letter-spacing: 1.6px;
  color: var(--muted);
  white-space: nowrap;
}
.breadcrumb span {
  margin: 0 13px;
  color: #6e7a8e;
}
.breadcrumb strong {
  font-weight: 500;
  color: #dadde5;
}
.top-actions {
  display: flex;
  align-items: center;
  gap: 23px;
}
.connection {
  font-size: 10px;
  color: #9aa3b2;
  display: flex;
  align-items: center;
  gap: 7px;
}
.connection i {
  width: 5px;
  height: 5px;
  background: var(--gold);
  border-radius: 50%;
}
.connection.online i {
  background: var(--green);
}
.connection.offline i {
  background: var(--red);
}
.sound-toggle {
  border: 0;
  background: none;
  color: #a3aab6;
  display: flex;
  gap: 8px;
  align-items: center;
  font-size: 16px;
}
.sound-toggle span {
  font-size: 10px;
}
.player-button {
  border: 1px solid var(--line);
  background: #141923;
  border-radius: 5px;
  padding: 7px 11px 7px 7px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 10px;
}
.avatar {
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  background: #30333a;
  color: var(--gold);
  font-size: 12px;
  font-weight: 800;
  border-radius: 3px;
}
main {
  max-width: 1500px;
  margin: auto;
  padding: 37px 42px 0;
  outline: none;
}
.page-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 25px;
  margin-bottom: 29px;
}
.eyebrow {
  font-size: 10px;
  letter-spacing: 2.2px;
  font-weight: 700;
  color: var(--gold);
  display: flex;
  align-items: center;
  gap: 8px;
}
.eyebrow > span {
  width: 5px;
  height: 5px;
  background: var(--gold);
  border-radius: 50%;
}
h1 {
  font: clamp(43px, 4.8vw, 72px)/0.99 var(--display);
  text-transform: uppercase;
  letter-spacing: 0.2px;
  margin: 17px 0 15px;
}
h1 em {
  color: var(--gold);
  font-style: normal;
}
.page-heading p {
  font-size: 12px;
  color: #a2adbe;
  margin: 0;
}
.heading-stamp {
  width: 140px;
  height: 140px;
  border: 1px solid #eac77a35;
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transform: rotate(12deg);
  margin-right: 30px;
  color: var(--gold);
  box-shadow:
    inset 0 0 0 7px var(--bg),
    inset 0 0 0 8px #eac77a25;
}
.heading-stamp span {
  font-size: 10px;
  letter-spacing: 2px;
}
.heading-stamp b {
  font: 55px/0.95 var(--display);
  margin: 8px 0;
}
.mode-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 11px;
  margin-bottom: 32px;
}
.mode-card {
  text-align: left;
  border: 1px solid var(--line);
  background: #12161e;
  border-radius: 6px;
  padding: 15px 16px;
  color: var(--text);
  position: relative;
  overflow: hidden;
}
.mode-card:after {
  position: absolute;
  content: '';
  width: 90px;
  height: 90px;
  border: 1px solid #ffffff04;
  border-radius: 50%;
  right: -35px;
  bottom: -25px;
  box-shadow:
    0 0 0 12px #ffffff02,
    0 0 0 24px #ffffff01;
  pointer-events: none;
}
.mode-card.selected {
  background: linear-gradient(115deg, #2b281f, #201f1b);
  border-color: #b69b5d;
}
.mode-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 10px;
  letter-spacing: 1.2px;
  color: #a0aaba;
  margin-bottom: 18px;
}
.selected .mode-top {
  color: var(--gold);
}
.mode-top > span:last-child {
  font-size: 13px;
}
.mode-top .new-tag {
  font-size: 10px !important;
  background: #eac77a1c;
  color: var(--gold);
  padding: 2px 5px;
  border-radius: 2px;
}
.mode-card strong {
  font: 22px/1.1 var(--display);
  letter-spacing: 0.3px;
  display: block;
  text-transform: uppercase;
  white-space: nowrap;
}
.mode-card small {
  display: block;
  font-size: 10px;
  color: #a5afbf;
  margin-top: 7px;
}
.mode-bottom {
  display: flex;
  justify-content: space-between;
  border-top: 1px solid #ffffff0b;
  margin-top: 19px;
  padding-top: 10px;
  font-size: 10px;
  letter-spacing: 1px;
  color: #a8b2c3;
}
.mode-bottom > span {
  font-size: 13px;
  line-height: 1;
}
.selected .mode-bottom {
  color: var(--gold);
}
.game-toolbar,
.toolbar-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
}
.game-toolbar {
  margin-bottom: 14px;
}
.section-label {
  font-size: 10px;
  letter-spacing: 1.3px;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 9px;
}
.section-label i {
  background: var(--gold);
  width: 5px;
  height: 5px;
  border-radius: 50%;
}
.section-label > span:last-child:not(:first-child) {
  margin-left: auto;
}
.unranked {
  font-size: 10px !important;
  color: var(--muted);
  border: 1px solid var(--line);
  padding: 2px 5px;
  letter-spacing: 0.7px;
}
.toolbar-actions {
  font-size: 10px;
}
select,
input {
  color: var(--text);
  background: #151a24;
  border: 1px solid #414c5e;
  border-radius: 4px;
  padding: 9px 12px;
  font-size: 12px;
}
label {
  color: var(--muted);
  font-size: 11px;
}
label select {
  margin-left: 8px;
}
.scoreboard {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 6px;
  margin-bottom: 17px;
  padding: 18px 0;
}
.scoreboard > div {
  padding: 0 25px;
  border-right: 1px solid var(--line);
}
.scoreboard > div:last-child {
  border: 0;
}
.scoreboard small {
  font-size: 10px;
  color: var(--muted);
  letter-spacing: 1.2px;
  display: block;
  font-weight: 700;
}
.scoreboard strong {
  font: 32px/1.1 var(--display);
  display: block;
  margin-top: 7px;
  letter-spacing: 0.4px;
}
.scoreboard > div:first-child strong {
  color: var(--gold);
}
.timer-stat strong {
  color: #b1b8c7;
}
.timer-stat.urgent strong {
  color: var(--red);
}
.arena {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  position: relative;
}
.movie-card {
  background: #121720;
  border: 1px solid #303542;
  border-radius: 8px;
  overflow: hidden;
  min-width: 0;
  transition: border-color 0.2s;
}
.poster {
  height: 280px;
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 45px 26px;
  background: linear-gradient(135deg, var(--poster-a, #356d87), var(--poster-b, #122b45));
  overflow: hidden;
}
.poster:after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(0deg, #0009, transparent 45%, #0004),
    radial-gradient(ellipse at 80% 20%, #ffffff18, transparent 60%);
}
.poster-grain {
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='150' height='150'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' opacity='.3' filter='url(%23n)'/%3E%3C/svg%3E");
  opacity: 0.23;
  mix-blend-mode: soft-light;
  pointer-events: none;
  z-index: 2;
}
.poster-kicker {
  position: absolute;
  top: 18px;
  font-size: 10px;
  letter-spacing: 2.2px;
  color: #ffffffb3;
  text-align: center;
}
.poster-title {
  font: clamp(32px, 3.8vw, 58px)/0.97 var(--display);
  text-transform: uppercase;
  letter-spacing: 1px;
  text-align: center;
  text-shadow: 0 4px 35px #0008;
  overflow-wrap: anywhere;
  z-index: 1;
  max-width: 95%;
  transform: rotate(-4deg);
}
.poster-art {
  position: absolute;
  inset: 0;
  z-index: -1;
  overflow: hidden;
}
.poster-art div {
  position: absolute;
  width: 230px;
  height: 400px;
  border: 1px solid #ffffff1c;
  transform: rotate(32deg);
  left: 20%;
  top: -20%;
  background: linear-gradient(90deg, transparent, #ffffff0c);
}
.poster-art div:nth-child(2) {
  left: 38%;
  background: #00000016;
}
.poster-art div:nth-child(3) {
  left: 70%;
}
.challenger .poster-art div {
  border-radius: 50%;
  width: 300px;
  height: 300px;
  top: 0;
  left: 10%;
  background: radial-gradient(circle, #ffffff08, transparent 60%);
}
.challenger .poster-art div:nth-child(2) {
  width: 240px;
  height: 240px;
  top: 30px;
  left: 18%;
}
.challenger .poster-art div:nth-child(3) {
  width: 180px;
  height: 180px;
  top: 60px;
  left: 26%;
}
.poster-foot {
  position: absolute;
  bottom: 17px;
  left: 20px;
  right: 20px;
  display: flex;
  justify-content: space-between;
  gap: 8px;
  font-size: 10px;
  letter-spacing: 1.5px;
  color: #ffffffb3;
}
.poster-foot > span:first-child {
  flex-shrink: 0;
}
.poster-foot > span:last-child {
  text-align: right;
}
.movie-details {
  padding: 24px;
  min-height: 265px;
}
.movie-meta {
  font-size: 10px;
  color: #a5b1c3;
  letter-spacing: 1.3px;
  text-transform: uppercase;
}
.movie-details h2 {
  font-size: 18px;
  line-height: 1.25;
  margin: 7px 0 23px;
  letter-spacing: -0.3px;
  min-height: 45px;
}
.movie-label {
  font-size: 10px;
  letter-spacing: 1.6px;
  color: #a0adbf;
  font-weight: 600;
}
.money {
  font: 42px/1.2 var(--display);
  letter-spacing: 0.6px;
  color: var(--gold);
  margin-top: 5px;
  font-variant-numeric: tabular-nums;
}
.money.mystery {
  color: #9aa6b9;
  letter-spacing: 6px;
}
.baseline-label {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 10px;
  letter-spacing: 1.3px;
  color: #a0adbf;
  margin-top: 27px;
}
.baseline-label span {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #7b9a90;
}
.vs {
  position: absolute;
  left: 50%;
  top: 235px;
  transform: translateX(-50%) rotate(-7deg);
  height: 49px;
  width: 49px;
  display: grid;
  place-items: center;
  background: var(--gold);
  color: #151820;
  border: 5px solid var(--bg);
  border-radius: 50%;
  font: 22px var(--display);
  z-index: 3;
}
.guess-controls {
  display: flex;
  gap: 10px;
  margin-top: 18px;
}
.guess {
  flex: 1;
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px;
  border: 1px solid #494433;
  background: #eac77a;
  color: #151820;
  border-radius: 4px;
  text-align: left;
}
.guess > span:first-child {
  font-size: 24px;
  line-height: 1;
}
.guess > span:nth-child(2) {
  font-size: 16px;
  font-weight: 800;
  line-height: 1.2;
}
.guess small {
  display: block;
  font-size: 10px;
  letter-spacing: 1px;
  font-weight: 700;
  margin-top: 4px;
}
.guess kbd {
  margin-left: auto;
  color: inherit;
  background: #0001;
  border-color: #0002;
}
.guess.lower {
  background: #222b39;
  border-color: #354253;
  color: #e2e6ed;
}
.guess:hover:not(:disabled) {
  transform: translateY(-2px);
}
kbd {
  display: inline-grid;
  place-items: center;
  font: 9px var(--body);
  border: 1px solid #333d4a;
  background: #151b25;
  min-width: 18px;
  height: 19px;
  border-radius: 3px;
  padding: 0 3px;
}
.result {
  font-size: 12px;
  line-height: 1.6;
  margin-top: 12px;
}
.result.good {
  color: var(--green);
}
.result.bad {
  color: var(--red);
}
.challenger.correct {
  border-color: #69b791;
}
.challenger.incorrect {
  border-color: #bb7775;
}
.next {
  border: 0;
  background: var(--gold);
  color: #14171e;
  border-radius: 4px;
  padding: 12px 15px;
  font-size: 12px;
  font-weight: 800;
  width: 100%;
  margin-top: 12px;
  display: flex;
  justify-content: space-between;
}
.round-strip {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 12px 0 26px;
  font-size: 10px;
  color: #9ba8bc;
  letter-spacing: 1px;
  gap: 15px;
}
.keyboard-hint {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 10px;
  letter-spacing: 0;
}
.keyboard-hint kbd:not(:first-child) {
  margin-left: 7px;
}
.below-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 25px;
}
.progress-card,
.daily-card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 22px;
}
.progress-card .section-label,
.daily-card .section-label {
  color: var(--gold);
  justify-content: space-between;
}
.progress-card .section-label span,
.daily-card .section-label span {
  color: #9daabd;
  font-size: 10px;
}
.progress-card h3,
.daily-card h3 {
  font-size: 17px;
  letter-spacing: -0.4px;
  margin: 13px 0 6px;
}
.progress-card p,
.daily-card p {
  color: #a0adc0;
  font-size: 10px;
  margin: 0;
}
.progress-track {
  height: 4px;
  background: #2b303b;
  margin-top: 19px;
  border-radius: 3px;
  overflow: hidden;
}
.progress-track > div {
  background: var(--gold);
  height: 100%;
  width: 0;
  transition: width 0.3s;
}
.progress-caption {
  display: flex;
  justify-content: space-between;
  color: #a1aec1;
  font-size: 10px;
  letter-spacing: 0.8px;
  margin-top: 8px;
}
.daily-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background:
    radial-gradient(ellipse at 100% 100%, #eac77a0d, transparent 70%), var(--panel);
}
.daily-card > div {
  flex: 1;
}
.daily-card h3 {
  font: 29px var(--display);
  text-transform: uppercase;
  margin-top: 20px;
}
.round-button {
  width: 43px;
  height: 43px;
  border: 1px solid #8f7c53;
  border-radius: 50%;
  color: var(--gold);
  background: transparent;
  font-size: 23px;
  margin: 30px 0 0 20px;
}
.disclaimer {
  color: #939fb2;
  font-size: 10px;
  line-height: 1.8;
  text-align: center;
  margin: 25px auto;
  max-width: 750px;
}
.loading-state {
  border: 1px solid var(--line);
  border-radius: 8px;
  min-height: 420px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: var(--muted);
  text-align: center;
  padding: 30px;
}
.loading-state h2 {
  font: 32px var(--display);
  text-transform: uppercase;
  color: var(--text);
  margin-bottom: 0;
}
.loading-state p {
  font-size: 12px;
}
.loader {
  height: 30px;
  width: 30px;
  border: 2px solid #363c47;
  border-top-color: var(--gold);
  border-radius: 50%;
  animation: spin 1s linear infinite;
}
@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}
.summary {
  border: 1px solid #6b5b37;
  border-radius: 7px;
  padding: 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: linear-gradient(125deg, #252319, #141923);
  gap: 25px;
  margin-bottom: 25px;
}
.summary h2 {
  font: 36px var(--display);
  text-transform: uppercase;
  margin: 10px 0;
}
.summary p {
  font-size: 12px;
  color: #b3bac5;
}
.summary-actions {
  display: grid;
  gap: 10px;
  min-width: 175px;
}
.primary,
.secondary {
  padding: 12px 18px;
  border: 1px solid transparent;
  border-radius: 4px;
  font-size: 11px;
  font-weight: 800;
  text-align: center;
  display: inline-block;
}
.primary {
  background: var(--gold);
  color: #161920;
}
.secondary {
  border-color: #40495a;
  background: #202734;
  color: #e2e7ef;
}
.answer-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
}
.answer-grid span {
  height: 22px;
  min-width: 22px;
  font-size: 10px;
  display: grid;
  place-items: center;
  background: #86d7b31c;
  color: var(--green);
  border-radius: 3px;
}
.answer-grid span.miss {
  color: var(--red);
  background: #eea09d1c;
}

.filter-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 28px 0;
  flex-wrap: wrap;
}
.filter-row .text-button {
  margin-left: auto;
}
.chip {
  padding: 9px 17px;
  border: 1px solid var(--line);
  background: #141a25;
  color: #a7b3c6;
  border-radius: 4px;
  font-size: 11px;
}
.chip.selected {
  border-color: #a18b56;
  color: var(--gold);
  background: #eac77a0b;
}
.panel {
  padding: 27px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 7px;
}
.panel-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
}
.panel h2,
.section-heading h2 {
  font-size: 19px;
  letter-spacing: -0.5px;
  margin: 0;
}
.muted {
  color: var(--muted);
  font-size: 11px;
}
.empty-state {
  text-align: center;
  padding: 55px 20px;
  color: var(--muted);
}
.empty-state strong {
  display: block;
  color: #e1e5ec;
  font-size: 17px;
  margin-bottom: 10px;
}
.empty-state p {
  font-size: 12px;
  max-width: 400px;
  margin: 10px auto 20px;
}
table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 12px;
  margin-top: 25px;
}
th {
  font-size: 10px;
  letter-spacing: 1px;
  color: var(--muted);
  font-weight: 500;
  padding: 12px 15px;
  border-bottom: 1px solid var(--line);
}
td {
  padding: 17px 15px;
  border-bottom: 1px solid #242b36;
}
th:last-child,
td:last-child {
  text-align: right;
}
tr.you {
  background: #eac77a09;
  color: var(--gold);
}
.rank {
  color: var(--gold);
  font-weight: 800;
}
.player-cell {
  display: flex;
  gap: 12px;
  align-items: center;
}

.profile-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin: 30px 0;
}
.stat-card {
  padding: 22px;
  border: 1px solid var(--line);
  background: var(--panel);
  border-radius: 6px;
}
.stat-card small {
  color: var(--muted);
  font-size: 10px;
  letter-spacing: 1px;
}
.stat-card strong {
  display: block;
  font: 40px var(--display);
  margin-top: 12px;
  color: var(--gold);
}
.section-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 36px 0 18px;
}
.achievement-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 13px;
}
.achievement {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--panel);
}
.achievement.unlocked {
  border-color: #6c5c36;
}
.achievement-icon {
  width: 43px;
  height: 43px;
  border: 1px solid #3c4350;
  color: #a8b4c7;
  display: grid;
  place-items: center;
  font: 20px var(--display);
  border-radius: 50%;
  margin-bottom: 16px;
}
.unlocked .achievement-icon {
  background: #eac77a14;
  border-color: #a18b56;
  color: var(--gold);
}
.achievement h3 {
  font-size: 14px;
  margin: 0 0 7px;
}
.achievement p {
  font-size: 10px;
  color: var(--muted);
  margin: 0;
}
.achievement .progress-caption {
  font-size: 10px;
}
.history-panel {
  margin-top: 28px;
}
.account-actions {
  display: flex;
  justify-content: space-between;
  margin: 25px 0;
}
.danger {
  color: var(--red);
}
footer {
  margin-top: 45px;
  border-top: 1px solid var(--line);
  padding: 23px 0 28px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: #9aa7ba;
  gap: 20px;
}
footer > a {
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.4px;
  color: #b4bcc9;
}
footer a > span {
  color: var(--gold);
}
footer small {
  font-size: 10px;
  color: #9aa6b9;
  margin-left: 9px;
  font-weight: 400;
}
footer > span {
  font-size: 10px;
  letter-spacing: 1.5px;
}
footer .text-button {
  font-size: 10px;
  color: #a4b1c5;
}
dialog {
  background: #171d28;
  color: var(--text);
  border: 1px solid #41495a;
  border-radius: 10px;
  width: calc(100% - 32px);
  max-width: 490px;
  padding: 27px;
  box-shadow: 0 30px 100px #000a;
  max-height: 85dvh;
  overflow: auto;
}
dialog::backdrop {
  background: #03060be0;
  backdrop-filter: blur(6px);
}
.modal-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 22px;
}
.modal-head h2 {
  font: 30px var(--display);
  text-transform: uppercase;
  margin: 0;
}
.icon-button {
  border: 0;
  background: none;
  color: #b6c0d0;
  font-size: 28px;
  line-height: 1;
}
.modal-copy {
  font-size: 12px;
  color: #aeb9ca;
  line-height: 1.9;
}
.modal-copy strong {
  color: var(--gold);
}
.modal-copy li {
  margin: 10px 0;
}
.modal-copy ul,
.modal-copy ol {
  padding-left: 20px;
}
.auth-tabs {
  display: flex;
  gap: 8px;
  margin-bottom: 20px;
}
.auth-form {
  display: grid;
  gap: 16px;
}
.auth-form label {
  display: grid;
  gap: 7px;
}
.auth-form input {
  padding: 12px;
}
.auth-form .primary {
  margin-top: 5px;
}
.form-note {
  font-size: 10px;
  color: #a3b0c4;
  line-height: 1.8;
}
.form-error {
  font-size: 11px;
  color: var(--red);
  min-height: 0;
}
.recovery-code {
  display: block;
  background: #0c111a;
  border: 1px solid #4a5261;
  padding: 16px;
  overflow-wrap: anywhere;
  color: var(--gold);
  font-size: 13px;
  margin: 20px 0;
  user-select: all;
}
.settings-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
  font-size: 12px;
}
.settings-row input[type='checkbox'] {
  accent-color: var(--gold);
  width: 18px;
  height: 18px;
}
.settings-row span small {
  display: block;
  color: var(--muted);
  font-size: 10px;
  margin-top: 5px;
}
.toast {
  position: fixed;
  bottom: 25px;
  left: calc(50% + 114px);
  transform: translateX(-50%);
  background: #242d3a;
  border: 1px solid #4a566a;
  box-shadow: 0 8px 40px #0008;
  border-radius: 6px;
  padding: 15px 22px;
  max-width: calc(100vw - 35px);
  font-size: 12px;
  z-index: 100;
}
.toast.error {
  border-color: #a16e6e;
  color: #f7b1ad;
}
.noscript {
  position: fixed;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 30px;
  background: #0b0e14;
  z-index: 100;
  font-size: 20px;
}
.reduced-motion * {
  animation: none !important;
  transition: none !important;
  scroll-behavior: auto !important;
}
@media (min-width: 1600px) {
  .poster {
    height: 330px;
  }
  .vs {
    top: 285px;
  }
  .movie-details {
    min-height: 280px;
  }
  .movie-details h2 {
    font-size: 22px;
  }
  .money {
    font-size: 49px;
  }
}
@media (max-width: 1200px) {
  .sidebar {
    width: 280px;
    padding: 30px 15px 20px;
  }
  .workspace {
    margin-left: 280px;
  }
  .topbar {
    padding: 0 27px;
  }
  main {
    padding: 30px 27px 0;
  }
  .mode-card {
    padding: 13px 11px;
  }
  .mode-card strong {
    font-size: 20px;
  }
  .mode-card small {
    font-size: 10px;
  }
  .top-actions {
    gap: 14px;
  }
  .movie-details {
    padding: 20px;
  }
  .guess {
    gap: 7px;
    padding: 10px 8px;
  }
  .guess kbd {
    display: none;
  }

  .toast {
    left: calc(50% + 97px);
  }
  .heading-stamp {
    margin-right: 5px;
  }
}
@media (max-width: 960px) {
  .sidebar {
    width: 75px;
    align-items: center;
    padding: 25px 8px;
  }
  .brand > span:last-child,
  .sidebar-label,
  .main-nav i,
  .sidebar-feature,
  .sidebar-bottom .edition,
  .utility span {
    display: none;
  }
  .brand-icon {
    width: 37px;
    height: 37px;
    font-size: 30px;
  }
  .main-nav {
    margin-top: 45px;
    width: 100%;
  }
  .main-nav a {
    font-size: 0;
    justify-content: center;
    padding: 13px 8px;
  }
  .main-nav a > span {
    font-size: 24px;
    width: auto;
  }
  .sidebar-bottom {
    padding: 0;
  }
  .utility {
    font-size: 22px;
    padding: 12px;
  }
  .workspace {
    margin-left: 75px;
  }
  .toast {
    left: calc(50% + 37px);
  }
  .connection {
    display: none;
  }
  .heading-stamp {
    width: 115px;
    height: 115px;
  }
  .heading-stamp b {
    font-size: 42px;
  }
  .mode-card strong {
    font-size: 19px;
  }
  .scoreboard > div {
    padding: 0 17px;
  }
  .scoreboard small {
    font-size: 10px;
  }
  .poster {
    height: 240px;
  }
  .vs {
    top: 195px;
  }
  .poster-title {
    font-size: 40px;
  }
  .movie-details h2 {
    font-size: 16px;
  }
  .money {
    font-size: 36px;
  }
  .achievement-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .mode-card small {
    min-height: 24px;
  }
  .mode-top {
    font-size: 10px;
    letter-spacing: 0.7px;
  }
  .below-grid {
    gap: 12px;
  }
  .progress-card,
  .daily-card {
    padding: 18px;
  }
  .daily-card h3 {
    font-size: 25px;
  }
  .guess small {
    font-size: 10px;
    letter-spacing: 0.5px;
  }
  .guess > span:nth-child(2) {
    font-size: 14px;
  }
}
@media (max-width: 700px) {
  .sidebar {
    inset: auto 0 0;
    width: 100%;
    height: 66px;
    border-right: 0;
    border-top: 1px solid var(--line);
    padding: 0 8px;
    background: #0e1118f5;
    backdrop-filter: blur(15px);
  }
  .sidebar > .brand,
  .sidebar-bottom {
    display: none;
  }
  .main-nav {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    margin: 0;
    gap: 3px;
    height: 100%;
    align-items: center;
  }
  .main-nav a {
    display: flex;
    flex-direction: column;
    gap: 3px;
    font-size: 10px;
    padding: 7px 2px;
    border: 0;
    background: none !important;
  }
  .main-nav a > span {
    font-size: 21px;
    height: 23px;
  }
  .workspace {
    margin: 0;
  }
  .topbar {
    height: 63px;
    padding: 0 18px;
  }
  .breadcrumb {
    font-size: 10px;
    letter-spacing: 1px;
  }
  .breadcrumb span {
    margin: 0 8px;
  }
  .sound-toggle span {
    display: none;
  }
  .top-actions {
    gap: 12px;
  }
  .player-button {
    font-size: 10px;
    padding: 5px 8px 5px 5px;
  }
  .avatar {
    width: 24px;
    height: 24px;
    font-size: 10px;
  }
  main {
    padding: 27px 17px 75px;
  }
  .page-heading {
    margin-bottom: 25px;
    gap: 10px;
  }
  .eyebrow {
    font-size: 10px;
    letter-spacing: 1.7px;
  }
  h1 {
    font-size: 48px;
    margin: 14px 0;
  }
  .page-heading p {
    font-size: 10px;
    line-height: 1.7;
    max-width: 250px;
  }
  .heading-stamp {
    width: 90px;
    height: 90px;
    flex-shrink: 0;
    margin-right: 4px;
  }
  .heading-stamp b {
    font-size: 34px;
    margin: 5px 0;
  }
  .heading-stamp span {
    font-size: 10px;
    letter-spacing: 1.3px;
  }
  .mode-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 9px;
    margin-bottom: 24px;
  }
  .mode-card {
    padding: 12px 14px;
  }
  .mode-card strong {
    font-size: 22px;
  }
  .mode-top {
    font-size: 10px;
    margin-bottom: 11px;
  }
  .mode-card small {
    font-size: 10px;
    min-height: 0;
    margin-top: 5px;
  }
  .mode-bottom {
    margin-top: 13px;
    padding-top: 8px;
    font-size: 10px;
  }
  .mode-top > span:last-child {
    font-size: 10px;
  }
  .section-label {
    font-size: 10px;
    letter-spacing: 0.8px;
  }
  .unranked {
    display: none;
  }
  .toolbar-actions {
    gap: 10px;
  }
  .toolbar-actions .text-button {
    font-size: 10px;
  }
  .toolbar-actions label {
    font-size: 0;
  }
  .toolbar-actions select {
    font-size: 10px;
    padding: 6px;
    max-width: 115px;
  }
  .scoreboard {
    padding: 14px 0;
    margin-bottom: 12px;
  }
  .scoreboard > div {
    padding: 0 10px;
  }
  .scoreboard small {
    font-size: 10px;
    letter-spacing: 0.5px;
    min-height: 15px;
  }
  .scoreboard strong {
    font-size: 25px;
    margin-top: 3px;
  }
  .arena {
    gap: 10px;
  }
  .poster {
    height: 215px;
    padding: 30px 12px;
  }
  .poster-title {
    font-size: clamp(26px, 6.2vw, 39px);
  }
  .poster-kicker {
    font-size: 10px;
    letter-spacing: 1px;
    top: 14px;
  }
  .poster-foot {
    left: 10px;
    right: 10px;
    bottom: 13px;
    font-size: 10px;
    letter-spacing: 0.7px;
  }
  .poster-foot span:last-child {
    font-size: 10px;
  }
  .movie-details {
    padding: 16px 12px;
    min-height: 270px;
  }
  .movie-meta {
    font-size: 10px;
    letter-spacing: 0.5px;
  }
  .movie-details h2 {
    font-size: 13px;
    min-height: 46px;
    margin: 8px 0 15px;
  }
  .movie-label {
    font-size: 10px;
    letter-spacing: 0.8px;
    min-height: 14px;
  }
  .money {
    font-size: clamp(23px, 6.3vw, 34px);
    letter-spacing: -0.3px;
    white-space: nowrap;
  }
  .money.mystery {
    letter-spacing: 3px;
  }
  .vs {
    top: 179px;
    width: 39px;
    height: 39px;
    font-size: 17px;
    border-width: 4px;
  }
  .guess-controls {
    flex-direction: column;
    gap: 7px;
    margin-top: 12px;
  }
  .guess {
    padding: 9px 12px;
    gap: 11px;
  }
  .guess > span:nth-child(2) {
    font-size: 13px;
  }
  .guess small {
    font-size: 10px;
    letter-spacing: 0.8px;
  }
  .guess > span:first-child {
    font-size: 22px;
  }
  .baseline-label {
    font-size: 10px;
    letter-spacing: 0.8px;
    margin-top: 20px;
  }
  .round-strip {
    font-size: 10px;
    letter-spacing: 0.7px;
    margin: 11px 0 20px;
  }
  .keyboard-hint {
    display: none;
  }
  .result {
    font-size: 10px;
    line-height: 1.7;
  }
  .next {
    font-size: 10px;
    padding: 10px;
  }
  .below-grid {
    grid-template-columns: 1fr;
    gap: 10px;
    margin-top: 20px;
  }
  .progress-card,
  .daily-card {
    padding: 20px;
  }
  .progress-card h3 {
    font-size: 16px;
  }
  .daily-card h3 {
    margin-top: 14px;
    font-size: 27px;
  }
  .round-button {
    margin-top: 15px;
  }
  .disclaimer {
    font-size: 10px;
  }
  .summary {
    padding: 20px;
    flex-direction: column;
    align-items: stretch;
    gap: 15px;
  }
  .summary h2 {
    font-size: 31px;
  }
  .summary p {
    font-size: 10px;
  }
  .summary-actions {
    grid-template-columns: 1fr 1fr;
    min-width: 0;
  }
  .primary,
  .secondary {
    font-size: 10px;
    padding: 11px 13px;
  }

  .chip {
    font-size: 10px;
    padding: 8px 13px;
  }
  .panel {
    padding: 19px;
  }
  .panel h2 {
    font-size: 16px;
  }
  .muted {
    font-size: 10px;
  }
  th {
    font-size: 10px;
    padding: 10px 4px;
  }
  td {
    font-size: 11px;
    padding: 13px 4px;
  }
  .player-cell {
    gap: 9px;
  }

  .profile-stats {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }
  .stat-card {
    padding: 18px;
  }
  .stat-card strong {
    font-size: 35px;
  }
  .stat-card small {
    font-size: 10px;
  }
  #profilePage .page-heading {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }
  .achievement-grid {
    gap: 10px;
  }
  .achievement {
    padding: 16px;
  }
  .achievement h3 {
    font-size: 12px;
  }
  .achievement p {
    font-size: 10px;
  }
  .section-heading h2 {
    font-size: 17px;
  }
  .history-panel .panel-heading {
    align-items: flex-start;
  }
  .history-panel .text-button {
    font-size: 10px;
    white-space: nowrap;
  }
  .toast {
    left: 50%;
    bottom: 82px;
    width: max-content;
    max-width: calc(100vw - 35px);
    padding: 13px 17px;
    font-size: 11px;
  }
  footer {
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 32px;
    padding-bottom: 20px;
  }
  footer > span {
    display: none;
  }
  footer > a {
    font-size: 10px;
  }
  .loading-state {
    min-height: 350px;
  }
  .account-actions {
    gap: 20px;
  }
  dialog {
    padding: 23px;
  }
  .modal-head h2 {
    font-size: 27px;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}

/* The play screen is a focused, viewport-sized comparison. Studio controls return after the run. */
.play-hud {
  display: none;
}
.play-view #playPage > .page-heading,
.play-view:not(.playing) #playPage > .scoreboard,
.play-view:not(.playing) #gameArea > .arena,
.play-view:not(.playing) #gameArea > .round-strip {
  display: none;
}
.post-game > h2 {
  margin: 35px 0 18px;
  font-size: 22px;
}
.post-game .mode-grid {
  margin-bottom: 20px;
}
.post-game .game-toolbar {
  flex-wrap: wrap;
}
.post-game #restartBtn {
  background: var(--gold);
  color: var(--bg);
  padding: 12px 18px;
  border-radius: 4px;
}
.final-score {
  font: clamp(75px, 10vw, 120px)/1 var(--display);
  color: var(--gold);
  margin: 15px 0;
}
.summary .final-reveal {
  max-width: 600px;
  font-size: 12px;
  line-height: 1.8;
  color: #c2cbda;
}
.summary .run-rewards {
  color: var(--gold);
  font-weight: 700;
}
.playing {
  overflow: hidden;
}
.playing .sidebar,
.playing .topbar,
.playing footer,
.playing #playPage > .disclaimer {
  display: none;
}
.playing .workspace {
  margin: 0;
}
.playing main {
  max-width: none;
  margin: 0;
  padding: 0;
}
.playing #playPage,
.playing #gameArea {
  height: 100dvh;
}
.playing .play-hud {
  position: absolute;
  inset: 0 0 auto;
  z-index: 5;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 22px 30px;
  pointer-events: none;
}
.play-brand {
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 1.5px;
  pointer-events: auto;
}
.play-brand span {
  color: var(--gold);
  margin-left: 5px;
}
.play-tools {
  display: flex;
  align-items: center;
  gap: 15px;
  pointer-events: auto;
}
.play-help,
.end-run {
  background: #0b0e144d;
  border: 1px solid #ffffff40;
  color: white;
  padding: 10px 16px;
  border-radius: 25px;
  min-height: 42px;
}
.play-help {
  width: 42px;
  padding: 8px;
  font-size: 17px;
}
.play-tools a.play-help {
  width: auto;
  font-size: 12px;
  padding: 10px 12px;
  white-space: nowrap;
  text-decoration: none;
}
.noscript {
  display: block;
  overflow-y: auto;
  line-height: 1.6;
}
.noscript h1,
.noscript p {
  max-width: 720px;
  margin: 1.5rem auto;
}
.noscript a {
  color: var(--gold);
}
.end-run {
  font-size: 11px;
}
.playing .scoreboard {
  position: absolute;
  z-index: 4;
  left: 30px;
  bottom: 24px;
  display: flex;
  gap: 30px;
  padding: 0;
  margin: 0;
  border: 0;
  background: none;
  pointer-events: none;
}
.playing .scoreboard > div {
  padding: 0;
  border: 0;
}
.playing .scoreboard > div:nth-child(4),
.playing .scoreboard .timer-stat:not(.rush-timer) {
  display: none;
}
.playing .scoreboard strong {
  font-size: 30px;
}
.playing .scoreboard small {
  font-size: 10px;
  letter-spacing: 1px;
  color: #d4dbea;
}
.playing .arena {
  height: 100dvh;
  grid-template-columns: 1fr 1fr;
  gap: 0;
}
.playing .movie-card {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 0;
  overflow: hidden;
  isolation: isolate;
  padding: 100px 30px;
}
.playing .poster {
  position: absolute;
  inset: 0;
  height: auto;
  padding: 0;
  z-index: -1;
}
.playing .poster::after {
  background: linear-gradient(0deg, #000b, #0004 50%, #0006);
}
.playing .poster-art div {
  width: 70%;
  height: 140%;
}
.playing .challenger .poster-art div {
  width: 90%;
  height: 80%;
  top: 10%;
}
.playing .challenger .poster-art div:nth-child(2) {
  width: 70%;
  height: 60%;
  top: 20%;
}
.playing .challenger .poster-art div:nth-child(3) {
  width: 50%;
  height: 40%;
  top: 30%;
}
.playing .poster-title,
.playing .poster-kicker,
.playing .poster-foot,
.playing .baseline-label {
  display: none;
}
.playing .movie-details {
  position: relative;
  width: 100%;
  max-width: 640px;
  padding: 0;
  min-height: 0;
  display: flex;
  align-items: center;
  flex-direction: column;
  text-align: center;
}
.playing .movie-meta {
  font-size: 12px;
  letter-spacing: 1.5px;
  color: #e0e5ed;
}
.playing .movie-details h2 {
  font: clamp(28px, 3.6vw, 62px)/1.1 var(--display);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  min-height: 0;
  margin: 17px 0 28px;
  overflow-wrap: anywhere;
  text-wrap: balance;
}
.playing .movie-label {
  font-size: 11px;
  letter-spacing: 2px;
  color: #e0e5ed;
}
.playing .money {
  font-size: clamp(28px, 4.2vw, 72px);
  letter-spacing: 0;
  white-space: nowrap;
  margin-top: 8px;
}
.playing .money.mystery {
  display: none;
}
.playing .guess-controls {
  flex-direction: column;
  width: min(100%, 260px);
  gap: 12px;
  margin-top: 25px;
}
.playing .guess {
  flex: auto;
  justify-content: center;
  border: 2px solid #ffffffb3;
  border-radius: 30px;
  padding: 13px 23px;
  gap: 18px;
  background: #0b0e143d;
  color: white;
  text-align: center;
}
.playing .guess > span:nth-child(2) {
  font-size: 19px;
  font-weight: 700;
}
.playing .guess small,
.playing .guess kbd {
  display: none;
}
.playing .guess.higher:hover {
  background: var(--gold);
  color: var(--bg);
  border-color: var(--gold);
}
.playing .guess.lower:hover {
  background: #ffffff;
  color: var(--bg);
  border-color: white;
}
.playing .vs {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 65px;
  height: 65px;
  border: 0;
  background: var(--text);
  color: var(--bg);
  box-shadow: 0 4px 35px #0005;
  font-size: 25px;
}
.playing .result {
  font-size: 14px;
  max-width: 420px;
  margin-top: 20px;
  text-shadow: 0 1px 5px #0009;
}
.playing .result.good {
  color: #b7ffda;
}
.playing .result.bad {
  color: #ffccc9;
}
.playing .next {
  width: min(100%, 280px);
  justify-content: center;
  gap: 20px;
  border-radius: 25px;
  font-size: 14px;
  padding: 14px 20px;
  margin-top: 20px;
}
.playing .round-strip {
  position: absolute;
  right: 30px;
  bottom: 30px;
  z-index: 4;
  margin: 0;
  color: #d4dbea;
}
.playing #roundHint {
  display: none;
}
.playing .keyboard-hint {
  font-size: 10px;
}
.playing .loading-state {
  height: 100dvh;
  border: 0;
  border-radius: 0;
}
.playing .toast:not(.error) {
  display: none;
}
.playing .toast {
  left: 50%;
  bottom: 95px;
}
@media (max-width: 700px) and (orientation: portrait) {
  .playing .arena {
    grid-template-columns: 1fr;
    grid-template-rows: 1fr 1fr;
  }
  .playing .movie-card {
    padding: 60px 24px 30px;
  }
  .playing .challenger {
    padding: 35px 24px 85px;
  }
  .playing .play-hud {
    padding: 12px 16px;
    flex-wrap: wrap;
    gap: 8px;
  }
  .play-brand {
    font-size: 9px;
    letter-spacing: 0.7px;
  }
  .play-tools {
    gap: 8px;
    margin-left: auto;
  }
  .play-help {
    width: 36px;
    min-height: 36px;
    padding: 4px;
  }
  .end-run {
    min-height: 36px;
    padding: 7px 12px;
    font-size: 10px;
  }
  .playing .movie-details {
    max-width: 500px;
  }
  .playing .movie-meta {
    font-size: 10px;
    letter-spacing: 0.6px;
  }
  .playing .movie-details h2 {
    font-size: clamp(21px, 5.8vw, 32px);
    margin: 8px 0 12px;
  }
  .playing .movie-label {
    font-size: 9px;
    letter-spacing: 1px;
    min-height: 0;
  }
  .playing .money {
    font-size: clamp(27px, 8vw, 42px);
    margin-top: 5px;
  }
  .playing .guess-controls {
    width: min(100%, 230px);
    margin-top: 14px;
    gap: 8px;
  }
  .playing .guess {
    padding: 9px 20px;
    min-height: 43px;
  }
  .playing .guess > span:nth-child(2) {
    font-size: 16px;
  }
  .playing .vs {
    width: 44px;
    height: 44px;
    font-size: 20px;
  }
  .playing .scoreboard {
    left: 16px;
    bottom: 12px;
    gap: 22px;
  }
  .playing .scoreboard small {
    font-size: 8px;
    min-height: 0;
  }
  .playing .scoreboard strong {
    font-size: 21px;
    margin-top: 2px;
  }
  .playing .round-strip {
    display: none;
  }
  .playing .result {
    font-size: 11px;
    margin-top: 12px;
  }
  .playing .next {
    font-size: 12px;
    padding: 11px 17px;
    margin-top: 12px;
  }
}
@media (max-height: 650px) {
  .playing .movie-details h2 {
    font-size: clamp(20px, 3vw, 36px);
    margin: 6px 0 10px;
  }
  .playing .movie-meta {
    font-size: 10px;
  }
  .playing .movie-label {
    font-size: 9px;
  }
  .playing .money {
    font-size: clamp(25px, 4vw, 46px);
  }
  .playing .guess-controls {
    gap: 6px;
    margin-top: 10px;
  }
  .playing .guess {
    padding: 8px 15px;
  }
  .playing .movie-card {
    padding: 60px 25px 75px;
  }
  .playing .challenger {
    padding: 30px 25px 65px;
  }
  .playing .round-strip {
    display: none;
  }
}

.match-lobby {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin: 24px 0;
}
.match-lobby select {
  padding: 12px;
  background: var(--panel, #151922);
  color: inherit;
  border: 1px solid #424650;
  border-radius: 8px;
  font: inherit;
}
/* VS shares the solo arena, posters, controls, and responsive layout. */
.match-playing #matchmakingPage,
.match-playing #matchContent {
  height: 100dvh;
}
.match-playing #matchmakingPage > :not(#matchContent) {
  display: none;
}
.match-playing .match-scoreboard {
  margin: 0;
  pointer-events: none;
}
.match-playing .match-scoreboard > div:nth-child(4) {
  display: block;
}
.match-playing .match-scoreboard small {
  max-width: 130px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.match-playing .result {
  min-height: 2.5em;
}
#matchStatus {
  line-height: 1.7;
}
@media (max-width: 700px) {
  .match-playing .match-scoreboard {
    position: fixed;
    inset: auto 0 0;
    z-index: 6;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 8px;
    padding: 10px 12px calc(10px + env(safe-area-inset-bottom, 0px));
    border-radius: 0;
    background: #0b0e14f2;
    border-top: 1px solid #ffffff26;
  }
  .match-playing .match-scoreboard > div {
    min-width: 0;
  }
  .match-playing .match-scoreboard small {
    max-width: 100%;
    color: #c4c8d0;
  }
  .match-playing .match-scoreboard strong {
    font-size: 21px;
  }
}

.match-finale {
  position: relative;
  overflow: hidden;
  text-align: center;
  display: block;
}
.match-outcome-art {
  font-size: 88px;
  line-height: 1.4;
}
.match-finale.win .match-outcome-art {
  color: var(--gold);
  animation: match-victory 1.4s ease-out both;
  text-shadow:
    -100px -20px #e4b754,
    100px -20px #e4b754;
}
.match-finale.loss .match-outcome-art {
  color: #e58b88;
  animation: match-defeat 1.2s ease-out both;
}
.match-elo {
  display: inline-flex;
  align-items: baseline;
  gap: 12px;
  margin: 16px 0;
  font-size: 20px;
}
.match-elo strong {
  font-size: 44px;
  font-variant-numeric: tabular-nums;
}
.win .elo-delta {
  color: var(--gold);
}
.loss .elo-delta {
  color: #e58b88;
}
@keyframes match-victory {
  0% {
    transform: translateY(70px) scale(0.2) rotate(-45deg);
    opacity: 0;
  }
  65% {
    transform: translateY(-12px) scale(1.2) rotate(10deg);
    opacity: 1;
  }
  100% {
    transform: translateY(0) scale(1) rotate(0);
  }
}
@keyframes match-defeat {
  0% {
    transform: translateY(-40px) rotate(-20deg);
    opacity: 0;
  }
  60% {
    transform: translateY(12px) rotate(8deg);
    opacity: 1;
  }
  100% {
    transform: translateY(0) rotate(0);
  }
}
@media (prefers-reduced-motion: reduce) {
  .match-outcome-art {
    animation: none !important;
  }
}
.reduced-motion .match-outcome-art {
  animation: none !important;
}
