@font-face {
  font-family: PFU;
  src: url(../../fonts/Outfit.ttf) format("truetype");
  font-weight: 100 900;
  font-display: swap;
}
@font-face {
  font-family: PFD;
  src: url(../../fonts/Orbitron.ttf) format("truetype");
  font-weight: 400 900;
  font-display: swap;
}
@font-face {
  font-family: SG;
  src: url(../../fonts/SpaceGrotesk.ttf) format("truetype");
  font-weight: 300 700;
  font-display: swap;
}
:root {
  --bg:#06021a;
  --ink:#f6f0ff;
  --mut:#a99cc9;
  --dim:#8075a6;
  --pink:#ff3df0;
  --cyan:#3df5ff;
  --gold:#ffe23d;
  --lime:#7dff5e;
  --glass:rgba(24,12,58,.52);
  --glass2:rgba(40,20,90,.42);
  --line:rgba(255,255,255,.12);
  --line2:rgba(255,255,255,.22);
  --r:20px;
  --ease:cubic-bezier(.2,.8,.2,1);
  --spring:cubic-bezier(.2,1.4,.4,1);
  --sat:env(safe-area-inset-top);
  --sab:env(safe-area-inset-bottom);
}
* {
  box-sizing: border-box;
  -webkit-tap-highlight-color: transparent;
}
html,
body {
  margin: 0;
  height: 100%;
  background: var(--bg);
  color: var(--ink);
  font-family:
    PFU,
    system-ui,
    sans-serif;
  overflow: hidden;
  overscroll-behavior: none;
  user-select: none;
  -webkit-user-select: none;
  -webkit-touch-callout: none;
  -webkit-font-smoothing: antialiased;
}
body::after {
  content: "";
  position: fixed;
  inset: 0;
  background-image: var(--grain);
  background-size: 128px;
  opacity: .55;
  mix-blend-mode: overlay;
  pointer-events: none;
  z-index: 9;
}
#c {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  touch-action: none;
}
button {
  font: inherit;
  color: inherit;
  cursor: pointer;
  border: 0;
  background: none;
}
svg {
  display: block;
}
.glass {
  background:
    linear-gradient(
      155deg,
      rgba(255, 255, 255, .10),
      rgba(255, 255, 255, .02) 40%,
      rgba(255, 255, 255, .035)),
    var(--glass);
  border: 1px solid var(--line);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, .16),
    inset 0 -1px 0 rgba(0, 0, 0, .25),
    0 18px 50px rgba(3, 0, 20, .45);
  backdrop-filter: blur(18px) saturate(160%);
  -webkit-backdrop-filter: blur(18px) saturate(160%);
}
#ui {
  position: fixed;
  inset: 0;
  display: none;
  overflow-y: auto;
  overflow-x: hidden;
  -webkit-overflow-scrolling: touch;
  padding: calc(var(--sat) + 14px) 16px calc(var(--sab) + 18px);
  z-index: 5;
}
#ui.on {
  display: block;
}
#ui.enter > *:not(.bd) {
  animation: enter .42s var(--ease) both;
}
#ui.enter > *:nth-child(3) {
  animation-delay: .04s;
}
#ui.enter > *:nth-child(4) {
  animation-delay: .08s;
}
#ui.enter > *:nth-child(5) {
  animation-delay: .12s;
}
@keyframes enter {
  from {
    opacity: 0;
    transform: translateY(14px);
    filter: blur(6px);
  }
}
#ui.scr {
  background:
    radial-gradient(
      120% 70% at 50% 0%,
      rgba(6, 2, 26, .15),
      rgba(6, 2, 26, .72) 60%,
      rgba(6, 2, 26, .9));
}
#ui.panel {
  display: flex;
  flex-direction: column;
  align-items: center;
  background:
    radial-gradient(
      90% 60% at 50% 40%,
      rgba(10, 4, 34, .35),
      rgba(6, 2, 22, .78));
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
}
#ui.panel.results {
  background:
    radial-gradient(
      80% 55% at 50% 42%,
      rgba(10, 4, 34, .18),
      rgba(6, 2, 22, .62));
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}
#ui > * {
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}
.bd {
  position: fixed;
  inset: 0;
  max-width: none !important;
  pointer-events: none;
  overflow: hidden;
  z-index: -1;
}
.bdi {
  position: absolute;
  inset: -12%;
  background-size: cover;
  background-position: center;
  filter: blur(38px) saturate(150%);
  opacity: .38;
  transition: background-image .5s, opacity .5s;
  transform: translateZ(0);
}
.top {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 2px auto 14px;
}
.top h2 {
  flex: 1;
  margin: 0;
  font:
    800 21px/1.1 PFD,
    PFU,
    sans-serif;
  letter-spacing: .06em;
  text-transform: uppercase;
}
.back {
  width: 42px;
  height: 42px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: var(--glass2);
  border: 1px solid var(--line);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
.back svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: #fff;
  stroke-width: 2.4;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: rgba(255, 226, 61, .12);
  border: 1px solid rgba(255, 226, 61, .38);
  color: var(--gold);
  padding: 6px 12px;
  border-radius: 99px;
  font-weight: 700;
  font-size: 14px;
  white-space: nowrap;
}
.pill svg,
.sp svg {
  width: 14px;
  height: 14px;
  fill: var(--gold);
}
.stars {
  display: inline-flex;
  gap: 3px;
}
.stars i {
  width: 15px;
  height: 15px;
  display: block;
}
.stars svg {
  width: 100%;
  height: 100%;
  fill: rgba(255, 255, 255, .16);
}
.stars i.on svg {
  fill: var(--gold);
  filter: drop-shadow(0 0 5px rgba(255, 176, 61, .9));
}
.muted {
  color: var(--mut);
}
.center {
  text-align: center;
}
.fine {
  color: var(--dim);
  font-size: 12.5px;
  text-align: center;
  margin: 14px auto 4px;
  line-height: 1.45;
}
.btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  padding: 14px 16px;
  margin: 8px 0;
  border-radius: 16px;
  font-weight: 700;
  font-size: 16.5px;
  letter-spacing: .02em;
  color: #fff;
  position: relative;
  overflow: hidden;
  transition: transform .12s var(--ease), filter .2s;
  background: rgba(255, 255, 255, .07);
  border: 1px solid var(--line2);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.btn:active {
  transform: scale(.97);
}
.btn svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}
.btn.primary {
  background:
    linear-gradient(
      100deg,
      #ff3df0,
      #9a46ff 52%,
      #3df5ff);
  border: 0;
  box-shadow:
    0 10px 30px rgba(255, 61, 240, .35),
    0 0 0 1px rgba(255, 255, 255, .18) inset,
    0 1px 0 rgba(255, 255, 255, .45) inset;
  text-shadow: 0 1px 2px rgba(40, 0, 60, .4);
}
.btn.primary::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: 40%;
  left: -60%;
  background:
    linear-gradient(
      100deg,
      transparent,
      rgba(255, 255, 255, .45),
      transparent);
  transform: skewX(-20deg);
  animation: sheen 3.6s var(--ease) infinite;
}
@keyframes sheen {
  0%, 55% {
    left: -60%;
  }
  85%, 100% {
    left: 130%;
  }
}
.btn.big {
  font-size: 20px;
  padding: 17px;
  font-family: PFD, PFU;
  letter-spacing: .14em;
  font-weight: 800;
}
.btn.big small {
  font: 600 13px PFU;
  letter-spacing: .04em;
  opacity: .85;
  margin-left: 6px;
}
.btn.ghost {
  background: rgba(255, 255, 255, .06);
}
.btn.gold {
  background:
    linear-gradient(
      100deg,
      #ff9b3d,
      #ffe23d);
  color: #2a1300;
  text-shadow: none;
  border: 0;
  box-shadow: 0 10px 30px rgba(255, 190, 61, .4), 0 1px 0 rgba(255, 255, 255, .6) inset;
}
.btn.sm {
  padding: 9px 12px;
  font-size: 15px;
  margin: 0;
}
.row {
  display: flex;
  gap: 10px;
  align-items: center;
}
.row > * {
  flex: 1;
}
.title {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  position: relative;
}
.hero {
  position: fixed;
  left: 0;
  right: 0;
  top: 0;
  height: 62vh;
  max-width: none !important;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(#000 45%, transparent);
  mask-image: linear-gradient(#000 45%, transparent);
  pointer-events: none;
  z-index: -1;
}
.heroi {
  position: absolute;
  inset: -4%;
  background: url(art/keyart.jpg) 62% 50%/cover;
  animation: kb 26s ease-in-out infinite alternate;
  opacity: .82;
  filter: saturate(120%);
}
@keyframes kb {
  from {
    transform: scale(1.04) translate(0, 0);
  }
  to {
    transform: scale(1.14) translate(-3%, 1.5%);
  }
}
.logo {
  margin: min(22vh, 190px) auto 0;
  text-align: center;
  position: relative;
  width: 100%;
}
.lw {
  font: 900 clamp(36px, 10.4vw, 86px)/1 PFD, sans-serif;
  letter-spacing: .02em;
  display: inline-flex;
  filter: drop-shadow(0 6px 24px rgba(0, 0, 0, .6));
}
.lw span {
  display: inline-block;
  animation: drop .9s var(--spring) both;
  animation-delay: calc(var(--i) * 60ms + .1s);
}
.lw .la {
  color: #fff;
  text-shadow: 0 0 calc(10px + var(--beat,0) * 14px) #ff3df0, 0 0 34px rgba(255, 61, 240, .7);
}
.lw .lb {
  animation-delay: calc(var(--i) * 60ms + .4s);
  background:
    linear-gradient(
      180deg,
      #fff7c2,
      #ffb03d 50%,
      #ff3d9b);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 0 calc(6px + var(--beat,0) * 12px) rgba(255, 140, 60, .85));
}
@keyframes drop {
  from {
    opacity: 0;
    transform: translateY(-60px) scale(1.4);
    filter: blur(8px);
  }
}
.logo .shine {
  position: absolute;
  inset: 0 10%;
  background:
    linear-gradient(
      105deg,
      transparent 40%,
      rgba(255, 255, 255, .55) 50%,
      transparent 60%);
  background-size: 250% 100%;
  mix-blend-mode: overlay;
  animation: lshine 4.5s 1.4s ease-in-out infinite;
  pointer-events: none;
}
@keyframes lshine {
  0% {
    background-position: 120% 0;
  }
  40%, 100% {
    background-position: -120% 0;
  }
}
.lsub {
  font: 600 11px PFD, sans-serif;
  letter-spacing: .42em;
  color: #d6c9ff;
  margin-top: 10px;
  opacity: .85;
  animation: enter .8s .9s var(--ease) both;
}
.tmenu {
  margin-top: auto;
  padding-top: 28px;
}
.pcard {
  display: flex;
  gap: 14px;
  align-items: center;
  border-radius: var(--r);
  padding: 14px;
  margin-bottom: 6px;
}
.lvr {
  width: 64px;
  height: 64px;
  position: relative;
  flex: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.lvr svg {
  position: absolute;
  inset: 0;
  transform: rotate(-90deg);
}
.lvr circle {
  fill: none;
  stroke-width: 5;
}
.lvr .tr {
  stroke: rgba(255, 255, 255, .1);
}
.lvr .fl {
  stroke: url(#none);
  stroke: var(--cyan);
  stroke-linecap: round;
  filter: drop-shadow(0 0 4px var(--cyan));
  transition: stroke-dashoffset 1s var(--ease);
}
.lvr b {
  font: 800 22px/1 PFD;
  position: relative;
}
.lvr small {
  font-size: 8.5px;
  letter-spacing: .16em;
  color: var(--mut);
  position: relative;
  margin-top: 2px;
}
.pci {
  flex: 1;
  min-width: 0;
}
.pcl {
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 7px;
}
.sp {
  display: inline-flex;
  gap: 4px;
  align-items: center;
  color: var(--gold);
}
.xpbar {
  height: 8px;
  border-radius: 9px;
  background: rgba(255, 255, 255, .08);
  overflow: hidden;
  margin: 6px 0;
  box-shadow: inset 0 1px 2px rgba(0, 0, 0, .4);
}
.xpbar i {
  display: block;
  height: 100%;
  background:
    linear-gradient(
      90deg,
      #3df5ff,
      #ff3df0);
  transform-origin: 0 50%;
  transition: transform 1s var(--ease);
  box-shadow: 0 0 12px rgba(61, 245, 255, .6);
  border-radius: 9px;
}
.pci small {
  font-size: 12px;
}
.tiles {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}
.tile {
  border-radius: 18px;
  padding: 13px 6px 11px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 7px;
  font-size: 13px;
  font-weight: 600;
  transition: transform .12s;
}
.tile:active {
  transform: scale(.96);
}
.tile svg {
  width: 26px;
  height: 26px;
  fill: none;
  stroke: #fff;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  filter: drop-shadow(0 0 6px rgba(61, 245, 255, .6));
}
.sel {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.car {
  position: relative;
  height: min(76vw, 370px, 45vh);
  perspective: 1100px;
  touch-action: pan-y;
  margin: 4px -16px 0;
}
.track {
  position: absolute;
  inset: 0;
  transform-style: preserve-3d;
}
.cc {
  position: absolute;
  left: 50%;
  top: 50%;
  width: min(68vw, 330px, 42vh);
  aspect-ratio: 1;
  border-radius: 22px;
  transition:
    transform .55s var(--ease),
    opacity .45s,
    box-shadow .4s;
  transform-style: preserve-3d;
  padding: 0;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0, 0, 0, .55), 0 0 0 1px rgba(255, 255, 255, .14);
}
.cc.on {
  box-shadow:
    0 26px 60px rgba(0, 0, 0, .6),
    0 0 0 2px var(--c1),
    0 0 40px color-mix(in srgb, var(--c1) 55%, transparent);
}
.cc .art {
  position: absolute;
  inset: 0;
}
.cc img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  pointer-events: none;
}
.cc .gloss {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      130deg,
      rgba(255, 255, 255, .28),
      transparent 32%,
      transparent 70%,
      rgba(255, 255, 255, .08));
  pointer-events: none;
}
.cc::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      180deg,
      transparent 55%,
      rgba(5, 0, 20, .75));
  pointer-events: none;
}
.ccm {
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 11px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 2;
}
.gchip {
  font: 700 10.5px PFD;
  letter-spacing: .14em;
  text-transform: uppercase;
  padding: 5px 9px;
  border-radius: 99px;
  background: rgba(10, 4, 30, .6);
  border: 1px solid rgba(255, 255, 255, .25);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.bpm {
  font: 700 11px PFD;
  letter-spacing: .08em;
  color: #fff;
  text-shadow: 0 1px 4px #000;
}
.ccs {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 2;
  padding: 5px 7px;
  border-radius: 99px;
  background: rgba(10, 4, 30, .55);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.cc.locked img {
  filter: grayscale(.85) brightness(.5);
}
.lock {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  z-index: 2;
  font: 800 18px PFD;
  color: var(--gold);
}
.lock svg {
  width: 34px;
  height: 34px;
  fill: none;
  stroke: #fff;
  stroke-width: 2;
  filter: drop-shadow(0 0 8px rgba(0, 0, 0, .8));
}
.arr {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 20;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(10, 4, 30, .5);
  border: 1px solid var(--line);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.arr svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: #fff;
  stroke-width: 2.4;
  stroke-linecap: round;
}
.arr.l {
  left: 10px;
}
.arr.r {
  right: 10px;
}
.dots {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -14px;
  display: flex;
  justify-content: center;
  gap: 7px;
}
.dots i {
  width: 7px;
  height: 7px;
  border-radius: 9px;
  background: rgba(255, 255, 255, .25);
  transition: width .3s var(--ease), background .3s;
  cursor: pointer;
}
.dots i.on {
  width: 22px;
  background: #fff;
}
.sinfo {
  border-radius: 24px;
  padding: 16px 16px 10px;
  margin-top: 10px;
}
.sh h3 {
  margin: 0;
  font: 800 24px/1.1 PFD;
  letter-spacing: .02em;
}
.sh small {
  display: block;
  color: var(--mut);
  margin-top: 6px;
  font-size: 13.5px;
}
.mood {
  margin: 6px 0 12px;
  color: #e3d8ff;
  font-size: 14px;
}
.dchips {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}
.dchip {
  border-radius: 16px;
  padding: 10px 6px 9px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  background: rgba(255, 255, 255, .05);
  border: 1px solid var(--line);
  transition:
    transform .15s,
    background .2s,
    border-color .2s;
}
.dchip b {
  font: 800 13px PFD;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.dchip small {
  font-size: 11px;
  color: var(--mut);
}
.dchip em {
  font-style: normal;
  font-size: 12px;
  font-weight: 700;
  color: #fff;
  opacity: .8;
  font-variant-numeric: tabular-nums;
}
.dchip svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: var(--mut);
  stroke-width: 2;
}
.dchip .stars svg {
  fill: rgba(255, 255, 255, .16);
  stroke: none;
}
.dchip .stars i.on svg {
  fill: var(--gold);
}
.dchip.on.d-easy {
  background: rgba(125, 255, 94, .14);
  border-color: #7dff5e;
  box-shadow: 0 0 18px rgba(125, 255, 94, .3);
}
.dchip.on.d-normal {
  background: rgba(61, 245, 255, .14);
  border-color: #3df5ff;
  box-shadow: 0 0 18px rgba(61, 245, 255, .3);
}
.dchip.on.d-hard {
  background: rgba(255, 61, 140, .16);
  border-color: #ff3d8c;
  box-shadow: 0 0 18px rgba(255, 61, 140, .35);
}
.dchip.lk {
  opacity: .5;
}
.lockmsg {
  display: flex;
  gap: 12px;
  align-items: center;
  padding: 12px;
  border-radius: 16px;
  background: rgba(255, 226, 61, .08);
  border: 1px solid rgba(255, 226, 61, .3);
}
.lockmsg svg {
  width: 28px;
  height: 28px;
  flex: none;
  fill: none;
  stroke: var(--gold);
  stroke-width: 2;
}
.lockmsg b {
  display: block;
  color: var(--gold);
}
.lockmsg small {
  color: var(--mut);
}
.card {
  margin: auto;
  width: 100%;
  max-width: 430px;
  border-radius: 26px;
  padding: 18px 18px 12px;
  text-align: center;
  animation: pop .45s var(--spring);
}
@keyframes pop {
  from {
    transform: scale(.9) translateY(12px);
    opacity: 0;
  }
}
.card h2 {
  margin: 4px 0 8px;
  font: 800 26px PFD;
  letter-spacing: .06em;
}
.card p {
  color: #d6cbf3;
  margin: 6px 0 14px;
  line-height: 1.4;
}
.sub {
  font-weight: 700;
  color: #efe6ff;
}
.rhead {
  display: flex;
  gap: 12px;
  align-items: center;
  text-align: left;
  margin-bottom: 4px;
}
.rcov {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  object-fit: cover;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, .2), 0 0 18px color-mix(in srgb, var(--c1) 50%, transparent);
}
.gwrap {
  position: relative;
  height: 104px;
  display: grid;
  place-items: center;
  margin: 2px 0;
}
.rays {
  position: absolute;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background:
    repeating-conic-gradient(
      from 0deg,
      rgba(255, 255, 255, .16) 0 6deg,
      transparent 6deg 22deg);
  -webkit-mask-image:
    radial-gradient(
      circle,
      #000 20%,
      transparent 68%);
  mask-image:
    radial-gradient(
      circle,
      #000 20%,
      transparent 68%);
  animation: rays 14s linear infinite, fadein 1s .35s both;
}
@keyframes rays {
  to {
    transform: rotate(360deg);
  }
}
@keyframes fadein {
  from {
    opacity: 0;
  }
}
.grade {
  font: 900 88px/1 PFD;
  position: relative;
  animation: gpop .8s .15s var(--spring) both;
  background:
    linear-gradient(
      180deg,
      #fff,
      #c9b8ff);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 0 18px rgba(180, 140, 255, .8));
}
.grade::after {
  content: attr(data-g);
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      105deg,
      transparent 35%,
      rgba(255, 255, 255, .95) 50%,
      transparent 65%);
  background-size: 300% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: gsh 2.6s 1s ease-in-out infinite;
}
@keyframes gsh {
  0% {
    background-position: 120% 0;
  }
  45%, 100% {
    background-position: -120% 0;
  }
}
@keyframes gpop {
  0% {
    transform: scale(3) rotate(-12deg);
    opacity: 0;
    filter: blur(10px);
  }
  60% {
    transform: scale(.92) rotate(2deg);
    opacity: 1;
  }
  100% {
    transform: none;
  }
}
.gS,
.gSS {
  background-image:
    linear-gradient(
      180deg,
      #fff7c2,
      #ffd23d 45%,
      #ff8a3d);
  filter: drop-shadow(0 0 22px rgba(255, 190, 61, .9));
}
.gA {
  background-image:
    linear-gradient(
      180deg,
      #e8fdff,
      #3df5ff 55%,
      #3d8bff);
  filter: drop-shadow(0 0 20px rgba(61, 245, 255, .8));
}
.gB {
  background-image:
    linear-gradient(
      180deg,
      #f0ffe8,
      #7dff5e 60%,
      #2fbf6a);
  filter: drop-shadow(0 0 16px rgba(125, 255, 94, .7));
}
.gC,
.gD {
  background-image:
    linear-gradient(
      180deg,
      #fff,
      #b8aee0);
  filter: drop-shadow(0 0 12px rgba(180, 170, 230, .6));
}
.rstars {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin: 2px 0 4px;
}
.rstars i {
  width: 38px;
  height: 38px;
}
.rstars svg {
  width: 100%;
  height: 100%;
  fill: rgba(255, 255, 255, .12);
}
.rstars i.on svg {
  fill: var(--gold);
  filter: drop-shadow(0 0 10px rgba(255, 176, 61, .95));
}
.rstars i.on {
  animation: sin .55s var(--d) var(--spring) both;
}
@keyframes sin {
  from {
    transform: scale(2.6) rotate(-40deg);
    opacity: 0;
  }
}
.big {
  font: 800 40px/1.1 PFD;
  letter-spacing: .02em;
  font-variant-numeric: tabular-nums;
  text-shadow: 0 0 20px rgba(255, 61, 240, .55);
}
.nb {
  display: inline-block;
  margin-top: 4px;
  padding: 4px 12px;
  border-radius: 99px;
  font: 800 12px PFD;
  letter-spacing: .2em;
  color: #2a1300;
  background:
    linear-gradient(
      90deg,
      #ffb03d,
      #ffe23d);
  box-shadow: 0 0 20px rgba(255, 210, 61, .6);
  animation: nbp 1s 1.1s var(--spring) both;
}
@keyframes nbp {
  from {
    transform: scale(0);
  }
}
.jbar {
  display: flex;
  height: 6px;
  border-radius: 9px;
  overflow: hidden;
  margin: 14px 0 8px;
  background: rgba(255, 255, 255, .08);
}
.jbar i {
  display: block;
  animation: grow .9s .6s var(--ease) both;
  transform-origin: 0 50%;
}
@keyframes grow {
  from {
    transform: scaleX(0);
  }
}
.jg {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 6px;
  margin: 6px 0 10px;
}
.jg div {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 8px 0;
  border-radius: 12px;
  background: rgba(255, 255, 255, .04);
}
.jg b {
  font: 800 19px PFD;
}
.jg small {
  font-size: 11px;
  color: var(--mut);
}
.jp {
  color: #7df9ff;
}
.jgr {
  color: #7dff9b;
}
.jd {
  color: #ffd23d;
}
.jm {
  color: #ff4d6d;
}
.kv {
  display: flex;
  justify-content: space-around;
  font-size: 13.5px;
  color: #d6cbf3;
  margin: 6px 0;
}
.kv b {
  color: #fff;
}
.fc {
  font-style: normal;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .12em;
  color: #2a1300;
  background: var(--gold);
  padding: 2px 6px;
  border-radius: 6px;
  margin-left: 4px;
}
.xprow {
  display: flex;
  justify-content: space-between;
  font-size: 13.5px;
  margin-top: 10px;
}
.xpg {
  color: var(--cyan);
  font-weight: 800;
}
.up {
  font-style: normal;
  color: var(--gold);
  font-weight: 800;
  animation: pulse 1s infinite alternate;
}
@keyframes pulse {
  to {
    opacity: .55;
  }
}
.unl {
  margin: 10px 0;
  padding: 10px;
  border-radius: 14px;
  background: rgba(125, 255, 94, .08);
  border: 1px solid rgba(125, 255, 94, .35);
  font-size: 14px;
  line-height: 1.6;
  animation: enter .5s 1.6s var(--ease) both;
}
.rank {
  margin: 10px 0 6px;
  font-size: 14px;
  min-height: 20px;
  display: flex;
  gap: 6px;
  justify-content: center;
  align-items: center;
}
.rank svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: var(--gold);
  stroke-width: 2;
}
.btn svg[viewBox="0 0 24 24"] {
  flex: none;
}
.card .btn:not(.primary):not(.gold) svg {
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
}
.failh {
  color: #ff7d93;
}
.fring {
  width: 120px;
  height: 120px;
  margin: 8px auto;
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background:
    radial-gradient(
      closest-side,
      #120a2b 78%,
      transparent 80% 100%),
    conic-gradient(#ff4d6d calc(var(--p) * 1%), rgba(255, 255, 255, .1) 0);
}
.fring b {
  font: 800 28px PFD;
}
.fring small {
  font-size: 11px;
  color: var(--mut);
}
.cal .calbig {
  font: 800 40px PFD;
  margin: 20px 0;
}
.chips {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 2px 2px 8px;
  scrollbar-width: none;
}
.chips::-webkit-scrollbar {
  display: none;
}
.chip {
  flex: none;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 5px 12px 5px 5px;
  border-radius: 99px;
  font-size: 13.5px;
  font-weight: 600;
  background: rgba(255, 255, 255, .06);
  border: 1px solid var(--line);
  white-space: nowrap;
}
.chip img {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  object-fit: cover;
}
.chip.on {
  background: color-mix(in srgb, var(--c1) 22%, transparent);
  border-color: var(--c1);
  box-shadow: 0 0 16px color-mix(in srgb, var(--c1) 40%, transparent);
}
.seg {
  display: flex;
  gap: 4px;
  padding: 4px;
  border-radius: 14px;
  background: rgba(255, 255, 255, .06);
  border: 1px solid var(--line);
  margin: 4px 0 12px;
}
.seg button {
  flex: 1;
  padding: 9px 4px;
  border-radius: 10px;
  font-weight: 700;
  font-size: 14px;
  color: var(--mut);
  transition: background .2s, color .2s;
}
.seg button.on {
  background:
    linear-gradient(
      100deg,
      rgba(255, 61, 240, .5),
      rgba(61, 245, 255, .4));
  color: #fff;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, .2) inset;
}
.podium {
  display: flex;
  justify-content: center;
  align-items: flex-end;
  gap: 10px;
  margin: 18px 0 10px;
  min-height: 230px;
}
.pd {
  flex: 1;
  max-width: 150px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  animation: podin .7s var(--d) var(--spring) both;
}
@keyframes podin {
  from {
    opacity: 0;
    transform: translateY(40px);
  }
}
.pd .av {
  filter: drop-shadow(0 6px 14px rgba(0, 0, 0, .5));
}
.pd.p1 .av {
  filter: drop-shadow(0 0 16px rgba(255, 210, 61, .7));
}
.pn {
  font-size: 13px;
  text-align: center;
  line-height: 1.2;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
}
.pn i,
.nm i {
  font-style: normal;
  font-size: 10px;
  font-weight: 800;
  color: #2a1300;
  background: var(--cyan);
  padding: 1px 5px;
  border-radius: 5px;
  margin-left: 3px;
}
.ps {
  font: 800 14px PFD;
  font-variant-numeric: tabular-nums;
}
.step {
  width: 100%;
  border-radius: 14px 14px 4px 4px;
  display: grid;
  place-items: center;
  font: 900 26px PFD;
  border: 1px solid var(--line2);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .3);
}
.step em {
  font-style: normal;
}
.p1 .step {
  height: 96px;
  background:
    linear-gradient(
      180deg,
      rgba(255, 210, 61, .55),
      rgba(255, 140, 61, .12));
  color: #fff4c4;
  text-shadow: 0 0 14px #ffb03d;
}
.p2 .step {
  height: 70px;
  background:
    linear-gradient(
      180deg,
      rgba(205, 220, 255, .45),
      rgba(150, 160, 220, .1));
}
.p3 .step {
  height: 54px;
  background:
    linear-gradient(
      180deg,
      rgba(255, 150, 90, .45),
      rgba(200, 90, 60, .1));
}
.pd.me .step {
  box-shadow: 0 0 0 2px var(--cyan), inset 0 1px 0 rgba(255, 255, 255, .3);
}
.lrs {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.lr {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 12px;
  border-radius: 14px;
  background: rgba(255, 255, 255, .05);
  border: 1px solid rgba(255, 255, 255, .07);
}
.lr.me {
  background: rgba(61, 245, 255, .1);
  border-color: rgba(61, 245, 255, .45);
}
.rk {
  width: 34px;
  font: 800 13px PFD;
  color: var(--mut);
}
.nm {
  flex: 1;
  font-weight: 600;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.sc {
  text-align: right;
  font: 800 15px PFD;
  font-variant-numeric: tabular-nums;
}
.sc small {
  display: block;
  font: 500 11px PFU;
  color: var(--mut);
}
.gap {
  text-align: center;
  color: var(--mut);
}
.tot {
  text-align: center;
  color: var(--dim);
  font-size: 12.5px;
  margin-top: 10px;
}
.empty {
  border-radius: 20px;
  padding: 26px;
  text-align: center;
}
.empty svg {
  width: 40px;
  height: 40px;
  margin: 0 auto;
  fill: none;
  stroke: var(--gold);
  stroke-width: 1.6;
}
.lbload {
  display: grid;
  place-items: center;
  height: 200px;
}
.show {
  position: relative;
  margin: 6px 0 16px;
  text-align: center;
}
.stage {
  height: 170px;
  perspective: 800px;
  position: relative;
  display: grid;
  place-items: center;
}
.spin3d {
  animation: spin3d 6s ease-in-out infinite;
  transform-style: preserve-3d;
}
.spin3d canvas {
  width: min(78vw, 340px);
  height: auto;
  filter: drop-shadow(0 18px 24px rgba(0, 0, 0, .5));
}
@keyframes spin3d {
  0%, 100% {
    transform: rotateY(-28deg) rotateX(12deg) translateY(0);
  }
  50% {
    transform: rotateY(28deg) rotateX(18deg) translateY(-10px);
  }
}
.floor {
  position: absolute;
  bottom: 4px;
  left: 20%;
  right: 20%;
  height: 26px;
  border-radius: 50%;
  background:
    radial-gradient(
      closest-side,
      rgba(61, 245, 255, .45),
      transparent);
  filter: blur(4px);
  animation: fl 6s ease-in-out infinite;
}
@keyframes fl {
  50% {
    transform: scale(.85);
    opacity: .7;
  }
}
.shn b {
  display: block;
  font: 800 20px PFD;
  letter-spacing: .04em;
}
.shn small {
  color: var(--cyan);
  font-weight: 700;
  letter-spacing: .14em;
  font-size: 11px;
  text-transform: uppercase;
}
.grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.sty {
  border-radius: 18px;
  padding: 10px 8px 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  perspective: 600px;
  transition: transform .15s;
}
.sty .tilt {
  width: 100%;
  border-radius: 12px;
  overflow: hidden;
  position: relative;
  transition: transform .25s var(--ease);
  transform-style: preserve-3d;
  background:
    radial-gradient(
      120% 90% at 50% 30%,
      rgba(120, 80, 220, .25),
      rgba(10, 4, 30, .6));
}
.sty canvas {
  width: 100%;
  height: auto;
  display: block;
}
.sty .shine {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(
      circle at var(--sx,30%) 0%,
      rgba(255, 255, 255, .28),
      transparent 55%);
  pointer-events: none;
}
.sty b {
  font-size: 14px;
}
.sty small {
  font-size: 11.5px;
  color: var(--mut);
  display: flex;
  gap: 4px;
  align-items: center;
}
.sty small svg {
  width: 12px;
  height: 12px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.2;
}
.sty.on {
  border-color: var(--cyan);
  box-shadow:
    0 0 0 1px var(--cyan),
    0 0 24px rgba(61, 245, 255, .3),
    inset 0 1px 0 rgba(255, 255, 255, .2);
}
.sty.on small {
  color: var(--cyan);
}
.sty.lk {
  opacity: .5;
}
.sty.lk canvas {
  filter: grayscale(.8);
}
.sgrp {
  border-radius: 20px;
  padding: 6px 14px;
  margin-bottom: 12px;
}
.sgrp h4 {
  margin: 10px 0 2px;
  font: 800 11px PFD;
  letter-spacing: .24em;
  color: var(--mut);
  text-transform: uppercase;
}
.set {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 12px 0;
  border-bottom: 1px solid rgba(255, 255, 255, .07);
}
.set:last-child {
  border-bottom: 0;
}
.set > span {
  display: flex;
  justify-content: space-between;
  font-weight: 600;
}
.set > span small {
  display: block;
  font-weight: 400;
  font-size: 12px;
  margin-top: 2px;
}
.set.tog {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
}
.set.tog > span {
  flex-direction: column;
}
.set.tog input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.sw {
  width: 46px;
  height: 28px;
  border-radius: 99px;
  background: rgba(255, 255, 255, .14);
  position: relative;
  flex: none;
  transition: background .25s;
}
.sw::after {
  content: "";
  position: absolute;
  top: 3px;
  left: 3px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #fff;
  transition: transform .25s var(--spring);
  box-shadow: 0 2px 6px rgba(0, 0, 0, .4);
}
input:checked + .sw {
  background:
    linear-gradient(
      90deg,
      #ff3df0,
      #3df5ff);
}
input:checked + .sw::after {
  transform: translateX(18px);
}
input[type=range] {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 6px;
  border-radius: 9px;
  background:
    linear-gradient(
      90deg,
      #ff3df0,
      #3df5ff);
  opacity: .9;
}
input[type=range]::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 0 4px rgba(255, 61, 240, .35), 0 2px 8px rgba(0, 0, 0, .5);
}
input[type=range]::-moz-range-thumb {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #fff;
  border: 0;
}
#nm {
  flex: 2;
  padding: 11px 12px;
  border-radius: 12px;
  border: 1px solid var(--line2);
  background: rgba(0, 0, 0, .25);
  color: #fff;
  font: inherit;
  user-select: text;
  -webkit-user-select: text;
}
.nkrow {
  display: flex;
  align-items: center;
  gap: 10px;
}
#pause {
  position: fixed;
  top: calc(var(--sat) + 10px);
  right: 12px;
  width: 42px;
  height: 42px;
  border-radius: 14px;
  background: rgba(14, 6, 40, .45);
  border: 1px solid var(--line2);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  z-index: 4;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
#pause i {
  width: 4px;
  height: 16px;
  background: #fff;
  border-radius: 2px;
}
#nova {
  position: fixed;
  left: 50%;
  bottom: calc(var(--sab) + 10px);
  transform: translate(-50%, 160%);
  padding: 10px 26px;
  border-radius: 99px;
  background:
    linear-gradient(
      100deg,
      #ff9b3d,
      #ffe23d 50%,
      #fff3a8);
  color: #2a1300;
  font: 900 15px PFD;
  letter-spacing: .16em;
  box-shadow: 0 0 30px #ffd23d, 0 1px 0 rgba(255, 255, 255, .7) inset;
  z-index: 4;
  transition: transform .35s var(--spring);
  display: flex;
  flex-direction: column;
  align-items: center;
  line-height: 1.15;
  touch-action: none;
  overflow: hidden;
}
#nova::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: 40%;
  left: -60%;
  background:
    linear-gradient(
      100deg,
      transparent,
      rgba(255, 255, 255, .8),
      transparent);
  transform: skewX(-20deg);
  animation: sheen 1.6s infinite;
}
#nova small {
  font: 700 9px PFU;
  letter-spacing: .1em;
  opacity: .75;
}
#nova.on {
  transform: translate(-50%, 0);
  animation: nova .6s infinite alternate;
}
@keyframes nova {
  to {
    box-shadow:
      0 0 44px #ffe23d,
      0 0 90px #ff9f3d,
      0 1px 0 rgba(255, 255, 255, .7) inset;
  }
}
body:not(.playing) #nova {
  display: none;
}
#count {
  position: fixed;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  z-index: 6;
  opacity: 0;
}
#count b {
  font: 900 130px PFD;
  color: #fff;
  text-shadow: 0 0 30px #ff3df0, 0 0 60px #3df5ff;
}
#count.on {
  animation: cnt .6s var(--ease);
}
@keyframes cnt {
  0% {
    opacity: 0;
    transform: scale(1.9);
    filter: blur(8px);
  }
  25% {
    opacity: 1;
    transform: scale(1);
    filter: none;
  }
  100% {
    opacity: 0;
    transform: scale(.8);
  }
}
#loading {
  position: fixed;
  inset: 0;
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 18px;
  background:
    radial-gradient(
      closest-side,
      rgba(20, 8, 50, .6),
      rgba(6, 2, 22, .9));
  z-index: 7;
  font-weight: 600;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
#loading.on {
  display: flex;
}
#loading .lc {
  width: 120px;
  height: 120px;
  border-radius: 24px;
  background: center/cover #1a0b3a;
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, .2),
    0 20px 50px rgba(0, 0, 0, .6),
    0 0 40px rgba(255, 61, 240, .4);
  animation: lcp 1.2s ease-in-out infinite alternate;
}
@keyframes lcp {
  to {
    transform: scale(1.04);
    box-shadow:
      0 0 0 1px rgba(255, 255, 255, .3),
      0 20px 50px rgba(0, 0, 0, .6),
      0 0 60px rgba(61, 245, 255, .5);
  }
}
.spin {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 3px solid rgba(255, 255, 255, .12);
  border-top-color: var(--pink);
  border-right-color: var(--cyan);
  animation: sp .8s linear infinite;
}
@keyframes sp {
  to {
    transform: rotate(360deg);
  }
}
#toast {
  position: fixed;
  left: 50%;
  top: calc(var(--sat) + 14px);
  transform: translate(-50%, -160%);
  max-width: min(92vw, 440px);
  padding: 12px 18px;
  border-radius: 16px;
  background: rgba(24, 10, 60, .75);
  border: 1px solid rgba(255, 255, 255, .18);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  font-size: 14px;
  text-align: center;
  z-index: 10;
  transition: transform .35s var(--spring);
  pointer-events: none;
  box-shadow: 0 12px 40px rgba(0, 0, 0, .45);
}
#toast.on {
  transform: translate(-50%, 0);
}
#confetti {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 8;
}
#fxl {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 3;
  display: none;
}
#fxl.on {
  display: block;
}
#hud {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  padding: calc(var(--sat) + 10px) 64px 22px 14px;
  display: flex;
  justify-content: space-between;
  gap: 10px;
  background:
    linear-gradient(
      180deg,
      rgba(6, 2, 18, .72),
      rgba(6, 2, 18, .38) 60%,
      transparent);
}
.h-score {
  font: 800 28px/1 PFD;
  letter-spacing: .02em;
  font-variant-numeric: tabular-nums;
  text-shadow: 0 0 14px rgba(255, 61, 240, .7), 0 2px 6px rgba(0, 0, 0, .6);
}
.h-meta {
  display: flex;
  gap: 8px;
  align-items: center;
  margin-top: 6px;
}
.h-title {
  font-size: 12px;
  font-weight: 600;
  color: #cfc3f0;
  text-shadow: 0 1px 4px #000;
  max-width: 46vw;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.h-mult {
  display: none;
  font: 900 15px PFD;
  padding: 2px 9px;
  border-radius: 9px;
  background:
    linear-gradient(
      100deg,
      #ff3df0,
      #9a46ff);
  box-shadow: 0 0 14px rgba(255, 61, 240, .6);
}
.h-mult.on {
  display: inline-block;
}
.h-mult.nova {
  background:
    linear-gradient(
      100deg,
      #ff9b3d,
      #ffe23d);
  color: #2a1300;
  box-shadow: 0 0 18px #ffd23d;
}
.h-r {
  width: min(150px, 36vw);
  padding-top: 4px;
}
.h-bar {
  height: 8px;
  border-radius: 9px;
  background: rgba(255, 255, 255, .12);
  overflow: hidden;
  box-shadow: inset 0 1px 2px rgba(0, 0, 0, .5), 0 0 0 1px rgba(255, 255, 255, .06);
}
.h-bar i {
  display: block;
  height: 100%;
  transform-origin: 0 50%;
  border-radius: 9px;
  transition: transform .15s linear;
}
.h-bar.en i {
  background:
    linear-gradient(
      90deg,
      #3dffa0,
      #5effc8);
  box-shadow: 0 0 10px #5effa0;
}
.h-bar.en.mid i {
  background:
    linear-gradient(
      90deg,
      #ffb03d,
      #ffd23d);
  box-shadow: 0 0 10px #ffd23d;
}
.h-bar.en.low i {
  background:
    linear-gradient(
      90deg,
      #ff3d5e,
      #ff6d8a);
  box-shadow: 0 0 10px #ff4d6d;
  animation: pulse .4s infinite alternate;
}
.h-bar.nv {
  height: 6px;
  margin-top: 4px;
}
.h-bar.nv i {
  background:
    linear-gradient(
      90deg,
      #ff3df0,
      #ffe23d);
}
.h-bar.nv.ready i {
  box-shadow: 0 0 12px #ffe23d;
  background:
    linear-gradient(
      90deg,
      #ffb03d,
      #ffe23d,
      #fff7c2);
}
.h-lab {
  white-space: nowrap;
  font: 700 9px PFD;
  letter-spacing: .16em;
  color: #bfb4e3;
  margin-top: 3px;
  text-shadow: 0 1px 3px #000;
}
.h-lab.ready {
  color: var(--gold);
  text-shadow: 0 0 8px #ffb03d;
}
.h-prog {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 3px;
  background: rgba(255, 255, 255, .1);
}
.h-prog i {
  display: block;
  height: 100%;
  background:
    linear-gradient(
      90deg,
      var(--cyan),
      var(--pink));
  transform-origin: 0 50%;
  box-shadow: 0 0 8px var(--cyan);
}
#judge {
  position: absolute;
  left: 50%;
  transform: translate(-50%, -50%);
  opacity: 0;
  will-change:
    transform,
    opacity,
    filter;
  white-space: nowrap;
}
#judge span {
  font: 900 34px PFD;
  letter-spacing: .12em;
  color: #fff;
  text-shadow:
    0 0 12px var(--c),
    0 0 28px var(--c),
    0 0 2px #fff;
  -webkit-text-stroke: 1px color-mix(in srgb, var(--c) 70%, #fff);
}
#judge.p span {
  background:
    linear-gradient(
      180deg,
      #fff,
      var(--c));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 0 10px var(--c));
}
#judge::after {
  content: "";
  position: absolute;
  left: 10%;
  right: 10%;
  top: 100%;
  height: 2px;
  margin-top: 2px;
  background:
    linear-gradient(
      90deg,
      transparent,
      var(--c),
      transparent);
  box-shadow: 0 0 10px var(--c);
}
#fxl.land #judge span {
  font-size: 40px;
}
#combo {
  position: absolute;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  opacity: 0;
  transition: opacity .25s;
}
#combo.on {
  opacity: .72;
}
#combo.on.hid {
  opacity: 0;
}
#combo b {
  display: block;
  font: 900 54px/1 PFD;
  color: #fff;
  font-variant-numeric: tabular-nums;
  text-shadow:
    0 2px 10px rgba(0, 0, 0, .7),
    0 0 18px rgba(255, 61, 240, .8),
    0 0 40px rgba(61, 245, 255, .4);
  will-change: transform;
}
#combo small {
  font: 800 11px PFD;
  letter-spacing: .42em;
  color: var(--cyan);
  text-shadow: 0 0 8px var(--cyan);
}
#combo.nova b {
  color: #fff4c4;
  text-shadow: 0 0 22px #ffb03d, 0 0 44px #ff3df0;
}
#combo.nova small {
  color: var(--gold);
}
#fxl.land #combo b {
  font-size: 64px;
}
#banner {
  position: absolute;
  left: 50%;
  transform: translate(-50%, -50%);
  opacity: 0;
  white-space: nowrap;
  font: 900 clamp(26px, 8vw, 48px) PFD;
  letter-spacing: .14em;
  color: #fff;
  text-shadow: 0 0 16px var(--c), 0 0 40px var(--c);
}
#mile {
  position: absolute;
  left: 50%;
  transform: translate(-50%, -50%);
  opacity: 0;
  text-align: center;
  white-space: nowrap;
}
#mile b {
  display: block;
  font: 900 clamp(70px, 24vw, 130px)/.95 PFD;
  background:
    linear-gradient(
      180deg,
      #fff,
      var(--c));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 0 20px var(--c)) drop-shadow(0 0 50px var(--c));
}
#mile small {
  font: 900 16px PFD;
  letter-spacing: .6em;
  color: #fff;
  text-shadow: 0 0 12px var(--c);
}
#mile i {
  position: absolute;
  left: 50%;
  top: 45%;
  width: 340px;
  height: 340px;
  margin: -170px 0 0 -170px;
  border-radius: 50%;
  background: repeating-conic-gradient(rgba(255, 255, 255, .22) 0 5deg, transparent 5deg 18deg);
  -webkit-mask-image:
    radial-gradient(
      circle,
      #000 10%,
      transparent 65%);
  mask-image:
    radial-gradient(
      circle,
      #000 10%,
      transparent 65%);
  z-index: -1;
  animation: rays 6s linear infinite;
}
#mile.n3 b {
  background:
    linear-gradient(
      180deg,
      #fff7c2,
      #ffd23d 50%,
      #ff3df0);
  -webkit-background-clip: text;
  background-clip: text;
}
body.nova #pause {
  border-color: rgba(255, 226, 61, .5);
}
#boot {
  position: fixed;
  inset: 0;
  background: var(--bg);
  z-index: 20;
  transition: opacity .5s;
  pointer-events: none;
}
#boot.off {
  opacity: 0;
}
@media (min-width:760px) and (orientation:landscape) {
  #ui > * {
    max-width: 1000px;
  }
  .sel {
    display: grid;
    grid-template-columns: 1.25fr 1fr;
    align-items: center;
    gap: 18px;
    min-height: calc(100vh - 120px);
  }
  .car {
    height: min(56vh, 420px);
    margin: 0;
    overflow: hidden;
    -webkit-mask-image:
      linear-gradient(
        90deg,
        transparent,
        #000 8%,
        #000 92%,
        transparent);
    mask-image:
      linear-gradient(
        90deg,
        transparent,
        #000 8%,
        #000 92%,
        transparent);
  }
  .cc {
    width: min(30vw, 340px, 48vh);
  }
  .sinfo {
    margin-top: 0;
  }
  .title {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    align-items: center;
    gap: 30px;
    min-height: calc(100vh - 40px);
  }
  .hero {
    height: 100vh;
    -webkit-mask-image:
      linear-gradient(
        90deg,
        #000 40%,
        transparent 85%);
    mask-image:
      linear-gradient(
        90deg,
        #000 40%,
        transparent 85%);
  }
  .logo {
    margin: 0;
    text-align: left;
  }
  .lw {
    font-size: clamp(48px, 6.4vw, 96px);
  }
  .lsub {
    text-align: left;
  }
  .tmenu {
    margin: 0;
    padding: 0;
  }
  .grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .card {
    max-width: 520px;
  }
}
@media (orientation:landscape) and (max-height:520px) {
  .logo {
    margin-top: 6px;
  }
  .lw {
    font-size: 44px;
  }
  .tmenu {
    padding-top: 8px;
  }
  .car {
    height: 220px;
  }
  .cc {
    width: 180px;
  }
  .title {
    display: block;
  }
  .hero {
    height: 100vh;
  }
}
@media (prefers-reduced-motion:reduce) {
  * {
    animation-duration: .01s !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01s !important;
  }
}
@media (min-width:900px) {
  .h-score {
    font-size: 38px;
  }
  .h-title {
    font-size: 15px;
  }
  .h-mult {
    font-size: 18px;
  }
  .h-r {
    width: 220px;
  }
  .h-bar {
    height: 10px;
  }
  .h-lab {
    font-size: 11px;
  }
  #hud {
    padding-left: 22px;
    padding-right: 80px;
  }
}
img.av {
  display: block;
  flex: none;
  border-radius: 50%;
  object-fit: cover;
  background: #140a2e;
  box-shadow:
    0 0 0 2px rgba(255, 255, 255, .18),
    0 0 0 3px rgba(160, 90, 255, .35),
    0 4px 12px rgba(0, 0, 0, .45);
}
.pd.p1 img.av {
  box-shadow:
    0 0 0 3px #ffd23d,
    0 0 22px rgba(255, 210, 61, .55),
    0 6px 16px rgba(0, 0, 0, .5);
}
.pd.p2 img.av {
  box-shadow:
    0 0 0 3px #d9e2ff,
    0 0 16px rgba(200, 215, 255, .45),
    0 6px 16px rgba(0, 0, 0, .5);
}
.pd.p3 img.av {
  box-shadow:
    0 0 0 3px #ffad6b,
    0 0 16px rgba(255, 150, 80, .45),
    0 6px 16px rgba(0, 0, 0, .5);
}
.sty .tilt {
  background:
    linear-gradient(
      180deg,
      rgba(12, 5, 34, .25),
      rgba(12, 5, 34, .7)),
    var(--plt,none) center 62%/cover,
    #120830;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .08), inset 0 -20px 30px rgba(0, 0, 0, .35);
}
