@charset "UTF-8";
:root {
  color-scheme: dark;
  --bg: #101114;
  --panel: #181a1e;
  --border: #2c2e35;
  --muted: #8f939f;
  --text: #f1f1f3;
  --gold: #f1b957;
  --green: #94db9e;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font:
    14px/1.5 "Segoe UI",
    system-ui,
    sans-serif;
}
a {
  color: inherit;
  text-decoration: none;
}
button,
a,
input,
summary {
  -webkit-tap-highlight-color: transparent;
}
a:focus-visible,
summary:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 5px;
}
button {
  font: inherit;
}
.skip {
  position: absolute;
  left: 12px;
  top: -100px;
  padding: 10px;
  background: var(--gold);
  color: #101114;
  z-index: 10;
}
.skip:focus {
  top: 10px;
}
.topbar {
  background: #151619;
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  max-width: 1240px;
  padding: 19px 28px;
  margin: auto;
  display: flex;
  align-items: center;
  gap: 52px;
}
.brand {
  display: flex;
  gap: 10px;
  align-items: center;
}
.brand svg {
  color: var(--gold);
}
.brand b {
  font-size: 27px;
  font-weight: 950;
  line-height: 1;
  letter-spacing: -1.4px;
  display: block;
}
.plus {
  color: var(--gold);
}
.brand small {
  font-size: 9px;
  letter-spacing: 2px;
  color: #b6b8c1;
}
.arcade-label {
  margin-left: auto;
  color: #757983;
  font-size: 10px;
  letter-spacing: 1.6px;
}
.topbar nav {
  font-size: 12px;
  color: #a2a6b0;
}
.topbar nav a:hover {
  color: var(--gold);
}
.active-nav {
  color: var(--text);
  position: relative;
}
.active-nav:after {
  content: "";
  position: absolute;
  bottom: -31px;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--gold);
}
.hero {
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid #332b25;
  background:
    radial-gradient(ellipse at 80% -10%, #663a2f66, transparent 58%),
    linear-gradient(110deg, #191719, #191619 65%, #292022);
}
.hero-inner {
  max-width: 1240px;
  margin: auto;
  padding: 50px 28px 60px;
  min-height: 270px;
  display: flex;
  align-items: center;
  gap: 27px;
}
.hero-copy {
  position: relative;
  z-index: 1;
  min-width: 0;
}
.community {
  background: #191719;
}
.community .hero-inner {
  min-height: 170px;
  padding-top: 36px;
  padding-bottom: 48px;
}
.community h1 {
  font-weight: 950;
  letter-spacing: -3px;
  margin: 0;
}
.eyebrow {
  font-size: 10px;
  font-weight: 750;
  letter-spacing: 2.1px;
  color: var(--gold);
  text-transform: uppercase;
}
h1 {
  font-size: clamp(38px, 5vw, 60px);
  line-height: 1.07;
  letter-spacing: -2.4px;
  margin: 16px 0 16px;
  font-weight: 850;
}
h1 span {
  color: var(--gold);
}
.hero p {
  font-size: 14px;
  color: #a8a4a8;
  margin: 0;
}
.hero-art {
  position: absolute;
  right: max(5%, calc((100% - 1120px) / 2));
  width: 340px;
  height: 250px;
  transform: rotate(-19deg);
  opacity: 0.65;
}
.hero-art:before {
  content: "";
  position: absolute;
  inset: -150px;
  background: radial-gradient(ellipse, #9958331c, transparent 65%);
}
.strings {
  display: flex;
  justify-content: space-around;
  position: absolute;
  inset: -30px 20px 0;
}
.strings i {
  height: 330px;
  width: 1px;
  background: linear-gradient(transparent, #a5927844, transparent);
}
.frets {
  display: flex;
  position: absolute;
  left: 20px;
  right: 20px;
  top: 98px;
  justify-content: space-around;
}
.frets i {
  width: 32px;
  height: 17px;
  border-radius: 50%;
  background: #71996e;
  box-shadow:
    0 0 0 5px #71996e11,
    0 10px 24px #0008;
}
.frets i:nth-child(2) {
  background: #af605b;
  box-shadow: 0 0 0 5px #af605b11;
}
.frets i:nth-child(3) {
  background: #c3a05a;
  box-shadow: 0 0 0 5px #c3a05a11;
}
.frets i:nth-child(4) {
  background: #6588ad;
  box-shadow: 0 0 0 5px #6588ad11;
}
.frets i:nth-child(5) {
  background: #c68d58;
  box-shadow: 0 0 0 5px #c68d5811;
}
.hero-art > span {
  position: absolute;
  bottom: 32px;
  left: 50px;
  font-size: 8px;
  letter-spacing: 3.5px;
  color: #c2a18b;
}
.avatar {
  display: grid;
  place-items: center;
  flex: 0 0 90px;
  height: 90px;
  border: 1px solid #936633;
  border-radius: 20px;
  background: linear-gradient(140deg, #76533355, #302728);
  font-size: 33px;
  font-weight: 800;
  color: var(--gold);
  position: relative;
  z-index: 1;
}
.profile .hero-inner {
  min-height: 225px;
  padding-top: 42px;
  padding-bottom: 55px;
}
.profile h1 {
  font-size: 48px;
  overflow-wrap: anywhere;
}
.separator {
  color: #615655;
  padding: 0 10px;
}
.content {
  max-width: 1240px;
  padding: 0 28px;
  margin: auto;
}
.stats {
  position: relative;
  margin-top: -22px;
  margin-bottom: 38px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}
.metric {
  border: 1px solid #343138;
  background: linear-gradient(140deg, #222126, #1a1c21);
  border-radius: 9px;
  padding: 19px 24px;
  box-shadow: 0 10px 30px #0002;
}
.metric span {
  font-size: 10px;
  letter-spacing: 1.3px;
  font-weight: 650;
  color: #9da0ab;
  text-transform: uppercase;
  display: block;
  margin-bottom: 7px;
}
.metric strong {
  font-size: 29px;
  line-height: 1.2;
  font-weight: 750;
  letter-spacing: -0.7px;
  font-variant-numeric: tabular-nums;
}
.feed {
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--panel);
  overflow: hidden;
  box-shadow: 0 12px 35px #0001;
  scroll-margin-top: 20px;
}
.feed-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 25px 25px 22px;
  gap: 20px;
}
h2 {
  font-size: 20px;
  line-height: 1.3;
  letter-spacing: -0.4px;
  margin: 6px 0;
}
.feed-heading p {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 12px;
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 9px 16px;
  border: 1px solid #554431;
  border-radius: 6px;
  background: #31281d;
  color: #edc27d;
  font-size: 12px;
  font-weight: 650;
  cursor: pointer;
  white-space: nowrap;
}
.button:hover {
  background: #403021;
  border-color: #876237;
}
.button.subtle {
  background: #22242a;
  color: #c0c3cc;
  border-color: #363943;
}
.button[aria-disabled="true"] {
  pointer-events: none;
  opacity: 0.5;
}
.feed-strip {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
  background: #14161a;
  border-block: 1px solid #282b32;
  padding: 11px 25px;
  color: #717683;
  font-size: 10px;
}
.order {
  font-size: 9px;
  letter-spacing: 1.2px;
  font-weight: 700;
  color: #b6b9c1;
  display: flex;
  align-items: center;
  gap: 9px;
}
.order i {
  height: 5px;
  width: 5px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 8px #efb85833;
}
.table-scroll {
  overflow-x: auto;
}
table {
  width: 100%;
  border-collapse: collapse;
  white-space: nowrap;
  text-align: left;
  table-layout: fixed;
}
th {
  font-size: 10px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #747b8b;
  padding: 16px 24px;
  font-weight: 650;
  border-bottom: 1px solid #292d35;
}
th:first-child {
  width: 34%;
}
th:nth-child(2) {
  width: 17%;
}
th:nth-child(3) {
  width: 17%;
}
th:nth-child(4) {
  width: 19%;
}
th:last-child {
  width: 13%;
}
td {
  padding: 19px 24px;
  vertical-align: middle;
  border-bottom: 1px solid #282b32;
}
tbody tr:last-child td {
  border-bottom: 0;
}
tbody tr:hover {
  background: #ffffff02;
}
.song {
  white-space: normal;
}
.song-title {
  display: block;
  font-weight: 700;
  font-size: 14px;
  color: #e3e4e8;
  line-height: 1.45;
  overflow-wrap: anywhere;
}
.song-meta {
  display: block;
  color: #737c8b;
  font-size: 10px;
  margin-top: 5px;
}
.difficulty {
  color: #a9aeb9;
}
.diff-4 {
  color: #e7ac66;
}
.diff-3 {
  color: #b99ae0;
}
.diff-2 {
  color: #e2cc79;
}
.diff-1 {
  color: #8dbb9b;
}
.chart {
  font-size: 9px;
  color: #697180;
  margin-top: 5px;
}
.chart summary {
  cursor: pointer;
  display: inline-block;
  list-style: none;
  font-family: ui-monospace, monospace;
  letter-spacing: 0.2px;
}
.chart summary:after {
  content: " +";
  color: #9a8d78;
}
.chart[open] summary:after {
  content: " −";
}
.chart code {
  display: block;
  white-space: normal;
  overflow-wrap: anywhere;
  background: #111317;
  border: 1px solid #30343d;
  border-radius: 4px;
  padding: 8px;
  margin-top: 7px;
  user-select: all;
  color: #a7aebe;
  font-size: 10px;
}
.player-link {
  color: #ebc080;
  font-weight: 650;
  font-size: 12px;
  overflow-wrap: anywhere;
  white-space: normal;
}
.player-link:hover {
  color: #ffe0a9;
  text-decoration: underline;
}
.player-link span {
  font-size: 10px;
  color: #75634d;
}
.numeric {
  text-align: right;
}
.score {
  font-size: 19px;
  letter-spacing: -0.4px;
  font-weight: 750;
  font-variant-numeric: tabular-nums;
}
.stars {
  display: block;
  color: #bd9759;
  font-size: 9px;
  letter-spacing: 1.8px;
  margin-top: 4px;
}
.accuracy {
  display: inline-block;
  font-size: 16px;
  font-weight: 650;
  font-variant-numeric: tabular-nums;
  color: #d6d9df;
}
.accuracy small {
  font-size: 10px;
  margin-left: 1px;
  color: #87909f;
}
.status {
  font-size: 8px;
  padding: 3px 5px;
  border-radius: 3px;
  margin-left: 7px;
  display: inline-block;
  font-weight: 750;
  text-transform: uppercase;
  vertical-align: 2px;
}
.status.fc {
  color: #9adea2;
  background: #213528;
}
.status.passed {
  color: #959ca8;
  background: #272c34;
}
.status.failed {
  color: #e5a4a1;
  background: #3d272b;
}
.combo {
  display: block;
  color: #6f7888;
  font-size: 10px;
  margin-top: 4px;
}
.submitted {
  font-size: 11px;
  color: #8992a0;
  white-space: normal;
  font-variant-numeric: tabular-nums;
}
.modifier {
  display: inline-block;
  font-size: 8px;
  color: #b9a9ce;
  border: 1px solid #51475f;
  border-radius: 3px;
  margin: 5px 4px 0 0;
  padding: 1px 5px;
}
.feed-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 17px 25px;
  border-top: 1px solid var(--border);
  background: #15171b;
}
.feed-footer > span {
  font-size: 11px;
  color: #7d8594;
}
.empty {
  text-align: center;
  padding: 62px 20px;
  white-space: normal;
}
.empty strong {
  display: block;
  font-size: 18px;
  color: #d4d5dc;
}
.empty > span {
  display: block;
  color: #858c9a;
  margin-top: 7px;
  font-size: 12px;
}
.notice {
  padding: 13px 25px;
  margin: 0;
  background: #3e3021;
  color: #efc68b;
}
.footer {
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 29px 0 40px;
  color: #5c6370;
  font-size: 10px;
}
.footer > a {
  font-weight: 900;
  color: #9b9fa9;
  font-size: 16px;
  letter-spacing: -0.7px;
}
.footer > a span {
  color: #a27e48;
}
.footer > span {
  margin-left: auto;
}
.not-found {
  max-width: 800px;
  margin: 12vh auto;
  padding: 28px;
}
.not-found p {
  color: var(--muted);
  margin-bottom: 30px;
}
[hidden] {
  display: none !important;
}
@media (min-width: 1500px) {
  .hero-art {
    right: calc((100% - 1100px) / 2);
  }
}
@media (max-width: 900px) {
  .hero-art {
    right: -40px;
    opacity: 0.3;
  }
  .arcade-label {
    display: none;
  }
  .nav-inner {
    gap: 30px;
  }
  .metric {
    padding: 18px;
  }
  .metric strong {
    font-size: 25px;
  }
  table {
    min-width: 850px;
  }
  .feed-heading {
    padding: 22px;
  }
  .footer > span {
    display: none;
  }
}
@media (max-width: 560px) {
  .nav-inner {
    padding: 16px 20px;
    justify-content: space-between;
    gap: 15px;
  }
  .brand b {
    font-size: 24px;
  }
  .brand small {
    font-size: 8px;
    letter-spacing: 1.7px;
  }
  .topbar nav {
    font-size: 11px;
  }
  .active-nav:after {
    bottom: -27px;
  }
  .hero-inner {
    padding: 37px 20px 48px;
    min-height: 245px;
  }
  .hero-art {
    opacity: 0.17;
    right: -150px;
  }
  h1 {
    font-size: 44px;
    letter-spacing: -1.7px;
  }
  .hero p {
    font-size: 12px;
    max-width: 265px;
  }
  .content {
    padding: 0 15px;
  }
  .stats {
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-bottom: 25px;
  }
  .metric {
    padding: 15px 17px;
  }
  .metric strong {
    font-size: 25px;
  }
  .feed-heading {
    padding: 20px 17px;
  }
  .feed-heading h2 {
    font-size: 17px;
  }
  .feed-heading p {
    max-width: 210px;
    font-size: 11px;
  }
  .feed-heading .eyebrow {
    font-size: 8px;
    letter-spacing: 1.5px;
  }
  .button {
    padding: 8px 11px;
    font-size: 11px;
  }
  .feed-strip {
    padding: 10px 17px;
  }
  .feed-strip > span:last-child {
    display: none;
  }
  .feed-footer {
    padding: 15px 17px;
  }
  .footer {
    gap: 15px;
    padding: 25px 4px;
  }
  .profile .hero-inner {
    gap: 17px;
    padding: 32px 20px 48px;
  }
  .avatar {
    flex-basis: 58px;
    height: 58px;
    border-radius: 13px;
    font-size: 23px;
  }
  .profile h1 {
    font-size: 34px;
    letter-spacing: -1px;
  }
  .profile .hero p {
    font-size: 11px;
  }
  .profile .eyebrow {
    font-size: 9px;
  }
}

/* Player account entry points and sign-in page. */
[hidden] {
  display: none !important;
}
.topbar nav {
  flex-wrap: wrap;
  align-items: center;
}
.account-sign-out {
  border: 0;
  padding: 0;
  color: var(--muted);
  background: none;
  cursor: pointer;
}
.account-sign-out:hover {
  color: var(--gold);
}
.account-sign-out:focus-visible,
.player-login input:focus-visible,
.player-login button:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 4px;
}
.player-login {
  max-width: 560px;
  margin: 64px auto;
  padding: 0 20px;
}
.player-login-card {
  background: var(--panel);
  border: 1px solid var(--border);
  border-top: 3px solid var(--gold);
  padding: 36px;
  border-radius: 12px;
}
.player-login-card h1 {
  font-size: clamp(30px, 6vw, 42px);
  line-height: 1.1;
  margin: 14px 0 18px;
}
.player-login-card p {
  color: #b5b7c0;
}
.player-login label {
  display: block;
  font-weight: 600;
  margin: 20px 0 8px;
}
.player-login input {
  width: 100%;
  border: 1px solid #454853;
  border-radius: 6px;
  padding: 13px;
  background: #111216;
  color: var(--text);
  font: inherit;
  font-size: 16px;
}
.player-login .button {
  width: 100%;
  cursor: pointer;
  font: inherit;
  justify-content: center;
}
.player-login .button:disabled {
  opacity: 0.55;
  cursor: wait;
}
.player-login-status {
  min-height: 24px;
  margin: 16px 0;
}
.player-login-footnote {
  font-size: 12px;
  margin-top: 24px;
}
.player-back {
  display: inline-block;
  margin-top: 12px;
  color: var(--gold);
}
@media (max-width: 650px) {
  .player-login {
    margin: 28px auto;
  }
  .player-login-card {
    padding: 25px;
  }
  .nav-inner {
    flex-wrap: wrap;
    height: auto;
    min-height: 80px;
    gap: 18px;
    padding-top: 16px;
    padding-bottom: 16px;
  }
  .arcade-label {
    display: none;
  }
  .topbar nav {
    gap: 15px;
  }
}

/* Separate navigation panels with a soft, warm surface gradient. */
.topbar {
  background:
    radial-gradient(ellipse at 80% 0%, #4c39251c, transparent 65%), #151619;
  border-bottom-color: #39312a;
}
.nav-inner {
  gap: 36px;
  min-height: 98px;
  padding-top: 20px;
  padding-bottom: 20px;
}
.brand {
  flex-shrink: 0;
}
.topbar nav {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
}
.leaderboard-nav,
.account-nav {
  padding: 6px;
  border: 1px solid #38383d;
  border-radius: 12px;
  background: linear-gradient(135deg, #2b2b2f 0%, #1c1d21 65%, #17181c 100%);
  box-shadow:
    inset 0 1px 0 #ffffff07,
    0 5px 18px #00000018;
}
.topbar .leaderboard-nav a {
  display: block;
  padding: 11px 17px;
  border-radius: 7px;
  white-space: nowrap;
  color: #c4c3c7;
  transition:
    background 160ms ease,
    color 160ms ease;
}
.topbar .leaderboard-nav a:hover {
  background: #ffffff08;
  color: #f3d399;
}
.topbar .leaderboard-nav .active-nav {
  color: #f3d399;
  background: linear-gradient(110deg, #55412565, #332b2150);
}
.active-nav:after {
  display: none;
}
.account-nav {
  margin-left: auto;
  border-color: #4c4031;
  background: linear-gradient(125deg, #393024 0%, #262321 55%, #1b1c20 100%);
}
.account-nav a {
  white-space: nowrap;
}
#player-profile,
#player-sign-in {
  display: inline-block;
  border: 1px solid #655034;
  border-radius: 7px;
  padding: 11px 18px;
  background: linear-gradient(115deg, #59432b88, #3b302250);
  color: #f5d59d;
  max-width: 290px;
  overflow: hidden;
  text-overflow: ellipsis;
  transition:
    background 160ms ease,
    border-color 160ms ease;
}
#player-profile:hover,
#player-sign-in:hover {
  background: linear-gradient(115deg, #765832aa, #483a2855);
  border-color: #98713f;
}
.account-sign-out {
  border: 1px solid #414044;
  border-radius: 7px;
  padding: 11px 17px;
  background: linear-gradient(135deg, #2c2c30, #202125);
  color: #b5b1ac;
  font-size: 13px;
  white-space: nowrap;
  cursor: pointer;
  transition:
    background 160ms ease,
    color 160ms ease;
}
.account-sign-out:hover {
  background: #353034;
  color: #f1dfce;
}
@media (max-width: 900px) {
  .nav-inner {
    gap: 20px;
  }
}
@media (max-width: 760px) {
  .nav-inner {
    flex-wrap: wrap;
  }
  .account-nav {
    flex-basis: 100%;
    margin-left: 0;
    justify-content: space-between;
  }
  .topbar .leaderboard-nav {
    margin-left: auto;
  }
}
@media (max-width: 450px) {
  .nav-inner {
    padding-left: 18px;
    padding-right: 18px;
    gap: 18px;
  }
  .topbar .leaderboard-nav {
    padding: 4px;
  }
  .topbar .leaderboard-nav a {
    padding: 10px;
    font-size: 12px;
  }
  #player-profile {
    max-width: calc(100vw - 156px);
    padding-left: 12px;
    padding-right: 12px;
  }
  .account-sign-out {
    padding-left: 12px;
    padding-right: 12px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .topbar nav a,
  .account-sign-out {
    transition: none;
  }
}

/* Identical navigation geometry on every public page, including the active link. */
.topbar .leaderboard-nav a,
.topbar .leaderboard-nav a[aria-current="page"] {
  display: flex;
  align-items: center;
  min-height: 44px;
  padding: 11px 17px;
  color: #d4d0c9;
  background: transparent;
}
