:root {
  --bg: #fffcf7;
  --surface: #fffdfa;
  --surface-low: #fcf7f1;
  --surface-soft: #f3ede6;
  --surface-deep: #eadfd4;
  --ink: #403835;
  --muted: #7b736d;
  --muted-soft: #978f89;
  --line: rgba(163, 146, 134, 0.14);
  --shadow-soft: 0 18px 40px rgba(141, 85, 82, 0.08);
  --shadow-float: 0 24px 50px rgba(141, 85, 82, 0.12);
  --shadow-toy: 0 18px 30px rgba(120, 86, 76, 0.12), 0 10px 0 rgba(229, 219, 209, 0.95);
  --radius-xl: 34px;
  --radius-lg: 26px;
  --radius-md: 20px;
  --accent: #9d6460;
  --accent-deep: #824d49;
  --accent-soft: #f2c2bd;
  --accent-sun: #f7e7a4;
  --accent-mint: #c3eddc;
  --accent-cloud: #efe7dd;
  --font-sans:
    "PingFang SC",
    "HarmonyOS Sans SC",
    "MiSans",
    "Noto Sans CJK SC",
    "Source Han Sans SC",
    "Microsoft YaHei",
    "Helvetica Neue",
    system-ui,
    sans-serif;
  --font-display:
    "SF Pro Display",
    "PingFang SC",
    "HarmonyOS Sans SC",
    "MiSans",
    "Noto Sans CJK SC",
    "Source Han Sans SC",
    sans-serif;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
  background:
    radial-gradient(circle at top left, rgba(255, 211, 189, 0.55), transparent 32%),
    radial-gradient(circle at top right, rgba(197, 237, 220, 0.5), transparent 26%),
    linear-gradient(180deg, #fffdf8 0%, #fff7ee 100%);
  color: var(--ink);
  font-family: var(--font-sans);
}

body {
  position: relative;
  overflow-x: hidden;
}

button {
  font: inherit;
}

.ambient {
  position: fixed;
  border-radius: 50%;
  filter: blur(70px);
  opacity: 0.42;
  pointer-events: none;
}

.ambient--one {
  top: -8vw;
  left: -10vw;
  width: 44vw;
  height: 44vw;
  background: rgba(255, 206, 182, 0.9);
  animation: drift 10s ease-in-out infinite;
}

.ambient--two {
  top: 30vh;
  right: -10vw;
  width: 40vw;
  height: 40vw;
  background: rgba(196, 233, 220, 0.92);
  animation: drift 12s ease-in-out infinite reverse;
}

.ambient--three {
  bottom: 12vh;
  left: 10vw;
  width: 24vw;
  height: 24vw;
  background: rgba(250, 238, 179, 0.7);
  animation: drift 11s ease-in-out infinite;
}

.shell {
  position: relative;
  z-index: 1;
  width: min(100%, 580px);
  margin: 0 auto;
  padding: 22px 18px 164px;
}

.topbar {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 22px;
}

.brand-lockup {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.brand-lockup__pin {
  position: relative;
  width: 18px;
  height: 18px;
  margin-top: 8px;
  border-radius: 50% 50% 50% 0;
  transform: rotate(-45deg);
  background: linear-gradient(180deg, #ffb468 0%, #ff7a35 100%);
  box-shadow: 0 6px 12px rgba(255, 139, 82, 0.22);
}

.brand-lockup__pin::after {
  content: "";
  position: absolute;
  inset: 5px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
}

.brand-lockup__eyebrow,
.eyebrow,
.section-heading__eyebrow {
  margin: 0 0 6px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: #9a7b67;
}

.brand-lockup h1 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(28px, 7vw, 36px);
  line-height: 1.02;
  letter-spacing: -0.04em;
}

.level-pill,
.location-pill,
.spotlight__tag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0 16px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: inset 2px 2px 0 rgba(255, 255, 255, 0.8), var(--shadow-soft);
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.hero {
  display: grid;
  gap: 22px;
  margin-bottom: 22px;
}

.hero__copy {
  padding: 6px 4px 0;
}

.hero__copy h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(34px, 8vw, 44px);
  line-height: 1.05;
  letter-spacing: -0.05em;
}

.hero__subtitle {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.7;
}

.location-pill {
  gap: 10px;
  margin-top: 18px;
  width: fit-content;
}

.location-pill__pin {
  width: 14px;
  height: 14px;
  border-radius: 50% 50% 50% 0;
  transform: rotate(-45deg);
  background: linear-gradient(180deg, var(--accent-soft), var(--accent));
}

.scene-card {
  --scene-accent: var(--accent);
  --scene-accent-soft: var(--accent-soft);
  --scene-sun: var(--accent-sun);
  position: relative;
  padding: 26px 18px 18px;
  border-radius: var(--radius-xl);
  background:
    radial-gradient(circle at top left, rgba(255, 255, 255, 0.9), transparent 40%),
    linear-gradient(180deg, #fffdfa 0%, #f8f3ee 100%);
  box-shadow: var(--shadow-float), 0 10px 0 rgba(234, 223, 212, 0.9);
  overflow: hidden;
}

.scene-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  box-shadow: inset 3px 3px 0 rgba(255, 255, 255, 0.72);
  pointer-events: none;
}

.scene-card__badge {
  position: absolute;
  top: 18px;
  right: 18px;
  z-index: 2;
  display: grid;
  justify-items: center;
  gap: 8px;
}

.scene-card__badge-shell {
  width: 92px;
  height: 92px;
  padding: 10px;
  border-radius: 999px;
  background: linear-gradient(180deg, #fff8e5 0%, var(--scene-sun) 100%);
  box-shadow: 0 12px 24px rgba(141, 85, 82, 0.14);
}

.scene-card__badge-shell img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: radial-gradient(circle at top left, #fff 0%, #fff6ef 100%);
  object-fit: contain;
  padding: 8px;
}

.scene-card__badge span {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 12px;
  border-radius: 999px;
  background: rgba(157, 100, 96, 0.92);
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.scene-card__plate {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 310px;
  padding: 18px 12px 22px;
}

.scene-card__plate::before,
.scene-card__plate::after {
  content: "";
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  border-radius: 999px;
}

.scene-card__plate::before {
  bottom: 36px;
  width: 76%;
  height: 42px;
  background: linear-gradient(180deg, #f8efe5 0%, #e4d7ca 100%);
  box-shadow: inset 2px 2px 0 rgba(255, 255, 255, 0.74), 0 8px 18px rgba(141, 85, 82, 0.12);
}

.scene-card__plate::after {
  bottom: 18px;
  width: 60%;
  height: 22px;
  background: rgba(160, 118, 105, 0.12);
  filter: blur(14px);
}

.scene-card__plate-shadow {
  position: absolute;
  inset: auto 18% 16px;
  height: 24px;
  border-radius: 999px;
  background: rgba(141, 85, 82, 0.12);
  filter: blur(16px);
}

.diorama {
  position: relative;
  width: min(100%, 310px);
  aspect-ratio: 1 / 1;
  border-radius: 42px;
  transform: perspective(1200px) rotateX(18deg) rotateY(-10deg) rotateZ(5deg);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.52) 0%, rgba(255, 255, 255, 0) 26%),
    linear-gradient(145deg, #b39b8e 0%, #876d62 100%);
  box-shadow:
    0 24px 34px rgba(96, 69, 63, 0.18),
    0 18px 0 #9a8377,
    0 36px 0 #7f685d,
    0 52px 0 #6f5950;
  overflow: hidden;
}

.diorama::before {
  content: "";
  position: absolute;
  inset: 16px;
  border-radius: 28px;
  background:
    linear-gradient(180deg, rgba(255, 252, 247, 0.3), transparent 32%),
    linear-gradient(180deg, #95b184 0%, #789466 100%);
  box-shadow: inset 2px 2px 0 rgba(255, 255, 255, 0.46), inset 0 -8px 0 rgba(91, 118, 80, 0.42);
}

.diorama::after {
  content: "";
  position: absolute;
  inset: auto 16px 18px;
  height: 24px;
  border-radius: 999px;
  background: rgba(88, 64, 58, 0.18);
  filter: blur(12px);
}

.diorama__road {
  position: absolute;
  z-index: 0;
  background:
    linear-gradient(180deg, rgba(255, 253, 246, 0.9) 0%, rgba(241, 230, 219, 0.92) 100%);
  box-shadow: inset 0 0 0 2px rgba(255, 255, 255, 0.2);
}

.diorama__road--vertical {
  top: 18px;
  bottom: 18px;
  left: 50%;
  width: 38px;
  transform: translateX(-50%);
}

.diorama__road--horizontal {
  left: 18px;
  right: 18px;
  top: 54%;
  height: 34px;
  transform: translateY(-50%);
}

.diorama__building,
.diorama__tree,
.diorama__bike,
.diorama__pin,
.diorama__ring {
  position: absolute;
  z-index: 1;
}

.diorama__building {
  border-radius: 12px 12px 6px 6px;
  background: linear-gradient(180deg, #f3d6c9 0%, #d8ab97 100%);
  box-shadow:
    inset 2px 2px 0 rgba(255, 255, 255, 0.24),
    0 10px 14px rgba(79, 63, 58, 0.14);
}

.diorama__building::before {
  content: "";
  position: absolute;
  inset: 10px 8px auto;
  height: 8px;
  border-radius: 999px;
  background: rgba(255, 248, 239, 0.38);
}

.diorama__building::after {
  content: "";
  position: absolute;
  inset: auto 8px 8px;
  height: 36%;
  border-radius: 10px 10px 4px 4px;
  background:
    linear-gradient(90deg, rgba(255, 248, 239, 0.24) 0 28%, transparent 28% 42%, rgba(255, 248, 239, 0.24) 42% 70%, transparent 70%),
    rgba(119, 92, 84, 0.46);
}

.diorama__building--a {
  left: 48px;
  bottom: 94px;
  width: 44px;
  height: 84px;
  background: linear-gradient(180deg, #f1c8bb 0%, #d89c87 100%);
}

.diorama__building--b {
  left: 104px;
  bottom: 120px;
  width: 52px;
  height: 106px;
  background: linear-gradient(180deg, #f6dbc3 0%, #ddb18d 100%);
}

.diorama__building--c {
  left: 170px;
  bottom: 102px;
  width: 58px;
  height: 118px;
  background: linear-gradient(180deg, #f6e2d6 0%, #d9b49c 100%);
}

.diorama__building--d {
  right: 60px;
  bottom: 88px;
  width: 42px;
  height: 80px;
  background: linear-gradient(180deg, #d8ead3 0%, #a7c29c 100%);
}

.diorama__building--e {
  right: 114px;
  bottom: 84px;
  width: 34px;
  height: 62px;
  background: linear-gradient(180deg, #f9e7bf 0%, #dec88e 100%);
}

.diorama__tree {
  width: 26px;
  height: 36px;
  border-radius: 999px 999px 14px 14px;
  background:
    linear-gradient(180deg, #7eaa74 0%, #5e7e55 100%);
  box-shadow: 0 10px 10px rgba(79, 63, 58, 0.1);
}

.diorama__tree::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -8px;
  width: 8px;
  height: 14px;
  border-radius: 999px;
  transform: translateX(-50%);
  background: #7a5e54;
}

.diorama__tree--a {
  left: 38px;
  bottom: 150px;
}

.diorama__tree--b {
  left: 146px;
  bottom: 64px;
}

.diorama__tree--c {
  right: 40px;
  bottom: 150px;
}

.diorama__tree--d {
  right: 86px;
  bottom: 54px;
}

.diorama__bike {
  left: 132px;
  bottom: 86px;
  width: 50px;
  height: 28px;
  animation: bike-bob 4.2s ease-in-out infinite;
}

.diorama__bike::before,
.diorama__bike::after {
  content: "";
  position: absolute;
  bottom: 0;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  border: 4px solid #fff7ef;
  box-shadow: 0 2px 0 rgba(117, 93, 83, 0.2);
}

.diorama__bike::before {
  left: 0;
}

.diorama__bike::after {
  right: 0;
}

.diorama__bike span {
  position: absolute;
  inset: 4px 8px auto;
  height: 10px;
  border-bottom: 4px solid var(--scene-accent);
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
}

.diorama__pin {
  left: 50%;
  top: 50%;
  z-index: 2;
  width: 42px;
  height: 42px;
  border-radius: 50% 50% 50% 0;
  transform: translate(-50%, -58%) rotate(-45deg);
  background: linear-gradient(180deg, var(--scene-accent-soft) 0%, var(--scene-accent) 100%);
  box-shadow: 0 14px 20px rgba(141, 85, 82, 0.2);
}

.diorama__pin-core {
  position: absolute;
  inset: 12px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.95);
}

.diorama__ring {
  left: 50%;
  top: 50%;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  border: 2px solid rgba(255, 255, 255, 0.18);
}

.diorama__ring--one {
  width: 90px;
  height: 90px;
}

.diorama__ring--two {
  width: 132px;
  height: 132px;
}

.loading-status {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: -2px;
}

.status-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 38px;
  padding: 0 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: inset 2px 2px 0 rgba(255, 255, 255, 0.8), var(--shadow-soft);
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.status-chip--soft {
  background: rgba(244, 237, 229, 0.92);
}

.status-chip__dot,
.status-chip__pulse {
  display: inline-block;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--accent);
}

.status-chip__pulse {
  animation: pulse 1.3s ease-in-out infinite;
}

.spotlight,
.ranking,
.notes {
  margin-top: 18px;
  padding: 22px;
  border-radius: var(--radius-xl);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.88) 0%, rgba(252, 247, 241, 0.95) 100%);
  box-shadow: var(--shadow-soft), 0 8px 0 rgba(234, 223, 212, 0.9);
}

.spotlight {
  border-bottom: 6px solid var(--surface-deep);
}

.spotlight__meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}

.spotlight__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #9b6c67;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.06em;
}

.spotlight__star {
  display: inline-grid;
  place-items: center;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: rgba(157, 100, 96, 0.14);
}

.spotlight h3 {
  margin: 16px 0 8px;
  font-family: var(--font-display);
  font-size: clamp(28px, 7vw, 34px);
  line-height: 1.22;
  letter-spacing: -0.04em;
}

.spotlight__note {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.8;
}

.spotlight__time {
  margin: 14px 0 0;
  color: var(--muted-soft);
  font-size: 13px;
}

.section-heading {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 14px;
  margin-bottom: 18px;
}

.section-heading h3 {
  margin: 0;
  font-size: 24px;
  letter-spacing: -0.03em;
}

.section-heading span {
  color: var(--muted-soft);
  font-size: 12px;
  line-height: 1.5;
  text-align: right;
}

.section-heading--notes {
  margin-bottom: 12px;
}

.ranking-list {
  display: grid;
  gap: 14px;
}

.rank-card {
  position: relative;
  display: grid;
  grid-template-columns: 54px 60px 1fr;
  gap: 14px;
  align-items: center;
  padding: 16px;
  border-radius: 26px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.88) 0%, rgba(248, 242, 235, 0.9) 100%);
  box-shadow: inset 2px 2px 0 rgba(255, 255, 255, 0.74), var(--shadow-toy);
  transform: translateY(12px);
  opacity: 0;
  animation: rise 0.45s ease forwards;
  overflow: hidden;
}

.rank-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.5), transparent 34%);
  pointer-events: none;
}

.rank-card__index {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: linear-gradient(180deg, rgba(255, 243, 201, 0.95) 0%, rgba(244, 221, 136, 0.95) 100%);
  color: #7e6730;
  font-size: 20px;
  font-weight: 800;
  box-shadow: 0 8px 16px rgba(141, 85, 82, 0.08), 0 5px 0 rgba(228, 202, 122, 0.9);
}

.rank-card__mascot-shell {
  display: grid;
  place-items: center;
  width: 60px;
  height: 60px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 8px 18px rgba(141, 85, 82, 0.08), 0 5px 0 rgba(228, 218, 210, 0.95);
}

.rank-card__mascot-shell img {
  width: 44px;
  height: 44px;
  object-fit: contain;
}

.rank-card__alias {
  margin: 0;
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.rank-card__tagline {
  margin: 5px 0 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.55;
}

.rank-card__level {
  display: inline-flex;
  width: fit-content;
  margin-top: 9px;
  padding: 5px 10px;
  border-radius: 999px;
  background: rgba(157, 100, 96, 0.12);
  color: #8f5f5c;
  font-size: 11px;
  font-weight: 800;
}

.rank-card:first-child {
  padding-top: 18px;
  padding-bottom: 18px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.96) 0%, rgba(250, 244, 236, 0.96) 100%);
}

.rank-card--ghost .rank-card__index,
.rank-card--ghost .rank-card__mascot-shell,
.rank-card--ghost .rank-card__line {
  background: linear-gradient(90deg, rgba(236, 228, 220, 0.55), rgba(255, 255, 255, 0.8), rgba(236, 228, 220, 0.55));
  background-size: 240% 100%;
  animation: shimmer 1.4s linear infinite;
}

.rank-card--ghost .rank-card__index {
  border-radius: 50%;
}

.rank-card__ghost-copy {
  display: grid;
  gap: 10px;
}

.rank-card__line {
  height: 12px;
  border-radius: 999px;
}

.rank-card__line--short {
  width: 42%;
}

.rank-card--empty {
  grid-template-columns: 54px 60px 1fr;
}

.notes__list {
  margin: 0;
  padding-left: 20px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.8;
}

.control-dock {
  position: fixed;
  left: 50%;
  bottom: max(16px, env(safe-area-inset-bottom));
  z-index: 5;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  width: min(calc(100% - 28px), 560px);
  padding: 12px;
  border-radius: 36px;
  transform: translateX(-50%);
  background: rgba(255, 252, 247, 0.84);
  backdrop-filter: blur(24px);
  box-shadow: 0 24px 40px rgba(141, 85, 82, 0.12), 0 10px 0 rgba(234, 223, 212, 0.92);
}

.action {
  appearance: none;
  border: 0;
  min-height: 58px;
  border-radius: 999px;
  font-size: 16px;
  font-weight: 800;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    opacity 0.2s ease;
  position: relative;
  overflow: hidden;
}

.action::before {
  content: "";
  position: absolute;
  inset: 2px 8px auto;
  height: 44%;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.18);
  pointer-events: none;
}

.action:active {
  transform: translateY(2px) scale(0.99);
}

.action:disabled {
  opacity: 0.5;
}

.action--primary {
  color: #fff;
  background: linear-gradient(180deg, var(--accent) 0%, var(--accent-deep) 100%);
  box-shadow: 0 7px 0 #714440, 0 14px 22px rgba(130, 77, 73, 0.22);
}

.action--secondary {
  color: var(--ink);
  background: linear-gradient(180deg, rgba(249, 244, 238, 0.96) 0%, rgba(234, 223, 212, 0.98) 100%);
  box-shadow: 0 7px 0 #d9cec2, 0 14px 22px rgba(185, 164, 150, 0.16);
}

body[data-state="result"] .loading-status,
body[data-state="empty"] .loading-status {
  opacity: 0;
  visibility: hidden;
}

body[data-state="loading"] .scene-card__badge {
  animation: bob 2.6s ease-in-out infinite;
}

body[data-state="loading"] .diorama__ring {
  animation: echo 2.8s ease-in-out infinite;
}

body[data-state="loading"] .diorama__ring--two {
  animation-delay: 0.6s;
}

body[data-state="result"] .scene-card__badge {
  animation: bob 3.8s ease-in-out infinite;
}

body[data-state="empty"] .scene-card {
  --scene-accent: #8b8680;
  --scene-accent-soft: #d8d1c9;
  --scene-sun: #ece4dc;
}

body[data-state="empty"] .diorama {
  filter: saturate(0.2);
}

body[data-state="empty"] .scene-card__badge-shell {
  background: linear-gradient(180deg, #f0ebe4 0%, #dfd7cc 100%);
}

body[data-state="empty"] .scene-card__badge span {
  background: rgba(139, 134, 128, 0.92);
}

body[data-state="empty"] .spotlight {
  border-bottom-color: #dfd7cc;
}

body[data-state="error"] .scene-card,
body[data-state="empty"] .scene-card {
  box-shadow: var(--shadow-soft);
}

@keyframes rise {
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

@keyframes shimmer {
  0% {
    background-position: 200% 0;
  }
  100% {
    background-position: -40% 0;
  }
}

@keyframes drift {
  0%,
  100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(18px);
  }
}

@keyframes pulse {
  0%,
  100% {
    transform: scale(0.88);
    opacity: 0.7;
  }
  50% {
    transform: scale(1.15);
    opacity: 1;
  }
}

@keyframes bob {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

@keyframes bike-bob {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-4px);
  }
}

@keyframes echo {
  0%,
  100% {
    opacity: 0.28;
    transform: translate(-50%, -50%) scale(0.94);
  }
  50% {
    opacity: 0.08;
    transform: translate(-50%, -50%) scale(1.12);
  }
}

@media (max-width: 420px) {
  .shell {
    padding-inline: 14px;
  }

  .brand-lockup h1 {
    font-size: 28px;
  }

  .hero__copy h2 {
    font-size: 32px;
  }

  .scene-card__badge-shell {
    width: 84px;
    height: 84px;
  }

  .scene-card__plate {
    min-height: 284px;
  }

  .section-heading h3 {
    font-size: 22px;
  }

  .rank-card {
    grid-template-columns: 48px 54px 1fr;
    gap: 12px;
  }

  .rank-card__index {
    width: 48px;
    height: 48px;
    font-size: 18px;
  }

  .rank-card__mascot-shell {
    width: 54px;
    height: 54px;
  }
}

@media (min-width: 760px) {
  .shell {
    width: min(100%, 1120px);
    padding-bottom: 120px;
  }

  .hero {
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    align-items: center;
    gap: 34px;
  }

  .ranking-list {
    grid-template-columns: 1fr 1fr;
  }

  .rank-card:first-child {
    grid-column: 1 / -1;
  }

  .notes {
    max-width: 720px;
  }

  .control-dock {
    width: min(calc(100% - 40px), 420px);
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
