:root {
  --lime: #1db954;
  --cta-yellow: #ffd84d;
}

.button-lime:hover {
  background: #ffe779;
}

.live-dot,
.online-dot {
  box-shadow: 0 0 10px rgba(29, 185, 84, .32);
}

.hero-glow {
  background: radial-gradient(circle, rgba(29, 185, 84, .11), rgba(29, 185, 84, .04) 38%, transparent 69%);
}

.orbit {
  border-color: rgba(29, 185, 84, .1);
}

.week-pill,
.status-pill {
  color: #7de2a0;
  background: rgba(29, 185, 84, .13);
}

.week-pill i,
.status-pill i {
  background: var(--lime);
}

.answer-selected {
  border-color: rgba(29, 185, 84, .7);
  background: rgba(29, 185, 84, .1);
}

.answer-selected > span {
  color: #11140f;
}

.tag-side .mini-headphones {
  font-size: 21px;
  filter: saturate(.65);
}

.featured-audio {
  background: linear-gradient(140deg, #30342e, #1d211b 70%);
}

.featured-audio .feature-art {
  color: rgba(29, 185, 84, .2);
  font-size: 88px;
  right: 12px;
  top: 28px;
}

.featured-audio .feature-label,
.featured-audio .feature-footer .feature-arrow {
  color: #7de2a0;
}

.button-lime {
  position: relative;
  overflow: hidden;
  min-height: 44px;
  padding: 0 22px;
  color: #17170f;
  background: var(--cta-yellow);
  border: 1px solid rgba(255, 255, 255, .38);
  border-radius: 999px;
  font-weight: 800;
  letter-spacing: .035em;
  box-shadow: 0 4px 18px rgba(255, 216, 77, .18);
  transition: transform .22s ease, background-color .22s ease, box-shadow .22s ease;
}

.button-lime::after {
  content: "";
  position: absolute;
  inset: 0;
  transform: translateX(-130%) skewX(-18deg);
  background: linear-gradient(105deg, transparent 30%, rgba(255, 255, 255, .38) 50%, transparent 70%);
  transition: transform .55s ease;
  pointer-events: none;
}

.button-lime:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 255, 255, .62);
  box-shadow: 0 8px 24px rgba(255, 216, 77, .28);
}

.button-lime:hover::after {
  transform: translateX(130%) skewX(-18deg);
}

.button-lime:active {
  transform: translateY(0) scale(.98);
}

.top-actions .button-lime {
  color: #17170f;
  font-size: 11px;
  font-weight: 800;
  min-height: 38px;
  padding: 0 19px;
}

.arena-copy .button-outline {
  border-radius: 999px;
  font-weight: 800;
  letter-spacing: .035em;
}

.leader-you button {
  border-radius: 999px;
  padding: 8px 13px;
  background: var(--cta-yellow);
  color: #17170f;
  font-weight: 800;
  letter-spacing: .035em;
}

.button-lime:focus-visible,
.button-outline:focus-visible,
.tile-arrow:focus-visible {
  outline: 2px solid #ffe779;
  outline-offset: 3px;
}

.cta-section {
  background: #151713;
  border-top: 1px solid #292c26;
}

.cta-orb {
  display: none;
}

.password-note {
  display: block;
  margin-top: 7px;
  line-height: 1.45;
}

.auth-modal.onboarding-open {
  width: min(100%, 520px);
  max-height: min(94dvh, 820px);
  padding: 18px 26px 15px;
}

.auth-modal.onboarding-open .modal-brand {
  margin-bottom: 9px;
}

.auth-modal.onboarding-open .auth-subtitle {
  margin-bottom: 9px;
}

.onboard-fields {
  grid-template-columns: 1fr 1fr;
  gap: 6px 12px;
}

.onboard-fields > div:nth-child(n + 3),
.onboard-fields > .consent-options,
.onboard-fields > .auth-error,
.onboard-fields > .auth-full {
  grid-column: 1 / -1;
}

.onboard-fields > div:nth-child(3) .field-label,
.onboard-fields > div:nth-child(4) .field-label {
  margin-bottom: 4px;
}

.avatar-grid {
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 5px;
  margin-top: 5px;
}

.avatar-choice {
  width: 100%;
  height: 31px;
  overflow: hidden;
  padding: 1px;
  font-size: 19px;
}

.avatar-choice svg {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: 4px;
}

.avatar-choice {
  display: grid;
  place-items: center;
}

.avatar-choice > span {
  display: block;
  font-family: "Apple Color Emoji", "Segoe UI Emoji", "Noto Color Emoji", sans-serif;
  font-size: 22px;
  line-height: 1;
}

.topic-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 5px;
  margin: 5px 0 2px;
}

.topic-choice {
  min-width: 0;
  min-height: 29px;
  padding: 6px 7px;
  font-size: 9px;
  line-height: 1.25;
}

.topic-choice span {
  margin-right: 3px;
}

.consent-options {
  display: grid;
  gap: 8px;
  margin: 2px 0 0;
}

.consent-choice {
  display: grid;
  grid-template-columns: 15px minmax(0, 1fr);
  align-items: start;
  gap: 8px;
  color: #a9aea1;
  font-size: 9px;
  line-height: 1.5;
  cursor: pointer;
}

.consent-choice input {
  appearance: none;
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.onboard-fields .consent-choice input {
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
}

.consent-choice span {
  position: relative;
  grid-column: 2;
}

.consent-choice span::before {
  content: "";
  position: absolute;
  top: 1px;
  left: -23px;
  width: 15px;
  height: 15px;
  border: 1px solid #62685b;
  border-radius: 4px;
  background: #11130f;
  box-sizing: border-box;
}

.consent-choice span::after {
  content: "";
  position: absolute;
  top: 5px;
  left: -19px;
  width: 7px;
  height: 4px;
  border: solid #121711;
  border-width: 0 0 2px 2px;
  transform: rotate(-45deg) scale(0);
  transition: transform .12s ease-in-out;
}

.consent-choice input:checked + span::before {
  border-color: #1db954;
  background: #1db954;
}

.consent-choice input:checked + span::after {
  transform: rotate(-45deg) scale(1);
}

.consent-choice input:focus-visible {
  clip: auto;
  width: 15px;
  height: 15px;
  margin: 1px 0 0;
  outline: 2px solid #1db954;
  outline-offset: 2px;
}

.consent-choice input:focus-visible + span::before {
  outline: 2px solid #1db954;
  outline-offset: 2px;
}

.consent-choice a {
  color: #7de2a0;
  text-underline-offset: 2px;
}

.onboard-fields .auth-full {
  margin-top: 1px;
}

.quiz-card {
  width: 326px;
  padding: 19px 20px 16px;
  transform: rotate(1deg);
}

.quiz-card h2 {
  max-width: 270px;
  font-size: 20px;
  line-height: 1.3;
  margin: 17px 0 14px;
}

.answer-list {
  gap: 6px;
}

.answer-option {
  height: 30px;
  border-radius: 5px;
  background: rgba(255, 255, 255, .018);
}

.answer-selected {
  color: #dcefe2;
  border-color: rgba(29, 185, 84, .58);
  background: rgba(29, 185, 84, .12);
  box-shadow: inset 0 0 18px rgba(29, 185, 84, .045);
}

.answer-selected > span {
  color: #101711;
  background: #1db954;
}

.answer-selected > b {
  color: #56d982;
}

.card-bottom {
  align-items: center;
  padding-top: 10px;
  margin-top: 11px;
}

.points-earned {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  border: 1px solid rgba(29, 185, 84, .3);
  border-radius: 20px;
  padding: 6px 9px;
  color: #77e39a !important;
  background: rgba(29, 185, 84, .12);
  font-size: 10px !important;
  white-space: nowrap;
}

.points-earned span {
  font-size: 9px;
}

.achievement-tag {
  left: 2%;
  bottom: 26px;
  padding: 9px 12px;
}

.achievement-avatar {
  position: relative;
  display: grid;
  place-items: center;
  width: 31px;
  height: 31px;
  border: 1px solid rgba(255, 216, 77, .42);
  border-radius: 50%;
  background: linear-gradient(145deg, #51452a, #302a20);
  font-size: 17px;
}

.achievement-avatar i {
  position: absolute;
  display: grid;
  place-items: center;
  right: -3px;
  bottom: -2px;
  width: 13px;
  height: 13px;
  border: 1px solid #20221e;
  border-radius: 50%;
  background: #1db954;
  color: #101711;
  font-size: 8px;
  font-style: normal;
  font-weight: 800;
}

@media (prefers-reduced-motion: reduce) {
  .button-lime,
  .button-lime::after {
    transition: none;
  }
}

.topbar[hidden],
#landing-main[hidden],
.footer[hidden],
#player-dashboard[hidden],
.city-other-field[hidden] {
  display: none !important;
}

.player-dashboard {
  min-height: 100vh;
  background:
    radial-gradient(ellipse at 50% -18%, rgba(29, 185, 84, .13), transparent 48%),
    #11130f;
}

.dashboard-shell {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 34px 50px;
}

.dashboard-top {
  position: sticky;
  top: 0;
  z-index: 5;
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid #282b25;
  background: rgba(17, 19, 15, .94);
  backdrop-filter: blur(14px);
}

.site-shell {
  overflow: clip;
}

.site-shell > .topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(17, 19, 15, .94);
  backdrop-filter: blur(14px);
}

.brand .brand-mark {
  display: block;
  width: 32px;
  height: 32px;
  flex: 0 0 32px;
  transform: none;
}

.brand-mark svg {
  display: block;
  width: 100%;
  height: 100%;
  overflow: visible;
}

.brain-maze-outline {
  fill: rgba(29, 185, 84, .12);
  stroke: #1db954;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  filter: drop-shadow(0 0 3px rgba(29, 185, 84, .2));
}

.brain-maze-path {
  fill: none;
  stroke: #8cdb9f;
  stroke-width: 1.45;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.brain-maze-dot {
  fill: #fff;
  filter: drop-shadow(0 0 2px rgba(255, 255, 255, .95));
}

@media (prefers-reduced-motion: reduce) {
  .brain-maze-dot animateMotion {
    display: none;
  }
}

.dashboard-top-actions {
  display: flex;
  align-items: center;
  gap: 18px;
}

.dashboard-account {
  display: flex;
  align-items: center;
  gap: 18px;
  color: #c8cbbf;
  font-size: 11px;
  font-weight: 700;
}

.dashboard-account .dashboard-games-nav,
.dashboard-account .dashboard-profile-nav {
  min-height: 38px;
  padding: 0 17px;
  border-color: rgba(210, 243, 106, .42);
  color: #e7f5b7;
  font-size: 10px;
  letter-spacing: .07em;
}

.dashboard-account .dashboard-games-nav:hover,
.dashboard-account .dashboard-profile-nav:hover,
.dashboard-account .dashboard-games-nav.is-active,
.dashboard-account .dashboard-profile-nav.is-active {
  border-color: var(--lime);
  background: rgba(210, 243, 106, .15);
  color: var(--lime);
}

.dashboard-account .language-toggle {
  min-height: 34px;
  padding: 0 10px;
}

.language-toggle {
  min-width: 42px;
  min-height: 38px;
  padding: 0 11px;
  border: 1px solid rgba(210, 243, 106, .38);
  border-radius: 999px;
  background: rgba(210, 243, 106, .07);
  color: #d5f17b;
  font: 800 10px var(--font);
  letter-spacing: .04em;
  cursor: pointer;
}

.language-toggle:hover,
.language-toggle:focus-visible {
  border-color: var(--lime);
  background: rgba(210, 243, 106, .15);
  outline: none;
}

.dashboard-logout {
  min-height: 36px;
  padding: 0 15px;
  border: 1px solid #34372f;
  border-radius: 999px;
  background: #171915;
  color: #777c71;
  font: 800 9px var(--font);
  letter-spacing: .04em;
  cursor: pointer;
  transition: border-color .2s ease, background .2s ease;
}

.dashboard-logout:hover {
  border-color: #62675b;
  background: #20231d;
  color: #b0b5a8;
}

.dashboard-content {
  padding-top: 26px;
}

.demo-notice {
  padding: 12px 15px;
  border: 1px solid rgba(255, 216, 77, .24);
  border-radius: 8px;
  background: rgba(255, 216, 77, .07);
  color: #b6b7a9;
  font-size: 10px;
  line-height: 1.6;
}

.demo-notice span {
  margin-right: 8px;
  color: #ffdf63;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .08em;
}

.dashboard-welcome {
  display: grid;
  grid-template-columns: 70px minmax(0, 1fr) minmax(220px, 300px);
  align-items: center;
  gap: 18px;
  margin: 32px 0 24px;
}

.dashboard-avatar {
  width: 66px;
  height: 66px;
  overflow: hidden;
  border: 2px solid rgba(255, 216, 77, .7);
  border-radius: 50%;
  background: #2a2d25;
}

.dashboard-avatar svg {
  display: block;
  width: 100%;
  height: 100%;
}

.dashboard-avatar {
  display: grid;
  place-items: center;
  font-family: "Apple Color Emoji", "Segoe UI Emoji", "Noto Color Emoji", sans-serif;
  font-size: 39px;
  line-height: 1;
}

.quick-profile-card .dashboard-avatar {
  font-size: 34px;
}

.dashboard-welcome h1 {
  margin: 6px 0 3px;
  color: #f4f4ed;
  font: 800 27px var(--display);
  letter-spacing: -.8px;
}

.dashboard-welcome p {
  margin: 0;
  color: #92978b;
  font-size: 11px;
}

.dashboard-level {
  padding: 14px 16px;
  border: 1px solid rgba(116, 182, 122, .26);
  border-radius: 13px;
  background:
    radial-gradient(ellipse at 15% 0%, rgba(29, 185, 84, .14), transparent 47%),
    linear-gradient(120deg, #20271f, #1a1c18 76%);
}

.dashboard-stat > span,
.dashboard-topics > span,
.city-rank small {
  color: #92978b;
  font-size: 8px;
  font-weight: 800;
  letter-spacing: .08em;
}

.category-stat > i {
  display: block;
  height: 5px;
  overflow: hidden;
  margin: 11px 0 7px;
  border-radius: 9px;
  background: #35392f;
}

.category-stat > i b {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #1db954, #a0e56c);
}

.dashboard-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.dashboard-stat,
.dashboard-panel {
  border: 1px solid #2c3028;
  border-radius: 9px;
  background: linear-gradient(145deg, rgba(32, 35, 29, .96), rgba(23, 25, 21, .96));
}

.dashboard-stat {
  min-height: 110px;
  padding: 16px;
}

.dashboard-stat > span {
  display: block;
}

.dashboard-stat > strong {
  display: block;
  margin: 8px 0 4px;
  color: #f0f1e9;
  font: 800 27px var(--display);
  letter-spacing: -.8px;
}

.dashboard-correct-stat > strong {
  font-size: 22px;
  white-space: nowrap;
}

.dashboard-stat > strong small {
  font-size: 15px;
}

.dashboard-stat > small {
  color: #92978b;
  font-size: 8px;
}

.dashboard-stat:first-child > small {
  color: #72d791;
}

.dashboard-panels,
.dashboard-bottom {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 14px;
}

.dashboard-panel {
  padding: 19px;
}

.dashboard-panel-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 17px;
}

.dashboard-panel .eyebrow {
  color: #8e9387;
  font-size: 8px;
}

.dashboard-panel h2 {
  margin: 5px 0 0;
  color: #f1f2eb;
  font: 700 16px var(--display);
  letter-spacing: -.3px;
}

.dashboard-panel-icon {
  display: grid;
  place-items: center;
  width: 31px;
  height: 31px;
  border: 1px solid rgba(255, 216, 77, .2);
  border-radius: 8px;
  background: rgba(255, 216, 77, .08);
  color: #f0d260;
}

.category-stat {
  margin: 13px 0;
}

.category-stat > div {
  display: flex;
  justify-content: space-between;
  color: #c5c9bc;
  font-size: 10px;
}

.category-stat > div strong {
  color: #8cdb9f;
  font-size: 9px;
}

.category-stat > i {
  height: 4px;
  margin: 7px 0 0;
}

.dashboard-topics {
  padding-top: 12px;
  border-top: 1px solid #30332b;
}

.dashboard-topic-list {
  margin-top: 6px;
  color: #cbd0c2;
  font-size: 10px;
}

.achievement-list {
  display: grid;
  gap: 9px;
}

.dashboard-achievement {
  display: grid;
  grid-template-columns: 40px 1fr 20px;
  align-items: center;
  gap: 10px;
  min-height: 55px;
  padding: 8px 10px;
  border: 1px solid #30342b;
  border-radius: 7px;
  background: rgba(255, 255, 255, .015);
}

.dashboard-achievement > span {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(255, 216, 77, .1);
  color: #f1d36b;
  font-size: 15px;
}

.dashboard-achievement > .badge-icon {
  width: 38px;
  height: 38px;
  border: 2px solid rgba(255, 255, 255, .3);
  box-shadow: inset 0 0 9px rgba(255, 255, 255, .18), 0 3px 12px rgba(0, 0, 0, .3);
  font-family: "Apple Color Emoji", "Segoe UI Emoji", "Noto Color Emoji", sans-serif;
  font-size: 20px;
}

.dashboard-achievement strong,
.dashboard-achievement small {
  display: block;
}

.dashboard-achievement strong {
  color: #e5e8dd;
  font-size: 10px;
}

.dashboard-achievement small {
  margin-top: 3px;
  color: #8e9387;
  font-size: 8px;
}

.dashboard-achievement > i {
  color: #71d88e;
  font-size: 12px;
  font-style: normal;
}

.weekly-panel,
.city-panel {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}

.weekly-panel p {
  margin: 7px 0 0;
  color: #94998d;
  font-size: 9px;
}

.dashboard-play {
  flex: 0 0 auto;
  min-height: 37px;
  font-size: 9px;
}

.city-rank {
  text-align: right;
}

.city-rank span {
  display: block;
  color: #f1d36b;
  font: 800 24px var(--display);
}

.city-rank small {
  font-size: 8px;
  letter-spacing: 0;
}

.dashboard-footer-note {
  margin-top: 16px;
  color: #777d70;
  font-size: 8px;
  text-align: center;
}

.dashboard-footer-note span {
  color: #a4aa9a;
}

.dashboard-view[hidden] {
  display: none !important;
}

.lobby-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 33px 0 24px;
}

.lobby-heading h1 {
  margin: 8px 0 5px;
  color: #f2f3eb;
  font: 800 clamp(25px, 3.2vw, 38px) var(--display);
  letter-spacing: -1.4px;
}

.lobby-heading h1 span {
  color: #8bdb9f;
}

.lobby-heading p,
.lobby-weekly > p {
  margin: 0;
  color: #92978b;
  font-size: 11px;
}

.lobby-flair {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  border: 1px solid rgba(255, 216, 77, .26);
  border-radius: 17px;
  background: linear-gradient(145deg, rgba(255, 216, 77, .15), rgba(29, 185, 84, .08));
  color: #ffdf63;
  font-size: 27px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, .18), inset 0 0 20px rgba(255, 216, 77, .05);
  transform: rotate(5deg);
}

.quick-profile-card {
  position: relative;
  display: grid;
  grid-template-columns: 62px minmax(190px, 1fr) minmax(205px, .85fr) auto;
  align-items: center;
  gap: 17px;
  min-height: 115px;
  padding: 17px 20px;
  overflow: hidden;
  border: 1px solid rgba(116, 182, 122, .26);
  border-radius: 13px;
  background:
    radial-gradient(ellipse at 15% 0%, rgba(29, 185, 84, .14), transparent 47%),
    linear-gradient(120deg, #20271f, #1a1c18 76%);
  cursor: pointer;
  transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}

.quick-profile-card:hover,
.quick-profile-card:focus-visible {
  transform: translateY(-2px);
  border-color: rgba(126, 226, 160, .58);
  box-shadow: 0 12px 32px rgba(0, 0, 0, .2), 0 0 22px rgba(29, 185, 84, .08);
  outline: none;
}

.quick-profile-card .dashboard-avatar {
  width: 58px;
  height: 58px;
  border-color: rgba(255, 216, 77, .68);
}

.quick-profile-info .eyebrow {
  color: #9aa494;
  font-size: 8px;
}

.quick-profile-info h2 {
  margin: 5px 0 7px;
  color: #f0f2e9;
  font: 800 19px var(--display);
}

.quick-profile-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 5px 13px;
  color: #90978a;
  font-size: 8px;
}

.quick-profile-stats b {
  color: #e8ebdf;
  font-size: 9px;
}

.level-emblem {
  display: grid;
  flex: 0 0 36px;
  place-items: center;
  width: 36px;
  height: 36px;
  border: 1px solid rgba(255, 216, 77, .4);
  border-radius: 9px;
  background: linear-gradient(145deg, #4d4727, #28291e);
  color: #ffdf63;
  font-size: 18px;
  box-shadow: inset 0 0 12px rgba(255, 216, 77, .09);
}

.rank-insignia {
  display: block;
  width: 30px;
  height: 30px;
  overflow: visible;
  color: currentColor;
}

.rank-insignia g {
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2.7;
}

.rank-insignia polygon {
  fill: currentColor;
  stroke: currentColor;
  stroke-width: 1;
}

.level-emblem .rank-insignia {
  width: 30px;
  height: 30px;
}

.quick-level {
  display: grid;
  min-width: 0;
  gap: 6px;
}

.quick-level-status {
  color: #e8ebdf;
  font-size: 9px;
  font-weight: 900;
  letter-spacing: .08em;
}

.quick-level-track {
  display: grid;
  grid-template-columns: 36px minmax(35px, 1fr) 27px;
  align-items: center;
  gap: 8px;
}

.quick-level-track .level-emblem {
  position: relative;
  z-index: 1;
  width: 36px;
  height: 36px;
  background: linear-gradient(145deg, #514826, #29291d);
}

.quick-level-progress {
  display: block;
  height: 7px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .07);
  border-radius: 999px;
  background: #34382f;
  box-shadow: inset 0 1px 3px rgba(0, 0, 0, .4);
}

.quick-level-progress b {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #1db954, #c3e878);
  box-shadow: 0 0 9px rgba(195, 232, 120, .4);
}

.quick-next-level {
  display: grid;
  width: 27px;
  height: 27px;
  place-items: center;
  border: 1px solid #53594a;
  border-radius: 8px;
  background: #272a23;
  color: #fff;
  font: 800 11px var(--display);
}

.quick-level-xp-row {
  display: flex;
  min-width: 0;
  align-items: baseline;
  justify-content: space-between;
  gap: 6px;
}

.quick-level-xp-row .quick-xp-total {
  margin: 0;
  color: #fff;
  font: 800 16px/1.1 var(--display);
  letter-spacing: -.025em;
  white-space: nowrap;
}

.quick-level-xp-row small {
  overflow: hidden;
  color: #c5c8b9;
  font-size: 8px;
  font-weight: 700;
  text-align: right;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.quick-profile-link {
  color: #d7dbce;
  font-size: 8px;
  font-weight: 800;
  letter-spacing: .04em;
  white-space: nowrap;
}

.dashboard-credit {
  position: relative;
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 42px;
  padding: 4px 7px;
  border: 1px solid rgba(255, 216, 77, .2);
  border-radius: 999px;
  background: linear-gradient(100deg, rgba(255, 216, 77, .09), rgba(25, 27, 23, .85) 72%);
}

.credit-balance-icon {
  display: grid;
  flex: 0 0 29px;
  width: 29px;
  height: 29px;
  place-items: center;
  border-radius: 50%;
  background: rgba(255, 216, 77, .12);
  color: #ffdf63;
}

.credit-balance-icon svg {
  width: 21px;
  height: 21px;
  fill: rgba(255, 216, 77, .15);
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.4;
}

.credit-balance-label {
  color: #b8bba9;
  font-size: 8px;
  font-weight: 800;
  letter-spacing: .07em;
}

.credit-balance-amount {
  color: #ffdf63;
  font: 800 14px var(--display);
  font-variant-numeric: tabular-nums;
}

.credit-pending-indicator {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  max-width: 132px;
  color: #f4d672;
  font-size: 7px;
  font-weight: 900;
  letter-spacing: .025em;
  line-height: 1.2;
}

.credit-pending-indicator::before {
  width: 8px;
  height: 8px;
  flex: 0 0 8px;
  border: 1.5px solid rgba(244, 214, 114, .35);
  border-top-color: currentColor;
  border-radius: 50%;
  content: "";
  animation: credit-spin .8s linear infinite;
}

.credit-pending-indicator[hidden] {
  display: none;
}

.dashboard-credit.has-pending-credit {
  border-color: rgba(244, 214, 114, .48);
}

.credit-balance-warning {
  color: #ff9a82;
  font-size: 8px;
  font-weight: 900;
  letter-spacing: .035em;
  white-space: nowrap;
}

.credit-balance-low {
  border-color: rgba(255, 112, 92, .42);
  background: linear-gradient(100deg, rgba(255, 91, 71, .12), rgba(35, 24, 22, .92) 72%);
}

.dashboard-credit .credit-balance-warning {
  max-width: 64px;
  font-size: 6px;
  line-height: 1.15;
  white-space: normal;
}

.credit-balance-low .credit-balance-icon {
  background: rgba(255, 112, 92, .14);
  color: #ff8c78;
}

.credit-balance-low .credit-balance-icon svg {
  fill: rgba(255, 112, 92, .17);
}

.credit-balance-low .credit-balance-label,
.credit-balance-low .credit-balance-amount {
  color: #ff9a82;
}

.credit-top-up-button {
  display: grid;
  width: 29px;
  min-height: 29px;
  flex: 0 0 29px;
  place-items: center;
  margin-left: 1px;
  padding: 0;
  border: 1px solid rgba(255, 216, 77, .35);
  border-radius: 999px;
  background: rgba(255, 216, 77, .09);
  color: #ffdf63;
  font: 700 19px/1 var(--font);
  font-weight: 800;
  letter-spacing: .035em;
  cursor: pointer;
}

.credit-top-up-button:hover,
.credit-top-up-button:focus-visible {
  border-color: #ffdf63;
  background: rgba(255, 216, 77, .16);
  outline: none;
}

.lobby-section-heading {
  display: flex;
  justify-content: space-between;
  align-items: end;
  margin: 36px 0 15px;
}

.lobby-section-heading h2 {
  margin: 0;
  color: #d2f36a;
  font: 800 13px var(--display);
  letter-spacing: .09em;
}

.lobby-section-note {
  color: #82887b;
  font-size: 9px;
}

.lobby-game-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.lobby-game-card {
  position: relative;
  display: flex;
  min-height: 220px;
  flex-direction: column;
  align-items: flex-start;
  padding: 16px;
  overflow: hidden;
  border: 1px solid #34382f;
  border-radius: 11px;
  background: linear-gradient(145deg, rgba(32, 35, 29, .96), rgba(23, 25, 21, .96));
  color: #eff1e8;
  text-align: left;
  cursor: pointer;
  transition: transform .22s ease, border-color .22s ease, box-shadow .22s ease;
}

.lobby-game-card::after {
  content: none;
}

.lobby-game-card:hover,
.lobby-game-card:focus-visible {
  transform: translateY(-4px);
  border-color: currentColor;
  box-shadow: 0 12px 28px rgba(0, 0, 0, .22);
  outline: none;
}

.game-weekly {
  color: #c8f477;
  background: linear-gradient(145deg, rgba(32, 35, 29, .96), rgba(23, 25, 21, .96));
  box-shadow: inset 0 1px rgba(255, 255, 255, .035), 0 12px 28px rgba(0, 0, 0, .14);
}

.game-quick {
  color: #c2a6ff;
  background: linear-gradient(145deg, rgba(32, 35, 29, .96), rgba(23, 25, 21, .96));
}

.game-friends {
  color: #f0bf7e;
  background: linear-gradient(145deg, rgba(32, 35, 29, .96), rgba(23, 25, 21, .96));
}

.credit-cost-tag {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  max-width: 72%;
  padding: 5px 9px 5px 6px;
  overflow: visible;
  border: 1px solid rgba(255, 216, 77, .38);
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(255, 216, 77, .16), rgba(75, 61, 22, .62));
  color: #ffe47b;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .015em;
  line-height: 1;
  text-overflow: clip;
  box-shadow: 0 2px 10px rgba(255, 216, 77, .08), inset 0 1px rgba(255, 255, 255, .08);
}

.lobby-game-card .credit-cost-tag {
  color: #ffe47b;
  border-color: rgba(255, 216, 77, .38);
  background: linear-gradient(135deg, rgba(255, 216, 77, .16), rgba(75, 61, 22, .62));
}

.credit-cost-tag svg {
  flex: 0 0 17px;
  width: 17px;
  height: 17px;
  fill: rgba(255, 216, 77, .12);
  stroke: currentColor;
  stroke-width: 1.4;
}

.credit-cost-tag svg text {
  fill: currentColor;
  stroke: none;
  font: 800 11px var(--display);
  text-anchor: middle;
}

.game-featured {
  color: #f3d567;
  background: linear-gradient(145deg, rgba(32, 35, 29, .96), rgba(23, 25, 21, .96));
}

.lobby-game-icon {
  display: grid;
  place-items: center;
  width: 37px;
  height: 37px;
  border: 1px solid currentColor;
  border-radius: 11px;
  background: rgba(255, 255, 255, .04);
  font-size: 18px;
  box-shadow: inset 0 0 14px rgba(255, 255, 255, .045);
}

.lobby-game-icon svg,
.challenge-icon svg {
  width: 21px;
  height: 21px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.7;
}

.game-quick .lobby-game-icon svg {
  fill: currentColor;
  stroke: currentColor;
}

.lobby-game-badge {
  position: absolute;
  display: inline-flex;
  top: 17px;
  right: 12px;
  align-items: center;
  gap: 5px;
  max-width: 57%;
  padding: 5px 9px;
  overflow: hidden;
  border: 1px solid color-mix(in srgb, currentColor 36%, transparent);
  border-radius: 999px;
  background: color-mix(in srgb, currentColor 12%, #171915);
  color: currentColor;
  font-size: 7px;
  font-weight: 800;
  letter-spacing: .025em;
  line-height: 1;
  text-overflow: ellipsis;
  white-space: nowrap;
  box-shadow: inset 0 1px rgba(255, 255, 255, .06);
}

.lobby-game-badge:not(.credit-cost-tag) > span {
  flex: 0 0 auto;
  font-size: 10px;
  line-height: 1;
}

.lobby-game-label {
  margin-top: 18px;
  color: #9a9e92;
  font-size: 7px;
  font-weight: 800;
  letter-spacing: .1em;
}

.lobby-game-card > strong {
  margin-top: 5px;
  color: #eff1e8;
  font: 700 16px var(--display);
}

.lobby-game-card > small {
  margin-top: 5px;
  color: #a2a698;
  font-size: 8px;
  line-height: 1.45;
}

.game-card-rating {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  width: auto;
  margin: 0;
  padding: 6px 9px;
  border: 1px solid rgba(248, 211, 108, .34);
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(248, 211, 108, .13), rgba(87, 66, 24, .16));
  box-shadow: inset 0 1px rgba(255, 255, 255, .13), 0 3px 12px rgba(245, 196, 77, .08);
  color: #fff0b0;
  line-height: 1;
  white-space: nowrap;
}

.game-card-rating[aria-hidden="true"]:empty {
  display: none;
}

.game-card-stars {
  display: inline-flex;
  gap: 0;
  color: #79622d;
  font-size: 15px;
  line-height: 1;
  filter: drop-shadow(0 0 3px rgba(255, 211, 99, .28));
}

.game-card-stars > span {
  background-image: linear-gradient(90deg, #fff4b1 0%, #ffd76d 48%, #dfa936 100%), linear-gradient(#5d563f, #5d563f);
  background-size: var(--star-fill) 100%, 100% 100%;
  background-repeat: no-repeat;
  background-clip: text;
  color: transparent;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.game-card-rating-value {
  color: #ffe79a;
  font: 800 11px/1 var(--display);
  font-variant-numeric: tabular-nums;
  text-shadow: 0 0 10px rgba(255, 217, 117, .25);
}

.lobby-game-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.game-weekly {
  grid-column: 1 / -1;
  min-height: 240px;
  padding: 21px 23px;
}

.game-weekly .lobby-game-icon {
  width: 44px;
  height: 44px;
  background: rgba(197, 239, 104, .1);
}

.game-weekly .lobby-game-label {
  margin-top: 13px;
  color: #d1f38c;
  font-size: 9px;
}

.game-weekly > strong {
  font-size: 25px;
}

.game-weekly > small {
  font-size: 11px;
}

.game-weekly .lobby-game-badge {
  font-size: 9px;
}

.weekly-game-countdown {
  display: flex;
  align-items: baseline;
  gap: 9px;
  margin-top: 15px;
}

.weekly-game-countdown > span {
  color: #bbc3a9;
  font-size: 10px;
}

.weekly-game-countdown > strong {
  color: #f4db69;
  font: 800 18px var(--display);
  font-variant-numeric: tabular-nums;
}

.lobby-game-action {
  display: inline-flex;
  min-width: 112px;
  min-height: 38px;
  align-items: center;
  justify-content: center;
  align-self: auto;
  margin: 0;
  padding: 0 18px;
  border: 1px solid rgba(210, 220, 191, .25);
  border-radius: 7px;
  background: rgba(210, 220, 191, .09);
  color: #e0e5d5;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .045em;
  box-shadow: inset 0 1px rgba(255, 255, 255, .04);
  transition: transform .18s ease, background .18s ease, box-shadow .18s ease;
}

.lobby-card-footer {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  margin-top: auto;
  padding-top: 10px;
}

.lobby-game-card:hover .lobby-game-action,
.lobby-game-card:focus-visible .lobby-game-action {
  border-color: rgba(210, 220, 191, .45);
  background: rgba(210, 220, 191, .15);
  box-shadow: 0 4px 12px rgba(0, 0, 0, .16), inset 0 1px rgba(255, 255, 255, .06);
}

.game-weekly .lobby-game-action {
  min-width: 142px;
  min-height: 42px;
  border-color: rgba(200, 244, 119, .32);
  background: rgba(200, 244, 119, .12);
  color: #d7f29d;
  font-size: 10px;
}

.game-weekly:hover .lobby-game-action,
.game-weekly:focus-visible .lobby-game-action {
  border-color: rgba(200, 244, 119, .5);
  background: rgba(200, 244, 119, .19);
}

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

.lobby-weekly,
.lobby-featured {
  min-height: 190px;
}

.lobby-weekly > p {
  max-width: 400px;
  line-height: 1.6;
}

.weekly-progress {
  margin: 15px 0 13px;
}

.weekly-progress i {
  width: 60%;
}

.lobby-challenges {
  margin-top: 35px;
}

.lobby-challenges-heading {
  display: flex;
  align-items: end;
  margin-bottom: 16px;
}

.lobby-challenges-heading h2 {
  margin: 7px 0 0;
  color: #f0f1e8;
  font: 700 23px var(--display);
  letter-spacing: -.5px;
}

.challenge-filter-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 16px;
}

.challenge-filter-row label {
  color: #c5cbbb;
  font-size: 12px;
  font-weight: 800;
}

.challenge-filter-row select {
  min-width: 220px;
  min-height: 44px;
  padding: 0 38px 0 14px;
  border: 1px solid #4a5141;
  border-radius: 9px;
  background: #1b1e19;
  color: #f0f2e9;
  font: 700 12px var(--font);
  cursor: pointer;
}

.challenge-filter-row select:focus-visible {
  border-color: var(--lime);
  outline: 2px solid rgba(210, 243, 106, .2);
  outline-offset: 2px;
}

.lobby-challenge-track {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  padding: 2px 2px 12px;
}

.lobby-challenge-card {
  min-height: 220px;
  background-size: cover;
  background-position: center;
}

.lobby-challenge-card[hidden] {
  display: none;
}

.lobby-challenge-card .challenge-game-icon {
  position: relative;
  top: auto;
  left: auto;
  width: 37px;
  height: 37px;
  margin-bottom: 0;
  transform: none;
}

.challenge-badge-row {
  display: flex;
  width: 100%;
  min-width: 0;
  align-items: center;
  justify-content: flex-end;
  gap: 6px;
  margin-bottom: 12px;
}

.lobby-challenge-card .challenge-badge-row .lobby-game-badge {
  position: static;
  top: auto;
  right: auto;
  min-width: 0;
  padding: 5px 8px;
}

.lobby-challenge-card .challenge-badge-row .challenge-tag {
  flex: 0 1 auto;
  max-width: none;
  overflow: hidden;
  text-overflow: ellipsis;
}

.lobby-challenge-card .challenge-badge-row .credit-cost-tag {
  flex: 0 0 auto;
  max-width: none;
  gap: 4px;
  padding: 4px 7px 4px 5px;
  font-size: 8px;
}

.lobby-challenge-card .challenge-badge-row .credit-cost-tag svg {
  flex-basis: 15px;
  width: 15px;
  height: 15px;
}

.lobby-challenge-card .lobby-game-label {
  margin-top: 18px;
}

.lobby-challenge-card.challenge-cinema {
  color: #d8a5f6;
  background: linear-gradient(145deg, rgba(32, 35, 29, .96), rgba(23, 25, 21, .96));
}

.lobby-challenge-card.challenge-history {
  color: #e7c669;
  background: linear-gradient(145deg, rgba(32, 35, 29, .96), rgba(23, 25, 21, .96));
}

.lobby-challenge-card.challenge-sport {
  color: #70cbb5;
  background: linear-gradient(145deg, rgba(32, 35, 29, .96), rgba(23, 25, 21, .96));
}

.lobby-challenge-card.challenge-audio {
  color: #8de7a4;
  background: linear-gradient(145deg, rgba(32, 35, 29, .96), rgba(23, 25, 21, .96));
}

.lobby-challenge-card.has-challenge-photo {
  background-image: linear-gradient(145deg, rgba(23, 25, 21, .58), rgba(23, 25, 21, .78)), var(--challenge-photo), linear-gradient(145deg, rgba(32, 35, 29, .96), rgba(23, 25, 21, .96));
}

.lobby-challenge-card .challenge-game-icon {
  background: color-mix(in srgb, currentColor 12%, transparent);
}

.lobby-challenge-card .challenge-tag {
  max-width: 57%;
}

.lobby-challenge-card .lobby-game-label {
  color: #9a9e92;
}

.challenge-card-footer {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  margin-top: auto;
  padding-top: 10px;
}

.challenge-card-footer .game-card-rating {
  flex: 0 0 auto;
  min-width: 0;
  margin: 0;
  padding: 6px 9px;
  gap: 6px;
}

.lobby-challenge-card:focus-visible {
  outline: 2px solid var(--lime);
  outline-offset: 3px;
}


.lobby-weekly .button-lime {
  min-height: 36px;
  font-size: 8px;
}

.featured-challenge {
  display: grid;
  grid-template-columns: 34px 1fr auto;
  align-items: center;
  gap: 10px;
  padding: 8px 0;
  border-top: 1px solid #30342b;
}

.challenge-icon {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 9px;
  font-size: 17px;
}

.challenge-icon svg {
  width: 20px;
  height: 20px;
}

.challenge-cinema {
  color: #d8a5f6;
  background: rgba(186, 126, 228, .13);
}

.challenge-history {
  color: #e7c669;
  background: rgba(231, 198, 105, .13);
}

.featured-challenge strong,
.featured-challenge small {
  display: block;
}

.featured-challenge strong {
  color: #e2e5d9;
  font-size: 9px;
}

.featured-challenge small {
  margin-top: 3px;
  color: #8e9387;
  font-size: 8px;
}

.featured-challenge > b {
  color: #a5aa9b;
  font-size: 8px;
}

.text-button,
.dashboard-profile-nav {
  padding: 0;
  border: 0;
  background: none;
  color: #8fdaa0;
  font: 800 8px var(--font);
  letter-spacing: .04em;
  cursor: pointer;
}

.text-button {
  margin-top: 8px;
}

.text-button:hover,
.dashboard-profile-nav:hover {
  color: #c6f0cc;
}

.dashboard-profile-nav {
  min-height: 34px;
  padding: 0 13px;
  border: 1px solid #41483d;
  border-radius: 999px;
  color: #c5d5c2;
}

.dashboard-games-nav {
  min-height: 34px;
  padding: 0 13px;
  border: 1px solid #41483d;
  border-radius: 999px;
  background: transparent;
  color: #c5d5c2;
  font: 800 8px var(--font);
  letter-spacing: .04em;
  cursor: pointer;
}

.dashboard-games-nav:hover,
.dashboard-profile-nav:hover,
.dashboard-games-nav.is-active,
.dashboard-profile-nav.is-active {
  border-color: rgba(126, 226, 160, .55);
  background: rgba(29, 185, 84, .12);
  color: #9de6ac;
}

.back-to-lobby {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 36px;
  margin: 22px 0 0;
  padding: 0 14px;
  border: 1px solid rgba(126, 226, 160, .38);
  border-radius: 999px;
  background: rgba(29, 185, 84, .1);
  color: #a7e7b1;
  font: 800 9px var(--font);
  letter-spacing: .04em;
  cursor: pointer;
  transition: background .2s ease, border-color .2s ease, transform .2s ease;
}

.back-to-lobby:hover {
  transform: translateX(-2px);
  border-color: rgba(126, 226, 160, .7);
  background: rgba(29, 185, 84, .18);
}

.back-to-lobby span {
  font-size: 15px;
  line-height: 1;
}

.dashboard-profile-view .dashboard-welcome {
  grid-template-columns: 70px minmax(0, 1fr) minmax(220px, 300px) minmax(230px, 320px);
  align-items: stretch;
  margin-top: 18px;
}

.dashboard-profile-view .dashboard-level {
  align-self: center;
}

.dashboard-profile-view .all-levels-panel {
  margin: 0;
}

.profile-panels {
  align-items: start;
}

.top-category-list {
  display: grid;
  gap: 3px;
}

.top-category-row {
  display: grid;
  grid-template-columns: 23px 26px minmax(75px, .8fr) minmax(70px, 1.5fr) 34px;
  align-items: center;
  gap: 8px;
  min-height: 34px;
  padding: 4px 7px;
  border-radius: 6px;
  background: rgba(255, 255, 255, .015);
}

.category-position {
  color: #858b7d;
  font: 700 9px var(--display);
}

.top-category-row:nth-child(-n + 3) .category-position {
  color: #f1d36b;
}

.category-icon {
  display: grid;
  place-items: center;
  width: 23px;
  height: 23px;
  border: 1px solid #3c4338;
  border-radius: 7px;
  background: linear-gradient(145deg, #31382e, #22251f);
  color: #a9d899;
  font-size: 12px;
}

.category-name {
  color: #d2d7ca;
  font-size: 9px;
}

.top-category-row > i {
  display: block;
  height: 5px;
  overflow: hidden;
  border-radius: 5px;
  background: #373b32;
}

.top-category-row > i b {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #178e47, #8fdf9e);
}

.top-category-row > strong {
  color: #a7e4ad;
  font-size: 9px;
  text-align: right;
}

.top-categories-panel .dashboard-topics {
  margin-top: 11px;
}

.badge-icon {
  border: 1px solid rgba(255, 255, 255, .14);
  box-shadow: inset 0 0 12px rgba(255, 255, 255, .08), 0 3px 10px rgba(0, 0, 0, .2);
}

.badge-gold {
  background: radial-gradient(circle at 35% 25%, #f4d975, #79602d) !important;
  color: #fff1b2 !important;
}

.badge-blue {
  background: radial-gradient(circle at 35% 25%, #81cae7, #345c8a) !important;
  color: #ddf6ff !important;
}

.badge-purple {
  background: radial-gradient(circle at 35% 25%, #cb9cf6, #633b88) !important;
  color: #f1dcff !important;
}

.badge-locked {
  background: linear-gradient(145deg, #44483f, #292c26) !important;
  color: #858b7d !important;
  filter: grayscale(1);
}

.achievement-locked {
  opacity: .68;
}

.achievement-hint {
  margin: 12px 0 0;
  color: #a2a797;
  font-size: 9px;
  line-height: 1.5;
}

.achievement-preview {
  border-style: dashed;
  background: linear-gradient(135deg, rgba(255, 255, 255, .035), rgba(255, 255, 255, .012));
}

.all-levels-panel {
  margin-top: 13px;
  padding: 0;
  overflow: hidden;
}

.all-levels-panel summary {
  display: flex;
  align-items: center;
  gap: 13px;
  min-height: 74px;
  padding: 13px 17px;
  cursor: pointer;
  list-style: none;
}

.all-levels-panel summary::-webkit-details-marker {
  display: none;
}

.level-summary-icon {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border: 1px solid rgba(255, 216, 77, .3);
  border-radius: 12px;
  background: linear-gradient(145deg, rgba(255, 216, 77, .2), rgba(255, 216, 77, .05));
  color: #f4d45d;
  font-size: 20px;
}

.all-levels-panel summary > span:nth-child(2) {
  flex: 1;
}

.all-levels-panel summary b,
.all-levels-panel summary small {
  display: block;
}

.all-levels-panel summary b {
  color: #e7eadf;
  font-size: 11px;
}

.all-levels-panel summary small {
  margin-top: 4px;
  color: #91978a;
  font-size: 8px;
}

.level-summary-action {
  color: #a8dca5;
  font-size: 8px;
  font-weight: 800;
}

.level-track {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 8px;
  padding: 0 16px 17px;
}

.level-track-row {
  position: relative;
  min-height: 136px;
  padding: 13px 11px 10px;
  border: 1px solid #363a32;
  border-radius: 9px;
  background: #1a1d18;
}

.level-track-row:not(:last-child)::after {
  position: absolute;
  top: 29px;
  right: -10px;
  width: 10px;
  height: 2px;
  background: #454a3f;
  content: "";
}

.level-reached {
  border-color: rgba(29, 185, 84, .4);
}

.level-current {
  border-color: rgba(255, 216, 77, .7);
  background: linear-gradient(145deg, rgba(255, 216, 77, .16), #1a1d18 75%);
  box-shadow: inset 0 0 17px rgba(255, 216, 77, .055), 0 0 14px rgba(255, 216, 77, .05);
}

.level-next {
  border-color: rgba(255, 216, 77, .48);
  background: linear-gradient(145deg, rgba(255, 216, 77, .1), #1a1d18 75%);
  box-shadow: inset 0 0 15px rgba(255, 216, 77, .035);
}

.level-locked {
  opacity: .64;
}

.level-track-badge {
  display: grid;
  place-items: center;
  width: 31px;
  height: 31px;
  border: 1px solid rgba(255, 216, 77, .25);
  border-radius: 10px;
  background: rgba(255, 216, 77, .08);
  color: #f1d367;
  font-size: 16px;
  box-shadow: inset 0 0 10px rgba(255, 255, 255, .09), 0 4px 12px rgba(0, 0, 0, .2);
}

.level-track-badge .rank-insignia {
  width: 25px;
  height: 25px;
}

.level-track-row:nth-child(1) .level-track-badge {
  border-color: rgba(193, 200, 188, .48);
  background: radial-gradient(circle at 35% 25%, #dfe7da, #667168 78%);
  color: #f7fff1;
}

.level-reached .level-track-badge {
  border-color: rgba(29, 185, 84, .3);
  background: rgba(29, 185, 84, .12);
  color: #86df9e;
}

.level-track-row:nth-child(2) .level-track-badge {
  border-color: rgba(255, 216, 77, .55);
  background: radial-gradient(circle at 35% 25%, #ffed91, #aa741b 78%);
  color: #fff5ce;
}

.level-track-row:nth-child(3) .level-track-badge {
  border-color: rgba(255, 216, 77, .55);
  background: radial-gradient(circle at 35% 25%, #ffe981, #8b5a1b 78%);
  color: #fff1b2;
}

.level-track-row:nth-child(4) .level-track-badge {
  border-color: rgba(190, 151, 255, .55);
  background: radial-gradient(circle at 35% 25%, #ddbdff, #68429c 78%);
  color: #f5e7ff;
}

.level-track-row:nth-child(5) .level-track-badge {
  border-color: rgba(110, 217, 255, .55);
  background: radial-gradient(circle at 35% 25%, #b8f2ff, #317ca5 78%);
  color: #e3fbff;
}

.level-track-row:nth-child(2).level-reached .level-track-badge {
  border-color: rgba(255, 216, 77, .55);
  background: radial-gradient(circle at 35% 25%, #ffed91, #aa741b 78%);
  color: #fff5ce;
}

.level-track-number {
  position: absolute;
  top: 15px;
  right: 11px;
  color: #71776a;
  font: 800 9px var(--display);
}

.level-track-info {
  display: block;
  margin-top: 10px;
}

.level-track-info strong,
.level-track-info small {
  display: block;
}

.level-track-info strong {
  color: #e3e7db;
  font-size: 8px;
}

.level-track-info small {
  min-height: 25px;
  margin-top: 5px;
  color: #92988b;
  font-size: 7px;
  line-height: 1.45;
}

.level-track-xp {
  display: block;
  margin-top: 8px;
  color: #b6c0a8;
  font-size: 8px;
  font-weight: 700;
}

.level-next .level-track-xp {
  color: #ffdf63;
}

.level-current .level-track-number,
.level-current .level-track-info strong,
.level-current .level-track-xp {
  color: #ffdf63;
}

@media (min-width: 761px) {
  .level-track-row:nth-child(5)::after {
    display: none;
  }
}

.dashboard-profile-bottom {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  margin-top: 13px;
}

.dashboard-profile-bottom h2 {
  margin: 6px 0;
  color: #ecede5;
  font: 700 15px var(--display);
}

.dashboard-profile-bottom p {
  margin: 7px 0 14px;
  color: #bac0b2;
  font-size: 10px;
}

.dashboard-profile-bottom .eyebrow {
  color: #91978a;
  font-size: 8px;
}

.city-position strong {
  margin-right: 8px;
  color: #f1d36b;
  font-size: 15px;
}

.profile-email {
  overflow-wrap: anywhere;
}

.profile-language-setting {
  display: grid;
  max-width: 240px;
  gap: 7px;
  margin: 12px 0;
}

.profile-language-setting select {
  min-height: 38px;
  padding: 0 11px;
  border: 1px solid #3c4137;
  border-radius: 7px;
  background: #11130f;
  color: #e6e9de;
  font: 10px var(--font);
}

.profile-language-setting select:focus-visible {
  border-color: #78d88f;
  outline: 2px solid rgba(120, 216, 143, .2);
  outline-offset: 2px;
}

.profile-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px;
}

.profile-action-button {
  min-height: 34px;
  padding: 0 11px;
  border: 1px solid #3d4338;
  border-radius: 8px;
  background: linear-gradient(145deg, #292e25, #20231e);
  color: #dce4d6;
  font: 700 9px var(--font);
  cursor: pointer;
  transition: border-color .2s ease, transform .2s ease, background .2s ease;
}

.profile-action-button:hover {
  transform: translateY(-1px);
  border-color: #7bd28e;
  background: #2c3529;
}

.profile-editor {
  margin-top: 13px;
  padding: 13px;
  border: 1px solid #373c32;
  border-radius: 9px;
  background: #191c17;
}

.editor-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
  color: #e6e9de;
  font-size: 10px;
}

.editor-close {
  width: 26px;
  height: 26px;
  border: 0;
  border-radius: 50%;
  background: #292d26;
  color: #bdc4b5;
  font-size: 18px;
  cursor: pointer;
}

.profile-avatar-grid {
  grid-template-columns: repeat(8, minmax(0, 1fr));
  margin-bottom: 10px;
}

.password-editor {
  display: grid;
  gap: 7px;
}

.password-editor label {
  color: #b3b9aa;
  font-size: 9px;
  font-weight: 700;
}

.password-editor input {
  width: 100%;
  height: 39px;
  padding: 0 10px;
  border: 1px solid #3c4137;
  border-radius: 6px;
  outline: none;
  background: #11130f;
  color: #f0f1e9;
  font: 10px var(--font);
}

.password-editor input:focus {
  border-color: #78d88f;
}

.password-editor > small {
  color: #878e80;
  font-size: 8px;
  line-height: 1.5;
}

.password-change-error {
  min-height: 12px;
  margin: 0;
  color: #ff9d91;
  font-size: 9px;
}

.settings-success {
  margin: 12px 0 0;
  color: #8ee1a0;
  font-size: 9px;
  line-height: 1.6;
}

.friends-room-heading {
  margin: 15px 0 21px;
}

.friends-room-heading .eyebrow {
  color: #f1c579;
  font-size: 9px;
}

.friends-room-heading h1 {
  margin: 7px 0;
  color: #f3f4ec;
  font: 800 clamp(25px, 4vw, 34px) var(--display);
}

.friends-room-heading p {
  margin: 0;
  color: #a2a899;
  font-size: 10px;
}

.friends-room-grid {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 12px;
}

.room-setup-panel > label {
  display: block;
  margin-bottom: 6px;
  color: #c6ccbd;
  font-size: 9px;
  font-weight: 700;
}

.room-setup-panel > input,
.room-invite-form input,
.room-link-row input {
  width: 100%;
  height: 39px;
  min-width: 0;
  padding: 0 11px;
  border: 1px solid #3b4036;
  border-radius: 6px;
  outline: none;
  background: #11130f;
  color: #f0f1e9;
  font: 10px var(--font);
}

.room-setup-panel > input:focus,
.room-invite-form input:focus,
.room-link-row input:focus {
  border-color: #7bd28e;
}

.room-invite-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  margin: 19px 0 10px;
}

.room-invite-heading h2 {
  margin: 5px 0 0;
  color: #e8eadf;
  font: 700 15px var(--display);
}

.room-invite-heading p {
  margin: 5px 0 0;
  color: #9da394;
  font-size: 9px;
}

.room-player-count,
.theme-counter {
  display: grid;
  place-items: center;
  min-width: 47px;
  height: 29px;
  padding: 0 8px;
  border: 1px solid rgba(243, 197, 121, .35);
  border-radius: 999px;
  background: rgba(243, 197, 121, .09);
  color: #f2cc8d;
  font-size: 9px;
  font-weight: 800;
}

.room-invite-form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 7px;
}

.room-invite-form .button-lime {
  min-height: 39px;
  padding: 0 13px;
  font-size: 8px;
}

.room-helper {
  margin: 7px 0 10px;
  color: #858c7e;
  font-size: 8px;
  line-height: 1.5;
}

.room-player-list {
  display: grid;
  gap: 6px;
  max-height: 176px;
  overflow: auto;
}

.room-player {
  display: grid;
  grid-template-columns: 29px 1fr auto;
  align-items: center;
  gap: 9px;
  min-height: 42px;
  padding: 5px 8px;
  border: 1px solid #343a31;
  border-radius: 7px;
  background: rgba(255, 255, 255, .02);
}

.room-player-avatar {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border: 1px solid rgba(243, 197, 121, .3);
  border-radius: 50%;
  background: linear-gradient(145deg, #53432d, #29251e);
  color: #f4d48b;
  font-size: 10px;
  font-weight: 800;
}

.room-player strong {
  overflow: hidden;
  color: #dfe4d8;
  font-size: 9px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.room-player small {
  color: #9d9e85;
  font-size: 7px;
  text-align: right;
}

.room-share-panel {
  min-width: 0;
}

.room-share-panel > p {
  color: #9ea496;
  font-size: 9px;
  line-height: 1.55;
}

.room-code {
  margin: 17px 0 12px;
  padding: 13px;
  border: 1px dashed rgba(243, 197, 121, .43);
  border-radius: 9px;
  background: rgba(243, 197, 121, .06);
  color: #f5d991;
  font: 800 22px var(--display);
  letter-spacing: .22em;
  text-align: center;
}

.room-link-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 6px;
}

.room-link-row input {
  height: 34px;
  overflow: hidden;
  color: #aeb5a7;
  font-size: 8px;
  text-overflow: ellipsis;
}

.room-link-row button,
.qr-scanner > button {
  padding: 0 9px;
  border: 1px solid #42483d;
  border-radius: 6px;
  background: #252922;
  color: #d5dccd;
  font: 800 7px var(--font);
  cursor: pointer;
}

.scan-qr-button {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  min-height: 38px;
  margin-top: 9px;
  border: 1px solid rgba(126, 226, 160, .32);
  border-radius: 7px;
  background: rgba(29, 185, 84, .08);
  color: #a0e5ad;
  font: 800 8px var(--font);
  letter-spacing: .04em;
  cursor: pointer;
}

.scan-qr-button > span {
  font-size: 17px;
}

.qr-scanner {
  margin-top: 9px;
  padding: 9px;
  border: 1px solid #3c4338;
  border-radius: 8px;
  background: #141712;
}

.qr-scanner[hidden] {
  display: none;
}

.qr-scanner video {
  display: block;
  width: 100%;
  max-height: 170px;
  border-radius: 6px;
  background: #080907;
  object-fit: cover;
}

.qr-scanner p {
  color: #bac2b1;
  font-size: 8px;
  line-height: 1.5;
  overflow-wrap: anywhere;
}

.qr-scanner > button {
  min-height: 29px;
}

.room-themes-panel {
  margin-top: 12px;
}

.room-themes-panel .room-invite-heading {
  margin-top: 0;
}

.room-theme-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  margin-top: 15px;
}

.room-theme-choice {
  position: relative;
  display: grid;
  justify-items: center;
  gap: 8px;
  min-height: 103px;
  padding: 13px 6px 10px;
  border: 1px solid #3a4035;
  border-radius: 9px;
  background: linear-gradient(145deg, #242820, #191b17);
  color: #cbd1c3;
  cursor: pointer;
  transition: transform .18s ease, border-color .18s ease, background .18s ease;
}

.room-theme-choice:hover {
  transform: translateY(-2px);
  border-color: #6cad75;
}

.room-theme-choice.selected {
  border-color: rgba(255, 216, 77, .63);
  background: linear-gradient(145deg, rgba(255, 216, 77, .15), #1d211a);
  box-shadow: 0 0 18px rgba(255, 216, 77, .07);
  color: #f5d86b;
}

.room-theme-icon {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border: 1px solid currentColor;
  border-radius: 11px;
  background: rgba(255, 255, 255, .04);
  font-size: 18px;
}

.room-theme-choice strong {
  font-size: 8px;
}

.room-theme-check {
  position: absolute;
  top: 6px;
  right: 7px;
  display: grid;
  place-items: center;
  width: 17px;
  height: 17px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .08);
  font-size: 11px;
}

.room-error {
  min-height: 15px;
  margin: 10px 0 4px;
  color: #ff9d91;
  font-size: 9px;
}

.room-start-button {
  width: 100%;
  min-height: 45px;
}

.dashboard-game-view {
  padding-bottom: 45px;
}

.game-ready-backdrop {
  position: fixed;
  z-index: 30;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 20px;
  background: rgba(8, 9, 7, .82);
  backdrop-filter: blur(8px);
}

.game-ready-dialog {
  position: relative;
  width: min(100%, 440px);
  padding: 36px 34px 30px;
  border: 1px solid #454a3b;
  border-radius: 14px;
  background: radial-gradient(ellipse at 100% 0, rgba(197, 239, 104, .1), transparent 48%), #1b1e18;
  box-shadow: 0 25px 90px rgba(0, 0, 0, .65);
  text-align: center;
  outline: none;
}

.game-ready-insufficient {
  border-color: rgba(255, 133, 112, .55);
  background: radial-gradient(ellipse at 100% 0, rgba(255, 112, 92, .13), transparent 48%), #211b19;
}

.game-ready-insufficient .game-ready-eyebrow,
.game-ready-insufficient h2 {
  color: #ff9a82;
}

.game-ready-insufficient #game-ready-description {
  color: #e6c6be;
  font-size: 13px;
  line-height: 1.6;
}

.game-ready-eyebrow {
  color: #bfe66a;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .12em;
}

.game-ready-close {
  position: absolute;
  top: 11px;
  right: 15px;
  border: 0;
  background: none;
  color: #999f90;
  font-size: 25px;
  line-height: 1;
  cursor: pointer;
}

.game-ready-close:hover,
.game-ready-close:focus-visible {
  color: #fff;
}

.game-ready-dialog h2 {
  margin: 17px 0 8px;
  color: #f4f5ed;
  font: 800 25px var(--display);
  letter-spacing: -.6px;
}

.game-ready-dialog p {
  margin: 0;
  color: #c2c8b7;
  font-size: 15px;
  font-weight: 700;
}

.game-ready-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: 27px;
}

.game-ready-actions button {
  min-height: 44px;
  padding: 0 18px;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .035em;
  cursor: pointer;
}

.game-ready-back {
  border: 1px solid #45493e;
  border-radius: 999px;
  background: #252820;
  color: #d0d4c8;
}

.game-ready-back:hover,
.game-ready-back:focus-visible {
  border-color: #858b77;
  color: #fff;
}

.game-ready-start {
  margin: 0;
}

.game-ready-top-up {
  margin: 0;
}

.credit-shop-backdrop {
  position: fixed;
  z-index: 31;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 20px;
  background: rgba(8, 9, 7, .84);
  backdrop-filter: blur(8px);
}

.credit-shop-dialog {
  position: relative;
  width: min(100%, 490px);
  max-height: min(90vh, 760px);
  overflow-y: auto;
  padding: 34px 32px 26px;
  border: 1px solid #494536;
  border-radius: 14px;
  background: radial-gradient(ellipse at 100% 0, rgba(255, 216, 77, .12), transparent 48%), #1b1e18;
  box-shadow: 0 25px 90px rgba(0, 0, 0, .68);
  text-align: center;
  outline: none;
}

[data-payment-step][hidden] {
  display: none;
}

.credit-bank-step {
  margin-top: 18px;
  text-align: left;
}

.credit-payment-summary {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 11px 13px;
  border: 1px solid #383d31;
  border-radius: 8px;
  background: rgba(255, 255, 255, .025);
  color: #aeb4a4;
  font-size: 10px;
}

.credit-payment-summary strong {
  color: #f4f5ed;
  text-align: right;
}

.credit-bank-heading {
  margin: 17px 0 9px;
  color: #e7eadf;
  font-size: 10px;
  font-weight: 800;
}

.credit-bank-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.credit-bank-option {
  display: flex;
  min-width: 0;
  min-height: 42px;
  align-items: center;
  gap: 9px;
  padding: 7px 9px;
  border: 1px solid #393d32;
  border-radius: 8px;
  background: #22251e;
  color: #e8eade;
  font: 700 10px var(--font);
  text-align: left;
  cursor: pointer;
}

.credit-bank-option:hover,
.credit-bank-option.is-selected {
  border-color: #d2e975;
  background: #2a3020;
}

.credit-bank-option:focus-visible,
.credit-shop-back:focus-visible,
.credit-payment-done:focus-visible {
  outline: 2px solid #d2e975;
  outline-offset: 2px;
}

.credit-bank-mark {
  display: grid;
  flex: 0 0 31px;
  width: 31px;
  height: 31px;
  place-items: center;
  border-radius: 7px;
  background: #35392e;
  color: #f2d672;
  font-size: 9px;
  font-weight: 900;
}

.credit-bank-option > span:nth-child(2) {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.credit-bank-option > i {
  display: none;
  margin-left: auto;
  color: #bde879;
  font-style: normal;
}

.credit-bank-option.is-selected > i {
  display: block;
}

.credit-payment-actions {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 9px;
}

.credit-payment-actions .credit-shop-continue {
  margin: 0;
}

.credit-payment-processing {
  padding: 22px 0 2px;
  text-align: center;
}

.credit-payment-spinner {
  display: block;
  width: 42px;
  height: 42px;
  margin: 0 auto 14px;
  border: 3px solid rgba(244, 214, 114, .18);
  border-top-color: #f4d672;
  border-right-color: #bde879;
  border-radius: 50%;
  animation: credit-spin .8s linear infinite;
}

@keyframes credit-spin {
  to { transform: rotate(360deg); }
}

.credit-payment-processing h3 {
  margin: 0 0 7px;
  color: #f4f5ed;
  font: 800 18px var(--display);
}

.credit-payment-processing > p {
  margin: 6px 0;
  color: #aeb4a4;
  font-size: 10px;
  line-height: 1.5;
}

.credit-payment-processing .credit-payment-delay,
.credit-payment-result .credit-payment-delay {
  color: #f4d672;
  font-weight: 700;
}

.credit-payment-processing .credit-payment-processing-note {
  margin: 15px 0 10px;
  color: #7f8778;
  font-size: 8px;
}

.credit-payment-processing .credit-payment-actions {
  margin-top: 12px;
}

.credit-shop-back {
  padding: 0 14px;
  border: 1px solid #45483d;
  border-radius: 999px;
  background: #252820;
  color: #d0d4c8;
  font: 800 9px var(--font);
  cursor: pointer;
}

.credit-payment-result {
  padding: 17px 0 2px;
}

.credit-payment-result-icon {
  display: grid;
  width: 48px;
  height: 48px;
  margin: 0 auto 12px;
  place-items: center;
  border: 1px solid rgba(126, 226, 160, .45);
  border-radius: 50%;
  background: rgba(29, 185, 84, .12);
  color: #a7e7b1;
  font-size: 24px;
  font-weight: 900;
}

.credit-payment-result-failed {
  border-color: rgba(255, 112, 92, .45);
  background: rgba(255, 91, 71, .12);
  color: #ff9a82;
}

.credit-payment-result h3 {
  margin: 0 0 5px;
  color: #f4f5ed;
  font: 800 18px var(--display);
}

.credit-payment-result p,
.credit-payment-result small {
  display: block;
  margin: 5px 0;
  color: #aeb4a4;
  font-size: 10px;
}

.credit-payment-result > strong {
  display: block;
  margin-top: 14px;
  color: #bde879;
  font: 800 24px var(--display);
}

.credit-payment-done {
  width: 100%;
  margin-top: 20px;
}

.credit-shop-close {
  position: absolute;
  top: 11px;
  right: 15px;
  border: 0;
  background: none;
  color: #999f90;
  font-size: 25px;
  line-height: 1;
  cursor: pointer;
}

.credit-shop-close:hover,
.credit-shop-close:focus-visible {
  color: #fff;
}

.credit-shop-eyebrow {
  color: #ffdf63;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .12em;
}

.credit-shop-dialog h2 {
  margin: 13px 0 7px;
  color: #f4f5ed;
  font: 800 25px var(--display);
  letter-spacing: -.6px;
}

.credit-shop-dialog > p {
  color: #aeb4a4;
  font-size: 11px;
  line-height: 1.55;
}

.credit-package-list {
  display: grid;
  gap: 9px;
  margin-top: 22px;
}

.credit-package {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 61px;
  padding: 12px 16px;
  border: 1px solid #393d32;
  border-radius: 8px;
  background: #22251e;
  color: #eceee4;
  text-align: left;
  cursor: pointer;
  transition: border-color .2s ease, background .2s ease;
}

.credit-package:hover,
.credit-package.is-selected {
  border-color: #d2e975;
  background: #2a3020;
}

.credit-package-amount {
  color: #f3f3e8;
  font: 800 17px var(--display);
}

.credit-package-amount small {
  color: #aeb4a4;
  font: 600 10px var(--font);
}

.credit-package > strong {
  color: #ffdf63;
  font: 800 18px var(--display);
}

.credit-package-featured {
  border-color: rgba(255, 216, 77, .45);
}

.credit-package-tag {
  position: absolute;
  top: -7px;
  right: 10px;
  padding: 3px 6px;
  border-radius: 4px;
  background: #ffdf63;
  color: #202116;
  font-size: 7px;
  font-weight: 900;
  letter-spacing: .04em;
}

.credit-shop-status {
  min-height: 17px;
  margin: 15px 0 8px;
  color: #b7beaa;
  font-size: 10px;
}

.credit-shop-status-warning {
  color: #f2d672 !important;
}

.credit-shop-continue {
  width: 100%;
  min-height: 44px;
  margin: 0;
  font-size: 10px;
}

.credit-shop-continue:disabled {
  border-color: #45483d;
  background: #44473d;
  box-shadow: none;
  color: #a3a697;
  cursor: not-allowed;
}

.credit-shop-dialog .credit-shop-note {
  margin: 12px 0 0;
  color: #858b7d;
  font-size: 9px;
}

.demo-game-shell {
  max-width: 790px;
  margin: 0 auto;
}

.round-intro-card {
  position: relative;
  overflow: hidden;
  padding: clamp(22px, 5vw, 42px);
  border: 1px solid rgba(178, 220, 113, .24);
  border-radius: 18px;
  background:
    radial-gradient(circle at 94% 8%, rgba(198, 244, 119, .16), transparent 28%),
    radial-gradient(ellipse at 4% 100%, rgba(29, 185, 84, .12), transparent 36%),
    linear-gradient(145deg, #24291f, #171a16 76%);
  box-shadow: 0 22px 70px rgba(0, 0, 0, .23), inset 0 1px rgba(255, 255, 255, .05);
}

.round-intro-topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.round-intro-kicker,
.round-intro-type {
  display: inline-flex;
  min-height: 30px;
  align-items: center;
  gap: 7px;
  padding: 0 11px;
  border: 1px solid rgba(200, 244, 119, .24);
  border-radius: 999px;
  background: rgba(200, 244, 119, .07);
  color: #c8f477;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .09em;
}

.round-kicker-spark {
  color: #f6d879;
  font-size: 13px;
  text-shadow: 0 0 12px rgba(246, 216, 121, .65);
}

.round-intro-type {
  border-color: rgba(255, 255, 255, .1);
  background: rgba(255, 255, 255, .035);
  color: #b7bdac;
  font-size: 8px;
}

.round-intro-card h1 {
  max-width: 610px;
  margin: 19px 0 9px;
  color: #f1f3ea;
  font: 800 clamp(28px, 5vw, 40px)/1.12 var(--display);
  letter-spacing: -.045em;
}

.round-intro-card .round-intro-description {
  max-width: 570px;
  margin: 0;
  color: #b7bdac;
  font-size: 14px;
  line-height: 1.65;
}

.round-answer-preview {
  display: flex;
  align-items: center;
  gap: 7px;
  width: fit-content;
  margin: 20px 0 0;
}

.round-answer-preview > span {
  display: grid;
  width: 29px;
  height: 29px;
  place-items: center;
  border: 1px solid rgba(200, 244, 119, .38);
  border-radius: 9px;
  background: linear-gradient(145deg, rgba(200, 244, 119, .14), rgba(200, 244, 119, .04));
  color: #d5f68e;
  font: 800 11px var(--display);
  box-shadow: inset 0 1px rgba(255, 255, 255, .06);
}

.round-answer-preview > i {
  width: 8px;
  height: 1px;
  background: rgba(200, 244, 119, .4);
}

.round-answer-preview > b {
  margin-left: 7px;
  color: #929a89;
  font-size: 8px;
  font-weight: 800;
  letter-spacing: .1em;
}

.round-intro-facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 9px;
  margin: 24px 0 21px;
}

.round-intro-fact {
  display: flex;
  min-width: 0;
  min-height: 72px;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border: 1px solid rgba(255, 255, 255, .075);
  border-radius: 12px;
  background: rgba(255, 255, 255, .032);
  box-shadow: inset 0 1px rgba(255, 255, 255, .035);
}

.round-fact-icon {
  display: grid;
  width: 38px;
  height: 38px;
  flex: 0 0 auto;
  place-items: center;
  border: 1px solid rgba(200, 244, 119, .2);
  border-radius: 11px;
  background: rgba(200, 244, 119, .08);
  color: #c8f477;
}

.round-fact-icon svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.65;
}

.round-intro-time .round-fact-icon {
  border-color: rgba(128, 203, 255, .22);
  background: rgba(128, 203, 255, .08);
  color: #8ccfff;
}

.round-intro-points {
  border-color: rgba(246, 216, 121, .25);
  background: linear-gradient(125deg, rgba(246, 216, 121, .105), rgba(255, 255, 255, .025));
  box-shadow: inset 0 1px rgba(255, 255, 255, .06), 0 5px 20px rgba(246, 216, 121, .045);
}

.round-intro-points .round-fact-icon {
  border-color: rgba(246, 216, 121, .35);
  background: linear-gradient(145deg, rgba(246, 216, 121, .22), rgba(246, 216, 121, .07));
  color: #f6d879;
}

.round-fact-copy {
  display: grid;
  min-width: 0;
  gap: 3px;
}

.round-fact-copy > strong {
  color: #f0f2e9;
  font: 800 22px/1 var(--display);
  letter-spacing: -.04em;
  white-space: nowrap;
}

.round-fact-copy > strong small {
  font: 700 10px var(--font);
  letter-spacing: 0;
}

.round-intro-points .round-fact-copy > strong {
  color: #ffe79a;
  text-shadow: 0 0 18px rgba(246, 216, 121, .2);
}

.round-fact-copy > small {
  overflow: hidden;
  color: #9ea594;
  font-size: 9px;
  line-height: 1.35;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.round-start-button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  gap: 17px;
  padding: 0 20px;
  border-radius: 10px;
  box-shadow: 0 8px 22px rgba(176, 222, 88, .18), inset 0 1px rgba(255, 255, 255, .2);
  font-size: 10px;
  letter-spacing: .07em;
  transition: transform .18s ease, box-shadow .18s ease;
}

.round-start-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(176, 222, 88, .25), inset 0 1px rgba(255, 255, 255, .24);
}

.round-start-button > span:last-child {
  font-size: 17px;
  line-height: 1;
}

.demo-game-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 8px 0 23px;
}

.demo-game-top .back-to-lobby {
  margin: 0;
}

.demo-game-mode {
  color: #93998c;
  font-size: 8px;
  font-weight: 800;
  letter-spacing: .07em;
  text-align: right;
}

.demo-game-heading {
  display: flex;
  justify-content: space-between;
  align-items: end;
  margin-bottom: 17px;
}

.demo-game-heading > .eyebrow {
  color: #9de6ac;
  font-size: 9px;
}

.demo-game-score {
  text-align: right;
}

.demo-game-score span,
.demo-game-score strong {
  display: block;
}

.demo-game-score span {
  color: #91978a;
  font-size: 7px;
  font-weight: 800;
  letter-spacing: .08em;
}

.demo-game-score strong {
  margin-top: 4px;
  color: #ffdf63;
  font: 800 20px var(--display);
}

.demo-question-progress {
  margin-bottom: 12px;
}

.demo-question-progress > div {
  display: flex;
  justify-content: space-between;
  margin-bottom: 7px;
  color: #93998c;
  font-size: 8px;
  font-weight: 800;
}

.demo-question-progress > div strong {
  color: #d7dccf;
}

.demo-question-progress > i {
  display: block;
  height: 5px;
  overflow: hidden;
  border-radius: 6px;
  background: #34382f;
}

.demo-question-progress > i b {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #1db954, #c3e878);
  transition: width .3s ease;
}

.demo-question-card {
  position: relative;
  padding: clamp(20px, 4vw, 38px);
  border: 1px solid #353a30;
  border-radius: 15px;
  background:
    radial-gradient(ellipse at 100% 0, rgba(29, 185, 84, .1), transparent 43%),
    linear-gradient(145deg, #20231d, #171915);
  box-shadow: 0 18px 54px rgba(0, 0, 0, .23);
}

.demo-question-media {
  display: block;
  max-width: 100%;
  max-height: 420px;
  margin: 0 0 20px;
  border: 1px solid #3b4036;
  border-radius: 10px;
  object-fit: contain;
}

.demo-question-audio {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 0 0 20px;
  padding: 14px;
  border: 1px solid #3b4036;
  border-radius: 10px;
  background: rgba(255, 255, 255, .025);
}

.audio-question-icon {
  display: grid;
  width: 42px;
  height: 42px;
  flex: 0 0 auto;
  place-items: center;
  border: 1px solid rgba(200, 244, 119, .35);
  border-radius: 12px;
  background: rgba(200, 244, 119, .1);
  color: #c8f477;
  font-size: 22px;
}

.demo-question-audio audio {
  width: 100%;
  min-width: 0;
}

.question-timer {
  --timer-progress: 1;
  position: relative;
  display: grid;
  place-items: center;
  width: 78px;
  height: 78px;
  margin: 22px auto 0;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(29, 185, 84, .12) 0 58%, transparent 60%);
  color: #9be3a9;
  filter: drop-shadow(0 0 12px rgba(29, 185, 84, .14));
  transition: color .25s ease, filter .25s ease;
}

.timer-ring {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
  transform: rotate(-90deg);
}

.timer-ring circle {
  fill: none;
  stroke-width: 4;
}

.timer-ring-track {
  stroke: rgba(255, 255, 255, .11);
}

.timer-ring-progress {
  stroke: currentColor;
  stroke-dasharray: 194.78;
  stroke-dashoffset: calc(194.78 * (1 - var(--timer-progress)));
  stroke-linecap: round;
  transition: stroke-dashoffset .85s linear, stroke .25s ease;
}

.timer-center {
  position: relative;
  display: flex;
  align-items: baseline;
  gap: 3px;
}

.timer-seconds {
  font: 800 21px var(--display);
}

.timer-center small {
  color: #a2ad9f;
  font-size: 8px;
}

.question-timer.timer-warning {
  color: #ff9d88;
  filter: drop-shadow(0 0 15px rgba(255, 112, 98, .3));
}

.question-timer.timer-warning .timer-ring-track {
  stroke: rgba(255, 112, 98, .17);
}

@keyframes timer-pulse {
  to { box-shadow: 0 0 23px rgba(255, 112, 98, .28); }
}

.question-mark {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  margin-bottom: 17px;
  border: 1px solid rgba(255, 216, 77, .3);
  border-radius: 12px;
  background: rgba(255, 216, 77, .1);
  color: #ffdf63;
  font: 800 20px var(--display);
}

.demo-question-card h1 {
  max-width: 650px;
  margin: 0 0 25px;
  color: #f1f3ea;
  font: 800 clamp(21px, 3vw, 29px) var(--display);
  letter-spacing: -.7px;
  line-height: 1.3;
}

.demo-answer-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.demo-answer-true-false {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.demo-answer-true-false .demo-answer {
  min-height: 58px;
  grid-template-columns: minmax(0, 1fr) 20px;
  text-align: center;
}

.demo-open-answer {
  display: grid;
  gap: 10px;
}

.demo-open-answer label {
  color: #c5cbbb;
  font-size: 11px;
  font-weight: 800;
}

.demo-open-answer input {
  width: 100%;
  min-height: 56px;
  padding: 0 16px;
  border: 1px solid #454a3f;
  border-radius: 9px;
  background: rgba(255, 255, 255, .035);
  color: #f1f3ea;
  font: 600 15px var(--font);
}

.demo-open-answer input:focus-visible {
  border-color: #9be3a9;
  outline: 2px solid rgba(29, 185, 84, .2);
  outline-offset: 2px;
}

.demo-open-answer input.answer-correct {
  border-color: #1db954;
  background: rgba(29, 185, 84, .13);
}

.demo-open-answer input.answer-incorrect {
  border-color: rgba(255, 112, 98, .65);
  background: rgba(255, 112, 98, .08);
}

.open-answer-submit {
  min-height: 50px;
  justify-self: start;
  padding: 0 24px;
  font-size: 11px;
}

.open-answer-hint {
  display: grid;
  gap: 9px;
  margin-top: 14px;
  padding: 14px;
  border: 1px solid rgba(255, 216, 77, .28);
  border-radius: 10px;
  background: rgba(255, 216, 77, .055);
}

.open-answer-hint-text {
  color: #f3e4a0;
  font-size: 12px;
  font-weight: 700;
}

.open-answer-hint-button {
  min-height: 45px;
  justify-self: start;
  padding: 0 18px;
  background: rgba(255, 216, 77, .13);
  color: #ffe47b;
}

.open-answer-hint-status {
  margin: 0;
  color: #b4baa9;
  font-size: 10px;
  line-height: 1.5;
}

.open-answer-hint-status .button {
  min-height: 32px;
  margin: 4px 0;
  padding: 0 10px;
  font-size: 8px;
}

.open-answer-hint-button:disabled {
  opacity: .6;
  cursor: default;
}

.demo-answer-grid[hidden],
.demo-open-answer[hidden],
.open-answer-hint[hidden],
.demo-question-media[hidden],
.demo-question-audio[hidden] {
  display: none;
}

.demo-answer {
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr) 20px;
  align-items: center;
  gap: 12px;
  min-height: 68px;
  padding: 11px 15px;
  border: 1px solid #3b4036;
  border-radius: 9px;
  background: rgba(255, 255, 255, .025);
  color: #e1e5d9;
  text-align: left;
  cursor: pointer;
  transition: background .18s ease, border-color .18s ease, transform .18s ease;
}

.demo-answer:not(:disabled):hover {
  transform: translateY(-2px);
  border-color: #7bd28e;
  background: rgba(29, 185, 84, .09);
}

.demo-answer > span {
  display: grid;
  place-items: center;
  width: 33px;
  height: 33px;
  border: 1px solid #454a3f;
  border-radius: 8px;
  color: #abb2a4;
  font-size: 12px;
  font-weight: 800;
}

.demo-answer > b {
  font-size: 14px;
  font-weight: 600;
  line-height: 1.4;
}

.demo-answer > i {
  font-size: 13px;
  font-style: normal;
  text-align: right;
}

.demo-answer:disabled {
  cursor: default;
}

.demo-answer.answer-correct {
  border-color: rgba(29, 185, 84, .78);
  background: rgba(29, 185, 84, .13);
}

.demo-answer.answer-correct > span {
  border-color: #1db954;
  background: #1db954;
  color: #102014;
}

.demo-answer.answer-correct > i::after {
  color: #7ce39b;
  content: "✓";
}

.demo-answer.answer-incorrect {
  border-color: rgba(255, 112, 98, .65);
  background: rgba(255, 112, 98, .08);
}

.demo-answer.answer-incorrect > i::after {
  color: #ff9d91;
  content: "×";
}

.question-timer[hidden],
.question-mark[hidden],
.demo-question-card h1[hidden],
.demo-answer-grid[hidden],
.question-cooldown[hidden] {
  display: none;
}

.question-cooldown {
  --cooldown-progress: 1;
  --cooldown-value-size: 26px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 68px;
  align-items: center;
  gap: 10px 16px;
  min-height: 210px;
  padding: 20px;
  border: 1px solid rgba(255, 216, 77, .27);
  border-radius: 11px;
  background:
    radial-gradient(ellipse at 10% 0, rgba(255, 216, 77, .13), transparent 56%),
    linear-gradient(140deg, rgba(48, 44, 28, .8), rgba(24, 27, 21, .94));
}

.question-cooldown.cooldown-correct {
  border-color: rgba(93, 223, 132, .6);
  background:
    radial-gradient(ellipse at 10% 0, rgba(93, 223, 132, .22), transparent 56%),
    linear-gradient(140deg, rgba(25, 76, 43, .94), rgba(15, 43, 29, .98));
}

.question-cooldown.cooldown-incorrect {
  border-color: rgba(255, 112, 98, .65);
  background:
    radial-gradient(ellipse at 10% 0, rgba(255, 112, 98, .23), transparent 56%),
    linear-gradient(140deg, rgba(91, 38, 36, .96), rgba(48, 24, 26, .98));
}

.question-cooldown.cooldown-timeout {
  border-color: rgba(255, 196, 129, .62);
  background:
    radial-gradient(ellipse at 10% 0, rgba(255, 196, 129, .22), transparent 56%),
    linear-gradient(140deg, rgba(91, 61, 31, .96), rgba(48, 37, 26, .98));
}

.question-cooldown.cooldown-enter {
  animation: cooldown-enter .38s cubic-bezier(.2, .8, .2, 1) both;
}

@keyframes cooldown-enter {
  from {
    opacity: 0;
    transform: translateY(10px) scale(.985);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.cooldown-reward {
  grid-column: 1;
  grid-row: 3;
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 7px;
}

.cooldown-coin {
  display: grid;
  place-items: center;
  width: 49px;
  height: 49px;
  border: 2px solid #ffe17b;
  border-radius: 50%;
  background: radial-gradient(circle at 34% 25%, #fff0a3, #dba62d 55%, #885d13);
  color: #593c0e;
  font-size: 23px;
  box-shadow: inset 0 0 0 3px rgba(117, 77, 12, .2), 0 0 25px rgba(255, 216, 77, .2);
  animation: coin-reward-pop .55s cubic-bezier(.18, .89, .32, 1.35) both;
}

@keyframes coin-reward-pop {
  0% {
    opacity: .4;
    transform: scale(.45) rotate(-30deg);
  }
  75% {
    transform: scale(1.13) rotate(8deg);
  }
  100% {
    opacity: 1;
    transform: scale(1) rotate(0);
  }
}

.cooldown-reward small,
.cooldown-reward strong {
  display: block;
}

.cooldown-reward small {
  color: #b7a974;
  font-size: 8px;
  font-weight: 800;
  letter-spacing: .13em;
}

.cooldown-reward strong {
  margin-top: 3px;
  color: #ffe16d;
  font: 800 var(--cooldown-value-size) var(--display);
  text-shadow: 0 0 18px rgba(255, 216, 77, .25);
  animation: points-award-pop .42s .15s cubic-bezier(.18, .89, .32, 1.35) both;
}

@keyframes points-award-pop {
  from {
    opacity: .3;
    transform: translateY(8px) scale(.8);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.demo-game-score strong.points-award-pop {
  animation: points-score-flash .55s ease-out both;
}

@keyframes points-score-flash {
  0% {
    color: #fff6bf;
    transform: scale(1.35);
    text-shadow: 0 0 22px rgba(255, 216, 77, .65);
  }
  100% {
    color: #ffdf63;
    transform: scale(1);
    text-shadow: none;
  }
}

.cooldown-outcome {
  display: flex;
  align-items: center;
  gap: 9px;
  grid-column: 1;
  grid-row: 1;
}

.cooldown-outcome-icon {
  display: grid;
  flex: 0 0 24px;
  place-items: center;
  width: 24px;
  height: 24px;
  border: 1px solid currentColor;
  border-radius: 50%;
  font-size: 13px;
  font-weight: 800;
}

.cooldown-outcome strong {
  font: 700 14px var(--display);
}

.cooldown-answer {
  grid-column: 1;
  grid-row: 2;
}

.cooldown-answer[hidden] {
  display: none;
}

.cooldown-correct-answer {
  display: block;
  color: #fff;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .06em;
}

.cooldown-answer-value {
  display: block;
  margin-top: 3px;
  color: #fff;
  font: 800 var(--cooldown-value-size)/1.25 var(--display);
  letter-spacing: .01em;
}

.cooldown-correct .cooldown-outcome-icon,
.cooldown-correct .cooldown-result {
  color: #83e19a;
}

.cooldown-incorrect .cooldown-outcome-icon,
.cooldown-incorrect .cooldown-result {
  color: #ff8d83;
}

@media (max-width: 760px) {
  .question-cooldown {
    --cooldown-value-size: 23px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .cooldown-answer-value {
    text-shadow: none;
  }
}

.cooldown-timeout .cooldown-outcome-icon,
.cooldown-timeout .cooldown-result {
  color: #ffc481;
}

.cooldown-correct .cooldown-reward strong {
  color: #8ee5a2;
  text-shadow: 0 0 18px rgba(93, 223, 132, .22);
}

.cooldown-incorrect .cooldown-reward strong,
.cooldown-timeout .cooldown-reward strong {
  color: #ffaaa0;
  text-shadow: 0 0 16px rgba(255, 112, 98, .16);
}

.cooldown-incorrect .cooldown-coin,
.cooldown-timeout .cooldown-coin {
  border-color: rgba(255, 144, 130, .6);
  background: radial-gradient(circle at 34% 25%, #ffc0b1, #d95a4d 58%, #79312b);
  color: #641e1b;
  box-shadow: inset 0 0 0 3px rgba(117, 34, 28, .2), 0 0 20px rgba(255, 112, 98, .15);
}

.cooldown-countdown {
  position: relative;
  display: flex;
  grid-column: 2;
  grid-row: 1 / span 3;
  align-items: center;
  justify-content: center;
  width: 62px;
  height: 62px;
  margin-top: 17px;
  color: #8fdda0;
}

.cooldown-incorrect .cooldown-countdown {
  color: #ff9d91;
}

.cooldown-timeout .cooldown-countdown {
  color: #ffc481;
}

.cooldown-countdown svg {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  transform: rotate(-90deg);
}

.cooldown-countdown circle {
  fill: none;
  stroke-width: 4;
}

.cooldown-ring-track {
  stroke: rgba(255, 255, 255, .12);
}

.cooldown-ring-progress {
  stroke: currentColor;
  stroke-dasharray: 182.21;
  stroke-dashoffset: calc(182.21 * (1 - var(--cooldown-progress)));
  stroke-linecap: round;
  transition: stroke-dashoffset .85s linear;
}

.cooldown-time-wrap {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 3px;
}

.cooldown-countdown strong {
  font: 800 19px var(--display);
}

.cooldown-countdown small {
  color: #a4ad9e;
  font-size: 7px;
}

.cooldown-countdown .cooldown-next-label {
  position: absolute;
  z-index: 1;
  top: -17px;
  left: 50%;
  margin: 0;
  color: #dce7d4;
  font-size: 7px;
  font-weight: 800;
  line-height: 1.2;
  text-align: center;
  white-space: nowrap;
  letter-spacing: .08em;
  text-shadow: 0 2px 8px #10130f;
  transform: translateX(-50%);
}

.demo-game-footnote {
  margin: 14px 0;
  color: #777e71;
  font-size: 8px;
  line-height: 1.6;
  text-align: center;
}

.demo-game-results {
  max-width: 560px;
  padding: 28px 15px;
  text-align: center;
}

.demo-game-results .demo-game-top {
  margin-bottom: 18px;
}

.results-medal {
  display: grid;
  place-items: center;
  width: 76px;
  height: 76px;
  margin: 0 auto 18px;
  border: 1px solid rgba(255, 216, 77, .4);
  border-radius: 25px;
  background: linear-gradient(145deg, rgba(255, 216, 77, .2), rgba(255, 216, 77, .06));
  font-size: 37px;
  box-shadow: 0 0 40px rgba(255, 216, 77, .1);
}

.demo-game-results > .eyebrow {
  color: #ffdf63;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .12em;
}

.demo-game-results h1 {
  margin: 9px 0;
  color: #f3f4ed;
  font: 800 30px var(--display);
}

.results-score {
  margin: 12px 0 0;
  color: #f5d85f;
  font: 800 53px var(--display);
  letter-spacing: -2px;
}

.results-score span {
  color: #93998c;
  font-size: 23px;
}

.results-copy {
  margin: 0;
  color: #a4aa9d;
  font-size: 10px;
}

.results-copy strong {
  color: #83df9b;
}

.results-message {
  max-width: 360px;
  margin: 22px auto;
  color: #ccd1c4;
  font-size: 12px;
  line-height: 1.6;
}

.results-return {
  min-width: 220px;
}

.game-rating-panel {
  margin: 22px auto 17px;
  padding: 19px 16px;
  border: 1px solid #3a4034;
  border-radius: 12px;
  background: linear-gradient(145deg, rgba(39, 45, 34, .82), rgba(24, 27, 23, .95));
}

.game-rating-panel h2 {
  margin: 0;
  color: #edf0e5;
  font: 800 17px var(--display);
}

.game-rating-panel > p {
  margin: 6px 0 0;
  color: #a7ae9e;
  font-size: 10px;
}

.game-rating-stars {
  display: flex;
  justify-content: center;
  gap: 6px;
  margin-top: 12px;
}

.game-rating-star {
  width: 42px;
  height: 42px;
  border: 1px solid #4a4e41;
  border-radius: 9px;
  background: rgba(255, 255, 255, .035);
  color: #73796c;
  font-size: 24px;
  cursor: pointer;
  transition: color .16s ease, background .16s ease, transform .16s ease;
}

.game-rating-star:hover,
.game-rating-star:focus-visible,
.game-rating-star.is-selected {
  border-color: rgba(242, 214, 114, .55);
  background: rgba(242, 214, 114, .12);
  color: #f2d672;
  outline: none;
}

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

.game-rating-star:disabled {
  cursor: default;
}

.game-rating-feedback {
  min-height: 14px;
}

.game-rating-submit {
  min-width: 170px;
  min-height: 38px;
  margin-top: 13px;
  font-size: 9px;
}

.game-rating-submit:disabled,
.results-return:disabled,
.demo-game-results .back-to-lobby:disabled {
  opacity: .45;
  cursor: not-allowed;
}

@media (max-width: 760px) {
  .dashboard-shell {
    padding: 0 18px 34px;
  }

  .dashboard-top {
    min-height: 65px;
  }

  .dashboard-top .brand {
    font-size: 13px;
  }

  .dashboard-top {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 8px 12px;
    padding: 10px 0;
  }

  .dashboard-top-actions {
    display: contents;
  }

  .dashboard-credit {
    grid-column: 2;
    grid-row: 1;
    min-height: 34px;
    gap: 5px;
    padding: 2px 5px;
  }

  .dashboard-credit .credit-balance-icon {
    width: 24px;
    height: 24px;
    flex-basis: 24px;
  }

  .dashboard-credit .credit-balance-icon svg {
    width: 19px;
    height: 19px;
  }

  .dashboard-credit .credit-balance-amount {
    font-size: 12px;
  }

  .dashboard-credit .credit-pending-indicator {
    max-width: 82px;
    font-size: 6px;
  }

  .dashboard-credit .credit-balance-warning {
    display: none;
  }

  .dashboard-credit .credit-top-up-button {
    width: 25px;
    min-height: 25px;
    flex-basis: 25px;
    font-size: 17px;
  }

  .dashboard-account {
    grid-column: 1 / -1;
    grid-row: 2;
    justify-content: flex-end;
    gap: 9px;
    font-size: 9px;
  }

  .dashboard-games-nav,
  .dashboard-profile-nav {
    min-height: 31px;
    padding: 0 10px;
    font-size: 7px;
  }

  .dashboard-logout {
    min-height: 32px;
    padding: 0 10px;
    font-size: 8px;
  }

  .dashboard-welcome {
    grid-template-columns: 54px minmax(0, 1fr);
    gap: 12px;
    margin: 23px 0 16px;
  }

  .dashboard-avatar {
    width: 52px;
    height: 52px;
  }

  .dashboard-welcome h1 {
    font-size: 22px;
  }

  .dashboard-level {
    grid-column: 1 / -1;
  }

  .dashboard-profile-view .dashboard-welcome {
    grid-template-columns: 54px minmax(0, 1fr);
  }

  .dashboard-profile-view .dashboard-level,
  .dashboard-profile-view .all-levels-panel {
    grid-column: 1 / -1;
  }

  .dashboard-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }

  .dashboard-stat {
    min-height: 98px;
    padding: 12px;
  }

  .dashboard-stat > strong {
    font-size: 24px;
  }

  .dashboard-panels,
  .dashboard-bottom {
    grid-template-columns: 1fr;
    gap: 8px;
    margin-top: 9px;
  }

  .dashboard-panel {
    padding: 15px;
  }

  .demo-notice {
    font-size: 9px;
  }

  .lobby-heading {
    margin: 24px 0 16px;
  }

  .quick-profile-card {
    grid-template-columns: 49px minmax(0, 1fr);
    gap: 10px;
    padding: 13px;
  }

  .quick-profile-card .dashboard-avatar {
    width: 46px;
    height: 46px;
  }

  .quick-profile-info h2 {
    font-size: 16px;
  }

  .quick-profile-stats {
    gap: 4px 8px;
  }

  .quick-level {
    grid-column: 1 / -1;
    grid-row: 2;
  }

  .quick-profile-link {
    position: absolute;
    top: 18px;
    right: 13px;
    grid-column: auto;
    grid-row: 1;
    max-width: 60px;
    font-size: 7px;
    line-height: 1.4;
    text-align: right;
    white-space: normal;
  }

  .lobby-game-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }

  .lobby-game-card {
    min-height: 220px;
    padding: 13px;
  }

  .game-weekly {
    min-height: 235px;
  }

  .lobby-lower,
  .dashboard-profile-bottom {
    grid-template-columns: 1fr;
    gap: 8px;
    margin-top: 9px;
  }

  .lobby-section-note {
    display: none;
  }

  .level-track {
    grid-template-columns: 1fr;
  }

  .level-track-row {
    display: grid;
    grid-template-columns: 36px 1fr auto;
    align-items: center;
    gap: 7px;
    min-height: 69px;
    padding: 9px;
  }

  .level-track-row:not(:last-child)::after {
    top: auto;
    right: auto;
    bottom: -9px;
    left: 24px;
    width: 2px;
    height: 9px;
  }

  .level-track-info {
    margin: 0;
  }

  .level-track-info small {
    min-height: 0;
  }

  .level-track-xp {
    margin: 0;
    text-align: right;
  }

  .top-category-row {
    grid-template-columns: 20px 25px minmax(72px, .8fr) minmax(45px, 1fr) 32px;
    gap: 6px;
    padding: 4px 2px;
  }

  .demo-game-top {
    align-items: flex-start;
  }

  .demo-game-mode {
    max-width: 44%;
    line-height: 1.5;
  }

  .round-intro-facts {
    grid-template-columns: 1fr;
    gap: 7px;
    margin: 18px 0;
  }

  .demo-answer-grid.demo-answer-true-false {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .demo-answer-grid {
    grid-template-columns: 1fr;
    gap: 7px;
  }

  .demo-answer {
    min-height: 60px;
    padding: 10px 13px;
  }

  .demo-answer > b {
    font-size: 14px;
  }

  .question-cooldown {
    grid-template-columns: 1fr 58px;
    gap: 10px;
    min-height: 190px;
    padding: 15px 12px;
  }

  .cooldown-coin {
    width: 42px;
    height: 42px;
    font-size: 20px;
  }

  .cooldown-reward strong {
    font-size: 23px;
  }

  .cooldown-outcome strong {
    font-size: 12px;
  }

  .cooldown-outcome span {
    font-size: 9px;
  }

  .friends-room-grid {
    grid-template-columns: 1fr;
  }

  .room-theme-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .room-theme-choice:last-child {
    grid-column: auto;
  }

  .profile-avatar-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (max-width: 390px) {
  .dashboard-shell {
    padding-right: 13px;
    padding-left: 13px;
  }

  @media (prefers-reduced-motion: reduce) {
    .question-timer.timer-warning {
      animation: none;
    }

    .timer-ring-progress {
      transition: none;
    }

    .question-cooldown.cooldown-enter,
    .cooldown-coin,
    .cooldown-reward strong,
    .demo-game-score strong.points-award-pop {
      animation: none;
    }

    .cooldown-ring-progress {
      transition: none;
    }
  }

  .dashboard-account-name {
    max-width: 85px;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .dashboard-profile-nav {
    padding: 0 9px;
    font-size: 7px;
  }

  .dashboard-games-nav {
    padding: 0 9px;
    font-size: 7px;
  }

  .quick-profile-stats {
    gap: 4px 6px;
  }

  .quick-profile-stats span {
    font-size: 7px;
  }

  .lobby-game-card > strong {
    font-size: 14px;
  }

  .top-category-row {
    grid-template-columns: 17px 23px minmax(63px, .8fr) minmax(35px, 1fr) 29px;
    gap: 4px;
  }

  .category-name,
  .top-category-row > strong {
    font-size: 8px;
  }
}

.hero {
  min-height: 510px;
  padding-top: 68px;
  padding-bottom: 54px;
}

.hero-art {
  height: 405px;
}

.game-section {
  padding-top: 72px;
  padding-bottom: 72px;
}

.game-tile {
  display: block;
  color: inherit;
  text-decoration: none;
  min-height: 272px;
  padding: 22px 23px;
  border-color: #30332c;
  border-radius: 12px;
  background: linear-gradient(145deg, #20231e, #171915 72%);
  box-shadow: 0 12px 32px rgba(0, 0, 0, .13);
  transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease;
}

.tile-icon {
  width: 33px;
  height: 33px;
  border-radius: 8px;
}

.tile-icon svg {
  width: 17px;
  height: 17px;
}

.weekly-decoration {
  width: 66px;
  height: 66px;
  right: 23px;
  bottom: 27px;
}

.versus {
  width: 64px;
  height: 64px;
  right: 25px;
  bottom: 36px;
}

.friends-decoration {
  width: 68px;
  height: 68px;
  right: 27px;
  bottom: 22px;
}

.game-tile::before {
  content: "";
  position: absolute;
  top: 0;
  left: 22px;
  right: 22px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(29, 185, 84, .48), transparent);
}

.game-tile:hover {
  transform: translateY(-4px);
  border-color: #454c40;
  box-shadow: 0 18px 42px rgba(0, 0, 0, .24);
}

.tile-quick::before {
  background: linear-gradient(90deg, transparent, rgba(183, 155, 255, .48), transparent);
}

.tile-friends::before {
  background: linear-gradient(90deg, transparent, rgba(230, 177, 118, .42), transparent);
}

.tile-icon {
  width: 37px;
  height: 37px;
  border: 1px solid rgba(143, 174, 120, .16);
  border-radius: 9px;
  background: rgba(29, 185, 84, .11);
}

.tile-quick .tile-icon {
  border-color: rgba(183, 155, 255, .16);
  background: rgba(183, 155, 255, .1);
}

.tile-friends .tile-icon {
  border-color: rgba(230, 177, 118, .16);
  background: rgba(230, 177, 118, .1);
}

.status-pill {
  border: 1px solid rgba(29, 185, 84, .12);
  border-radius: 20px;
  padding: 7px 9px;
}

.status-available {
  border-color: rgba(183, 155, 255, .14);
}

.status-credit {
  border-color: rgba(230, 177, 118, .14);
}

.tile-content {
  margin-top: 24px;
}

.tile-kicker {
  color: #a5aa9b;
  font-size: 8px;
  letter-spacing: 1.5px;
}

.tile-content h3 {
  font-size: 29px;
  letter-spacing: -1.25px;
  margin-top: 9px;
}

.tile-content p {
  max-width: 245px;
  color: #a7ab9f;
  font-size: 10px;
  line-height: 1.7;
}

.tile-arrow {
  display: grid;
  place-items: center;
  width: 37px;
  height: 37px;
  right: 20px;
  bottom: 19px;
  border-color: #454b40;
  background: #252922;
  transition: color .2s ease, background .2s ease, border-color .2s ease, transform .2s ease;
  pointer-events: none;
}

.tile-icon svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.65;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.tile-decoration {
  display: grid;
  place-items: center;
  pointer-events: none;
}

.tile-decoration svg {
  width: 100%;
  height: 100%;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.tile-link:hover .tile-arrow,
.tile-link:focus-visible .tile-arrow {
  transform: translate(2px, -2px);
  border-color: var(--lime);
  background: var(--lime);
  color: #111711;
}

.tile-link:focus-visible,
.featured-link:focus-visible {
  outline: 2px solid var(--lime);
  outline-offset: 4px;
}

.weekly-decoration,
.versus,
.friends-decoration {
  opacity: .075;
}

.featured-section {
  padding-bottom: 72px;
}

.featured-card {
  display: block;
  color: inherit;
  text-decoration: none;
  min-height: 266px;
  padding: 20px 19px;
  border-color: rgba(255, 255, 255, .09);
  border-radius: 11px;
  box-shadow: inset 0 1px rgba(255, 255, 255, .035), 0 12px 30px rgba(0, 0, 0, .12);
  transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease;
}

.featured-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 255, 255, .19);
  box-shadow: inset 0 1px rgba(255, 255, 255, .06), 0 18px 40px rgba(0, 0, 0, .24);
}

.featured-cinema {
  background: radial-gradient(ellipse at 100% 0, rgba(151, 101, 174, .14), transparent 57%), linear-gradient(145deg, #242127, #19191b 76%);
}

.featured-history {
  background: radial-gradient(ellipse at 100% 0, rgba(194, 151, 75, .13), transparent 57%), linear-gradient(145deg, #29251e, #1b1a17 76%);
}

.featured-sport {
  background: radial-gradient(ellipse at 100% 0, rgba(69, 165, 143, .13), transparent 57%), linear-gradient(145deg, #1f2927, #191e1c 76%);
}

.featured-audio {
  background: radial-gradient(ellipse at 100% 0, rgba(29, 185, 84, .13), transparent 57%), linear-gradient(145deg, #202720, #191d19 76%);
}

.feature-label {
  display: inline-block;
  max-width: calc(100% - 30px);
  padding: 6px 8px;
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: 4px;
  background: rgba(8, 9, 8, .22);
  line-height: 1.35;
}

.featured-card h3 {
  margin-top: 22px;
  font-size: 27px;
  letter-spacing: -1.15px;
}

.featured-card p {
  max-width: 190px;
  line-height: 1.65;
}

.feature-art {
  display: grid;
  place-items: center;
  right: 4px;
  top: 15px;
  opacity: .76;
  transition: transform .3s ease, opacity .3s ease;
}

.feature-art svg {
  width: 62px;
  height: 62px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.3;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.featured-card:hover .feature-art {
  transform: rotate(5deg) scale(1.06);
  opacity: 1;
}

.feature-footer {
  left: 19px;
  right: 18px;
  bottom: 14px;
  padding-top: 10px;
  border-top: 1px solid rgba(255, 255, 255, .08);
}

.feature-arrow {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 1px solid #58524e;
  background: #ffffff08;
  color: inherit;
  font-size: 14px;
  transition: transform .2s ease, background .2s ease;
}

.featured-card:hover .feature-arrow {
  transform: translate(2px, -2px);
  background: rgba(255, 255, 255, .1);
}

.arena-section {
  padding-top: 66px;
  padding-bottom: 66px;
}

.cta-section {
  padding-top: 58px;
  padding-bottom: 54px;
}

@media (max-width: 700px) {
  .auth-modal.onboarding-open {
    max-height: 94dvh;
    padding: 16px 17px 13px;
  }

  .auth-modal.onboarding-open .modal-brand {
    margin-bottom: 8px;
  }

  .onboard-fields {
    gap: 5px 9px;
  }

  .onboard-fields input,
  .onboard-fields select {
    height: 37px;
  }

  .avatar-choice {
    height: 32px;
    font-size: 18px;
  }

  .topic-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 4px;
  }

  .topic-choice {
    padding: 5px 4px;
    font-size: 8px;
  }

  .consent-choice {
    font-size: 8px;
  }

  .hero {
    padding-top: 55px;
    padding-bottom: 55px;
  }

  .hero-art {
    height: 360px;
  }

  .quiz-card {
    width: min(326px, 92vw);
  }

  .quiz-card h2 {
    font-size: 19px;
  }

  .tag-side {
    right: 1%;
  }

  .achievement-tag {
    left: 1%;
    bottom: 21px;
  }

  .game-section,
  .featured-section,
  .arena-section {
    padding-top: 56px;
    padding-bottom: 56px;
  }

  .game-tile {
    min-height: 232px;
    padding: 18px;
  }

  .weekly-decoration {
    width: 56px;
    height: 56px;
    right: 20px;
    bottom: 22px;
  }

  .versus {
    width: 54px;
    height: 54px;
    right: 23px;
    bottom: 32px;
  }

  .friends-decoration {
    width: 58px;
    height: 58px;
    right: 24px;
    bottom: 18px;
  }

  .tile-content {
    margin-top: 19px;
  }

  .tile-content h3 {
    font-size: 26px;
  }

  .featured-card {
    min-height: 245px;
  }
}

@media (max-width: 760px) {
  .credit-shop-dialog {
    padding: 33px 21px 23px;
  }

  .lobby-game-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 9px;
  }

  .game-weekly {
    min-height: 240px;
    padding: 17px;
  }

  .game-weekly > strong {
    font-size: 22px;
  }

  .weekly-game-countdown {
    flex-wrap: wrap;
    gap: 4px 8px;
  }

  .weekly-game-countdown > strong {
    font-size: 16px;
  }

  .lobby-challenges {
    margin-top: 28px;
  }

  .lobby-challenges-heading h2 {
    font-size: 20px;
  }

  .lobby-challenge-track {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 9px;
  }

  .challenge-filter-row {
    align-items: flex-start;
    flex-direction: column;
    gap: 7px;
  }

  .challenge-filter-row select {
    width: 100%;
    min-width: 0;
  }

  .lobby-challenge-card {
    min-height: 220px;
    padding: 13px;
  }

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

@media (max-width: 420px) {
  .game-weekly {
    padding: 15px;
  }

  .game-weekly > strong {
    font-size: 19px;
  }

  .game-weekly .lobby-game-badge {
    right: 10px;
    max-width: 50%;
    font-size: 7px;
  }

  .lobby-card-footer,
  .challenge-card-footer {
    gap: 4px;
  }

  .lobby-card-footer .game-card-rating,
  .challenge-card-footer .game-card-rating {
    gap: 3px;
    padding: 4px;
  }

  .lobby-card-footer .game-card-stars,
  .challenge-card-footer .game-card-stars {
    font-size: 11px;
  }

  .lobby-card-footer .lobby-game-action,
  .challenge-card-footer .lobby-game-action {
    min-width: 62px;
    min-height: 30px;
    padding: 0 6px;
  }

  .game-ready-dialog {
    padding: 32px 20px 22px;
  }

  .game-ready-actions {
    flex-direction: column-reverse;
  }

  .game-ready-actions button {
    width: 100%;
  }
}

#landing-main {
  background:
    radial-gradient(ellipse at 50% -8%, rgba(29, 185, 84, .075), transparent 40%),
    #11130f;
}

#landing-main .hero,
#landing-main .section,
#landing-main .featured-section,
#landing-main .arena-section {
  max-width: 1240px;
}

#landing-main .hero {
  min-height: 545px;
  padding-top: 72px;
  padding-bottom: 68px;
}

#landing-main .hero h1 {
  max-width: 680px;
  font-size: clamp(46px, 5.4vw, 70px);
  letter-spacing: -3.8px;
  line-height: 1.06;
}

#landing-main .hero h1 span {
  color: #8cdb9f;
}

#landing-main .hero-intro {
  max-width: 490px;
  color: #aeb4a4;
  font-size: 14px;
  line-height: 1.75;
}

#landing-main .hero-buttons {
  gap: 10px;
}

#landing-main .hero-benefit {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: #aeb4a4;
  font-size: 9px;
  font-weight: 700;
}

#landing-main .hero-benefit i {
  display: grid;
  width: 17px;
  height: 17px;
  place-items: center;
  border: 1px solid rgba(126, 226, 160, .25);
  border-radius: 50%;
  background: rgba(29, 185, 84, .1);
  color: #8cdb9f;
  font-size: 9px;
  font-style: normal;
}

#landing-main .hero-art {
  height: 420px;
}

#landing-main .hero-glow {
  width: 340px;
  height: 340px;
  background: radial-gradient(circle, rgba(29, 185, 84, .1), rgba(29, 185, 84, .025) 42%, transparent 72%);
}

#landing-main .orbit {
  border-color: rgba(29, 185, 84, .08);
}

#landing-main .quiz-card {
  width: min(100%, 320px);
  padding: 20px;
  border-color: #30342b;
  border-radius: 13px;
  background: linear-gradient(145deg, rgba(32, 35, 29, .98), rgba(23, 25, 21, .98));
  box-shadow: 0 24px 70px rgba(0, 0, 0, .38);
  transform: none;
}

#landing-main .quiz-card h2 {
  font-size: 20px;
}

#landing-main .quiz-card h2 em {
  color: #8cdb9f;
}

#landing-main .answer-option {
  min-height: 32px;
  border-radius: 7px;
}

#landing-main .answer-selected {
  border-color: rgba(29, 185, 84, .58);
  background: rgba(29, 185, 84, .1);
}

#landing-main .answer-selected > span {
  background: #1db954;
  color: #11140f;
}

#landing-main .card-bottom strong {
  color: #8cdb9f;
}

#landing-main .floating-tag {
  border-color: #30342b;
  border-radius: 9px;
  background: linear-gradient(145deg, #20231d, #171915);
  box-shadow: 0 12px 30px rgba(0, 0, 0, .28);
}

#landing-main .tag-top .tag-icon {
  border: 1px solid rgba(126, 226, 160, .18);
  border-radius: 8px;
  background: rgba(29, 185, 84, .12);
  color: #8cdb9f;
}

#landing-main .achievement-avatar {
  background: rgba(29, 185, 84, .12);
  color: #8cdb9f;
}

#landing-main .section-heading {
  margin-bottom: 22px;
}

#landing-main .section-heading h2,
#landing-main .arena-copy h2 {
  color: #f1f2eb;
  font-size: clamp(29px, 3.5vw, 39px);
  letter-spacing: -1.4px;
}

#landing-main .section-heading h2 span,
#landing-main .arena-copy h2 span {
  color: #8cdb9f;
}

#landing-main .game-section,
#landing-main .featured-section,
#landing-main .arena-section {
  padding-top: 72px;
  padding-bottom: 72px;
}

#landing-main .game-grid {
  max-width: 880px;
  margin: 0 auto;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

#landing-main .game-tile {
  display: flex;
  min-height: 250px;
  flex-direction: column;
  padding: 19px;
  overflow: hidden;
  border: 1px solid #30342b;
  border-radius: 11px;
  background: linear-gradient(145deg, rgba(32, 35, 29, .96), rgba(23, 25, 21, .96));
  box-shadow: none;
}

#landing-main .game-tile::before {
  right: 19px;
  left: 19px;
  background: linear-gradient(90deg, transparent, rgba(126, 226, 160, .35), transparent);
}

#landing-main .game-tile:hover {
  border-color: rgba(126, 226, 160, .45);
  box-shadow: 0 12px 30px rgba(0, 0, 0, .2);
}

#landing-main .tile-quick::before,
#landing-main .tile-friends::before {
  background: linear-gradient(90deg, transparent, rgba(126, 226, 160, .35), transparent);
}

#landing-main .tile-icon,
#landing-main .tile-quick .tile-icon,
#landing-main .tile-friends .tile-icon {
  width: 38px;
  height: 38px;
  border: 1px solid rgba(126, 226, 160, .22);
  border-radius: 10px;
  background: rgba(29, 185, 84, .1);
  color: #8cdb9f;
}

#landing-main .tile-content {
  position: relative;
  z-index: 1;
  margin-top: 20px;
}

#landing-main .tile-content h3 {
  color: #f1f2eb;
  font-size: 22px;
  letter-spacing: -.7px;
}

#landing-main .tile-content p {
  max-width: 280px;
  color: #a2a698;
  font-size: 10px;
  line-height: 1.6;
}

#landing-main .tile-kicker {
  color: #8cdb9f;
  font-size: 8px;
  letter-spacing: .1em;
}

#landing-main .status-pill,
#landing-main .status-available,
#landing-main .status-credit {
  max-width: 55%;
  border: 1px solid rgba(126, 226, 160, .24);
  border-radius: 999px;
  background: rgba(29, 185, 84, .1);
  color: #a7e7b1;
  font-size: 7px;
  line-height: 1.3;
}

#landing-main .tile-note,
#landing-main .countdown {
  position: relative;
  z-index: 1;
  color: #aeb4a4;
  font-size: 9px;
}

#landing-main .countdown b {
  color: #e4e8da;
}

#landing-main .weekly-decoration,
#landing-main .versus,
#landing-main .friends-decoration {
  color: #8cdb9f;
  opacity: .06;
}

#landing-main .featured-section {
  max-width: 1240px;
}

#landing-main .featured-section .section-heading {
  margin-bottom: 20px;
}

#landing-main .landing-challenge-filter {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 16px;
}

#landing-main .landing-challenge-filter label {
  color: #c5cbbb;
  font-size: 11px;
  font-weight: 800;
}

#landing-main .landing-challenge-filter select {
  min-width: 220px;
  min-height: 40px;
  padding: 0 38px 0 13px;
  border: 1px solid #3c4236;
  border-radius: 9px;
  background: #1b1e19;
  color: #f0f2e9;
  font: 700 11px var(--font);
}

#landing-main .featured-track {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  overflow: visible;
}

#landing-main .featured-card {
  display: flex;
  min-height: 220px;
  flex-direction: column;
  padding: 16px;
  border: 1px solid #30342b;
  border-radius: 11px;
  background: linear-gradient(145deg, rgba(32, 35, 29, .96), rgba(23, 25, 21, .96));
  box-shadow: none;
}

#landing-main .featured-card[hidden] {
  display: none;
}

#landing-main .featured-card:hover {
  transform: translateY(-3px);
  border-color: rgba(126, 226, 160, .45);
  box-shadow: 0 12px 28px rgba(0, 0, 0, .2);
}

#landing-main .featured-cinema,
#landing-main .featured-history,
#landing-main .featured-sport,
#landing-main .featured-audio {
  color: #8cdb9f;
  background: linear-gradient(145deg, rgba(32, 35, 29, .96), rgba(23, 25, 21, .96));
}

#landing-main .feature-label {
  position: relative;
  z-index: 1;
  width: fit-content;
  max-width: calc(100% - 54px);
  padding: 5px 8px;
  overflow: hidden;
  border: 1px solid rgba(126, 226, 160, .22);
  border-radius: 999px;
  background: rgba(29, 185, 84, .09);
  color: #a7e7b1;
  font-size: 7px;
  font-weight: 800;
  letter-spacing: .03em;
  text-overflow: ellipsis;
  white-space: nowrap;
}

#landing-main .landing-card-kicker {
  margin-top: 19px;
  color: #8cdb9f;
  font-size: 7px;
  font-weight: 800;
  letter-spacing: .12em;
}

#landing-main .featured-card h3 {
  margin: 5px 48px 0 0;
  color: #f1f2eb;
  font: 700 17px/1.25 var(--display);
  letter-spacing: -.35px;
}

#landing-main .featured-card p {
  max-width: 320px;
  margin: 6px 0 0;
  color: #a2a698;
  font-size: 9px;
  line-height: 1.5;
}

#landing-main .feature-art {
  top: 15px;
  right: 15px;
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border: 1px solid rgba(126, 226, 160, .2);
  border-radius: 10px;
  background: rgba(29, 185, 84, .1);
  color: #8cdb9f;
  font-family: var(--font);
  font-size: 19px;
  line-height: 1;
  opacity: 1;
  transform: none;
}

#landing-main .feature-art svg {
  width: 21px;
  height: 21px;
  stroke-width: 1.7;
}

#landing-main .feature-footer {
  position: relative;
  inset: auto;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  margin-top: auto;
  padding-top: 11px;
  border-top: 1px solid #30342b;
}

#landing-main .feature-footer > span {
  display: inline-flex;
  min-width: 112px;
  min-height: 38px;
  align-items: center;
  justify-content: center;
  padding: 0 18px;
  border: 1px solid rgba(210, 220, 191, .25);
  border-radius: 7px;
  background: rgba(210, 220, 191, .09);
  color: #e0e5d5;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .045em;
  box-shadow: inset 0 1px rgba(255, 255, 255, .04);
  transition: background .18s ease, box-shadow .18s ease;
}

#landing-main .featured-card:hover .feature-footer > span,
#landing-main .featured-card:focus-visible .feature-footer > span {
  border-color: rgba(210, 220, 191, .45);
  background: rgba(210, 220, 191, .15);
  box-shadow: 0 4px 12px rgba(0, 0, 0, .16), inset 0 1px rgba(255, 255, 255, .06);
}

#landing-main .feature-footer i {
  display: none;
}

#landing-main .arena-section {
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  gap: 28px;
  padding-top: 72px;
  padding-bottom: 72px;
}

#landing-main .arena-copy > p {
  max-width: 440px;
  color: #aeb4a4;
  font-size: 11px;
  line-height: 1.7;
}

#landing-main .rank-steps {
  gap: 9px;
}

#landing-main .rank-step {
  color: #aeb4a4;
}

#landing-main .rank-step.active {
  color: #a7e7b1;
}

#landing-main .rank-icon {
  border-color: #3b4236;
  border-radius: 9px;
  background: #20231d;
  color: #8cdb9f;
}

#landing-main .rank-step.active .rank-icon {
  border-color: rgba(126, 226, 160, .4);
  background: rgba(29, 185, 84, .12);
}

#landing-main .rank-steps > i {
  background: #3b4236;
}

#landing-main .leaderboard-card {
  border: 1px solid #2c3028;
  border-radius: 12px;
  background: linear-gradient(145deg, rgba(32, 35, 29, .96), rgba(23, 25, 21, .96));
  box-shadow: none;
}

#landing-main .leaderboard-head h3 {
  color: #f1f2eb;
}

#landing-main .city-label,
#landing-main .leaderboard-period {
  color: #8cdb9f;
}

#landing-main .leader-row {
  border-color: #30342b;
  background: rgba(255, 255, 255, .015);
}

#landing-main .leader-score {
  color: #f1f2eb;
}

#landing-main .leader-you {
  border-color: rgba(126, 226, 160, .2);
  background: rgba(29, 185, 84, .07);
}

#landing-main .leader-you button {
  border: 1px solid rgba(126, 226, 160, .3);
  border-radius: 999px;
  background: rgba(29, 185, 84, .14);
  color: #a7e7b1;
}

#landing-main .leaderboard-tabs {
  border-color: #30342b;
  color: #8e9387;
}

#landing-main .leaderboard-tabs .tab-current {
  color: #a7e7b1;
}

#landing-main .cta-section {
  max-width: 1172px;
  margin: 0 auto 50px;
  padding: 42px 24px;
  border: 1px solid #30342b;
  border-radius: 13px;
  background:
    radial-gradient(ellipse at 50% 0, rgba(29, 185, 84, .1), transparent 56%),
    linear-gradient(145deg, #20231d, #171915);
  text-align: center;
}

#landing-main .cta-section h2 {
  color: #f1f2eb;
  font-size: clamp(28px, 4vw, 38px);
  letter-spacing: -1.4px;
}

#landing-main .cta-section h2 span {
  color: #8cdb9f;
}

#landing-main .cta-section p {
  color: #aeb4a4;
  font-size: 11px;
}

.footer {
  border-color: #2c3028;
}

@media (max-width: 900px) {
  #landing-main .hero {
    min-height: 490px;
  }

  #landing-main .arena-section {
    gap: 20px;
  }
}

@media (max-width: 700px) {
  #landing-main .hero {
    padding-top: 48px;
    padding-bottom: 38px;
  }

  #landing-main .hero h1 {
    font-size: clamp(38px, 10vw, 54px);
    letter-spacing: -2.5px;
  }

  #landing-main .hero-intro {
    font-size: 12px;
  }

  #landing-main .hero-buttons {
    flex-wrap: wrap;
  }

  #landing-main .social-proof {
    flex-wrap: wrap;
    gap: 8px 14px;
  }

  #landing-main .hero-art {
    height: 355px;
    margin-top: 15px;
    transform: none;
  }

  #landing-main .tag-side {
    right: 0;
  }

  #landing-main .achievement-tag {
    bottom: 8px;
  }

  #landing-main .game-section,
  #landing-main .featured-section,
  #landing-main .arena-section {
    padding-top: 48px;
    padding-bottom: 48px;
  }

  #landing-main .game-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 9px;
  }

  #landing-main .game-tile {
    min-height: 230px;
    padding: 14px;
  }

  #landing-main .tile-content {
    margin-top: 17px;
  }

  #landing-main .tile-content h3 {
    font-size: 19px;
  }

  #landing-main .tile-content p {
    font-size: 9px;
  }

  #landing-main .featured-track {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 9px;
  }

  #landing-main .featured-card {
    min-height: 205px;
    padding: 12px;
  }

  #landing-main .landing-challenge-filter {
    align-items: flex-start;
    flex-direction: column;
    gap: 7px;
  }

  #landing-main .landing-challenge-filter select {
    width: 100%;
  }

  #landing-main .arena-section {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  #landing-main .rank-steps {
    gap: 6px;
  }

  #landing-main .rank-step {
    font-size: 7px;
  }

  #landing-main .cta-section {
    margin: 0 18px 30px;
    padding: 32px 18px;
  }
}

@media (max-width: 390px) {
  #landing-main .featured-track {
    grid-template-columns: 1fr;
  }

  #landing-main .featured-card {
    min-height: 190px;
  }

  #landing-main .game-grid {
    grid-template-columns: 1fr;
  }

  #landing-main .game-tile {
    min-height: 210px;
  }
}
