* {
  box-sizing: border-box;
}

:root {
  --font-body: Arial, Helvetica, sans-serif;
  --font-display: "Luckiest Guy", Impact, Haettenschweiler, "Arial Narrow Bold", Arial, sans-serif;
}

@property --button-spot-x {
  syntax: "<percentage>";
  inherits: false;
  initial-value: 20%;
}

@property --button-spot-y {
  syntax: "<percentage>";
  inherits: false;
  initial-value: 22%;
}

@property --spot-x {
  syntax: "<percentage>";
  inherits: true;
  initial-value: 18%;
}

@property --spot-y {
  syntax: "<percentage>";
  inherits: true;
  initial-value: 24%;
}

@property --spot-tilt {
  syntax: "<angle>";
  inherits: true;
  initial-value: -10deg;
}

@font-face {
  font-family: "Luckiest Guy";
  font-style: normal;
  font-weight: 400 900;
  font-display: swap;
  src: url("assets/fonts/luckiest-guy-v25.ttf") format("truetype");
}

html,
body {
  width: 100%;
  min-height: 100%;
  margin: 0;
}

body {
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior-x: none;
  overscroll-behavior-y: auto;
  background: #06113b;
  font-family: var(--font-body);
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.splash-screen {
  position: fixed;
  z-index: 50;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(255, 20, 147, 0.92), rgba(6, 17, 59, 0.96));
  animation: loader-hide 0.55s ease 2.2s forwards;
}

.splash-screen-home {
  background: #000;
  animation: none;
}

.splash-screen::before,
.splash-screen::after {
  content: "";
  position: absolute;
  z-index: 3;
  top: -14vh;
  bottom: -14vh;
  width: max(62vw, 390px);
  background: url("assets/nuvemlateral1.png") center / max(920px, 128vmax) max(920px, 128vmax) no-repeat;
  filter: drop-shadow(0 12px 16px rgba(0, 0, 0, 0.34));
  will-change: transform;
}

.splash-screen-home::before,
.splash-screen-home::after,
.splash-screen-home span {
  display: none;
}

.splash-screen::before {
  left: -3vw;
  background-position: right center;
  animation: clouds-open-left 2.15s cubic-bezier(0.65, 0, 0.2, 1) 0.22s forwards;
}

.splash-screen::after {
  right: -3vw;
  background-position: right center;
  transform: scaleX(-1);
  animation: clouds-open-right 2.15s cubic-bezier(0.65, 0, 0.2, 1) 0.22s forwards;
}

.splash-screen span {
  position: absolute;
  z-index: 1;
  left: 50%;
  top: 50%;
  width: 150vw;
  aspect-ratio: 2172 / 724;
  background: url("assets/nuven1.png") center / contain no-repeat;
  filter: blur(1px) drop-shadow(0 14px 18px rgba(0, 0, 0, 0.22));
  opacity: 0.56;
  transform: translate(-50%, -50%) scale(1.05);
  animation: clouds-open-center 1.5s cubic-bezier(0.65, 0, 0.2, 1) 0.38s forwards;
}

.splash-video {
  position: absolute;
  z-index: 2;
  display: block;
  left: 50%;
  top: 50%;
  width: min(100vw, 760px);
  height: auto;
  max-height: 100vh;
  object-fit: contain;
  border: 0;
  background: #000;
  transform: translate(-50%, -50%);
}

.splash-progress {
  position: absolute;
  z-index: 4;
  left: 0;
  right: 0;
  bottom: 0;
  height: clamp(8px, 1.1vw, 14px);
  background: rgba(0, 0, 0, 0.72);
  overflow: hidden;
}

.splash-progress::before {
  content: "";
  display: block;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, #159447, #22b957);
  box-shadow: 0 0 18px rgba(21, 148, 71, 0.68);
  transform: scaleX(var(--splash-progress, 0));
  transform-origin: left center;
  transition: transform 0.08s linear;
}

body.is-loaded .splash-screen {
  animation-duration: 0.55s;
  animation-delay: 2.2s;
}

body.is-loaded .splash-screen-home {
  animation: loader-hide 0.55s ease forwards;
  animation-delay: 0s;
}

body.is-leaving .splash-screen {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  animation: none;
}

body.is-leaving .splash-screen::before {
  animation: clouds-close-left 0.62s cubic-bezier(0.65, 0, 0.2, 1) forwards;
}

body.is-leaving .splash-screen::after {
  animation: clouds-close-right 0.62s cubic-bezier(0.65, 0, 0.2, 1) forwards;
}

body.is-leaving .splash-screen span {
  animation: clouds-close-center 0.5s cubic-bezier(0.65, 0, 0.2, 1) 0.12s forwards;
}

body.is-leaving .splash-video {
  display: none;
}

body.is-leaving .splash-progress {
  display: none;
}

.side-menu {
  position: fixed;
  z-index: 30;
  left: 0;
  top: clamp(12px, 3vw, 22px);
  font-family: Arial, Helvetica, sans-serif;
}

.side-menu details {
  position: relative;
}

.side-menu summary {
  position: relative;
  display: grid;
  grid-template-columns: 28px auto;
  grid-template-rows: repeat(3, 5px);
  align-content: center;
  align-items: center;
  column-gap: 14px;
  gap: 4px;
  width: clamp(142px, 12vw, 168px);
  min-height: 48px;
  padding: 8px 12px 9px 10px;
  border: 3px solid #111;
  border-left: 0;
  border-radius: 0 10px 10px 0;
  background:
    radial-gradient(circle at 18% 20%, rgba(255, 255, 255, 0.34) 0 8%, transparent 9%),
    linear-gradient(180deg, #ff5fb8 0%, #ff1493 52%, #a40e61 100%);
  color: #fff;
  cursor: pointer;
  list-style: none;
  box-shadow:
    4px 4px 0 #111,
    0 10px 18px rgba(0, 0, 0, 0.28);
  text-shadow:
    -1px -1px 0 #111,
    1px -1px 0 #111,
    -1px 1px 0 #111,
    1px 1px 0 #111,
    0 2px 0 rgba(17, 17, 17, 0.78);
  overflow: hidden;
}

.side-menu summary::before {
  content: "";
  position: absolute;
  inset: -40% auto -40% -42%;
  width: 36%;
  pointer-events: none;
  background:
    linear-gradient(105deg, transparent 0 24%, rgba(255, 255, 255, 0.95) 46%, rgba(255, 238, 112, 0.72) 52%, transparent 76% 100%);
  filter: blur(0.3px);
  opacity: 0;
  transform: translateX(0) rotate(10deg);
  animation: menu-sparkle-sweep 4.8s ease-in-out 1.4s infinite;
}

.side-menu summary::after {
  content: "Main Menu";
  grid-column: 2;
  grid-row: 1 / 4;
  align-self: center;
  font-family: "Luckiest Guy", Impact, Haettenschweiler, "Arial Narrow Bold", Arial, sans-serif;
  font-size: clamp(0.82rem, 1.2vw, 1rem);
  line-height: 0.92;
  letter-spacing: 0;
  text-transform: uppercase;
}

.side-menu summary::-webkit-details-marker {
  display: none;
}

.side-menu summary span {
  display: block;
  grid-column: 1;
  width: 100%;
  height: 5px;
  border: 1px solid rgba(17, 17, 17, 0.82);
  border-radius: 999px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.4);
}

.side-menu summary span:nth-child(1) {
  background: #ff1493;
}

.side-menu summary span:nth-child(2) {
  background: #2bd06f;
}

.side-menu summary span:nth-child(3) {
  background: #35a7e7;
}

.side-menu-panel {
  position: absolute;
  left: 10px;
  top: calc(100% + 10px);
  display: grid;
  gap: 7px;
  min-width: 136px;
  max-height: calc(100dvh - 96px);
  overflow-y: auto;
  padding: 10px;
  border: 3px solid #111;
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(234, 247, 255, 0.96));
  box-shadow:
    0 5px 0 #111,
    0 12px 20px rgba(0, 0, 0, 0.26);
  scrollbar-width: thin;
  scrollbar-color: #ff1493 rgba(6, 17, 59, 0.18);
  overflow-x: hidden;
}

.side-menu-panel::before {
  content: "";
  position: absolute;
  inset: -35% auto -35% -48%;
  width: 34%;
  pointer-events: none;
  background:
    linear-gradient(105deg, transparent 0 24%, rgba(255, 255, 255, 0.88) 46%, rgba(255, 238, 112, 0.62) 52%, transparent 76% 100%);
  opacity: 0;
  transform: translateX(0) rotate(10deg);
  animation: menu-sparkle-sweep 5.6s ease-in-out 2.1s infinite;
}

.side-menu-panel a {
  position: relative;
  z-index: 1;
  display: block;
  padding: 8px 10px;
  border: 2px solid rgba(17, 17, 17, 0.88);
  border-radius: 8px;
  background: linear-gradient(180deg, #ffffff, #eef7ff);
  color: #06113b;
  font-size: 0.78rem;
  font-weight: 900;
  line-height: 1;
  text-align: center;
  text-decoration: none;
  text-transform: uppercase;
}

.side-menu-panel a:hover,
.side-menu-panel a:focus-visible {
  background: linear-gradient(180deg, #5bf19a, #24cf69);
  color: #06113b;
  outline: none;
}

.side-menu-languages {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px;
  margin-top: 2px;
  padding-top: 8px;
  border-top: 2px dashed rgba(17, 17, 17, 0.38);
}

.side-menu-panel .side-menu-languages a {
  display: grid;
  place-items: center;
  gap: 2px;
  min-width: 0;
  padding: 6px 5px;
  background:
    radial-gradient(circle at 22% 18%, rgba(255, 255, 255, 0.5) 0 9%, transparent 10%),
    linear-gradient(180deg, #fff7d6 0%, #ffe05a 52%, #d69811 100%);
  font-size: 0.64rem;
  line-height: 1;
}

.side-menu-panel .side-menu-languages a:nth-child(2) {
  background:
    radial-gradient(circle at 22% 18%, rgba(255, 255, 255, 0.48) 0 9%, transparent 10%),
    linear-gradient(180deg, #f4fbff 0%, #35a7e7 52%, #17639e 100%);
  color: #fff;
  text-shadow:
    -1px -1px 0 #111,
    1px 1px 0 rgba(17, 17, 17, 0.58);
}

.side-menu-panel .side-menu-languages .language-flag {
  display: block;
  width: 24px;
  height: 16px;
  border: 1px solid rgba(17, 17, 17, 0.78);
  border-radius: 2px;
  box-shadow: 0 1px 0 rgba(17, 17, 17, 0.42);
  overflow: hidden;
}

.language-flag-es {
  background:
    linear-gradient(
      180deg,
      #c60b1e 0 25%,
      #ffc400 25% 75%,
      #c60b1e 75% 100%
    );
}

.language-flag-eng {
  background:
    linear-gradient(90deg, transparent 0 42%, #cf142b 42% 58%, transparent 58% 100%),
    linear-gradient(180deg, transparent 0 38%, #cf142b 38% 62%, transparent 62% 100%),
    linear-gradient(90deg, transparent 0 34%, #fff 34% 66%, transparent 66% 100%),
    linear-gradient(180deg, transparent 0 30%, #fff 30% 70%, transparent 70% 100%),
    #00247d;
}

.page {
  position: relative;
  width: 100%;
  min-height: 100svh;
  height: auto;
  overflow-x: hidden;
  overflow-y: visible;
  opacity: 0;
  transform: scale(1.015);
  animation: page-reveal 0.65s ease 0.25s forwards;
}

.page::after {
  content: "";
  position: absolute;
  inset: 0;
  background: url("assets/iphone 12 (compress).png") center top / min(100vw, 768px) auto no-repeat;
}

.page::before {
  content: "";
  position: absolute;
  z-index: 1;
  left: 50%;
  bottom: 6%;
  width: min(76vw, 330px);
  height: 34%;
  pointer-events: none;
  background:
    radial-gradient(circle, rgba(255, 255, 255, 0.88) 0 1.8px, transparent 2.4px) 12% 70% / 100% 100% no-repeat,
    radial-gradient(circle, rgba(255, 255, 255, 0.74) 0 1.5px, transparent 2.1px) 28% 42% / 100% 100% no-repeat,
    radial-gradient(circle, rgba(255, 236, 143, 0.78) 0 1.7px, transparent 2.3px) 46% 76% / 100% 100% no-repeat,
    radial-gradient(circle, rgba(255, 255, 255, 0.66) 0 1.4px, transparent 2px) 63% 34% / 100% 100% no-repeat,
    radial-gradient(circle, rgba(255, 236, 143, 0.72) 0 1.6px, transparent 2.2px) 78% 62% / 100% 100% no-repeat,
    radial-gradient(circle, rgba(255, 255, 255, 0.76) 0 1.5px, transparent 2.1px) 88% 28% / 100% 100% no-repeat;
  filter: drop-shadow(0 0 6px rgba(255, 255, 255, 0.42));
  opacity: 0.42;
  transform: translateX(-50%);
  animation: lower-stars-soft 5.8s ease-in-out 1.1s infinite;
}

.auth-page {
  height: max(100dvh, 780px);
  min-height: max(100svh, 780px);
  overflow-y: visible;
}

.cloud::after {
  content: "";
  position: fixed;
  z-index: 1;
  left: 50%;
  bottom: 10%;
  width: min(72vw, 310px);
  height: 26%;
  pointer-events: none;
  background:
    radial-gradient(circle, rgba(255, 255, 255, 0.68) 0 1px, transparent 1.7px) 18% 32% / 100% 100% no-repeat,
    radial-gradient(circle, rgba(255, 236, 143, 0.66) 0 1.2px, transparent 1.9px) 36% 84% / 100% 100% no-repeat,
    radial-gradient(circle, rgba(255, 255, 255, 0.58) 0 1px, transparent 1.7px) 57% 56% / 100% 100% no-repeat,
    radial-gradient(circle, rgba(255, 255, 255, 0.64) 0 1.1px, transparent 1.8px) 72% 22% / 100% 100% no-repeat,
    radial-gradient(circle, rgba(255, 236, 143, 0.62) 0 1px, transparent 1.7px) 93% 72% / 100% 100% no-repeat;
  filter: drop-shadow(0 0 5px rgba(255, 255, 255, 0.36));
  opacity: 0.26;
  transform: translateX(-50%);
  animation: lower-stars-alt 7.4s ease-in-out 2.7s infinite;
}

.top-art {
  position: absolute;
  z-index: 2;
  left: 50%;
  top: clamp(72px, 7vw, 104px);
  width: min(72vw, 315px);
  aspect-ratio: 595 / 420;
  overflow: visible;
  pointer-events: none;
  background: url("assets/Topo.png") center / contain no-repeat;
  filter: drop-shadow(0 10px 14px rgba(0, 0, 0, 0.28));
  transform: translateX(-50%);
  animation: image-pop 0.7s ease 0.18s both;
}

.battle-page .top-art::before,
.battle-page .top-art::after {
  content: "";
  position: absolute;
  z-index: 1;
  left: 50%;
  bottom: -20%;
  width: 74%;
  height: 118%;
  pointer-events: none;
  background:
    conic-gradient(from -18deg at 50% 105%, transparent 0 19deg, rgba(255, 246, 196, 0.22) 28deg, rgba(255, 255, 255, 0.12) 38deg, transparent 52deg 360deg),
    radial-gradient(ellipse at 50% 36%, rgba(255, 248, 212, 0.22) 0 10%, transparent 46%);
  mix-blend-mode: screen;
  opacity: 0;
  transform: translateX(-50%) rotate(-28deg);
  transform-origin: 50% 100%;
  will-change: transform, opacity;
  animation: top-logo-searchlight-left-intro 5.8s cubic-bezier(0.42, 0, 0.18, 1) 2.35s both;
}

.battle-page .top-art::after {
  background:
    conic-gradient(from 144deg at 50% 105%, transparent 0 18deg, rgba(180, 229, 255, 0.18) 29deg, rgba(255, 250, 218, 0.1) 41deg, transparent 56deg 360deg),
    radial-gradient(ellipse at 50% 38%, rgba(219, 242, 255, 0.18) 0 10%, transparent 45%);
  transform: translateX(-50%) rotate(28deg);
  animation-name: top-logo-searchlight-right-intro;
  animation-delay: 2.65s;
}

.battle-page.is-top-spotlights-settled .top-art::before {
  animation: top-logo-searchlight-left-idle 9.5s ease-in-out infinite;
}

.battle-page.is-top-spotlights-settled .top-art::after {
  animation: top-logo-searchlight-right-idle 10.5s ease-in-out infinite;
}

.cloud {
  position: absolute;
  z-index: 1;
  left: 50%;
  top: 14vh;
  width: min(88vw, 940px);
  aspect-ratio: 2172 / 724;
  pointer-events: none;
  background: url("assets/nuven1.png") center / contain no-repeat;
  filter: drop-shadow(0 10px 18px rgba(0, 0, 0, 0.25));
  transform: translateX(-50%);
  animation:
    image-pop 0.7s ease 0.3s both,
    cloud-float 5s ease-in-out 1s infinite;
}

.side-cloud {
  position: absolute;
  z-index: 1;
  bottom: 4vh;
  width: clamp(150px, 22vw, 340px);
  aspect-ratio: 1;
  pointer-events: none;
  background: url("assets/nuvemlateral1.png") center / contain no-repeat;
  filter: drop-shadow(0 8px 12px rgba(0, 0, 0, 0.22));
}

.side-cloud-left {
  left: -110px;
  animation:
    image-pop 0.7s ease 0.45s both,
    side-cloud-left 4.8s ease-in-out 1s infinite;
}

.side-cloud-right {
  right: -110px;
  animation:
    image-pop 0.7s ease 0.5s both,
    side-cloud-right 5.3s ease-in-out 1s infinite;
}

.auth-panel {
  position: absolute;
  z-index: 2;
  left: 56%;
  top: 53%;
  width: min(94vw, 450px);
  aspect-ratio: 520 / 679;
  perspective: 1200px;
  transform: translate(-50%, -50%);
  animation: register-enter 0.72s cubic-bezier(0.2, 0.9, 0.2, 1.2) 0.38s both;
}

.auth-card {
  position: relative;
  width: 100%;
  height: 100%;
  filter: drop-shadow(0 14px 24px rgba(0, 0, 0, 0.28));
  transform-style: preserve-3d;
}

.auth-face {
  position: absolute;
  inset: 0;
  background: url("assets/register cloud.png") center / contain no-repeat;
  opacity: 1;
  transform-style: preserve-3d;
  transition:
    opacity 0.2s ease,
    transform 0.72s cubic-bezier(0.2, 0.82, 0.18, 1);
}

.auth-face::before {
  content: "";
  position: absolute;
  z-index: 0;
  left: 9.5%;
  top: 19.5%;
  width: 62%;
  height: 73%;
  border: 3px solid #111;
  border-radius: 8px;
  background:
    radial-gradient(circle at 12% 9%, rgba(255, 255, 255, 0.18) 0 4%, transparent 5%),
    linear-gradient(180deg, rgba(43, 54, 63, 0.94) 0%, rgba(19, 28, 38, 0.96) 100%);
  box-shadow:
    inset 0 3px 0 rgba(255, 255, 255, 0.16),
    inset 0 -9px 0 rgba(0, 0, 0, 0.24),
    0 5px 0 #111,
    0 14px 18px rgba(6, 17, 59, 0.28);
  pointer-events: none;
}

.register-panel {
  transform: rotateY(0deg) scale(1);
}

.login-panel {
  opacity: 0;
  transform: rotateY(-88deg) scale(0.97);
  pointer-events: none;
}

.auth-panel.is-login .register-panel {
  opacity: 0;
  transform: rotateY(88deg) scale(0.97);
}

.auth-panel.is-login .login-panel {
  opacity: 1;
  transform: rotateY(0deg) scale(1);
  pointer-events: auto;
}

.auth-panel:not(.is-login) .login-panel,
.auth-panel.is-login .register-panel {
  pointer-events: none;
}

.register-form {
  position: absolute;
  z-index: 1;
  inset: 0;
  color: #06113b;
}

.login-form {
  position: absolute;
  z-index: 1;
  inset: 0;
  color: #06113b;
}

.register-form h1 {
  position: absolute;
  top: 15.2%;
  left: 11%;
  width: 58%;
  margin: 0;
  color: #fff;
  font-family: "Luckiest Guy", Impact, Haettenschweiler, "Arial Narrow Bold", Arial, sans-serif;
  font-size: clamp(2.18rem, 9.2vw, 3.34rem);
  line-height: 0.92;
  text-align: center;
  -webkit-text-stroke: 0.7px rgba(17, 17, 17, 0.86);
  text-shadow:
    -1px -1px 0 #111,
    1px -1px 0 #111,
    -1px 1px 0 #111,
    1px 1px 0 #111,
    0 1px 0 rgba(17, 17, 17, 0.7),
    0 3px 6px rgba(0, 0, 0, 0.3),
    0 7px 12px rgba(0, 0, 0, 0.16);
  letter-spacing: 0;
  text-transform: uppercase;
  transform-origin: center;
}

.login-kicker {
  position: absolute;
  left: 13.5%;
  top: 15.4%;
  width: 58%;
  margin: 0;
  color: #fff;
  font: 900 clamp(0.7rem, 2.1vw, 0.86rem) Arial, Helvetica, sans-serif;
  line-height: 1;
  text-align: center;
  text-transform: uppercase;
  text-shadow:
    -1px -1px 0 #111,
    1px 1px 0 rgba(17, 17, 17, 0.6);
}

.login-form h2 {
  position: absolute;
  top: 21%;
  left: 10.5%;
  width: 62%;
  margin: 0;
  color: #fff;
  font-family: "Luckiest Guy", Impact, Haettenschweiler, "Arial Narrow Bold", Arial, sans-serif;
  font-size: clamp(2.35rem, 8.2vw, 3.45rem);
  line-height: 0.88;
  text-align: center;
  -webkit-text-stroke: 0.7px rgba(17, 17, 17, 0.86);
  text-shadow:
    -1px -1px 0 #111,
    1px -1px 0 #111,
    -1px 1px 0 #111,
    1px 1px 0 #111,
    0 1px 0 rgba(17, 17, 17, 0.7),
    0 3px 6px rgba(0, 0, 0, 0.3),
    0 7px 12px rgba(0, 0, 0, 0.16);
  letter-spacing: 0;
  text-transform: uppercase;
}

.register-form label {
  position: absolute;
  left: 14%;
  display: block;
  width: 53%;
  font-family: Arial, Helvetica, sans-serif;
  color: #fff;
  font-size: clamp(0.56rem, 1.9vw, 0.66rem);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: 0;
  text-transform: uppercase;
  text-shadow:
    -1px -1px 0 rgba(17, 17, 17, 0.84),
    1px 1px 0 rgba(17, 17, 17, 0.54);
}

.login-form label {
  position: absolute;
  left: 14%;
  display: block;
  width: 53%;
  font-family: Arial, Helvetica, sans-serif;
  color: #fff;
  font-size: clamp(0.58rem, 1.9vw, 0.7rem);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: 0;
  text-transform: uppercase;
  text-shadow:
    -1px -1px 0 rgba(17, 17, 17, 0.84),
    1px 1px 0 rgba(17, 17, 17, 0.54);
}

.register-form label:nth-of-type(1) {
  top: 25.2%;
}

.register-form label:nth-of-type(2) {
  top: 33.4%;
}

.register-form label:nth-of-type(3) {
  top: 41.6%;
}

.register-form label:nth-of-type(4) {
  top: 49.8%;
}

.register-form label:nth-of-type(5) {
  top: 58%;
  width: 53%;
}

.login-form label:nth-of-type(1) {
  top: 40.5%;
}

.login-form label:nth-of-type(2) {
  top: 51.2%;
}

.register-form input,
.login-form input {
  width: 100%;
  height: 24px;
  border: 2px solid #111;
  border-radius: 999px;
  padding: 4px 9px;
  background: #fff;
  color: #06113b;
  font: 900 0.7rem Arial, Helvetica, sans-serif;
  text-transform: uppercase;
  outline: none;
  box-shadow:
    inset 0 2px 0 rgba(255, 255, 255, 0.42),
    inset 0 -3px 0 rgba(6, 17, 59, 0.14),
    0 2px 0 rgba(17, 17, 17, 0.42);
}

.register-form input[type="email"],
.register-form input[type="password"],
.login-form input {
  text-transform: none;
}

.register-form input[type="checkbox"] {
  display: inline-grid;
  width: 24px;
  height: 24px;
  margin: 3px 0 0;
  padding: 0;
  vertical-align: middle;
  appearance: none;
  border: 2px solid #111;
  border-radius: 7px;
  background: #fff;
  cursor: pointer;
}

.register-form input[type="checkbox"]::before {
  content: "";
  width: 13px;
  height: 7px;
  border-left: 4px solid #0b7f3b;
  border-bottom: 4px solid #0b7f3b;
  transform: translate(4px, 4px) rotate(-45deg) scale(0);
  transform-origin: center;
}

.register-form input[type="checkbox"]:checked::before {
  transform: translate(4px, 4px) rotate(-45deg) scale(1);
}

.register-form input:focus,
.login-form input:focus {
  border-color: #ff1493;
  box-shadow:
    inset 0 2px 0 rgba(255, 255, 255, 0.46),
    inset 0 -3px 0 rgba(6, 17, 59, 0.12),
    0 0 0 3px rgba(255, 20, 147, 0.28),
    0 2px 0 rgba(17, 17, 17, 0.42);
}

.field-error {
  display: inline-block;
  max-width: 58%;
  min-height: 10px;
  margin: 0 0 2px 5px;
  padding: 1px 4px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.78);
  color: #b00020;
  font-family: Arial, Helvetica, sans-serif;
  font-size: clamp(0.48rem, 1.7vw, 0.58rem);
  font-weight: 900;
  line-height: 1.05;
  text-transform: none;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.8);
  vertical-align: middle;
  white-space: nowrap;
}

.field-error:empty {
  min-height: 0;
  margin: 0;
  padding: 0;
  background: transparent;
}

.register-form > .field-error {
  display: none;
}

.register-form > button[type="submit"],
.login-form > button[type="submit"] {
  position: absolute;
  z-index: 3;
  left: 40.5%;
  width: 56%;
  height: 39px;
  border: 3px solid #111;
  border-radius: 999px;
  margin: 0;
  background:
    radial-gradient(circle at 20% 22%, rgba(255, 255, 255, 0.42) 0 7%, transparent 8%),
    linear-gradient(#39df7c 0%, #1fbe62 47%, #0b7f3b 100%);
  color: #fff;
  cursor: pointer;
  font: 900 1.18rem Impact, Haettenschweiler, "Arial Narrow Bold", Arial, sans-serif;
  letter-spacing: 0;
  text-transform: uppercase;
  text-shadow:
    -2px -2px 0 #111,
    2px -2px 0 #111,
    -2px 2px 0 #111,
    2px 2px 0 #111,
    0 3px 0 #111;
  box-shadow:
    inset 0 5px 0 rgba(255, 255, 255, 0.2),
    inset 0 -8px 0 rgba(0, 0, 0, 0.22),
    0 5px 0 #111,
    0 10px 14px rgba(6, 17, 59, 0.28);
  transform: translateX(-50%);
}

.register-form > button[type="submit"] {
  top: 67.5%;
}

.login-form > button[type="submit"] {
  top: 63.2%;
}

.register-form > button[type="submit"]:hover,
.register-form > button[type="submit"]:focus-visible,
.login-form > button[type="submit"]:hover,
.login-form > button[type="submit"]:focus-visible {
  background:
    radial-gradient(circle at 20% 22%, rgba(255, 255, 255, 0.45) 0 7%, transparent 8%),
    linear-gradient(#48ef8b 0%, #20c86a 47%, #0c8b42 100%);
  transform: translateX(-50%) translateY(-1px);
}

.auth-switch {
  position: absolute;
  z-index: 4;
  left: 40.5%;
  width: 50%;
  border: 0;
  border-radius: 999px;
  padding: 5px 9px 6px;
  background:
    radial-gradient(circle at 20% 22%, rgba(255, 255, 255, 0.34) 0 7%, transparent 8%),
    linear-gradient(#65f3a0 0%, #1fbf62 54%, #0b7f3b 100%);
  color: #fff;
  cursor: pointer;
  font: 900 0.68rem Impact, Haettenschweiler, "Arial Narrow Bold", Arial, sans-serif;
  letter-spacing: 0;
  line-height: 1.05;
  text-align: center;
  text-transform: uppercase;
  white-space: normal;
  text-shadow:
    -1px -1px 0 #111,
    1px -1px 0 #111,
    -1px 1px 0 #111,
    1px 1px 0 #111;
  box-shadow:
    inset 0 2px 0 rgba(255, 255, 255, 0.32),
    inset 0 -4px 0 rgba(0, 0, 0, 0.15),
    0 3px 0 #111;
  transform: translateX(-50%);
}

.auth-switch:hover,
.auth-switch:focus-visible {
  color: #39df7c;
  outline: none;
}

.register-switch {
  top: 75.4%;
}

.login-switch {
  top: 73.8%;
}

.social-login {
  position: absolute;
  z-index: 2;
  left: 40.5%;
  top: 84.9%;
  width: 56%;
  padding: 8px 7px 7px;
  border: 2px solid #111;
  border-radius: 8px;
  background:
    radial-gradient(circle at 16% 16%, rgba(255, 255, 255, 0.18) 0 8%, transparent 9%),
    linear-gradient(180deg, rgba(43, 54, 63, 0.94), rgba(13, 20, 29, 0.96));
  box-shadow:
    inset 0 2px 0 rgba(255, 255, 255, 0.14),
    inset 0 -5px 0 rgba(0, 0, 0, 0.22),
    0 3px 0 #111;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.login-social {
  top: 83.8%;
}

@media (min-width: 900px) {
  .splash-screen-home .splash-video {
    top: calc(50% - 12px);
    width: min(88vw, 1080px);
    max-height: calc(100dvh - 46px);
  }

  .auth-panel {
    left: 50%;
    top: 54%;
    width: min(94vw, 940px);
    aspect-ratio: auto;
    perspective: none;
  }

  .auth-card {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: clamp(18px, 2.4vw, 34px);
    height: auto;
    transform-style: flat;
  }

  .auth-face,
  .register-panel,
  .login-panel,
  .auth-panel.is-login .register-panel,
  .auth-panel.is-login .login-panel {
    position: relative;
    inset: auto;
    aspect-ratio: 520 / 679;
    opacity: 1;
    pointer-events: auto;
    transform: none;
    transform-style: flat;
  }

  .auth-switch {
    display: none;
  }
}

.social-login > span {
  display: block;
  margin-bottom: 6px;
  color: #fff;
  font: 900 0.68rem Impact, Haettenschweiler, "Arial Narrow Bold", Arial, sans-serif;
  text-transform: uppercase;
  text-shadow:
    -1px -1px 0 #111,
    1px -1px 0 #111,
    -1px 1px 0 #111,
    1px 1px 0 #111;
}

.social-icons {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.social-icon {
  display: grid;
  width: 29px;
  height: 29px;
  place-items: center;
  border: 2px solid #111;
  border-radius: 8px;
  background: #fff;
  color: #111;
  font: 900 1.22rem Arial, Helvetica, sans-serif;
  text-decoration: none;
  box-shadow:
    inset 0 2px 0 rgba(255, 255, 255, 0.28),
    0 3px 0 rgba(0, 0, 0, 0.55);
}

.social-icon.google {
  background:
    linear-gradient(#fff, #fff) padding-box,
    conic-gradient(from -45deg, #4285f4 0 25%, #34a853 0 50%, #fbbc05 0 75%, #ea4335 0) border-box;
  color: #4285f4;
}

.social-icon.facebook {
  background: #1877f2;
  color: #fff;
  font-family: Arial, Helvetica, sans-serif;
}

.social-icon.instagram {
  background:
    radial-gradient(circle at 70% 25%, #fff 0 6%, transparent 7%),
    radial-gradient(circle at 50% 55%, transparent 0 21%, #fff 22% 31%, transparent 32%),
    linear-gradient(135deg, #feda75, #fa7e1e 28%, #d62976 58%, #962fbf 78%, #4f5bd5);
}

.form-message {
  position: absolute;
  left: 40.5%;
  top: 75.7%;
  width: 58%;
  min-height: 10px;
  margin: 0;
  color: #08733b;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 0.58rem;
  font-weight: 800;
  text-align: center;
  transform: translateX(-50%);
}

.login-message {
  position: absolute;
  left: 40.5%;
  top: 71%;
  width: 58%;
  min-height: 10px;
  margin: 0;
  color: #08733b;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 0.58rem;
  font-weight: 800;
  text-align: center;
  transform: translateX(-50%);
}

.top-page {
  height: auto;
  min-height: 100svh;
  overflow-x: hidden;
  overflow-y: visible;
  padding: clamp(72px, 8vw, 104px) 14px clamp(56px, 8vw, 86px);
  background: #06113b;
}

.top-page .side-cloud {
  z-index: 2;
  opacity: 0.96;
  filter: drop-shadow(0 12px 16px rgba(0, 0, 0, 0.3));
}

.top-page::after {
  background-size: min(100vw, 768px) auto;
  background-position: center top;
}

.top-page::before {
  content: "";
  position: absolute;
  z-index: 2;
  left: 50%;
  top: 18vh;
  width: min(142vw, 1180px);
  aspect-ratio: 2172 / 724;
  height: auto;
  pointer-events: none;
  background: url("assets/nuven1.png") center / contain no-repeat;
  opacity: 0.96;
  filter: drop-shadow(0 16px 22px rgba(0, 0, 0, 0.3));
  transform: translateX(-50%) scaleY(0.72);
  transform-origin: center;
  animation:
    image-pop 0.7s ease 0.25s both,
    top-floor-cloud-float 5s ease-in-out 1s infinite;
}

.top-nav {
  position: absolute;
  z-index: 4;
  top: 0;
  left: 0;
  right: 0;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  min-height: 60px;
  padding: 10px clamp(14px, 4vw, 32px);
  background: rgba(0, 0, 0, 0.88);
  color: #fff;
}

.top-nav a {
  color: inherit;
  text-decoration: none;
}

.brand-mark {
  justify-self: start;
  font: 900 1.35rem "Luckiest Guy", Impact, Haettenschweiler, "Arial Narrow Bold", Arial, sans-serif;
  text-transform: uppercase;
  text-shadow:
    -2px -2px 0 #111,
    2px -2px 0 #111,
    -2px 2px 0 #111,
    2px 2px 0 #111;
}

.top-nav-links,
.top-nav-actions {
  display: flex;
  align-items: center;
  gap: clamp(12px, 3vw, 30px);
  font: 700 0.95rem Arial, Helvetica, sans-serif;
}

.top-nav-actions {
  justify-self: end;
}

.nav-login,
.nav-signup {
  min-width: 92px;
  padding: 9px 18px;
  border: 2px solid #fff;
  border-radius: 999px;
  text-align: center;
}

.nav-signup {
  border-color: #2bd06f;
  background: #2bd06f;
  color: #06113b;
}

.top-stage {
  position: relative;
  z-index: 3;
  width: min(100%, 820px);
  margin: 0 auto;
  text-align: center;
}

.top-kicker {
  margin: 0 0 4px;
  color: #fff;
  font-size: clamp(0.72rem, 1.8vw, 0.88rem);
  font-weight: 900;
  line-height: 1;
  letter-spacing: 0;
  text-transform: uppercase;
  -webkit-text-stroke: 0.55px rgba(17, 17, 17, 0.86);
  text-shadow:
    -1px -1px 0 rgba(17, 17, 17, 0.72),
    1px -1px 0 rgba(17, 17, 17, 0.72),
    -1px 1px 0 rgba(17, 17, 17, 0.72),
    1px 1px 0 rgba(17, 17, 17, 0.72),
    0 3px 6px rgba(0, 0, 0, 0.28);
}

.top-rollers-title {
  position: relative;
  z-index: 3;
  display: block;
  width: min(84vw, 470px);
  margin: 0 auto clamp(12px, 2.4vw, 18px);
  pointer-events: none;
  filter: drop-shadow(0 8px 8px rgba(0, 0, 0, 0.26));
  left: 25px;
}
.top-lead {
  max-width: 520px;
  margin: clamp(8px, 1.8vw, 14px) auto clamp(18px, 3.2vw, 28px);
  color: #fff;
  font-size: clamp(0.82rem, 1.9vw, 1.02rem);
  font-weight: 900;
  line-height: 1.12;
  text-transform: uppercase;
  -webkit-text-stroke: 0.5px rgba(17, 17, 17, 0.82);
  text-shadow:
    -1px -1px 0 rgba(17, 17, 17, 0.68),
    1px -1px 0 rgba(17, 17, 17, 0.68),
    -1px 1px 0 rgba(17, 17, 17, 0.68),
    1px 1px 0 rgba(17, 17, 17, 0.68),
    0 3px 6px rgba(0, 0, 0, 0.3);
}

.top-avatar-board {
  width: min(100%, 660px);
  margin: clamp(16px, 3vw, 26px) auto 0;
}

.top-avatar-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(7px, 1.4vw, 10px);
  padding: 0;
  margin: 0;
  list-style: none;
}

.top-avatar-card {
  position: relative;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  column-gap: clamp(10px, 2vw, 14px);
  min-height: 68px;
  padding: clamp(9px, 1.8vw, 12px);
  border: 2px solid rgba(17, 17, 17, 0.72);
  border-radius: 8px;
  background:
    radial-gradient(circle at 14% 16%, rgba(255, 255, 255, 0.58) 0 8%, transparent 9%),
    linear-gradient(180deg, rgba(234, 245, 255, 0.94) 0%, rgba(158, 185, 211, 0.88) 100%);
  box-shadow:
    inset 0 3px 0 rgba(255, 255, 255, 0.52),
    inset 0 -5px 0 rgba(6, 17, 59, 0.16),
    0 4px 0 rgba(17, 17, 17, 0.9),
    0 10px 16px rgba(6, 17, 59, 0.28);
  color: #06113b;
  text-align: left;
  transition:
    transform 140ms ease,
    filter 140ms ease,
    box-shadow 140ms ease;
}

.top-avatar-card:hover {
  filter: brightness(1.04) saturate(1.04);
  transform: translateY(-2px);
  box-shadow:
    inset 0 3px 0 rgba(255, 255, 255, 0.58),
    inset 0 -5px 0 rgba(6, 17, 59, 0.14),
    0 6px 0 rgba(17, 17, 17, 0.92),
    0 13px 18px rgba(6, 17, 59, 0.3);
}

.top-avatar-rank {
  display: grid;
  flex: 0 0 auto;
  place-items: center;
  width: clamp(36px, 6vw, 44px);
  aspect-ratio: 1;
  border-radius: 8px;
  border: 2px solid #111;
  background:
    radial-gradient(circle at 24% 18%, rgba(255, 255, 255, 0.5) 0 9%, transparent 10%),
    linear-gradient(180deg, #78e6a4 0%, #37c96d 52%, #158b45 100%);
  color: #fff;
  font-family: "Luckiest Guy", Impact, Haettenschweiler, "Arial Narrow Bold", Arial, sans-serif;
  font-size: clamp(1.18rem, 3.6vw, 1.68rem);
  line-height: 1;
  text-shadow:
    -1px -1px 0 #111,
    1px -1px 0 #111,
    -1px 1px 0 #111,
    1px 1px 0 #111,
    0 2px 0 rgba(17, 17, 17, 0.52);
  box-shadow:
    inset 0 3px 0 rgba(255, 255, 255, 0.34),
    inset 0 -5px 0 rgba(0, 0, 0, 0.18),
    0 3px 0 #111;
}

.top-avatar-rank-4 .top-avatar-rank,
.top-avatar-rank-5 .top-avatar-rank,
.top-avatar-rank-6 .top-avatar-rank {
  background:
    radial-gradient(circle at 24% 18%, rgba(255, 255, 255, 0.5) 0 9%, transparent 10%),
    linear-gradient(180deg, #77e6a4 0%, #31c86a 52%, #138c45 100%);
}

.top-avatar-rank-8 .top-avatar-rank,
.top-avatar-rank-9 .top-avatar-rank,
.top-avatar-rank-10 .top-avatar-rank {
  background:
    radial-gradient(circle at 24% 18%, rgba(255, 255, 255, 0.5) 0 9%, transparent 10%),
    linear-gradient(180deg, #96d8f6 0%, #4fa4d8 52%, #236aa8 100%);
  color: #fff;
  text-shadow:
    -1px -1px 0 rgba(6, 17, 59, 0.72),
    1px 1px 0 rgba(6, 17, 59, 0.5);
}

.top-avatar-content {
  display: grid;
  gap: 3px;
  min-width: 0;
  padding-right: 2px;
}

.top-avatar-name {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: #06113b;
  font-size: clamp(0.86rem, 1.8vw, 1.04rem);
  font-weight: 900;
  line-height: 1.05;
}

.top-avatar-meta {
  display: grid;
  gap: 4px;
  min-width: 0;
  color: #167044;
  font-size: clamp(0.54rem, 1.15vw, 0.64rem);
  font-weight: 800;
  line-height: 1.05;
  text-transform: uppercase;
}

.top-avatar-meta b {
  position: relative;
  display: grid;
  width: 100%;
  min-height: 17px;
  place-items: center;
  padding: 0.12em 0.46em 0.16em;
  overflow: hidden;
  border-radius: 999px;
  background:
    linear-gradient(90deg, #31c86a 0 58%, transparent 58%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.82), rgba(216, 229, 240, 0.78));
  border: 2px solid #111;
  color: #06113b;
  font-family: "Luckiest Guy", Impact, Haettenschweiler, "Arial Narrow Bold", Arial, sans-serif;
  font-size: clamp(0.56rem, 1.45vw, 0.74rem);
  font-weight: 900;
  line-height: 1;
  letter-spacing: 0;
  text-transform: lowercase;
  text-shadow:
    0 1px 0 rgba(255, 255, 255, 0.68);
  box-shadow:
    inset 0 2px 0 rgba(255, 255, 255, 0.5),
    inset 0 -3px 0 rgba(0, 0, 0, 0.12),
    0 2px 0 rgba(17, 17, 17, 0.74);
}

.top-avatar-rank-8 .top-avatar-meta,
.top-avatar-rank-9 .top-avatar-meta,
.top-avatar-rank-10 .top-avatar-meta {
  color: #1763b0;
}

.top-avatar-rank-8 .top-avatar-meta b,
.top-avatar-rank-9 .top-avatar-meta b,
.top-avatar-rank-10 .top-avatar-meta b {
  color: #06113b;
}

.top-avatar-rank-5 .top-avatar-meta b {
  background:
    linear-gradient(90deg, #ff1493 0 64%, transparent 64%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.82), rgba(216, 229, 240, 0.78));
}

.top-avatar-rank-6 .top-avatar-meta b {
  background:
    linear-gradient(90deg, #35a7e7 0 68%, transparent 68%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.82), rgba(216, 229, 240, 0.78));
}

.top-avatar-rank-8 .top-avatar-meta b {
  background:
    linear-gradient(90deg, #35a7e7 0 74%, transparent 74%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.82), rgba(216, 229, 240, 0.78));
}

.top-avatar-rank-9 .top-avatar-meta b {
  background:
    linear-gradient(90deg, #35a7e7 0 80%, transparent 80%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.82), rgba(216, 229, 240, 0.78));
}

.top-avatar-rank-10 .top-avatar-meta b {
  background:
    linear-gradient(90deg, #35a7e7 0 62%, transparent 62%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.82), rgba(216, 229, 240, 0.78));
}

.top-podium-card {
  width: min(100vw, 768px);
  position: relative;
  z-index: 3;
  margin: 0 auto;
  padding: 0;
  border: 0;
  border-radius: 8px;
  background: transparent;
  box-shadow:
    0 6px 0 rgba(6, 17, 59, 0.26),
    0 18px 30px rgba(6, 17, 59, 0.32);
}

.top-podium-art::before {
  content: "";
  position: absolute;
  z-index: 1;
  left: 50%;
  top: 42%;
  width: 96%;
  height: 90%;
  border-radius: 50%;
  background:
    radial-gradient(circle, rgba(255, 246, 176, 0.72) 0 12%, rgba(255, 236, 143, 0.32) 28%, transparent 58%),
    conic-gradient(from 214deg at 50% 4%, transparent 0 10%, rgba(255, 255, 255, 0.34) 11% 18%, transparent 19% 35%, rgba(255, 255, 255, 0.26) 36% 44%, transparent 45% 100%);
  mix-blend-mode: screen;
  opacity: 0.92;
  filter: blur(2px);
  transform: translate(-50%, -50%);
  pointer-events: none;
  animation: podium-glory-pulse 3.8s ease-in-out infinite;
}

.top-podium-art::after {
  content: "";
  position: absolute;
  z-index: 2;
  inset: -28% -42%;
  background:
    linear-gradient(112deg, transparent 0 42%, rgba(255, 255, 255, 0.48) 47%, rgba(255, 236, 143, 0.3) 50%, transparent 56% 100%);
  mix-blend-mode: screen;
  opacity: 0;
  pointer-events: none;
  transform: translateX(-38%) rotate(0deg);
  animation: podium-glory-sweep 4.6s ease-in-out 0.7s infinite;
}

.top-podium-art {
  position: relative;
  width: 100%;
  aspect-ratio: 763 / 327;
  overflow: hidden;
  border-radius: 0;
}

.top-podium-base {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.top-podium-medal {
  position: absolute;
  z-index: 5;
  display: grid;
  place-items: center;
  color: #fff;
  font-family: "Luckiest Guy", Impact, Haettenschweiler, "Arial Narrow Bold", Arial, sans-serif;
  line-height: 1;
  letter-spacing: 0;
  text-shadow:
    -1px -1px 0 #111,
    1px -1px 0 #111,
    -1px 1px 0 #111,
    1px 1px 0 #111,
    0 3px 0 rgba(17, 17, 17, 0.62),
    0 7px 10px rgba(0, 0, 0, 0.28);
  transform: translate(-50%, -50%) rotate(-4deg);
}

.top-podium-medal-first {
  left: 50%;
  top: 20%;
  font-size: clamp(1.28rem, 5.4vw, 2.28rem);
  color: #ffe37a;
}

.top-podium-medal-second {
  left: 27.7%;
  top: 34%;
  font-size: clamp(0.92rem, 4vw, 1.55rem);
  color: #f4f7ff;
}

.top-podium-medal-third {
  left: 71.1%;
  top: 35.2%;
  font-size: clamp(0.92rem, 4vw, 1.55rem);
  color: #ffc47d;
}

.top-podium-avatar {
  position: absolute;
  z-index: 4;
  display: block;
  aspect-ratio: 1;
  overflow: hidden;
  border: clamp(2px, 0.75vw, 4px) solid #fff;
  border-radius: 50%;
  background: #fff;
  box-shadow:
    0 3px 0 rgba(6, 17, 59, 0.32),
    0 8px 14px rgba(0, 0, 0, 0.32);
  transform: translate(-50%, -50%);
}

.top-podium-avatar img {
  display: block;
  width: 112%;
  height: 112%;
  object-fit: cover;
  object-position: center top;
  transform: translate(-6%, -2%);
}

.top-podium-avatar-first {
  left: 50%;
  top: 27.5%;
  width: 14%;
  border-color: #ffe37a;
}

.top-podium-avatar-second {
  left: 29.5%;
  top: 40.5%;
  width: 11.4%;
  border-color: #edf3ff;
}

.top-podium-avatar-third {
  left: 71.3%;
  top: 43.3%;
  width: 11.4%;
  border-color: #ffc47d;
}

.top-podium-name {
  position: absolute;
  z-index: 6;
  display: grid;
  gap: 2px;
  min-width: 18%;
  max-width: 28%;
  padding: 0.3em 0.72em 0.34em;
  overflow: hidden;
  border: 2px solid rgba(17, 17, 17, 0.9);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  color: #06113b;
  font-family: Arial, Helvetica, sans-serif;
  font-size: clamp(0.52rem, 1.75vw, 0.74rem);
  font-weight: 900;
  line-height: 1;
  text-align: center;
  text-overflow: ellipsis;
  text-transform: uppercase;
  white-space: nowrap;
  box-shadow:
    0 3px 0 rgba(17, 17, 17, 0.34),
    0 7px 12px rgba(0, 0, 0, 0.24);
  transform: translate(-50%, -50%);
}

.top-podium-name span,
.top-podium-name small {
  display: block;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
}

.top-podium-name small {
  justify-self: center;
  min-width: 3.2em;
  padding: 0.14em 0.34em 0.18em;
  border-radius: 999px;
  background: #06113b;
  color: #fff;
  font-family: "Luckiest Guy", Impact, Haettenschweiler, "Arial Narrow Bold", Arial, sans-serif;
  font-size: 0.94em;
  font-weight: 900;
  line-height: 1;
  letter-spacing: 0;
  text-transform: lowercase;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.24),
    0 2px 0 rgba(17, 17, 17, 0.3);
}

.top-podium-name-first {
  left: 50%;
  top: 39.2%;
}

.top-podium-name-second {
  left: 29.5%;
  top: 54%;
}

.top-podium-name-third {
  left: 71.3%;
  top: 57.2%;
}

.video-page {
  height: auto;
  min-height: 100svh;
  overflow-x: hidden;
  overflow-y: visible;
  padding: clamp(72px, 8vw, 104px) 14px clamp(58px, 8vw, 88px);
  background: #06113b;
}

.video-page::after {
  background-size: min(100vw, 768px) auto;
  background-position: center top;
}

.video-page .side-cloud {
  z-index: 2;
  opacity: 0.96;
  filter: drop-shadow(0 12px 16px rgba(0, 0, 0, 0.3));
}

.video-cloud {
  top: clamp(118px, 22vw, 190px);
  width: min(132vw, 980px);
  opacity: 0.96;
  filter: drop-shadow(0 14px 20px rgba(0, 0, 0, 0.28));
}

.video-stage {
  position: relative;
  z-index: 3;
  width: min(100%, 720px);
  margin: 0 auto;
  text-align: center;
}

.video-title-art {
  position: relative;
  z-index: 3;
  display: block;
  width: min(86vw, 500px);
  margin: 0 auto clamp(24px, 4.2vw, 36px);
  pointer-events: none;
  filter: drop-shadow(0 8px 8px rgba(0, 0, 0, 0.26));
}

.video-feature {
  width: min(100%, 520px);
  margin: 0 auto;
}

.video-frame {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border: 4px solid #111;
  border-radius: 8px;
  background:
    linear-gradient(180deg, #c3d3dc 0%, #6d8797 52%, #344853 100%);
  padding: clamp(12px, 2.5vw, 18px);
  box-shadow:
    inset 0 4px 0 rgba(255, 255, 255, 0.34),
    inset 0 -9px 0 rgba(0, 0, 0, 0.2),
    0 6px 0 #111,
    0 22px 32px rgba(6, 17, 59, 0.38);
}

.video-frame::after {
  content: "";
  position: absolute;
  z-index: 2;
  inset: 10px;
  pointer-events: none;
  border: 2px solid rgba(255, 255, 255, 0.42);
  border-radius: 6px;
  box-shadow:
    inset 0 0 22px rgba(255, 255, 255, 0.2),
    inset 0 -18px 24px rgba(6, 17, 59, 0.24);
}

.video-screen {
  position: relative;
  z-index: 1;
  left: auto;
  top: auto;
  width: 100%;
  height: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border: 3px solid rgba(17, 17, 17, 0.74);
  border-radius: 6px;
  background:
    radial-gradient(circle at 66% 38%, rgba(43, 208, 111, 0.42) 0 14%, transparent 30%),
    radial-gradient(circle at 34% 36%, rgba(255, 20, 147, 0.72) 0 20%, transparent 42%),
    linear-gradient(135deg, rgba(255, 20, 147, 0.92), rgba(6, 17, 59, 0.98) 58%, rgba(43, 208, 111, 0.9));
  box-shadow:
    inset 0 3px 0 rgba(255, 255, 255, 0.18),
    inset 0 -16px 24px rgba(0, 0, 0, 0.22);
}

.video-screen::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(120deg, transparent 0 34%, rgba(255, 255, 255, 0.22) 42%, transparent 52% 100%);
  opacity: 0.72;
}

.video-play-mark {
  position: absolute;
  z-index: 2;
  left: 50%;
  top: 50%;
  width: clamp(58px, 14vw, 92px);
  aspect-ratio: 1;
  border: 3px solid #111;
  border-radius: 50%;
  background:
    radial-gradient(circle at 30% 25%, rgba(255, 255, 255, 0.95), rgba(255, 255, 255, 0.32) 30%, transparent 31%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(196, 210, 220, 0.88));
  transform: translate(-50%, -50%);
  box-shadow:
    0 4px 0 rgba(17, 17, 17, 0.62),
    0 10px 18px rgba(0, 0, 0, 0.26);
}

.video-play-mark::before {
  content: "";
  position: absolute;
  left: 54%;
  top: 50%;
  width: 0;
  height: 0;
  border-top: clamp(13px, 3vw, 20px) solid transparent;
  border-bottom: clamp(13px, 3vw, 20px) solid transparent;
  border-left: clamp(19px, 4.5vw, 31px) solid #2bd06f;
  transform: translate(-42%, -50%);
}

.video-caption {
  margin: clamp(28px, 4.6vw, 42px) auto 0;
  color: #fff;
  font-size: clamp(0.86rem, 2vw, 1.04rem);
  font-weight: 900;
  line-height: 1.15;
  text-transform: uppercase;
  -webkit-text-stroke: 0.5px rgba(17, 17, 17, 0.82);
  text-shadow:
    -1px -1px 0 rgba(17, 17, 17, 0.68),
    1px -1px 0 rgba(17, 17, 17, 0.68),
    -1px 1px 0 rgba(17, 17, 17, 0.68),
    1px 1px 0 rgba(17, 17, 17, 0.68),
    0 3px 6px rgba(0, 0, 0, 0.3);
}

.video-more {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(16px, 3.2vw, 26px);
  width: min(100%, 470px);
  margin: clamp(22px, 3.8vw, 34px) auto 0;
}

.video-small-card {
  display: grid;
  grid-template-columns: minmax(86px, 128px) 1fr;
  gap: clamp(10px, 2vw, 14px);
  align-items: center;
  min-height: clamp(78px, 16vw, 104px);
  padding: clamp(8px, 1.8vw, 11px);
  border: 3px solid #111;
  border-radius: 8px;
  margin: 0;
  background:
    radial-gradient(circle at 13% 18%, rgba(255, 255, 255, 0.44) 0 8%, transparent 9%),
    linear-gradient(180deg, rgba(214, 230, 242, 0.94) 0%, rgba(117, 144, 163, 0.92) 100%);
  box-shadow:
    inset 0 3px 0 rgba(255, 255, 255, 0.36),
    inset 0 -7px 0 rgba(6, 17, 59, 0.16),
    0 5px 0 #111,
    0 13px 18px rgba(6, 17, 59, 0.26);
  text-align: left;
}

.video-small-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  border: 3px solid rgba(17, 17, 17, 0.82);
  border-radius: 8px;
  background: linear-gradient(180deg, #c8d8e1, #6a8595);
  filter: drop-shadow(0 4px 0 rgba(17, 17, 17, 0.42));
}

.video-small-frame::after {
  content: "";
  position: absolute;
  z-index: 3;
  inset: 4px;
  pointer-events: none;
  border: 1px solid rgba(255, 255, 255, 0.42);
  border-radius: 5px;
}

.video-small-screen {
  position: absolute;
  z-index: 1;
  inset: 5px;
  width: auto;
  aspect-ratio: auto;
  overflow: hidden;
  border: 0;
  border-radius: 5px;
  background:
    radial-gradient(circle at 50% 42%, rgba(255, 255, 255, 0.18), transparent 28%),
    linear-gradient(135deg, rgba(255, 20, 147, 0.86), rgba(6, 17, 59, 0.94) 58%, rgba(43, 208, 111, 0.82));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.22);
}

.video-small-play {
  position: absolute;
  z-index: 2;
  left: 50%;
  top: 50%;
  width: clamp(28px, 6vw, 42px);
  aspect-ratio: 1;
  border: 2px solid #111;
  border-radius: 50%;
  background: linear-gradient(#ffffff, #eaf5ff);
  transform: translate(-50%, -50%);
  box-shadow:
    0 2px 0 rgba(17, 17, 17, 0.58),
    0 6px 10px rgba(0, 0, 0, 0.22);
}

.video-small-play::before {
  content: "";
  position: absolute;
  left: 55%;
  top: 50%;
  width: 0;
  height: 0;
  border-top: clamp(7px, 1.6vw, 10px) solid transparent;
  border-bottom: clamp(7px, 1.6vw, 10px) solid transparent;
  border-left: clamp(10px, 2.4vw, 15px) solid #2bd06f;
  transform: translate(-42%, -50%);
}

.video-small-card p {
  display: grid;
  gap: 5px;
  margin: 0;
  color: #fff;
  font-size: clamp(0.9rem, 2.4vw, 1.14rem);
  font-weight: 900;
  line-height: 0.96;
  text-transform: uppercase;
  -webkit-text-stroke: 0.45px rgba(17, 17, 17, 0.82);
  text-shadow:
    -1px -1px 0 rgba(17, 17, 17, 0.62),
    1px 1px 0 rgba(17, 17, 17, 0.48),
    0 3px 6px rgba(0, 0, 0, 0.24);
}

.video-small-card p span,
.video-small-card p small {
  display: block;
}

.video-small-card p small {
  width: max-content;
  padding: 0.22em 0.58em 0.26em;
  border: 2px solid rgba(17, 17, 17, 0.82);
  border-radius: 999px;
  background:
    radial-gradient(circle at 20% 20%, rgba(255, 255, 255, 0.45) 0 8%, transparent 9%),
    linear-gradient(180deg, #75f2a8 0%, #2bd06f 54%, #128843 100%);
  color: #06113b;
  font-size: 0.72em;
  line-height: 1;
  text-shadow: none;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.32),
    0 2px 0 rgba(17, 17, 17, 0.28);
}

.up-page {
  height: auto;
  min-height: 100svh;
  overflow-x: hidden;
  overflow-y: visible;
  padding: clamp(72px, 8vw, 104px) 14px clamp(58px, 8vw, 88px);
  background: #06113b;
}

.up-page::after {
  background-size: min(100vw, 768px) auto;
  background-position: center top;
}

.up-page .side-cloud {
  z-index: 2;
  opacity: 0.96;
  filter: drop-shadow(0 12px 16px rgba(0, 0, 0, 0.3));
}

.up-cloud {
  top: clamp(126px, 23vw, 205px);
  width: min(134vw, 980px);
  opacity: 0.96;
  filter: drop-shadow(0 14px 20px rgba(0, 0, 0, 0.28));
}

.up-corner-character {
  position: absolute;
  z-index: 4;
  right: max(12px, calc(50% - 330px));
  top: clamp(112px, 13vw, 152px);
  width: clamp(72px, 16vw, 132px);
  aspect-ratio: 1;
  height: auto;
  display: block;
  object-fit: contain;
  background: transparent;
  pointer-events: none;
  transform: scaleX(-1) rotate(7deg);
  transform-origin: 50% 80%;
  filter: drop-shadow(0 9px 10px rgba(0, 0, 0, 0.32));
}

.up-running-character {
  position: absolute;
  z-index: 4;
  top: clamp(118px, 13vw, 156px);
  left: 50%;
  width: clamp(36px, 8.8vw, 68px);
  aspect-ratio: 0.74;
  cursor: pointer;
  pointer-events: auto;
  filter: drop-shadow(0 9px 10px rgba(0, 0, 0, 0.32));
  transform-origin: 50% 82%;
  will-change: transform;
  animation: up-run-patrol 16s ease-in-out infinite;
}

.up-running-character.is-stunt,
.up-running-character.is-idle {
  animation: none;
}

.up-running-character.is-idle {
  animation: up-run-idle-breathe 3.8s ease-in-out infinite;
}

.up-running-character.is-idle .up-run-body {
  animation: none;
  transform: translateY(10px) rotate(0deg);
}

.up-running-character.is-idle .up-run-arm-back {
  animation: none;
  transform: rotate(42deg) translate(0, 5px);
}

.up-running-character.is-idle .up-run-arm-front {
  animation: none;
  transform: rotate(-36deg) translate(-1px, 4px);
}

.up-running-character.is-idle .up-run-leg-back {
  animation: none;
  transform: rotate(48deg) translate(3px, -5px);
}

.up-running-character.is-idle .up-run-leg-front {
  animation: none;
  transform: rotate(-44deg) translate(-3px, -3px);
}

.up-running-character.is-hanging .up-run-arm-back,
.up-running-character.is-hanging .up-run-arm-front,
.up-running-character.is-hanging .up-run-leg-back,
.up-running-character.is-hanging .up-run-leg-front {
  animation: none;
}

.up-running-character.is-hanging .up-run-arm-front {
  transform: rotate(166deg) translate(-5px, -16px);
}

.up-running-character.is-hanging .up-run-arm-back {
  transform: rotate(-166deg) translate(5px, -16px);
}

.up-running-character.is-hanging .up-run-leg-front {
  transform: rotate(2deg) translate(1px, 3px);
}

.up-running-character.is-hanging .up-run-leg-back {
  transform: rotate(-2deg) translate(-1px, 3px);
}

.up-run-part {
  position: absolute;
  display: block;
  height: auto;
  pointer-events: none;
  user-select: none;
  transform-origin: 50% 50%;
  will-change: transform;
}

.up-run-body {
  z-index: 3;
  left: 22%;
  top: 0;
  width: 58%;
  transform: translateY(0) rotate(0deg);
}

.up-run-arm-back {
  z-index: 1;
  left: 62%;
  top: 27%;
  width: 32%;
  transform-origin: 20% 12%;
  transform: rotate(-12deg) translateY(2px);
}

.up-run-arm-front {
  z-index: 2;
  left: 14%;
  top: 43%;
  width: 28%;
  transform-origin: 76% 16%;
  transform: rotate(-18deg) translateY(0);
}

.up-run-leg-back {
  z-index: 1;
  left: 48%;
  top: 65%;
  width: 37%;
  transform-origin: 10% 12%;
  transform: rotate(-6deg) translate(-1px, 3px);
}

.up-run-leg-front {
  z-index: 4;
  left: 24%;
  top: 65%;
  width: 34%;
  transform-origin: 58% 10%;
  transform: rotate(6deg) translate(1px, 3px);
}

.up-running-character.is-moving .up-run-body {
  animation: up-run-body-bob 0.52s ease-in-out infinite;
}

.up-running-character.is-moving .up-run-arm-back {
  animation: up-run-arm-back 0.52s ease-in-out infinite;
}

.up-running-character.is-moving .up-run-arm-front {
  animation: up-run-arm-front 0.52s ease-in-out infinite;
}

.up-running-character.is-moving .up-run-leg-back {
  animation: up-run-leg-back 0.52s ease-in-out infinite;
}

.up-running-character.is-moving .up-run-leg-front {
  animation: up-run-leg-front 0.52s ease-in-out infinite;
}

.up-footprint {
  position: absolute;
  z-index: 3;
  width: 18px;
  height: 10px;
  pointer-events: none;
  transform: translate(-50%, -50%) rotate(-8deg);
  opacity: 0.58;
  background:
    radial-gradient(ellipse at 30% 58%, rgba(6, 17, 59, 0.42) 0 28%, transparent 31%),
    radial-gradient(ellipse at 70% 42%, rgba(6, 17, 59, 0.38) 0 25%, transparent 29%);
  filter: blur(0.15px);
  animation: up-footprint-fade 1.7s ease-out forwards;
}

.up-stage {
  position: relative;
  z-index: 3;
  width: min(100%, 720px);
  margin: 0 auto;
  text-align: center;
}

.up-title-art {
  position: relative;
  z-index: 3;
  display: block;
  width: min(88vw, 520px);
  margin: 0 auto clamp(18px, 3.6vw, 32px);
  pointer-events: none;
  filter: drop-shadow(0 8px 8px rgba(0, 0, 0, 0.26));
}

.up-info-card {
  position: relative;
  z-index: 3;
  width: min(100%, 470px);
  margin: 0 auto clamp(16px, 3vw, 24px);
  padding: clamp(13px, 2.8vw, 18px) clamp(18px, 4vw, 28px);
  border: 3px solid #111;
  border-radius: 8px;
  background:
    radial-gradient(circle at 16px 16px, #ffe05a 0 4px, #111 4.5px 6.5px, transparent 7px),
    radial-gradient(circle at calc(100% - 16px) 16px, #ffe05a 0 4px, #111 4.5px 6.5px, transparent 7px),
    radial-gradient(circle at 16px calc(100% - 16px), #ffe05a 0 4px, #111 4.5px 6.5px, transparent 7px),
    radial-gradient(circle at calc(100% - 16px) calc(100% - 16px), #ffe05a 0 4px, #111 4.5px 6.5px, transparent 7px),
    linear-gradient(180deg, rgba(255, 246, 220, 0.98), rgba(214, 185, 130, 0.96));
  box-shadow:
    inset 0 0 0 3px rgba(255, 255, 255, 0.28),
    inset 0 -8px 0 rgba(99, 64, 27, 0.18),
    0 6px 0 #111,
    0 18px 30px rgba(6, 17, 59, 0.34);
  transform-origin: top center;
  animation:
    up-card-drop 0.92s cubic-bezier(0.18, 0.9, 0.22, 1.16) 0.28s both,
    up-card-hang 5.4s ease-in-out 1.25s infinite;
}

.up-calendar {
  position: relative;
  z-index: 2;
  width: min(100%, 452px);
  margin: 0 auto;
  padding: clamp(13px, 3vw, 18px);
  border: 3px solid #111;
  border-radius: 8px;
  background:
    radial-gradient(circle at 16% 10%, rgba(255, 255, 255, 0.28) 0 4%, transparent 5%),
    linear-gradient(180deg, #40e582 0%, #149b52 58%, #064824 100%);
  box-shadow:
    inset 0 4px 0 rgba(255, 255, 255, 0.3),
    inset 0 -10px 0 rgba(0, 0, 0, 0.15),
    0 5px 0 #111,
    0 14px 24px rgba(6, 17, 59, 0.3);
}

.up-calendar::before,
.up-calendar::after {
  content: none;
}

.up-kicker,
.up-date,
.up-copy {
  margin: 0;
}

.up-kicker {
  color: #5c4528;
  font-size: clamp(0.72rem, 2vw, 0.9rem);
  font-weight: 900;
  text-transform: uppercase;
}

.up-date {
  margin-top: 5px;
  color: #06113b;
  font-family: "Luckiest Guy", Impact, Haettenschweiler, "Arial Narrow Bold", Arial, sans-serif;
  font-size: clamp(1.45rem, 5.8vw, 2.65rem);
  line-height: 0.92;
  letter-spacing: 0;
  text-transform: uppercase;
}

.up-copy {
  margin-top: 8px;
  color: #3b2a18;
  font-size: clamp(0.66rem, 1.8vw, 0.88rem);
  font-weight: 900;
  line-height: 1.15;
  text-align: center;
  text-transform: uppercase;
}

.up-calendar-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: clamp(4px, 0.9vw, 7px);
  width: 100%;
}

.up-calendar-grid span,
.up-calendar-grid button {
  display: grid;
  place-items: center;
  min-width: 0;
  aspect-ratio: 1;
  border-radius: 7px;
  color: #06113b;
  font-weight: 900;
  line-height: 1;
  text-align: center;
}

.up-calendar-grid span {
  aspect-ratio: auto;
  min-height: clamp(16px, 3.4vw, 22px);
  border-radius: 999px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.28), rgba(6, 17, 59, 0.28));
  color: #fff;
  font-size: clamp(0.43rem, 1.05vw, 0.58rem);
  letter-spacing: 0;
  text-transform: uppercase;
  text-shadow:
    -1px -1px 0 rgba(17, 17, 17, 0.62),
    1px 1px 0 rgba(17, 17, 17, 0.42);
}

.up-calendar-grid button {
  appearance: none;
  padding: 0;
  cursor: pointer;
  min-height: clamp(34px, 7.8vw, 48px);
  background:
    radial-gradient(circle at 22% 18%, rgba(255, 255, 255, 0.5) 0 9%, transparent 10%),
    linear-gradient(#f7fffb 0%, #35d574 48%, #13984b 100%);
  border: 2px solid rgba(17, 17, 17, 0.82);
  font-family: Impact, Haettenschweiler, "Arial Narrow Bold", Arial, sans-serif;
  font-size: clamp(0.62rem, 1.58vw, 0.86rem);
  letter-spacing: 0;
  text-shadow:
    -0.7px -0.7px 0 rgba(255, 255, 255, 0.7),
    0 1px 0 rgba(255, 255, 255, 0.5);
  box-shadow:
    inset 0 3px 0 rgba(255, 255, 255, 0.28),
    inset 0 -5px 0 rgba(0, 0, 0, 0.18),
    0 3px 0 rgba(17, 17, 17, 0.86),
    0 6px 8px rgba(6, 17, 59, 0.18);
  transition:
    transform 140ms ease,
    box-shadow 140ms ease,
    filter 140ms ease;
}

.up-calendar-grid button:hover,
.up-calendar-grid button:focus-visible {
  filter: brightness(1.08) saturate(1.05);
  transform: translateY(-2px);
  outline: 2px solid rgba(255, 255, 255, 0.85);
  outline-offset: 1px;
  box-shadow:
    inset 0 3px 0 rgba(255, 255, 255, 0.32),
    inset 0 -5px 0 rgba(0, 0, 0, 0.16),
    0 5px 0 #111,
    0 8px 10px rgba(6, 17, 59, 0.22);
}

.up-calendar-grid .is-muted {
  color: rgba(6, 17, 59, 0.52);
  border-color: rgba(17, 17, 17, 0.42);
  background:
    radial-gradient(circle at 22% 18%, rgba(255, 255, 255, 0.42) 0 9%, transparent 10%),
    linear-gradient(#f3f8fb 0%, #c6d8df 52%, #8ea6ad 100%);
  box-shadow:
    inset 0 3px 0 rgba(255, 255, 255, 0.24),
    inset 0 -5px 0 rgba(0, 0, 0, 0.12),
    0 2px 0 rgba(17, 17, 17, 0.5);
}

.up-calendar-grid button:nth-of-type(4n + 1):not(.is-muted):not(.is-battle) {
  background:
    radial-gradient(circle at 22% 18%, rgba(255, 255, 255, 0.5) 0 9%, transparent 10%),
    linear-gradient(#f7fffb 0%, #35d574 48%, #13984b 100%);
}

.up-calendar-grid button:nth-of-type(4n + 2):not(.is-muted):not(.is-battle) {
  background:
    radial-gradient(circle at 22% 18%, rgba(255, 255, 255, 0.5) 0 9%, transparent 10%),
    linear-gradient(#fff8fd 0%, #ff62ba 48%, #c91178 100%);
}

.up-calendar-grid button:nth-of-type(4n + 3):not(.is-muted):not(.is-battle) {
  background:
    radial-gradient(circle at 22% 18%, rgba(255, 255, 255, 0.5) 0 9%, transparent 10%),
    linear-gradient(#f4fbff 0%, #35a7e7 48%, #17639e 100%);
}

.up-calendar-grid button:nth-of-type(4n):not(.is-muted):not(.is-battle) {
  background:
    radial-gradient(circle at 22% 18%, rgba(255, 255, 255, 0.52) 0 9%, transparent 10%),
    linear-gradient(#fffbe8 0%, #ffe05a 48%, #d69811 100%);
}

.up-calendar-grid .is-battle {
  background:
    radial-gradient(circle at 22% 18%, rgba(255, 255, 255, 0.45) 0 9%, transparent 10%),
    linear-gradient(#ff78c5 0%, #ff1493 48%, #b90068 100%);
  border-color: #111;
  color: #fff;
  font-size: clamp(0.66rem, 1.66vw, 0.9rem);
  text-shadow:
    -1px -1px 0 #111,
    1px -1px 0 #111,
    -1px 1px 0 #111,
    1px 1px 0 #111,
    0 2px 0 rgba(17, 17, 17, 0.72);
  box-shadow:
    inset 0 3px 0 rgba(255, 255, 255, 0.28),
    inset 0 -5px 0 rgba(0, 0, 0, 0.2),
    0 3px 0 #111,
    0 0 18px rgba(255, 20, 147, 0.46),
    inset 0 2px 0 rgba(255, 255, 255, 0.32);
}

.up-calendar-grid .is-selected {
  transform: translateY(-2px) scale(1.04);
  outline: 3px solid #fff8d8;
  outline-offset: 1px;
  box-shadow:
    inset 0 3px 0 rgba(255, 255, 255, 0.34),
    inset 0 -5px 0 rgba(0, 0, 0, 0.18),
    0 5px 0 #111,
    0 0 18px rgba(255, 255, 255, 0.62),
    inset 0 2px 0 rgba(255, 255, 255, 0.36);
}

.up-day-detail {
  width: min(100%, 452px);
  margin: clamp(20px, 3.6vw, 30px) auto 0;
  padding: clamp(11px, 2.5vw, 15px);
  border: 3px solid #111;
  border-radius: 8px;
  background:
    radial-gradient(circle at 14px 14px, #8aa1ad 0 3px, #111 3.5px 5px, transparent 5.5px),
    radial-gradient(circle at calc(100% - 14px) 14px, #8aa1ad 0 3px, #111 3.5px 5px, transparent 5.5px),
    linear-gradient(180deg, rgba(236, 214, 196, 0.98), rgba(153, 103, 92, 0.96));
  box-shadow:
    inset 0 3px 0 rgba(255, 255, 255, 0.28),
    inset 0 -8px 0 rgba(68, 36, 42, 0.18),
    0 5px 0 #111,
    0 12px 20px rgba(6, 17, 59, 0.28);
  color: #06113b;
  text-align: center;
}

.up-day-detail-date,
.up-day-detail-title {
  display: block;
  margin: 0;
  text-transform: uppercase;
}

.up-day-detail-date {
  color: #5b2a38;
  font-size: clamp(0.62rem, 1.5vw, 0.78rem);
  font-weight: 900;
}

.up-day-detail-title {
  margin-top: 3px;
  font-family: "Luckiest Guy", Impact, Haettenschweiler, "Arial Narrow Bold", Arial, sans-serif;
  font-size: clamp(1.1rem, 3vw, 1.5rem);
  line-height: 0.95;
  letter-spacing: 0;
}

.up-day-detail dl {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(7px, 1.8vw, 10px);
  margin: 11px 0 0;
}

.up-day-detail dl div {
  min-width: 0;
  padding: 7px 6px 8px;
  border: 2px solid rgba(17, 17, 17, 0.82);
  border-radius: 8px;
  background:
    radial-gradient(circle at 18% 18%, rgba(255, 255, 255, 0.42) 0 8%, transparent 9%),
    linear-gradient(180deg, #5ef3b3 0%, #16a874 58%, #063f38 100%);
  box-shadow:
    inset 0 2px 0 rgba(255, 255, 255, 0.32),
    inset 0 -5px 0 rgba(0, 0, 0, 0.18),
    0 3px 0 rgba(17, 17, 17, 0.48);
  will-change: transform, opacity;
}

.up-day-detail dl div:nth-child(2) {
  background:
    radial-gradient(circle at 18% 18%, rgba(255, 255, 255, 0.42) 0 8%, transparent 9%),
    linear-gradient(180deg, #ff82b8 0%, #d63a75 58%, #70233f 100%);
}

.up-day-detail dt,
.up-day-detail dd {
  margin: 0;
  line-height: 1;
  text-transform: uppercase;
}

.up-day-detail dt {
  font-size: clamp(0.5rem, 1.25vw, 0.64rem);
  font-weight: 900;
  color: rgba(255, 255, 255, 0.84);
  text-shadow:
    -1px -1px 0 rgba(17, 17, 17, 0.5),
    1px 1px 0 rgba(17, 17, 17, 0.34);
}

.up-day-detail dd {
  margin-top: 4px;
  font-size: clamp(0.72rem, 1.7vw, 0.9rem);
  font-weight: 900;
  color: #fff;
  text-shadow:
    -1px -1px 0 #111,
    1px -1px 0 #111,
    -1px 1px 0 #111,
    1px 1px 0 #111;
}

.up-event-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(14px, 2.8vw, 22px);
  width: min(100%, 620px);
  margin: clamp(28px, 5vw, 42px) auto 0;
}

.up-event-card {
  position: relative;
  margin: 0;
  aspect-ratio: 433 / 577;
  border-radius: 8px;
  filter: drop-shadow(0 12px 16px rgba(6, 17, 59, 0.32));
  transform-origin: 50% 6%;
  will-change: transform;
  animation: up-event-card-sway 5.8s ease-in-out infinite;
}

.up-event-card:nth-child(2) {
  animation-delay: -1.7s;
  animation-duration: 6.4s;
}

.up-event-card:nth-child(3) {
  animation-delay: -3.1s;
  animation-duration: 5.5s;
}

.up-event-card img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  pointer-events: none;
  filter:
    drop-shadow(0 3px 0 rgba(17, 17, 17, 0.48))
    saturate(1.04)
    contrast(1.02);
}

.up-event-card div {
  position: absolute;
  left: 50%;
  top: 49%;
  display: grid;
  gap: 4px;
  width: 66%;
  transform: translate(-50%, -50%);
  text-align: center;
}

.up-event-card span,
.up-event-card strong,
.up-event-card small {
  display: block;
  line-height: 1;
  text-transform: uppercase;
}

.up-event-card span {
  justify-self: center;
  padding: 0.22em 0.55em 0.26em;
  border: 2px solid #111;
  border-radius: 999px;
  background:
    radial-gradient(circle at 20% 18%, rgba(255, 255, 255, 0.45) 0 8%, transparent 9%),
    linear-gradient(180deg, #75f2a8 0%, #2bd06f 54%, #128843 100%);
  color: #06113b;
  font-size: clamp(0.52rem, 1.45vw, 0.72rem);
  font-weight: 900;
  box-shadow:
    inset 0 2px 0 rgba(255, 255, 255, 0.28),
    0 2px 0 rgba(17, 17, 17, 0.42);
}

.up-event-card strong {
  color: #fff;
  font-family: "Luckiest Guy", Impact, Haettenschweiler, "Arial Narrow Bold", Arial, sans-serif;
  font-size: clamp(0.9rem, 2.8vw, 1.32rem);
  letter-spacing: 0;
  text-shadow:
    -1px -1px 0 #111,
    1px -1px 0 #111,
    -1px 1px 0 #111,
    1px 1px 0 #111,
    0 3px 0 rgba(17, 17, 17, 0.52);
}

.up-event-card small {
  color: #06113b;
  font-size: clamp(0.58rem, 1.6vw, 0.78rem);
  font-weight: 900;
}

.battle-page {
  height: auto;
  min-height: 100svh;
  overflow-x: hidden;
  overflow-y: visible;
  padding-bottom: clamp(58px, 9vw, 96px);
}

.battle-page::after {
  background-size: min(100vw, 768px) auto;
  background-position: center top;
}

.battle-page .top-art {
  width: min(88vw, 590px);
  top: clamp(82px, 7vw, 118px);
}

.battle-page .cloud {
  top: clamp(240px, 32vw, 350px);
  width: min(116vw, 820px);
}

.battle-page .side-cloud {
  bottom: clamp(60px, 8vw, 112px);
}

.battle-stage {
  position: relative;
  z-index: 3;
  width: min(100vw, 768px);
  min-height: min(178vw, 1365px);
  margin: 0 auto;
  padding-top: clamp(420px, 55vw, 500px);
  color: #fff;
  text-align: center;
}

.battle-stage h2,
.battle-join-title,
.battle-button-title {
  margin: 0;
  color: #fff;
  font-family: "Luckiest Guy", Impact, Haettenschweiler, "Arial Narrow Bold", Arial, sans-serif;
  line-height: 0.95;
  letter-spacing: 0;
  text-transform: uppercase;
  -webkit-text-stroke: 0.8px rgba(42, 45, 56, 0.72);
  text-shadow:
    -1px -1px 0 rgba(43, 47, 61, 0.58),
    1px -1px 0 rgba(43, 47, 61, 0.58),
    -1px 1px 0 rgba(43, 47, 61, 0.58),
    1px 1px 0 rgba(43, 47, 61, 0.58),
    0 2px 4px rgba(22, 27, 48, 0.28),
    0 6px 10px rgba(22, 27, 48, 0.14);
}

.battle-hero {
  min-height: min(8vw, 62px);
}

.battle-join-title {
  display: inline-block;
  padding: 0.14em 0.62em 0.18em;
  border: 3px solid #111;
  border-radius: 999px;
  background:
    radial-gradient(circle at 20% 20%, rgba(255, 255, 255, 0.45) 0 8%, transparent 9%),
    linear-gradient(#73f2a5 0%, #21bf63 52%, #0b7f3b 100%);
  font-size: clamp(1.22rem, 4.6vw, 2.42rem);
  box-shadow:
    inset 0 4px 0 rgba(255, 255, 255, 0.32),
    inset 0 -6px 0 rgba(0, 0, 0, 0.16),
    0 4px 0 #111,
    0 10px 14px rgba(6, 17, 59, 0.22);
  text-shadow:
    -1px -1px 0 rgba(43, 47, 61, 0.76),
    1px -1px 0 rgba(43, 47, 61, 0.76),
    -1px 1px 0 rgba(43, 47, 61, 0.76),
    1px 1px 0 rgba(43, 47, 61, 0.76),
    0 3px 0 rgba(17, 22, 38, 0.86);
}

.battle-about {
  --spot-x: 18%;
  --spot-y: 24%;
  --spot-drift: 0px;
  --spot-tilt: -10deg;
  width: min(91%, 680px);
  margin: clamp(18px, 3.4vw, 30px) auto 0;
  padding: min(2.1vw, 16px);
  position: relative;
  overflow: hidden;
  border: 3px solid #111;
  border-radius: 8px;
  background:
    linear-gradient(180deg, #ff78c5 0%, #ff1493 52%, #9e0f61 100%);
  box-shadow:
    inset 0 4px 0 rgba(255, 255, 255, 0.28),
    inset 0 -10px 0 rgba(0, 0, 0, 0.18),
    0 6px 0 #111,
    0 16px 24px rgba(6, 17, 59, 0.28);
}

.battle-about::after,
.battle-prizes::after,
.battle-registration::after {
  content: "";
  position: absolute;
  z-index: 1;
  pointer-events: none;
  background:
    conic-gradient(from var(--spot-tilt) at var(--spot-x) 118%, transparent 0 20deg, rgba(255, 241, 180, 0.18) 31deg, rgba(255, 255, 255, 0.08) 42deg, transparent 56deg 360deg),
    conic-gradient(from calc(var(--spot-tilt) + 136deg) at calc(100% - var(--spot-x)) 116%, transparent 0 21deg, rgba(176, 228, 255, 0.13) 32deg, rgba(255, 250, 210, 0.08) 45deg, transparent 61deg 360deg),
    radial-gradient(ellipse 42% 58% at var(--spot-x) calc(var(--spot-y) + 14%), rgba(255, 252, 222, 0.24) 0 5%, rgba(255, 232, 156, 0.12) 14%, transparent 38%),
    repeating-linear-gradient(92deg, rgba(255, 255, 255, 0.025) 0 1px, transparent 1px 7px);
  mix-blend-mode: screen;
  opacity: 0.68;
  transform: translateX(var(--spot-drift)) rotate(0.001deg);
  transition: opacity 700ms ease;
  -webkit-mask-image: radial-gradient(ellipse at center, #000 0 58%, rgba(0, 0, 0, 0.72) 72%, transparent 100%);
  mask-image: radial-gradient(ellipse at center, #000 0 58%, rgba(0, 0, 0, 0.72) 72%, transparent 100%);
}

.battle-about::after,
.battle-prizes::after {
  inset: -26% -18%;
}

.battle-about::after {
  inset: -12% -8%;
}

.battle-page.is-scroll-spotlight .battle-about::after,
.battle-page.is-scroll-spotlight .battle-prizes::after,
.battle-page.is-scroll-spotlight .battle-registration::after {
  opacity: 1;
}

.battle-about > * {
  position: relative;
  z-index: 2;
}

.battle-about h2,
.battle-prizes h2 {
  font-size: clamp(1.36rem, 4.4vw, 2.25rem);
}

.battle-about img {
  display: block;
  width: 100%;
  margin: clamp(10px, 2vw, 16px) auto 0;
  border: 3px solid rgba(17, 17, 17, 0.82);
  border-radius: 8px;
  background: transparent;
  filter:
    drop-shadow(0 4px 0 rgba(17, 17, 17, 0.42))
    drop-shadow(0 10px 12px rgba(0, 0, 0, 0.2));
}

.battle-prizes {
  --spot-x: 20%;
  --spot-y: 36%;
  --spot-drift: 0px;
  --spot-tilt: -12deg;
  position: relative;
  width: min(91%, 680px);
  margin: clamp(34px, 5.6vw, 50px) auto 0;
  padding: min(1.6vw, 12px) min(1.8vw, 14px) min(2.4vw, 18px);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(6, 17, 59, 0.14), rgba(6, 17, 59, 0.04));
}

.battle-prizes::before {
  content: "";
  position: absolute;
  inset: -12% -2% -2%;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 9% 38%, rgba(255, 248, 205, 1) 0 2px, rgba(255, 194, 71, 0.45) 2.5px 7px, transparent 8px),
    radial-gradient(circle at 18% 22%, rgba(255, 229, 117, 0.98) 0 1.8px, rgba(255, 194, 71, 0.42) 2.4px 6px, transparent 7px),
    radial-gradient(circle at 29% 48%, rgba(255, 255, 255, 0.96) 0 1.4px, rgba(255, 229, 117, 0.45) 2px 5px, transparent 6px),
    radial-gradient(circle at 42% 26%, rgba(255, 229, 117, 1) 0 2.2px, rgba(255, 194, 71, 0.48) 3px 8px, transparent 9px),
    radial-gradient(circle at 56% 42%, rgba(255, 255, 255, 0.92) 0 1.5px, rgba(255, 229, 117, 0.42) 2.2px 5px, transparent 6px),
    radial-gradient(circle at 72% 20%, rgba(255, 218, 91, 0.98) 0 2px, rgba(255, 194, 71, 0.45) 2.8px 7px, transparent 8px),
    radial-gradient(circle at 88% 39%, rgba(255, 248, 205, 1) 0 2px, rgba(255, 194, 71, 0.46) 2.8px 7px, transparent 8px),
    radial-gradient(ellipse at 18% 58%, rgba(255, 194, 71, 0.28), transparent 25%),
    radial-gradient(ellipse at 78% 58%, rgba(255, 194, 71, 0.26), transparent 24%);
  filter:
    drop-shadow(0 0 5px rgba(255, 194, 71, 0.9))
    drop-shadow(0 0 12px rgba(255, 229, 117, 0.55));
  animation: prize-gold-sparkle 4.6s ease-in-out infinite;
}

.battle-prizes h2 {
  position: relative;
  z-index: 2;
}

.battle-prize-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 0.92fr 1fr;
  align-items: end;
  width: 100%;
  margin: clamp(20px, 3.4vw, 30px) auto 0;
  gap: clamp(18px, 3vw, 26px);
}

.battle-prize-grid::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: -18% -4% -10%;
  pointer-events: none;
  background:
    radial-gradient(ellipse at 17% 62%, rgba(255, 218, 91, 0.44), transparent 27%),
    radial-gradient(ellipse at 50% 48%, rgba(255, 248, 205, 0.26), transparent 28%),
    radial-gradient(ellipse at 84% 61%, rgba(255, 194, 71, 0.4), transparent 27%);
  filter: blur(1px);
  animation: prize-aura-pulse 3.8s ease-in-out infinite;
}

.battle-prize {
  display: block;
  width: 100%;
  min-width: 0;
  border-radius: 8px;
  background: transparent;
  filter:
    drop-shadow(0 4px 0 #111)
    drop-shadow(0 12px 12px rgba(0, 0, 0, 0.32))
    saturate(1.04);
  transition:
    transform 150ms ease,
    filter 150ms ease;
  animation: prize-card-float 5.6s ease-in-out infinite;
}

.battle-prize:hover {
  filter:
    drop-shadow(0 6px 0 #111)
    drop-shadow(0 15px 14px rgba(0, 0, 0, 0.34))
    saturate(1.08);
}

.battle-prize-first {
  transform: rotate(-3deg);
  animation-name: prize-card-float-first;
  animation-duration: 5.2s;
}

.battle-prize-second {
  transform: translateY(-2%) scale(0.96);
  animation-name: prize-card-float-second;
  animation-duration: 6s;
  animation-delay: -1.4s;
}

.battle-prize-third {
  transform: rotate(4deg);
  animation-name: prize-card-float-third;
  animation-duration: 5.7s;
  animation-delay: -2.2s;
}

.battle-registration {
  --spot-x: 16%;
  --spot-y: 24%;
  --spot-drift: 0px;
  --spot-tilt: -8deg;
  position: relative;
  width: min(88%, 650px);
  aspect-ratio: 3 / 2;
  margin: clamp(50px, 7vw, 70px) auto 0;
  border-radius: 10px;
  filter: drop-shadow(0 18px 24px rgba(6, 17, 59, 0.34));
}

.battle-registration::before {
  content: "";
  position: absolute;
  z-index: 0;
  inset: 8% 2.5% 7%;
  border: 3px solid #111;
  border-radius: 10px;
  background:
    radial-gradient(circle at 12% 12%, rgba(255, 252, 222, 0.2) 0 4%, transparent 5%),
    radial-gradient(circle at 84% 22%, rgba(255, 20, 147, 0.32), transparent 31%),
    radial-gradient(circle at 22% 84%, rgba(43, 208, 111, 0.3), transparent 30%),
    linear-gradient(140deg, rgba(255, 20, 147, 0.22), transparent 37%),
    linear-gradient(180deg, rgba(50, 64, 76, 0.98) 0%, rgba(21, 32, 44, 0.99) 58%, rgba(8, 13, 21, 0.99) 100%);
  box-shadow:
    inset 0 5px 0 rgba(255, 255, 255, 0.16),
    inset 0 0 0 2px rgba(255, 255, 255, 0.08),
    inset 0 -12px 0 rgba(0, 0, 0, 0.3),
    0 5px 0 #111,
    0 15px 20px rgba(6, 17, 59, 0.32);
  pointer-events: none;
}

.battle-registration::after {
  inset: -10% -14% -6%;
  border-radius: 10px;
}

.battle-registration h2 {
  position: absolute;
  z-index: 2;
  left: 50%;
  top: 5.6%;
  width: 90%;
  font-size: clamp(1.34rem, 4.35vw, 2.34rem);
  color: #fff;
  transform: translateX(-50%);
}

.battle-registration-form {
  position: absolute;
  z-index: 2;
  left: 9.5%;
  right: 9.5%;
  top: 34.5%;
  display: grid;
  grid-template-columns: 1fr 1.28fr 0.78fr;
  gap: min(2.2vw, 18px);
  align-items: start;
  margin: 0;
}

.battle-registration-form label {
  position: relative;
  display: block;
  padding-top: clamp(22px, 4.4vw, 36px);
  color: #f7fffb;
  font-family: "Luckiest Guy", Impact, Haettenschweiler, "Arial Narrow Bold", Arial, sans-serif;
  font-size: clamp(0.76rem, 2.55vw, 1.34rem);
  font-weight: 400;
  line-height: 1;
  letter-spacing: 0;
  text-align: left;
  text-transform: uppercase;
  -webkit-text-stroke: 0.35px rgba(17, 17, 17, 0.86);
  text-shadow:
    -1px -1px 0 rgba(17, 17, 17, 0.76),
    1px 1px 0 rgba(17, 17, 17, 0.58),
    0 3px 5px rgba(0, 0, 0, 0.28);
}

.battle-registration-form label::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: clamp(18px, 4vw, 31px);
  aspect-ratio: 1;
  border: 2px solid #111;
  border-radius: 50%;
  background:
    radial-gradient(circle at 31% 25%, rgba(255, 255, 255, 0.82) 0 10%, transparent 11%),
    linear-gradient(180deg, #ffe875 0%, #ffb52f 48%, #e06f14 100%);
  box-shadow:
    inset 0 2px 0 rgba(255, 255, 255, 0.32),
    inset 0 -4px 0 rgba(0, 0, 0, 0.16),
    0 3px 0 rgba(17, 17, 17, 0.5),
    0 7px 10px rgba(0, 0, 0, 0.18);
}

.battle-registration-form label::after {
  position: absolute;
  left: 0;
  top: 0;
  display: grid;
  width: clamp(18px, 4vw, 31px);
  aspect-ratio: 1;
  place-items: center;
  color: #fff;
  font: 900 clamp(0.54rem, 1.7vw, 0.9rem) Arial, Helvetica, sans-serif;
  text-shadow:
    -1px -1px 0 #111,
    1px 1px 0 rgba(17, 17, 17, 0.68);
}

.battle-registration-form label:nth-of-type(1)::after {
  content: "N";
}

.battle-registration-form label:nth-of-type(2)::before {
  background:
    radial-gradient(circle at 31% 25%, rgba(255, 255, 255, 0.82) 0 10%, transparent 11%),
    linear-gradient(180deg, #7becff 0%, #1b9efa 48%, #075bc4 100%);
}

.battle-registration-form label:nth-of-type(2)::after {
  content: "@";
}

.battle-registration-form label:nth-of-type(3)::before {
  background:
    radial-gradient(circle at 31% 25%, rgba(255, 255, 255, 0.82) 0 10%, transparent 11%),
    linear-gradient(180deg, #79f7ab 0%, #23c66b 50%, #0a7d3b 100%);
}

.battle-registration-form label:nth-of-type(3)::after {
  content: "18";
}

.battle-registration-form input {
  display: block;
  width: 100%;
  height: clamp(23px, 4.5vw, 39px);
  margin-top: min(1.25vw, 10px);
  padding: 4px 10px;
  border: 3px solid #111;
  border-radius: 999px;
  background:
    radial-gradient(circle at 18% 12%, rgba(255, 255, 255, 0.86) 0 9%, transparent 10%),
    linear-gradient(180deg, rgba(245, 255, 250, 0.99), rgba(129, 239, 167, 0.94));
  color: #06113b;
  font: 800 clamp(0.68rem, 2vw, 1rem) Arial, Helvetica, sans-serif;
  outline: none;
  box-shadow:
    inset 0 2px 0 rgba(255, 255, 255, 0.58),
    inset 0 -4px 0 rgba(6, 17, 59, 0.14),
    0 3px 0 rgba(17, 17, 17, 0.42);
}

.battle-registration-form input:focus {
  border-color: #ff1493;
  box-shadow:
    inset 0 2px 0 rgba(255, 255, 255, 0.62),
    inset 0 -4px 0 rgba(6, 17, 59, 0.12),
    0 0 0 3px rgba(255, 20, 147, 0.28),
    0 3px 0 rgba(17, 17, 17, 0.42);
}

.battle-registration-form input::-webkit-outer-spin-button,
.battle-registration-form input::-webkit-inner-spin-button {
  margin: 0;
  appearance: none;
}

.battle-button-title {
  --button-spot-x: 20%;
  --button-spot-y: 22%;
  position: absolute;
  left: 50%;
  top: 121%;
  width: min(66%, 360px);
  padding: 0.24em 1.85em 0.25em 0.8em;
  border: 3px solid #111;
  border-radius: 999px;
  background:
    radial-gradient(ellipse at var(--button-spot-x) var(--button-spot-y), rgba(255, 252, 222, 0.42) 0 8%, rgba(255, 232, 156, 0.16) 13%, transparent 28%),
    linear-gradient(105deg, transparent 0 28%, rgba(255, 255, 255, 0.16) 43%, transparent 58% 100%),
    linear-gradient(#ff78c5 0%, #ff1493 48%, #9e0f61 100%);
  color: #fff;
  cursor: pointer;
  font-size: clamp(1.08rem, 3.9vw, 2.05rem);
  transform: translateX(-50%);
  box-shadow:
    inset 0 4px 0 rgba(255, 255, 255, 0.34),
    inset 0 -7px 0 rgba(0, 0, 0, 0.18),
    0 5px 0 #111,
    0 11px 16px rgba(6, 17, 59, 0.24);
  text-shadow:
    -1px -1px 0 rgba(43, 47, 61, 0.76),
    1px -1px 0 rgba(43, 47, 61, 0.76),
    -1px 1px 0 rgba(43, 47, 61, 0.76),
    1px 1px 0 rgba(43, 47, 61, 0.76),
    0 3px 0 rgba(17, 22, 38, 0.86);
  overflow: hidden;
  transition:
    filter 220ms ease,
    transform 220ms ease,
    box-shadow 220ms ease;
}

.battle-button-title::before {
  content: "";
  position: absolute;
  inset: 3px;
  border-radius: inherit;
  background:
    linear-gradient(110deg, transparent 0 30%, rgba(255, 255, 255, 0.42) 43%, transparent 56% 100%);
  opacity: 0.62;
  transform: translateX(-62%);
  transition: transform 520ms ease;
}

.battle-button-title::after {
  content: "";
  position: absolute;
  right: 0.5em;
  top: 50%;
  width: 0.82em;
  aspect-ratio: 1;
  border: 3px solid #111;
  border-radius: 50%;
  background:
    radial-gradient(circle at 32% 24%, rgba(255, 255, 255, 0.8) 0 12%, transparent 13%),
    linear-gradient(180deg, #fff07a 0%, #ffb82e 52%, #e46b11 100%);
  box-shadow:
    inset 0 2px 0 rgba(255, 255, 255, 0.3),
    0 2px 0 rgba(17, 17, 17, 0.45);
  transform: translateY(-50%);
}

.battle-button-title:hover,
.battle-button-title:focus-visible {
  filter: saturate(1.08) brightness(1.04);
  transform: translateX(-50%) translateY(-2px);
  box-shadow:
    inset 0 4px 0 rgba(255, 255, 255, 0.38),
    inset 0 -7px 0 rgba(0, 0, 0, 0.16),
    0 7px 0 #111,
    0 15px 18px rgba(6, 17, 59, 0.28);
}

.battle-button-title:hover::before,
.battle-button-title:focus-visible::before {
  transform: translateX(62%);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}

@keyframes loader-hide {
  to {
    opacity: 0;
    visibility: hidden;
  }
}

@keyframes top-logo-searchlight-left-intro {
  0% {
    opacity: 0;
    transform: translateX(-50%) rotate(-34deg) scaleY(0.96);
  }

  10% {
    opacity: 0.72;
  }

  28% {
    opacity: 0.82;
    transform: translateX(-50%) rotate(16deg) scaleY(1.04);
  }

  42% {
    opacity: 0.5;
    transform: translateX(-50%) rotate(-5deg) scaleY(1);
  }

  68% {
    opacity: 0.48;
    transform: translateX(-50%) rotate(4deg) scaleY(1.02);
  }

  100% {
    opacity: 0.5;
    transform: translateX(-50%) rotate(-6deg) scaleY(1);
  }
}

@keyframes top-logo-searchlight-right-intro {
  0% {
    opacity: 0;
    transform: translateX(-50%) rotate(34deg) scaleY(0.96);
  }

  10% {
    opacity: 0.65;
  }

  30% {
    opacity: 0.76;
    transform: translateX(-50%) rotate(-14deg) scaleY(1.04);
  }

  44% {
    opacity: 0.46;
    transform: translateX(-50%) rotate(6deg) scaleY(1);
  }

  70% {
    opacity: 0.44;
    transform: translateX(-50%) rotate(-3deg) scaleY(1.02);
  }

  100% {
    opacity: 0.46;
    transform: translateX(-50%) rotate(7deg) scaleY(1);
  }
}

@keyframes top-logo-searchlight-left-idle {
  0% {
    opacity: 0.5;
    transform: translateX(-50%) rotate(-6deg) scaleY(1);
  }

  50% {
    opacity: 0.58;
    transform: translateX(-50%) rotate(5deg) scaleY(1.02);
  }

  100% {
    opacity: 0.5;
    transform: translateX(-50%) rotate(-6deg) scaleY(1);
  }
}

@keyframes top-logo-searchlight-right-idle {
  0% {
    opacity: 0.46;
    transform: translateX(-50%) rotate(7deg) scaleY(1);
  }

  50% {
    opacity: 0.54;
    transform: translateX(-50%) rotate(-4deg) scaleY(1.02);
  }

  100% {
    opacity: 0.46;
    transform: translateX(-50%) rotate(7deg) scaleY(1);
  }
}

@keyframes clouds-open-left {
  0% {
    transform: translateX(0) scale(1.08);
  }

  100% {
    transform: translateX(-72vw) scale(1.12);
  }
}

@keyframes clouds-open-right {
  0% {
    transform: translateX(0) scaleX(-1) scale(1.08);
  }

  100% {
    transform: translateX(72vw) scaleX(-1) scale(1.12);
  }
}

@keyframes clouds-open-center {
  0% {
    opacity: 0.56;
    transform: translate(-50%, -50%) scale(1.05);
  }

  45% {
    opacity: 0.32;
  }

  100% {
    opacity: 0;
    transform: translate(-50%, -58%) scale(1.22);
  }
}

@keyframes clouds-close-left {
  0% {
    transform: translateX(-72vw) scale(1.12);
  }

  100% {
    transform: translateX(0) scale(1.08);
  }
}

@keyframes clouds-close-right {
  0% {
    transform: translateX(72vw) scaleX(-1) scale(1.12);
  }

  100% {
    transform: translateX(0) scaleX(-1) scale(1.08);
  }
}

@keyframes clouds-close-center {
  0% {
    opacity: 0;
    transform: translate(-50%, -58%) scale(1.22);
  }

  100% {
    opacity: 0.56;
    transform: translate(-50%, -50%) scale(1.05);
  }
}

@keyframes page-reveal {
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes lower-stars-soft {
  0%,
  100% {
    opacity: 0.24;
  }

  38% {
    opacity: 0.66;
  }

  64% {
    opacity: 0.32;
  }
}

@keyframes lower-stars-alt {
  0%,
  100% {
    opacity: 0.16;
  }

  28% {
    opacity: 0.52;
  }

  72% {
    opacity: 0.26;
  }
}

@keyframes image-pop {
  0% {
    opacity: 0;
    filter: blur(8px) drop-shadow(0 10px 18px rgba(0, 0, 0, 0.25));
  }

  100% {
    opacity: 1;
  }
}

@keyframes register-enter {
  0% {
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.94);
    filter: blur(8px) drop-shadow(0 14px 24px rgba(0, 0, 0, 0.28));
  }

  100% {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
  }
}

@keyframes login-enter {
  0% {
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.88);
    filter: blur(8px) drop-shadow(0 14px 24px rgba(0, 0, 0, 0.28));
  }

  100% {
    opacity: 1;
    transform: translate(-50%, -50%) scale(0.93);
  }
}

@keyframes login-float {
  0%,
  100% {
    transform: translate(-50%, -50%) scale(0.93) translateY(0);
  }

  50% {
    transform: translate(-50%, -50%) scale(0.93) translateY(-10px);
  }
}

@keyframes cloud-float {
  0%,
  100% {
    transform: translateX(-50%) translateY(0);
  }

  50% {
    transform: translateX(-50%) translateY(18px);
  }
}

@keyframes top-floor-cloud-float {
  0%,
  100% {
    transform: translateX(-50%) scaleY(0.72) translateY(0);
  }

  50% {
    transform: translateX(-50%) scaleY(0.72) translateY(14px);
  }
}

@keyframes podium-glory-pulse {
  0%,
  100% {
    opacity: 0.72;
    filter: blur(3px) saturate(1);
    transform: translate(-50%, -50%) scale(0.98);
  }

  45% {
    opacity: 0.98;
    filter: blur(1.5px) saturate(1.3);
    transform: translate(-50%, -50%) scale(1.06);
  }
}

@keyframes podium-glory-sweep {
  0%,
  18% {
    opacity: 0;
    transform: translateX(-42%) rotate(0deg);
  }

  38% {
    opacity: 0.82;
  }

  64% {
    opacity: 0;
    transform: translateX(42%) rotate(0deg);
  }

  100% {
    opacity: 0;
    transform: translateX(42%) rotate(0deg);
  }
}

@keyframes prize-gold-sparkle {
  0%,
  100% {
    opacity: 0.58;
    transform: translateY(0) translateX(0) scale(0.98);
  }

  45% {
    opacity: 1;
    transform: translateY(-10px) translateX(4px) scale(1.04);
  }

  72% {
    opacity: 0.72;
  }
}

@keyframes prize-aura-pulse {
  0%,
  100% {
    opacity: 0.52;
    transform: scale(0.98);
  }

  50% {
    opacity: 0.96;
    transform: scale(1.04);
  }
}

@keyframes prize-card-float-first {
  0%,
  100% {
    transform: translateY(0) rotate(-3deg) scale(1);
  }

  45% {
    transform: translateY(-7px) rotate(-1.4deg) scale(1.035);
  }
}

@keyframes prize-card-float-second {
  0%,
  100% {
    transform: translateY(-2%) scale(0.96);
  }

  50% {
    transform: translateY(calc(-2% - 6px)) scale(0.985);
  }
}

@keyframes prize-card-float-third {
  0%,
  100% {
    transform: translateY(0) rotate(4deg) scale(1);
  }

  48% {
    transform: translateY(-6px) rotate(2.2deg) scale(1.025);
  }
}

@keyframes up-card-drop {
  0% {
    opacity: 0;
    transform: translateY(-130px) rotate(-3deg) scale(0.96);
    filter: blur(4px);
  }

  72% {
    opacity: 1;
    transform: translateY(10px) rotate(1deg) scale(1);
    filter: blur(0);
  }

  100% {
    opacity: 1;
    transform: translateY(0) rotate(0deg) scale(1);
  }
}

@keyframes up-card-hang {
  0%,
  100% {
    transform: translateY(0) rotate(0deg);
  }

  25% {
    transform: translateY(3px) rotate(0.45deg);
  }

  50% {
    transform: translateY(5px) rotate(-0.45deg);
  }

  75% {
    transform: translateY(2px) rotate(0.25deg);
  }
}

@keyframes up-event-card-sway {
  0%,
  100% {
    transform: translateX(0) translateY(0) rotate(-0.5deg);
  }

  28% {
    transform: translateX(1px) translateY(-2px) rotate(0.65deg);
  }

  58% {
    transform: translateX(-1px) translateY(1px) rotate(-0.25deg);
  }

  78% {
    transform: translateX(1px) translateY(-1px) rotate(0.35deg);
  }
}

@keyframes up-run-patrol {
  0% {
    transform: translateX(-50%) translateY(0) scaleX(-1);
  }

  14% {
    transform: translateX(calc(-50% + clamp(94px, 28vw, 190px))) translateY(0) scaleX(-1);
  }

  17.9% {
    transform: translateX(calc(-50% + clamp(94px, 28vw, 190px))) translateY(0) scaleX(-1);
  }

  18% {
    transform: translateX(calc(-50% + clamp(94px, 28vw, 190px))) translateY(0) scaleX(1);
  }

  36% {
    transform: translateX(calc(-50% + clamp(-190px, -36vw, -100px))) translateY(0) scaleX(1);
  }

  39.9% {
    transform: translateX(calc(-50% + clamp(-190px, -36vw, -100px))) translateY(0) scaleX(1);
  }

  40% {
    transform: translateX(calc(-50% + clamp(-190px, -36vw, -100px))) translateY(0) scaleX(-1);
  }

  50% {
    transform: translateX(calc(-50% + clamp(72px, 20vw, 150px))) translateY(0) scaleX(-1);
  }

  56% {
    transform: translateX(calc(-50% + clamp(126px, 34vw, 214px))) translateY(-88px) rotate(-7deg) scaleX(-1);
  }

  76% {
    transform: translateX(calc(-50% + clamp(126px, 34vw, 214px))) translateY(-88px) rotate(-4deg) scaleX(-1);
  }

  82% {
    transform: translateX(calc(-50% + clamp(94px, 26vw, 180px))) translateY(-18px) rotate(6deg) scaleX(-1);
  }

  90% {
    transform: translateX(calc(-50% + clamp(48px, 14vw, 112px))) translateY(0) rotate(0deg) scaleX(-1);
  }

  100% {
    transform: translateX(-50%) translateY(0) scaleX(-1);
  }
}

@keyframes up-run-idle-breathe {
  0%,
  100% {
    transform: translateY(0) rotate(0deg);
  }

  50% {
    transform: translateY(-0.35px) rotate(-0.08deg);
  }
}

@keyframes up-footprint-fade {
  0% {
    opacity: 0.58;
    transform: translate(-50%, -50%) translateY(0) rotate(-8deg) scale(0.78);
  }

  34% {
    opacity: 0.46;
    transform: translate(-50%, -50%) translateY(1px) rotate(4deg) scale(1);
  }

  100% {
    opacity: 0;
    transform: translate(-50%, -50%) translateY(4px) rotate(8deg) scale(1.16);
  }
}

@keyframes up-run-body-bob {
  0%,
  100% {
    transform: translateY(0) rotate(0deg);
  }

  50% {
    transform: translateY(-3px) rotate(-1deg);
  }
}

@keyframes up-run-arm-front {
  0%,
  100% {
    transform: rotate(-18deg) translateY(0);
  }

  50% {
    transform: rotate(18deg) translateY(2px);
  }
}

@keyframes up-run-arm-back {
  0%,
  100% {
    transform: rotate(-12deg) translateY(2px);
  }

  50% {
    transform: rotate(22deg) translateY(0);
  }
}

@keyframes up-run-leg-front {
  0%,
  100% {
    transform: rotate(26deg) translate(2px, 0);
  }

  50% {
    transform: rotate(-24deg) translate(-2px, 2px);
  }
}

@keyframes up-run-leg-back {
  0%,
  100% {
    transform: rotate(-26deg) translate(-2px, 2px);
  }

  50% {
    transform: rotate(24deg) translate(2px, 0);
  }
}

@keyframes up-character-float {
  0% {
    transform: translateY(0) scaleX(-1) rotate(7deg);
  }

  28% {
    transform: translateY(-6px) translateX(-2px) scaleX(-1) rotate(2deg);
  }

  54% {
    transform: translateY(1px) translateX(1px) scaleX(-1) rotate(8deg);
  }

  76% {
    transform: translateY(-3px) translateX(-1px) scaleX(-1) rotate(5deg);
  }

  100% {
    transform: translateY(0) scaleX(-1) rotate(7deg);
  }
}

@keyframes side-cloud-left {
  0%,
  100% {
    transform: translateX(0) translateY(0) rotate(-2deg);
  }

  50% {
    transform: translateX(18px) translateY(-14px) rotate(2deg);
  }
}

@keyframes side-cloud-right {
  0%,
  100% {
    transform: scaleX(-1) translateX(0) translateY(0) rotate(-2deg);
  }

  50% {
    transform: scaleX(-1) translateX(18px) translateY(-14px) rotate(2deg);
  }
}

@keyframes menu-sparkle-sweep {
  0%,
  68% {
    opacity: 0;
    transform: translateX(0) rotate(10deg);
  }

  72% {
    opacity: 0.9;
  }

  86% {
    opacity: 0.78;
    transform: translateX(430%) rotate(10deg);
  }

  100% {
    opacity: 0;
    transform: translateX(430%) rotate(10deg);
  }
}

@media (min-width: 701px) {
  .page::after,
  .top-page::after,
  .video-page::after,
  .up-page::after,
  .battle-page::after {
    background-image: url("assets/fundoPC.png");
    background-size: 100vw auto;
    background-position: center top;
    background-repeat: no-repeat;
  }

  .top-page::before {
    display: none;
  }

  .top-page .side-cloud {
    display: none;
  }

  .top-page::after {
    background-image: url("assets/versaoTopDesktop.png");
  }

  .battle-page::after {
    background-image:
      url("assets/fundoMaiorExtremo.png"),
      linear-gradient(180deg, #0056bd 0%, #0056bd 62%, #06113b 100%);
    background-size: 100vw auto, 100% 100%;
    background-position: center top, center top;
    background-repeat: no-repeat;
  }

  .up-page::after {
    background-image:
      url("assets/fundoMaisExtenso.png"),
      linear-gradient(180deg, #0056bd 0%, #0056bd 62%, #06113b 100%);
    background-size: 100vw auto, 100% 100%;
    background-position: center top, center top;
    background-repeat: no-repeat;
  }

  .top-page {
    padding-top: 0;
  }

  .top-stage {
    width: min(100%, 660px);
    padding-top: clamp(440px, 35.5vw, 670px);
  }

  .top-kicker,
  .top-rollers-title,
  .top-lead {
    display: none;
  }

  .top-podium-card {
    position: absolute;
    left: 50%;
    top: 0;
    width: 100vw;
    aspect-ratio: 1672 / 941;
    margin: 0;
    border-radius: 0;
    box-shadow: none;
    pointer-events: none;
    transform: translateX(-50%);
  }

  .top-podium-art {
    width: 100%;
    aspect-ratio: 1672 / 941;
    overflow: visible;
  }

  .top-podium-base {
    display: none;
  }

  .top-podium-avatar-first {
    left: 50%;
    top: 30.6%;
    width: 6.8%;
  }

  .top-podium-avatar-second {
    left: 37.7%;
    top: 42.5%;
    width: 5.7%;
  }

  .top-podium-avatar-third {
    left: 61.9%;
    top: 43.9%;
    width: 5.7%;
  }

  .top-podium-name {
    min-width: 9.2%;
    max-width: 13.2%;
    padding: 0.24em 0.56em 0.28em;
    font-size: clamp(0.5rem, 0.82vw, 0.78rem);
  }

  .top-podium-name-first {
    left: 50%;
    top: 38.8%;
  }

  .top-podium-name-second {
    left: 37.7%;
    top: 50.4%;
  }

  .top-podium-name-third {
    left: 61.9%;
    top: 51.8%;
  }

  .top-podium-medal {
    display: none;
  }

  .top-avatar-board {
    margin-top: clamp(18px, 2.8vw, 34px);
  }

  .top-podium-art::before,
  .top-podium-art::after {
    display: none;
  }

  .top-avatar-card,
  .top-avatar-card:hover {
    transition: none;
  }
}

@media (min-width: 701px) and (max-width: 1180px) {
  .battle-page::after,
  .up-page::after {
    background-size: max(100vw, 1180px) auto, 100% 100%;
  }
}

@media (max-width: 700px) {
  .splash-progress {
    top: 0;
    bottom: auto;
  }

  .side-menu {
    left: 0;
    top: 10px;
  }

  .side-menu summary {
    grid-template-columns: 24px auto;
    grid-template-rows: repeat(3, 4px);
    column-gap: 10px;
    width: 128px;
    min-height: 42px;
    padding: 7px 9px 8px 8px;
  }

  .side-menu summary::after {
    font-size: 0.74rem;
  }

  .side-menu summary span {
    height: 4px;
  }

  .side-menu-panel {
    left: 8px;
    min-width: 116px;
    max-height: calc(100dvh - 74px);
    padding: 8px;
  }

  .side-menu-panel a {
    padding: 7px 8px;
    font-size: 0.7rem;
  }

  .page::after {
    background-size: 100vw auto;
    background-position: center top;
  }

  .auth-page {
    height: max(100dvh, 820px);
    min-height: max(100svh, 820px);
  }

  .cloud {
    top: 16vh;
    width: 112vw;
  }

  .side-cloud {
    bottom: 4vh;
    width: 34vw;
  }

  .side-cloud-left {
    left: -22vw;
  }

  .side-cloud-right {
    right: -22vw;
  }

  .auth-panel {
    left: 54%;
    top: 53%;
    width: min(88vw, 386px);
  }

  .login-form h2 {
    font-size: clamp(2rem, 12vw, 3rem);
  }

  .top-art {
    top: 66px;
    width: min(70vw, 292px);
    filter: drop-shadow(0 8px 10px rgba(0, 0, 0, 0.24));
  }

  .register-form input,
  .login-form input {
    height: 24px;
  }

  .register-form > button[type="submit"],
  .login-form > button[type="submit"] {
    width: 54%;
    height: 34px;
    font-size: 1rem;
  }

  .social-icon {
    width: 25px;
    height: 25px;
    font-size: 0.96rem;
  }

  .social-login {
    width: 54%;
    padding: 6px 6px 6px;
  }

  .social-login > span {
    margin-bottom: 5px;
    font-size: 0.6rem;
  }

  .top-page {
    padding: 76px 10px 56px;
  }

  .top-nav {
    grid-template-columns: auto 1fr auto;
    min-height: 56px;
    padding: 9px 10px;
  }

  .brand-mark {
    font-size: 1rem;
  }

  .top-nav-links {
    justify-content: center;
    gap: 13px;
    font-size: 0.78rem;
  }

  .top-nav-actions {
    gap: 6px;
  }

  .nav-login,
  .nav-signup {
    min-width: 0;
    padding: 7px 10px;
    font-size: 0.72rem;
  }

  .top-stage {
    width: min(100%, 414px);
  }

  .top-rollers-title {
    width: min(90vw, 354px);
    margin-bottom: 12px;
  }

  .top-kicker {
    margin-bottom: 3px;
    font-size: 0.72rem;
  }

  .top-lead {
    max-width: 340px;
    margin-bottom: 18px;
    font-size: 0.78rem;
  }

  .top-avatar-list {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .top-avatar-card {
    min-height: 60px;
    padding: 9px 10px 11px;
    column-gap: 9px;
    border-width: 1.5px;
    box-shadow:
      inset 0 2px 0 rgba(255, 255, 255, 0.68),
      inset 0 -4px 0 rgba(6, 17, 59, 0.08),
      0 3px 0 #111,
      0 8px 12px rgba(6, 17, 59, 0.18);
  }

  .top-avatar-rank {
    width: 38px;
    border-width: 1.5px;
  }

  .top-avatar-content {
    gap: 4px;
    padding-right: 2px;
  }

  .top-avatar-name {
    font-size: 0.82rem;
  }

  .top-avatar-meta {
    font-size: 0.52rem;
  }

  .top-avatar-meta b {
    min-width: 52px;
    min-height: 28px;
    padding-inline: 0.38em;
    border-width: 1.5px;
    font-size: 0.78rem;
  }

  .top-podium-card {
    width: calc(100vw + 30px);
    margin-left: calc(50% - 50vw - 15px);
    margin-right: calc(50% - 50vw - 15px);
  }

  .top-podium-base {
    transform: scale(1.04);
    transform-origin: center center;
  }

  .top-podium-name {
    min-width: 21%;
    max-width: 31%;
    padding: 0.32em 0.66em 0.36em;
    border-width: 1.5px;
    font-size: clamp(0.44rem, 2.15vw, 0.58rem);
  }

  .video-page {
    padding: 76px 12px 58px;
  }

  .video-stage {
    width: min(100%, 414px);
  }

  .video-title-art {
    width: min(90vw, 356px);
    margin-bottom: 26px;
  }

  .video-feature {
    width: min(100%, 360px);
  }

  .video-more {
    grid-template-columns: 1fr;
    gap: 18px;
    width: min(100%, 350px);
    margin-top: 24px;
  }

  .video-small-card {
    grid-template-columns: 94px 1fr;
    gap: 11px;
    min-height: 72px;
    padding: 7px 9px;
    border-width: 2px;
  }

  .video-small-screen {
    border-width: 1.5px;
  }

  .video-small-card p {
    font-size: 0.82rem;
  }

  .video-cloud {
    top: 130px;
    width: 128vw;
  }

  .up-page {
    padding: 76px 12px 58px;
  }

  .up-stage {
    width: min(100%, 414px);
  }

  .up-corner-character {
    right: 14px;
    top: 128px;
    width: 72px;
  }

  .up-running-character {
    top: 130px;
    width: 42px;
    animation-duration: 14.2s;
  }

  .up-title-art {
    width: min(92vw, 370px);
    margin-bottom: 18px;
  }

  .up-info-card {
    width: min(100%, 360px);
    margin-bottom: 16px;
    padding: 12px 22px;
  }

  .up-calendar {
    width: min(100%, 360px);
    padding: 13px 11px;
  }

  .up-day-detail {
    width: min(100%, 360px);
  }

  .up-calendar-grid {
    gap: 5px;
  }

  .up-calendar-grid span {
    min-height: 16px;
    font-size: 0.43rem;
  }

  .up-calendar-grid button {
    min-height: 35px;
    border-width: 1.5px;
    font-size: 0.58rem;
  }

  .up-event-cards {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    width: min(100%, 376px);
    margin-top: 28px;
  }

  .up-event-card div {
    width: 72%;
    gap: 3px;
  }

  .up-event-card span {
    border-width: 1.5px;
    font-size: 0.48rem;
  }

  .up-event-card strong {
    font-size: 0.78rem;
  }

  .up-event-card small {
    font-size: 0.52rem;
  }

  .up-copy {
    font-size: 0.62rem;
  }

  .up-cloud {
    top: 135px;
    width: 128vw;
  }

  .battle-stage {
    padding-top: clamp(350px, 84vw, 430px);
  }

  .battle-about {
    width: min(92%, 382px);
    margin-top: 24px;
    padding: 8px;
  }

  .battle-prizes {
    width: min(92%, 382px);
    margin-top: 32px;
    padding: 7px 8px 11px;
  }

  .battle-prize-grid {
    gap: 12px;
  }

  .battle-registration {
    width: min(92%, 382px);
    aspect-ratio: 2 / 1;
    margin-top: 38px;
  }

  .battle-registration::before {
    inset: 7% 2% 6%;
    border-width: 2px;
  }

  .battle-registration h2 {
    top: 4.5%;
    font-size: 1rem;
  }

  .battle-registration-form {
    left: 8.5%;
    right: 8.5%;
    top: 29%;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 7px 10px;
  }

  .battle-registration-form label {
    padding-top: 19px;
    font-size: 0.58rem;
  }

  .battle-registration-form label:nth-of-type(3) {
    grid-column: 1 / -1;
  }

  .battle-registration-form label::before,
  .battle-registration-form label::after {
    width: 18px;
  }

  .battle-registration-form input {
    height: 23px;
    border-width: 2px;
    padding-inline: 6px;
  }

  .battle-button-title {
    position: static;
    grid-column: 1 / -1;
    justify-self: center;
    width: 58%;
    margin-top: 1px;
    padding: 0.24em 1.85em 0.25em 0.8em;
    border-width: 2px;
    font-size: 1rem;
    transform: none;
  }

  .battle-button-title:hover,
  .battle-button-title:focus-visible {
    transform: translateY(-2px);
  }

}

@supports (-webkit-touch-callout: none) {
  @media (max-width: 700px) {
    .top-art,
    .battle-page .top-art {
      filter: none;
      opacity: 1;
      backface-visibility: hidden;
      -webkit-backface-visibility: hidden;
      transform: translate3d(-50%, 0, 0);
      animation: top-art-ios-fade 0.38s ease 0.12s both;
    }

    .battle-page .top-art::before,
    .battle-page .top-art::after {
      display: none;
    }
  }
}

@keyframes top-art-ios-fade {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

@keyframes login-enter-mobile {
  0% {
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.66);
    filter: blur(8px) drop-shadow(0 14px 24px rgba(0, 0, 0, 0.28));
  }

  100% {
    opacity: 1;
    transform: translate(-50%, -50%) scale(0.72);
  }
}
