:root {
  --ink: #09071b;
  --panel: #141129;
  --pink: #ff4fa5;
  --cyan: #56e0ff;
  --lime: #d5ff43;
  --paper: #f9f6ff;
  --muted: #ada8c4;
  --line: #ffffff1f;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  min-width: 320px;
  background: var(--ink);
  color: var(--paper);
  font-family: "Zen Kaku Gothic New", sans-serif;
  overflow-x: hidden;
  background-color: var(--ink);
  background-image:
    linear-gradient(180deg, #080614b8 0%, #09071be6 64%, #09071bf5 100%),
    url("/images/ride1-galaxy-bg-v1.png");
  background-position: center top;
  background-size: cover;
  background-attachment: fixed;
  background-repeat: no-repeat;
}
.ambient {
  position: fixed;
  z-index: -1;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
}
.ambient-one {
  width: 35rem;
  height: 35rem;
  top: -18rem;
  left: -15rem;
  background: #bc32aa40;
}
.ambient-two {
  width: 32rem;
  height: 32rem;
  top: 26rem;
  right: -19rem;
  background: #175adb32;
}
.site-header,
main,
footer {
  width: min(1160px, calc(100% - 48px));
  margin: auto;
}
.site-header {
  height: 88px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--paper);
  text-decoration: none;
  font: 11px/1.15 "DM Mono";
  letter-spacing: 0.13em;
}
.brand b {
  font-size: 9px;
  color: var(--pink);
  font-weight: 400;
}
.brand-mark {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border: 1px solid var(--pink);
  border-radius: 50%;
  font: 20px Georgia;
  color: var(--pink);
  box-shadow: 0 0 18px #ff4fa566;
}
.header-note {
  font-size: 12px;
  color: var(--muted);
}
.header-actions {
  display: flex;
  align-items: center;
  gap: 18px;
}
.youtube-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid #ff4fa56b;
  border-radius: 999px;
  padding: 9px 14px;
  color: #fff4fa;
  background: #ff4fa512;
  text-decoration: none;
  font: 700 10px "DM Mono";
  letter-spacing: 0.08em;
  transition: 0.2s ease;
}
.youtube-link:hover {
  border-color: var(--pink);
  background: #ff4fa526;
  box-shadow: 0 0 20px #ff4fa538;
  transform: translateY(-1px);
}
.youtube-icon {
  display: grid;
  place-items: center;
  width: 19px;
  height: 14px;
  border-radius: 4px;
  background: var(--pink);
  color: white;
  font-size: 8px;
  line-height: 1;
}
.twitch-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid #9147ff80;
  border-radius: 999px;
  padding: 9px 14px;
  color: #f8f2ff;
  background: #9147ff18;
  text-decoration: none;
  font: 700 10px "DM Mono";
  letter-spacing: 0.08em;
  transition: 0.2s ease;
}
.twitch-link:hover {
  border-color: #a970ff;
  background: #9147ff30;
  box-shadow: 0 0 20px #9147ff45;
  transform: translateY(-1px);
}
.twitch-icon {
  display: grid;
  place-items: center;
  width: 19px;
  height: 16px;
  border-radius: 5px;
  background: #9147ff;
  color: white;
  font: 900 10px Arial, sans-serif;
  line-height: 1;
}
.status-dot {
  display: inline-block;
  width: 7px;
  height: 7px;
  margin-right: 7px;
  border-radius: 50%;
  background: var(--lime);
  box-shadow: 0 0 12px var(--lime);
}
.hero {
  position: relative;
  isolation: isolate;
  min-height: 565px;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(390px, 0.92fr);
  overflow: hidden;
  border: 1px solid #ffffff24;
  border-radius: 26px;
  background:
    radial-gradient(ellipse at 75% 30%, #68308687 0%, transparent 40%),
    linear-gradient(110deg, #160d2df2, #100c20e8 52%, #081826d9),
    url("/images/ride1-galaxy-bg-v1.png") center/cover;
}
.hero:after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  opacity: 0.34;
  background-image: radial-gradient(#e46fff 1px, transparent 1.4px);
  background-size: 18px 18px;
  mask-image: linear-gradient(105deg, black, transparent 65%);
}
.hero-copy {
  align-self: center;
  padding: 64px 0 64px 64px;
  z-index: 2;
}
.eyebrow {
  margin: 0 0 10px;
  font: 11px "DM Mono";
  letter-spacing: 0.16em;
  color: var(--cyan);
}
.hero-kicker {
  margin: 0;
  color: var(--pink);
  font-size: 15px;
  font-weight: 700;
}
.hero h1 {
  max-width: 610px;
  margin: 7px 0 16px;
  font-size: clamp(40px, 5.3vw, 72px);
  line-height: 1.03;
  letter-spacing: -0.07em;
}
.hero-info,
.hero-request {
  margin: 5px 0;
  font-size: 14px;
  color: var(--muted);
}
.hero-request {
  color: #e7ddfb;
}
.hero-actions {
  display: flex;
  gap: 10px;
  margin-top: 27px;
}
.button-primary,
.button-ghost,
.refresh {
  border: 1px solid;
  border-radius: 999px;
  padding: 12px 19px;
  font: 700 13px "Zen Kaku Gothic New";
  cursor: pointer;
  text-decoration: none;
  color: var(--paper);
  transition: 0.2s ease;
}
.button-primary {
  border-color: var(--pink);
  background: var(--pink);
  box-shadow: 0 8px 24px #ff4fa54f;
}
.button-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 28px #ff4fa57a;
}
.button-ghost {
  border-color: #ffffff50;
  background: #ffffff0c;
}
.button-ghost:hover,
.refresh:hover {
  border-color: var(--cyan);
  color: var(--cyan);
}
.archive-rule {
  max-width: 410px;
  margin: 23px 0 0;
  font-size: 11px;
  line-height: 1.75;
  color: #8e88a7;
}
.hero-art {
  position: relative;
  min-height: 565px;
  overflow: hidden;
}
.hero-art img {
  position: absolute;
  bottom: -100px;
  right: -58px;
  width: 600px;
  max-width: none;
  filter: drop-shadow(-25px 18px 24px #0009);
}
.hero-halo {
  position: absolute;
  right: 7%;
  top: 15%;
  width: 340px;
  height: 340px;
  border: 1px solid #56e0ff87;
  border-radius: 50%;
  box-shadow:
    0 0 0 36px #ff4fa51c,
    0 0 95px #56e0ff52;
}
.spark {
  position: absolute;
  z-index: 1;
  color: var(--lime);
  text-shadow: 0 0 15px var(--lime);
  font-size: 31px;
}
.sparkle-a {
  top: 18%;
  left: 13%;
}
.sparkle-b {
  top: 62%;
  right: 11%;
  color: var(--cyan);
}
.section-shell {
  margin-top: 76px;
}
.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 22px;
}
.section-heading h2 {
  margin: 0;
  font-size: 27px;
  letter-spacing: -0.05em;
}
.section-heading > p {
  margin: 0;
  font-size: 12px;
  color: var(--muted);
}
.ranking-grid {
  display: grid;
  grid-template-columns: 1.35fr 1fr 1fr;
  gap: 12px;
}
.rank-card {
  position: relative;
  min-height: 160px;
  padding: 23px;
  border: 1px solid var(--line);
  border-radius: 17px;
  background: linear-gradient(135deg, #191330, #100d20);
  overflow: hidden;
}
.rank-card:first-child {
  border-color: #ff4fa588;
  background:
    radial-gradient(circle at 85% 0%, #ff4fa545, transparent 38%),
    linear-gradient(135deg, #2a1235, #151022);
}
.rank-number {
  font: 12px "DM Mono";
  color: var(--lime);
}
.rank-name {
  margin: 18px 0 3px;
  font-size: 21px;
  font-weight: 900;
  word-break: break-all;
}
.rank-count {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}
.rank-count b {
  color: var(--paper);
  font-size: 22px;
  margin-right: 2px;
}
.rank-glow {
  position: absolute;
  right: -28px;
  bottom: -50px;
  font: 120px Georgia;
  color: #ff4fa529;
}
.archive-heading {
  align-items: center;
}
.filter-wrap {
  display: flex;
  align-items: center;
  gap: 9px;
}
.filter-wrap label {
  font: 11px "DM Mono";
  color: var(--muted);
}
input {
  width: 244px;
  padding: 10px 0;
  border: 0;
  border-bottom: 1px solid #ffffff4d;
  background: transparent;
  color: var(--paper);
  font: 13px "Zen Kaku Gothic New";
  outline: none;
}
input:focus {
  border-color: var(--cyan);
}
.archive-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 7px;
  font: 12px "DM Mono";
  color: var(--muted);
}
.refresh {
  padding: 8px 13px;
  border-color: #ffffff35;
  background: transparent;
  font-size: 11px;
}
.track-list {
  border-top: 1px solid var(--line);
}
.track {
  display: grid;
  grid-template-columns: 55px minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
  padding: 20px 8px;
  border-bottom: 1px solid var(--line);
  transition: 0.2s;
}
.track:hover {
  padding-left: 15px;
  background: #ffffff06;
}
.track-index {
  font: 12px "DM Mono";
  color: var(--pink);
}
.track h3 {
  margin: 0 0 5px;
  font-size: 17px;
  letter-spacing: -0.03em;
}
.track-meta,
.track-request {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
}
.track-request {
  margin-top: 2px;
  color: #cfc7ec;
}
.track-actions {
  display: flex;
  gap: 7px;
}
.track-actions button,
.track-actions a {
  border: 0;
  background: transparent;
  color: var(--paper);
  cursor: pointer;
  text-decoration: none;
  font: 12px "DM Mono";
  padding: 8px;
}
.track-actions button:hover,
.track-actions a:hover {
  color: var(--cyan);
}
.empty {
  padding: 45px 0;
  color: var(--muted);
  text-align: center;
}
.license-card {
  overflow: hidden;
  border: 1px solid #ffffff24;
  border-radius: 22px;
  padding: 30px;
  background:
    radial-gradient(circle at 100% 0%, #56e0ff16, transparent 35%),
    linear-gradient(135deg, #17122c, #0e0c1d);
  box-shadow: 0 16px 36px #0004;
}
.license-lead strong {
  color: #fff7fb;
  font-size: 20px;
}
.license-lead p {
  max-width: 850px;
  margin: 10px 0 0;
  color: #d4cee2;
  font-size: 14px;
  line-height: 1.9;
}
.license-lead b {
  color: var(--pink);
}
.license-rules {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 24px;
}
.license-rules > div {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 14px;
  align-items: start;
  border: 1px solid var(--line);
  border-radius: 15px;
  padding: 18px;
  background: #ffffff05;
}
.license-rules span {
  display: grid;
  place-items: center;
  min-height: 28px;
  border-radius: 999px;
  font: 700 11px "DM Mono";
}
.license-ok span {
  color: #081715;
  background: var(--lime);
}
.license-no span {
  color: white;
  background: var(--pink);
}
.license-rules p {
  margin: 1px 0 0;
  color: #d7d2e2;
  font-size: 13px;
  line-height: 1.75;
}
.license-note {
  margin: 22px 0 0;
  border-top: 1px solid var(--line);
  padding-top: 18px;
  color: #8f89a6;
  font-size: 11px;
  line-height: 1.8;
}
.license-note a {
  color: var(--cyan);
}
footer {
  display: flex;
  justify-content: space-between;
  padding: 62px 0 100px;
  color: #6f6988;
  font: 10px "DM Mono";
  letter-spacing: 0.1em;
}
#player {
  position: fixed;
  z-index: 5;
  bottom: 16px;
  left: 50%;
  transform: translateX(-50%);
  width: min(590px, calc(100% - 32px));
  accent-color: var(--pink);
  filter: drop-shadow(0 10px 18px #0009);
}
@media (max-width: 760px) {
  .site-header,
  main,
  footer {
    width: min(100% - 30px, 1160px);
  }
  .site-header {
    height: 70px;
  }
  .header-note {
    display: none;
  }
  .header-actions {
    gap: 8px;
  }
  .youtube-link,
  .twitch-link {
    padding: 8px 11px;
  }
  .youtube-link > span:last-child,
  .twitch-link > span:last-child {
    display: none;
  }
  .hero {
    min-height: 650px;
    grid-template-columns: 1fr;
  }
  .hero-copy {
    align-self: start;
    padding: 44px 27px;
    max-width: 560px;
  }
  .hero h1 {
    font-size: 46px;
  }
  .hero-art {
    position: absolute;
    inset: auto 0 0;
    min-height: 380px;
    opacity: 0.68;
    mask-image: linear-gradient(transparent 0%, black 22%);
  }
  .hero-art img {
    right: -55px;
    bottom: -92px;
    width: 470px;
  }
  .hero-halo {
    right: 4%;
    top: 20%;
    width: 260px;
    height: 260px;
  }
  .section-shell {
    margin-top: 52px;
  }
  .ranking-grid {
    grid-template-columns: 1fr;
  }
  .rank-card {
    min-height: 120px;
  }
  .rank-card:first-child {
    min-height: 145px;
  }
  .section-heading {
    align-items: start;
    flex-direction: column;
  }
  .archive-heading {
    gap: 14px;
  }
  .filter-wrap {
    width: 100%;
  }
  input {
    flex: 1;
    width: auto;
  }
  .track {
    grid-template-columns: 34px minmax(0, 1fr);
  }
  .track-actions {
    grid-column: 2;
  }
  .track:hover {
    padding-left: 8px;
  }
  .license-card {
    padding: 23px 20px;
  }
  .license-lead strong {
    font-size: 18px;
  }
  .license-rules {
    grid-template-columns: 1fr;
  }
  footer {
    padding: 46px 0 100px;
    gap: 10px;
    flex-direction: column;
  }
}
