@font-face {
  font-family: "ONE Mobile POP";
  src: url("assets/fonts/ONE-Mobile-POP.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Cafe24 Ssurround";
  src: url("assets/fonts/Cafe24Ssurround.woff") format("woff");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "210 OmniGothic";
  src: url("assets/fonts/210-OmniGothic-025.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

:root {
  --stage-width: 422px;
  --stage-height: 800px;
  --stage-scale: 1;
  --ink-blue: #166eb7;
  --sub-blue: #8095bd;
  --panel-text: #4976b1;
  --panel-value: #83a7d4;
  --guide-blue: #1758ad;
  --board-width: 382px;
  --button-row-width: 288px;
  --status-row-width: 369px;
  --subtitle-width: 211px;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
}

body {
  font-family: "ONE Mobile POP", "Malgun Gothic", sans-serif;
  background: linear-gradient(180deg, #ffffff 15.385%, #ceebff 87.5%);
  color: var(--ink-blue);
  overflow: hidden;
}

button,
input {
  font: inherit;
}

button {
  border: 0;
  background: none;
  cursor: pointer;
}

.app-shell {
  min-height: 100dvh;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  padding: max(6px, env(safe-area-inset-top)) 0 0;
}

.stage-scale-box {
  position: relative;
  width: calc(var(--stage-width) * var(--stage-scale));
  height: calc(var(--stage-height) * var(--stage-scale));
}

.mobile-stage {
  width: var(--stage-width);
  height: var(--stage-height);
  position: absolute;
  left: 50%;
  top: 0;
  transform: translateX(-50%) scale(var(--stage-scale));
  transform-origin: top center;
}

.hero {
  position: absolute;
  inset: 0;
}

.hero-logo {
  position: absolute;
  left: 50%;
  top: 12px;
  width: 150px;
  transform: translateX(-50%);
  pointer-events: none;
}

.hero-logo-image {
  display: block;
  width: 100%;
  height: auto;
}

.hero-subtitle {
  position: absolute;
  left: 50%;
  top: 138px;
  width: 286px;
  margin: 0;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  color: #8095bd;
  font-family: "ONE Mobile POP", "Malgun Gothic", sans-serif;
  font-size: 10px;
  line-height: 1;
  text-align: center;
  white-space: nowrap;
  letter-spacing: -0.02em;
}

.hero-subtitle-star {
  width: 10px;
  height: 5px;
  object-fit: contain;
}

.hero-actions {
  position: absolute;
  left: 67px;
  top: 159px;
  width: 288px;
  display: grid;
  grid-template-columns: repeat(3, 92px);
  justify-content: center;
  gap: 6px;
}

.game-button {
  position: relative;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  padding: 0 6px 1px;
  color: #fff;
  font-family: "Cafe24 Ssurround", "Malgun Gothic", sans-serif;
  font-size: 11px;
  line-height: 1;
  text-align: center;
  text-shadow:
    0 1px 0 rgba(123, 72, 18, 0.18),
    0 0 2px rgba(255, 255, 255, 0.14);
  background-position: center;
  background-repeat: no-repeat;
  background-size: 100% 100%;
}

.game-button-label,
.game-button-icon {
  position: relative;
  z-index: 2;
}

.game-button-label {
  padding-top: 1px;
  white-space: nowrap;
  letter-spacing: -0.05em;
  transform: translateY(0.5px);
  -webkit-text-stroke: 0.42px rgba(149, 91, 24, 0.72);
}

.game-button-icon {
  flex: 0 0 7px;
  width: 7px;
  height: 7px;
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
  transform: translateY(-0.5px);
}

.game-button::before,
.game-button::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-position: center;
  background-repeat: no-repeat;
  background-size: 100% 100%;
}

.game-button::before {
  inset: 2px;
}

.game-button::after {
  inset: 0;
}

.game-button-start {
  background-image: url("assets/figma/btn-start-base.svg");
}

.game-button-primary {
  background-image: url("assets/figma/btn-start-base.svg");
}

.game-button-start::before {
  background-image: url("assets/figma/btn-start-fill.png");
}

.game-button-primary::before {
  background-image: url("assets/figma/btn-start-fill.png");
}

.game-button-start::after {
  background-image: url("assets/figma/btn-start-top.svg");
}

.game-button-primary::after {
  background-image: url("assets/figma/btn-start-top.svg");
}

.game-button-start .game-button-icon,
.game-button-primary .game-button-icon {
  background-image: url("assets/figma/btn-start-icon.svg");
}

.game-button-mix {
  background-image: url("assets/figma/btn-mix-base.svg");
}

.game-button-mix::before {
  background-image: url("assets/figma/btn-mix-fill.png");
}

.game-button-mix::after {
  background-image: url("assets/figma/btn-mix-top.svg");
}

.game-button-mix .game-button-icon {
  background-image: url("assets/figma/btn-mix-icon.svg");
}

.game-button-rank {
  background-image: url("assets/figma/btn-rank-base.svg");
}

.game-button-rank::before {
  background-image: url("assets/figma/btn-rank-fill.png");
}

.game-button-rank::after {
  background-image: url("assets/figma/btn-rank-top.svg");
}

.game-button-rank .game-button-icon {
  background-image: url("assets/figma/btn-rank-icon.svg");
}

.hero-actions .game-button {
  background-position: center;
  background-repeat: no-repeat;
  background-size: 100% 100%;
}

.hero-actions .game-button::before,
.hero-actions .game-button::after,
.hero-actions .game-button .game-button-icon,
.hero-actions .game-button .game-button-label {
  display: none;
}

.hero-actions .game-button-start {
  background-image: url("assets/figma/button-start-full.png");
}

.hero-actions .game-button-mix {
  background-image: url("assets/figma/button-mix-full.png");
}

.hero-actions .game-button-rank {
  background-image: url("assets/figma/button-rank-full.png");
}

.status-panel {
  position: absolute;
  left: 20.5px;
  top: 214.5px;
  width: 382px;
  display: grid;
  grid-template-columns: repeat(3, 123px);
  justify-content: center;
  gap: 6px;
}

.status-card {
  min-height: 71px;
  padding: 14px 17px 10px;
  background-position: center;
  background-repeat: no-repeat;
  background-size: 100% 100%;
}

.status-card-state {
  background-image: url("assets/figma/status-box-exact.svg");
}

.status-card-time {
  background-image: url("assets/figma/status-box-exact.svg");
}

.status-card-moves {
  background-image: url("assets/figma/status-box-exact.svg");
}

.status-label,
.status-card strong {
  display: block;
  font-family: "ONE Mobile POP", "Malgun Gothic", sans-serif;
  font-size: 11px;
  line-height: 1;
}

.status-label {
  margin-bottom: 24px;
  color: var(--panel-text);
}

.status-card strong {
  color: var(--panel-value);
  white-space: nowrap;
  transform: translateY(-3px);
}

.play-area {
  position: absolute;
  left: 20px;
  top: 300.5px;
  width: 382px;
  min-height: 0;
}

.board-stage {
  position: relative;
  width: 100%;
  aspect-ratio: 764 / 717;
  overflow: visible;
  border-radius: 0;
}

.board-bg,
.board-bg img,
.board-bg div {
  position: absolute;
  inset: 0;
}

.board-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
}

.board-bg-full {
  z-index: 1;
  object-fit: cover;
}

.board-stage .board {
  position: absolute;
  inset: 0;
  z-index: 4;
}

.plate {
  position: absolute;
  z-index: 2;
}

.plate-rotor {
  position: absolute;
  inset: 0;
  transition: transform 360ms cubic-bezier(.22, .84, .3, 1);
  transform-origin: 50% 50%;
}

.plate-art,
.plate-art img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.plate-art img {
  object-fit: contain;
  pointer-events: none;
}

.plate-compass-full {
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.plate-hit {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 50%;
  padding: 0;
  z-index: 6;
}

.plate-hit-left {
  left: 0;
}

.plate-hit-right {
  right: 0;
}

.plate-hit:disabled {
  cursor: wait;
}

.number {
  position: absolute;
  z-index: 7;
  width: 8.4%;
  aspect-ratio: 1;
  transform: translate(-50%, -50%);
}

.number-shell,
.number-value {
  position: absolute;
  inset: 0;
}

.number-shell {
  background: center / contain no-repeat url("assets/figma/tile-bg-exact.svg");
}

.number-value {
  display: grid;
  place-items: center;
  color: #fff;
  font-family: "Cafe24 Ssurround", "Malgun Gothic", sans-serif;
  font-size: 18px;
  line-height: 1;
  transform: translateY(1px);
  text-shadow:
    1px 0 rgba(14, 40, 95, 0.35),
    -1px 0 rgba(14, 40, 95, 0.35),
    0 1px rgba(14, 40, 95, 0.35),
    0 -1px rgba(14, 40, 95, 0.35);
}

.number.is-animating {
  z-index: 12;
}

.overlay {
  position: fixed;
  inset: 0;
  z-index: 15;
  display: grid;
  place-items: center;
  padding: 20px;
  background: rgba(10, 36, 71, 0.44);
}

.overlay.hidden {
  display: none;
}

.overlay-card {
  width: min(100%, 280px);
  padding: 18px 16px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.92);
  text-align: center;
  box-shadow: 0 18px 30px rgba(0, 42, 81, 0.18);
}

.overlay[data-mode="mixing"] {
  background: rgba(10, 36, 71, 0.54);
}

.overlay-card[data-mode="mixing"] {
  position: relative;
  width: 316px;
  min-height: 168px;
  padding: 50px 30px 30px;
  border-radius: 0;
  background: center / contain no-repeat url("assets/figma/mixing-card.png");
  box-shadow: none;
  text-align: center;
}

.overlay-icon {
  display: block;
  position: absolute;
  left: 50%;
  top: 5px;
  width: 50px;
  height: 50px;
  margin: 0;
  margin-left: -25px;
  transform-origin: 50% 50%;
  animation: overlay-spin 1.15s linear infinite;
}

.overlay-icon.hidden {
  display: none;
}

.overlay-title {
  margin: 0 0 10px;
  font-family: "ONE Mobile POP", "Malgun Gothic", sans-serif;
  font-size: 20px;
  color: var(--ink-blue);
}

.overlay-body {
  margin: 0;
  font-family: "ONE Mobile POP", "Malgun Gothic", sans-serif;
  font-size: 13px;
  line-height: 1.35;
  color: var(--sub-blue);
}

.overlay-card[data-mode="mixing"] .overlay-title {
  margin: 16px 0 6px;
  color: #0b3162;
  font-size: 19px;
  line-height: 1;
}

.overlay-card[data-mode="mixing"] .overlay-body {
  color: #6f88b2;
  font-family: "Cafe24 Ssurround", "Malgun Gothic", sans-serif;
  font-size: 11px;
  line-height: 1.1;
  white-space: nowrap;
}

.guide-box {
  position: absolute;
  left: 20px;
  top: 673px;
  width: 382px;
  min-height: 50px;
  padding: 11px 14px 10px 18px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.82);
  color: var(--guide-blue);
  font-family: "210 OmniGothic", "Malgun Gothic", sans-serif;
  font-size: 9px;
  line-height: 13px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.46);
}

.guide-box p {
  margin: 0;
}

.guide-box p + p {
  margin-top: 0;
}

.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 40;
  display: grid;
  place-items: center;
  padding: 12px;
  background: rgba(35, 35, 35, 0.4);
  backdrop-filter: blur(2px);
}

.modal-backdrop.hidden {
  display: none;
}

.completion-backdrop {
  background: rgba(33, 45, 62, 0.18);
  backdrop-filter: blur(2.5px);
  place-items: start center;
  padding: max(6px, env(safe-area-inset-top)) 0 0;
}

.completion-flow {
  position: relative;
  width: 422px;
  height: 800px;
  transform: scale(var(--stage-scale));
  transform-origin: top center;
}

.completion-screen {
  position: absolute;
  left: 0;
  top: 0;
  width: 422px;
  height: 800px;
}

.completion-popup {
  position: absolute;
  left: 38px;
  top: 36px;
  width: 346px;
  height: 636px;
  border: 3px solid #fff;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 0 34px rgba(12, 21, 39, 0.24);
  background: #dbeeff;
}

.completion-popup-main,
.completion-popup-bottom,
.completion-popup-badge,
.completion-popup-badge-star {
  position: absolute;
  background-position: center;
  background-repeat: no-repeat;
  background-size: 100% 100%;
}

.completion-popup-main {
  left: 0;
  top: 0;
  width: 346px;
  height: 529px;
  overflow: hidden;
  z-index: 0;
}

.completion-popup-main-image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.completion-popup-copy {
  display: none;
}

.completion-popup-copy-line {
  display: block;
  font-family: "ONE Mobile POP", "Malgun Gothic", sans-serif;
  line-height: 1;
  color: #fff8d9;
  -webkit-text-stroke: 3px #643118;
  text-shadow:
    0 4px 0 #643118,
    0 6px 14px rgba(74, 42, 17, 0.18);
}

.completion-popup-copy-line-small {
  font-size: 25px;
}

.completion-popup-copy-line-large {
  margin-top: -4px;
  font-size: 40px;
}

.completion-popup-bottom {
  left: 0;
  top: 515px;
  width: 346px;
  height: 121px;
  z-index: 1;
  background-color: #28456d;
  background-image: url("assets/figma/completion-bottom-20260430.svg");
}

.completion-popup-badge {
  left: 27px;
  top: 515px;
  width: 58px;
  height: 51px;
  z-index: 2;
  background-image: url("assets/figma/completion-badge-20260430.svg");
}

.completion-popup-badge-star {
  left: 17px;
  top: 12px;
  width: 23px;
  height: 23px;
  z-index: 1;
  background-image: url("assets/figma/completion-badge-star-20260430.svg");
}

.completion-best-title {
  position: absolute;
  left: 28px;
  top: 589px;
  margin: 0;
  z-index: 3;
  font-family: "ONE Mobile POP", "Malgun Gothic", sans-serif;
  font-size: 25px;
  line-height: 1;
  color: #e0f5ff;
}

.completion-stat {
  position: absolute;
  z-index: 4;
  width: 176px;
  height: 23px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 16px 0 14px;
  background: center / 100% 100% no-repeat url("assets/figma/completion-stat-pill-20260430.svg");
}

.completion-stat-time {
  left: 186px;
  top: 595px;
}

.completion-stat-moves {
  left: 186px;
  top: 622px;
}

.completion-stat-label,
.completion-stat-value {
  color: #fff;
  font-family: "Cafe24 Ssurround", "Malgun Gothic", sans-serif;
  font-size: 13px;
  line-height: 1;
  white-space: nowrap;
}

.completion-stat-label {
  flex: 0 0 auto;
}

.completion-stat-value {
  display: block;
  text-align: right;
}

.completion-actions {
  position: absolute;
  left: 0;
  top: 691px;
  z-index: 4;
  width: 422px;
  height: 39px;
}

.completion-action {
  position: absolute;
  top: 0;
  width: 111px;
  height: 39px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-family: "Cafe24 Ssurround", "Malgun Gothic", sans-serif;
  font-size: 17px;
  line-height: 1;
  text-shadow:
    0 1px 0 rgba(123, 72, 18, 0.18),
    0 0 2px rgba(255, 255, 255, 0.14);
  background-position: center;
  background-repeat: no-repeat;
  background-size: 100% 100%;
}

.completion-action::before,
.completion-action::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-position: center;
  background-repeat: no-repeat;
  background-size: 100% 100%;
}

.completion-action::before {
  inset: 2px;
}

.completion-action {
  z-index: 1;
}

.completion-action > span {
  position: relative;
  z-index: 1;
}

.completion-action span {
  display: inline-block;
  transform: translateY(-1px);
  white-space: nowrap;
}

.completion-action:disabled {
  cursor: default;
}

.completion-action:disabled::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 13px;
  background:
    linear-gradient(180deg, rgba(186, 193, 203, 0.78) 0%, rgba(133, 141, 152, 0.88) 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.36),
    inset 0 -1px 0 rgba(75, 82, 91, 0.32);
  mix-blend-mode: multiply;
  pointer-events: none;
}

.completion-action-retry {
  left: 38px;
  background-image: url("assets/figma/btn-mix-base.svg");
}

.completion-action-retry::before {
  background-image: url("assets/figma/btn-mix-fill.png");
}

.completion-action-retry::after {
  background-image: url("assets/figma/btn-mix-top.svg");
}

.completion-action-register {
  left: 155px;
  background-image: url("assets/figma/btn-start-base.svg");
}

.completion-action-register::before {
  background-image: url("assets/figma/btn-start-fill.png");
}

.completion-action-register::after {
  background-image: url("assets/figma/btn-start-top.svg");
}

.completion-action-ranking {
  left: 273px;
  background-image: url("assets/figma/btn-rank-base.svg");
}

.completion-action-ranking::before {
  background-image: url("assets/figma/btn-rank-fill.png");
}

.completion-action-ranking::after {
  background-image: url("assets/figma/btn-rank-top.svg");
}

.ranking-backdrop {
  background: rgba(35, 35, 35, 0.34);
  backdrop-filter: blur(1.5px);
  place-items: start center;
  padding: max(6px, env(safe-area-inset-top)) 0 0;
}

.ranking-flow {
  position: relative;
  width: 422px;
  height: 883px;
  transform: scale(var(--stage-scale));
  transform-origin: top center;
}

.ranking-screen {
  position: absolute;
  left: 0;
  top: 0;
  width: 422px;
  height: 883px;
}

.ranking-popup-frame,
.ranking-title-frame {
  position: absolute;
  background-position: center;
  background-repeat: no-repeat;
  background-size: 100% 100%;
}

.ranking-popup-frame {
  left: 38px;
  top: 218.5px;
  width: 346px;
  height: 469.5px;
  background-image: url("assets/figma/ranking-popup-frame.png");
}

.ranking-title-frame {
  left: 98px;
  top: 188px;
  width: 222px;
  height: 56px;
  background-image: url("assets/figma/ranking-title.png");
  z-index: 2;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.ranking-close-hit {
  position: absolute;
  left: 351px;
  top: 201px;
  width: 43px;
  height: 43px;
  color: transparent;
  font-size: 0;
  background: center / 100% 100% no-repeat url("assets/figma/ranking-close.png");
  z-index: 3;
}

.ranking-screen-list {
  position: absolute;
  left: 59.5px;
  top: 272px;
  width: 303px;
  height: 382px;
  display: grid;
  grid-auto-rows: 46.5px;
  gap: 9px;
  overflow-y: auto;
  overflow-x: hidden;
  padding-right: 12px;
  scrollbar-width: none;
  z-index: 2;
}

.ranking-screen-list::-webkit-scrollbar {
  display: none;
}

.ranking-screen-row {
  position: relative;
  width: 290.5px;
  height: 46.5px;
  background: center / 100% 100% no-repeat url("assets/figma/ranking-row-blank.png");
}

.ranking-screen-rank {
  position: absolute;
  left: 6px;
  top: 6px;
  width: 33px;
  height: 33px;
  display: grid;
  place-items: center;
  color: #fff;
  font-family: "ONE Mobile POP", "Malgun Gothic", sans-serif;
  font-size: 22px;
  line-height: 1;
  -webkit-text-stroke: 1.5px #3da4d0;
  text-shadow: 0 1px 0 #3da4d0;
}

.ranking-scrollbar {
  position: absolute;
  left: 358px;
  top: 272px;
  width: 14px;
  height: 382px;
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(204, 234, 250, 0.96) 0%, rgba(191, 228, 248, 0.96) 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.72),
    inset 0 -1px 0 rgba(146, 197, 229, 0.65);
  z-index: 2;
}

.ranking-scrollbar-thumb {
  position: absolute;
  left: 1px;
  top: 0;
  width: 12px;
  min-height: 62px;
  border-radius: 999px;
  background: linear-gradient(180deg, #63c0f6 0%, #42abef 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.42),
    0 1px 2px rgba(36, 122, 195, 0.16);
  cursor: grab;
}

.ranking-screen-name,
.ranking-screen-date,
.ranking-screen-time,
.ranking-screen-moves {
  position: absolute;
  margin: 0;
  font-family: "Cafe24 Ssurround", "Malgun Gothic", sans-serif;
  line-height: 1;
  font-weight: 700;
  white-space: nowrap;
}

.ranking-screen-name,
.ranking-screen-time,
.ranking-screen-moves {
  color: #172c47;
}

.ranking-screen-name {
  left: 46px;
  top: 8px;
  width: 90px;
  font-size: 12.5px;
  overflow: hidden;
  text-overflow: ellipsis;
}

.ranking-screen-date {
  left: 46px;
  top: 24px;
  width: 59.5px;
  color: #8db6d8;
  font-size: 9px;
}

.ranking-screen-time {
  left: 225.5px;
  top: 8px;
  width: 46.5px;
  font-size: 11px;
  text-align: right;
}

.ranking-screen-moves {
  left: 248px;
  top: 24px;
  width: 24px;
  font-size: 11px;
  text-align: right;
}

.ranking-screen-empty {
  position: absolute;
  left: 0;
  top: 163px;
  width: 290.5px;
  margin: 0;
  color: #6f88b2;
  font-family: "ONE Mobile POP", "Malgun Gothic", sans-serif;
  font-size: 13px;
  line-height: 1.4;
  text-align: center;
}

.modal-card {
  position: relative;
  width: min(100%, 334px);
  border-radius: 18px;
  padding: 56px 16px 18px;
  background: linear-gradient(180deg, #f7fcff 0%, #d8f0ff 100%);
  box-shadow: 0 24px 44px rgba(6, 43, 79, 0.18);
}

.modal-kicker {
  margin: 0;
  color: #6488b5;
  font-family: "ONE Mobile POP", "Malgun Gothic", sans-serif;
  font-size: 25px;
  letter-spacing: 0;
  line-height: 1;
  text-align: center;
}

.modal-card h2 {
  margin: 8px 0 0;
  color: var(--ink-blue);
  font-family: "ONE Mobile POP", "Malgun Gothic", sans-serif;
  font-size: 18px;
  text-align: center;
}

.modal-summary {
  margin: 8px 0 0;
  color: var(--sub-blue);
  font-family: "ONE Mobile POP", "Malgun Gothic", sans-serif;
  font-size: 13px;
  text-align: center;
}

.record-card {
  padding-top: 70px;
}

.record-card::before {
  content: "";
  position: absolute;
  left: 50%;
  top: -22px;
  width: 206px;
  height: 44px;
  transform: translateX(-50%);
  border: 10px solid #f2f9fc;
  border-radius: 22px;
  background:
    radial-gradient(circle at 34px 22px, #9ad3e8 0 6px, transparent 7px),
    radial-gradient(circle at calc(100% - 34px) 22px, #9ad3e8 0 6px, transparent 7px),
    linear-gradient(180deg, #dbf1fb 0%, #c5e5f3 100%);
  box-shadow: inset 0 14px 0 #a3d2e8;
}

.record-form {
  position: absolute;
  inset: 0;
}

.record-label {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.record-input {
  position: absolute;
  left: 49px;
  top: 210px;
  width: 248px;
  height: 42px;
  padding: 0 18px;
  border: 0;
  border-radius: 0;
  background: center / 100% 100% no-repeat url("assets/figma/record-input-box-blank.png");
  color: #fff;
  font-family: "Cafe24 Ssurround", "Malgun Gothic", sans-serif;
  font-size: 11px;
  font-weight: 700;
  text-align: center;
  line-height: 42px;
  outline: none;
  box-shadow: none;
}

.modal-actions {
  position: absolute;
  left: 58.5px;
  top: 369px;
  width: 228.6px;
  display: flex;
  justify-content: space-between;
  gap: 0;
}

.modal-button {
  height: 50px;
  width: 110.7px;
  flex: 0 0 110.7px;
  font-size: 0;
  color: transparent;
  background-position: center;
  background-repeat: no-repeat;
  background-size: 100% 100%;
}

.record-card .modal-kicker::before,
.record-card .modal-kicker::before {
  content: "";
  position: absolute;
  inset: -18px -22px -14px;
  z-index: -1;
}

.record-card .modal-kicker {
  position: absolute;
  left: 50%;
  top: -4px;
  transform: translateX(-50%);
  width: 206px;
}

.record-card .modal-kicker {
  font-size: 18px;
}

.record-card h2 {
  display: none;
}

.record-card {
  width: min(100%, 346px);
  min-height: 353px;
  margin-top: -30px;
  padding: 0;
  border: 3px solid #fff;
  border-radius: 10px;
  background: #21395a;
  box-shadow: 0 0 34px rgba(12, 21, 39, 0.4);
  overflow: visible;
}

.record-card::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 45.5px;
  width: 91px;
  height: 24px;
  transform: translateX(-50%);
  border: 0;
  border-radius: 0;
  background: center / contain no-repeat url("assets/figma/record-title-text-exact.png");
  box-shadow: none;
}

.record-card .modal-kicker {
  display: none;
  color: transparent;
}

.record-stats {
  position: absolute;
  left: 49px;
  top: 92px;
  width: 248px;
  display: grid;
  gap: 8px;
}

.record-stats::before {
  display: none;
  content: none;
}

.record-stat {
  position: relative;
  display: block;
  min-height: 23px;
  height: 23px;
  padding: 0;
  background: center / 100% 100% no-repeat url("assets/figma/record-pill-bg.png");
}

.record-stat-label,
.record-stat-value {
  position: absolute;
  top: 50%;
  font-family: "Cafe24 Ssurround", "Malgun Gothic", sans-serif;
  font-size: 12px;
  font-weight: 700;
  line-height: 1;
  transform: translateY(-50%);
  color: #fff;
}

.record-stat-label {
  display: block;
  left: 24.5px;
}

.record-stat-value {
  right: 23px;
  text-align: right;
  text-shadow: 0 1px 0 rgba(11, 48, 87, 0.16);
}

.record-card .record-input::placeholder {
  color: #637da2;
  opacity: 1;
}

.record-form::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 185.5px;
  width: 130px;
  height: 22px;
  transform: translateX(-50%);
  background: center / contain no-repeat url("assets/figma/record-prompt-text.png");
}

.modal-button-ranking {
  background-image: url("assets/figma/record-button-ranking-exact.png");
}

.modal-button-save {
  background-image: url("assets/figma/record-button-save-exact.png");
}

@media (max-width: 430px) {
  .mobile-stage {
    transform-origin: top center;
  }
}

@keyframes overlay-spin {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(360deg);
  }
}

.replay-ad-overlay {
  position: absolute;
  inset: 0;
  z-index: 9999;
  display: grid;
  place-items: center;
  background: #071845;
  opacity: 0;
  pointer-events: none;
  transition: opacity 160ms ease;
}

.replay-ad-overlay.is-active {
  opacity: 1;
  pointer-events: auto;
}

.replay-ad-image {
  width: 100%;
  height: 100%;
  object-fit: fill;
}

.replay-ad-counter {
  position: absolute;
  right: 10px;
  top: 14px;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: center / contain no-repeat;
}

.replay-ad-count {
  display: block;
  color: #2f3340;
  font-size: 21px;
  font-weight: 900;
  line-height: 1;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.58);
  transform: translateY(2px);
}
