/*!*************************************************************************************************************************************************************************************************************************************************************!*\
  !*** css ./node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[13].oneOf[12].use[2]!./node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[13].oneOf[12].use[3]!./app/globals.css ***!
  \*************************************************************************************************************************************************************************************************************************************************************/
:root {
  --bg-base: #140d2d;
  --bg-deep: #0f0921;
  --bg-panel: rgba(36, 20, 75, 0.78);
  --bg-panel-strong: rgba(27, 15, 56, 0.96);
  --bg-soft: rgba(76, 40, 134, 0.45);
  --border: rgba(137, 92, 255, 0.28);
  --border-strong: rgba(202, 97, 255, 0.52);
  --text-main: #fcfbff;
  --text-soft: #d6c9f3;
  --text-muted: #a896d9;
  --primary: #ff4ecd;
  --primary-strong: #d734ff;
  --secondary: #7d7cff;
  --accent: #ffc857;
  --accent-soft: #ff9b63;
  --success: #46d39a;
  --danger: #ff6b8e;
  --shadow-card: 0 22px 60px rgba(0, 0, 0, 0.34);
  --radius-xl: 32px;
  --radius-lg: 24px;
  --radius-md: 18px;
  --radius-sm: 14px;
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 24px;
  --space-6: 32px;
  --max-width: 1200px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  color: var(--text-main);
  font-family: Inter, "Helvetica Neue", Arial, "PingFang SC", sans-serif;
  background:
    radial-gradient(circle at 15% 18%, rgba(214, 52, 255, 0.16), transparent 22%),
    radial-gradient(circle at 82% 14%, rgba(125, 124, 255, 0.18), transparent 26%),
    radial-gradient(circle at 65% 72%, rgba(255, 76, 205, 0.12), transparent 28%),
    linear-gradient(180deg, #23103f 0%, #160c2f 44%, #0f0921 100%);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 10% 20%, rgba(255, 255, 255, 0.12) 1px, transparent 2px),
    radial-gradient(circle at 35% 60%, rgba(255, 255, 255, 0.08) 1px, transparent 2px),
    radial-gradient(circle at 72% 30%, rgba(255, 255, 255, 0.1) 1px, transparent 2px),
    radial-gradient(circle at 88% 70%, rgba(255, 255, 255, 0.07) 1px, transparent 2px);
  background-size: 360px 360px, 420px 420px, 320px 320px, 480px 480px;
  opacity: 0.9;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input {
  font: inherit;
}

button:focus-visible,
input:focus-visible,
a:focus-visible {
  outline: 3px solid rgba(255, 200, 87, 0.95);
  outline-offset: 3px;
}

main {
  position: relative;
  z-index: 1;
}

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: var(--space-5);
}

.page-shell {
  display: grid;
  grid-gap: var(--space-5);
  gap: var(--space-5);
}

.section-stack {
  display: grid;
  grid-gap: 20px;
  gap: 20px;
}

.split-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(280px, 0.75fr);
  grid-gap: 20px;
  gap: 20px;
  align-items: start;
}

.metrics-column {
  display: grid;
  grid-gap: 16px;
  gap: 16px;
}

.flow-grid-three {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-gap: 16px;
  gap: 16px;
}

.flow-grid-two {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-gap: 16px;
  gap: 16px;
}

.flow-card {
  position: relative;
  overflow: hidden;
  padding: 24px;
  border-radius: var(--radius-xl);
  border: 1px solid var(--border);
  background: linear-gradient(180deg, rgba(33, 19, 68, 0.95), rgba(20, 12, 45, 0.92));
  box-shadow: var(--shadow-card);
}

.flow-card.soft {
  background: linear-gradient(180deg, rgba(53, 28, 96, 0.92), rgba(22, 11, 43, 0.92));
}

.flow-card.primary {
  background: linear-gradient(180deg, rgba(215, 52, 255, 0.18), rgba(31, 16, 57, 0.95));
}

.flow-card.secondary {
  background: linear-gradient(180deg, rgba(86, 88, 255, 0.16), rgba(22, 11, 43, 0.95));
}

.flow-card::before {
  content: "";
  position: absolute;
  inset: auto auto -25% -6%;
  width: 220px;
  height: 140px;
  background: radial-gradient(circle at center, rgba(183, 74, 255, 0.2), transparent 70%);
  pointer-events: none;
}

.hero-shell {
  display: grid;
  grid-gap: 18px;
  gap: 18px;
}

.metric-panel {
  padding: 22px;
  border-radius: 22px;
}

.rail-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-gap: 16px;
  gap: 16px;
}

.feature-list {
  display: grid;
  grid-gap: 16px;
  gap: 16px;
}

.feature-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  grid-gap: 20px;
  gap: 20px;
  align-items: start;
  padding: 24px;
  border-radius: 24px;
  border: 1px solid var(--border);
  background: linear-gradient(180deg, rgba(33, 19, 68, 0.95), rgba(20, 12, 45, 0.92));
  box-shadow: var(--shadow-card);
}

.projects-page .feature-row,
.cities-page .feature-row {
  position: relative;
  overflow: hidden;
  transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
}

.projects-page .feature-row {
  border-radius: 28px;
  border: 1px solid rgba(149, 132, 255, 0.18);
  background:
    linear-gradient(180deg, rgba(26, 18, 56, 0.96), rgba(15, 10, 32, 0.95)),
    radial-gradient(circle at 14% 16%, rgba(56, 189, 248, 0.14), transparent 30%),
    radial-gradient(circle at 84% 24%, rgba(244, 114, 182, 0.08), transparent 26%);
}

.projects-page .feature-row::before {
  content: "";
  position: absolute;
  inset: auto auto -42px -42px;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(56, 189, 248, 0.14), transparent 68%);
  pointer-events: none;
}

.projects-page .feature-row::after {
  content: "";
  position: absolute;
  top: 24px;
  right: 24px;
  width: 120px;
  height: 1px;
  background: linear-gradient(90deg, rgba(56, 189, 248, 0.42), transparent);
  opacity: 0.7;
  pointer-events: none;
}

.projects-page .feature-main {
  position: relative;
}

.projects-page .feature-main::before {
  content: "";
  position: absolute;
  left: -24px;
  top: 0;
  width: 3px;
  height: calc(100% - 4px);
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(250, 204, 21, 0.9), rgba(56, 189, 248, 0.72));
  opacity: 0.72;
}

.projects-page .feature-side {
  display: grid;
  align-content: space-between;
  justify-items: end;
  grid-gap: 16px;
  gap: 16px;
  min-width: 220px;
}

.projects-page .feature-row:nth-child(3n + 1) .feature-main::before {
  background: linear-gradient(180deg, rgba(56, 189, 248, 0.9), rgba(96, 165, 250, 0.42));
}

.projects-page .feature-row:nth-child(3n + 2) .feature-main::before {
  background: linear-gradient(180deg, rgba(244, 114, 182, 0.84), rgba(168, 85, 247, 0.44));
}

.projects-page .feature-row:nth-child(3n + 3) .feature-main::before {
  background: linear-gradient(180deg, rgba(250, 204, 21, 0.88), rgba(244, 114, 182, 0.42));
}

.projects-page .feature-row:hover {
  transform: translateY(-4px);
  border-color: rgba(144, 201, 255, 0.42);
  box-shadow:
    0 30px 70px rgba(0, 0, 0, 0.38),
    0 0 32px rgba(103, 223, 255, 0.14);
}

.cities-page .feature-row {
  grid-template-columns: minmax(0, 1fr) 180px;
  align-items: center;
  border-radius: 26px;
  border: 1px solid rgba(150, 181, 255, 0.16);
  background:
    linear-gradient(180deg, rgba(18, 12, 40, 0.96), rgba(13, 9, 28, 0.96)),
    radial-gradient(circle at 12% 22%, rgba(168, 85, 247, 0.1), transparent 28%);
}

.cities-page .feature-row::before {
  content: "";
  position: absolute;
  left: 22px;
  top: 22px;
  bottom: 22px;
  width: 1px;
  background: linear-gradient(180deg, rgba(56, 189, 248, 0.44), rgba(244, 114, 182, 0.1), transparent);
  opacity: 0.75;
}

.cities-page .feature-row::after {
  content: "";
  position: absolute;
  left: 18px;
  top: 24px;
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: #38bdf8;
  box-shadow: 0 0 18px rgba(56, 189, 248, 0.7);
}

.cities-page .feature-main {
  padding-left: 18px;
}

.cities-page .feature-side {
  display: grid;
  align-content: center;
  justify-items: end;
  grid-gap: 10px;
  gap: 10px;
}

.cities-page .feature-row:nth-child(odd) {
  margin-left: 14px;
}

.cities-page .feature-row:nth-child(even) {
  margin-right: 14px;
}

.cities-page .feature-row:hover {
  transform: translateY(-3px);
  border-color: rgba(125, 124, 255, 0.3);
  box-shadow:
    0 26px 64px rgba(0, 0, 0, 0.34),
    0 0 26px rgba(125, 124, 255, 0.14);
}

.rankings-ref-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  grid-gap: 24px;
  gap: 24px;
  align-items: start;
}

.rankings-ref-main {
  display: grid;
  grid-gap: 32px;
  gap: 32px;
  min-width: 0;
}

.rankings-ref-hero {
  display: grid;
  grid-gap: 26px;
  gap: 26px;
}

.rankings-ref-title {
  margin: 0;
  font-size: clamp(34px, 4vw, 58px);
  line-height: 1.1;
  letter-spacing: -0.05em;
}

.rankings-ref-subtitle {
  margin: 0;
  max-width: 760px;
  color: var(--text-soft);
  font-size: 17px;
  line-height: 1.7;
}

.rankings-ref-tabbar {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.rankings-ref-tabs {
  display: flex;
  gap: 28px;
  overflow-x: auto;
}

.rankings-ref-tab {
  display: inline-flex;
  align-items: center;
  padding: 0 0 16px;
  border-bottom: 2px solid transparent;
  color: var(--text-soft);
  font-size: 15px;
  font-weight: 600;
  white-space: nowrap;
}

.rankings-ref-tab.active {
  color: var(--primary);
  border-color: var(--primary);
}

.rankings-ref-apply {
  min-height: 40px;
  margin-bottom: 12px;
  padding: 0 22px;
  border: 0;
  border-radius: 12px;
  background: linear-gradient(135deg, #ca60ff 0%, #fc30de 100%);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  box-shadow: 0 18px 36px rgba(215, 52, 255, 0.18);
  cursor: pointer;
}

.rankings-ref-filter {
  display: grid;
  grid-gap: 22px;
  gap: 22px;
}

.rankings-ref-filter-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
}

.rankings-ref-filter-title {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin: 0;
  font-size: 28px;
  font-weight: 700;
}

.rankings-ref-filter-title > span:first-child {
  background: linear-gradient(to right, #e9b3ff, #fface7);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.rankings-ref-filter-title .divider {
  color: rgba(255, 255, 255, 0.28);
}

.rankings-ref-filter-title .date {
  color: var(--text-soft);
  font-size: 17px;
  font-weight: 500;
}

.rankings-ref-filter-mode {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  padding: 4px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.04);
}

.rankings-ref-filter-mode span,
.rankings-ref-filter-mode a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 0 12px;
  border-radius: 8px;
  color: var(--text-soft);
  font-size: 13px;
  font-weight: 600;
}

.rankings-ref-filter-mode .active {
  background: rgba(189, 52, 254, 0.22);
  color: #fff;
}

.rankings-ref-periods {
  display: flex;
  gap: 28px;
  overflow-x: auto;
}

.rankings-ref-period {
  color: var(--text-soft);
  font-size: 14px;
  font-weight: 600;
  white-space: nowrap;
}

.rankings-ref-period.active {
  color: var(--primary);
}

.rankings-ref-datebar {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 14px;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(255, 255, 255, 0.02);
  overflow: hidden;
}

.rankings-ref-date-arrow {
  width: 32px;
  height: 32px;
  flex-shrink: 0;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: var(--text-main);
  font-size: 24px;
  cursor: pointer;
}

.rankings-ref-date-arrow.disabled {
  color: rgba(255, 255, 255, 0.28);
  cursor: not-allowed;
  pointer-events: none;
}

.rankings-ref-date-scroll {
  display: flex;
  gap: 4px;
  overflow-x: auto;
  flex: 1 1;
  min-width: 0;
  max-width: 100%;
}

.rankings-ref-date-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: auto;
  min-width: 72px;
  padding: 0 12px;
  height: 36px;
  flex-shrink: 0;
  border-radius: 10px;
  color: var(--text-soft);
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
}

.rankings-ref-datebar-week .rankings-ref-date-pill {
  min-width: 116px;
  max-width: 136px;
  overflow: hidden;
  text-overflow: ellipsis;
}

.rankings-ref-datebar-day .rankings-ref-date-pill {
  min-width: 56px;
  max-width: 72px;
}

.rankings-ref-date-pill.active {
  background: var(--primary);
  color: #fff;
  box-shadow: 0 0 15px rgba(189, 52, 254, 0.4);
}

.rankings-ref-date-pill.disabled {
  color: rgba(255, 255, 255, 0.32);
  background: transparent;
  pointer-events: none;
  cursor: not-allowed;
}

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

.rankings-ref-item {
  position: relative;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  grid-gap: 20px;
  gap: 20px;
  padding: 28px 20px;
  border-radius: 22px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background:
    linear-gradient(180deg, rgba(26, 18, 52, 0.84), rgba(14, 10, 30, 0.88)),
    radial-gradient(circle at 82% 16%, rgba(189, 52, 254, 0.08), transparent 32%);
  transition: border-color 180ms ease, transform 180ms ease, box-shadow 180ms ease;
}

.rankings-ref-item-icon {
  width: 64px;
  height: 64px;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  font-weight: 800;
}

.rankings-ref-item-icon.tone-1 {
  background: linear-gradient(135deg, rgba(189, 52, 254, 0.28), rgba(252, 48, 222, 0.16));
  color: #f1c8ff;
}

.rankings-ref-item-icon.tone-2 {
  background: linear-gradient(135deg, rgba(103, 223, 255, 0.2), rgba(125, 124, 255, 0.18));
  color: #ccefff;
}

.rankings-ref-item-icon.tone-3 {
  background: linear-gradient(135deg, rgba(255, 200, 87, 0.2), rgba(189, 52, 254, 0.16));
  color: #ffe1ac;
}

.rankings-ref-item-main {
  min-width: 0;
  display: grid;
  grid-gap: 10px;
  gap: 10px;
}

.rankings-ref-item-title-row {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.rankings-ref-rank {
  color: rgba(255, 255, 255, 0.4);
  font-size: 12px;
}

.rankings-ref-item-title {
  margin: 0;
  font-size: 16px;
  font-weight: 700;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.rankings-ref-item-link {
  color: inherit;
}

.rankings-ref-item-summary {
  margin: 0;
  color: var(--text-soft);
  font-size: 14px;
  line-height: 1.6;
}

.rankings-ref-item-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}

.rankings-ref-meta-chip,
.rankings-ref-meta-note {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 0 10px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text-soft);
  font-size: 11px;
}

.rankings-ref-item-score {
  width: 64px;
  height: 64px;
  display: grid;
  justify-items: center;
  align-content: center;
  grid-gap: 4px;
  gap: 4px;
  border-radius: 14px;
  border: 2px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.03);
}

.rankings-ref-item:hover {
  transform: translateY(-2px);
  border-color: rgba(189, 52, 254, 0.24);
  box-shadow:
    0 20px 40px rgba(0, 0, 0, 0.24),
    0 0 20px rgba(189, 52, 254, 0.12);
}

.rankings-ref-score-arrow {
  color: var(--text-soft);
  font-size: 14px;
}

.rankings-ref-item-score strong {
  font-size: 22px;
  line-height: 1;
}

.rankings-ref-more {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 56px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.03);
  color: var(--text-soft);
  font-size: 18px;
  font-weight: 700;
  cursor: pointer;
}

.rankings-ref-more[aria-disabled="true"] {
  opacity: 0.6;
  cursor: default;
  pointer-events: none;
}

.rankings-ref-sidebar {
  display: grid;
  grid-gap: 24px;
  gap: 24px;
  align-content: start;
}

.rankings-ref-overview {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-gap: 14px;
  gap: 14px;
  padding: 28px;
  border-radius: 24px;
  border: 1px solid rgba(189, 52, 254, 0.3);
  background:
    radial-gradient(circle at 18% 14%, rgba(189, 52, 254, 0.16), transparent 28%),
    linear-gradient(180deg, rgba(30, 22, 58, 0.94), rgba(17, 12, 36, 0.96));
  box-shadow: 0 0 20px rgba(189, 52, 254, 0.15);
}

.rankings-ref-overview-head,
.rankings-ref-overview-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.rankings-ref-overview-head {
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.rankings-ref-overview-value {
  font-size: 46px;
  line-height: 1.08;
  letter-spacing: -0.01em;
  font-feature-settings: "tnum";
  font-variant-numeric: tabular-nums;
}

.rankings-ref-overview-trend {
  color: var(--primary);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.rankings-ref-overview-progress {
  height: 8px;
  border-radius: 999px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.08);
}

.rankings-ref-overview-progress span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #bd34fe, #ff6fe2);
}

.rankings-ref-avatar-stack {
  display: flex;
  align-items: center;
  gap: 8px;
}

.rankings-ref-avatar-stack span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 28px;
  padding: 0 10px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.04);
  font-size: 11px;
}

.rankings-ref-overview-foot {
  color: var(--text-soft);
  font-size: 12px;
}

.rankings-ref-archive {
  display: grid;
  grid-gap: 14px;
  gap: 14px;
}

.rankings-ref-sidebar-title {
  margin: 0;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.rankings-ref-sidebar-title::before {
  content: "";
  width: 4px;
  height: 16px;
  border-radius: 999px;
  background: var(--primary);
}

.rankings-ref-archive-list {
  display: grid;
  grid-gap: 8px;
  gap: 8px;
}

.rankings-ref-archive-group {
  display: grid;
  grid-gap: 6px;
  gap: 6px;
}

.rankings-ref-archive-year {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 46px;
  padding: 0 14px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.03);
  color: var(--text-soft);
  font-size: 14px;
  font-weight: 700;
}

.rankings-ref-archive-year.active {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(189, 52, 254, 0.14);
}

.rankings-ref-archive-months {
  display: grid;
  grid-gap: 4px;
  gap: 4px;
  padding-left: 10px;
}

.rankings-ref-archive-month {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 34px;
  padding: 0 12px;
  border-radius: 10px;
  color: var(--text-soft);
  font-size: 13px;
}

.rankings-ref-archive-month::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.24);
}

.rankings-ref-archive-month.active {
  background: rgba(189, 52, 254, 0.08);
  border: 1px solid rgba(189, 52, 254, 0.14);
  color: var(--primary);
  font-weight: 700;
}

.rankings-ref-archive-month.active::before {
  background: var(--primary);
}

.rankings-ref-sidebar-foot {
  display: grid;
  grid-gap: 12px;
  gap: 12px;
  padding: 20px;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(255, 255, 255, 0.03);
  color: var(--text-soft);
  font-size: 12px;
  line-height: 1.8;
}

.rankings-ref-layout .empty-state {
  border-radius: 18px;
  border-color: rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.02);
}

.rankings-ref-sidebar-foot p {
  margin: 0;
}

.rankings-ref-sidebar-foot div {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

/* Rankings page: production SaaS layout */
.rankings-reference-page {
  min-height: 100vh;
  color: #f5f3ff;
  overflow-x: clip;
}

.rankings-app-header {
  background: transparent;
}

.rankings-app-shell {
  width: min(var(--max-width), calc(100% - (var(--space-5) * 2)));
  margin: 0 auto;
}

.rankings-app-content {
  padding: 26px 0 40px;
}

.rankings-ref-layout {
  grid-template-columns: minmax(0, 1fr) 280px;
  gap: 24px;
  align-items: start;
}

.rankings-ref-main {
  gap: 26px;
  min-width: 0;
  max-width: 860px;
  width: 100%;
}

.rankings-ref-sidebar {
  width: 280px;
  gap: 16px;
}

.rankings-ref-title {
  max-width: 720px;
  font-size: clamp(40px, 4.2vw, 48px);
  line-height: 1.12;
  letter-spacing: -0.03em;
  word-break: keep-all;
  overflow-wrap: normal;
}

.rankings-ref-subtitle {
  max-width: 720px;
  font-size: 16px;
  color: #b6a9cd;
  line-height: 1.65;
}

.rankings-ref-tabbar {
  padding-top: 6px;
}

.rankings-ref-tab {
  color: #b3a6c8;
}

.rankings-ref-filter {
  padding-top: 4px;
  max-width: 900px;
}

.rankings-ref-filter-head {
  align-items: center;
}

.rankings-ref-filter-title {
  font-size: 30px;
}

.rankings-ref-filter-title .date {
  font-size: 30px;
  color: #b9add0;
}

.rankings-ref-filter-mode {
  background: #1a1428;
  border: 1px solid rgba(192, 155, 255, 0.18);
}

.rankings-ref-filter-mode span,
.rankings-ref-filter-mode a {
  min-height: 32px;
}

.rankings-ref-datebar {
  min-height: 56px;
  border-color: rgba(195, 166, 255, 0.14);
  background: #121024;
  width: 100%;
  max-width: 900px;
}

.rankings-ref-list {
  gap: 12px;
  max-width: 900px;
}

.rankings-ref-item {
  min-height: 110px;
  padding: 20px;
  border-radius: 16px;
  border-color: rgba(186, 153, 247, 0.18);
  background:
    linear-gradient(180deg, rgba(23, 19, 34, 0.98), rgba(21, 17, 31, 0.98)),
    radial-gradient(circle at 85% 20%, rgba(208, 112, 255, 0.08), transparent 34%);
}

.rankings-ref-item-summary {
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.rankings-ref-item-score {
  width: 58px;
  height: 58px;
  border-radius: 12px;
}

.rankings-ref-item-score strong {
  font-size: 20px;
}

.rankings-ref-overview,
.rankings-ref-sidebar-foot {
  border-radius: 16px;
}

.rankings-ref-overview {
  padding: 20px;
  background:
    radial-gradient(circle at 16% 15%, rgba(217, 70, 239, 0.12), transparent 28%),
    linear-gradient(180deg, #1a1428 0%, #15111f 100%);
}

.rankings-ref-overview-value {
  font-size: 52px;
}

.rankings-ref-overview-trend {
  color: #c88cff;
}

.rankings-ref-overview-progress {
  background: rgba(255, 255, 255, 0.08);
}

.rankings-ref-archive-year,
.rankings-ref-sidebar-foot {
  background: #1a1428;
  border: 1px solid rgba(190, 157, 255, 0.14);
}

.rankings-ref-archive-month.active {
  background: rgba(217, 70, 239, 0.14);
  border-color: rgba(217, 70, 239, 0.25);
  color: #e48af7;
}

.rankings-cockpit {
  position: relative;
  overflow: hidden;
  padding: 24px;
  border-radius: 26px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background:
    radial-gradient(circle at 12% 8%, rgba(56, 189, 248, 0.08), transparent 22%),
    radial-gradient(circle at 86% 10%, rgba(244, 114, 182, 0.1), transparent 20%),
    linear-gradient(180deg, rgba(36, 20, 75, 0.58), rgba(16, 10, 36, 0.72));
  -webkit-backdrop-filter: blur(18px) saturate(130%);
          backdrop-filter: blur(18px) saturate(130%);
  box-shadow: var(--shadow-card);
}

.rankings-cockpit::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.04), transparent 24%, transparent 76%, rgba(255, 255, 255, 0.035)),
    linear-gradient(180deg, rgba(255, 255, 255, 0.06), transparent 22%);
}

.rankings-cockpit > * {
  position: relative;
  z-index: 1;
}

.rankings-cockpit .rankings-ref-layout {
  grid-template-columns: minmax(0, 1fr) 292px;
  gap: 22px;
}

.rankings-cockpit .rankings-ref-main {
  max-width: none;
}

.rankings-cockpit .rankings-ref-hero,
.rankings-cockpit .rankings-ref-filter {
  padding: 22px;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.07);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.025)),
    rgba(255, 255, 255, 0.02);
}

.rankings-cockpit .rankings-ref-title {
  font-size: 42px;
  letter-spacing: 0;
}

.rankings-cockpit .rankings-ref-datebar {
  max-width: none;
  border-color: rgba(149, 132, 255, 0.18);
  background: rgba(15, 9, 33, 0.62);
}

.rankings-cockpit .rankings-ref-list {
  max-width: none;
}

.rankings-cockpit .rankings-ref-item {
  border-radius: 18px;
  border-color: rgba(149, 132, 255, 0.16);
  background:
    linear-gradient(180deg, rgba(27, 18, 55, 0.86), rgba(14, 9, 31, 0.88)),
    radial-gradient(circle at 92% 18%, rgba(56, 189, 248, 0.06), transparent 28%);
}

.rankings-cockpit .rankings-ref-item:hover {
  border-color: rgba(144, 201, 255, 0.34);
  box-shadow:
    0 24px 54px rgba(0, 0, 0, 0.3),
    0 0 24px rgba(103, 223, 255, 0.1);
}

.rankings-cockpit .rankings-ref-sidebar {
  width: 292px;
  gap: 14px;
  padding: 16px;
  border-radius: 22px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background:
    linear-gradient(180deg, rgba(36, 20, 75, 0.66), rgba(14, 9, 31, 0.72)),
    rgba(255, 255, 255, 0.025);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.rankings-control-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 4px;
}

.rankings-control-head strong {
  color: #f5f3ff;
  font-size: 13px;
}

.rankings-cockpit .rankings-ref-overview {
  padding: 18px;
  border-radius: 20px;
  border: 1px solid rgba(149, 132, 255, 0.22);
  background:
    radial-gradient(circle at 18% 12%, rgba(56, 189, 248, 0.12), transparent 26%),
    radial-gradient(circle at 86% 10%, rgba(244, 114, 182, 0.14), transparent 26%),
    linear-gradient(180deg, rgba(43, 25, 87, 0.78), rgba(18, 11, 39, 0.9));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.06),
    0 18px 42px rgba(0, 0, 0, 0.28),
    0 0 24px rgba(189, 52, 254, 0.08);
}

.rankings-cockpit .rankings-ref-overview-head {
  justify-content: center;
  color: #d8f3ff;
  letter-spacing: 0.08em;
}

.rankings-cockpit .rankings-ref-overview-value {
  text-align: center;
  font-size: 48px;
  line-height: 1.05;
  color: #fff;
  text-shadow: 0 0 18px rgba(255, 78, 205, 0.22);
}

.rankings-cockpit .rankings-ref-overview-trend {
  text-align: center;
  color: #d6c9f3;
  letter-spacing: 0;
}

.rankings-cockpit .rankings-ref-overview-progress {
  height: 5px;
  background: rgba(255, 255, 255, 0.08);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.04);
}

.rankings-cockpit .rankings-ref-overview-progress span {
  background: linear-gradient(90deg, #38bdf8 0%, #ff4ecd 52%, #ffc857 100%);
  box-shadow: 0 0 16px rgba(255, 78, 205, 0.34);
}

.rankings-ref-metric-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-gap: 8px;
  gap: 8px;
}

.rankings-ref-metric-grid div {
  display: grid;
  grid-gap: 5px;
  gap: 5px;
  min-height: 62px;
  padding: 10px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.045);
}

.rankings-ref-metric-grid span {
  color: var(--text-muted);
  font-size: 11px;
}

.rankings-ref-metric-grid strong {
  color: #fcfbff;
  font-size: 18px;
  line-height: 1;
  font-feature-settings: "tnum";
  font-variant-numeric: tabular-nums;
}

.rankings-cockpit .rankings-ref-overview-foot {
  display: grid;
  justify-content: stretch;
  grid-gap: 10px;
  gap: 10px;
}

.rankings-cockpit .rankings-ref-avatar-stack {
  flex-wrap: wrap;
}

.rankings-cockpit .rankings-ref-avatar-stack span {
  min-height: 26px;
  border-color: rgba(56, 189, 248, 0.16);
  background: rgba(56, 189, 248, 0.07);
  color: #d8f3ff;
}

.rankings-cockpit .rankings-ref-archive,
.rankings-cockpit .rankings-ref-sidebar-foot {
  padding: 16px;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.07);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.025)),
    rgba(255, 255, 255, 0.02);
}

.rankings-cockpit .rankings-ref-archive-months {
  position: relative;
  gap: 6px;
  padding-left: 14px;
}

.rankings-cockpit .rankings-ref-archive-months::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 6px;
  bottom: 6px;
  width: 1px;
  background: linear-gradient(180deg, rgba(56, 189, 248, 0.32), rgba(255, 78, 205, 0.18), transparent);
}

.rankings-cockpit .rankings-ref-archive-year {
  border-color: rgba(255, 255, 255, 0.07);
  background: rgba(255, 255, 255, 0.045);
}

.rankings-cockpit .rankings-ref-archive-month {
  border: 1px solid transparent;
}

@media (max-width: 1100px) {
  .rankings-app-shell {
    width: min(var(--max-width), calc(100% - 40px));
  }

  .rankings-ref-layout {
    grid-template-columns: minmax(0, 1fr);
    gap: 24px;
  }

  .rankings-cockpit .rankings-ref-layout {
    grid-template-columns: minmax(0, 1fr);
  }

  .rankings-ref-main,
  .rankings-ref-filter,
  .rankings-ref-list,
  .rankings-ref-datebar {
    max-width: none;
  }

  .rankings-ref-sidebar {
    width: 100%;
  }

  .rankings-cockpit .rankings-ref-sidebar {
    width: 100%;
  }
}

@media (min-width: 1101px) and (max-width: 1260px) {
  .rankings-ref-layout {
    grid-template-columns: minmax(0, 1fr) 260px;
    gap: 24px;
  }

  .rankings-ref-sidebar {
    width: 260px;
  }

  .rankings-cockpit .rankings-ref-layout {
    grid-template-columns: minmax(0, 1fr) 272px;
  }

  .rankings-cockpit .rankings-ref-sidebar {
    width: 272px;
  }
}

@media (max-height: 900px) and (min-width: 1101px) {
  .rankings-app-content {
    padding: 20px 0 28px;
  }

  .rankings-ref-main {
    gap: 20px;
  }

  .rankings-ref-hero {
    gap: 18px;
  }

  .rankings-ref-filter {
    gap: 16px;
  }

  .rankings-ref-title {
    font-size: clamp(36px, 3.8vw, 44px);
    line-height: 1.15;
  }

  .rankings-ref-subtitle {
    line-height: 1.55;
  }

  .rankings-ref-datebar {
    min-height: 52px;
    padding-top: 8px;
    padding-bottom: 8px;
  }

  .rankings-ref-item {
    min-height: 100px;
    padding: 16px 18px;
  }

  .rankings-ref-overview {
    padding: 16px;
    gap: 10px;
  }

  .rankings-ref-overview-value {
    font-size: 44px;
  }
}

@media (max-height: 800px) and (min-width: 1101px) {
  .rankings-app-content {
    padding-top: 16px;
  }

  .rankings-ref-title {
    font-size: clamp(34px, 3.4vw, 40px);
  }

  .rankings-ref-tabbar {
    padding-top: 2px;
  }

  .rankings-ref-filter-title {
    font-size: 28px;
  }

  .rankings-ref-filter-title .date {
    font-size: 28px;
  }
}

.showcase-card {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(156, 132, 255, 0.28);
  background: linear-gradient(180deg, rgba(28, 17, 61, 0.92), rgba(15, 10, 36, 0.92));
  transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
}

.showcase-card:hover {
  transform: translateY(-4px);
  border-color: rgba(144, 201, 255, 0.55);
  box-shadow:
    0 28px 64px rgba(0, 0, 0, 0.42),
    0 0 32px rgba(130, 167, 255, 0.2);
}

.showcase-border {
  pointer-events: none;
  position: absolute;
  inset: -1px;
  border-radius: 24px;
  background: conic-gradient(from 0deg, rgba(255, 111, 226, 0.2), rgba(103, 223, 255, 0.22), rgba(125, 124, 255, 0.18), rgba(255, 111, 226, 0.2));
  mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  mask-composite: exclude;
  -webkit-mask-composite: xor;
  padding: 1px;
  animation: border-spin 8s linear infinite;
  opacity: 0.65;
}

.showcase-live {
  display: grid;
  grid-gap: 8px;
  gap: 8px;
  justify-items: end;
}

.showcase-votes {
  font-family: "JetBrains Mono", "SFMono-Regular", Consolas, monospace;
  font-size: 42px;
  font-weight: 700;
  background: linear-gradient(135deg, #ff6fe2 0%, #8ba1ff 55%, #67dfff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 0 14px rgba(125, 124, 255, 0.2));
}

.showcase-indicators {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #dce7ff;
  font-size: 12px;
}

.show-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
}

.show-dot.online {
  background: #62df8d;
  box-shadow: 0 0 10px rgba(98, 223, 141, 0.7);
}

.show-dot.offline {
  background: #ff7f96;
  box-shadow: 0 0 10px rgba(255, 127, 150, 0.5);
}

.feature-main {
  display: grid;
  grid-gap: 10px;
  gap: 10px;
}

.feature-side {
  display: grid;
  justify-items: end;
  grid-gap: 10px;
  gap: 10px;
  min-width: 150px;
}

.hero-inline-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-gap: 16px;
  gap: 16px;
}

.nav {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  position: relative;
  z-index: 60;
  padding: 16px 18px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  background: rgba(31, 18, 62, 0.72);
  -webkit-backdrop-filter: blur(14px);
          backdrop-filter: blur(14px);
  box-shadow: var(--shadow-card);
}

.nav-brand {
  display: inline-flex;
  align-items: center;
  gap: var(--space-3);
  font-weight: 700;
  font-size: 16px;
  letter-spacing: 0.01em;
}

.nav-brand-logo {
  width: 42px;
  height: 42px;
  object-fit: contain;
  border-radius: 12px;
  filter: drop-shadow(0 0 16px rgba(208, 188, 255, 0.36));
}

.nav-brand-mark {
  position: relative;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 32% 30%, #78dcff 0%, #3d68ff 30%, #d734ff 68%, #2a104a 100%);
  box-shadow: 0 0 22px rgba(106, 142, 255, 0.4);
}

.nav-brand-icon {
  position: absolute;
  inset: 0;
  display: block;
}

.nav-brand-whale {
  position: absolute;
  left: 7px;
  top: 10px;
  width: 18px;
  height: 11px;
  border: 2px solid rgba(255, 255, 255, 0.92);
  border-right: 0;
  border-radius: 11px 0 0 11px;
  box-shadow: 0 0 12px rgba(120, 220, 255, 0.4);
}

.nav-brand-whale::before {
  content: "";
  position: absolute;
  right: -7px;
  top: 1px;
  width: 8px;
  height: 8px;
  border-top: 2px solid rgba(255, 255, 255, 0.92);
  border-right: 2px solid rgba(255, 255, 255, 0.92);
  transform: rotate(45deg);
  border-radius: 0 3px 0 0;
}

.nav-brand-whale::after {
  content: "";
  position: absolute;
  left: 3px;
  top: -6px;
  width: 6px;
  height: 8px;
  border-left: 2px solid rgba(120, 220, 255, 0.9);
  border-top: 2px solid rgba(120, 220, 255, 0.9);
  border-radius: 6px 0 0 0;
  transform: rotate(-8deg);
}

.nav-brand-flame {
  position: absolute;
  right: 8px;
  top: 14px;
  width: 8px;
  height: 12px;
  background: linear-gradient(180deg, rgba(255, 200, 87, 0.95), rgba(255, 78, 205, 0));
  -webkit-clip-path: polygon(50% 0%, 100% 75%, 58% 100%, 0% 75%);
          clip-path: polygon(50% 0%, 100% 75%, 58% 100%, 0% 75%);
  filter: blur(0.2px);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: var(--space-2);
}

.nav-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border-radius: 999px;
  color: var(--text-soft);
  transition: background 180ms ease, color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.nav-link:hover {
  background: rgba(255, 255, 255, 0.06);
  color: var(--text-main);
}

.nav-link.active {
  background: linear-gradient(180deg, rgba(126, 197, 255, 0.14), rgba(255, 255, 255, 0.04));
  color: #f8fbff;
  border: 1px solid rgba(126, 197, 255, 0.22);
  box-shadow: 0 10px 28px rgba(56, 189, 248, 0.12);
  transform: translateY(-1px);
}

.nav-link.active:hover {
  background: linear-gradient(180deg, rgba(126, 197, 255, 0.16), rgba(255, 255, 255, 0.05));
}

.nav-link-label {
  line-height: 1;
}

.nav-link-active-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #7ec5ff;
  box-shadow: 0 0 12px rgba(126, 197, 255, 0.88);
}

.nav-link[aria-current="page"] .nav-link-label {
  text-shadow: 0 0 16px rgba(126, 197, 255, 0.18);
}

.nav-spacer {
  margin-left: auto;
  position: relative;
}

.user-menu {
  position: relative;
}

.user-menu summary {
  list-style: none;
}

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

.user-menu-trigger {
  cursor: pointer;
}

.user-menu-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 16px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  background: linear-gradient(90deg, rgba(255, 78, 205, 0.28), rgba(125, 124, 255, 0.22));
  color: #f8f8ff;
  font-weight: 700;
  letter-spacing: 0.01em;
  text-shadow: 0 0 12px rgba(255, 255, 255, 0.2);
}

.user-menu-panel {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  min-width: 280px;
  max-width: min(88vw, 360px);
  max-height: min(70vh, 560px);
  overflow: auto;
  padding: 14px;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: linear-gradient(180deg, rgba(22, 11, 48, 0.99), rgba(16, 10, 38, 0.99));
  box-shadow: var(--shadow-card);
  display: grid;
  grid-gap: 10px;
  gap: 10px;
  z-index: 1500;
  -webkit-backdrop-filter: blur(10px);
          backdrop-filter: blur(10px);
}

.user-menu-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.user-menu-group {
  display: grid;
  grid-gap: 6px;
  gap: 6px;
  padding-top: 8px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.user-menu-title {
  font-size: 12px;
  color: #c9b8ef;
  font-weight: 600;
}

.user-menu-item {
  padding: 9px 10px;
  border-radius: 10px;
  color: #f3ecff;
  font-weight: 600;
}

.user-menu-item:hover {
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff;
}

.user-menu-logout {
  width: 100%;
}

@media (max-width: 720px) {
  .user-menu-panel {
    right: -8px;
    min-width: 260px;
  }
}

.future-home {
  position: relative;
}

.future-hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.85fr);
  grid-gap: 18px;
  gap: 18px;
  isolation: isolate;
}

.future-bg {
  position: absolute;
  inset: -8% -4% -4%;
  pointer-events: none;
  z-index: 0;
  animation: bg-drift 32s ease-in-out infinite;
  will-change: transform, filter;
}

.radar-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(132, 116, 255, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(132, 116, 255, 0.08) 1px, transparent 1px);
  background-size: 42px 42px, 42px 42px;
  -webkit-mask-image: radial-gradient(circle at 45% 40%, rgba(255, 255, 255, 0.9), transparent 85%);
          mask-image: radial-gradient(circle at 45% 40%, rgba(255, 255, 255, 0.9), transparent 85%);
  opacity: 0.35;
  animation: grid-drift 18s linear infinite;
  will-change: transform, opacity;
}

.noise-overlay {
  position: absolute;
  inset: 0;
  opacity: 0.12;
  background-image:
    radial-gradient(circle at 20% 30%, rgba(255, 255, 255, 0.25) 0.5px, transparent 1.5px),
    radial-gradient(circle at 80% 40%, rgba(255, 255, 255, 0.2) 0.5px, transparent 1.5px),
    radial-gradient(circle at 62% 78%, rgba(255, 255, 255, 0.16) 0.5px, transparent 1.5px);
  background-size: 120px 120px, 160px 160px, 200px 200px;
  mix-blend-mode: screen;
  animation: noise-shift 4.8s steps(6) infinite;
  will-change: transform, opacity;
}

.nebula {
  position: absolute;
  border-radius: 50%;
  filter: blur(40px);
  opacity: 0.55;
  animation: nebula-float 16s ease-in-out infinite;
  will-change: transform, opacity, filter;
}

.n1 {
  width: 320px;
  height: 220px;
  left: 3%;
  top: 2%;
  background: rgba(215, 52, 255, 0.35);
  animation-duration: 14s;
}

.n2 {
  width: 280px;
  height: 240px;
  right: 8%;
  top: 16%;
  background: rgba(59, 130, 246, 0.35);
  animation-duration: 18s;
}

.n3 {
  width: 420px;
  height: 260px;
  left: 35%;
  bottom: 2%;
  background: rgba(125, 124, 255, 0.28);
  animation-duration: 20s;
}

.n4 {
  width: 250px;
  height: 210px;
  right: 26%;
  bottom: 14%;
  background: rgba(103, 223, 255, 0.2);
  animation-delay: 2.5s;
  animation-duration: 15s;
}

.n5 {
  width: 360px;
  height: 220px;
  left: 52%;
  top: -2%;
  background: rgba(196, 112, 255, 0.24);
  animation-delay: 5s;
  animation-duration: 22s;
}

.orbit {
  position: absolute;
  border: 1px solid rgba(130, 167, 255, 0.26);
  border-radius: 999px;
  animation: orbit-spin 18s linear infinite;
}

.o1 {
  width: 360px;
  height: 150px;
  right: 12%;
  top: 5%;
  transform: rotate(-10deg);
}

.o2 {
  width: 300px;
  height: 120px;
  right: 2%;
  top: 22%;
  transform: rotate(12deg);
  animation-duration: 22s;
}

.particle {
  position: absolute;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 0 10px rgba(138, 190, 255, 0.8);
  animation: float-particle 5.6s ease-in-out infinite;
  will-change: transform, opacity;
}

.p1 { left: 12%; top: 18%; }
.p2 { left: 44%; top: 8%; animation-delay: 1.5s; }
.p3 { right: 18%; top: 42%; animation-delay: 3s; }
.p4 { right: 6%; bottom: 22%; animation-delay: 4.5s; }

.starfield {
  position: absolute;
  width: 2px;
  height: 2px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.95);
  box-shadow:
    0 0 8px rgba(171, 196, 255, 0.9),
    80px 26px 0 rgba(255, 255, 255, 0.72),
    140px -18px 0 rgba(255, 255, 255, 0.56),
    200px 40px 0 rgba(183, 160, 255, 0.64),
    260px -10px 0 rgba(108, 195, 255, 0.62);
  animation: star-drift 9s ease-in-out infinite;
  will-change: transform, opacity;
}

.s1 { left: 8%; top: 12%; }
.s2 { right: 28%; top: 20%; animation-delay: 3s; }
.s3 { left: 40%; bottom: 16%; animation-delay: 6s; }
.s4 { right: 6%; bottom: 10%; animation-delay: 9s; }

.future-copy,
.future-side {
  position: relative;
  z-index: 1;
}

.future-copy {
  padding: 34px;
  border-radius: 28px;
}

.future-title {
  margin: 16px 0 12px;
  font-size: clamp(56px, 9vw, 108px);
  line-height: 0.86;
  letter-spacing: -0.06em;
  text-shadow: 0 0 28px rgba(168, 137, 255, 0.28);
}

.future-title-sub {
  margin: 0 0 12px;
  color: #d7c8ff;
  font-size: clamp(18px, 2.2vw, 28px);
  font-weight: 700;
  letter-spacing: -0.01em;
}

.future-subtitle {
  margin: 0 0 18px;
  color: #e3d7ff;
  line-height: 1.75;
  max-width: 62ch;
}

.future-support {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}

.support-pill {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 10px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: #d9e5ff;
  font-size: 12px;
  background: rgba(255, 255, 255, 0.04);
}

.future-side {
  display: grid;
  grid-gap: 14px;
  gap: 14px;
}

.planet-showcase {
  min-height: 220px;
  display: grid;
  place-items: center;
}

.planet-glow {
  position: absolute;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(155, 123, 255, 0.55), rgba(89, 125, 255, 0.06));
  filter: blur(16px);
}

.planet-sphere {
  position: relative;
  width: 150px;
  height: 150px;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 25%, #a6b8ff 0%, #6f6dff 42%, #4b2f8f 100%);
  box-shadow: 0 0 45px rgba(119, 117, 255, 0.45);
}

.ring {
  position: absolute;
  border: 1px solid rgba(151, 196, 255, 0.42);
  border-radius: 50%;
  animation: ring-spin 16s linear infinite;
}

.ring-a {
  width: 240px;
  height: 88px;
  transform: rotate(-12deg);
}

.ring-b {
  width: 270px;
  height: 102px;
  transform: rotate(14deg);
  animation-duration: 22s;
}

.ring-c {
  width: 210px;
  height: 76px;
  transform: rotate(34deg);
  animation-duration: 12s;
}

.glass-card {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: linear-gradient(180deg, rgba(35, 24, 71, 0.82), rgba(19, 12, 40, 0.82));
  -webkit-backdrop-filter: blur(10px);
          backdrop-filter: blur(10px);
  box-shadow: var(--shadow-card);
  border-radius: 24px;
  padding: 22px;
}

.terminal-card {
  border: 1px solid rgba(120, 206, 255, 0.24);
  border-radius: 18px;
  background: rgba(8, 9, 22, 0.9);
  overflow: hidden;
  box-shadow: 0 0 42px rgba(88, 123, 255, 0.18);
}

.terminal-head {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 40px;
  padding: 0 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.dot.red { background: #ff6b81; }
.dot.yellow { background: #ffd166; }
.dot.green { background: #62df8d; }

.terminal-title {
  margin-left: auto;
  color: #9cb7ff;
  font-family: "JetBrains Mono", "SFMono-Regular", Consolas, monospace;
  font-size: 12px;
}

.terminal-body {
  padding: 12px;
  display: grid;
  grid-gap: 6px;
  gap: 6px;
}

.terminal-body p {
  margin: 0;
  font-family: "JetBrains Mono", "SFMono-Regular", Consolas, monospace;
  font-size: 12px;
  color: #d7e7ff;
}

.prompt { color: #69e3a2; }
.cmd { color: #8cb1ff; margin-left: 6px; }
.out { color: #e6dbff; margin-left: 6px; }

@keyframes orbit-spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

@keyframes ring-spin {
  from { rotate: 0deg; }
  to { rotate: 360deg; }
}

@keyframes nebula-float {
  0% { transform: translate3d(0, 0, 0) scale(1); opacity: 0.42; filter: blur(34px); }
  25% { transform: translate3d(18px, -10px, 0) scale(1.08); opacity: 0.58; filter: blur(42px); }
  50% { transform: translate3d(-8px, -18px, 0) scale(1.13); opacity: 0.66; filter: blur(48px); }
  75% { transform: translate3d(-16px, 8px, 0) scale(1.07); opacity: 0.53; filter: blur(40px); }
  100% { transform: translate3d(0, 0, 0) scale(1); opacity: 0.42; filter: blur(34px); }
}

@keyframes star-drift {
  0% { transform: translate3d(0, 0, 0) scale(1); opacity: 0.52; }
  25% { transform: translate3d(-8px, 5px, 0) scale(1.06); opacity: 0.88; }
  50% { transform: translate3d(4px, 10px, 0) scale(1.12); opacity: 1; }
  75% { transform: translate3d(10px, -4px, 0) scale(1.04); opacity: 0.84; }
  100% { transform: translate3d(0, 0, 0) scale(1); opacity: 0.52; }
}

@keyframes grid-drift {
  0% { transform: translate3d(0, 0, 0); opacity: 0.28; }
  50% { transform: translate3d(21px, 10px, 0); opacity: 0.38; }
  100% { transform: translate3d(42px, 42px, 0); opacity: 0.28; }
}

@keyframes noise-shift {
  0% { transform: translate3d(0, 0, 0); opacity: 0.06; }
  50% { transform: translate3d(7px, -4px, 0); opacity: 0.14; }
  100% { transform: translate3d(-6px, 5px, 0); opacity: 0.08; }
}

@keyframes bg-drift {
  0% { transform: translate3d(0, 0, 0); filter: saturate(1); }
  50% { transform: translate3d(8px, -6px, 0); filter: saturate(1.08); }
  100% { transform: translate3d(0, 0, 0); filter: saturate(1); }
}

@keyframes border-spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

@keyframes float-particle {
  0%, 100% { transform: translateY(0); opacity: 0.7; }
  50% { transform: translateY(-14px); opacity: 1; }
}

@media (max-width: 980px) {
  .future-hero {
    grid-template-columns: 1fr;
  }
}

.tag,
.status-chip,
.pill-note {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 32px;
  padding: 0 12px;
  border-radius: 999px;
  font-size: 12px;
  line-height: 1;
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.tag {
  background: rgba(255, 78, 205, 0.12);
  color: #ffd6f7;
}

.status-chip {
  background: rgba(125, 124, 255, 0.14);
  color: #d9dcff;
}

.pill-note {
  width: -moz-fit-content;
  width: fit-content;
  background: rgba(255, 255, 255, 0.06);
  color: var(--text-soft);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  min-height: 48px;
  padding: 0 18px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  background: linear-gradient(90deg, var(--primary-strong), var(--primary));
  color: #fff;
  cursor: pointer;
  font-size: 14px;
  font-weight: 600;
  box-shadow: 0 18px 46px rgba(215, 52, 255, 0.18);
  transition: transform 160ms ease, box-shadow 160ms ease, opacity 160ms ease;
}

.btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 24px 56px rgba(215, 52, 255, 0.22);
}

.btn.secondary {
  background: rgba(255, 255, 255, 0.04);
  color: var(--text-main);
  border-color: rgba(255, 255, 255, 0.2);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.05);
}

.btn:disabled {
  opacity: 0.55;
  cursor: not-allowed;
  transform: none;
}

.input {
  width: 100%;
  min-height: 52px;
  padding: 0 16px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-sm);
  background: rgba(8, 7, 20, 0.44);
  color: var(--text-main);
}

.input::placeholder {
  color: var(--text-muted);
}

.bento-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  grid-gap: var(--space-4);
  gap: var(--space-4);
}

.hero-card,
.bento-card,
.login-shell,
.login-panel {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-xl);
  border: 1px solid var(--border);
  background: linear-gradient(180deg, rgba(33, 19, 68, 0.95), rgba(20, 12, 45, 0.92));
  box-shadow: var(--shadow-card);
}

.hero-card::before,
.bento-card::before,
.login-shell::before,
.login-panel::before {
  content: "";
  position: absolute;
  inset: auto auto -28% -8%;
  width: 280px;
  height: 180px;
  background: radial-gradient(circle at center, rgba(183, 74, 255, 0.24), transparent 70%);
  pointer-events: none;
}

.hero-card {
  grid-column: span 8;
  padding: 44px;
  min-height: 520px;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 50%;
  padding-right: 16px;
}

.hero-side {
  display: grid;
  grid-gap: var(--space-4);
  gap: var(--space-4);
}

.hero-side-shell {
  grid-column: span 4;
  padding: 12px;
  border-radius: var(--radius-xl);
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: linear-gradient(180deg, rgba(29, 16, 56, 0.72), rgba(16, 10, 34, 0.72));
  box-shadow: var(--shadow-card);
}

.bento-card {
  padding: var(--space-5);
}

.metric-card-shell {
  border-radius: 20px;
}

.bento-card.soft {
  background: linear-gradient(180deg, rgba(53, 28, 96, 0.92), rgba(22, 11, 43, 0.92));
}

.bento-card.primary {
  background: linear-gradient(180deg, rgba(215, 52, 255, 0.18), rgba(31, 16, 57, 0.95));
}

.bento-card.secondary {
  background: linear-gradient(180deg, rgba(86, 88, 255, 0.16), rgba(22, 11, 43, 0.95));
}

.bento-span-12 {
  grid-column: span 12;
}

.bento-span-8 {
  grid-column: span 8;
}

.bento-span-6 {
  grid-column: span 6;
}

.bento-span-4 {
  grid-column: span 4;
}

.bento-span-3 {
  grid-column: span 3;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--text-soft);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.hero-title,
.page-title {
  margin: 18px 0 14px;
  font-size: clamp(42px, 6vw, 78px);
  line-height: 0.94;
  letter-spacing: -0.06em;
  max-width: 10ch;
}

.page-title {
  max-width: 12ch;
  font-size: clamp(34px, 5vw, 56px);
}

.hero-copy,
.page-copy,
.card-copy,
.list-summary,
.section-copy {
  color: var(--text-soft);
  line-height: 1.7;
}

.hero-copy {
  max-width: 560px;
  margin: 0 0 24px;
  font-size: 16px;
}

.page-copy {
  margin: 0;
  max-width: 620px;
}

.hero-actions,
.form-row,
.card-meta,
.section-heading,
.page-banner {
  display: flex;
  gap: var(--space-3);
}

.hero-actions,
.card-meta {
  flex-wrap: wrap;
}

.hero-rail {
  display: grid;
  grid-gap: var(--space-4);
  gap: var(--space-4);
  margin-top: 34px;
  max-width: 440px;
}

.rail-panel {
  border-radius: var(--radius-lg);
  padding: var(--space-4);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.rail-title {
  margin: 0 0 8px;
  color: var(--text-muted);
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.rail-value,
.metric-value,
.card-number,
.list-rank,
.list-value {
  font-family: "JetBrains Mono", "SFMono-Regular", Consolas, monospace;
  letter-spacing: -0.04em;
}

.rail-value {
  font-size: 22px;
  font-weight: 700;
}

.metric-value {
  display: block;
  margin-top: 10px;
  font-size: 42px;
  font-weight: 700;
}

.metric-value-neon {
  display: inline-block;
  background: linear-gradient(135deg, #ff6fe2 0%, #8ba1ff 55%, #67dfff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 0 16px rgba(125, 124, 255, 0.22));
}

.metric-label {
  color: var(--text-muted);
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.metric-footnote {
  margin: 10px 0 0;
  color: var(--text-soft);
  font-size: 14px;
  line-height: 1.65;
}

.section-heading,
.page-banner {
  align-items: flex-end;
  justify-content: space-between;
}

.section-heading {
  margin-bottom: 8px;
}

.section-title {
  margin: 0;
  font-size: 24px;
  line-height: 1.1;
}

.section-copy {
  max-width: 560px;
  margin: 8px 0 0;
}

.section-link {
  color: #f3d7ff;
  font-size: 14px;
  font-weight: 600;
}

.card-kicker {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: var(--space-3);
  margin-bottom: 20px;
}

.card-title,
.list-title {
  margin: 0 0 10px;
  font-size: 20px;
  line-height: 1.2;
}

.card-copy,
.list-summary {
  margin: 0;
  font-size: 14px;
}

.card-meta {
  margin-top: 18px;
  color: var(--text-muted);
  font-size: 14px;
}

.card-accent {
  display: inline-flex;
  margin-bottom: 18px;
  color: #efc0ff;
  font-family: "JetBrains Mono", "SFMono-Regular", Consolas, monospace;
  font-size: 12px;
}

.card-number {
  font-size: 28px;
  font-weight: 700;
  color: var(--accent);
}

.page-hero {
  display: grid;
  grid-gap: var(--space-5);
  gap: var(--space-5);
}

.banner-note {
  display: grid;
  grid-gap: var(--space-2);
  gap: var(--space-2);
  justify-items: end;
}

.list-card {
  display: grid;
  grid-gap: var(--space-4);
  gap: var(--space-4);
}

.list-row {
  display: grid;
  grid-template-columns: 88px minmax(0, 1fr) minmax(120px, auto);
  grid-gap: var(--space-4);
  gap: var(--space-4);
  align-items: start;
}

.list-rank {
  font-size: 28px;
  font-weight: 700;
  color: #ffd07d;
}

.list-side {
  display: grid;
  justify-items: end;
  grid-gap: var(--space-3);
  gap: var(--space-3);
}

.list-value {
  font-size: 24px;
  font-weight: 700;
}

.login-shell {
  padding: var(--space-5);
}

.login-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.85fr);
  grid-gap: var(--space-5);
  gap: var(--space-5);
}

.login-copy {
  display: grid;
  grid-gap: var(--space-5);
  gap: var(--space-5);
  align-content: start;
}

.status-list {
  display: grid;
  grid-gap: var(--space-3);
  gap: var(--space-3);
}

.status-line {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-3);
  padding: var(--space-3) 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.status-line:last-child {
  border-bottom: 0;
}

.login-panel {
  display: grid;
  grid-gap: var(--space-4);
  gap: var(--space-4);
  padding: var(--space-5);
  background: linear-gradient(180deg, rgba(29, 16, 56, 0.95), rgba(15, 9, 33, 0.98));
}

.form-row > .input {
  flex: 1 1;
}

.stack {
  display: grid;
  grid-gap: var(--space-4);
  gap: var(--space-4);
}

.hero-visual {
  position: absolute;
  right: -12px;
  top: 122px;
  width: 470px;
  height: 360px;
  pointer-events: none;
  z-index: 1;
}

.planet-core {
  position: absolute;
  right: 46px;
  top: 58px;
  width: 246px;
  height: 246px;
  border-radius: 50%;
  background: radial-gradient(circle at 32% 28%, #7a7cff 0%, #5238d4 40%, #29105f 78%, #1b0f38 100%);
  box-shadow: 0 0 48px rgba(122, 124, 255, 0.3);
}

.planet-ring {
  position: absolute;
  right: 8px;
  top: 136px;
  width: 330px;
  height: 108px;
  border-radius: 50%;
  border: 10px solid transparent;
  border-top-color: rgba(113, 151, 255, 0.9);
  border-bottom-color: rgba(255, 76, 205, 0.84);
  transform: rotate(-18deg);
}

.floating-badge {
  position: absolute;
  right: 34px;
  top: 18px;
  transform: rotate(-10deg);
  padding: 14px 16px;
  border-radius: 20px;
  background: linear-gradient(180deg, #ffcf57 0%, #ff9b63 100%);
  color: #452b0e;
  font-weight: 800;
  font-size: 16px;
  line-height: 1.15;
  box-shadow: 0 16px 34px rgba(255, 155, 99, 0.22);
}

.floating-badge small {
  display: block;
  margin-bottom: 6px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.star {
  position: absolute;
  width: 10px;
  height: 10px;
  transform: rotate(45deg);
  background: #fff;
  border-radius: 2px;
  box-shadow: 0 0 18px rgba(255, 255, 255, 0.55);
}

.star.one {
  right: 84px;
  top: 18px;
}

.star.two {
  right: 16px;
  top: 134px;
  width: 8px;
  height: 8px;
}

.shooting-star {
  position: absolute;
  left: 116px;
  bottom: 54px;
  width: 118px;
  height: 3px;
  background: linear-gradient(90deg, rgba(255, 200, 87, 0), rgba(255, 200, 87, 1));
  transform: rotate(-28deg);
  box-shadow: 0 0 16px rgba(255, 200, 87, 0.6);
}

.shooting-star::before {
  content: "";
  position: absolute;
  right: -2px;
  top: -3px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--accent);
}

.support-strip {
  margin-top: 26px;
  position: relative;
  z-index: 2;
}

.orbital-trails {
  position: absolute;
  right: 8px;
  bottom: 26px;
  width: 220px;
  height: 132px;
}

.trail {
  position: absolute;
  right: 0;
  bottom: 0;
  border-top: 2px solid transparent;
  border-radius: 999px;
  filter: drop-shadow(0 0 10px rgba(125, 124, 255, 0.22));
}

.trail-one {
  width: 200px;
  height: 84px;
  border-image: linear-gradient(90deg, rgba(125, 124, 255, 0), rgba(125, 124, 255, 0.95), rgba(255, 78, 205, 0.9)) 1;
  transform: rotate(-12deg);
}

.trail-two {
  right: 14px;
  bottom: 18px;
  width: 154px;
  height: 60px;
  border-image: linear-gradient(90deg, rgba(125, 124, 255, 0), rgba(255, 78, 205, 0.88), rgba(255, 200, 87, 0.88)) 1;
  transform: rotate(-15deg);
}

.trail-three {
  right: 34px;
  bottom: 38px;
  width: 112px;
  height: 42px;
  border-image: linear-gradient(90deg, rgba(255, 78, 205, 0), rgba(111, 224, 255, 0.8)) 1;
  transform: rotate(-19deg);
}

.support-label {
  display: block;
  margin-bottom: 14px;
  color: var(--text-muted);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.support-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  grid-gap: 12px;
  gap: 12px;
}

.support-item {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: #f0ebff;
  font-size: 13px;
  font-weight: 600;
}

.tab-row {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
}

.tab-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: var(--text-soft);
  background: rgba(255, 255, 255, 0.04);
  font-size: 13px;
  font-weight: 600;
}

.tab-chip.active {
  background: linear-gradient(90deg, rgba(215, 52, 255, 0.28), rgba(125, 124, 255, 0.3));
  color: var(--text-main);
  border-color: var(--border-strong);
}

.admin-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
}

.btn.danger {
  background: linear-gradient(90deg, #b81f55, var(--danger));
}

.stack-lg {
  display: grid;
  grid-gap: var(--space-5);
  gap: var(--space-5);
}

.detail-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(300px, 0.75fr);
  grid-gap: var(--space-5);
  gap: var(--space-5);
}

.detail-panel {
  display: grid;
  grid-gap: var(--space-4);
  gap: var(--space-4);
  padding: var(--space-5);
  border-radius: var(--radius-xl);
  border: 1px solid var(--border);
  background: linear-gradient(180deg, rgba(33, 19, 68, 0.95), rgba(20, 12, 45, 0.92));
  box-shadow: var(--shadow-card);
}

.detail-title {
  margin: 0;
  font-size: clamp(30px, 4vw, 52px);
  line-height: 1;
  letter-spacing: -0.05em;
}

.detail-copy {
  margin: 0;
  color: var(--text-soft);
  line-height: 1.75;
}

.detail-sidebar {
  display: grid;
  grid-gap: var(--space-4);
  gap: var(--space-4);
  align-content: start;
}

.info-card {
  display: grid;
  grid-gap: var(--space-3);
  gap: var(--space-3);
  padding: var(--space-4);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.04);
}

.info-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-3);
  padding-bottom: var(--space-3);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--text-soft);
  font-size: 14px;
}

.info-row:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.detail-links {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
}

.timeline {
  display: grid;
  grid-gap: var(--space-3);
  gap: var(--space-3);
}

.timeline-item {
  position: relative;
  display: grid;
  grid-gap: 6px;
  gap: 6px;
  padding: 0 0 0 22px;
}

.timeline-item::before {
  content: "";
  position: absolute;
  left: 0;
  top: 7px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: linear-gradient(180deg, var(--accent), var(--primary));
  box-shadow: 0 0 16px rgba(255, 200, 87, 0.45);
}

.timeline-item::after {
  content: "";
  position: absolute;
  left: 4px;
  top: 24px;
  bottom: -14px;
  width: 2px;
  background: rgba(255, 255, 255, 0.08);
}

.timeline-item:last-child::after {
  display: none;
}

.timeline-label {
  color: var(--text-muted);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.timeline-value {
  font-size: 16px;
  font-weight: 600;
}

.empty-state {
  display: grid;
  grid-gap: var(--space-3);
  gap: var(--space-3);
  padding: var(--space-5);
  border-radius: var(--radius-lg);
  border: 1px dashed rgba(255, 255, 255, 0.18);
  color: var(--text-soft);
}

.form-grid {
  display: grid;
  grid-gap: var(--space-4);
  gap: var(--space-4);
}

.form-label {
  display: grid;
  grid-gap: 8px;
  gap: 8px;
  color: var(--text-soft);
  font-size: 14px;
  font-weight: 600;
}

.form-label.inline-check {
  display: flex;
  align-items: center;
  gap: 10px;
  align-self: end;
  min-height: 48px;
}

.textarea {
  width: 100%;
  min-height: 150px;
  padding: 14px 16px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-sm);
  background: rgba(8, 7, 20, 0.44);
  color: var(--text-main);
  resize: vertical;
}

.textarea::placeholder {
  color: var(--text-muted);
}

.select {
  width: 100%;
  min-height: 52px;
  padding: 0 16px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-sm);
  background: rgba(8, 7, 20, 0.44);
  color: var(--text-main);
}

.helper-text {
  color: var(--text-muted);
  font-size: 13px;
  line-height: 1.6;
}

.inline-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
}

.filter-shell {
  display: grid;
  grid-gap: 22px;
  gap: 22px;
}

.filter-shell-reference {
  gap: 18px;
}

.hide-scrollbar::-webkit-scrollbar {
  display: none;
}

.hide-scrollbar {
  -ms-overflow-style: none;
  scrollbar-width: none;
}

.filter-topbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 8px;
  padding-bottom: 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.filter-topbar.compact {
  margin-top: 0;
  padding-bottom: 16px;
}

.filter-topbar-reference {
  margin-top: 18px;
}

.filter-top-copy {
  display: grid;
  grid-gap: 8px;
  gap: 8px;
}

.filter-top-tabs {
  display: flex;
  gap: 24px;
  overflow-x: auto;
}

.filter-top-tab {
  display: inline-flex;
  align-items: center;
  min-height: 48px;
  padding: 0 0 14px;
  border-bottom: 2px solid transparent;
  color: var(--text-soft);
  font-size: 15px;
  font-weight: 500;
  white-space: nowrap;
  transition: color 180ms ease, border-color 180ms ease;
}

.filter-top-tab:hover {
  color: var(--text-main);
}

.filter-top-tab.active {
  border-color: var(--primary-strong);
  color: var(--primary);
  font-weight: 700;
}

.filter-apply-btn {
  min-height: 40px;
  padding: 0 22px;
  border: 0;
  border-radius: 12px;
  background: linear-gradient(135deg, #ca60ff 0%, #fc30de 100%);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  box-shadow: 0 18px 36px rgba(215, 52, 255, 0.18);
  cursor: pointer;
}

.filter-apply-btn:hover {
  transform: translateY(-1px);
}

.filter-heading {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
}

.filter-heading-reference {
  align-items: center;
}

.filter-title-wrap {
  display: grid;
  grid-gap: 8px;
  gap: 8px;
}

.filter-title {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin: 0;
  font-size: 28px;
  line-height: 1.1;
}

.filter-title-gradient {
  background: linear-gradient(to right, #e9b3ff, #fface7);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.filter-title-divider {
  color: rgba(255, 255, 255, 0.26);
  font-size: 24px;
}

.filter-title-date {
  color: var(--text-soft);
  font-size: 18px;
  font-weight: 500;
}

.filter-copy {
  margin: 0;
  color: var(--text-soft);
  font-size: 14px;
  line-height: 1.65;
}

.filter-mode-switch {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  padding: 4px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.04);
}

.filter-mode-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 0 12px;
  border-radius: 8px;
  color: var(--text-soft);
  font-size: 13px;
  font-weight: 600;
}

.filter-strip {
  display: flex;
  gap: 24px;
  overflow-x: auto;
}

.filter-link {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--text-soft);
  font-size: 13px;
  font-weight: 500;
  white-space: nowrap;
}

.filter-link:hover {
  color: var(--text-main);
}

.filter-link.active,
.filter-mode-chip.active {
  color: var(--primary);
  font-weight: 700;
}

.filter-calendar {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 10px 12px;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(8, 7, 20, 0.34);
}

.filter-calendar-reference {
  padding: 12px 14px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.02);
}

.filter-arrow {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: var(--text-main);
  cursor: pointer;
}

.filter-arrow:hover {
  background: rgba(255, 255, 255, 0.05);
}

.date-pill-row {
  display: flex;
  align-items: center;
  gap: 4px;
  overflow-x: auto;
  padding: 4px 0;
}

.date-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  color: var(--text-soft);
  font-size: 12px;
  font-weight: 600;
  transition: background 180ms ease, color 180ms ease, box-shadow 180ms ease;
}

.date-pill.active {
  background: var(--primary-strong);
  color: #fff;
  box-shadow: 0 0 15px rgba(189, 52, 254, 0.4);
}

.datetime-form {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  grid-gap: 14px;
  gap: 14px;
  align-items: end;
  padding-top: 2px;
}

.filter-range-summary {
  grid-column: 1 / -1;
  color: var(--text-soft);
  font-size: 13px;
}

.filter-field {
  grid-column: span 3;
}

.filter-field-wide {
  grid-column: span 6;
}

.filter-actions {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  padding-top: 6px;
}

@media (max-width: 1100px) {
  .filter-field,
  .filter-field-wide {
    grid-column: span 6;
  }
}

@media (max-width: 720px) {
  .filter-shell {
    gap: 18px;
  }

  .filter-field,
  .filter-field-wide {
    grid-column: 1 / -1;
  }

  .filter-topbar,
  .filter-heading {
    align-items: flex-start;
  }

  .filter-title {
    font-size: 22px;
  }

  .filter-actions {
    align-items: stretch;
  }

  .filter-actions .btn,
  .filter-apply-btn {
    width: 100%;
  }
}

@media (max-width: 1100px) {
  .hero-content {
    max-width: 58%;
  }

  .hero-visual {
    position: relative;
    right: auto;
    top: auto;
    width: 100%;
    height: 300px;
    margin-top: 30px;
  }

  .planet-core {
    right: 18%;
  }

  .planet-ring {
    right: 12%;
  }
}

@media (max-width: 960px) {
  .rankings-ref-layout {
    grid-template-columns: 1fr;
  }

  .rankings-ref-sidebar {
    position: static;
  }

  .rankings-ref-title {
    font-size: 38px;
  }

  .split-layout,
  .flow-grid-three,
  .flow-grid-two,
  .rail-row,
  .hero-inline-metrics,
  .detail-grid,
  .hero-side-shell,
  .hero-card,
  .hero-side,
  .bento-span-12,
  .bento-span-8,
  .bento-span-6,
  .bento-span-4,
  .bento-span-3 {
    grid-column: span 12;
  }

  .login-grid,
  .page-banner,
  .section-heading,
  .list-row,
  .feature-row {
    grid-template-columns: 1fr;
  }

  .projects-page .feature-row,
  .cities-page .feature-row {
    margin-left: 0;
    margin-right: 0;
  }

  .projects-page .feature-side,
  .cities-page .feature-side {
    min-width: 0;
  }

  .page-banner,
  .section-heading {
    align-items: flex-start;
  }

  .banner-note,
  .list-side,
  .feature-side {
    justify-items: start;
  }

  .support-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .container {
    padding: var(--space-4);
  }

  .nav {
    flex-wrap: wrap;
    border-radius: 24px;
  }

  .nav-links {
    width: 100%;
    overflow-x: auto;
  }

  .nav-spacer {
    margin-left: 0;
  }

  .hero-card,
  .bento-card,
  .login-shell,
  .login-panel {
    border-radius: 22px;
  }

  .hero-title,
  .page-title {
    font-size: 38px;
    max-width: none;
  }

  .hero-content {
    max-width: none;
    padding-right: 0;
  }

  .hero-actions,
  .form-row,
  .inline-actions {
    flex-direction: column;
  }

  .filter-topbar,
  .filter-heading {
    align-items: flex-start;
  }

  .filter-topbar-reference {
    margin-top: 10px;
  }

  .filter-title {
    font-size: 22px;
  }

  .rankings-ref-hero {
    gap: 20px;
  }

  .rankings-ref-subtitle {
    font-size: 15px;
  }

  .hero-card {
    padding: 26px;
    min-height: auto;
  }

  .hero-visual {
    height: 240px;
  }

  .planet-core {
    width: 150px;
    height: 150px;
    right: 14%;
    top: 54px;
  }

  .planet-ring {
    width: 210px;
    height: 72px;
    right: 4%;
    top: 100px;
  }

  .floating-badge {
    right: 16px;
    top: 8px;
    font-size: 15px;
  }

  .support-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* Whale-Rocket premium landing refresh */
.wr-home {
  gap: 28px;
}

.nav {
  padding: 14px 18px;
  border-radius: 22px;
  border-color: rgba(173, 193, 255, 0.16);
  background: linear-gradient(180deg, rgba(23, 17, 48, 0.78), rgba(16, 11, 34, 0.78));
  box-shadow: 0 24px 80px rgba(3, 5, 20, 0.45);
}

.nav-brand {
  transition: transform 180ms ease, filter 180ms ease;
}

.nav-brand:hover {
  transform: translateY(-1px);
  filter: drop-shadow(0 0 12px rgba(126, 197, 255, 0.14));
}

.nav-link {
  color: #cdd8f3;
}

.nav-link:hover {
  background: rgba(150, 174, 255, 0.11);
}

.nav-brand-mark {
  box-shadow: 0 0 26px rgba(112, 148, 255, 0.32);
}

.wr-hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(320px, 0.88fr);
  grid-gap: 18px;
  gap: 18px;
  isolation: isolate;
}

.wr-cosmic {
  position: absolute;
  inset: -8% -4% -5%;
  pointer-events: none;
  z-index: 0;
}

.wr-grid,
.wr-nebula,
.wr-stars,
.wr-orbit-trail,
.wr-noise {
  position: absolute;
}

.wr-grid {
  inset: 0;
  background-image: linear-gradient(rgba(145, 160, 220, 0.09) 1px, transparent 1px), linear-gradient(90deg, rgba(145, 160, 220, 0.09) 1px, transparent 1px);
  background-size: 48px 48px;
  opacity: 0.22;
  -webkit-mask-image: radial-gradient(circle at 44% 38%, #fff, transparent 78%);
          mask-image: radial-gradient(circle at 44% 38%, #fff, transparent 78%);
  animation: wr-grid-drift 32s linear infinite;
}

.wr-nebula {
  border-radius: 50%;
  filter: blur(48px);
}

.wr-nebula-a {
  width: 380px;
  height: 250px;
  left: -2%;
  top: 3%;
  background: rgba(91, 108, 255, 0.28);
  animation: wr-float-a 18s ease-in-out infinite;
}

.wr-nebula-b {
  width: 320px;
  height: 240px;
  right: 9%;
  top: 12%;
  background: rgba(198, 95, 255, 0.2);
  animation: wr-float-b 24s ease-in-out infinite;
}

.wr-nebula-c {
  width: 420px;
  height: 260px;
  right: 20%;
  bottom: -2%;
  background: rgba(95, 203, 255, 0.16);
  animation: wr-float-c 26s ease-in-out infinite;
}

.wr-stars {
  inset: 0;
  background-image: radial-gradient(circle at 22% 32%, rgba(255, 255, 255, 0.8) 1px, transparent 2px), radial-gradient(circle at 62% 20%, rgba(184, 209, 255, 0.8) 1px, transparent 2px), radial-gradient(circle at 75% 56%, rgba(255, 255, 255, 0.62) 1px, transparent 2px), radial-gradient(circle at 38% 70%, rgba(206, 166, 255, 0.58) 1px, transparent 2px);
  background-size: 280px 280px, 380px 380px, 260px 260px, 340px 340px;
  opacity: 0.6;
  animation: wr-stars 15s ease-in-out infinite;
}

.wr-orbit-trail {
  width: min(42vw, 560px);
  height: min(42vw, 560px);
  right: 3%;
  top: 2%;
  border-radius: 50%;
  border: 1px solid rgba(153, 183, 255, 0.28);
  box-shadow: inset 0 0 24px rgba(113, 169, 255, 0.16);
  animation: wr-orbit 26s linear infinite;
}

.wr-noise {
  inset: 0;
  opacity: 0.08;
  background-image: radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.22) 0.6px, transparent 1.6px);
  background-size: 4px 4px;
}

.wr-glass {
  position: relative;
  z-index: 1;
  border: 1px solid rgba(174, 197, 255, 0.14);
  background: linear-gradient(180deg, rgba(25, 19, 52, 0.78), rgba(15, 11, 34, 0.8));
  -webkit-backdrop-filter: blur(10px);
          backdrop-filter: blur(10px);
  box-shadow: 0 30px 80px rgba(5, 9, 26, 0.44);
  border-radius: 22px;
}

.wr-hero-copy {
  padding: 34px;
}

.wr-eyebrow {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 12px;
  border-radius: 999px;
  border: 1px solid rgba(196, 210, 255, 0.22);
  color: #d8e0ff;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.wr-title {
  margin: 16px 0 14px;
  font-size: clamp(64px, 9.6vw, 124px);
  line-height: 0.84;
  letter-spacing: -0.055em;
  color: #f9fbff;
  text-shadow: 0 0 24px rgba(175, 184, 255, 0.24);
}

.wr-subhead {
  margin: 0 0 10px;
  font-size: clamp(20px, 2.4vw, 30px);
  color: #dde5ff;
  font-weight: 650;
}

.wr-copy {
  margin: 0;
  max-width: 64ch;
  color: #c1cdef;
  line-height: 1.75;
}

.wr-actions {
  display: flex;
  gap: 12px;
  margin-top: 24px;
}

.wr-btn {
  min-height: 48px;
  border-radius: 12px;
  padding: 0 18px;
  font-size: 14px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.wr-btn-primary {
  color: #f7f8ff;
  border: 1px solid rgba(219, 199, 255, 0.24);
  background: linear-gradient(100deg, rgba(151, 104, 255, 0.78), rgba(96, 130, 255, 0.72));
  box-shadow: 0 12px 38px rgba(106, 130, 255, 0.34), 0 0 38px rgba(174, 122, 255, 0.16);
}

.wr-btn-ghost {
  color: #ecf1ff;
  border: 1px solid rgba(255, 255, 255, 0.24);
  background: rgba(255, 255, 255, 0.04);
}

.wr-btn:hover {
  transform: translateY(-2px);
}

.wr-btn-primary:hover {
  box-shadow: 0 18px 44px rgba(113, 130, 255, 0.44), 0 0 40px rgba(174, 122, 255, 0.2);
}

.wr-btn-ghost:hover {
  border-color: rgba(210, 228, 255, 0.4);
  box-shadow: inset 0 0 0 1px rgba(210, 228, 255, 0.16);
}

.wr-community {
  margin-top: 18px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-gap: 10px;
  gap: 10px;
}

.wr-community span {
  color: #b9c8ec;
  font-size: 13px;
}

.wr-community strong {
  color: #f6f8ff;
}

.wr-hero-side {
  display: grid;
  grid-gap: 14px;
  gap: 14px;
}

.wr-orbit-visual {
  min-height: 240px;
  overflow: hidden;
}

.wr-sphere {
  position: absolute;
  width: 170px;
  height: 170px;
  border-radius: 50%;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle at 26% 28%, #b9d5ff 0%, #7f8dff 36%, #4f3f93 72%, #26174e 100%);
  box-shadow: 0 0 90px rgba(108, 131, 255, 0.42);
}

.wr-ring {
  position: absolute;
  left: 50%;
  top: 50%;
  border: 1px solid rgba(193, 221, 255, 0.34);
  border-radius: 50%;
}

.wr-ring-a {
  width: 250px;
  height: 86px;
  transform: translate(-50%, -50%) rotate(12deg);
  animation: wr-ring-a 16s linear infinite;
}

.wr-ring-b {
  width: 224px;
  height: 76px;
  transform: translate(-50%, -50%) rotate(-24deg);
  animation: wr-ring-b 20s linear infinite;
}

.wr-ring-c {
  width: 206px;
  height: 66px;
  transform: translate(-50%, -50%) rotate(44deg);
  border-color: rgba(255, 193, 240, 0.36);
  animation: wr-ring-c 12s linear infinite;
}

.wr-energy {
  position: absolute;
  width: 170px;
  height: 170px;
  right: 2%;
  top: 8%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(183, 116, 255, 0.18), transparent 66%);
  animation: wr-pulse 5s ease-in-out infinite;
}

.wr-energy-b {
  width: 120px;
  height: 120px;
  left: 4%;
  bottom: 4%;
  top: auto;
  right: auto;
  background: radial-gradient(circle, rgba(93, 176, 255, 0.14), transparent 70%);
  animation-delay: 2.4s;
}

.wr-panels-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-gap: 12px;
  gap: 12px;
}

.wr-panel {
  padding: 14px;
}

.wr-panel span {
  display: block;
  font-size: 11px;
  letter-spacing: 0.07em;
  color: #afbfeb;
}

.wr-panel strong {
  display: block;
  margin-top: 8px;
  font-size: 34px;
  letter-spacing: -0.03em;
  color: #f6f9ff;
}

.wr-panel p {
  margin: 6px 0 0;
  font-size: 12px;
  color: #9fb0d8;
}

.wr-feed {
  display: grid;
  grid-gap: 10px;
  gap: 10px;
}

.wr-feed-item {
  padding: 14px 16px;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  grid-gap: 10px;
  gap: 10px;
}

.wr-feed-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #7ec5ff;
  box-shadow: 0 0 12px rgba(126, 197, 255, 0.8);
  animation: wr-dot 2.2s ease-in-out infinite;
}

.wr-feed-item p {
  margin: 0;
  color: #deebff;
  font-size: 14px;
}

.wr-feed-item time {
  font-size: 12px;
  color: #9eb3de;
}

.wr-showcase {
  position: relative;
  overflow: hidden;
  padding: 20px;
  transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
}

.wr-showcase:hover {
  transform: translateY(-4px);
  box-shadow: 0 34px 90px rgba(6, 10, 26, 0.48), 0 0 36px rgba(116, 149, 255, 0.22);
}

.wr-showcase-border {
  pointer-events: none;
  position: absolute;
  inset: -1px;
  border-radius: 22px;
  border: 1px solid transparent;
  background: conic-gradient(from 10deg, rgba(120, 152, 255, 0.42), rgba(211, 142, 255, 0.36), rgba(124, 210, 255, 0.36), rgba(120, 152, 255, 0.42)) border-box;
  mask: linear-gradient(#000 0 0) padding-box, linear-gradient(#000 0 0);
  -webkit-mask: linear-gradient(#000 0 0) padding-box, linear-gradient(#000 0 0);
  mask-composite: exclude;
  -webkit-mask-composite: xor;
  animation: wr-border-spin 8s linear infinite;
  opacity: 0.48;
}

.wr-show-top,
.wr-show-meta,
.wr-show-status,
.wr-show-bottom,
.wr-badge-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.wr-badge-row,
.wr-show-status {
  flex-wrap: wrap;
  justify-content: flex-start;
}

.wr-badge {
  font-size: 11px;
  color: #dce8ff;
  border: 1px solid rgba(210, 225, 255, 0.24);
  padding: 4px 8px;
  border-radius: 999px;
  background: rgba(200, 218, 255, 0.08);
}

.wr-show-meta {
  margin-top: 12px;
  color: #a5b9e2;
  font-size: 12px;
}

.wr-show-status {
  margin-top: 10px;
}

.wr-show-status span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #c7d8fb;
  font-size: 12px;
}

.wr-show-status i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  display: inline-block;
}

.wr-show-status i.on {
  background: #68dfa4;
  box-shadow: 0 0 10px rgba(104, 223, 164, 0.6);
}

.wr-show-status i.off {
  background: #f28fab;
  box-shadow: 0 0 10px rgba(242, 143, 171, 0.46);
}

.wr-show-bottom {
  margin-top: 16px;
}

.wr-show-bottom strong {
  font-size: 36px;
  letter-spacing: -0.03em;
  color: #f7f9ff;
}

.wr-inline-link {
  color: #dce9ff;
  font-size: 13px;
  border-bottom: 1px solid rgba(220, 233, 255, 0.3);
}

@keyframes wr-grid-drift {
  from { transform: translate3d(0, 0, 0); }
  to { transform: translate3d(48px, 48px, 0); }
}

@keyframes wr-float-a {
  0%, 100% { transform: translate3d(0, 0, 0); }
  50% { transform: translate3d(18px, -12px, 0); }
}

@keyframes wr-float-b {
  0%, 100% { transform: translate3d(0, 0, 0); }
  50% { transform: translate3d(-16px, 10px, 0); }
}

@keyframes wr-float-c {
  0%, 100% { transform: translate3d(0, 0, 0); }
  50% { transform: translate3d(12px, -16px, 0); }
}

@keyframes wr-stars {
  0%, 100% { opacity: 0.52; transform: translate3d(0, 0, 0); }
  50% { opacity: 0.75; transform: translate3d(-6px, 5px, 0); }
}

@keyframes wr-orbit {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

@keyframes wr-ring-a {
  from { transform: translate(-50%, -50%) rotate(12deg); }
  to { transform: translate(-50%, -50%) rotate(372deg); }
}

@keyframes wr-ring-b {
  from { transform: translate(-50%, -50%) rotate(-24deg); }
  to { transform: translate(-50%, -50%) rotate(336deg); }
}

@keyframes wr-ring-c {
  from { transform: translate(-50%, -50%) rotate(44deg); }
  to { transform: translate(-50%, -50%) rotate(404deg); }
}

@keyframes wr-pulse {
  0%, 100% { opacity: 0.28; transform: scale(1); }
  50% { opacity: 0.52; transform: scale(1.12); }
}

@keyframes wr-border-spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

@keyframes wr-dot {
  0%, 100% { opacity: 0.55; }
  50% { opacity: 1; }
}

@media (max-width: 1100px) {
  .wr-hero {
    grid-template-columns: 1fr;
  }

  .wr-title {
    font-size: clamp(56px, 13vw, 98px);
  }
}

@media (max-width: 720px) {
  .wr-hero-copy {
    padding: 24px;
  }

  .wr-actions {
    flex-direction: column;
  }

  .wr-community {
    grid-template-columns: 1fr;
  }

  .wr-panels-grid {
    grid-template-columns: 1fr;
  }

  .wr-feed-item {
    grid-template-columns: auto minmax(0, 1fr);
  }

  .wr-feed-item time {
    grid-column: 2;
  }
}

.wr-ticker-wrap {
  overflow: hidden;
  border: 1px solid rgba(176, 200, 255, 0.15);
  border-radius: 16px;
  background: linear-gradient(180deg, rgba(21, 16, 42, 0.86), rgba(14, 11, 30, 0.86));
}

.wr-ticker-track {
  display: flex;
  width: max-content;
  animation: wr-ticker 24s linear infinite;
}

.wr-ticker-item {
  padding: 12px 18px;
  font-size: 12px;
  color: #c7d8ff;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border-right: 1px solid rgba(176, 200, 255, 0.14);
}

.wr-launch-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
  grid-gap: 14px;
  gap: 14px;
}

.wr-launch-queue,
.wr-rank-pulse {
  padding: 18px;
}

.wr-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 24px;
  padding: 0 8px;
  border-radius: 999px;
  color: #ffd8ee;
  border: 1px solid rgba(255, 173, 220, 0.35);
  background: rgba(255, 132, 200, 0.12);
  font-size: 11px;
  letter-spacing: 0.08em;
}

.wr-queue-list {
  display: grid;
  grid-gap: 10px;
  gap: 10px;
}

.wr-queue-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 12px;
  border: 1px solid rgba(173, 199, 255, 0.15);
  border-radius: 12px;
  background: rgba(165, 189, 255, 0.03);
}

.wr-queue-item h3 {
  margin: 0;
  font-size: 14px;
  color: #eef3ff;
}

.wr-queue-item p {
  margin: 3px 0 0;
  font-size: 12px;
  color: #9db1dc;
}

.wr-queue-meta {
  display: grid;
  justify-items: end;
  grid-gap: 4px;
  gap: 4px;
}

.wr-queue-meta span {
  font-size: 11px;
  color: #a7bde9;
}

.wr-queue-meta strong {
  font-size: 22px;
  line-height: 1;
}

.wr-pulse-metrics {
  display: grid;
  grid-gap: 8px;
  gap: 8px;
  margin-top: 14px;
}

.wr-pulse-metrics span {
  font-size: 13px;
  color: #b8caee;
}

.wr-pulse-metrics strong {
  color: #f7f9ff;
}

@keyframes wr-ticker {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

@media (max-width: 960px) {
  .wr-launch-grid {
    grid-template-columns: 1fr;
  }
}

/* design.html style full-home adaptation */
.wrx-page {
  position: relative;
  background:
    radial-gradient(circle at 50% 24%, rgba(208, 188, 255, 0.12), transparent 28%),
    radial-gradient(circle at 86% 68%, rgba(251, 171, 255, 0.08), transparent 24%),
    #05020d;
  min-height: 100vh;
}

#wrx-particle-canvas {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  opacity: 0.95;
}

.wrx-shell { position: relative; z-index: 1; padding-top: 12px; }

.wrx-shell::before {
  content: "";
  position: absolute;
  left: 48px;
  top: 70px;
  width: min(520px, 54vw);
  height: 220px;
  pointer-events: none;
  border-top: 1px solid rgba(126, 197, 255, 0.16);
  border-radius: 52% 48% 0 0;
  transform: rotate(7deg);
  filter: drop-shadow(0 0 12px rgba(126, 197, 255, 0.18));
  -webkit-mask-image: linear-gradient(90deg, rgba(0, 0, 0, 0.95), rgba(0, 0, 0, 0.16), transparent);
          mask-image: linear-gradient(90deg, rgba(0, 0, 0, 0.95), rgba(0, 0, 0, 0.16), transparent);
}

.wrx-hero {
  margin-top: 16px;
  text-align: center;
  border: 1px solid rgba(255,255,255,.09);
  border-radius: 28px;
  padding: 86px 20px 58px;
  background:
    linear-gradient(rgba(126, 197, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(126, 197, 255, 0.035) 1px, transparent 1px),
    radial-gradient(circle at 52% 48%, rgba(126, 197, 255, 0.08), transparent 42%),
    rgba(20, 15, 34, 0.5);
  background-size: 48px 48px, 48px 48px, auto, auto;
  -webkit-backdrop-filter: blur(10px);
          backdrop-filter: blur(10px);
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

.wrx-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 32% 38%, rgba(255, 255, 255, 0.42) 1px, transparent 2px),
    radial-gradient(circle at 70% 30%, rgba(126, 197, 255, 0.45) 1px, transparent 2px),
    radial-gradient(circle at 78% 68%, rgba(251, 171, 255, 0.32) 1px, transparent 2px);
  background-size: 180px 180px, 240px 240px, 220px 220px;
  opacity: 0.34;
  animation: whale-star-drift 18s ease-in-out infinite;
}

.wrx-hero-planet {
  position: absolute;
  left: 50%;
  top: 50%;
  width: min(760px, 96vw);
  height: min(520px, 70vw);
  transform: translate(-50%, -55%);
  pointer-events: none;
  opacity: 0.86;
  mix-blend-mode: screen;
  z-index: -1;
  animation: whale-system-float 9s ease-in-out infinite;
}

.wrx-hero-planet .whale-body {
  position: absolute;
  left: 25%;
  top: 31%;
  width: 56%;
  height: 39%;
  border-radius: 54% 68% 58% 46% / 55% 60% 45% 48%;
  background:
    radial-gradient(circle at 75% 38%, rgba(232, 248, 255, 0.54), transparent 16%),
    radial-gradient(ellipse at 50% 52%, rgba(126, 197, 255, 0.52), rgba(160, 120, 255, 0.26) 56%, transparent 78%);
  box-shadow:
    0 0 116px rgba(126, 197, 255, 0.42),
    inset 0 0 62px rgba(251, 171, 255, 0.18);
  filter: blur(0.2px);
  transform-origin: 48% 54%;
  will-change: opacity, transform, filter;
  animation: whale-breathe 6.4s ease-in-out infinite;
}

.wrx-hero-planet .whale-outline {
  position: absolute;
  left: 23%;
  top: 29%;
  width: 60%;
  height: 43%;
  border-radius: 54% 70% 60% 45% / 55% 60% 45% 48%;
  border: 1.5px solid rgba(183, 225, 255, 0.44);
  border-right-color: rgba(251, 171, 255, 0.28);
  border-bottom-color: rgba(126, 197, 255, 0.16);
  box-shadow: 0 0 28px rgba(126, 197, 255, 0.22);
  transform-origin: 48% 54%;
  will-change: opacity, transform, box-shadow;
  animation: whale-outline-swim 7.8s ease-in-out infinite;
}

.wrx-hero-planet .whale-head-glow {
  position: absolute;
  right: 17%;
  top: 37%;
  width: 15%;
  height: 20%;
  border-radius: 45% 60% 58% 42%;
  background: radial-gradient(circle, rgba(236, 249, 255, 0.5), rgba(126, 197, 255, 0.08) 62%, transparent 76%);
  filter: blur(0.3px);
  will-change: opacity, transform, filter;
  animation: whale-head-pulse 5.6s ease-in-out infinite;
}

.wrx-hero-planet .whale-eye {
  position: absolute;
  right: 26%;
  top: 42%;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: rgba(236, 249, 255, 0.86);
  box-shadow: 0 0 12px rgba(236, 249, 255, 0.72);
  will-change: opacity, transform, box-shadow;
  animation: whale-eye-pulse 4.2s ease-in-out infinite;
}

.wrx-hero-planet .whale-mouth {
  position: absolute;
  right: 18%;
  top: 51%;
  width: 19%;
  height: 10%;
  border-bottom: 1.5px solid rgba(230, 246, 255, 0.58);
  border-radius: 0 0 80% 55%;
  transform: rotate(-6deg);
  transform-origin: 92% 55%;
  filter: drop-shadow(0 0 10px rgba(126, 197, 255, 0.28));
  will-change: opacity, transform, filter;
  animation: whale-mouth-glide 6.8s ease-in-out infinite;
}

.wrx-hero-planet .whale-belly {
  position: absolute;
  left: 31%;
  top: 56%;
  width: 44%;
  height: 16%;
  border-bottom: 2px solid rgba(209, 232, 255, 0.5);
  border-radius: 0 0 70% 80%;
  transform: rotate(-2deg);
  transform-origin: 76% 50%;
  filter: drop-shadow(0 0 14px rgba(126, 197, 255, 0.26));
  will-change: opacity, transform, filter;
  animation: whale-belly-glide 7.2s ease-in-out infinite;
}

.wrx-hero-planet .whale-wave {
  position: absolute;
  left: 32%;
  width: 38%;
  height: 18%;
  border-top: 1.5px solid rgba(209, 232, 255, 0.46);
  border-radius: 50%;
  filter: drop-shadow(0 0 12px rgba(126, 197, 255, 0.28));
  transform-origin: 68% 50%;
  will-change: opacity, transform, filter;
}

.wrx-hero-planet .w1 {
  top: 45%;
  transform: rotate(-3deg);
  animation: whale-wave-flow-1 6.4s ease-in-out infinite;
}

.wrx-hero-planet .w2 {
  top: 53%;
  left: 36%;
  width: 30%;
  opacity: 0.68;
  transform: rotate(4deg);
  animation: whale-wave-flow-2 7.1s ease-in-out infinite;
}

.wrx-hero-planet .whale-fin {
  position: absolute;
  left: 48%;
  top: 59%;
  width: 13%;
  height: 17%;
  border-radius: 0 0 80% 80%;
  border-bottom: 2px solid rgba(251, 171, 255, 0.38);
  transform: rotate(16deg);
  transform-origin: 72% 12%;
  filter: drop-shadow(0 0 14px rgba(251, 171, 255, 0.24));
  will-change: opacity, transform, filter;
  animation: whale-fin-drift 5.8s ease-in-out infinite;
}

.wrx-hero-planet .whale-tail {
  position: absolute;
  left: 10%;
  top: 35%;
  width: 23%;
  height: 30%;
  border-radius: 50%;
  border-top: 3px solid rgba(126, 197, 255, 0.72);
  filter: drop-shadow(0 0 22px rgba(126, 197, 255, 0.42));
  transform-origin: 92% 50%;
  will-change: opacity, transform, filter;
}

.wrx-hero-planet .t1 {
  transform: rotate(-34deg);
  animation: whale-tail-sway-top 4.8s ease-in-out infinite;
}

.wrx-hero-planet .t2 {
  top: 48%;
  transform: rotate(34deg);
  border-color: rgba(251, 171, 255, 0.58);
  animation: whale-tail-sway-bottom 4.8s ease-in-out infinite;
}

.wrx-hero-planet .whale-orbit {
  position: absolute;
  left: 50%;
  top: 50%;
  border: 1px solid rgba(195, 218, 255, 0.24);
  border-radius: 50%;
  box-shadow: 0 0 22px rgba(126, 197, 255, 0.16);
}

.wrx-hero-planet .o1 { width: 82%; height: 35%; transform: translate(-50%, -50%) rotate(-9deg); animation: whale-orbit-1 24s linear infinite; opacity: 0.74; }
.wrx-hero-planet .o2 { width: 68%; height: 28%; transform: translate(-50%, -50%) rotate(17deg); animation: whale-orbit-2 31s linear infinite; border-color: rgba(251, 171, 255, 0.22); opacity: 0.62; }
.wrx-hero-planet .o3 { width: 54%; height: 22%; transform: translate(-50%, -50%) rotate(36deg); animation: whale-orbit-3 19s linear infinite; border-color: rgba(126, 197, 255, 0.18); opacity: 0.56; }

.wrx-hero-planet .whale-spray {
  position: absolute;
  left: 39%;
  bottom: 60%;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: rgba(218, 240, 255, 0.9);
  box-shadow: 0 0 14px rgba(126, 197, 255, 0.74);
  --spray-x: 0px;
  animation: whale-spray-rise 4.2s ease-in-out infinite;
}

.wrx-hero-planet .s1 { left: 70%; --spray-x: -28px; animation-delay: 0.2s; }
.wrx-hero-planet .s2 { left: 73%; --spray-x: 0px; animation-delay: 1.2s; }
.wrx-hero-planet .s3 { left: 76%; --spray-x: 30px; animation-delay: 2s; }

.wrx-hero-planet .payload-light {
  position: absolute;
  left: 75%;
  top: 42%;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #fbabff;
  box-shadow: 0 0 18px rgba(251, 171, 255, 0.8);
  animation: payload-orbit 9s ease-in-out infinite;
}

.wrx-hero-planet .p2 {
  left: 26%;
  top: 58%;
  width: 6px;
  height: 6px;
  background: #7ec5ff;
  box-shadow: 0 0 16px rgba(126, 197, 255, 0.76);
  animation-delay: 3.6s;
}
.wrx-hero > .wrx-online,
.wrx-hero > h1,
.wrx-hero > p,
.wrx-hero > .wrx-hero-actions {
  position: relative;
  z-index: 1;
}
.wrx-hero-glow {
  position: absolute;
  left: 50%;
  top: 48%;
  width: min(680px, 94vw);
  height: min(680px, 94vw);
  transform: translate(-50%, -52%);
  background: radial-gradient(circle at center, rgba(208,188,255,.2), transparent 70%);
  filter: blur(70px);
  z-index: -2;
  animation: whale-hero-glow 5.8s ease-in-out infinite;
}
.wrx-online {
  display: inline-flex; border:1px solid rgba(208,188,255,.3); border-radius:999px;
  padding: 6px 12px; font-size:12px; letter-spacing:.14em; color:#ffb869; margin-bottom:16px;
}
.wrx-hero h1 {
  margin: 0;
  font-size: clamp(54px, 8vw, 104px);
  line-height: 1.02;
  letter-spacing: 0;
  font-weight: 900;
  text-shadow: 0 0 34px rgba(8, 6, 22, 0.68);
}
.wrx-hero h1 span {
  background: linear-gradient(90deg,#d0bcff,#fbabff,#d0bcff);
  -webkit-background-clip: text; background-clip:text; color: transparent;
  background-size: 220% 100%; animation: wrx-gradient 4s ease infinite;
  filter: drop-shadow(0 0 18px rgba(251, 171, 255, 0.24));
}
.wrx-hero p { max-width: 640px; margin: 14px auto 0; color:#cbc3d7; line-height: 1.6; }
.wrx-hero-actions { display:flex; gap:12px; justify-content:center; margin-top: 24px; flex-wrap: wrap; }
.wrx-cta-primary,.wrx-cta-ghost { min-height:46px; padding:0 18px; border-radius:12px; display:inline-flex; align-items:center; font-weight:700; }
.wrx-cta-primary { background:#fbabff; color:#36003e; box-shadow: 0 0 20px rgba(251,171,255,.35); }
.wrx-cta-ghost { border:1px solid rgba(255,255,255,.18); color:#e7e0ed; background:rgba(255,255,255,.03); }

.wrx-cta-primary:hover,
.wrx-cta-ghost:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 30px rgba(251, 171, 255, 0.28), 0 18px 40px rgba(0, 0, 0, 0.24);
}

.wrx-strip { margin-top: 18px; overflow:hidden; border-top:1px solid rgba(255,255,255,.08); border-bottom:1px solid rgba(255,255,255,.08); background: rgba(15,13,21,.55); }
.wrx-strip-track { display:flex; width:max-content; animation: wrx-ticker 24s linear infinite; }
.wrx-strip-track span {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 12px 18px;
  font-size:12px;
  letter-spacing:.12em;
  color:#cbc3d7;
  text-transform:uppercase;
}

.wrx-strip-track span + span::before {
  content: "";
  width: 9px;
  height: 9px;
  border-radius: 50% 50% 50% 0;
  border: 1px solid rgba(126, 197, 255, 0.68);
  transform: rotate(-35deg);
  box-shadow: 0 0 12px rgba(126, 197, 255, 0.48);
}

.wrx-live-orbit,.wrx-trajectory,.wrx-reach,.wrx-archive,.wrx-feed {
  margin-top: 28px; border:1px solid rgba(255,255,255,.09); border-radius:24px; padding:22px;
  background: rgba(29,26,35,.45); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
}
.wrx-head small { color:#d0bcff; letter-spacing:.15em; font-size:11px; }
.wrx-head h2,.wrx-trajectory h2,.wrx-reach h2,.wrx-archive h2,.wrx-feed h2 { margin: 8px 0 0; font-size: 28px; }
.wrx-small-link { color: rgba(230,239,255,.78); font-size:13px; letter-spacing:.04em; text-decoration:none; }
.wrx-small-link:hover { color:#fff; text-shadow:0 0 18px rgba(126,197,255,.45); }
.wrx-orbit-cards { margin-top: 14px; display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); grid-gap:12px; gap:12px; }
.wrx-orbit-card { border:1px solid rgba(255,255,255,.1); border-radius:16px; padding:16px; background:rgba(255,255,255,.02); }
.wrx-orbit-top,.wrx-orbit-bottom { display:flex; justify-content:space-between; align-items:center; }
.wrx-tag { font-size:10px; letter-spacing:.08em; text-transform:uppercase; border:1px solid rgba(251,171,255,.4); padding:2px 8px; border-radius:999px; color:#fbabff; }
.wrx-orbit-card h3 { margin: 10px 0 6px; }
.wrx-orbit-card p { margin:0; color:#cbc3d7; min-height: 42px; }
.wrx-orbit-bottom { margin-top: 14px; border-top:1px solid rgba(255,255,255,.08); padding-top:10px; }
.wrx-orbit-bottom strong { font-family: "JetBrains Mono", monospace; color:#d0bcff; font-size: 22px; }

.wrx-steps { margin-top: 12px; display:grid; grid-gap:12px; gap:12px; position:relative; padding-left: 18px; }
.wrx-steps::before { content:""; position:absolute; left: 3px; top: 2px; bottom: 2px; width:1px; background:linear-gradient(#d0bcff,#fbabff,transparent); }
.wrx-steps > div { position:relative; padding-left: 12px; }
.wrx-steps > div::before { content:""; position:absolute; left:-19px; top:6px; width:8px; height:8px; border-radius:50%; background:#d0bcff; box-shadow:0 0 10px rgba(208,188,255,.6); }
.wrx-steps b { font-size:11px; letter-spacing:.12em; color:#d0bcff; }
.wrx-steps h4 { margin: 6px 0 4px; }
.wrx-steps p { margin:0; color:#cbc3d7; }

.wrx-reach p { margin: 8px 0 14px; color:#cbc3d7; }
.wrx-map { height: 280px; border:1px solid rgba(255,255,255,.08); border-radius:16px; position:relative;
  background: radial-gradient(circle at 60% 35%, rgba(208,188,255,.12), transparent 40%),
  linear-gradient(180deg, rgba(255,255,255,.03), rgba(255,255,255,.01)); }
.wrx-world {
  position: absolute;
  inset: 8% 4%;
  width: 92%;
  height: 84%;
  opacity: 0.34;
}
.wrx-world path {
  fill: rgba(144, 130, 177, 0.28);
  stroke: rgba(208, 188, 255, 0.2);
  stroke-width: 2;
}
.node { position:absolute; font-size:11px; padding:4px 8px; border-radius:999px; border:1px solid rgba(208,188,255,.4); background:rgba(21,18,27,.9); }
.node::before { content:""; position:absolute; left:50%; top:-8px; transform:translateX(-50%); width:8px; height:8px; border-radius:50%; background:#d0bcff; box-shadow:0 0 12px rgba(208,188,255,.7); }
.node.dynamic { transform: translate(-50%, -50%); animation: wrx-city-pulse 2.8s ease-in-out infinite; }
.node.sf { left:18%; top:38%; } .node.hz { left:68%; top:44%; } .node.sg { left:62%; top:62%; } .node.tk { left:79%; top:36%; }

.constellation-panel {
  position: relative;
  overflow: hidden;
  margin-top: 28px;
  padding: 24px;
  border: 1px solid rgba(190, 207, 255, 0.14);
  border-radius: 22px;
  background:
    radial-gradient(circle at 18% 18%, rgba(102, 168, 255, 0.12), transparent 34%),
    radial-gradient(circle at 80% 72%, rgba(251, 171, 255, 0.1), transparent 32%),
    linear-gradient(180deg, rgba(22, 17, 44, 0.66), rgba(8, 6, 22, 0.82));
  -webkit-backdrop-filter: blur(12px);
          backdrop-filter: blur(12px);
  box-shadow: 0 30px 88px rgba(4, 6, 18, 0.46);
}

.constellation-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    radial-gradient(circle at 12% 22%, rgba(255, 255, 255, 0.7) 1px, transparent 2px),
    radial-gradient(circle at 34% 62%, rgba(208, 188, 255, 0.62) 1px, transparent 2px),
    radial-gradient(circle at 76% 28%, rgba(154, 213, 255, 0.6) 1px, transparent 2px),
    radial-gradient(circle at 88% 74%, rgba(255, 255, 255, 0.52) 1px, transparent 2px);
  background-size: 190px 190px, 250px 250px, 220px 220px, 280px 280px;
  opacity: 0.42;
  animation: constellation-star-drift 18s ease-in-out infinite;
}

.constellation-head {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
}

.constellation-head h2 {
  margin: 0;
  color: #f7f8ff;
  font-size: 28px;
  line-height: 1.15;
}

.constellation-head p {
  margin: 8px 0 0;
  color: #c5d1ee;
}

.constellation-signal {
  display: inline-flex;
  min-height: 28px;
  align-items: center;
  border: 1px solid rgba(126, 197, 255, 0.28);
  border-radius: 999px;
  padding: 0 10px;
  color: #cbe8ff;
  font-size: 11px;
  letter-spacing: 0.1em;
  white-space: nowrap;
  background: rgba(126, 197, 255, 0.07);
}

.constellation-map {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(260px, 3fr);
  grid-gap: 16px;
  gap: 16px;
  min-height: 470px;
  margin-top: 18px;
}

.constellation-stage {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(177, 198, 255, 0.12);
  border-radius: 18px;
  background:
    linear-gradient(rgba(171, 196, 255, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(171, 196, 255, 0.045) 1px, transparent 1px),
    radial-gradient(circle at 72% 42%, rgba(100, 168, 255, 0.14), transparent 38%),
    radial-gradient(circle at 20% 48%, rgba(251, 171, 255, 0.1), transparent 34%),
    rgba(7, 5, 20, 0.56);
  background-size: 42px 42px, 42px 42px, auto, auto, auto;
}

.constellation-stars {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    radial-gradient(circle at 18% 28%, rgba(255, 255, 255, 0.78) 1px, transparent 2px),
    radial-gradient(circle at 44% 18%, rgba(126, 197, 255, 0.72) 1px, transparent 2px),
    radial-gradient(circle at 69% 68%, rgba(251, 171, 255, 0.58) 1px, transparent 2px),
    radial-gradient(circle at 82% 20%, rgba(255, 255, 255, 0.62) 1px, transparent 2px);
  background-size: 160px 160px, 230px 230px, 190px 190px, 260px 260px;
  animation: constellation-star-drift 14s ease-in-out infinite;
  opacity: 0.72;
}

.constellation-routes {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
}

.constellation-route {
  fill: none;
  stroke: rgba(131, 179, 255, 0.18);
  stroke-width: 0.2;
  stroke-dasharray: 1.4 1.8;
  filter: drop-shadow(0 0 4px rgba(126, 197, 255, 0.18));
  animation: constellation-route-flow 8s linear infinite;
  transition: stroke 180ms ease, stroke-width 180ms ease, opacity 180ms ease;
}

.constellation-routes g.active .constellation-route {
  stroke: rgba(251, 171, 255, 0.82);
  stroke-width: 0.44;
  filter: drop-shadow(0 0 10px rgba(251, 171, 255, 0.52));
}

.route-particle {
  fill: #d9f1ff;
  opacity: 0.52;
  filter: drop-shadow(0 0 5px rgba(126, 197, 255, 0.85));
}

.constellation-routes g.active .route-particle {
  fill: #fbabff;
}

.constellation-node {
  position: absolute;
  display: grid;
  place-items: center;
  min-width: 42px;
  min-height: 42px;
  border: 0;
  padding: 0;
  color: #f7f8ff;
  background: transparent;
  cursor: pointer;
  transform: translate(-50%, -50%);
  transition: transform 180ms ease, filter 180ms ease;
}

.constellation-node:hover,
.constellation-node:focus-visible,
.constellation-node.active,
.constellation-node.selected {
  transform: translate(-50%, -50%) scale(1.12);
  filter: drop-shadow(0 0 18px rgba(126, 197, 255, 0.4));
  z-index: 8;
}

.constellation-node.launching .node-pulse {
  animation-duration: 420ms;
  border-color: rgba(255, 255, 255, 0.92);
}

.node-pulse {
  position: absolute;
  width: 34px;
  height: 34px;
  border: 1px solid rgba(126, 197, 255, 0.34);
  border-radius: 50%;
  animation: constellation-node-pulse 2.8s ease-out infinite;
}

.node-dot {
  position: absolute;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: #7ec5ff;
  box-shadow: 0 0 18px rgba(126, 197, 255, 0.85), 0 0 34px rgba(251, 171, 255, 0.24);
}

.node-dot[data-status="LAUNCHING"] {
  background: #c8b6ff;
  box-shadow: 0 0 18px rgba(200, 182, 255, 0.86), 0 0 32px rgba(126, 197, 255, 0.18);
}

.node-dot[data-status="BOOSTING"] {
  background: #fbabff;
  box-shadow: 0 0 18px rgba(251, 171, 255, 0.82), 0 0 34px rgba(126, 197, 255, 0.18);
}

.node-dot[data-status="RISING"] {
  background: #ffdd9a;
  box-shadow: 0 0 18px rgba(255, 221, 154, 0.7), 0 0 32px rgba(251, 171, 255, 0.16);
}

.node-code {
  position: absolute;
  left: var(--label-x);
  top: var(--label-y);
  min-width: 30px;
  border: 1px solid rgba(214, 226, 255, 0.14);
  border-radius: 999px;
  padding: 2px 6px;
  background: rgba(8, 6, 22, 0.58);
  color: rgba(237, 245, 255, 0.64);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.04em;
  transform: translate(-50%, -50%);
  transition: color 160ms ease, border-color 160ms ease, background 160ms ease, opacity 160ms ease;
}

.constellation-node.active .node-code,
.constellation-node.selected .node-code {
  color: #ffffff;
  border-color: rgba(214, 226, 255, 0.34);
  background: rgba(8, 6, 22, 0.86);
  opacity: 1;
}

.node-tooltip {
  pointer-events: none;
  position: absolute;
  left: 50%;
  bottom: calc(100% + 10px);
  display: grid;
  grid-gap: 3px;
  gap: 3px;
  min-width: 118px;
  border: 1px solid rgba(208, 188, 255, 0.22);
  border-radius: 10px;
  padding: 8px;
  background: rgba(12, 9, 28, 0.9);
  color: #dce8ff;
  box-shadow: 0 20px 44px rgba(0, 0, 0, 0.32);
  opacity: 0;
  transform: translate(-50%, 8px);
  transition: opacity 160ms ease, transform 160ms ease;
  -webkit-backdrop-filter: blur(14px);
          backdrop-filter: blur(14px);
}

.node-tooltip strong {
  color: #fff;
  font-size: 12px;
}

.node-tooltip span {
  color: #bdcae8;
  font-size: 11px;
  white-space: nowrap;
}

.constellation-node:hover .node-tooltip,
.constellation-node:focus-visible .node-tooltip,
.constellation-node.active .node-tooltip {
  opacity: 1;
  transform: translate(-50%, 0);
}

.constellation-detail {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 100%;
  border: 1px solid rgba(208, 188, 255, 0.14);
  border-radius: 18px;
  padding: 22px;
  background:
    radial-gradient(circle at 82% 18%, rgba(251, 171, 255, 0.14), transparent 32%),
    radial-gradient(circle at 12% 82%, rgba(126, 197, 255, 0.12), transparent 34%),
    rgba(255, 255, 255, 0.035);
  -webkit-backdrop-filter: blur(14px);
          backdrop-filter: blur(14px);
}

.constellation-detail::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  border-radius: inherit;
  box-shadow: inset 0 0 60px rgba(126, 197, 255, 0.08);
}

.detail-kicker {
  width: -moz-fit-content;
  width: fit-content;
  border: 1px solid rgba(251, 171, 255, 0.28);
  border-radius: 999px;
  padding: 5px 9px;
  color: #ffd8fd;
  background: rgba(251, 171, 255, 0.08);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.constellation-detail h3 {
  margin: 14px 0 18px;
  color: #f8fbff;
  font-size: 24px;
  line-height: 1.15;
}

.detail-signal-list {
  display: grid;
  grid-gap: 10px;
  gap: 10px;
  color: #c7d8f3;
  font-size: 14px;
}

.detail-signal-list span {
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.constellation-view-city {
  width: -moz-fit-content;
  width: fit-content;
  margin-top: 22px;
  border: 1px solid rgba(126, 197, 255, 0.28);
  border-radius: 12px;
  padding: 10px 12px;
  color: #ecf7ff;
  background: rgba(126, 197, 255, 0.08);
  cursor: pointer;
  font-weight: 700;
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.constellation-view-city:hover {
  transform: translateY(-1px);
  box-shadow: 0 0 22px rgba(126, 197, 255, 0.18);
}

.wrx-archive-grid { margin-top: 14px; display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); grid-gap:12px; gap:12px; }
.wrx-archive-grid.rich { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.wrx-archive-item {
  min-height: 170px;
  border:1px solid rgba(255,255,255,.1);
  border-radius:14px;
  padding:14px;
  background:
    radial-gradient(circle at 85% 20%, rgba(251,171,255,.2), transparent 42%),
    radial-gradient(circle at 14% 80%, rgba(128,161,193,.2), transparent 46%),
    rgba(255,255,255,.02);
  display:flex;
  flex-direction:column;
  justify-content:flex-end;
  transition: transform .2s ease, box-shadow .2s ease;
}
.wrx-archive-item:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 40px rgba(0,0,0,.35);
}
.wrx-archive-item p { margin: 6px 0 0; color: #c0b8ce; font-size: 12px; }
.wrx-archive-item.placeholder { opacity: .72; }
.wrx-archive-item span { font-size:10px; letter-spacing:.12em; color:#958ea0; }
.wrx-archive-item h5 { margin:6px 0 0; font-size:15px; }

.wrx-feed-list { margin-top: 10px; display:grid; grid-gap:8px; gap:8px; }
.wrx-feed-list p { margin:0; padding:10px 12px; border:1px solid rgba(255,255,255,.08); border-radius:10px; color:#e7e0ed; background:rgba(255,255,255,.02); }

.wrx-footer { margin: 30px 0 10px; border-top:1px solid rgba(255,255,255,.08); padding-top:18px; display:grid; grid-gap:10px; gap:10px; justify-items:center; }
.wrx-footer > div:first-child { letter-spacing:.08em; font-weight:700; }
.wrx-footer > div:last-child { display:flex; gap:14px; flex-wrap:wrap; justify-content:center; }
.wrx-footer a { font-size:12px; letter-spacing:.12em; color:#958ea0; }

@keyframes wrx-ticker { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@keyframes wrx-gradient { 0%,100% { background-position:0% 50%; } 50% { background-position:100% 50%; } }
@keyframes wrx-stars { from { transform: translateY(0); } to { transform: translateY(-40px); } }
@keyframes wrx-hero-rotate {
  from { rotate: 0deg; }
  to { rotate: 360deg; }
}
@keyframes wrx-ring-1 { from { transform: translate(-50%, -50%) rotate(12deg); } to { transform: translate(-50%, -50%) rotate(372deg); } }
@keyframes wrx-ring-2 { from { transform: translate(-50%, -50%) rotate(-20deg); } to { transform: translate(-50%, -50%) rotate(340deg); } }
@keyframes wrx-ring-3 { from { transform: translate(-50%, -50%) rotate(38deg); } to { transform: translate(-50%, -50%) rotate(398deg); } }
@keyframes wrx-energy {
  0% { transform: scale(.84); opacity: 0; }
  45% { opacity: .5; }
  100% { transform: scale(1.2); opacity: 0; }
}
@keyframes wrx-stream {
  0%, 100% { opacity: 0.18; height: 22%; }
  45% { opacity: 0.8; height: 38%; }
}

@keyframes whale-system-float {
  0%, 100% { transform: translate(-50%, -55%) translate3d(0, 0, 0) rotate(-0.2deg); }
  45% { transform: translate(-50%, -55%) translate3d(10px, -12px, 0) rotate(0.45deg); }
  72% { transform: translate(-50%, -55%) translate3d(-5px, -4px, 0) rotate(-0.08deg); }
}

@keyframes whale-breathe {
  0%, 100% { opacity: 0.74; transform: translate3d(0, 0, 0) scale(1); filter: blur(0.2px) brightness(1); }
  50% { opacity: 0.94; transform: translate3d(4px, -2px, 0) scale(1.035); filter: blur(0.35px) brightness(1.12); }
}

@keyframes whale-outline-swim {
  0%, 100% {
    opacity: 0.72;
    transform: translate3d(0, 0, 0) scaleX(1);
    box-shadow: 0 0 28px rgba(126, 197, 255, 0.22);
  }
  50% {
    opacity: 0.92;
    transform: translate3d(6px, -2px, 0) scaleX(1.018);
    box-shadow: 0 0 38px rgba(126, 197, 255, 0.34);
  }
}

@keyframes whale-head-pulse {
  0%, 100% { opacity: 0.68; transform: translate3d(0, 0, 0) scale(1); filter: blur(0.3px); }
  50% { opacity: 0.92; transform: translate3d(4px, -1px, 0) scale(1.08); filter: blur(0.45px) brightness(1.1); }
}

@keyframes whale-eye-pulse {
  0%, 92%, 100% { opacity: 0.82; transform: scale(1); box-shadow: 0 0 12px rgba(236, 249, 255, 0.72); }
  46% { opacity: 1; transform: scale(1.35); box-shadow: 0 0 18px rgba(236, 249, 255, 0.92); }
}

@keyframes whale-mouth-glide {
  0%, 100% { opacity: 0.58; transform: rotate(-6deg) translate3d(0, 0, 0) scaleX(1); }
  50% { opacity: 0.86; transform: rotate(-4deg) translate3d(5px, 1px, 0) scaleX(1.05); }
}

@keyframes whale-belly-glide {
  0%, 100% { opacity: 0.58; transform: rotate(-2deg) translate3d(0, 0, 0) scaleX(1); }
  50% { opacity: 0.88; transform: rotate(-3.8deg) translate3d(4px, 3px, 0) scaleX(1.04); }
}

@keyframes whale-wave-flow-1 {
  0%, 100% { opacity: 0.52; transform: rotate(-3deg) translate3d(0, 0, 0) scaleX(1); }
  50% { opacity: 0.84; transform: rotate(-1deg) translate3d(8px, -2px, 0) scaleX(1.08); }
}

@keyframes whale-wave-flow-2 {
  0%, 100% { opacity: 0.42; transform: rotate(4deg) translate3d(0, 0, 0) scaleX(1); }
  50% { opacity: 0.72; transform: rotate(2deg) translate3d(10px, 2px, 0) scaleX(1.1); }
}

@keyframes whale-fin-drift {
  0%, 100% { opacity: 0.64; transform: rotate(16deg) translate3d(0, 0, 0); }
  50% { opacity: 0.9; transform: rotate(22deg) translate3d(2px, 4px, 0); }
}

@keyframes whale-tail-sway-top {
  0%, 100% { opacity: 0.76; transform: rotate(-34deg) translate3d(0, 0, 0); }
  50% { opacity: 0.96; transform: rotate(-42deg) translate3d(-6px, -5px, 0); }
}

@keyframes whale-tail-sway-bottom {
  0%, 100% { opacity: 0.68; transform: rotate(34deg) translate3d(0, 0, 0); }
  50% { opacity: 0.9; transform: rotate(42deg) translate3d(-6px, 5px, 0); }
}

@keyframes whale-hero-glow {
  0%, 100% { opacity: 0.72; transform: translate(-50%, -52%) scale(1); }
  50% { opacity: 0.94; transform: translate(-50%, -52%) scale(1.06); }
}

@keyframes whale-star-drift {
  0%, 100% { transform: translate3d(0, 0, 0); opacity: 0.28; }
  50% { transform: translate3d(-8px, 6px, 0); opacity: 0.42; }
}

@keyframes whale-orbit-1 {
  from { transform: translate(-50%, -50%) rotate(-9deg); }
  to { transform: translate(-50%, -50%) rotate(351deg); }
}

@keyframes whale-orbit-2 {
  from { transform: translate(-50%, -50%) rotate(17deg); }
  to { transform: translate(-50%, -50%) rotate(377deg); }
}

@keyframes whale-orbit-3 {
  from { transform: translate(-50%, -50%) rotate(36deg); }
  to { transform: translate(-50%, -50%) rotate(396deg); }
}

@keyframes whale-spray-rise {
  0% { opacity: 0; transform: translate3d(var(--spray-x), 24px, 0) scale(0.8); }
  35% { opacity: 0.9; }
  100% { opacity: 0; transform: translate3d(calc(var(--spray-x) * 1.4), -88px, 0) scale(0.35); }
}

@keyframes payload-orbit {
  0%, 100% { transform: translate3d(0, 0, 0) scale(0.82); opacity: 0.44; }
  45% { transform: translate3d(-160px, 46px, 0) scale(1.1); opacity: 1; }
  70% { transform: translate3d(-300px, -12px, 0) scale(0.72); opacity: 0.54; }
}
@keyframes wrx-city-pulse {
  0%, 100% { transform: translate(-50%, -50%) scale(1); filter: brightness(1); }
  50% { transform: translate(-50%, -50%) scale(1.08); filter: brightness(1.25); }
}

@keyframes constellation-star-drift {
  0%, 100% { transform: translate3d(0, 0, 0); opacity: 0.48; }
  50% { transform: translate3d(-10px, 8px, 0); opacity: 0.82; }
}

@keyframes constellation-route-flow {
  from { stroke-dashoffset: 0; }
  to { stroke-dashoffset: -18; }
}

@keyframes constellation-node-pulse {
  0% { transform: scale(0.62); opacity: 0; }
  42% { opacity: 0.62; }
  100% { transform: scale(1.42); opacity: 0; }
}

@media (max-width: 860px) {
  .wrx-orbit-cards,.wrx-archive-grid,.wrx-archive-grid.rich { grid-template-columns:1fr; }
  .wrx-hero-planet {
    width: min(540px, 112vw);
    height: 360px;
    transform: translate(-50%, -58%);
  }

  .constellation-panel {
    padding: 18px;
    border-radius: 18px;
  }

  .constellation-head {
    display: grid;
  }

  .constellation-map {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .constellation-stage {
    height: 430px;
  }

  .constellation-detail {
    min-height: 220px;
  }

  .node-tooltip {
    min-width: 140px;
  }
}

/* Events Mission Board */
.events-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(280px, 0.65fr);
  grid-gap: 20px;
  gap: 20px;
  align-items: start;
}

.events-filter-panel,
.events-summary-panel,
.mission-card {
  position: relative;
  overflow: hidden;
  border-radius: 26px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background:
    radial-gradient(circle at 15% 10%, rgba(56, 189, 248, 0.08), transparent 22%),
    radial-gradient(circle at 82% 12%, rgba(244, 114, 182, 0.08), transparent 20%),
    rgba(255, 255, 255, 0.04);
  -webkit-backdrop-filter: blur(18px) saturate(130%);
          backdrop-filter: blur(18px) saturate(130%);
  box-shadow: var(--shadow-card);
}

.events-filter-panel {
  padding: 32px;
}

.events-summary-panel {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-gap: 12px;
  gap: 12px;
  padding: 20px;
}

.events-stat-card {
  position: relative;
  overflow: hidden;
  min-height: 128px;
  padding: 18px;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.03)),
    rgba(255, 255, 255, 0.02);
}

.events-stat-card .metric-value {
  margin-top: 12px;
  font-size: 34px;
}

.events-kicker-row,
.mission-card-head,
.mission-meta,
.mission-card-side,
.events-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.events-kicker-row {
  margin-bottom: 14px;
}

.events-mini-badge {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 12px;
  border-radius: 999px;
  border: 1px solid rgba(56, 189, 248, 0.22);
  background: rgba(56, 189, 248, 0.08);
  color: #d8f3ff;
  font-size: 11px;
  letter-spacing: 0.08em;
}

.events-filter-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  grid-gap: 14px;
  gap: 14px;
  margin-top: 22px;
}

.events-field {
  display: grid;
  grid-gap: 8px;
  gap: 8px;
}

.events-span-12 { grid-column: span 12; }
.events-span-4 { grid-column: span 4; }

.events-actions {
  justify-content: flex-start;
}

.events-submit {
  min-width: 150px;
  position: relative;
  overflow: hidden;
}

.events-submit::after {
  content: "→";
  margin-left: 8px;
  transition: transform 180ms ease;
}

.events-submit:hover::after {
  transform: translateX(4px);
}

.events-board {
  display: grid;
  grid-gap: 20px;
  gap: 20px;
}

.mission-card {
  display: grid;
  grid-template-columns: minmax(0, 1.7fr) minmax(230px, 0.72fr);
  grid-gap: 18px;
  gap: 18px;
  padding: 24px 24px 24px 28px;
  align-items: center;
  transition: transform 200ms ease, border-color 200ms ease, box-shadow 200ms ease;
}

.mission-card::after {
  content: "";
  position: absolute;
  right: 18px;
  top: 16px;
  width: 92px;
  height: 44px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  border-right: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 0 24px 0 0;
  opacity: 0.65;
  pointer-events: none;
}

.mission-card:hover {
  transform: translateY(-3px);
  border-color: rgba(56, 189, 248, 0.22);
  box-shadow: 0 30px 72px rgba(0, 0, 0, 0.36);
}

.mission-status-rail {
  position: absolute;
  left: 0;
  top: 0;
  width: 5px;
  height: 100%;
  background: linear-gradient(180deg, rgba(56, 189, 248, 0.72), rgba(244, 114, 182, 0.72), rgba(250, 204, 21, 0.7));
  opacity: 0.42;
  transition: opacity 180ms ease, box-shadow 180ms ease;
  box-shadow: 0 0 0 rgba(56, 189, 248, 0);
}

.mission-card:hover .mission-status-rail {
  opacity: 0.9;
  box-shadow: 0 0 22px rgba(56, 189, 248, 0.24);
}

.mission-orbit {
  position: absolute;
  right: -14px;
  top: 14px;
  width: 126px;
  height: 58px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-left-color: transparent;
  border-bottom-color: transparent;
  border-radius: 50%;
  transform: rotate(-12deg);
  opacity: 0.55;
  pointer-events: none;
}

.mission-card-main {
  display: grid;
  grid-gap: 16px;
  gap: 16px;
}

.mission-card-head {
  align-items: flex-start;
}

.mission-heading {
  display: grid;
  grid-gap: 8px;
  gap: 8px;
}

.mission-tags {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.mission-meta {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-gap: 12px;
  gap: 12px;
}

.mission-meta > div {
  display: grid;
  grid-gap: 8px;
  gap: 8px;
  padding: 14px 0 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.mission-meta strong {
  font-size: 16px;
  line-height: 1.25;
  color: var(--text-main);
}

.mission-card-side {
  flex-direction: column;
  align-items: flex-end;
  justify-content: center;
  min-height: 100%;
  padding-left: 8px;
}

.mission-orbit-number {
  font-family: "JetBrains Mono", "SFMono-Regular", Consolas, monospace;
  font-size: 42px;
  font-weight: 700;
  letter-spacing: -0.06em;
  color: transparent;
  background: linear-gradient(135deg, #facc15 0%, #f472b6 50%, #38bdf8 100%);
  -webkit-background-clip: text;
  background-clip: text;
}

.mission-timeline {
  margin: 0;
  color: var(--text-soft);
  font-size: 13px;
  line-height: 1.6;
  text-align: right;
}

.mission-cta {
  min-width: 116px;
}

.mission-cta::after {
  content: "→";
  margin-left: 8px;
  transition: transform 180ms ease;
}

.mission-cta:hover::after {
  transform: translateX(4px);
}

.mission-card.active .mission-status-rail {
  background: linear-gradient(180deg, rgba(56, 189, 248, 0.92), rgba(244, 114, 182, 0.82));
}

.mission-card.pending .mission-status-rail {
  background: linear-gradient(180deg, rgba(250, 204, 21, 0.9), rgba(244, 114, 182, 0.74));
}

.mission-card.ended .mission-status-rail {
  background: linear-gradient(180deg, rgba(151, 161, 190, 0.78), rgba(56, 189, 248, 0.36));
}

.mission-card.active .tag {
  background: rgba(56, 189, 248, 0.12);
  color: #d9f4ff;
}

.mission-card.pending .tag {
  background: rgba(250, 204, 21, 0.12);
  color: #fff0b2;
}

.mission-card.ended .tag {
  background: rgba(151, 161, 190, 0.1);
  color: #d5dbea;
}

.mission-card.active .status-chip {
  background: rgba(52, 211, 153, 0.12);
  color: #c7f6e5;
}

.mission-card.pending .status-chip {
  background: rgba(244, 114, 182, 0.12);
  color: #ffd7e8;
}

.mission-card.ended .status-chip {
  background: rgba(96, 165, 250, 0.08);
  color: #d3e8ff;
}

.skeleton-line,
.skeleton-block,
.skeleton-pill,
.skeleton-input {
  position: relative;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
}

.skeleton-block {
  border-radius: 18px;
}

.skeleton-input {
  height: 44px;
  border-radius: 14px;
}

.skeleton-line::after,
.skeleton-block::after,
.skeleton-pill::after,
.skeleton-input::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.12), transparent);
  transform: translateX(-100%);
  animation: skeleton-shimmer 1.4s ease-in-out infinite;
}

@keyframes skeleton-shimmer {
  100% {
    transform: translateX(100%);
  }
}

@media (max-width: 960px) {
  .events-hero {
    grid-template-columns: 1fr;
  }

  .events-summary-panel {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .mission-card {
    grid-template-columns: 1fr;
  }

  .mission-card-side {
    align-items: flex-start;
    padding-left: 0;
  }

  .mission-timeline {
    text-align: left;
  }
}

@media (max-width: 720px) {
  .events-filter-panel {
    padding: 20px;
  }

  .events-summary-panel {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    padding: 16px;
  }

  .events-filter-grid {
    grid-template-columns: 1fr;
  }

  .events-span-12,
  .events-span-4 {
    grid-column: span 1;
  }

  .mission-card {
    padding: 20px 20px 20px 24px;
  }

  .mission-meta {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .mission-orbit {
    width: 88px;
    height: 42px;
  }
}

/* Home Mission Control */
.home-page {
  position: relative;
  overflow: hidden;
}

.home-shell {
  position: relative;
  z-index: 1;
  padding-top: 12px;
}

.home-hero {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  grid-gap: 22px;
  gap: 22px;
  align-items: start;
  padding: 24px 0 8px;
}

.home-hero-copy {
  position: relative;
  z-index: 1;
  padding: 10px 0;
}

.home-kicker {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 12px;
  border-radius: 999px;
  border: 1px solid rgba(126, 197, 255, 0.22);
  background: rgba(126, 197, 255, 0.08);
  color: #d9f3ff;
  font-size: 11px;
  letter-spacing: 0.14em;
}

.home-title {
  margin: 18px 0 14px;
  max-width: 7.6em;
  font-size: clamp(42px, 5.2vw, 64px);
  line-height: 1.05;
  letter-spacing: -0.06em;
  text-wrap: balance;
}

.home-title span {
  display: inline-block;
  color: transparent;
  background: linear-gradient(90deg, #f7f9ff 0%, #d6a8ff 32%, #f472b6 68%, #9ed9ff 100%);
  background-size: 220% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  filter: drop-shadow(0 0 18px rgba(244, 114, 182, 0.16));
  animation: home-title-flow 7s ease-in-out infinite;
}

.home-copy {
  max-width: 62ch;
  margin: 0;
  color: var(--text-soft);
  font-size: 15px;
  line-height: 1.78;
}

.home-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 22px;
}

.home-trustline {
  margin: 14px 0 0;
  color: rgba(214, 226, 255, 0.72);
  font-size: 12px;
  line-height: 1.5;
  letter-spacing: 0.04em;
}

.home-metrics {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-gap: 12px;
  gap: 12px;
  max-width: 560px;
  margin-top: 18px;
}

.home-metric {
  position: relative;
  display: grid;
  grid-gap: 6px;
  gap: 6px;
  min-height: 84px;
  padding: 14px 14px 14px 16px;
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.025);
  -webkit-backdrop-filter: blur(12px) saturate(120%);
          backdrop-filter: blur(12px) saturate(120%);
  transition: border-color 180ms ease, background 180ms ease, transform 180ms ease;
}

.home-metric:hover {
  border-color: rgba(126, 197, 255, 0.18);
  background: rgba(255, 255, 255, 0.04);
  transform: translateY(-1px);
}

.home-metric-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #7ec5ff;
  box-shadow: 0 0 10px rgba(126, 197, 255, 0.72);
}

.home-metric .metric-label {
  margin-top: 2px;
  font-size: 11px;
  letter-spacing: 0.08em;
}

.home-metric strong {
  display: block;
  margin-top: 2px;
  color: var(--text-main);
  font-size: 20px;
  line-height: 1.2;
}

.home-metric em {
  color: var(--text-muted);
  font-size: 12px;
  font-style: normal;
  line-height: 1.3;
}

.home-hero-visual {
  position: relative;
  min-height: 640px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 32px;
  background:
    radial-gradient(circle at 18% 18%, rgba(56, 189, 248, 0.14), transparent 24%),
    radial-gradient(circle at 84% 18%, rgba(244, 114, 182, 0.12), transparent 20%),
    radial-gradient(circle at 48% 56%, rgba(125, 124, 255, 0.18), transparent 40%),
    linear-gradient(180deg, rgba(13, 10, 28, 0.88), rgba(8, 7, 18, 0.92));
  box-shadow: var(--shadow-card);
}

.home-hero-grid {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(rgba(132, 116, 255, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(132, 116, 255, 0.045) 1px, transparent 1px);
  background-size: 46px 46px;
  opacity: 0.26;
  -webkit-mask-image: radial-gradient(circle at 50% 46%, rgba(255, 255, 255, 0.92), transparent 72%);
          mask-image: radial-gradient(circle at 50% 46%, rgba(255, 255, 255, 0.92), transparent 72%);
}

.home-hero-glow {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 82%;
  height: 82%;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle at center, rgba(116, 135, 255, 0.18), transparent 68%);
  filter: blur(40px);
  opacity: 0.8;
}

.home-whale-watermark {
  position: absolute;
  right: 8%;
  top: 8%;
  width: 320px;
  height: 220px;
  opacity: 0.06;
  background:
    radial-gradient(circle at 72% 36%, rgba(245, 250, 255, 0.9), transparent 8%),
    radial-gradient(ellipse at 52% 48%, rgba(125, 124, 255, 0.92), rgba(168, 85, 247, 0.6) 48%, transparent 76%);
  border-radius: 54% 64% 58% 46% / 60% 55% 44% 48%;
  filter: blur(1px);
  transform: rotate(-14deg);
}

.home-hero-orbit {
  position: absolute;
  left: 50%;
  top: 48%;
  border: 1px solid rgba(171, 196, 255, 0.12);
  border-radius: 50%;
  transform: translate(-50%, -50%);
}

.home-hero-visual .orbit-a {
  width: 74%;
  height: 32%;
}

.home-hero-visual .orbit-b {
  width: 60%;
  height: 26%;
  border-color: rgba(244, 114, 182, 0.12);
  transform: translate(-50%, -50%) rotate(18deg);
}

.home-hero-visual .orbit-c {
  width: 46%;
  height: 20%;
  border-color: rgba(56, 189, 248, 0.12);
  transform: translate(-50%, -50%) rotate(-20deg);
}

.home-console-panel {
  position: absolute;
  inset: 24px;
  display: grid;
  grid-template-rows: auto 1fr auto;
  grid-gap: 18px;
  gap: 18px;
  padding: 32px;
  border-radius: 28px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background:
    radial-gradient(circle at 20% 18%, rgba(56, 189, 248, 0.12), transparent 20%),
    radial-gradient(circle at 84% 22%, rgba(244, 114, 182, 0.1), transparent 18%),
    linear-gradient(180deg, rgba(13, 10, 26, 0.72), rgba(8, 7, 16, 0.9));
  -webkit-backdrop-filter: blur(18px) saturate(130%);
          backdrop-filter: blur(18px) saturate(130%);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.02);
  z-index: 2;
}

.home-console-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(rgba(132, 116, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(132, 116, 255, 0.05) 1px, transparent 1px);
  background-size: 54px 54px;
  opacity: 0.12;
  border-radius: inherit;
}

.home-console-panel::after {
  content: "";
  position: absolute;
  right: 18px;
  top: 16px;
  width: 240px;
  height: 160px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-left-color: transparent;
  border-bottom-color: transparent;
  border-radius: 50%;
  opacity: 0.6;
  pointer-events: none;
}

.home-console-header {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.home-console-title {
  display: block;
  color: #d9f1ff;
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.home-console-header strong {
  display: block;
  margin-top: 6px;
  color: #fff;
  font-size: 20px;
}

.home-console-status {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--text-soft);
  font-size: 12px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.home-status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #34d399;
  box-shadow: 0 0 10px rgba(52, 211, 153, 0.78);
}

.home-console-online {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 0 10px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
  color: #dce8ff;
}

.home-status-mini {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  opacity: 0.9;
}

.home-status-mini-blue {
  background: #7ec5ff;
  box-shadow: 0 0 8px rgba(126, 197, 255, 0.7);
}

.home-status-mini-pink {
  background: #f472b6;
  box-shadow: 0 0 8px rgba(244, 114, 182, 0.7);
}

.home-status-mini-green {
  background: #34d399;
  box-shadow: 0 0 8px rgba(52, 211, 153, 0.7);
}

.home-console-body {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(220px, 0.65fr);
  grid-gap: 16px;
  gap: 16px;
  align-items: start;
}

.home-featured-card,
.home-ranking-panel {
  position: relative;
  overflow: hidden;
  min-height: 100%;
  padding: 22px;
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background:
    radial-gradient(circle at 18% 16%, rgba(56, 189, 248, 0.1), transparent 20%),
    radial-gradient(circle at 82% 18%, rgba(244, 114, 182, 0.08), transparent 18%),
    rgba(255, 255, 255, 0.03);
  -webkit-backdrop-filter: blur(12px) saturate(125%);
          backdrop-filter: blur(12px) saturate(125%);
}

.home-featured-card::before,
.home-ranking-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 100% 40px;
  opacity: 0.22;
  pointer-events: none;
}

.home-featured-top {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.home-featured-card h3 {
  position: relative;
  z-index: 1;
  margin: 16px 0 8px;
  font-size: 24px;
  line-height: 1.12;
}

.home-featured-card p {
  position: relative;
  z-index: 1;
  margin: 0;
  color: var(--text-soft);
  line-height: 1.6;
}

.home-featured-summary {
  position: relative;
  z-index: 1;
  margin-top: 14px;
  color: #dce8ff;
  font-size: 14px;
  letter-spacing: 0.02em;
}

.home-featured-tags,
.home-featured-metrics {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}

.home-featured-tags span,
.home-featured-metrics span,
.home-featured-cta {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 10px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
  color: #dbe8ff;
  font-size: 12px;
}

.home-featured-metrics {
  margin-top: 14px;
}

.home-featured-cta {
  margin-top: 16px;
  width: -moz-fit-content;
  width: fit-content;
  padding: 0 14px;
  border-color: rgba(126, 197, 255, 0.24);
  background: rgba(56, 189, 248, 0.08);
  color: #eef8ff;
  font-weight: 600;
}

.home-ranking-panel {
  display: grid;
  grid-gap: 12px;
  gap: 12px;
}

.home-panel-kicker {
  position: relative;
  z-index: 1;
  display: inline-flex;
  color: #9de0ff;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.home-ranking-item {
  position: relative;
  z-index: 1;
  display: grid;
  grid-gap: 6px;
  gap: 6px;
  padding: 14px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.home-ranking-item strong {
  color: var(--text-main);
  font-size: 14px;
  line-height: 1.4;
}

.home-ranking-item span,
.home-ranking-mini p {
  color: var(--text-muted);
  font-size: 12px;
}

.home-ranking-divider {
  position: relative;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(126, 197, 255, 0.22), transparent);
}

.home-ranking-mini strong {
  display: block;
  margin-top: 8px;
  color: var(--text-main);
  font-size: 16px;
}

.home-connector-line {
  position: absolute;
  left: 30%;
  bottom: 74px;
  width: 34%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(126, 197, 255, 0.28), rgba(244, 114, 182, 0.24), transparent);
  opacity: 0.8;
  pointer-events: none;
}

.home-console-footer {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  padding-top: 4px;
}

.home-node-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 30px;
  padding: 0 12px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
  color: #dbe8ff;
  font-size: 11px;
  letter-spacing: 0.08em;
}

.home-node-pill-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #7ec5ff;
  box-shadow: 0 0 10px rgba(126, 197, 255, 0.75);
}

.home-node-pill.launching .home-node-pill-dot {
  background: #f472b6;
  box-shadow: 0 0 10px rgba(244, 114, 182, 0.72);
}

.home-node-pill.boosting .home-node-pill-dot {
  background: #facc15;
  box-shadow: 0 0 10px rgba(250, 204, 21, 0.72);
}

.home-node-pill.rising .home-node-pill-dot {
  background: #34d399;
  box-shadow: 0 0 10px rgba(52, 211, 153, 0.72);
}

.home-ticker {
  height: 44px;
  overflow: hidden;
  margin-top: 8px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(6, 5, 14, 0.8);
}

.home-ticker-track {
  display: flex;
  width: max-content;
  animation: wrx-ticker 24s linear infinite;
}

.home-ticker-item {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  padding: 0 16px;
  color: #cbd3e8;
  font-size: 12px;
  letter-spacing: 0.08em;
  white-space: nowrap;
}

.home-ticker-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #7ec5ff;
  box-shadow: 0 0 12px rgba(126, 197, 255, 0.8);
}

.home-section {
  margin-top: 18px;
}

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

.section-eyebrow {
  display: inline-flex;
  margin-bottom: 8px;
  color: #9de0ff;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.section-head h2 {
  margin: 0;
  font-size: clamp(24px, 3vw, 32px);
  line-height: 1.1;
}

.section-copy {
  max-width: 72ch;
  margin: 10px 0 0;
  color: var(--text-soft);
  font-size: 14px;
  line-height: 1.7;
}

.section-link {
  color: var(--text-soft);
  font-size: 13px;
  white-space: nowrap;
}

.section-link:hover {
  color: #fff;
  text-shadow: 0 0 18px rgba(126, 197, 255, 0.25);
}

.home-mission-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-gap: 24px;
  gap: 24px;
}

.home-mission-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 128px;
  grid-gap: 18px;
  gap: 18px;
  min-height: 212px;
  padding: 28px;
  align-items: stretch;
  border-radius: 24px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.025)),
    rgba(255, 255, 255, 0.02);
}

.home-mission-card:hover {
  transform: translateY(-2px);
  border-color: rgba(168, 85, 247, 0.32);
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.26);
}

.home-mission-card .mission-card-main {
  gap: 12px;
  z-index: 1;
}

.home-mission-card .mission-status-rail {
  width: 3px;
  opacity: 0.9;
}

.home-mission-card.upcoming .mission-status-rail {
  background: #facc15;
}

.home-mission-card.live .mission-status-rail {
  background: #22c55e;
}

.home-mission-watermark {
  position: absolute;
  right: 18px;
  top: 18px;
  color: rgba(237, 234, 248, 0.06);
  font-family: "JetBrains Mono", monospace;
  font-size: 48px;
  font-weight: 700;
  letter-spacing: -0.08em;
  pointer-events: none;
}

.home-mission-topline {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.home-status-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 28px;
  padding: 0 10px;
  border-radius: 999px;
  border: 1px solid rgba(250, 204, 21, 0.24);
  background: rgba(250, 204, 21, 0.1);
  color: #facc15;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
}

.home-status-badge.live {
  border-color: rgba(34, 197, 94, 0.22);
  background: rgba(34, 197, 94, 0.1);
  color: #22c55e;
}

.home-mission-id,
.home-mission-open {
  color: var(--text-muted);
  font-size: 12px;
  line-height: 1.2;
}

.home-mission-open {
  margin-left: auto;
  white-space: nowrap;
}

.home-mission-meta {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-gap: 14px;
  gap: 14px;
  margin-top: 4px;
}

.home-mission-meta > div {
  display: grid;
  grid-gap: 4px;
  gap: 4px;
  padding-top: 10px;
  border-top: 1px solid rgba(255, 255, 255, 0.045);
}

.home-mission-meta .metric-label {
  color: #6f6a80;
  font-size: 12px;
}

.home-mission-meta strong {
  color: #edeaf8;
  font-size: 14px;
  line-height: 1.3;
}

.home-mission-card .mission-card-side {
  align-items: flex-end;
  justify-content: flex-end;
  padding-left: 0;
  min-height: 100%;
}

.home-mission-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0 16px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.06);
  color: #ece8fb;
  font-size: 13px;
  line-height: 1;
  white-space: nowrap;
  transition: border-color 160ms ease, transform 160ms ease, background 160ms ease;
}

.home-mission-cta::after {
  content: "→";
  margin-left: 8px;
  transition: transform 160ms ease;
}

.home-mission-cta:hover {
  border-color: rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.08);
  transform: translateY(-1px);
}

.home-mission-cta:hover::after {
  transform: translateX(3px);
}

.home-track-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  grid-gap: 16px;
  gap: 16px;
}

.home-track-card {
  position: relative;
  overflow: hidden;
  grid-column: span 4;
  min-height: 210px;
  padding: 20px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 22px;
  background:
    radial-gradient(circle at 18% 18%, rgba(56, 189, 248, 0.08), transparent 26%),
    radial-gradient(circle at 84% 12%, rgba(244, 114, 182, 0.08), transparent 24%),
    rgba(255, 255, 255, 0.03);
  -webkit-backdrop-filter: blur(14px) saturate(130%);
          backdrop-filter: blur(14px) saturate(130%);
  box-shadow: var(--shadow-card);
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.home-track-card:hover {
  transform: translateY(-3px);
  border-color: rgba(126, 197, 255, 0.22);
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.34);
}

.home-track-card:nth-child(3n + 1) {
  grid-column: span 5;
}

.home-track-card:nth-child(3n + 2) {
  grid-column: span 3;
}

.home-track-card:nth-child(3n + 3) {
  grid-column: span 4;
}

.home-track-card:nth-child(4n + 1) {
  transform: translateY(-6px);
}

.home-track-card:nth-child(4n + 3) {
  transform: translateY(8px);
}

.home-track-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.04);
  color: #d9f1ff;
  font-family: "JetBrains Mono", monospace;
  font-size: 12px;
  letter-spacing: 0.06em;
}

.home-track-card strong {
  display: block;
  margin-top: 16px;
  font-size: 18px;
  line-height: 1.2;
}

.home-track-card p {
  margin: 10px 0 0;
  color: var(--text-soft);
  font-size: 14px;
  line-height: 1.65;
}

.home-track-foot {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  margin-top: 18px;
  padding-top: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--text-muted);
  font-size: 12px;
}

.home-project-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  grid-gap: 16px;
  gap: 16px;
  grid-auto-rows: minmax(220px, auto);
}

.home-project-card {
  position: relative;
  overflow: hidden;
  grid-column: span 3;
  min-height: 240px;
  padding: 20px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 22px;
  background:
    radial-gradient(circle at 20% 20%, rgba(125, 124, 255, 0.08), transparent 24%),
    radial-gradient(circle at 84% 18%, rgba(244, 114, 182, 0.08), transparent 24%),
    rgba(255, 255, 255, 0.03);
  -webkit-backdrop-filter: blur(14px) saturate(130%);
          backdrop-filter: blur(14px) saturate(130%);
  box-shadow: var(--shadow-card);
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.home-project-card:hover {
  transform: translateY(-3px);
  border-color: rgba(126, 197, 255, 0.22);
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.34);
}

.home-project-card:nth-child(1) {
  grid-column: span 6;
  min-height: 322px;
  background:
    radial-gradient(circle at 18% 16%, rgba(125, 124, 255, 0.12), transparent 24%),
    radial-gradient(circle at 84% 18%, rgba(244, 114, 182, 0.1), transparent 24%),
    linear-gradient(180deg, rgba(32, 20, 70, 0.95), rgba(14, 10, 31, 0.94));
}

.home-project-card:nth-child(2),
.home-project-card:nth-child(3) {
  grid-column: span 3;
}

.home-project-card:nth-child(2) {
  transform: translateY(16px);
}

.home-project-card:nth-child(3) {
  transform: translateY(-8px);
}

.home-project-card:nth-child(2):hover,
.home-project-card:nth-child(3):hover {
  transform: translateY(-3px);
}

.home-project-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
}

.home-project-card h3 {
  margin: 14px 0 0;
  font-size: 20px;
  line-height: 1.16;
}

.home-project-card:nth-child(1) h3 {
  margin-top: 18px;
  font-size: 26px;
  line-height: 1.08;
}

.home-project-card p {
  margin: 10px 0 0;
  color: var(--text-soft);
  line-height: 1.65;
}

.home-project-card:nth-child(1) p {
  max-width: 54ch;
  font-size: 15px;
  line-height: 1.72;
}

.home-project-tags {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  margin-top: 18px;
  padding-top: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--text-muted);
  font-size: 12px;
}

.home-project-skeleton {
  pointer-events: none;
  grid-column: span 3;
}

.home-feed-list {
  display: grid;
  grid-gap: 8px;
  gap: 8px;
  position: relative;
  padding-left: 18px;
}

.home-feed-list::before {
  content: "";
  position: absolute;
  left: 5px;
  top: 6px;
  bottom: 6px;
  width: 1px;
  background: linear-gradient(180deg, rgba(126, 197, 255, 0.32), rgba(244, 114, 182, 0.18), transparent);
}

.home-feed-item {
  margin: 0;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  min-height: 48px;
  padding: 12px 14px 12px 16px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.02)),
    rgba(255, 255, 255, 0.02);
  color: #e9efff;
  font-size: 13px;
  line-height: 1.55;
}

.home-feed-item:nth-child(odd) {
  transform: translateX(8px);
}

.home-feed-item:nth-child(even) {
  transform: translateX(-2px);
}

.home-feed-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  margin-top: 6px;
  background: #7ec5ff;
  box-shadow: 0 0 12px rgba(126, 197, 255, 0.8);
  flex: 0 0 auto;
}

.home-empty-panel {
  display: grid;
  grid-gap: 12px;
  gap: 12px;
  align-content: start;
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.03);
  color: var(--text-soft);
}

.home-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  margin: 16px 0 10px;
  padding: 18px 0 8px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.home-footer-brand {
  font-weight: 700;
  letter-spacing: 0.08em;
}

.home-footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  color: var(--text-muted);
}

.home-footer-links a:hover {
  color: #fff;
}

@keyframes home-whale-float {
  0%, 100% { transform: translate3d(0, 0, 0) rotate(-0.2deg); }
  50% { transform: translate3d(8px, -10px, 0) rotate(0.5deg); }
}

@keyframes home-title-flow {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

@media (max-width: 1080px) {
  .home-hero {
    grid-template-columns: 1fr;
  }

  .home-hero-visual {
    min-height: 600px;
  }

  .home-mission-grid,
  .home-track-grid,
  .home-project-grid {
    grid-template-columns: 1fr;
  }

  .home-track-card,
  .home-project-card,
  .home-project-card:nth-child(1),
  .home-project-card:nth-child(2),
  .home-project-card:nth-child(3),
  .home-project-skeleton {
    grid-column: auto;
    transform: none;
  }

  .home-metrics {
    max-width: 100%;
  }

  .home-console-panel {
    inset: 18px;
  }

  .home-console-body {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .home-hero-copy {
    padding-top: 0;
  }

  .home-title {
    max-width: 100%;
    font-size: clamp(40px, 12vw, 56px);
  }

  .home-hero-visual {
    min-height: 540px;
    border-radius: 24px;
  }

  .home-console-panel {
    inset: 12px;
    padding: 18px;
  }

  .home-metrics {
    grid-template-columns: 1fr;
  }

  .home-featured-card,
  .home-ranking-panel {
    padding: 18px;
  }

  .home-console-header {
    align-items: flex-start;
    flex-direction: column;
  }

  .home-console-status {
    justify-content: flex-start;
  }

  .home-connector-line {
    left: 18%;
    width: 64%;
    bottom: 64px;
  }

  .home-mission-card {
    padding: 18px 18px 18px 22px;
  }

  .home-mission-meta {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .home-track-card,
  .home-project-card {
    min-height: 0;
  }

  .home-track-card:nth-child(4n + 1),
  .home-track-card:nth-child(4n + 3) {
    transform: none;
  }
}

/* rankings mission control refinement */
.rankings-mission-hero {
  position: relative;
  overflow: hidden;
}

.rankings-mission-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.45;
}

.rankings-mission-bg .orbit {
  position: absolute;
  border: 1px solid rgba(180, 142, 255, 0.2);
  border-radius: 999px;
}

.rankings-mission-bg .orbit-a {
  width: 62%;
  height: 140px;
  left: 8%;
  top: 18%;
  transform: rotate(-8deg);
}

.rankings-mission-bg .orbit-b {
  width: 48%;
  height: 112px;
  left: 34%;
  top: 42%;
  transform: rotate(12deg);
}

.rankings-mission-bg .node {
  position: absolute;
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: #d946ef;
  box-shadow: 0 0 12px rgba(217, 70, 239, 0.55);
}

.rankings-mission-bg .node-1 { left: 36%; top: 34%; }
.rankings-mission-bg .node-2 { left: 68%; top: 48%; }

.rankings-mission-bg .scan-line {
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(181, 135, 255, 0.26), transparent);
}

.rankings-ref-tab-icon {
  font-size: 10px;
  color: rgba(230, 218, 255, 0.72);
}

.rankings-ref-tab.active .rankings-ref-tab-icon {
  color: #f472ff;
}

.rankings-ref-item.is-top {
  border-color: rgba(217, 70, 239, 0.32);
  box-shadow: inset 0 0 0 1px rgba(217, 70, 239, 0.16);
}

.rankings-ref-rank {
  font-feature-settings: "tnum";
  font-variant-numeric: tabular-nums;
}

.rankings-ref-item-score {
  min-width: 116px;
  gap: 4px;
}

.rankings-ref-score-label {
  font-size: 10px;
  color: #bca9db;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.rankings-ref-score-rail {
  display: block;
  width: 100%;
  height: 3px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  overflow: hidden;
}

.rankings-ref-score-rail i {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #a855f7, #d946ef);
}

/* project launch gallery */
.project-gallery-shell {
  display: grid;
  grid-gap: 20px;
  gap: 20px;
}

.project-gallery-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  grid-gap: 20px;
  gap: 20px;
}

.project-gallery-intro {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-gap: 14px;
  gap: 14px;
  padding: 24px;
  border-radius: 24px;
  border: 1px solid rgba(161, 126, 255, 0.2);
  background: linear-gradient(180deg, rgba(32, 20, 62, 0.94), rgba(16, 11, 33, 0.92));
}

.project-gallery-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.42;
}

.project-gallery-bg .orbital-line {
  position: absolute;
  border: 1px solid rgba(198, 132, 255, 0.24);
  border-radius: 999px;
}

.project-gallery-bg .ol-1 {
  width: 60%;
  height: 130px;
  left: 8%;
  top: 18%;
  transform: rotate(-10deg);
}

.project-gallery-bg .ol-2 {
  width: 46%;
  height: 98px;
  right: 8%;
  top: 42%;
  transform: rotate(14deg);
}

.project-gallery-bg .orbital-node {
  position: absolute;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #d946ef;
  box-shadow: 0 0 14px rgba(217, 70, 239, 0.5);
}

.project-gallery-bg .on-1 { left: 32%; top: 38%; }
.project-gallery-bg .on-2 { left: 70%; top: 48%; }

.project-gallery-bg .orbital-scan {
  position: absolute;
  left: 0;
  right: 0;
  top: 54%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
}

.project-gallery-panel .project-status-panel {
  height: 100%;
}

.project-status-energy {
  margin-top: 8px;
  height: 4px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  overflow: hidden;
}

.project-status-energy span {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, #a855f7, #d946ef);
  box-shadow: 0 0 14px rgba(217, 70, 239, 0.36);
}

.project-status-grid {
  margin-top: 12px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-gap: 8px;
  gap: 8px;
}

.project-status-grid div {
  padding: 10px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.05);
}

.project-status-grid span {
  display: block;
  color: var(--text-muted);
  font-size: 11px;
}

.project-status-grid strong {
  color: #fff;
  font-size: 18px;
}

.project-filter-bar {
  display: grid;
  grid-gap: 12px;
  gap: 12px;
  padding: 16px;
  border-radius: 18px;
  border: 1px solid rgba(161, 126, 255, 0.2);
  background: rgba(20, 13, 39, 0.86);
}

.project-filter-main {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) 180px auto;
  grid-gap: 10px;
  gap: 10px;
}

.project-filter-advanced {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 12px;
}

.project-filter-advanced summary {
  cursor: pointer;
  color: var(--text-soft);
  font-size: 14px;
}

.project-filter-advanced-grid {
  margin-top: 12px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-gap: 10px;
  gap: 10px;
}

.project-gallery-list {
  display: grid;
  grid-gap: 16px;
  gap: 16px;
}

.project-pagination {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  grid-gap: 12px;
  gap: 12px;
  padding: 10px 2px 0;
}

.project-pagination-meta {
  text-align: center;
  color: var(--text-muted);
  font-size: 13px;
}

/* project mission detail */
.mission-detail-page {
  display: grid;
  grid-gap: 18px;
  gap: 18px;
}

.mission-detail-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) 320px;
  grid-gap: 16px;
  gap: 16px;
}

.mission-hero-copy,
.mission-hero-preview {
  border-radius: 22px;
  border: 1px solid rgba(161, 126, 255, 0.2);
  background: linear-gradient(180deg, rgba(29, 19, 58, 0.95), rgba(14, 10, 31, 0.95));
}

.mission-hero-copy {
  display: grid;
  grid-gap: 12px;
  gap: 12px;
  padding: 22px;
}

.mission-hero-preview {
  overflow: hidden;
  min-height: 260px;
}

.mission-hero-preview img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.mission-cover-fallback {
  position: relative;
  height: 100%;
  min-height: 260px;
  display: grid;
  align-content: center;
  justify-items: center;
  grid-gap: 10px;
  gap: 10px;
  background:
    radial-gradient(circle at 24% 18%, rgba(217, 70, 239, 0.35), transparent 38%),
    radial-gradient(circle at 78% 70%, rgba(56, 189, 248, 0.22), transparent 34%),
    linear-gradient(135deg, rgba(42, 24, 84, 0.95), rgba(14, 11, 35, 0.95));
}

.mission-cover-fallback::before,
.mission-cover-fallback::after {
  content: "";
  position: absolute;
  border: 1px solid rgba(205, 153, 255, 0.25);
  border-radius: 999px;
}

.mission-cover-fallback::before {
  width: 72%;
  height: 120px;
  transform: rotate(-10deg);
}

.mission-cover-fallback::after {
  width: 56%;
  height: 88px;
  transform: rotate(16deg);
}

.mission-badge {
  z-index: 1;
  padding: 4px 10px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  font-size: 12px;
}

.mission-cover-fallback strong {
  z-index: 1;
  font-size: 52px;
  line-height: 1;
}

.mission-cover-fallback span:last-child {
  z-index: 1;
  color: var(--text-soft);
}

.mission-detail-grid {
  align-items: start;
}

.mission-main-col {
  display: grid;
  grid-gap: 14px;
  gap: 14px;
}

.mission-side-col {
  position: -webkit-sticky;
  position: sticky;
  top: 84px;
}

.mission-story-grid,
.mission-highlight-grid,
.mission-review-grid {
  display: grid;
  grid-gap: 10px;
  gap: 10px;
}

.mission-story-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.mission-story-card,
.mission-highlight-card,
.mission-review-card,
.mission-log-item {
  padding: 12px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
}

.mission-story-card p,
.mission-review-card p {
  margin: 8px 0 0;
}

.mission-highlight-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.mission-highlight-card {
  font-size: 14px;
  color: #ede7ff;
}

.mission-shot-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-gap: 10px;
  gap: 10px;
}

.mission-shot {
  width: 100%;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.mission-score-head {
  display: flex;
  align-items: baseline;
  gap: 10px;
}

.mission-score-head strong {
  font-size: 42px;
  line-height: 1;
  background: linear-gradient(135deg, #ff7adf, #8bc4ff);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.mission-score-list {
  display: grid;
  grid-gap: 8px;
  gap: 8px;
}

.mission-score-row {
  display: grid;
  grid-gap: 6px;
  gap: 6px;
}

.mission-score-row > div:first-child {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 14px;
}

.mission-score-rail {
  height: 4px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  overflow: hidden;
}

.mission-score-rail i {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, #a855f7, #d946ef);
}

.mission-snapshot-top {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-gap: 8px;
  gap: 8px;
}

.mission-snapshot-top div {
  padding: 10px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
}

.mission-snapshot-top span {
  color: var(--text-muted);
  font-size: 12px;
}

.mission-snapshot-top strong {
  display: block;
  margin-top: 4px;
  font-size: 24px;
}

.project-featured-card {
  overflow: hidden;
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  border-radius: 22px;
  border: 1px solid rgba(217, 70, 239, 0.3);
  background: linear-gradient(180deg, rgba(30, 21, 57, 0.96), rgba(13, 9, 28, 0.96));
  box-shadow: 0 24px 56px rgba(0, 0, 0, 0.28);
}

.project-gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-gap: 14px;
  gap: 14px;
}

.project-gallery-card {
  overflow: hidden;
  border-radius: 18px;
  border: 1px solid rgba(153, 133, 255, 0.2);
  background: linear-gradient(180deg, rgba(25, 18, 48, 0.95), rgba(13, 9, 27, 0.95));
  transition: transform 200ms ease, border-color 200ms ease, box-shadow 200ms ease;
}

.project-gallery-card:hover,
.project-featured-card:hover {
  transform: translateY(-3px);
  border-color: rgba(217, 70, 239, 0.38);
  box-shadow: 0 28px 58px rgba(0, 0, 0, 0.34), 0 0 24px rgba(217, 70, 239, 0.1);
}

.project-card-cover {
  position: relative;
  min-height: 142px;
  padding: 14px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background:
    radial-gradient(circle at 20% 20%, rgba(217, 70, 239, 0.4), transparent 36%),
    radial-gradient(circle at 80% 70%, rgba(56, 189, 248, 0.26), transparent 35%),
    linear-gradient(135deg, rgba(45, 25, 89, 0.94), rgba(20, 13, 43, 0.9));
}

.project-card-cover.featured {
  min-height: 100%;
}

.project-card-cover.tone-2 {
  background:
    radial-gradient(circle at 18% 18%, rgba(56, 189, 248, 0.34), transparent 36%),
    radial-gradient(circle at 80% 72%, rgba(217, 70, 239, 0.28), transparent 34%),
    linear-gradient(135deg, rgba(27, 38, 89, 0.9), rgba(16, 12, 43, 0.9));
}

.project-card-cover.tone-3 {
  background:
    radial-gradient(circle at 20% 20%, rgba(244, 114, 182, 0.3), transparent 34%),
    radial-gradient(circle at 78% 70%, rgba(192, 132, 252, 0.26), transparent 34%),
    linear-gradient(135deg, rgba(53, 28, 83, 0.9), rgba(19, 12, 39, 0.92));
}

.project-card-cover.tone-4 {
  background:
    radial-gradient(circle at 18% 16%, rgba(250, 204, 21, 0.28), transparent 34%),
    radial-gradient(circle at 80% 74%, rgba(56, 189, 248, 0.24), transparent 36%),
    linear-gradient(135deg, rgba(55, 35, 78, 0.9), rgba(19, 12, 38, 0.92));
}

.payload-tag,
.project-heat {
  padding: 4px 10px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(9, 8, 20, 0.35);
  font-size: 12px;
}

.project-card-body {
  display: grid;
  grid-gap: 10px;
  gap: 10px;
  padding: 16px;
}

.project-card-body h2,
.project-card-body h3 {
  margin: 0;
}

.project-card-body p {
  margin: 0;
  color: var(--text-soft);
}

.project-card-info-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: start;
  grid-gap: 12px;
  gap: 12px;
}

.project-card-status {
  display: flex;
  justify-content: flex-end;
}

.project-card-status .showcase-live {
  display: inline-grid;
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
  justify-items: start;
  gap: 6px;
}

.project-card-status .showcase-votes {
  font-size: 34px;
  line-height: 1;
}

@media (max-width: 1080px) {
  .project-gallery-hero {
    grid-template-columns: 1fr;
  }

  .project-filter-main {
    grid-template-columns: 1fr;
  }

  .project-filter-advanced-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .project-featured-card {
    grid-template-columns: 1fr;
  }

  .project-gallery-grid {
    grid-template-columns: 1fr;
  }

  .project-card-info-row {
    grid-template-columns: 1fr;
  }

  .project-card-status {
    justify-content: flex-start;
  }

  .project-pagination {
    grid-template-columns: 1fr;
  }

  .project-pagination-meta {
    text-align: left;
  }

  .mission-detail-hero {
    grid-template-columns: 1fr;
  }

  .mission-story-grid,
  .mission-highlight-grid,
  .mission-shot-grid {
    grid-template-columns: 1fr;
  }

  .mission-side-col {
    position: static;
  }
}

/* events hub */
.events-hub-page {
  --max-width: 1400px;
  display: grid;
  grid-gap: 22px;
  gap: 22px;
  padding-inline: clamp(18px, 3vw, 34px);
}

.events-hub-hero {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  grid-gap: 22px;
  gap: 22px;
  align-items: stretch;
}

.events-hub-intro,
.events-hub-overview-card,
.events-side-panel {
  border-radius: 28px;
  border: 1px solid rgba(160, 127, 255, 0.18);
  background:
    linear-gradient(180deg, rgba(34, 21, 70, 0.78), rgba(14, 10, 31, 0.86)),
    radial-gradient(circle at 14% 12%, rgba(56, 189, 248, 0.1), transparent 30%);
  -webkit-backdrop-filter: blur(18px) saturate(128%);
          backdrop-filter: blur(18px) saturate(128%);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.28);
}

.events-hub-intro {
  grid-column: span 8;
  position: relative;
  overflow: hidden;
  display: grid;
  align-content: center;
  grid-gap: 10px;
  gap: 10px;
  min-height: 280px;
  padding: clamp(24px, 3vw, 34px);
}

.events-hub-overview {
  grid-column: span 4;
  display: grid;
  min-width: 0;
}

.events-hub-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.42;
}

.events-hub-bg .line {
  position: absolute;
  border: 1px solid rgba(202, 141, 255, 0.18);
  border-radius: 999px;
}

.events-hub-bg .l1 { width: 64%; height: 130px; left: 4%; top: 14%; transform: rotate(-8deg); }
.events-hub-bg .l2 { width: 45%; height: 92px; right: 10%; top: 42%; transform: rotate(13deg); }

.events-hub-bg .node {
  position: absolute;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #7dd3fc;
  box-shadow: 0 0 12px rgba(125, 211, 252, 0.5);
}

.events-hub-bg .n1 { left: 34%; top: 36%; }
.events-hub-bg .n2 { left: 71%; top: 47%; }

.events-hub-bg .scan {
  position: absolute;
  left: 0;
  right: 0;
  top: 56%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
}

.events-hub-filter {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) repeat(3, minmax(120px, 1fr)) auto;
  grid-gap: 10px;
  gap: 10px;
  margin-top: 8px;
}

.events-hub-overview-card {
  padding: 22px;
  display: grid;
  align-content: center;
  grid-gap: 14px;
  gap: 14px;
  min-height: 280px;
}

.events-hub-overview-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-gap: 8px;
  gap: 8px;
}

.events-hub-overview-grid div {
  padding: 12px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.035);
}

.events-hub-overview-grid span {
  color: var(--text-muted);
  font-size: 11px;
}

.events-hub-overview-grid strong {
  display: block;
  margin-top: 4px;
  font-size: 22px;
}

.events-hub-energy {
  height: 4px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  overflow: hidden;
}

.events-hub-energy span {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, #a855f7, #d946ef);
  box-shadow: 0 0 14px rgba(217, 70, 239, 0.32);
}

.events-hub-layout {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  grid-gap: 22px;
  gap: 22px;
  align-items: start;
  margin-top: -2px;
}

.events-board {
  grid-column: span 8;
  display: grid;
  grid-gap: 24px;
  gap: 24px;
}

.events-tabbar {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  align-content: center;
  gap: 12px;
  height: 40px;
  min-height: 40px;
  margin: 0;
  padding: 0;
  overflow-x: auto;
  overflow-y: hidden;
  scrollbar-width: none;
  box-sizing: border-box;
}

.events-filter-strip {
  display: grid;
  grid-gap: 12px;
  gap: 12px;
}

.events-range-indicator {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 34px;
  padding: 8px 12px;
  border-radius: 14px;
  border: 1px solid rgba(125, 211, 252, 0.12);
  background: rgba(125, 211, 252, 0.045);
  color: var(--text-muted);
  font-size: 12px;
}

.events-range-indicator a {
  color: #d8f3ff;
  font-weight: 700;
  white-space: nowrap;
}

.events-tabbar::-webkit-scrollbar {
  display: none;
}

.events-status-tab {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  height: 40px;
  padding: 0 24px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.03);
  color: var(--text-soft);
  font-size: 12px;
  font-weight: 600;
  line-height: 1;
  white-space: nowrap;
  box-sizing: border-box;
  vertical-align: middle;
  transition: border-color 160ms ease, background 160ms ease, color 160ms ease, box-shadow 160ms ease;
}

.events-status-tab:hover {
  border-color: rgba(125, 211, 252, 0.28);
  background: rgba(125, 211, 252, 0.07);
  color: #f4efff;
}

.events-status-tab.active {
  border-color: rgba(125, 211, 252, 0.58);
  background: linear-gradient(90deg, rgba(125, 211, 252, 0.16), rgba(217, 70, 239, 0.14));
  color: #f8f1ff;
  box-shadow: 0 0 16px rgba(125, 211, 252, 0.16), inset 0 0 0 1px rgba(255, 255, 255, 0.05);
}

.events-section {
  display: grid;
  grid-gap: 14px;
  gap: 14px;
}

.events-section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  padding: 0 2px;
}

.events-section-head h2 {
  margin: 0;
  font-size: 18px;
  letter-spacing: 0.02em;
}

.events-section-head span {
  color: var(--text-muted);
  font-size: 13px;
  text-align: right;
}

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

.event-portal-card {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: 86px minmax(0, 1fr) minmax(190px, 0.34fr);
  grid-gap: 18px;
  gap: 18px;
  align-items: center;
  min-height: 150px;
  padding: 20px 22px;
  border-radius: 24px;
  border: 1px solid rgba(151, 132, 255, 0.16);
  background:
    linear-gradient(135deg, rgba(31, 20, 63, 0.78), rgba(15, 10, 34, 0.88)),
    radial-gradient(circle at 8% 0%, rgba(125, 211, 252, 0.08), transparent 28%);
  -webkit-backdrop-filter: blur(16px) saturate(125%);
          backdrop-filter: blur(16px) saturate(125%);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.24);
}

.event-portal-card::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 4px;
  background: linear-gradient(180deg, rgba(125, 211, 252, 0.7), rgba(217, 70, 239, 0.58));
  opacity: 0.38;
}

.event-portal-card.active {
  border-color: rgba(125, 211, 252, 0.3);
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.28), 0 0 30px rgba(125, 211, 252, 0.07);
}

.event-portal-card.active::before {
  opacity: 0.95;
  box-shadow: 0 0 22px rgba(125, 211, 252, 0.22);
}

.event-portal-card.pending {
  border-color: rgba(250, 204, 21, 0.16);
  background:
    linear-gradient(135deg, rgba(36, 25, 61, 0.68), rgba(16, 11, 34, 0.82)),
    radial-gradient(circle at 8% 0%, rgba(250, 204, 21, 0.08), transparent 28%);
}

.event-portal-card.pending::before {
  background: linear-gradient(180deg, rgba(250, 204, 21, 0.64), rgba(244, 114, 182, 0.42));
}

.event-portal-card.ended {
  opacity: 0.82;
  border-color: rgba(151, 161, 190, 0.12);
  background: linear-gradient(135deg, rgba(28, 22, 52, 0.58), rgba(13, 10, 29, 0.78));
}

.event-card-watermark {
  position: absolute;
  right: 22px;
  top: 12px;
  color: rgba(255, 255, 255, 0.045);
  font-family: "JetBrains Mono", "SFMono-Regular", Consolas, monospace;
  font-size: 54px;
  font-weight: 800;
  line-height: 1;
  pointer-events: none;
}

.event-date-node {
  display: grid;
  place-items: center;
  grid-gap: 5px;
  gap: 5px;
  width: 72px;
  min-height: 76px;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.045);
}

.event-date-node span {
  color: #f4ecff;
  font-size: 18px;
  font-weight: 800;
}

.event-date-node strong {
  color: var(--text-muted);
  font-size: 11px;
  letter-spacing: 0.12em;
}

.event-card-body {
  position: relative;
  display: grid;
  grid-gap: 9px;
  gap: 9px;
}

.event-card-title-row {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.event-card-title-row h3 {
  margin: 0;
  font-size: 19px;
  line-height: 1.25;
}

.event-card-body p,
.event-card-action p {
  margin: 0;
  color: var(--text-soft);
  font-size: 13px;
  line-height: 1.55;
}

.event-card-action p {
  color: #efe4ff;
  text-align: right;
}

.event-status {
  display: inline-flex;
  align-items: center;
  height: 26px;
  padding: 0 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
}

.event-status.active {
  background: rgba(125, 211, 252, 0.13);
  color: #d9f4ff;
}

.event-status.pending {
  background: rgba(250, 204, 21, 0.12);
  color: #fff0b2;
}

.event-status.ended {
  background: rgba(151, 161, 190, 0.1);
  color: #d5dbea;
}

.event-meta-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 2px;
}

.event-meta-grid span {
  padding: 5px 9px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.035);
  color: var(--text-muted);
  font-size: 12px;
}

.event-card-action {
  position: relative;
  z-index: 1;
  display: grid;
  justify-items: end;
  grid-gap: 12px;
  gap: 12px;
}

.event-card-action .detail-links {
  justify-content: flex-end;
  flex-wrap: nowrap;
}

.event-cta {
  min-width: 88px;
  min-height: 34px;
  padding: 0 13px;
  font-size: 12px;
}

.events-hub-sidebar {
  grid-column: span 4;
  display: grid;
  align-content: start;
  position: -webkit-sticky;
  position: sticky;
  top: 22px;
}

.events-side-panel {
  padding: 20px;
  display: grid;
  grid-gap: 16px;
  gap: 16px;
}

.events-side-section {
  display: grid;
  grid-gap: 12px;
  gap: 12px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.events-side-section:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.events-calendar-head {
  display: grid;
  grid-gap: 8px;
  gap: 8px;
}

.events-calendar-title {
  display: grid;
  grid-gap: 2px;
  gap: 2px;
}

.events-calendar-title span:last-child {
  color: var(--text-muted);
  font-size: 11px;
}

.events-calendar-month {
  color: var(--text-soft);
  font-size: 12px;
  line-height: 1;
}

.events-calendar-controls {
  display: inline-flex;
  align-items: center;
  justify-self: start;
  gap: 8px;
}

.events-calendar-nav {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.03);
  display: grid;
  place-items: center;
  color: var(--text-soft);
  font-size: 14px;
}

.events-calendar-nav:hover {
  border-color: rgba(217, 70, 239, 0.34);
  box-shadow: 0 0 14px rgba(217, 70, 239, 0.16);
}

.events-archive-link {
  width: -moz-fit-content;
  width: fit-content;
  padding: 4px 0;
  color: #d8c8fb;
  font-size: 12px;
  border-bottom: 1px solid rgba(216, 200, 251, 0.28);
}

.events-archive-link:hover {
  color: #f2e9ff;
  border-bottom-color: rgba(242, 233, 255, 0.52);
  text-shadow: 0 0 10px rgba(217, 70, 239, 0.26);
}

.events-calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  grid-gap: 5px;
  gap: 5px;
}

.events-calendar-grid .wk {
  color: var(--text-muted);
  text-align: center;
  font-size: 11px;
}

.events-calendar-grid .day {
  min-height: 28px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  font-size: 12px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
}

.events-calendar-grid .day.today {
  border-color: rgba(217, 70, 239, 0.42);
  background: rgba(217, 70, 239, 0.16);
}

.events-calendar-grid .day.selected {
  border-color: rgba(56, 189, 248, 0.4);
  background: rgba(56, 189, 248, 0.15);
}

.events-calendar-grid .day.deadline {
  box-shadow: inset 0 0 0 1px rgba(250, 204, 21, 0.32);
}

.events-calendar-grid .day i {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #d946ef;
  box-shadow: 0 0 8px rgba(217, 70, 239, 0.5);
}

.events-calendar-grid .day.empty {
  border-color: transparent;
  background: transparent;
}

.events-calendar-quick {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.events-quick-tab {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.03);
  color: var(--text-soft);
  font-size: 12px;
  white-space: nowrap;
}

.events-quick-tab.active {
  border-color: rgba(217, 70, 239, 0.38);
  background: linear-gradient(90deg, rgba(168, 85, 247, 0.24), rgba(217, 70, 239, 0.18));
  color: #f8f1ff;
}

.events-city-nodes {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-gap: 8px;
  gap: 8px;
}

.events-city-nodes div {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 10px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
}

.events-deadline-list {
  display: grid;
  grid-gap: 8px;
  gap: 8px;
}

.events-deadline-list div {
  display: grid;
  grid-gap: 2px;
  gap: 2px;
}

.events-deadline-list strong {
  font-size: 13px;
}

.events-deadline-list span {
  color: var(--text-muted);
  font-size: 12px;
}

.events-hub-quick {
  display: grid;
  grid-gap: 8px;
  gap: 8px;
  padding-top: 2px;
}

.events-hub-quick > span {
  color: var(--text-soft);
  font-size: 12px;
}

.events-dist-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.events-dist-meta span {
  padding: 4px 8px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: var(--text-soft);
  font-size: 11px;
}

.events-past-meta {
  color: var(--text-muted);
  font-size: 12px;
}

@media (max-width: 1180px) {
  .events-hub-hero,
  .events-hub-layout {
    grid-template-columns: 1fr;
  }

  .events-hub-intro,
  .events-hub-overview,
  .events-hub-overview-card,
  .events-board,
  .events-hub-sidebar {
    grid-column: auto;
  }

  .events-hub-sidebar {
    position: static;
  }
}

@media (max-width: 900px) {
  .events-hub-filter {
    grid-template-columns: 1fr;
  }

  .event-portal-card {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .event-date-node {
    width: -moz-fit-content;
    width: fit-content;
    min-height: 0;
    grid-auto-flow: column;
    padding: 10px 14px;
  }

  .event-card-action {
    justify-content: flex-start;
    justify-items: start;
  }

  .event-card-action p {
    text-align: left;
  }

  .event-card-action .detail-links {
    justify-content: flex-start;
    flex-wrap: wrap;
  }

  .events-section-head {
    align-items: start;
    flex-direction: column;
  }

  .events-section-head span {
    text-align: left;
  }

  .events-range-indicator {
    align-items: flex-start;
    flex-direction: column;
  }
}

/* submit launch flow */
.submit-launch-page {
  --max-width: 1360px;
}

.submit-launch-shell {
  display: grid;
  grid-gap: 22px;
  gap: 22px;
}

.submit-launch-hero {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-gap: 10px;
  gap: 10px;
  padding: clamp(24px, 3vw, 34px);
  border-radius: 30px;
  border: 1px solid rgba(160, 127, 255, 0.16);
  background:
    radial-gradient(circle at 12% 10%, rgba(217, 70, 239, 0.14), transparent 28%),
    radial-gradient(circle at 84% 18%, rgba(56, 189, 248, 0.1), transparent 26%),
    linear-gradient(180deg, rgba(34, 21, 70, 0.76), rgba(15, 10, 34, 0.88));
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.26);
}

.submit-launch-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.72fr) minmax(320px, 0.78fr);
  grid-gap: 22px;
  gap: 22px;
  align-items: start;
}

.submit-flow-panel,
.submit-assistant-panel {
  border-radius: 30px;
  border: 1px solid rgba(160, 127, 255, 0.16);
  background:
    linear-gradient(180deg, rgba(29, 19, 58, 0.72), rgba(13, 9, 29, 0.86)),
    radial-gradient(circle at 12% 0%, rgba(125, 211, 252, 0.08), transparent 28%);
  -webkit-backdrop-filter: blur(18px) saturate(130%);
          backdrop-filter: blur(18px) saturate(130%);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.25);
}

.submit-flow-panel {
  display: grid;
  grid-gap: 0;
  gap: 0;
  overflow: hidden;
}

.submit-flow-section {
  display: grid;
  grid-gap: 18px;
  gap: 18px;
  padding: 26px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.submit-section-head {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.submit-section-head > span {
  display: grid;
  flex: 0 0 auto;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid rgba(125, 211, 252, 0.34);
  background: rgba(125, 211, 252, 0.08);
  color: #d8f3ff;
  font-size: 12px;
  font-weight: 800;
  box-shadow: 0 0 18px rgba(125, 211, 252, 0.12);
}

.submit-section-head h2 {
  margin: 0;
  font-size: 18px;
}

.submit-section-head p {
  margin: 5px 0 0;
  color: var(--text-muted);
  font-size: 13px;
  line-height: 1.6;
}

.submit-field-grid {
  display: grid;
  grid-gap: 14px;
  gap: 14px;
}

.submit-field-grid.two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.submit-field {
  display: grid;
  grid-gap: 8px;
  gap: 8px;
}

.submit-field.wide {
  grid-column: 1 / -1;
}

.submit-field > span {
  color: #efe6ff;
  font-size: 13px;
  font-weight: 700;
}

.submit-field small {
  color: var(--text-muted);
  font-size: 12px;
}

.submit-field small.warn {
  color: #ffd6e8;
}

.submit-markdown {
  min-height: 220px;
  resize: vertical;
}

.submit-chip-cloud,
.submit-selected-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.submit-chip,
.submit-selected-chips button {
  min-height: 32px;
  padding: 0 12px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.035);
  color: var(--text-soft);
  cursor: pointer;
}

.submit-chip.active,
.submit-selected-chips button {
  border-color: rgba(217, 70, 239, 0.32);
  background: rgba(217, 70, 239, 0.12);
  color: #ffe8fb;
}

.submit-chip-input {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  grid-gap: 10px;
  gap: 10px;
}

.submit-cover-drop {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  grid-gap: 18px;
  gap: 18px;
  align-items: stretch;
  padding: 16px;
  border-radius: 22px;
  border: 1px dashed rgba(125, 211, 252, 0.24);
  background: rgba(125, 211, 252, 0.045);
}

.submit-cover-drop strong {
  display: block;
  margin-bottom: 6px;
}

.submit-cover-drop p {
  margin: 0 0 12px;
  color: var(--text-muted);
  font-size: 13px;
  line-height: 1.6;
}

.submit-cover-preview {
  overflow: hidden;
  display: grid;
  min-height: 148px;
  place-items: center;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background:
    radial-gradient(circle at 20% 20%, rgba(217, 70, 239, 0.32), transparent 34%),
    radial-gradient(circle at 78% 72%, rgba(56, 189, 248, 0.22), transparent 36%),
    rgba(255, 255, 255, 0.035);
  color: var(--text-muted);
}

.submit-cover-preview img,
.submit-preview-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.submit-file-input {
  width: 100%;
  margin-top: 10px;
  color: var(--text-muted);
}

.submit-link-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-gap: 12px;
  gap: 12px;
}

.submit-link-card {
  display: grid;
  grid-gap: 8px;
  gap: 8px;
  padding: 14px;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.035);
}

.submit-link-card > span {
  width: -moz-fit-content;
  width: fit-content;
  padding: 3px 8px;
  border-radius: 999px;
  background: rgba(125, 211, 252, 0.1);
  color: #d8f3ff;
  font-size: 11px;
  font-weight: 800;
}

.submit-link-card strong {
  font-size: 13px;
}

.submit-screenshot-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-gap: 8px;
  gap: 8px;
}

.submit-screenshot-list button {
  display: grid;
  grid-gap: 4px;
  gap: 4px;
  padding: 10px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.035);
  color: var(--text-soft);
  text-align: left;
  cursor: pointer;
}

.submit-screenshot-list span {
  overflow: hidden;
  color: var(--text-muted);
  font-size: 11px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.submit-actions-bar {
  position: -webkit-sticky;
  position: sticky;
  bottom: 0;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 18px 26px;
  background: rgba(14, 10, 31, 0.86);
  -webkit-backdrop-filter: blur(16px);
          backdrop-filter: blur(16px);
}

.submit-actions-bar > span {
  color: var(--text-muted);
  font-size: 12px;
}

.submit-actions-bar > div {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
}

.submit-text-btn {
  border: 0;
  background: transparent;
  color: rgba(214, 201, 243, 0.62);
  cursor: pointer;
}

.submit-text-btn:disabled {
  cursor: not-allowed;
  opacity: 0.45;
}

.submit-message {
  justify-self: start;
  margin: 0 26px 22px;
}

.submit-assistant-panel {
  position: -webkit-sticky;
  position: sticky;
  top: 22px;
  display: grid;
  grid-gap: 0;
  gap: 0;
  overflow: hidden;
}

.submit-assistant-section {
  display: grid;
  grid-gap: 14px;
  gap: 14px;
  padding: 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.submit-assistant-section:last-child {
  border-bottom: 0;
}

.submit-progress-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 14px;
}

.submit-progress-head strong {
  font-size: 38px;
  line-height: 1;
  background: linear-gradient(135deg, #f472b6, #7dd3fc);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.submit-progress-rail {
  height: 7px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
}

.submit-progress-rail span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #a855f7, #d946ef, #7dd3fc);
  box-shadow: 0 0 18px rgba(217, 70, 239, 0.24);
}

.submit-check-columns {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-gap: 10px;
  gap: 10px;
}

.submit-check-columns div {
  display: grid;
  grid-gap: 8px;
  gap: 8px;
  padding: 12px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.035);
}

.submit-check-columns span {
  color: var(--text-muted);
  font-size: 12px;
}

.submit-check-columns strong {
  color: var(--text-soft);
  font-size: 12px;
}

.submit-preview-card {
  overflow: hidden;
  border-radius: 22px;
  border: 1px solid rgba(217, 70, 239, 0.2);
  background: linear-gradient(180deg, rgba(28, 18, 58, 0.94), rgba(13, 9, 28, 0.94));
}

.submit-preview-cover {
  display: grid;
  min-height: 160px;
  place-items: center;
  background:
    radial-gradient(circle at 20% 18%, rgba(217, 70, 239, 0.34), transparent 36%),
    radial-gradient(circle at 80% 74%, rgba(56, 189, 248, 0.24), transparent 36%),
    rgba(255, 255, 255, 0.04);
  color: #f4ecff;
  font-weight: 800;
}

.submit-preview-body {
  display: grid;
  grid-gap: 9px;
  gap: 9px;
  padding: 16px;
}

.submit-preview-body > span {
  color: #d8f3ff;
  font-size: 12px;
}

.submit-preview-body h3,
.submit-confirm-modal h2 {
  margin: 0;
}

.submit-preview-body p,
.submit-confirm-modal p {
  margin: 0;
  color: var(--text-soft);
  font-size: 13px;
  line-height: 1.6;
}

.submit-preview-body div,
.submit-confirm-summary {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.submit-preview-body em,
.submit-confirm-summary span {
  padding: 4px 8px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--text-muted);
  font-size: 11px;
  font-style: normal;
}

.submit-mini-timeline {
  display: grid;
  grid-gap: 12px;
  gap: 12px;
}

.submit-mini-timeline div {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  grid-gap: 10px;
  gap: 10px;
  align-items: center;
  color: var(--text-soft);
  font-size: 13px;
}

.submit-mini-timeline i {
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: rgba(217, 70, 239, 0.12);
  color: #ffd6f6;
  font-size: 11px;
  font-style: normal;
  font-weight: 800;
}

.submit-confirm-backdrop {
  position: fixed;
  inset: 0;
  z-index: 40;
  display: grid;
  place-items: center;
  padding: 20px;
  background: rgba(8, 6, 20, 0.72);
  -webkit-backdrop-filter: blur(12px);
          backdrop-filter: blur(12px);
}

.submit-confirm-modal {
  display: grid;
  grid-gap: 16px;
  gap: 16px;
  width: min(520px, 100%);
  padding: 26px;
  border-radius: 26px;
  border: 1px solid rgba(217, 70, 239, 0.24);
  background: linear-gradient(180deg, rgba(33, 20, 68, 0.98), rgba(15, 10, 32, 0.98));
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.44);
}

.submit-confirm-modal .detail-links {
  justify-content: flex-end;
}

@media (max-width: 1080px) {
  .submit-launch-grid,
  .submit-field-grid.two,
  .submit-cover-drop,
  .submit-link-grid {
    grid-template-columns: 1fr;
  }

  .submit-assistant-panel {
    position: static;
  }
}

@media (max-width: 720px) {
  .submit-flow-section,
  .submit-assistant-section,
  .submit-actions-bar {
    padding: 18px;
  }

  .submit-actions-bar {
    align-items: flex-start;
    flex-direction: column;
  }

  .submit-actions-bar > div,
  .submit-chip-input,
  .submit-check-columns,
  .submit-screenshot-list {
    grid-template-columns: 1fr;
    width: 100%;
  }
}

/* Mission Control */
.control-console {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  background:
    radial-gradient(circle at 12% 8%, rgba(217, 70, 239, 0.13), transparent 24%),
    radial-gradient(circle at 86% 12%, rgba(56, 189, 248, 0.12), transparent 26%),
    linear-gradient(180deg, #160d31 0%, #0d081d 100%);
}

.control-sidebar {
  position: -webkit-sticky;
  position: sticky;
  top: 0;
  height: 100vh;
  overflow-y: auto;
  padding: 22px 16px;
  border-right: 1px solid rgba(160, 127, 255, 0.16);
  background: rgba(11, 8, 26, 0.72);
  -webkit-backdrop-filter: blur(18px);
          backdrop-filter: blur(18px);
}

.control-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px;
  border-radius: 20px;
  border: 1px solid rgba(217, 70, 239, 0.18);
  background: rgba(255, 255, 255, 0.035);
}

.control-brand > span {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(217, 70, 239, 0.34), rgba(56, 189, 248, 0.18));
  color: #fff2fb;
  font-weight: 900;
}

.control-brand strong,
.control-brand small {
  display: block;
}

.control-brand small {
  margin-top: 3px;
  color: var(--text-muted);
  font-size: 12px;
}

.control-nav {
  display: grid;
  grid-gap: 18px;
  gap: 18px;
  margin-top: 22px;
}

.control-nav section {
  display: grid;
  grid-gap: 7px;
  gap: 7px;
}

.control-nav h2 {
  margin: 0 0 4px;
  padding: 0 10px;
  color: rgba(214, 201, 243, 0.62);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.control-nav a {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 36px;
  padding: 0 12px;
  border-radius: 12px;
  color: var(--text-soft);
  font-size: 13px;
}

.control-nav a:hover {
  background: rgba(255, 255, 255, 0.045);
}

.control-nav a.active {
  border: 1px solid rgba(217, 70, 239, 0.32);
  background: linear-gradient(90deg, rgba(217, 70, 239, 0.16), rgba(125, 211, 252, 0.08));
  color: #fff3fb;
  box-shadow: 0 0 18px rgba(217, 70, 239, 0.1);
}

.control-nav a.active::before {
  content: "";
  position: absolute;
  left: -1px;
  top: 9px;
  bottom: 9px;
  width: 3px;
  border-radius: 999px;
  background: linear-gradient(180deg, #d946ef, #7dd3fc);
}

.control-main {
  display: grid;
  grid-gap: 22px;
  gap: 22px;
  align-content: start;
  padding: 22px;
}

.control-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 76px;
  padding: 18px 22px;
  border-radius: 26px;
  border: 1px solid rgba(160, 127, 255, 0.16);
  background: rgba(22, 14, 48, 0.72);
  -webkit-backdrop-filter: blur(16px);
          backdrop-filter: blur(16px);
}

.control-topbar h1 {
  margin: 4px 0 0;
  font-size: 24px;
}

.control-user {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
  color: var(--text-muted);
  font-size: 13px;
}

.control-user strong {
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid rgba(125, 211, 252, 0.18);
  color: #d8f3ff;
}

.control-hero,
.control-panel,
.control-metric {
  border: 1px solid rgba(160, 127, 255, 0.15);
  background:
    linear-gradient(180deg, rgba(32, 20, 66, 0.72), rgba(13, 9, 29, 0.86)),
    radial-gradient(circle at 12% 8%, rgba(125, 211, 252, 0.08), transparent 28%);
  -webkit-backdrop-filter: blur(16px);
          backdrop-filter: blur(16px);
  box-shadow: 0 20px 54px rgba(0, 0, 0, 0.22);
}

.control-hero {
  display: flex;
  justify-content: space-between;
  gap: 22px;
  align-items: center;
  padding: 24px;
  border-radius: 28px;
}

.control-hero h2 {
  margin: 8px 0;
  font-size: 30px;
}

.control-hero p {
  max-width: 680px;
  margin: 0;
  color: var(--text-soft);
  line-height: 1.7;
}

.control-hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
}

.control-metrics {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  grid-gap: 14px;
  gap: 14px;
}

.control-metric {
  display: grid;
  grid-gap: 10px;
  gap: 10px;
  min-height: 118px;
  padding: 18px;
  border-radius: 22px;
}

.control-metric span {
  color: var(--text-muted);
  font-size: 12px;
}

.control-metric strong {
  font-size: 34px;
  line-height: 1;
}

.control-metric.hot {
  border-color: rgba(217, 70, 239, 0.26);
}

.control-metric.cool {
  border-color: rgba(125, 211, 252, 0.22);
}

.control-metric.warn {
  border-color: rgba(250, 204, 21, 0.24);
}

.control-content-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  grid-gap: 16px;
  gap: 16px;
  align-items: start;
}

.control-panel {
  display: grid;
  grid-gap: 16px;
  gap: 16px;
  min-height: 260px;
  padding: 20px;
  border-radius: 24px;
}

.control-panel.wide {
  grid-column: span 8;
}

.control-panel:not(.wide) {
  grid-column: span 4;
}

.control-panel-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.control-panel-head h2 {
  margin: 4px 0 0;
  font-size: 18px;
}

.control-panel-head a {
  color: #d8f3ff;
  font-size: 13px;
  font-weight: 700;
}

.control-table {
  overflow: hidden;
  display: grid;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.07);
}

.control-table-row {
  display: grid;
  grid-template-columns: minmax(180px, 1.45fr) minmax(110px, 0.8fr) minmax(130px, 1fr) 90px 72px;
  grid-gap: 12px;
  gap: 12px;
  align-items: center;
  min-height: 54px;
  padding: 10px 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  color: var(--text-muted);
  font-size: 13px;
}

.control-table-row:last-child {
  border-bottom: 0;
}

.control-table-row.head {
  min-height: 42px;
  color: rgba(214, 201, 243, 0.72);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: rgba(255, 255, 255, 0.035);
}

.control-table-row strong {
  color: var(--text-main);
}

.control-table-row a {
  color: #d8f3ff;
  font-weight: 700;
}

.control-status {
  width: -moz-fit-content;
  width: fit-content;
  padding: 4px 8px;
  border-radius: 999px;
  color: var(--text-soft);
  font-size: 11px;
  font-weight: 800;
}

.control-status.pending {
  background: rgba(250, 204, 21, 0.13);
  color: #fff0b2;
}

.control-status.approved {
  background: rgba(52, 211, 153, 0.12);
  color: #c7f6e5;
}

.control-status.rejected {
  background: rgba(255, 107, 142, 0.12);
  color: #ffd4df;
}

.control-todo-list,
.control-deadline-list {
  display: grid;
  grid-gap: 10px;
  gap: 10px;
}

.control-todo-list a,
.control-deadline-list a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.07);
  background: rgba(255, 255, 255, 0.035);
}

.control-todo-list span,
.control-deadline-list span {
  color: var(--text-muted);
  font-size: 12px;
}

.control-todo-list strong,
.control-deadline-list strong {
  color: var(--text-main);
}

.control-deadline-list a {
  align-items: flex-start;
  flex-direction: column;
}

.control-ring {
  display: grid;
  place-items: center;
  justify-self: center;
  width: 154px;
  height: 154px;
  border-radius: 50%;
}

.control-ring span {
  display: grid;
  place-items: center;
  width: 112px;
  height: 112px;
  padding: 12px;
  border-radius: 50%;
  background: #140d2d;
  color: var(--text-soft);
  font-size: 13px;
  text-align: center;
}

.control-trend-bars {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  grid-gap: 10px;
  gap: 10px;
  align-items: end;
  min-height: 168px;
}

.control-trend-bars div {
  display: grid;
  grid-gap: 8px;
  gap: 8px;
  align-items: end;
  height: 150px;
}

.control-trend-bars span {
  display: block;
  border-radius: 999px 999px 4px 4px;
  background: linear-gradient(180deg, rgba(217, 70, 239, 0.86), rgba(125, 211, 252, 0.54));
  box-shadow: 0 0 16px rgba(217, 70, 239, 0.16);
}

.control-trend-bars small {
  color: var(--text-muted);
  font-size: 11px;
  text-align: center;
}

.control-empty {
  padding: 18px;
  color: var(--text-muted);
  font-size: 13px;
}

@media (max-width: 1180px) {
  .control-console {
    grid-template-columns: 1fr;
  }

  .control-sidebar {
    position: static;
    height: auto;
  }

  .control-nav {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .control-metrics {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .control-panel.wide,
  .control-panel:not(.wide) {
    grid-column: span 12;
  }
}

@media (max-width: 760px) {
  .control-main {
    padding: 14px;
  }

  .control-topbar,
  .control-hero,
  .control-user {
    align-items: flex-start;
    flex-direction: column;
  }

  .control-metrics,
  .control-nav {
    grid-template-columns: 1fr;
  }

  .control-table {
    overflow-x: auto;
  }

  .control-table-row {
    min-width: 760px;
  }
}

/* Professional planet experience pass */
:root {
  --dw-ink: #070914;
  --dw-panel: rgba(13, 18, 36, 0.78);
  --dw-panel-solid: #10172a;
  --dw-cyan: #67e8f9;
  --dw-blue: #60a5fa;
  --dw-violet: #a78bfa;
  --dw-pink: #f472b6;
  --dw-gold: #facc15;
  --dw-green: #34d399;
  --dw-border: rgba(148, 163, 184, 0.18);
}

body {
  background:
    radial-gradient(circle at 18% 10%, rgba(96, 165, 250, 0.16), transparent 24%),
    radial-gradient(circle at 84% 12%, rgba(52, 211, 153, 0.1), transparent 22%),
    radial-gradient(circle at 58% 78%, rgba(250, 204, 21, 0.08), transparent 30%),
    linear-gradient(180deg, #10172a 0%, #0b1020 44%, #070914 100%);
}

body::before {
  opacity: 0.54;
}

.container {
  width: min(var(--max-width), 100%);
}

.nav {
  position: -webkit-sticky;
  position: sticky;
  top: 14px;
  align-self: start;
  padding: 10px 12px;
  border-color: rgba(148, 163, 184, 0.18);
  background:
    linear-gradient(180deg, rgba(15, 23, 42, 0.82), rgba(8, 13, 26, 0.72)),
    rgba(8, 13, 26, 0.74);
  -webkit-backdrop-filter: blur(18px) saturate(130%);
          backdrop-filter: blur(18px) saturate(130%);
  box-shadow:
    0 18px 48px rgba(0, 0, 0, 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.nav-brand {
  min-width: 218px;
}

.nav-brand-logo {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.04);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08);
}

.nav-brand-text {
  display: grid;
  grid-gap: 2px;
  gap: 2px;
  line-height: 1.05;
}

.nav-brand-text strong {
  font-size: 15px;
}

.nav-brand-text small {
  color: #9fb1d1;
  font-size: 11px;
  font-weight: 600;
}

.nav-links {
  flex: 1 1;
  justify-content: center;
}

.nav-link {
  min-height: 38px;
  padding: 0 13px;
  color: #b8c4dc;
  font-size: 13px;
}

.nav-link:hover,
.nav-link.active {
  background: rgba(103, 232, 249, 0.08);
  color: #f8fbff;
}

.nav-link.active {
  border-color: rgba(103, 232, 249, 0.24);
  box-shadow: inset 0 0 0 1px rgba(103, 232, 249, 0.08);
}

.nav-link-active-dot {
  background: var(--dw-green);
  box-shadow: 0 0 12px rgba(52, 211, 153, 0.72);
}

.btn,
.wrx-cta-primary,
.filter-apply-btn {
  border-radius: 12px;
  background: linear-gradient(135deg, #67e8f9 0%, #60a5fa 58%, #a78bfa 100%);
  color: #07111f;
  font-weight: 800;
  box-shadow: 0 16px 38px rgba(96, 165, 250, 0.18);
}

.btn.secondary,
.wrx-cta-ghost {
  border-color: rgba(148, 163, 184, 0.22);
  background: rgba(15, 23, 42, 0.58);
  color: #e5edff;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.04);
}

.input,
.select,
.textarea {
  border-color: rgba(148, 163, 184, 0.2);
  background: rgba(8, 13, 26, 0.62);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03);
}

.wrx-page {
  background:
    radial-gradient(circle at 50% 26%, rgba(103, 232, 249, 0.1), transparent 30%),
    radial-gradient(circle at 12% 76%, rgba(250, 204, 21, 0.07), transparent 25%),
    radial-gradient(circle at 88% 64%, rgba(52, 211, 153, 0.08), transparent 26%),
    #070914;
}

.wrx-shell::before {
  border-top-color: rgba(103, 232, 249, 0.2);
}

.wrx-hero {
  min-height: 680px;
  display: grid;
  align-content: center;
  padding: clamp(56px, 7vw, 92px) clamp(18px, 4vw, 56px) 42px;
  border-color: rgba(148, 163, 184, 0.18);
  background:
    linear-gradient(rgba(103, 232, 249, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(103, 232, 249, 0.035) 1px, transparent 1px),
    radial-gradient(circle at 50% 42%, rgba(96, 165, 250, 0.12), transparent 44%),
    radial-gradient(circle at 72% 68%, rgba(52, 211, 153, 0.08), transparent 30%),
    linear-gradient(180deg, rgba(15, 23, 42, 0.78), rgba(8, 13, 26, 0.72));
  box-shadow:
    0 34px 90px rgba(0, 0, 0, 0.34),
    inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.wrx-hero::before {
  content: "";
  position: absolute;
  inset: 34px;
  pointer-events: none;
  border: 1px solid rgba(103, 232, 249, 0.12);
  border-radius: 999px;
  transform: rotate(-7deg);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 20%, #000 76%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 20%, #000 76%, transparent);
}

.wrx-online {
  justify-self: center;
  border-color: rgba(250, 204, 21, 0.34);
  background: rgba(250, 204, 21, 0.08);
  color: #fde68a;
}

.wrx-hero h1 {
  max-width: 860px;
  justify-self: center;
  font-size: clamp(48px, 7vw, 92px);
  text-wrap: balance;
}

.wrx-hero h1 span {
  background: linear-gradient(90deg, #f8fbff, #67e8f9, #facc15, #f8fbff);
  background-size: 220% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.wrx-hero p {
  max-width: 720px;
  color: #cbd5e1;
  font-size: 16px;
}

.wrx-hero-metrics {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-gap: 10px;
  gap: 10px;
  width: min(860px, 100%);
  margin: 30px auto 0;
}

.wrx-hero-metrics div {
  display: grid;
  grid-gap: 6px;
  gap: 6px;
  min-height: 104px;
  padding: 15px;
  border: 1px solid rgba(148, 163, 184, 0.16);
  border-radius: 16px;
  background: rgba(15, 23, 42, 0.48);
  -webkit-backdrop-filter: blur(12px);
          backdrop-filter: blur(12px);
}

.wrx-hero-metrics div:nth-child(2) {
  border-color: rgba(52, 211, 153, 0.2);
}

.wrx-hero-metrics div:nth-child(3) {
  border-color: rgba(250, 204, 21, 0.2);
}

.wrx-hero-metrics span,
.wrx-hero-metrics small {
  color: #9fb1d1;
  font-size: 11px;
  line-height: 1.35;
}

.wrx-hero-metrics strong {
  color: #f8fbff;
  font-size: 30px;
  line-height: 1;
}

.wrx-trust-strip {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  width: min(900px, 100%);
  margin: 16px auto 0;
}

.wrx-trust-strip span {
  min-height: 28px;
  display: inline-flex;
  align-items: center;
  padding: 0 10px;
  border: 1px solid rgba(148, 163, 184, 0.15);
  border-radius: 999px;
  background: rgba(8, 13, 26, 0.46);
  color: #b8c4dc;
  font-size: 12px;
}

.home-ticker {
  border-color: rgba(148, 163, 184, 0.12);
  background: rgba(8, 13, 26, 0.78);
}

.home-ticker-item {
  color: #cbd5e1;
}

.home-ticker-dot {
  background: var(--dw-green);
  box-shadow: 0 0 12px rgba(52, 211, 153, 0.72);
}

.datawhale-standard-section {
  padding: 4px 0 8px;
}

.datawhale-standard-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-gap: 14px;
  gap: 14px;
}

.datawhale-standard-grid article {
  position: relative;
  overflow: hidden;
  min-height: 210px;
  padding: 20px;
  border: 1px solid rgba(148, 163, 184, 0.16);
  border-radius: 20px;
  background:
    radial-gradient(circle at 18% 12%, rgba(103, 232, 249, 0.08), transparent 30%),
    linear-gradient(180deg, rgba(15, 23, 42, 0.76), rgba(8, 13, 26, 0.84));
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.22);
}

.datawhale-standard-grid article:nth-child(2) {
  background:
    radial-gradient(circle at 18% 12%, rgba(52, 211, 153, 0.08), transparent 30%),
    linear-gradient(180deg, rgba(15, 23, 42, 0.76), rgba(8, 13, 26, 0.84));
}

.datawhale-standard-grid article:nth-child(3) {
  background:
    radial-gradient(circle at 18% 12%, rgba(250, 204, 21, 0.09), transparent 30%),
    linear-gradient(180deg, rgba(15, 23, 42, 0.76), rgba(8, 13, 26, 0.84));
}

.datawhale-standard-grid span {
  display: inline-grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border: 1px solid rgba(103, 232, 249, 0.26);
  border-radius: 50%;
  color: #cffafe;
  font-weight: 800;
  font-size: 12px;
}

.datawhale-standard-grid strong {
  display: block;
  margin-top: 18px;
  color: #f8fbff;
  font-size: 17px;
}

.datawhale-standard-grid p {
  margin: 10px 0 0;
  color: #b8c4dc;
  font-size: 13px;
  line-height: 1.65;
}

.flow-card,
.feature-row,
.project-gallery-intro,
.project-filter-bar,
.project-featured-card,
.project-gallery-card,
.events-hub-intro,
.events-hub-overview-card,
.events-side-panel,
.event-portal-card,
.submit-launch-hero,
.submit-flow-panel,
.submit-assistant-panel,
.mission-hero-copy,
.mission-hero-preview,
.info-card,
.detail-panel {
  border-color: rgba(148, 163, 184, 0.16);
  background:
    radial-gradient(circle at 12% 8%, rgba(103, 232, 249, 0.06), transparent 28%),
    linear-gradient(180deg, rgba(15, 23, 42, 0.82), rgba(8, 13, 26, 0.88));
}

.metric-value-neon,
.mission-score-head strong,
.submit-progress-head strong {
  background: linear-gradient(135deg, #67e8f9, #34d399 48%, #facc15);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.section-eyebrow,
.eyebrow,
.metric-label {
  color: #93c5fd;
}

.section-head h2,
.detail-title,
.card-title,
.list-title {
  text-wrap: balance;
}

.project-card-cover,
.mission-cover-fallback,
.submit-cover-preview,
.submit-preview-cover {
  background:
    radial-gradient(circle at 22% 20%, rgba(103, 232, 249, 0.3), transparent 34%),
    radial-gradient(circle at 80% 72%, rgba(52, 211, 153, 0.18), transparent 36%),
    linear-gradient(135deg, rgba(30, 41, 59, 0.94), rgba(8, 13, 26, 0.9));
}

.mission-asset-passport {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.82fr);
  grid-gap: 18px;
  gap: 18px;
  align-items: center;
  padding: 20px;
  border: 1px solid rgba(148, 163, 184, 0.16);
  border-radius: 22px;
  background:
    radial-gradient(circle at 12% 10%, rgba(103, 232, 249, 0.08), transparent 28%),
    radial-gradient(circle at 86% 36%, rgba(250, 204, 21, 0.06), transparent 28%),
    linear-gradient(180deg, rgba(15, 23, 42, 0.8), rgba(8, 13, 26, 0.88));
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.24);
}

.mission-asset-passport > div:first-child {
  display: grid;
  grid-gap: 8px;
  gap: 8px;
}

.mission-asset-passport > div:first-child strong {
  max-width: 760px;
  color: #f8fbff;
  font-size: 18px;
  line-height: 1.45;
}

.mission-asset-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-gap: 8px;
  gap: 8px;
}

.mission-asset-grid div {
  display: grid;
  grid-gap: 5px;
  gap: 5px;
  min-height: 78px;
  padding: 12px;
  border: 1px solid rgba(148, 163, 184, 0.14);
  border-radius: 14px;
  background: rgba(8, 13, 26, 0.48);
}

.mission-asset-grid span,
.submit-review-standard span {
  color: #9fb1d1;
  font-size: 11px;
  line-height: 1.45;
}

.mission-asset-grid strong,
.submit-review-standard strong {
  color: #f8fbff;
  font-size: 15px;
}

.submit-review-standard {
  display: grid;
  grid-gap: 10px;
  gap: 10px;
}

.submit-review-standard div {
  display: grid;
  grid-gap: 5px;
  gap: 5px;
  padding: 12px;
  border: 1px solid rgba(148, 163, 184, 0.14);
  border-radius: 14px;
  background: rgba(8, 13, 26, 0.42);
}

.rankings-ref-item-link {
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}

.rankings-ref-item-link:hover {
  color: #cffafe;
  -webkit-text-decoration-line: underline;
          text-decoration-line: underline;
}

.mission-detail-page {
  grid-template-columns: minmax(0, 1fr);
}

.mission-detail-page > * {
  min-width: 0;
  grid-column: 1;
}

@media (max-width: 1080px) {
  .nav {
    position: relative;
    top: 0;
    align-items: flex-start;
    border-radius: 24px;
  }

  .nav-links {
    justify-content: flex-start;
  }

  .wrx-hero-metrics,
  .datawhale-standard-grid,
  .mission-asset-passport {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .mission-asset-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .mission-detail-page .detail-grid,
  .mission-detail-grid {
    grid-column: 1;
    grid-template-columns: minmax(0, 1fr);
  }

  .mission-detail-hero,
  .mission-asset-passport,
  .mission-main-col,
  .mission-side-col {
    min-width: 0;
  }
}

@media (max-width: 720px) {
  .nav {
    display: flex;
    flex-wrap: wrap;
    padding: 12px;
    gap: 10px;
  }

  .nav-brand {
    order: 1;
    flex: 1 1 auto;
    min-width: 0;
  }

  .nav-spacer {
    order: 2;
    margin-left: 0;
  }

  .nav-links {
    order: 3;
    flex: 0 0 100%;
    width: 100%;
    justify-content: flex-start;
    overflow-x: auto;
    padding-top: 2px;
    scrollbar-width: none;
  }

  .nav-links::-webkit-scrollbar {
    display: none;
  }

  .nav-brand-text small {
    display: none;
  }

  .nav-link {
    min-height: 36px;
    padding: 0 11px;
  }

  .wrx-hero {
    min-height: 0;
    padding: 46px 16px 24px;
    border-radius: 22px;
  }

  .wrx-hero::before {
    inset: 18px;
  }

  .wrx-hero h1 {
    font-size: clamp(40px, 13vw, 54px);
  }

  .wrx-hero p {
    font-size: 14px;
  }

  .wrx-hero-metrics {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    margin-top: 22px;
  }

  .datawhale-standard-grid {
    grid-template-columns: 1fr;
  }

  .mission-asset-passport,
  .mission-asset-grid {
    grid-template-columns: 1fr;
  }

  .wrx-hero-metrics div {
    min-height: 0;
    padding: 12px;
  }

  .wrx-hero-metrics strong {
    font-size: 24px;
  }

  .datawhale-standard-grid article {
    min-height: 0;
  }

  .home-mission-card,
  .event-portal-card,
  .project-gallery-card,
  .project-featured-card {
    border-radius: 18px;
  }
}

/* ============================================================
   Launch hero — central rocket (Whale-Rocket signature visual)
   ============================================================ */
.wrx-hero-planet { display: none !important; }

.wrx-hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(0, 0.96fr);
  align-items: center;
  grid-gap: clamp(20px, 4vw, 60px);
  gap: clamp(20px, 4vw, 60px);
  width: 100%;
}

.wrx-hero-copy {
  text-align: left;
}

.wrx-hero-copy .wrx-online {
  justify-self: start;
  margin-bottom: 18px;
}

.wrx-hero-copy h1 {
  justify-self: start;
  max-width: 14ch;
  margin: 0;
  font-size: clamp(40px, 4.8vw, 70px);
  line-height: 1.04;
  text-align: left;
}

.wrx-hero-copy p {
  margin: 18px 0 0;
  max-width: 46ch;
  text-align: left;
}

.wrx-hero-copy .wrx-hero-actions {
  justify-content: flex-start;
  margin-top: 28px;
}

/* --- Rocket stage --- */
.wrx-rocket-scene {
  position: relative;
  display: grid;
  place-items: center;
  height: clamp(360px, 38vw, 470px);
}

.wrx-launch-glow {
  position: absolute;
  left: 50%;
  top: 56%;
  width: 320px;
  height: 320px;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(103, 232, 249, 0.28), rgba(96, 165, 250, 0.12) 46%, transparent 70%);
  filter: blur(18px);
  animation: wrx-glow-pulse 4s ease-in-out infinite;
}

.wrx-orbit {
  position: absolute;
  left: 50%;
  top: 54%;
  border: 1px solid rgba(103, 232, 249, 0.2);
  border-radius: 50%;
  transform: translate(-50%, -50%) rotate(-18deg);
  pointer-events: none;
}

.wrx-orbit-a {
  width: 430px;
  height: 156px;
}

.wrx-orbit-b {
  width: 320px;
  height: 116px;
  border-color: rgba(167, 139, 250, 0.22);
  transform: translate(-50%, -50%) rotate(16deg);
}

.wrx-orbit-sat {
  position: absolute;
  left: 50%;
  top: 54%;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  animation: wrx-spin 16s linear infinite;
}

.wrx-orbit-sat::before {
  content: "";
  position: absolute;
  top: -5px;
  left: 50%;
  width: 10px;
  height: 10px;
  margin-left: -5px;
  border-radius: 50%;
  background: var(--dw-cyan);
  box-shadow: 0 0 14px rgba(103, 232, 249, 0.9);
}

.wrx-orbit-sat-a {
  width: 360px;
  height: 360px;
}

.wrx-orbit-sat-b {
  width: 250px;
  height: 250px;
  animation-duration: 11s;
  animation-direction: reverse;
}

.wrx-orbit-sat-b::before {
  background: var(--dw-gold);
  box-shadow: 0 0 14px rgba(250, 204, 21, 0.9);
}

.wrx-rocket {
  position: relative;
  width: 160px;
  height: 286px;
  z-index: 2;
  animation: wrx-rocket-hover 4.6s ease-in-out infinite;
  filter: drop-shadow(0 22px 26px rgba(0, 0, 0, 0.45));
}

.wrx-rocket-nose {
  position: absolute;
  left: 34px;
  top: 0;
  width: 92px;
  height: 76px;
  background: linear-gradient(180deg, #fde68a, #f59e0b);
  -webkit-clip-path: polygon(50% 0, 100% 100%, 0 100%);
          clip-path: polygon(50% 0, 100% 100%, 0 100%);
}

.wrx-rocket-body {
  position: absolute;
  left: 34px;
  top: 70px;
  width: 92px;
  height: 166px;
  overflow: hidden;
  border-radius: 42px 42px 28px 28px;
  background:
    linear-gradient(90deg, rgba(2, 6, 23, 0.24), transparent 26%, transparent 72%, rgba(2, 6, 23, 0.28)),
    linear-gradient(180deg, #ffffff 0%, #e3edff 52%, #c4daff 100%);
  box-shadow: inset 0 2px 0 rgba(255, 255, 255, 0.85), inset 0 -18px 26px rgba(59, 130, 246, 0.2);
}

.wrx-rocket-window {
  position: absolute;
  left: 50%;
  top: 34px;
  width: 54px;
  height: 54px;
  transform: translateX(-50%);
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 4px solid #f59e0b;
  background: radial-gradient(circle at 50% 32%, #16294d, #0a1326 72%);
  box-shadow: inset 0 0 0 2px rgba(255, 255, 255, 0.35), 0 0 16px rgba(103, 232, 249, 0.5);
}

.wrx-rocket-window::after {
  content: "";
  width: 44px;
  height: 44px;
  background: url("/brand/whale_transparent.png") center/contain no-repeat;
  animation: wrx-whale-bob 3.6s ease-in-out infinite;
}

.wrx-rocket-stripe {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 22px;
  height: 15px;
  background: linear-gradient(90deg, transparent, rgba(103, 232, 249, 0.85) 28%, rgba(52, 211, 153, 0.85) 72%, transparent);
  opacity: 0.85;
}

.wrx-rocket-fin {
  position: absolute;
  bottom: 34px;
  width: 46px;
  height: 80px;
  background: linear-gradient(180deg, #fbbf24, #b45309);
  z-index: -1;
}

.wrx-rocket-fin-l {
  left: 4px;
  -webkit-clip-path: polygon(100% 0, 100% 58%, 0 100%);
          clip-path: polygon(100% 0, 100% 58%, 0 100%);
}

.wrx-rocket-fin-r {
  right: 4px;
  -webkit-clip-path: polygon(0 0, 0 58%, 100% 100%);
          clip-path: polygon(0 0, 0 58%, 100% 100%);
}

.wrx-rocket-flame {
  position: absolute;
  left: 50%;
  top: 230px;
  width: 46px;
  height: 72px;
  transform: translateX(-50%);
  transform-origin: 50% 0;
  border-radius: 50% 50% 46% 46% / 28% 28% 72% 72%;
  background: linear-gradient(180deg, #fde68a, #fb923c 44%, #ef4444 82%, transparent);
  animation: wrx-flame 0.22s ease-in-out infinite alternate;
  z-index: -1;
}

.wrx-rocket-flame-inner {
  top: 234px;
  width: 24px;
  height: 48px;
  background: linear-gradient(180deg, #ffffff, #67e8f9 50%, #60a5fa 92%, transparent);
  animation-duration: 0.16s;
  z-index: 1;
}

.wrx-spark {
  position: absolute;
  left: 50%;
  top: 62%;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #fbbf24;
  box-shadow: 0 0 9px rgba(251, 191, 36, 0.9);
  animation: wrx-spark-fall 1.4s linear infinite;
}

.wrx-spark.s1 { --sx: -16px; animation-delay: 0s; }
.wrx-spark.s2 { --sx: 0px; animation-delay: 0.5s; }
.wrx-spark.s3 { --sx: 18px; animation-delay: 0.9s; }

.wrx-smoke {
  position: absolute;
  left: 50%;
  top: 70%;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(148, 163, 184, 0.34), transparent 70%);
  animation: wrx-smoke-rise 2.6s ease-out infinite;
}

.wrx-smoke.m1 { --smx: -26px; animation-delay: 0.3s; }
.wrx-smoke.m2 { --smx: 24px; animation-delay: 1.3s; }

@keyframes wrx-rocket-hover {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

@keyframes wrx-flame {
  0% { transform: translateX(-50%) scaleY(0.84); opacity: 0.85; }
  100% { transform: translateX(-50%) scaleY(1.14); opacity: 1; }
}

@keyframes wrx-whale-bob {
  0%, 100% { transform: translateY(0) rotate(-3deg); }
  50% { transform: translateY(-3px) rotate(3deg); }
}

@keyframes wrx-glow-pulse {
  0%, 100% { opacity: 0.7; transform: translate(-50%, -50%) scale(1); }
  50% { opacity: 1; transform: translate(-50%, -50%) scale(1.08); }
}

@keyframes wrx-spin {
  to { transform: translate(-50%, -50%) rotate(360deg); }
}

@keyframes wrx-spark-fall {
  0% { opacity: 0; transform: translate(0, -22px) scale(1); }
  20% { opacity: 1; }
  100% { opacity: 0; transform: translate(var(--sx, 0), 34px) scale(0.4); }
}

@keyframes wrx-smoke-rise {
  0% { opacity: 0; transform: translate(-50%, 0) scale(0.4); }
  30% { opacity: 0.55; }
  100% { opacity: 0; transform: translate(calc(-50% + var(--smx, 0)), -12px) scale(1.7); }
}

@media (prefers-reduced-motion: reduce) {
  .wrx-rocket,
  .wrx-orbit-sat,
  .wrx-launch-glow,
  .wrx-rocket-flame,
  .wrx-rocket-window::after,
  .wrx-spark,
  .wrx-smoke {
    animation: none !important;
  }
}

@media (max-width: 980px) {
  .wrx-hero-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .wrx-hero-copy {
    text-align: center;
  }

  .wrx-hero-copy .wrx-online,
  .wrx-hero-copy h1 {
    justify-self: center;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
  }

  .wrx-hero-copy p {
    margin-left: auto;
    margin-right: auto;
    text-align: center;
  }

  .wrx-hero-copy .wrx-hero-actions {
    justify-content: center;
  }

  .wrx-rocket-scene {
    order: -1;
    height: clamp(280px, 56vw, 360px);
  }

  .wrx-rocket {
    transform: scale(0.86);
  }
}

/* ============================================================
   Home rhythm — turn stacked modules into a launch sequence
   ============================================================ */
.home-section {
  margin-top: clamp(46px, 6vw, 80px);
}

.home-section .section-eyebrow {
  align-items: center;
  gap: 8px;
}

.home-section .section-eyebrow::before {
  content: "";
  width: 0;
  height: 0;
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
  border-bottom: 9px solid currentColor;
  filter: drop-shadow(0 0 6px rgba(103, 232, 249, 0.65));
}

.home-section .section-head {
  margin-bottom: 20px;
}

.home-ticker {
  margin-top: clamp(34px, 4vw, 48px);
}

/* ============================================================
   Theme consistency — retire leftover purple/pink accents so
   every page follows the cyan / teal / amber launch palette
   ============================================================ */
.tag {
  background: rgba(103, 232, 249, 0.12);
  color: #bdf3fb;
  border-color: rgba(103, 232, 249, 0.22);
}

.status-chip {
  background: rgba(52, 211, 153, 0.14);
  color: #b6f0d8;
  border-color: rgba(52, 211, 153, 0.22);
}

.card-accent {
  color: #7fdcef;
}

.card-number {
  color: #67e8f9;
}

.login-shell,
.login-panel {
  border-color: rgba(148, 163, 184, 0.16);
  background:
    radial-gradient(circle at 14% 6%, rgba(103, 232, 249, 0.07), transparent 30%),
    linear-gradient(180deg, rgba(15, 23, 42, 0.84), rgba(8, 13, 26, 0.92));
}

.login-shell::before,
.login-panel::before {
  background: radial-gradient(circle at center, rgba(103, 232, 249, 0.2), transparent 70%);
}

/* City detail — local top works list */
.city-top-list {
  display: grid;
  grid-gap: 8px;
  gap: 8px;
  margin-top: 12px;
}

.city-top-item {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  grid-gap: 12px;
  gap: 12px;
  padding: 10px 12px;
  border: 1px solid rgba(148, 163, 184, 0.14);
  border-radius: 14px;
  background: rgba(8, 13, 26, 0.46);
  transition: border-color 0.18s ease, transform 0.18s ease;
}

.city-top-item:hover {
  border-color: rgba(103, 232, 249, 0.32);
  transform: translateX(2px);
}

.city-top-rank {
  font-family: "JetBrains Mono", "SFMono-Regular", Consolas, monospace;
  font-size: 13px;
  color: #67e8f9;
}

.city-top-main {
  display: grid;
  grid-gap: 2px;
  gap: 2px;
  min-width: 0;
}

.city-top-main strong {
  overflow: hidden;
  color: #f8fbff;
  font-size: 14px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.city-top-main small {
  overflow: hidden;
  color: #9fb1d1;
  font-size: 11px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.city-top-votes {
  font-family: "JetBrains Mono", "SFMono-Regular", Consolas, monospace;
  font-size: 13px;
  color: #b6f0d8;
  white-space: nowrap;
}

/* Event detail — phase / status card */
.event-phase-head {
  margin-top: 12px;
}

.event-phase-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 30px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.2);
  font-size: 13px;
  font-weight: 700;
}

.event-phase-chip::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: currentColor;
  box-shadow: 0 0 10px currentColor;
}

.event-phase-chip.live {
  border-color: rgba(52, 211, 153, 0.4);
  background: rgba(52, 211, 153, 0.12);
  color: #6ee7b7;
}

.event-phase-chip.upcoming {
  border-color: rgba(250, 204, 21, 0.4);
  background: rgba(250, 204, 21, 0.12);
  color: #fde68a;
}

.event-phase-chip.ended {
  border-color: rgba(148, 163, 184, 0.3);
  background: rgba(148, 163, 184, 0.1);
  color: #cbd5e1;
}

.event-phase-hint {
  margin: 12px 0 0;
  color: #9fb1d1;
  font-size: 13px;
}

.event-phase-card.live {
  border-color: rgba(52, 211, 153, 0.24);
}

/* ============================================================
   Global palette retarget — make the base tokens follow the
   launch theme so any not-yet-recolored element stays on-brand
   ============================================================ */
:root {
  --bg-base: #0b1020;
  --bg-deep: #070914;
  --bg-panel: rgba(15, 23, 42, 0.82);
  --bg-panel-strong: rgba(8, 13, 26, 0.94);
  --bg-soft: rgba(30, 41, 59, 0.5);
  --border: rgba(103, 232, 249, 0.2);
  --border-strong: rgba(103, 232, 249, 0.42);
  --text-soft: #cbd5e1;
  --text-muted: #9fb1d1;
  --primary: #67e8f9;
  --primary-strong: #22d3ee;
  --secondary: #60a5fa;
  --accent: #facc15;
  --accent-soft: #fbbf24;
}

/* Rankings — replace magenta accents with launch palette */
.rankings-ref-filter-title > span:first-child {
  background: linear-gradient(to right, #67e8f9, #34d399);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.rankings-ref-filter-mode {
  border-color: rgba(103, 232, 249, 0.18);
}

.rankings-ref-filter-mode .active {
  background: rgba(103, 232, 249, 0.18);
}

.rankings-ref-datebar {
  border-color: rgba(103, 232, 249, 0.14);
}

.rankings-ref-date-pill.active {
  background: linear-gradient(135deg, #67e8f9, #60a5fa);
  color: #07111f;
  box-shadow: 0 0 15px rgba(103, 232, 249, 0.4);
}

.rankings-ref-tab.active .rankings-ref-tab-icon {
  color: #67e8f9;
}

.rankings-ref-item.is-top {
  border-color: rgba(103, 232, 249, 0.32);
  box-shadow: inset 0 0 0 1px rgba(103, 232, 249, 0.16);
}

.rankings-ref-score-rail i,
.mission-score-rail i {
  background: linear-gradient(90deg, #67e8f9, #34d399);
}

.rankings-ref-overview-progress span,
.rankings-cockpit .rankings-ref-overview-progress span {
  background: linear-gradient(90deg, #67e8f9 0%, #34d399 55%, #facc15 100%);
  box-shadow: 0 0 16px rgba(103, 232, 249, 0.3);
}

.rankings-ref-overview-trend {
  color: #67e8f9;
}

.rankings-ref-archive-year.active {
  border-color: rgba(103, 232, 249, 0.18);
}

.rankings-ref-archive-month.active {
  background: rgba(103, 232, 249, 0.12);
  border-color: rgba(103, 232, 249, 0.25);
  color: #7fdcef;
}

.rankings-cockpit .rankings-ref-overview-value {
  text-shadow: 0 0 18px rgba(103, 232, 249, 0.24);
}

/* Projects gallery — recolor remaining purple panels and figures */
.flow-card.primary {
  background: linear-gradient(180deg, rgba(103, 232, 249, 0.16), rgba(8, 13, 26, 0.95));
}

.flow-card.secondary {
  background: linear-gradient(180deg, rgba(96, 165, 250, 0.14), rgba(8, 13, 26, 0.95));
}

.showcase-votes {
  background: linear-gradient(135deg, #67e8f9 0%, #34d399 55%, #facc15 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* User menu + admin console — finish de-purpling */
.user-menu-badge {
  background: linear-gradient(90deg, rgba(103, 232, 249, 0.26), rgba(96, 165, 250, 0.2));
  border-color: rgba(103, 232, 249, 0.3);
}

.control-brand {
  border-color: rgba(103, 232, 249, 0.18);
}

.control-brand > span {
  background: linear-gradient(135deg, rgba(103, 232, 249, 0.34), rgba(96, 165, 250, 0.2));
}

.control-nav a.active {
  border-color: rgba(103, 232, 249, 0.32);
  background: linear-gradient(90deg, rgba(103, 232, 249, 0.16), rgba(96, 165, 250, 0.08));
  color: #eaffff;
  box-shadow: 0 0 18px rgba(103, 232, 249, 0.12);
}

.control-nav a.active::before {
  background: #67e8f9;
}

.control-trend-bars span {
  background: linear-gradient(180deg, rgba(103, 232, 249, 0.86), rgba(52, 211, 153, 0.5));
  box-shadow: 0 0 16px rgba(103, 232, 249, 0.16);
}

/* Status pill — humanized, tone-coded review status */
.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 28px;
  padding: 0 12px;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.22);
  background: rgba(148, 163, 184, 0.1);
  color: #cbd5e1;
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
}

.status-pill::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
  box-shadow: 0 0 8px currentColor;
}

.status-pill.ok {
  border-color: rgba(52, 211, 153, 0.4);
  background: rgba(52, 211, 153, 0.12);
  color: #6ee7b7;
}

.status-pill.warn {
  border-color: rgba(250, 204, 21, 0.4);
  background: rgba(250, 204, 21, 0.12);
  color: #fde68a;
}

.status-pill.bad {
  border-color: rgba(248, 113, 113, 0.4);
  background: rgba(248, 113, 113, 0.12);
  color: #fca5a5;
}

/* Judge console — progress + sticky sidebar to balance the tall form list */
.judge-sidebar {
  align-content: start;
  gap: 16px;
}

@media (min-width: 981px) {
  .judge-sidebar {
    position: -webkit-sticky;
    position: sticky;
    top: 24px;
  }
}

.judge-progress-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  margin-top: 10px;
}

.judge-progress-head strong {
  font-family: "JetBrains Mono", "SFMono-Regular", Consolas, monospace;
  font-size: 30px;
  color: #67e8f9;
}

.judge-progress-head span {
  color: #9fb1d1;
  font-size: 12px;
}

.judge-progress-rail {
  margin: 10px 0 14px;
  height: 6px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  overflow: hidden;
}

.judge-progress-rail i {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #67e8f9, #34d399);
}

/* ============================================================
   Responsive fixes — stack two-column detail layouts and let
   long Chinese headings wrap on small screens
   ============================================================ */
.page-shell,
.detail-grid,
.detail-panel,
.detail-sidebar {
  min-width: 0;
}

@media (max-width: 860px) {
  .detail-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .judge-sidebar {
    position: static;
  }
}

@media (max-width: 600px) {
  .rankings-ref-title,
  .rankings-cockpit .rankings-ref-title {
    word-break: normal;
    overflow-wrap: anywhere;
    font-size: clamp(26px, 7vw, 34px);
  }

  .rankings-ref-filter-title {
    font-size: 22px;
  }
}

/* ============================================================
   Rankings — align with the shared open page layout so it
   matches every other page (no enclosing "cockpit" glass box)
   ============================================================ */
.rankings-cockpit {
  padding: 0;
  border: 0;
  border-radius: 0;
  background: none;
  -webkit-backdrop-filter: none;
          backdrop-filter: none;
}

.rankings-cockpit::before {
  display: none;
}

.rankings-cockpit .rankings-ref-hero,
.rankings-cockpit .rankings-ref-filter,
.rankings-cockpit .rankings-ref-archive,
.rankings-cockpit .rankings-ref-sidebar-foot {
  border-color: rgba(148, 163, 184, 0.16);
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.82), rgba(8, 13, 26, 0.72));
}

.rankings-cockpit .rankings-ref-sidebar {
  border-color: rgba(148, 163, 184, 0.16);
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.8), rgba(8, 13, 26, 0.74));
}

.rankings-cockpit .rankings-ref-item {
  border-color: rgba(148, 163, 184, 0.14);
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.72), rgba(8, 13, 26, 0.8));
}

.rankings-cockpit .rankings-ref-item:hover {
  border-color: rgba(103, 232, 249, 0.34);
}

.rankings-cockpit .rankings-ref-overview {
  border-color: rgba(103, 232, 249, 0.22);
  background:
    radial-gradient(circle at 18% 12%, rgba(103, 232, 249, 0.12), transparent 26%),
    radial-gradient(circle at 86% 10%, rgba(52, 211, 153, 0.1), transparent 26%),
    linear-gradient(180deg, rgba(15, 23, 42, 0.88), rgba(8, 13, 26, 0.92));
}

.rankings-cockpit .rankings-ref-datebar {
  border-color: rgba(103, 232, 249, 0.16);
  background: rgba(8, 13, 26, 0.55);
}

.rankings-cockpit .rankings-ref-archive-months::before {
  background: linear-gradient(180deg, rgba(103, 232, 249, 0.32), rgba(52, 211, 153, 0.18), transparent);
}

/* Hero decoration — cyan/teal instead of purple/magenta */
.rankings-mission-bg .orbit {
  border-color: rgba(103, 232, 249, 0.2);
}

.rankings-mission-bg .node {
  background: #67e8f9;
  box-shadow: 0 0 12px rgba(103, 232, 249, 0.55);
}

.rankings-mission-bg .scan-line {
  background: linear-gradient(90deg, transparent, rgba(103, 232, 249, 0.26), transparent);
}

/* Item avatar tiles — launch palette (cyan / blue / amber) */
.rankings-ref-item-icon.tone-1 {
  background: linear-gradient(135deg, rgba(103, 232, 249, 0.26), rgba(96, 165, 250, 0.16));
  color: #d8f6ff;
}

.rankings-ref-item-icon.tone-2 {
  background: linear-gradient(135deg, rgba(52, 211, 153, 0.24), rgba(103, 232, 249, 0.16));
  color: #c8fff0;
}

.rankings-ref-item-icon.tone-3 {
  background: linear-gradient(135deg, rgba(250, 204, 21, 0.22), rgba(96, 165, 250, 0.16));
  color: #ffe9b0;
}

