@import url('/assets/play/quiz-experience.css?v=879c89a7');
body[data-page="steam-guess"] {
  --steam-purple: #8b5cf6;
  --steam-purple-bright: var(--primary);
  --steam-blue: #18213a;
  --steam-blue-soft: #202b48;
  --steam-ink: #070a13;
  --steam-card: #101626;
  --steam-line: var(--border);
  --steam-muted: var(--text-muted);
}

body[data-page="steam-guess"],
body[data-page="steam-guess"] main,
body[data-page="steam-guess"] footer {
  -webkit-user-select: text;
  user-select: text;
}

body[data-page="steam-guess"] button,
body[data-page="steam-guess"] .steam-game {
  -webkit-user-select: none;
  user-select: none;
}

.steam-main {
  position: relative;
  flex: 0 0 auto;
  min-height: 0;
  padding: 1.15rem 1rem .7rem;
  z-index: 1;
  
  flex-direction: column;
  align-items: center;
}

.steam-page {
  width: min(790px, 100%);
  margin: 0 auto;
}

.steam-page .xp-bar-container {
  margin: 0 auto .9rem;
}

.steam-heading {
  margin: 0 0 .7rem;
  text-align: center;
}

.steam-heading h1 {
  margin: 0;
  color: var(--text-main, #fff);
  font-family: var(--font-heading, "Teko"), sans-serif;
  font-size: var(--step-4);
  font-weight: 600;
  letter-spacing: .02em;
  line-height: 1;
  text-shadow: 0 0 30px rgba(139, 92, 246, .2);
}

.steam-kicker,
.steam-mode-tabs,
.mode-description {
  display: none !important;
}

.steam-heading .steam-page-intro {
  display: block;
  max-width: 640px;
  margin: .42rem auto 0;
  color: #a9b1c7;
  font-size: var(--step--1);
  line-height: 1.55;
  text-wrap: balance;
  -webkit-user-select: text;
  user-select: text;
}

.steam-progress {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .45rem;
  margin: .1rem 0 .8rem;
}

.steam-oval {
  display: inline-flex;
  min-width: 230px;
  min-height: 34px;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  padding: .35rem 1.1rem;
  border: 1px solid rgba(167, 139, 250, .22);
  border-radius: 999px;
  color: #dbe4ff;
  background: rgba(13, 17, 38, .72);
  font: 600 .78rem var(--font-main, "Outfit"), sans-serif;
  white-space: nowrap;
}

.steam-oval-seg {
  display: inline-flex;
  align-items: center;
  gap: .38rem;
}

.steam-oval-seg + .steam-oval-seg::before {
  content: "";
  width: 3px;
  height: 3px;
  margin-right: .12rem;
  border-radius: 50%;
  background: currentColor;
  opacity: .55;
}

.steam-oval-seg svg,
.steam-oval--link svg {
  width: 15px;
  height: 15px;
  flex: 0 0 auto;
}

.steam-oval-seg b,
.steam-oval--link b { font-weight: 600; }

.steam-oval--info.is-open {
  border-color: rgba(248, 113, 113, .5);
  color: #fca5a5;
  background: rgba(248, 113, 113, .08);
}

.steam-oval--info.is-done {
  border-color: rgba(52, 211, 153, .5);
  color: #6ee7b7;
  background: rgba(52, 211, 153, .08);
}

.steam-oval--link {
  cursor: pointer;
  color: #c9b8ff;
  border-color: rgba(167, 139, 250, .45);
  background: rgba(124, 92, 252, .12);
  transition: border-color .15s, color .15s, background .15s, transform .15s;
}

.steam-oval--link:hover,
.steam-oval--link:focus-visible {
  border-color: rgba(167, 139, 250, .8);
  color: #ede9fe;
  background: rgba(124, 92, 252, .22);
  transform: translateY(-1px);
}

.steam-stats-box {
  display: flex;
  width: fit-content;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  margin: .85rem auto 0;
  padding: .45rem 1.15rem;
  border: 1px solid var(--steam-line);
  border-radius: 12px;
  color: var(--steam-muted);
  background: rgba(13, 17, 38, .72);
  font: 600 .8rem var(--font-main, "Outfit"), sans-serif;
}

.steam-stats-box svg {
  width: 16px;
  height: 16px;
  flex: 0 0 auto;
  color: var(--steam-purple-bright);
}

.steam-stats-box b {
  color: #fff;
  font-size: .95rem;
  font-weight: 700;
}

/* The page opens on a Teko H1 and a one-line lede; the rank/daily pills follow the game. */
body[data-page="steam-guess"] .steam-heading { max-width: 1000px; margin: .4rem auto 1rem; padding: 0 1rem; }
body[data-page="steam-guess"] .steam-heading h1 { font-family: var(--font-display); text-transform: uppercase; text-shadow: none; color: var(--text); }
body[data-page="steam-guess"] .steam-heading .steam-page-intro { max-width: none; color: var(--text-muted); font-size: var(--step--1); font-weight: 400; }
body[data-page="steam-guess"] .steam-game + .steam-progress { margin: .9rem 0 0; }

.steam-daily-badge {
  align-self: center;
  padding: .12rem .5rem;
  border: 1px solid rgba(167, 139, 250, .28);
  border-radius: 99px;
  color: var(--steam-purple-bright);
  background: rgba(139, 92, 246, .07);
  font: 700 .58rem var(--font-main, "Outfit"), sans-serif;
  letter-spacing: .08em;
  text-transform: uppercase;
  white-space: nowrap;
}

.steam-daily-lines {
  display: grid;
  gap: .12rem;
  margin: 0 0 .35rem;
}

.steam-daily-line {
  margin: 0;
  color: var(--steam-muted);
  font-size: var(--step--1);
}

.steam-daily-line.steam-daily-rank {
  color: #c4b5fd;
  font-weight: 700;
}

.steam-daily-line.steam-daily-next {
  color: #656d83;
  font-size: var(--step--1);
}

.steam-game {
  position: relative;
  overflow: visible;
  min-height: 0; padding: 0; border: 0; border-radius: 0; background: transparent; box-shadow: none; -webkit-backdrop-filter: none; backdrop-filter: none; color: var(--quiz-ink);
}

.steam-reset--floating {
  position: absolute;
  top: .1rem;
  right: .1rem;
  z-index: 6;
  margin: 0;
  background: rgba(13, 17, 36, .92);
  box-shadow: 0 9px 24px rgba(0, 0, 0, .28);
}

.clue-header {
  min-height: 38px;
  padding-inline-end: 3rem;
}

[dir="rtl"] .steam-reset--floating {
  right: auto;
  left: .1rem;
}

.steam-game input,
.steam-game textarea {
  -webkit-user-select: text;
  user-select: text;
}

.steam-scorebar {
  display: none !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) auto;
  min-height: 56px;
  overflow: hidden;
  border-bottom: 1px solid rgba(255, 255, 255, .07);
  border-radius: 17px 17px 0 0;
  background: rgba(255, 255, 255, .018);
}

.steam-stat {
  display: flex;
  min-width: 0;
  flex-direction: column;
  justify-content: center;
  gap: .1rem;
  padding: .55rem 1rem;
  border-right: 1px solid rgba(255, 255, 255, .065);
}

.steam-stat span {
  overflow: hidden;
  color: var(--steam-muted);
  font-size: var(--step--1);
  font-weight: 800;
  letter-spacing: .13em;
  text-overflow: ellipsis;
  text-transform: uppercase;
  white-space: nowrap;
}

.steam-stat strong {
  color: #f5f3ff;
  font: 700 1rem var(--font-main, "Outfit"), sans-serif;
  font-variant-numeric: tabular-nums;
}

.steam-reset {
  align-self: center;
  width: 36px;
  height: 36px;
  margin: 0 .75rem;
  border: 1px solid rgba(167, 139, 250, .17);
  border-radius: 10px;
  color: var(--steam-muted);
  background: rgba(139, 92, 246, .045);
  cursor: pointer;
  transition: border-color .16s, color .16s, transform .16s, background .16s;
}

.steam-reset:hover {
  border-color: rgba(167, 139, 250, .55);
  color: var(--steam-purple-bright);
  background: rgba(139, 92, 246, .1);
  transform: rotate(-12deg);
}

.steam-round {
  padding: .15rem 0 0;
}

.steam-state {
  display: flex;
  min-height: 330px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  text-align: center;
}

.steam-state[hidden],
.steam-round[hidden],
[hidden] {
  display: none !important;
}

.steam-state p {
  color: var(--steam-muted);
}

.steam-loader {
  display: flex;
  height: 38px;
  align-items: center;
  gap: .45rem;
}

.steam-loader i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--steam-purple-bright);
  animation: steamBounce 1s infinite ease-in-out;
}

.steam-loader i:nth-child(2) { animation-delay: .13s; }
.steam-loader i:nth-child(3) { animation-delay: .26s; }

@keyframes steamBounce {
  0%, 60%, 100% { opacity: .3; transform: translateY(0); }
  30% { opacity: 1; transform: translateY(-9px); }
}

.steam-error-icon {
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  border: 1px solid rgba(248, 113, 113, .42);
  border-radius: 50%;
  color: var(--danger);
}

.steam-error h2 {
  margin: .75rem 0 0;
  font: 600 2rem var(--font-heading, "Teko"), sans-serif;
}

.steam-error p { margin: .15rem 0 1rem; }
.steam-action { min-width: 120px; }

.clue-header,
.answer-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.clue-header {
  gap: .9rem;
  margin: 0 .15rem .55rem;
}

.clue-label,
.answer-heading > span:first-child,
.guess-form label {
  color: var(--steam-purple-bright);
  font-size: var(--step--1);
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.clue-label b {
  margin-left: .28rem;
  color: var(--text);
  font-size: 1em;
  letter-spacing: .06em;
}

.clue-dots {
  display: flex;
  max-width: 58%;
  flex: 1;
  justify-content: flex-end;
  gap: .25rem;
}

.clue-dots i {
  display: block;
  width: min(22px, 7vw);
  height: 3px;
  border-radius: 99px;
  background: var(--surface-3);
  transition: background .2s;
}

.clue-dots i.active {
  background: var(--steam-purple-bright);
}

.review-language-note {
  margin: 0 0 .7rem;
  padding: .55rem .7rem;
  border: 1px solid rgba(251, 191, 36, .22);
  border-radius: 9px;
  color: #fcd34d;
  background: rgba(251, 191, 36, .055);
  font-size: var(--step--1);
  line-height: 1.4;
}

.reviews-list {
  display: grid;
  gap: .55rem;
}

.steam-review {
  position: relative;
  padding: .82rem .9rem .9rem;
  overflow: hidden; border: 0;
  border-radius: 13px; background: var(--quiz-raised); box-shadow: none;
  animation: reviewIn .22s ease;
  transition: border-color .2s, opacity .2s, transform .2s;
}

@keyframes reviewIn {
  from { opacity: 0; transform: translateY(7px); }
}

.steam-review.is-current {
  border-color: rgba(167, 139, 250, .62); background: var(--quiz-raised); box-shadow: none;
}

.steam-review.is-new {
  animation: reviewUnlock .32s ease;
}

@keyframes reviewUnlock {
  0% { opacity: 0; transform: translateY(12px) scale(.985); }
  100% { opacity: 1; transform: none; }
}

.review-header {
  display: flex;
  align-items: center;
  gap: .55rem;
  margin-bottom: .65rem;
}

.review-author {
  display: flex;
  min-width: 0;
  flex: 1;
  align-items: center;
  gap: .55rem;
}

.review-author-avatar {
  display: grid;
  width: 34px;
  height: 34px;
  flex: 0 0 34px;
  place-items: center;
  overflow: hidden;
  border: 1px solid rgba(167, 139, 250, .38);
  border-radius: 8px;
  color: var(--steam-purple-bright);
  background: #090d18;
}

.review-author-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.review-author-avatar i { font-size: var(--step-0); }

.review-author > div {
  display: grid;
  min-width: 0;
  gap: .02rem;
}

.review-author-name {
  overflow: hidden;
  color: #f4f1ff;
  font-size: var(--step--1);
  text-overflow: ellipsis;
  white-space: nowrap;
}

.review-author-details {
  color: var(--steam-muted);
  font-size: var(--step--1);
}

.review-vote {
  flex: 0 0 auto;
  padding: .23rem .45rem;
  border-radius: 6px;
  font-size: var(--step--1);
  font-weight: 800;
}

.review-vote.positive {
  color: #6ee7b7;
  background: rgba(52, 211, 153, .09);
}

.review-vote.negative {
  color: var(--accent);
  background: color-mix(in srgb, var(--accent) 9%, transparent);
}

.review-index { color: var(--quiz-muted);
  font: 500 1rem var(--font-heading, "Teko"), sans-serif;
}

.steam-review p {
  margin: 0;
  color: #e9e7f2;
  font: 400 .9rem/1.52 var(--font-main, "Outfit"), sans-serif;
  white-space: pre-line;
}

body[data-steam-mode="guess"] .reviews-list {
  max-height: 410px;
  padding: .1rem .12rem .15rem;
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-color: rgba(139, 92, 246, .42) transparent;
  scrollbar-width: thin;
}

body[data-steam-mode="guess"] .steam-review.is-past { opacity: 1; transform: none;
}

body[data-steam-mode="guess"] .steam-review.is-past:hover,
body[data-steam-mode="guess"] .steam-review.is-past:focus-within { opacity: 1;
}

.answer-heading {
  margin: .9rem .15rem .5rem;
}

.answer-heading > span:last-child {
  color: var(--steam-muted);
  font-size: var(--step--1);
}

.steam-choices {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: .5rem;
}

.steam-choice {
  display: flex;
  min-height: 49px;
  align-items: center;
  gap: .62rem;
  padding: .52rem .72rem; border: 1px solid var(--quiz-border);
  border-radius: 10px; color: var(--quiz-ink); background: var(--quiz-raised); box-shadow: none;
  cursor: pointer;
  text-align: left;
  transition: border-color .15s, background .15s, transform .15s;
}

.steam-choice:hover:not(:disabled) { border-color: var(--accent); background: var(--quiz-input);
  transform: translateY(-1px);
}

.steam-choice b {
  display: grid;
  width: 25px;
  height: 25px;
  flex: 0 0 25px;
  place-items: center;
  border: 1px solid rgba(167, 139, 250, .2);
  border-radius: 6px;
  color: var(--steam-muted);
  font-size: var(--step--1);
  background: rgba(0, 0, 0, .16);
}

.steam-choice span {
  font: 600 .82rem var(--font-main, "Outfit"), sans-serif;
}

.steam-choice:disabled { cursor: default; opacity: .48; }
.steam-choice.correct { opacity: 1; border-color: transparent; background: var(--quiz-correct); color: var(--quiz-correct-ink);
}
.steam-choice.wrong { opacity: 1; border-color: var(--quiz-border); background: var(--quiz-wrong); color: var(--quiz-ink);
}

body[data-steam-mode="test"] .reviews-list {
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
}

body[data-steam-mode="test"] .steam-review {
  min-width: 0;
}

body[data-steam-mode="test"] .review-index,
body[data-steam-mode="test"] .answer-heading > span:last-child {
  display: none;
}

.guess-form {
  margin-top: .7rem;
}

body[data-steam-mode="guess"] .guess-form {
  margin-top: .75rem; padding: 12px 0 0; border: 0;
  border-radius: 13px; background: transparent; box-shadow: none;
}

.guess-form label {
  display: block;
  margin: 0 0 .45rem .1rem;
}

body[data-steam-mode="guess"] .guess-form label {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}

.guess-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: .5rem;
}

.game-search-field {
  position: relative;
  min-width: 0;
}

.guess-row input {
  width: 100%;
  min-width: 0;
  height: 50px;
  padding: 0 1rem; border: 2px solid var(--quiz-border);
  border-radius: 10px;
  outline: none; color: var(--quiz-ink); background: var(--quiz-input);
  font: 500 .88rem var(--font-main, "Outfit"), sans-serif;
  transition: border-color .15s, box-shadow .15s, background .15s; font-size: 16px;
}

.guess-row input::placeholder { color: var(--quiz-muted); }

.guess-row input:focus { border-color: var(--accent); background: var(--quiz-input); box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 24%, transparent);
}

.guess-row .glow-btn {
  min-width: 142px;
  border-radius: 10px;
  background: var(--primary);
  color: var(--primary-ink);
  box-shadow: none;
}

.guess-row .glow-btn:hover:not(:disabled) {
  background: var(--primary-hover);
}

.game-search-results {
  position: absolute;
  top: calc(100% + .36rem);
  right: 0;
  left: 0;
  z-index: 30;
  max-height: 290px;
  padding: .28rem;
  overflow-y: auto; border: 1px solid var(--quiz-border);
  border-radius: 11px; background: var(--quiz-raised);
  box-shadow: 0 18px 42px rgba(0, 0, 0, .58);
}

.game-search-option {
  display: flex;
  width: 100%;
  align-items: center;
  gap: .6rem;
  padding: .65rem .7rem;
  border: 0;
  border-radius: 8px;
  color: #f4f1ff;
  background: transparent;
  cursor: pointer;
  font: 600 .79rem var(--font-main, "Outfit"), sans-serif;
  text-align: left;
}

.game-search-option i {
  width: 16px;
  color: var(--steam-purple-bright);
  opacity: .78;
}

.game-search-option:hover,
.game-search-option.active {
  background: rgba(139, 92, 246, .12);
}

.game-search-status {
  padding: .75rem;
  color: var(--steam-muted);
  font-size: var(--step--1);
  text-align: center;
}

.guess-message {
  min-height: 1rem;
  margin: .34rem .1rem 0;
  color: var(--steam-muted);
  font-size: var(--step--1);
}

.guess-message.error { color: var(--danger); }
.guess-message.info { color: var(--steam-purple-bright); }
.guess-message.wrong { color: #fbbf24; }

.guess-attempts {
  display: grid;
  gap: .32rem;
  margin: .25rem 0 0;
}

.guess-attempts span {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: .45rem;
  padding: .42rem .58rem;
  overflow: hidden;
  border: 1px solid color-mix(in srgb, var(--accent) 26%, transparent);
  border-radius: 8px;
  color: var(--accent);
  background: rgba(127, 29, 29, .105);
  font-size: var(--step--1);
  text-overflow: ellipsis;
  white-space: nowrap;
}

.guess-attempts span i {
  display: grid;
  width: 17px;
  height: 17px;
  flex: 0 0 17px;
  place-items: center;
  border-radius: 50%;
  color: #fecdd3;
  background: color-mix(in srgb, var(--accent) 13%, transparent);
  font-size: var(--step--1);
}

.steam-give-up {
  display: flex;
  width: fit-content;
  min-height: 36px;
  align-items: center;
  justify-content: center;
  gap: .42rem;
  margin: .55rem auto 0;
  padding: .48rem .78rem;
  border: 1px solid color-mix(in srgb, var(--accent) 30%, transparent);
  border-radius: 9px;
  color: var(--accent);
  background: rgba(127, 29, 29, .11);
  cursor: pointer;
  font: 700 .7rem var(--font-main, "Outfit"), sans-serif;
  transition: border-color .15s, color .15s, background .15s, transform .15s;
}

.steam-give-up[hidden],
body[data-steam-mode="test"] .steam-give-up { display: none; }

.steam-give-up:hover:not(:disabled) {
  border-color: color-mix(in srgb, var(--accent) 58%, transparent);
  color: #ffe4e6;
  background: rgba(190, 24, 93, .15);
  transform: translateY(-1px);
}

.steam-give-up:disabled { cursor: wait; opacity: .65; }

.more-review {
  display: flex;
  width: fit-content;
  min-height: 37px;
  align-items: center;
  justify-content: center;
  gap: .34rem;
  margin: .65rem auto 0;
  padding: .5rem .75rem;
  border: 1px solid rgba(167, 139, 250, .22);
  border-radius: 9px;
  color: #c4b5fd;
  background: rgba(139, 92, 246, .055);
  cursor: pointer;
}

.more-review:hover {
  border-color: rgba(167, 139, 250, .52);
  color: #ede9fe;
  background: rgba(139, 92, 246, .1);
}

.more-review span { font-size: var(--step--1); font-weight: 700; }
.more-review small { color: var(--steam-muted); font-size: var(--step--1); }
.more-review:disabled { cursor: wait; opacity: .62; }

.steam-result {
  display: grid;
  grid-template-columns: 190px minmax(0, 1fr);
  gap: .9rem;
  align-items: center;
  margin-top: .85rem; padding: 16px 0; border: 0; border-radius: 0; background: transparent; border-block: 1px solid var(--quiz-divider);
}

.steam-result.incorrect {
  border-color: color-mix(in srgb, var(--danger) 30%, transparent); background: transparent;
}

.steam-result.no-image { grid-template-columns: 1fr; }

.steam-result img {
  display: block;
  width: 190px;
  max-width: 100%;
  aspect-ratio: 460 / 215;
  padding: 2px;
  border: 1px solid rgba(255, 255, 255, .07);
  border-radius: 8px;
  object-fit: contain;
  object-position: center;
  background: #070a13;
}

.steam-try-games {
  width: min(1080px, calc(100% - 2rem));
  margin: .7rem auto 0;
  text-align: center;
}

.steam-try-games > h2,
.steam-try-games > h3 {
  margin: 0 0 .55rem;
  color: #f4f1ff;
  font: 600 1.45rem/1 var(--font-heading, "Teko"), sans-serif;
  letter-spacing: .02em;
  text-align: center;
}

.steam-try-games-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: .8rem;
}

.steam-try-game {
  display: grid;
  width: 58px;
  height: 58px;
  flex: 0 0 58px;
  place-items: center;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, .22);
  border-radius: 16px;
  color: #fff;
  background: linear-gradient(135deg, var(--try-g1), var(--try-g2));
  box-shadow: 0 5px 16px rgba(0, 0, 0, .3), inset 0 1px rgba(255, 255, 255, .26);
  text-decoration: none;
  transition: filter .16s, transform .16s, box-shadow .16s;
}

.steam-try-game:hover,
.steam-try-game:focus-visible {
  outline: 2px solid rgba(255, 255, 255, .82);
  outline-offset: 3px;
  filter: brightness(1.08);
  box-shadow: 0 10px 26px var(--try-glow), inset 0 1px rgba(255, 255, 255, .3);
  transform: translateY(-4px) scale(1.07);
}

.steam-try-game > i {
  color: #fff;
  font-size: var(--step-1);
  filter: drop-shadow(0 1px 2px rgba(0, 0, 0, .35));
}

.result-copy { min-width: 0; }

.result-copy > span {
  color: #6ee7b7;
  font-size: var(--step--1);
  font-weight: 900;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.steam-result.incorrect .result-copy > span { color: #ffd0d8; }

.result-copy h2 {
  margin: .1rem 0;
  overflow-wrap: anywhere;
  color: #fff;
  font: 600 1.8rem/1 var(--font-heading, "Teko"), sans-serif;
}

.result-copy p {
  margin: 0 0 .32rem; color: var(--quiz-ink);
  font-size: var(--step--1);
}

.result-copy .result-xp { color: #6ee7b7; font-weight: 700; }
.result-copy a { color: var(--steam-purple-bright); font-size: var(--step--1); text-decoration: none; }
.result-copy a:hover { text-decoration: underline; }

.steam-result-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .55rem .8rem;
  margin-top: .42rem;
}

.steam-share {
  display: inline-flex;
  min-height: 34px;
  align-items: center;
  justify-content: center;
  gap: .42rem;
  padding: .42rem .7rem;
  border: 1px solid rgba(167, 139, 250, .34);
  border-radius: 8px;
  color: #ddd6fe;
  background: rgba(139, 92, 246, .1);
  cursor: pointer;
  font: 750 .68rem var(--font-main, "Outfit"), sans-serif;
  transition: border-color .15s, color .15s, background .15s, transform .15s;
}

.steam-share[hidden] { display: none; }

.steam-share:hover:not(:disabled) {
  border-color: rgba(103, 232, 249, .58);
  color: #ecfeff;
  background: rgba(34, 211, 238, .1);
  transform: translateY(-1px);
}

.steam-share:disabled { cursor: wait; opacity: .68; }

.steam-next {
  width: 100%;
  margin-top: .62rem;
  border-radius: 10px;
  background: var(--primary);
  color: var(--primary-ink);
}

.steam-disclaimer {
  margin: .75rem auto 0;
  color: #656d83;
  font-size: var(--step--1);
  text-align: center;
}

[dir="rtl"] .steam-choice,
[dir="rtl"] .game-search-option { text-align: right; }
[dir="rtl"] .clue-label b { margin-right: .28rem; margin-left: 0; }

.steam-reset:focus-visible,
.steam-choice:focus-visible,
.game-search-option:focus-visible,
.more-review:focus-visible,
.steam-give-up:focus-visible,
.steam-share:focus-visible,
.steam-oval:focus-visible,
.guess-row .glow-btn:focus-visible,
.steam-next:focus-visible {
  outline: 2px solid #c4b5fd;
  outline-offset: 3px;
  box-shadow: 0 0 0 5px rgba(139, 92, 246, .18);
}

@media (max-width: 680px) {
  .steam-main { padding: .75rem .55rem 2rem; }
  .steam-heading h1 { font-size: var(--step-4); }
  .steam-scorebar { min-height: 58px; }
  .steam-stat { padding: .48rem .56rem; }
  .steam-stat span { font-size: var(--step--1); letter-spacing: .08em; }
  .steam-stat strong { font-size: var(--step--1); }
  .steam-reset { width: 34px; height: 34px; margin: 0 .55rem; }
  .steam-round { padding: .75rem; }
  .clue-dots { max-width: 54%; gap: .18rem; }
  .clue-dots i { width: min(15px, 4vw); }
  .steam-review { padding: .72rem .75rem .78rem; }
  .steam-review p { font-size: var(--step--1); line-height: 1.46; }
  .review-vote { max-width: 95px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .review-author-name { max-width: 155px; }
  body[data-steam-mode="test"] .reviews-list,
  .steam-choices { grid-template-columns: 1fr; }
  .guess-row { grid-template-columns: 1fr; }
  .guess-row .glow-btn { min-height: 44px; }
  .steam-result { grid-template-columns: 1fr; }
  .steam-result img { width: 100%; }
  .steam-try-games { width: calc(100% - 1.1rem); }
}

@media (max-width: 390px) {
  .review-header { flex-wrap: wrap; }
  .review-author { flex-basis: calc(100% - 36px); }
  .review-vote { order: 3; margin-left: 40px; }
  [dir="rtl"] .review-vote { margin-right: 40px; margin-left: 0; }
  .review-index { margin-left: auto; }
}

@media (prefers-reduced-motion: reduce) {
  .steam-loader i,
  .steam-review,
  .steam-review.is-new { animation: none; }
  .steam-reset,
  .steam-choice,
  .steam-try-game { transition: none; }
}



.steam-daily-flow {
  display: grid;
  grid-template-columns: 190px minmax(0, 1fr);
  gap: .9rem;
  align-items: center;
  margin-top: .85rem;
  padding: .7rem;
  border: 1px solid rgba(167, 139, 250, .3);
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(139, 92, 246, .08), rgba(16, 22, 38, .85));
}

.steam-daily-flow[hidden] { display: none; }

.steam-daily-flow .daily-flow-capsule {
  display: block;
  width: 190px;
  max-width: 100%;
  aspect-ratio: 460 / 215;
  padding: 2px;
  border: 1px solid rgba(255, 255, 255, .07);
  border-radius: 8px;
  object-fit: contain;
  object-position: center;
  background: #070a13;
}

.daily-flow-copy { min-width: 0; }

.daily-flow-kicker {
  color: var(--steam-purple-bright);
  font-size: var(--step--1);
  font-weight: 900;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.daily-flow-copy h2 {
  margin: .1rem 0;
  overflow-wrap: anywhere;
  color: #fff;
  font: 600 1.8rem/1 var(--font-heading, "Teko"), sans-serif;
}

.daily-flow-copy p {
  margin: 0 0 .42rem;
  color: var(--steam-muted);
  font-size: var(--step--1);
}

.daily-flow-next { width: 100%; border-radius: 10px; background: var(--primary);
  color: var(--primary-ink); }

.steam-daily-flow .daily-finale { grid-column: 1 / -1; }

.daily-finale-total {
  color: #f4f1ff !important;
  font-size: .95rem !important;
  font-weight: 800;
}

.daily-finale-rows {
  display: grid;
  gap: .3rem;
  margin: 0 0 .5rem;
  padding: 0;
  list-style: none;
}

.daily-finale-row {
  display: flex;
  align-items: center;
  gap: .55rem;
  padding: .28rem .4rem;
  border: 1px solid rgba(255, 255, 255, .06);
  border-radius: 8px;
  background: rgba(7, 10, 19, .5);
}

.daily-finale-row img {
  width: 69px;
  aspect-ratio: 460 / 215;
  flex: 0 0 auto;
  border-radius: 4px;
  object-fit: contain;
  background: #070a13;
}

.daily-finale-name {
  min-width: 0;
  overflow: hidden;
  color: #c9cfe4;
  font-size: var(--step--1);
  text-overflow: ellipsis;
  white-space: nowrap;
}

.daily-finale-points { margin-inline-start: auto; color: #6ee7b7; font-size: var(--step--1); }
.daily-finale-points.is-zero { color: #656d83; }

.daily-finale-rank { color: #c4b5fd !important; font-weight: 700; }

.daily-finale-teaser {
  display: inline-block;
  margin: 0 0 .5rem;
  color: var(--steam-purple-bright);
  font-size: var(--step--1);
  text-decoration: none;
}

.daily-finale-teaser:hover { text-decoration: underline; }

.daily-finale-share { width: 100%; }

@media (max-width: 560px) {
  .steam-daily-flow { grid-template-columns: 1fr; }
  .steam-daily-flow .daily-flow-capsule { width: 100%; }
}


.steam-progress[hidden],
.steam-oval[hidden],
.steam-oval-seg[hidden] { display: none; }


/* ── mobile: tidy clue row + natural page scrolling (20260801a) ───────── */
@media (max-width: 640px) {
  .clue-header {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    row-gap: .55rem;
    align-items: center;
    margin: 0 .15rem .7rem;
    padding-inline-end: 2.9rem; /* stay clear of the floating restart button */
  }
  .clue-label { white-space: nowrap; }
  .steam-daily-badge {
    justify-self: start;
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    padding: .3rem .78rem;
    font-size: var(--step--1);
  }
  .clue-dots {
    max-width: 100%;
    flex: none;
    justify-content: space-between;
    gap: .3rem;
  }
  .clue-dots i { flex: 1; width: auto; max-width: 28px; height: 4px; }

  /* reviews scroll with the page — no trapped inner scroller on touch */
  body[data-steam-mode="guess"] .reviews-list {
    max-height: none;
    overflow-y: visible;
    overscroll-behavior: auto;
  }
}

/* Touch play keeps clues readable and every game action comfortable to tap. */
@media (max-width: 760px), (pointer: coarse) {
  .steam-reset {
    width: 44px;
    height: 44px;
  }
  .steam-reset--floating { margin: 0; }
  .clue-header {
    min-height: 44px;
    padding-inline-end: 3.25rem;
  }
  .clue-label {
    min-width: 0;
    white-space: normal;
    overflow-wrap: anywhere;
  }
  .steam-review p {
    font-size: 1rem;
    line-height: 1.6;
    overflow-wrap: anywhere;
    -webkit-user-select: text;
    user-select: text;
  }
  .review-header { flex-wrap: wrap; }
  .review-author { flex: 1 1 calc(100% - 36px); }
  .review-vote {
    order: 3;
    max-width: calc(100% - 34px - .55rem);
    margin: 0;
    margin-inline-start: calc(34px + .55rem);
    overflow: visible;
    font-size: .875rem;
    text-overflow: clip;
    white-space: normal;
    overflow-wrap: anywhere;
  }
  [dir="rtl"] .review-vote {
    margin: 0;
    margin-inline-start: calc(34px + .55rem);
  }
  .review-index { margin-inline-start: auto; }
  .steam-choice span,
  .game-search-option {
    font-size: 1rem;
    line-height: 1.45;
  }
  .steam-choice span,
  .game-search-option span {
    min-width: 0;
    overflow-wrap: anywhere;
  }
  .game-search-option {
    min-height: 44px;
    text-align: start;
  }
  .game-search-option i { flex: 0 0 16px; }
  .guess-row input { font-size: 1rem; }
  .steam-oval--link,
  .more-review,
  .steam-give-up,
  .steam-share,
  .steam-result-actions a {
    min-height: 44px;
    max-width: 100%;
    font-size: .875rem;
    white-space: normal;
    overflow-wrap: anywhere;
  }
  .steam-result-actions a {
    display: inline-flex;
    min-inline-size: 44px;
    align-items: center;
  }
  .more-review {
    display: grid;
    width: 100%;
    grid-template-columns: auto minmax(0, 1fr);
    text-align: center;
  }
  .more-review > i { grid-column: 1; }
  .more-review > span { grid-column: 2; font-size: .875rem; }
  .more-review > small { grid-column: 1 / -1; font-size: .875rem; }
  .game-search-results {
    position: static;
    max-height: 38dvh;
    margin-block-start: .4rem;
    overscroll-behavior: contain;
  }
  .guess-row { align-items: start; }
  body[data-steam-mode="guess"] .reviews-list {
    max-height: none;
    overflow-y: visible;
    overscroll-behavior: auto;
  }
}
@media (hover: none), (pointer: coarse) {
  .steam-reset:hover,
  .steam-choice:hover:not(:disabled),
  .steam-give-up:hover:not(:disabled),
  .steam-share:hover:not(:disabled),
  .steam-oval--link:hover { transform: none; }
}


/* Embedded Guess rounds share the measured stage: controls keep their tap targets,
   while review text uses the remaining height and stays fully scrollable. */
html[data-embed] body[data-steam-mode="guess"] .steam-page:has(.guess-form:not([hidden])) {
  block-size: var(--play-slot-h, 100%);
  min-block-size: 0;
  grid-template-rows: minmax(0, 1fr);
}
html[data-embed] body[data-steam-mode="guess"] .steam-round:has(.guess-form:not([hidden])) {
  display: flex;
  flex-direction: column;
  block-size: 100%;
  min-block-size: 0;
  padding: 0;
}
html[data-embed] body[data-steam-mode="guess"] .steam-round:has(.guess-form:not([hidden])) > * {
  flex: none;
}
html[data-embed] body[data-steam-mode="guess"] .steam-round:has(.guess-form:not([hidden])) > .reviews-list {
  flex: 1 1 auto;
  min-block-size: 0;
  max-block-size: none;
  grid-auto-rows: max-content;
  align-content: start;
  overflow-y: auto;
  overscroll-behavior: contain;
}
/* The quiz layout wraps the list in .quiz-clues (assets/play/quiz-experience.css): the wrapper takes that height. */
html[data-embed] body[data-steam-mode="guess"] .steam-round:has(.guess-form:not([hidden])) > .quiz-clues {
  flex: 1 1 0;
}

/* Steam's familiar author / recommendation / review hierarchy. Only real profile
   details are shown; the quiz never invents dates or helpful-vote counts. */
body[data-page="steam-guess"] .steam-review {
  display: grid;
  grid-template-columns: 156px minmax(0, 1fr);
  gap: 20px;
  padding: 20px;
  border: 1px solid #314253;
  border-radius: 3px;
  background: #16202d;
  color: #d6d7d8;
  animation: none;
  font-family: Arial, Helvetica, sans-serif;
}
body[data-page="steam-guess"] .steam-review.is-current { background: #16202d; border-color: #42596c; }
body[data-page="steam-guess"] .review-author {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  gap: 10px;
  min-width: 0;
}
body[data-page="steam-guess"] .review-author-avatar {
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  border: 1px solid #54758d;
  border-radius: 1px;
  background: #263c50;
  color: #c6d9e6;
}
body[data-page="steam-guess"] .review-author-avatar i { font-size: 24px; }
body[data-page="steam-guess"] .review-author-name {
  max-width: 100%;
  color: #c1d4e2;
  font: 600 13px/1.45 Arial, Helvetica, sans-serif;
  overflow-wrap: anywhere;
  white-space: normal;
}
body[data-page="steam-guess"] .review-content { min-width: 0; }
body[data-page="steam-guess"] .review-header {
  justify-content: flex-start;
  flex-wrap: nowrap;
  gap: 10px;
  margin: 0 0 16px;
  padding: 0;
  background: #101822;
}
body[data-page="steam-guess"] .review-thumb {
  display: grid;
  place-items: center;
  width: 44px;
  height: 48px;
  flex: 0 0 44px;
  background: #28475e;
  color: #6bb6e3;
}
body[data-page="steam-guess"] .review-thumb svg { width: 25px; height: 25px; }
body[data-page="steam-guess"] .review-header.negative .review-thumb { background: #593e3e; color: #e09999; }
body[data-page="steam-guess"] .review-header.negative .review-thumb svg { transform: rotate(180deg); }
body[data-page="steam-guess"] .review-verdict { display: grid; gap: 3px; min-width: 0; padding: 7px 10px 7px 0; }
body[data-page="steam-guess"] .review-vote {
  order: 0;
  max-width: none;
  margin: 0;
  padding: 0;
  color: #edf1f5;
  background: transparent;
  border-radius: 0;
  font: 600 14px/1.25 Arial, Helvetica, sans-serif;
  white-space: normal;
  overflow: visible;
  overflow-wrap: anywhere;
}
body[data-page="steam-guess"] .review-author-details { color: #acb8c4; font: 12px/1.4 Arial, Helvetica, sans-serif; }
body[data-page="steam-guess"] .steam-review p { color: #d6d7d8; font: 400 15px/1.65 Arial, Helvetica, sans-serif; overflow-wrap: anywhere; user-select: text; }
body[data-page="steam-guess"] .reviews-list { grid-template-columns: minmax(0, 1fr); padding: 0; gap: 12px; scrollbar-color: #54758d #101822; }
body[data-page="steam-guess"] .steam-review ::selection { color: #fff; background: #386384; }

body[data-page="steam-guess"][data-steam-mode="guess"] .guess-form { margin-block-start: 0; padding: 0; }
body[data-page="steam-guess"] .quiz-experience .quiz-round:not([hidden]) { gap: 12px; }

/* One uninterrupted read → type → lock-in path. Skip remains a named 48px
   control next to Lock in, including RTL pages. */
body[data-page="steam-guess"] .quiz-experience .steam-answer-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto 48px;
  align-items: start;
  gap: 8px;
  direction: ltr;
}
[dir="rtl"] body[data-page="steam-guess"] .steam-answer-row > * { direction: rtl; }
body[data-page="steam-guess"] .steam-answer-row input { height: 48px; }
body[data-page="steam-guess"] .quiz-experience .steam-answer-row .glow-btn { min-height: 48px; padding-inline: 18px; }
body[data-page="steam-guess"] .quiz-experience .steam-answer-row .steam-skip {
  display: grid;
  grid-template-columns: 1fr;
  place-items: center;
  width: 48px;
  height: 48px;
  min-width: 48px;
  min-height: 48px;
  margin: 0;
  padding: 0;
  border: 1px solid var(--quiz-border);
  border-radius: 10px;
  color: var(--quiz-ink);
  background: var(--quiz-input);
}
body[data-page="steam-guess"] .steam-skip:hover:not(:disabled) { border-color: var(--primary); background: var(--quiz-raised); }
body[data-page="steam-guess"] .steam-skip:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; }
body[data-page="steam-guess"] .steam-skip > i { grid-area: 1 / 1; font-size: 18px; }
body[data-page="steam-guess"] .steam-skip > :is(span, small) {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
body[data-page="steam-guess"] .guess-message:empty { display: none; }
body[data-page="steam-guess"] .quiz-secondary:not(:has(button:not([hidden]))) { display: none; }
body[data-page="steam-guess"] .steam-session-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 4px 16px;
  margin-block-start: 12px;
  padding-block-start: 12px;
  border-block-start: 1px solid var(--quiz-divider);
  color: var(--text-muted);
}
html[data-embed] body[data-page="steam-guess"] .steam-session-meta { display: none; }
body[data-page="steam-guess"] .steam-progress { flex-direction: row; flex-wrap: wrap; justify-content: flex-start; gap: 0 12px; margin: 0; }
body[data-page="steam-guess"] .steam-oval {
  min-width: 0;
  min-height: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: var(--text-muted);
  font-size: 12px;
  font-weight: 400;
  white-space: normal;
}
body[data-page="steam-guess"] .steam-oval--link { min-height: 44px; color: var(--primary); font-size: 13px; text-align: start; transform: none; }
body[data-page="steam-guess"] .steam-oval--link:hover { text-decoration: underline; text-underline-offset: 3px; }
body[data-page="steam-guess"] .steam-oval--info.is-done { color: var(--success); }
body[data-page="steam-guess"] .steam-stats-box { margin: 0; padding: 0; border: 0; border-radius: 0; background: transparent; font-size: 12px; font-weight: 400; }
body[data-page="steam-guess"] .steam-stats-box b { font-size: 13px; font-variant-numeric: tabular-nums; }
body[data-page="steam-guess"] .steam-stats-box svg { width: 14px; height: 14px; color: var(--text-muted); }
body[data-page="steam-guess"] .quiz-answer-dock > .quiz-secondary { margin-block-start: 6px; }

@media (max-width: 600px) {
  body[data-page="steam-guess"] .steam-round { padding: 0; }
  body[data-page="steam-guess"] .clue-header { display: flex; margin-block-end: 10px; }
  body[data-page="steam-guess"] .clue-dots { display: none; }
  body[data-page="steam-guess"] .steam-review { grid-template-columns: minmax(0, 1fr); gap: 12px; padding: 14px; }
  body[data-page="steam-guess"] .review-author { flex-direction: row; align-items: center; gap: 10px; }
  body[data-page="steam-guess"] .review-author-avatar { width: 32px; height: 32px; flex-basis: 32px; }
  body[data-page="steam-guess"] .review-author-avatar i { font-size: 20px; }
  body[data-page="steam-guess"] .review-header { margin-block-end: 12px; }
  body[data-page="steam-guess"] .steam-review p { font-size: 15px; line-height: 1.55; }
  body[data-page="steam-guess"] .quiz-experience .steam-answer-row { grid-template-columns: minmax(0, 1fr) 48px; }
  body[data-page="steam-guess"] .steam-answer-row .game-search-field { grid-column: 1 / -1; }
  body[data-page="steam-guess"] .quiz-experience .steam-answer-row .glow-btn { min-width: 0; max-inline-size: none; grid-column: 1; }
  body[data-page="steam-guess"] .quiz-experience .steam-answer-row .steam-skip { grid-column: 2; }
  body[data-page="steam-guess"] .steam-session-meta { gap: 4px; margin-block-start: 8px; padding-block-start: 8px; }
  body[data-page="steam-guess"] .steam-progress { gap: 0 8px; }
}
@media (prefers-reduced-motion: reduce) {
  body[data-page="steam-guess"] .steam-review.is-new { animation: none; }
}

/* Center the inline Steam quiz heading over the review column. */
body[data-page="steam-guess"] .play-cover--direct .play-cover__text {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
body[data-page="steam-guess"] .play-cover--direct .play-cover__tagline {
  text-align: center !important;
}
