:root {
  --bg: #f4f7fb;
  --bg-soft: #eef3fb;
  --surface: #ffffff;
  --ink: #101828;
  --muted: #667085;
  --line: #e6ebf4;
  --brand: #3b6cff;
  --brand-2: #5b82ff;
  --brand-soft: #eef2ff;
  --gold: #d7a441;
  --gold-soft: #fff6e3;
  --ok: #12b76a;
  --danger: #d92d20;
  --shadow: 0 10px 30px rgba(16, 24, 40, .06);
  --shadow-lg: 0 18px 50px rgba(16, 24, 40, .08);
  --radius: 18px;
  --radius-sm: 14px;
  color-scheme: light;
}

:root[data-theme="dark"] {
  --bg: #0b1220;
  --bg-soft: #10192c;
  --surface: #141c2e;
  --ink: #f4f7fb;
  --muted: #98a2b3;
  --line: #243049;
  --brand: #4d7cff;
  --brand-2: #6d93ff;
  --brand-soft: #1a2744;
  --gold: #f0c15a;
  --gold-soft: #2a2414;
  --ok: #32d583;
  --danger: #f97066;
  --shadow: 0 10px 30px rgba(0, 0, 0, .28);
  --shadow-lg: 0 18px 50px rgba(0, 0, 0, .36);
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--bg); }
body {
  margin: 0;
  overflow-x: hidden;
  background: var(--bg);
  color: var(--ink);
  font-family: "Segoe UI", "SF Pro Display", "Avenir Next", "Helvetica Neue", sans-serif;
  font-size: 16px;
  line-height: 1.55;
}
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
button, select { cursor: pointer; }
img { display: block; max-width: 100%; }
svg { display: block; flex: none; }

.shell { width: calc(100% - 48px); margin-inline: auto; }
.skip-link { position: fixed; left: 12px; top: -80px; z-index: 100; background: var(--brand); color: #fff; padding: 12px 18px; border-radius: 12px; font-weight: 700; }
.skip-link:focus { top: 12px; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: color-mix(in srgb, var(--bg) 86%, transparent);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
}
.header-scroll { width: 100%; overflow-x: auto; scrollbar-width: none; }
.header-scroll::-webkit-scrollbar { display: none; }
.header-inner {
  min-height: 76px;
  display: flex;
  align-items: center;
  gap: 28px;
  min-width: max-content;
  padding-inline: 24px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-size: 1.12rem;
  font-weight: 800;
  letter-spacing: -.03em;
}
.brand img { width: 32px; height: 32px; }
.main-nav { display: flex; align-items: center; gap: 22px; }
.main-nav a, .nav-drop summary {
  color: var(--muted);
  text-decoration: none;
  font-size: .95rem;
  font-weight: 600;
  white-space: nowrap;
  background: none;
  border: 0;
  padding: 0;
  list-style: none;
  cursor: pointer;
}
.nav-drop summary::-webkit-details-marker { display: none; }
.main-nav a:hover, .main-nav a[aria-current="page"], .nav-drop summary:hover, .nav-drop summary[aria-current="page"] { color: var(--brand); }
.nav-drop { position: relative; }
.nav-drop form {
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  z-index: 30;
  min-width: 220px;
  padding: 12px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: var(--shadow-lg);
}
.header-tools { display: flex; align-items: center; gap: 12px; margin-left: auto; }
.nav-filter { display: flex; align-items: center; }
.header-select-wrap {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-size: .95rem;
  font-weight: 600;
  white-space: nowrap;
}
.header-select-wrap select {
  border: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  max-width: 148px;
  padding: 4px 0;
}
.header-select-wrap:has(select[aria-current="true"]) { color: var(--brand); }
.lang-switch {
  display: flex;
  align-items: center;
  gap: 2px;
  padding: 3px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--bg-soft);
}
.lang-switch a {
  min-width: 36px;
  padding: 7px 9px;
  border-radius: 9px;
  color: var(--muted);
  text-decoration: none;
  text-align: center;
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .04em;
}
.lang-switch a:hover, .lang-switch a[aria-current="page"] { background: var(--brand); color: #fff; }
.theme-toggle {
  position: relative;
  width: 74px;
  height: 38px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--bg-soft);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 10px;
  color: var(--muted);
}
.theme-knob {
  position: absolute;
  top: 3px;
  left: 3px;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--surface);
  box-shadow: var(--shadow);
  transition: transform .2s ease;
}
:root[data-theme="dark"] .theme-knob { transform: translateX(36px); }
.theme-toggle svg:last-of-type { color: var(--gold); }
:root[data-theme="dark"] .theme-toggle svg:first-of-type { color: var(--brand-2); }

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 12px 20px;
  border: 0;
  border-radius: 14px;
  text-decoration: none;
  font-weight: 700;
  white-space: nowrap;
  transition: transform .16s ease, box-shadow .16s ease, background .16s ease;
}
.button-primary {
  background: linear-gradient(180deg, var(--brand-2), var(--brand));
  color: #fff;
  box-shadow: 0 10px 22px rgba(59, 108, 255, .28);
}
.button-primary:hover { transform: translateY(-1px); }
.button-small { min-height: 42px; padding: 8px 16px; font-size: .92rem; }
.button-wide { width: 100%; }
.button-ghost, .button-outline {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--line);
}
.button-claim { min-height: 58px; padding-inline: 26px; font-size: 1.02rem; border-radius: 16px; }
.button:disabled { opacity: .55; cursor: wait; transform: none; }
.button:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible, summary:focus-visible, button:focus-visible {
  outline: 3px solid color-mix(in srgb, var(--brand) 55%, transparent);
  outline-offset: 2px;
}

.page-home {
  --bg: #070b16;
  --bg-soft: #10182a;
  --surface: #121a2b;
  --ink: #f4f7fb;
  --muted: #9aa6bd;
  --line: #243049;
  background: #070b16;
  color: #f4f7fb;
}
.page-home .site-header {
  background: color-mix(in srgb, #070b16 70%, transparent);
  border-bottom-color: rgba(255,255,255,.06);
}
.stage { position: relative; isolation: isolate; min-height: calc(100vh - 76px); padding: 18px 0 140px; overflow: hidden; }
.orbit {
  --orbit-hue: 208;
  --orbit-t: 0;
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  color: #d7e3ff;
  transition: --orbit-hue .6s ease;
}
.orbit-stars { position: absolute; inset: 0; width: 100%; height: 100%; opacity: .7; }
.star-field circle { animation: twinkle 3.6s ease-in-out infinite; }
.star-field circle:nth-child(3n) { animation-delay: .6s; }
.star-field circle:nth-child(4n) { animation-delay: 1.4s; }
.orbit-moon {
  position: absolute;
  left: 50%;
  top: 4%;
  width: 168px;
  transform: translateX(-50%) translateY(calc(var(--orbit-t) * 18px));
  transition: transform .45s ease, filter .45s ease;
  filter: hue-rotate(calc((42 - var(--orbit-hue)) * 1deg)) drop-shadow(0 0 28px hsla(var(--orbit-hue), 80%, 70%, .35));
}
.orbit.is-peak .orbit-moon { width: 196px; top: 1%; }
.moon-halo {
  position: absolute;
  inset: -18%;
  border-radius: 50%;
  background: radial-gradient(circle, hsla(var(--orbit-hue), 90%, 80%, .28), transparent 68%);
  animation: pulse-orbit 4.8s ease-in-out infinite;
}
.orbit-moon svg { position: relative; width: 100%; height: auto; }
.moon-face { transform-origin: 100px 100px; animation: spin-slow 48s linear infinite; }
.orbit-earth {
  position: absolute;
  left: 50%;
  bottom: -8%;
  width: 140%;
  transform: translateX(-50%) translateY(calc(var(--orbit-t) * -16px)) scale(calc(1 + var(--orbit-t) * .06));
  transition: transform .45s ease, filter .45s ease;
  filter: hue-rotate(calc((208 - var(--orbit-hue)) * -1deg));
}
.earth-halo {
  position: absolute;
  left: 10%;
  right: 10%;
  bottom: 18%;
  height: 40%;
  border-radius: 50%;
  background: radial-gradient(ellipse at center, hsla(var(--orbit-hue), 90%, 62%, .28), transparent 70%);
}
.orbit-earth svg { width: 100%; height: auto; display: block; }
.earth-spin { transform-origin: 300px 250px; animation: drift 36s linear infinite; }
.orbit.is-peak { --orbit-hue: 42; }
.orbit.is-floor { --orbit-hue: 198; }
@keyframes spin-slow { to { transform: rotate(360deg); } }
@keyframes drift { from { transform: translateX(-40px); } to { transform: translateX(40px); } }
@keyframes twinkle { 50% { opacity: .25; } }
@keyframes pulse-orbit { 50% { transform: scale(1.08); opacity: .7; } }
.ladder {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: calc(100% - 40px);
  margin-inline: auto;
  padding-top: 86px;
}
.stage-intro { text-align: center; padding-top: 8px; }
.stage-intro h1, .page-hero h1, .claim-summary h1, .profile-identity h1, .content-page h1, .not-found h1 {
  margin: 0;
  font-size: clamp(2.4rem, 5vw, 3.6rem);
  font-weight: 750;
  letter-spacing: -.045em;
  line-height: 1.08;
}
.stage-intro h1 em { color: var(--brand); font-style: normal; }
.hero-lede, .page-hero > p, .content-intro { margin: 12px 0 0; color: var(--muted); font-size: 1.05rem; }
.protect-note {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 16px 0 0;
  color: var(--muted);
  font-size: .92rem;
}
.protect-note svg { color: var(--ok); }
.trust-bar {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px 16px;
  margin: 46px 0 0;
  padding: 18px;
  list-style: none;
  background: color-mix(in srgb, var(--surface) 82%, transparent);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.trust-bar li { display: flex; gap: 10px; align-items: flex-start; }
.trust-bar svg { color: var(--brand); margin-top: 2px; }
.trust-bar strong { display: block; font-size: .92rem; }
.trust-bar span { color: var(--muted); font-size: .82rem; }

.board-card, .panel, .preview-card, .claim-summary, .claim-form-wrap, .profile-header, .profile-orbit {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 22px;
  box-shadow: var(--shadow);
}
.stage-board { width: 100%; padding-top: 8px; }
.filter-panel { margin: 0 0 14px; }
.filter-panel.is-hidden { display: none; }
.filter-panel label, .claim-form label {
  display: flex;
  flex-direction: column;
  gap: 6px;
  color: var(--muted);
  font-size: .78rem;
  font-weight: 700;
}
.filter-panel select, .claim-form input, .claim-form select, .claim-form textarea {
  width: 100%;
  min-height: 48px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--bg);
  padding: 10px 13px;
  outline: none;
}
.claim-form textarea { min-height: 110px; resize: vertical; }

.rank-list, .empty-board { margin: 0 auto; padding: 0; list-style: none; display: grid; gap: 12px; width: 100%; }
.page-home .rank-list { width: min(560px, 100%); }
.rank-card, .rank-card-ghost {
  position: relative;
  display: grid;
  grid-template-columns: 42px 1fr auto auto;
  align-items: center;
  gap: 12px;
  min-height: 74px;
  padding: 10px 16px;
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 18px;
  background: rgba(16, 22, 38, .78);
  backdrop-filter: blur(10px);
}
.rank-card:not(:last-child)::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -13px;
  width: 2px;
  height: 12px;
  background: rgba(255,255,255,.16);
}
.rank-card-top, .rank-card-ghost {
  margin-top: -18px;
  margin-bottom: 18px;
  background: linear-gradient(180deg, rgba(240, 193, 90, .16), rgba(16, 22, 38, .88));
  border-color: rgba(240, 193, 90, .55);
  box-shadow: 0 10px 30px rgba(0,0,0,.25);
}
.rank-card-last {
  margin-top: 22px;
  background: linear-gradient(180deg, rgba(16, 22, 38, .7), rgba(47, 32, 18, .55));
  border-color: rgba(240, 193, 90, .28);
}
.rank-list-last { margin-top: 8px; }
.rank-card.is-selected { outline: 2px solid color-mix(in srgb, var(--brand) 45%, transparent); }
.rank-badge {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: var(--muted);
  font-weight: 800;
}
.rank-badge-gold { color: var(--gold); position: relative; }
.rank-badge-gold svg { position: absolute; top: -11px; color: var(--gold); }
.rank-badge-last { color: #c9a36a; }
.rank-flag { font-size: 1.15rem; }
.rank-mark { display: block; color: var(--gold); font-size: .68rem; font-weight: 700; letter-spacing: .02em; }
.rank-more {
  display: block;
  height: 1px;
  overflow: hidden;
  color: transparent;
  font-size: 0;
}
.rank-person { display: flex; align-items: center; gap: 12px; min-width: 0; text-decoration: none; }
.avatar img, .avatar-ghost { width: 52px; height: 52px; border-radius: 50%; object-fit: cover; background: var(--bg-soft); }
.rank-card-top .avatar img { width: 58px; height: 58px; }
.rank-copy { min-width: 0; }
.rank-copy strong, .preview-head h3, .podium strong {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 1rem;
  font-weight: 800;
}
.rank-copy strong em, .preview-head h3 em, .podium strong em, .profile-identity h1 em { font-style: normal; }
.rank-copy small, .rank-price small, .preview-head p, .podium small { color: var(--muted); font-size: .8rem; }
.rank-price { text-align: right; }
.rank-price strong { display: block; font-size: 1rem; }
.empty-board { padding: 4px; }

.stage-aside { display: grid; gap: 14px; }
.panel, .preview-card { padding: 16px; }
.panel-head, .price-row { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.panel-head h2, .price-panel h2, .preview-card h3 {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  font-size: .98rem;
}
.panel-head a { color: var(--brand); text-decoration: none; font-size: .84rem; font-weight: 700; white-space: nowrap; }
.panel-empty { margin: 12px 0 0; color: var(--muted); }
.podium { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin: 16px 0 0; padding: 0; list-style: none; }
.podium li { text-align: center; position: relative; }
.podium a { display: grid; justify-items: center; gap: 6px; text-decoration: none; }
.podium .avatar img { width: 58px; height: 58px; margin-inline: auto; }
.podium-place {
  position: absolute;
  left: 50%;
  top: -4px;
  transform: translateX(-50%);
  z-index: 1;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--brand);
  color: #fff;
  font-size: .68rem;
  font-weight: 800;
  display: grid;
  place-items: center;
}
.podium li:nth-child(2) .podium-place, .podium li:nth-child(3) .podium-place { background: var(--muted); }
.podium small { color: var(--brand); font-weight: 800; }

.preview-head { display: flex; gap: 14px; align-items: center; }
.avatar-ring { position: relative; }
.avatar-ring img { border: 3px solid var(--gold); }
.avatar-ring i {
  position: absolute;
  right: -2px;
  top: -2px;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--gold);
  color: #3b2a08;
}
.preview-card .avatar img { width: 76px; height: 76px; }
.verified { display: inline-flex; color: var(--brand); vertical-align: middle; }
.preview-bio { margin: 14px 0; color: var(--muted); }
.preview-empty { display: flex; gap: 12px; align-items: center; }
.avatar-ghost { width: 72px; height: 72px; border-radius: 50%; background: var(--bg-soft); }
.social-row { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.social-row a {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  background: var(--bg-soft);
  color: var(--ink);
  text-decoration: none;
}
.social-row .site-link { width: auto; padding: 0 10px; color: var(--brand); font-size: .86rem; font-weight: 700; }
.preview-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin: 16px 0 0;
}
.preview-stats > div, .profile-stats > div {
  display: grid;
  justify-items: center;
  gap: 4px;
  padding: 10px 6px;
  background: var(--bg);
  border-radius: 12px;
  text-align: center;
}
.preview-stats small, .profile-stats small { color: var(--muted); font-size: .72rem; }
.preview-stats svg, .profile-stats svg { color: var(--muted); }
.price-panel .price-row { margin: 10px 0 16px; }
.price-panel strong { display: block; font-size: 2rem; letter-spacing: -.04em; }
.price-panel small { color: var(--muted); }
.spark { color: var(--brand); }

.manifesto { position: relative; z-index: 1; padding: 48px 0 80px; }
.section-kicker, .eyebrow {
  margin: 0 0 12px;
  color: var(--brand);
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.manifesto h2 { margin: 0 0 24px; font-size: clamp(1.8rem, 4vw, 2.8rem); letter-spacing: -.04em; }
.manifesto-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.manifesto-grid article, .content-sections section {
  padding: 22px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.manifesto-grid span, .section-index { color: var(--brand); font-weight: 800; }
.manifesto-grid h3, .content-sections h2 { margin: 12px 0 10px; font-size: 1.25rem; }
.manifesto-grid p, .content-sections p, .content-sections li { color: var(--muted); }

.page-hero { padding: 56px 0 28px; }
.ranking-section { padding-bottom: 72px; }
.time-ranking .board-card { padding: 16px; }

.claim-layout { display: grid; grid-template-columns: .85fr 1.15fr; gap: 18px; padding: 36px 0 80px; }
.claim-summary, .claim-form-wrap { padding: 32px; }
.price-stamp { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 6px 12px; margin: 28px 0; padding: 16px 0; border-block: 1px solid var(--line); }
.price-stamp strong { grid-row: span 2; font-size: 2rem; }
.price-stamp span { color: var(--brand); font-size: .78rem; font-weight: 800; }
.claim-summary ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 10px; }
.claim-summary li { display: flex; gap: 8px; align-items: flex-start; color: var(--muted); }
.claim-summary li svg { color: var(--ok); }
.claim-form { display: flex; flex-direction: column; gap: 18px; }
.field-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.social-fields { margin: 0; padding: 16px; border: 1px solid var(--line); border-radius: 14px; }
.social-fields legend { padding: 0 8px; color: var(--muted); font-size: .78rem; font-weight: 800; }
.check-label { display: grid !important; grid-template-columns: 22px 1fr; align-items: start; font-size: .95rem !important; font-weight: 500 !important; color: var(--ink) !important; }
.check-label input { width: 18px; min-height: 18px; margin-top: 3px; }
.notice { border-left: 4px solid var(--brand); background: var(--bg); padding: 16px 18px; margin-bottom: 18px; border-radius: 12px; }
.notice-success { border-color: var(--ok); }
.notice p { margin: 6px 0 0; color: var(--muted); }
.launch-locked { text-align: center; padding: 48px 10px; }
.launch-locked svg { margin-inline: auto; color: var(--brand); width: 36px; height: 36px; }
.form-status { min-height: 24px; margin: 0; color: var(--danger); font-weight: 700; }

.profile-page { padding: 36px 0 80px; }
.profile-header { display: grid; grid-template-columns: 190px 1fr auto; align-items: center; gap: 28px; padding: 28px; }
.profile-avatar img { width: 160px; height: 160px; }
.profile-identity h1 { font-size: clamp(2.4rem, 5vw, 4rem); }
.profile-identity > p:last-child { color: var(--muted); }
.profile-stats { display: flex; gap: 10px; }
.profile-stats > div { min-width: 120px; padding: 14px; }
.profile-content { display: grid; grid-template-columns: 1.2fr .8fr; gap: 22px; padding-block: 22px; }
.profile-bio { color: var(--muted); font-size: 1.15rem; }
.profile-dates { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 24px 0; }
.profile-dates dt { color: var(--muted); font-size: .78rem; text-transform: uppercase; letter-spacing: .06em; }
.profile-dates dd { margin: 4px 0 0; font-weight: 700; }
.profile-orbit { position: relative; overflow: hidden; min-height: 280px; }
.profile-orbit .earth-photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; mask-image: none; -webkit-mask-image: none; opacity: .85; }
.profile-orbit strong, .profile-orbit small { position: relative; z-index: 1; color: #fff; }
.profile-orbit strong { position: absolute; left: 22px; bottom: 42px; font-size: 4.4rem; line-height: .85; }
.profile-orbit small { position: absolute; left: 22px; bottom: 18px; }
.video-section { padding-top: 12px; }
.video-frame { aspect-ratio: 16 / 9; margin-top: 16px; border: 1px solid var(--line); border-radius: 18px; overflow: hidden; box-shadow: var(--shadow); }
.video-frame iframe { width: 100%; height: 100%; border: 0; }

.content-page { padding: 64px 0 90px; }
.content-page > header { padding-bottom: 28px; }
.content-sections { display: grid; gap: 14px; }
.content-sections ul { padding-left: 18px; }
.sitemap-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 28px; }
.sitemap-grid a {
  display: flex;
  justify-content: space-between;
  padding: 18px 16px;
  text-decoration: none;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 14px;
  font-weight: 700;
}
.sitemap-grid a:hover { background: var(--brand-soft); color: var(--brand); }

.not-found { min-height: 70vh; display: flex; flex-direction: column; align-items: flex-start; justify-content: center; position: relative; }
.lost-orbit { display: flex; align-items: center; gap: 12px; color: color-mix(in srgb, var(--ink) 18%, transparent); font-size: 5rem; font-weight: 800; }
.lost-orbit img { width: 72px; height: 72px; border-radius: 50%; }
.not-found .button { margin-top: 22px; }

.site-footer { border-top: 1px solid var(--line); background: color-mix(in srgb, var(--bg) 70%, var(--surface)); }
.footer-grid { min-height: 180px; display: grid; grid-template-columns: 1.2fr 1.4fr auto; align-items: center; gap: 32px; }
.footer-mission { display: flex; gap: 12px; align-items: center; }
.footer-mission strong { display: block; }
.footer-mission p { margin: 4px 0 0; color: var(--muted); }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 10px 20px; }
.site-footer nav a { color: var(--muted); text-decoration: none; font-size: .9rem; }
.copyright { color: var(--muted); font-size: .82rem; }
.pagination { display: flex; justify-content: center; padding: 16px 0 6px; }

.profile-sheet {
  width: min(720px, calc(100% - 24px));
  max-height: calc(100vh - 48px);
  margin: auto;
  padding: 28px 22px 22px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: var(--surface);
  color: var(--ink);
  box-shadow: var(--shadow-lg);
}
.profile-sheet::backdrop { background: rgba(5, 8, 16, .62); }
.sheet-close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 50%;
  background: var(--bg-soft);
  color: var(--ink);
  font-size: 1.4rem;
  line-height: 1;
}
.profile-sheet .profile-page { padding: 8px 0 0; }
.page-home .button-claim { margin-top: 28px; min-width: 260px; }

@media (max-width: 1100px) {
  .orbit-earth { width: 170%; }
}

@media (max-width: 900px) {
  .shell { width: calc(100% - 28px); }
  .header-inner { gap: 16px; min-height: 68px; padding-inline: 16px; }
  .claim-layout, .profile-header, .profile-content, .manifesto-grid, .footer-grid, .sitemap-grid { grid-template-columns: 1fr; }
  .trust-bar { grid-template-columns: 1fr 1fr; }
  .profile-stats { justify-content: stretch; }
}

@media (max-width: 720px) {
  .stage-intro { padding-top: 16px; }
  .stage-intro h1 { font-size: 2.2rem; }
  .hero-lede { font-size: 1rem; }
  .field-grid, .preview-stats, .profile-dates { grid-template-columns: 1fr; }
  .rank-card { grid-template-columns: 36px 1fr auto; padding: 10px; }
  .rank-flag { display: none; }
  .podium { gap: 4px; }
  .orbit-moon { width: 120px; }
  .orbit-earth { width: 190%; bottom: -6%; }
  .ladder { padding-top: 56px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation: none !important; transition: none !important; }
}
