﻿:root {
--font-body: "Trebuchet MS", "Segoe UI", sans-serif;
  --font-ui: "IBM Plex Sans", "Trebuchet MS", "Segoe UI", system-ui, sans-serif;
  --font-display: "Iowan Old Style", "Palatino Linotype", "Book Antiqua", Georgia, serif;
  --bg: #050c1d;
  --bg-soft: #0b1630;
  --panel: rgba(7, 14, 31, 0.74);
  --panel-strong: rgba(10, 20, 43, 0.795);
  --line: rgba(187, 205, 255, 0.14);
  --line-strong: rgba(214, 226, 255, 0.24);
  --text: #f2f4fb;
  --muted: #aeb9d3;
  --silver: #dce4f2;
  --silver-deep: #8da0bf;
  --blue-accent: #5f82c4;
  --gold: #d6b46b;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.42);
  --mode-page-background:
    linear-gradient(180deg, rgba(2, 5, 16, 0.66), rgba(2, 5, 16, 0.94)),
    radial-gradient(circle at top, rgba(51, 79, 141, 0.24), transparent 40%),
    var(--bg);
  --mode-backdrop-overlay: linear-gradient(180deg, rgba(4, 8, 22, 0.36), rgba(4, 8, 22, 0.92));
  --mode-backdrop-image: url("./Project_Example.webp");
  --mode-backdrop-position: center center;
  --mode-backdrop-size: 46% auto;
  --mode-backdrop-repeat: no-repeat;
  --mode-backdrop-opacity: 0.24;
  --mode-backdrop-filter: blur(3px) saturate(0.9);
  --mode-backdrop-transform: scale(1.04);
  --mode-backdrop-blend-mode: normal;
  --mode-veil-background: linear-gradient(120deg, rgba(10, 20, 46, 0.88) 0%, rgba(5, 10, 24, 0.54) 35%, rgba(5, 10, 24, 0.92) 100%);
}

/* Community feed */
.community-page {
  width: min(1500px, 100%);
  margin: 0 auto;
  padding-top: 18px;
  display: grid;
  grid-template-columns: 250px minmax(0, 1fr) 300px;
  align-items: start;
  gap: 18px;
}

.community-left-rail,
.community-center-column {
  display: grid;
  align-content: start;
  gap: 18px;
  min-width: 0;
}

.community-left-rail {
  position: sticky;
  top: 18px;
}

.community-social-card,
.community-follow-feed-card,
.community-intro-block,
.community-feed-block {
  margin: 0;
}

.community-social-card,
.community-follow-feed-card {
  padding: 20px;
}

.community-social-card h2,
.community-follow-feed-card h2,
.community-intro-block h1 {
  margin: 5px 0 0;
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 500;
}

.community-social-card h2,
.community-follow-feed-card h2 {
  font-size: 1.45rem;
}

.community-social-copy,
.community-intro-block > p:last-child {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.6;
}

.community-connections-label {
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid rgba(214, 226, 255, 0.1);
}

.community-social-card .profile-social-counts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 10px;
  justify-content: stretch;
}

.community-social-card .profile-social-counts button {
  min-width: 0;
  min-height: 56px;
  padding: 8px 10px;
}

.community-follow-feed-card .community-scope-tabs {
  display: grid;
  margin-top: 16px;
}

.community-scope-tabs-stacked button {
  width: 100%;
  justify-content: flex-start;
  text-align: left;
}

.community-followed-heading {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid rgba(214, 226, 255, 0.1);
}

.community-followed-heading strong {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1rem;
  font-weight: 500;
}

.community-followed-heading span {
  color: var(--muted);
  font-size: 0.72rem;
}

.community-followed-list {
  max-height: 330px;
  overflow-y: auto;
  scrollbar-width: thin;
}

.community-followed-list .profile-social-connection-action {
  min-width: 64px;
  padding-inline: 7px;
}

.community-intro-block {
  padding: 24px;
}

.community-intro-block h1 {
  font-size: clamp(2.3rem, 5vw, 4.2rem);
}

.community-ranking-rail {
  min-width: 0;
}

.community-ranking-rail .rail-shell {
  top: 18px;
}

.community-title-row {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 24px;
}

.community-title-row h1 {
  margin: 4px 0 0;
  font-size: clamp(2.6rem, 5vw, 4.4rem);
  font-weight: 500;
  line-height: 1;
}

.community-scope-tabs {
  display: inline-flex;
  flex: 0 0 auto;
  padding: 5px;
  border: 1px solid rgba(214, 226, 255, 0.14);
  border-radius: 999px;
  background: rgba(8, 14, 30, 0.7);
}

.community-scope-tabs button,
.community-filter-row button {
  min-height: 38px;
  border: 1px solid transparent;
  color: var(--muted);
  font: inherit;
  cursor: pointer;
  transition: border-color 180ms ease, background-color 180ms ease, color 180ms ease;
}

.community-scope-tabs button {
  padding: 7px 15px;
  border-radius: 999px;
  background: transparent;
}

.community-scope-tabs button:hover,
.community-scope-tabs button:focus-visible,
.community-scope-tabs button.is-active {
  border-color: rgba(214, 226, 255, 0.16);
  background: rgba(137, 168, 241, 0.16);
  color: var(--text);
}

.community-composer {
  display: grid;
  gap: 11px;
}

.community-composer > label {
  color: #e7eefc;
  font-weight: 700;
}

.community-composer textarea {
  width: 100%;
  min-height: 126px;
  resize: vertical;
  padding: 16px;
  border: 1px solid rgba(214, 226, 255, 0.17);
  border-radius: 8px;
  outline: none;
  background: rgba(7, 12, 27, 0.68);
  color: var(--text);
  font: inherit;
  line-height: 1.6;
  transition: border-color 180ms ease, box-shadow 180ms ease;
}

.community-composer textarea:focus {
  border-color: color-mix(in srgb, var(--mode-accent, #89a8f1) 54%, rgba(214, 226, 255, 0.2));
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--mode-accent, #89a8f1) 12%, transparent);
}

.community-composer-actions {
  display: flex;
  align-items: end;
  gap: 14px;
}

.community-channel-select {
  display: grid;
  gap: 5px;
  color: var(--muted);
  font-size: 0.82rem;
}

.community-channel-select select {
  min-width: 170px;
  min-height: 42px;
  padding: 0 34px 0 12px;
  border: 1px solid rgba(214, 226, 255, 0.18);
  border-radius: 8px;
  background: #10172a;
  color: var(--text);
  font: inherit;
}

.community-character-count {
  margin-left: auto;
  padding-bottom: 11px;
  color: var(--muted);
  font-size: 0.84rem;
}

.community-auth-note {
  margin: 0;
  color: var(--muted);
  font-size: 0.86rem;
}

.community-auth-note a {
  color: #dbe6ff;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.community-composer :disabled,
.community-scope-tabs button:disabled {
  cursor: not-allowed;
  opacity: 0.52;
}

.community-submit {
  min-height: 42px;
  padding: 9px 20px;
  border: 1px solid rgba(214, 226, 255, 0.32);
  border-radius: 8px;
  background: color-mix(in srgb, var(--mode-accent, #89a8f1) 24%, #11192d);
  color: #f4f7ff;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1rem;
  cursor: pointer;
  transition: transform 180ms ease, border-color 180ms ease, background-color 180ms ease;
}

.community-submit:hover,
.community-submit:focus-visible {
  transform: translateY(-1px);
  border-color: color-mix(in srgb, var(--mode-accent, #89a8f1) 62%, #d6e2ff);
  background: color-mix(in srgb, var(--mode-accent, #89a8f1) 34%, #11192d);
}

.community-submit:disabled {
  cursor: wait;
  opacity: 0.68;
}

.community-filter-row {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(214, 226, 255, 0.1);
  scrollbar-width: thin;
}

.community-filter-row button {
  flex: 0 0 auto;
  padding: 7px 12px;
  border-color: rgba(214, 226, 255, 0.12);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.025);
}

.community-filter-row button:hover,
.community-filter-row button:focus-visible,
.community-filter-row button.is-active {
  border-color: color-mix(in srgb, var(--mode-accent, #89a8f1) 46%, rgba(214, 226, 255, 0.18));
  background: color-mix(in srgb, var(--mode-accent, #89a8f1) 13%, transparent);
  color: var(--text);
}

.community-feed-status {
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.community-feed {
  display: grid;
  margin-top: 4px;
}

.community-post {
  display: grid;
  gap: 16px;
  padding: 24px 0;
  border-bottom: 1px solid rgba(214, 226, 255, 0.1);
}

.community-post:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.community-post-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.community-post-header-actions {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 8px;
}

.community-author-follow {
  min-height: 34px;
  padding: 6px 10px;
  border: 1px solid color-mix(in srgb, var(--mode-accent, #89a8f1) 42%, rgba(214, 226, 255, 0.16));
  border-radius: 8px;
  background: color-mix(in srgb, var(--mode-accent, #89a8f1) 10%, transparent);
  color: #e8efff;
  font: inherit;
  font-size: 0.78rem;
  cursor: pointer;
  transition: border-color 180ms ease, background-color 180ms ease, color 180ms ease;
}

.community-author-follow:hover,
.community-author-follow:focus-visible,
.community-author-follow[data-following="true"] {
  border-color: color-mix(in srgb, var(--mode-accent, #89a8f1) 72%, #d8e4ff);
  background: color-mix(in srgb, var(--mode-accent, #89a8f1) 22%, #0d162c);
  color: #fff;
}

.community-author-follow:disabled {
  cursor: wait;
  opacity: 0.66;
}

.community-post-author {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  color: var(--text);
}

.community-post-avatar {
  display: grid;
  flex: 0 0 48px;
  width: 48px;
  height: 48px;
  place-items: center;
  overflow: hidden;
  border: 1px solid rgba(214, 226, 255, 0.2);
  border-radius: 50%;
  background: linear-gradient(145deg, #dce7fb, #8095bd);
  background-position: center;
  background-size: cover;
  color: #101a31;
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 700;
}

.community-post-avatar-has-image {
  color: transparent;
}

.community-post-author-copy {
  display: grid;
  min-width: 0;
  gap: 3px;
}

.community-post-author-copy strong,
.community-post-author-copy small {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.community-post-author-copy small,
.community-post-footer {
  color: var(--muted);
}

.community-post-channel {
  flex: 0 0 auto;
  padding: 7px 10px;
  border: 1px solid color-mix(in srgb, var(--mode-accent, #89a8f1) 36%, rgba(214, 226, 255, 0.12));
  border-radius: 999px;
  background: color-mix(in srgb, var(--mode-accent, #89a8f1) 10%, transparent);
  color: #e8efff;
  font-size: 0.78rem;
}

.community-post-content {
  max-width: 48rem;
  margin: 0;
  color: #e7edf9;
  font-size: 1.08rem;
  line-height: 1.72;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}

.community-project-event-link {
  display: grid;
  gap: 8px;
  max-width: 52rem;
  padding: 2px 0 2px 16px;
  border-left: 2px solid color-mix(in srgb, var(--mode-accent, #89a8f1) 64%, transparent);
  color: var(--text);
  transition: border-color 180ms ease, background-color 180ms ease;
}

.community-project-event-link:hover,
.community-project-event-link:focus-visible {
  border-left-color: var(--mode-accent, #a9c0f6);
  background: color-mix(in srgb, var(--mode-accent, #89a8f1) 5%, transparent);
}

.community-project-event-label {
  color: color-mix(in srgb, var(--mode-accent, #a9c0f6) 84%, white);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
}

.community-project-event-link h3,
.community-project-event-link p {
  margin: 0;
}

.community-project-event-link h3 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.55rem;
  font-weight: 500;
}

.community-project-event-link p {
  color: #c4cde0;
  line-height: 1.62;
  overflow-wrap: anywhere;
}

.community-post-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  font-size: 0.82rem;
}

.community-post-remove {
  padding: 6px 9px;
  border: 1px solid transparent;
  border-radius: 6px;
  background: transparent;
  color: #c6d1e7;
  font: inherit;
  cursor: pointer;
}

.community-post-remove:hover,
.community-post-remove:focus-visible {
  border-color: rgba(255, 150, 150, 0.28);
  background: rgba(145, 40, 52, 0.14);
  color: #ffd8dd;
}

.community-feed-actions {
  display: flex;
  justify-content: center;
  padding-top: 22px;
}

.community-load-more {
  min-height: 42px;
  padding: 9px 18px;
  border: 1px solid rgba(214, 226, 255, 0.22);
  border-radius: 8px;
  background: rgba(16, 24, 44, 0.8);
  color: #e8efff;
  font: inherit;
  cursor: pointer;
  transition: border-color 180ms ease, background-color 180ms ease, transform 180ms ease;
}

.community-load-more[hidden] {
  display: none;
}

.community-load-more:hover,
.community-load-more:focus-visible {
  transform: translateY(-1px);
  border-color: color-mix(in srgb, var(--mode-accent, #89a8f1) 58%, #d8e4ff);
  background: color-mix(in srgb, var(--mode-accent, #89a8f1) 16%, #10182c);
}

.community-load-more:disabled {
  cursor: wait;
  opacity: 0.68;
  transform: none;
}

@media (max-width: 1080px) {
  .community-page {
    grid-template-columns: 240px minmax(0, 1fr);
  }

  .community-ranking-rail {
    grid-column: 1 / -1;
    order: initial;
  }

  .community-ranking-rail .rail-shell {
    position: relative;
    top: auto;
  }
}

@media (max-width: 860px) {
  .community-page {
    grid-template-columns: 1fr;
  }

  .community-left-rail {
    position: relative;
    top: auto;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .community-ranking-rail {
    grid-column: auto;
  }
}

@media (max-width: 620px) {
  .community-left-rail {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .community-title-row,
  .community-composer-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .community-scope-tabs {
    align-self: flex-start;
  }

  .community-character-count {
    margin-left: 0;
    padding-bottom: 0;
  }

  .community-channel-select select,
  .community-submit {
    width: 100%;
  }

  .community-post-header {
    align-items: flex-start;
  }

  .community-post-header-actions {
    align-items: flex-end;
    flex-direction: column-reverse;
  }
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--text);
  font-family: var(--font-body);
  background: var(--mode-page-background);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background:
    var(--mode-backdrop-overlay),
    var(--mode-backdrop-image) var(--mode-backdrop-position) / var(--mode-backdrop-size) var(--mode-backdrop-repeat);
  opacity: var(--mode-backdrop-opacity);
  filter: var(--mode-backdrop-filter);
  transform: var(--mode-backdrop-transform);
  mix-blend-mode: var(--mode-backdrop-blend-mode);
  z-index: -2;
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  background: var(--mode-veil-background);
  z-index: -1;
}

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

button,
summary {
  font: inherit;
}

button {
  border: 0;
  background: none;
}

img {
  max-width: 100%;
}

.page-shell {
  width: min(1260px, calc(100% - 40px));
  margin: 0 auto;
  padding-bottom: 72px;
}

.site-header {
  position: relative;
  display: flex;
  justify-content: flex-start;
  align-items: center;
  gap: 24px;
  padding: 26px 0 5px;
}

.brand {
  display: inline-flex;
  flex-direction: column;
  gap: 6px;
}

.brand-mark,
h1 {
  font-family: Georgia, "Times New Roman", serif;
}

h2,
h3,
.pool-card h3,
.search-result h3 {
  font-family: Cambria, "Palatino Linotype", "Book Antiqua", "Times New Roman", serif;
  letter-spacing: -0.01em;
}

.brand-mark {
  font-size: clamp(2rem, 4vw, 3rem);
  font-style: italic;
  line-height: 0.9;
  letter-spacing: 0.02em;
}

.brand-copy {
  color: var(--muted);
  font-size: 0.88rem;
}

.site-nav {
  --site-nav-gap: 18px;
  display: flex;
  align-items: center;
  gap: var(--site-nav-gap);
  flex-wrap: wrap;
  margin-left: auto;
  overflow: visible;
}

.site-nav a {
  color: var(--muted);
  font-size: 1.15rem;
  padding-bottom: 3px;
  border-bottom: 1px solid transparent;
  transition: color 180ms ease, border-color 180ms ease;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--text);
  border-color: var(--line-strong);
}

.site-nav a[aria-current="page"] {
  color: var(--text);
  border-color: var(--line-strong);
}

.site-auth-switcher {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-left: auto;
}

.site-auth-switcher select {
  max-width: 180px;
  min-height: 38px;
  padding: 0 32px 0 12px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  color: #edf3ff;
  font: inherit;
  font-size: 0.86rem;
  outline: none;
}

.site-auth-status {
  color: var(--muted);
  font-size: 0.82rem;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
  gap: 36px;
  align-items: center;
  min-height: calc(100vh - 96px);
}

.eyebrow {
  margin: 0 0 16px;
  color: var(--silver);
  font-family: "Trebuchet MS", "Segoe UI", sans-serif;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.17em;
  font-size: 0.76rem;
}


.hero h1 {
  margin: 0;
  max-width: 11ch;
  font-size: clamp(3.1rem, 7vw, 6rem);
  line-height: 0.92;
  font-weight: 500;
}

.hero h1 span {
  display: block;
  color: #c8d9ff;
}

.hero-text,
.launch-copy,
.vision-card p,
.pool-card p,
.top-card p,
.spotlight-summary,
.help-card p,
.rail-copy,
.search-result p,
.timeline-item p,
.faq-item p {
  color: var(--muted);
  font-size: 1.02rem;
  line-height: 1.75;
}


.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 32px;
  justify-self: center;
}

.btn {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 14px 22px;
  cursor: pointer;
  transition: transform 180ms ease, border-color 180ms ease, background-color 180ms ease;
}

.btn:hover,
.btn:focus-visible {
  transform: translateY(-2px);
  border-color: var(--line-strong);
}

.btn-primary {
  background: linear-gradient(135deg, #d9e3f8 0%, #869dc7 100%);
  color: #06101f;
  font-weight: 700;
}

.btn-secondary {
  color: var(--text);
  background: rgba(255, 255, 255, 0.03);
}

.hero-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 34px;
}

.hero-strip div,
.vision-card,
.pool-card,
.section-note,
.timeline-card,
.status-card,
.update-card,
.search-terminal,
.search-result,
.spotlight-panel,
.feed-panel,
.top-card,
.help-card,
.faq-item,
.launch,
.rail-shell {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 24px;
  backdrop-filter: blur(12px);
  box-shadow: var(--shadow);
}

.hero-strip div {
  padding: 18px;
}

.hero-strip strong {
  font-family: "Trebuchet MS", "Segoe UI", sans-serif;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.strip-label {
  display: block;
  margin-bottom: 8px;
  color: var(--silver-deep);
  font-family: "Trebuchet MS", "Segoe UI", sans-serif;
  font-weight: 600;
  font-size: 0.76rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.hero-visual {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 760px;
}

.visual-frame {
  position: relative;
  width: min(100%, 530px);
  padding: 22px;
  border-radius: 36px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.015));
  border: 1px solid rgba(228, 236, 255, 0.14);
  box-shadow: var(--shadow);
}

.visual-glow {
  position: absolute;
  inset: 16% 16%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(129, 160, 225, 0.3), transparent 66%);
  filter: blur(22px);
}

.hero-art {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 2 / 3;
  height: auto;
  border-radius: 26px;
  object-fit: cover;
  object-position: center;
}

.floating-card {
  position: absolute;
  max-width: 260px;
  padding: 15px 14px;
  background: var(--panel-strong);
  border: 1px solid var(--line);
  border-radius: 22px;
  box-shadow:0 24px 80px rgba(22, 22, 22, 0.418);
}

.floating-card-top {
  top: 35px;
  left: -28px;
}

.floating-card-bottom {
  right: -18px;
  top: 300px;
}

.floating-card-third {
  left: -128px;
  top: 400px;
  max-width: 380px;
}


.card-kicker {
  margin: 0 0 12px;
  color: #c2d0f2;
  font-family: "Trebuchet MS", "Segoe UI", sans-serif;
  font-weight: 600;
  letter-spacing: 0.08em;
  font-size: 0.72rem;
  text-transform: uppercase;
}

.card-kicker.gold {
  color: var(--gold);
}

.floating-card h2,
.section-heading h1,
.section-heading h2,
.top-card h3,
.help-card h3 {
  margin: 0 0 12px;
  font-weight: 500;
}

.floating-card h2 {
  font-size: 1rem;
}

.floating-card p:last-child {
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
}

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

.subpage-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 330px;
  gap: 24px;
  align-items: start;
  padding-top: 18px;
}

.platform-main {
  display: grid;
  gap: 24px;
}

.subpage-main {
  display: grid;
}

.help-page-layout {
  grid-template-columns: minmax(0, 1.14fr) 300px;
}

.pool-page-layout {
  grid-template-columns: minmax(0, 1.16fr) 320px;
}

.section-block,
.launch {
  padding: 30px;
}

.section-block {
  margin-bottom: 20px;
  position: relative;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.025), rgba(255, 255, 255, 0.01));
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 30px;
  overflow: hidden;
}

.section-heading {
  max-width: 54rem;
  margin-bottom: 24px;
}

.section-heading h1,
.section-heading h2 {
  margin-top: 0;
  font-size: clamp(2.5rem, 3.5vw, 4.5rem);
  line-height: 1.04;
}

.section-heading .eyebrow {
  margin-bottom: 10px;
}

.subpage-hero h1 {
  margin: 0;
  font-size: clamp(1.5rem, 3vw, 4.9rem);
  font-weight: 500;
}


.help-classic-hero h1 {
  margin: 0;

  font-size: clamp(2.7rem, 5vw, 4.6rem);
  line-height: 0.98;
  font-weight: 500;
}

.vision-grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr 1fr;
  gap: 18px;
}

.vision-card,
.pool-card,
.section-note,
.top-card,
.help-card {
  padding: 26px;
}

.vision-card h3,
.pool-card h3,
.search-result h3,
.top-card h3 {
  margin: 0 0 14px;
  font-size: 1.48rem;
  font-weight: 500;
}

.quote-card {
  position: relative;
  overflow: hidden;
}

.quote-mark {
  position: absolute;
  top: -36px;
  left: 14px;
  margin: 0;
  color: rgba(206, 218, 247, 0.18);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 8rem;
}

.quote-text {
  position: relative;
  color: #e6ecfb;
  font-size: 1.15rem;
}

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

.portal-card {
  display: block;
  padding: 24px;
  border-radius: 24px;
  background: var(--panel);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  transition: transform 180ms ease, border-color 180ms ease, background-color 180ms ease;
}

.portal-card:hover,
.portal-card:focus-visible {
  transform: translateY(-4px);
  border-color: var(--line-strong);
  background: rgba(255, 255, 255, 0.05);
}

.portal-card h3 {
  margin: 14px 0 12px;
  font-size: 1.55rem;
  font-weight: 500;
}

.portal-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.portal-index {
  color: var(--silver-deep);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 0.76rem;
}

.help-search-shell {
  display: grid;
  grid-template-columns: 32px 1fr;
  gap: 16px;
  align-items: center;
  padding: 18px 20px;
  margin-top: 28px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.07);
  transition: border-color 180ms ease, background-color 180ms ease;
}

.help-search-shell:focus-within {
  border-color: rgba(196, 214, 255, 0.32);
  background: rgba(255, 255, 255, 0.055);
}

.help-search-icon {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  color: #d9e4fb;
}

.help-search-shell label {
  display: block;
  margin-bottom: 4px;
  color: var(--text);
  font-weight: 700;
}

.help-search-shell input {
  width: 100%;
  min-width: 0;
  min-height: 32px;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--text);
  font: inherit;
}

.help-search-shell input::placeholder {
  color: var(--muted);
  opacity: 0.9;
}

.help-chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.help-chip-row span,
.help-chip-row button {
  padding: 10px 12px;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  color: #d7e4ff;
  font-size: 0.88rem;
  font: inherit;
  cursor: pointer;
}

.help-chip-row button:hover,
.help-chip-row button:focus-visible {
  background: rgba(255, 255, 255, 0.075);
  outline: none;
}

.help-search-status {
  margin: 14px 0 0;
  color: var(--muted);
}

.help-directory-head h2 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.8rem, 3.4vw, 2.8rem);
  font-weight: 500;
}

.help-topic-list {
  margin-top: 18px;
  border-radius: 22px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.help-topic {
  background: rgba(255, 255, 255, 0.025);
}

.help-topic + .help-topic {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.help-topic-summary,
.thread-summary {
  list-style: none;
}

.help-topic-summary::-webkit-details-marker,
.thread-summary::-webkit-details-marker {
  display: none;
}

.help-topic-summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 24px 26px;
  cursor: pointer;
  color: #edf2fc;
  font-size: 1.08rem;
  font-weight: 600;
}

.help-topic-arrow,
.thread-toggle {
  width: 14px;
  height: 14px;
  border-right: 2px solid #cbd8f5;
  border-bottom: 2px solid #cbd8f5;
  transform: rotate(45deg);
  transition: transform 180ms ease;
  flex: 0 0 auto;
}

.help-topic[open] .help-topic-arrow,
.thread-card[open] .thread-toggle {
  transform: rotate(225deg);
}

.help-topic-body {
  padding: 0 26px 22px;
}

.help-topic-body p {
  margin: 0;
  color: var(--muted);
  line-height: 1.72;
}

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

.help-support-card {
  padding: 24px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.07);
}

.help-support-card h3 {
  margin: 12px 0 10px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.45rem;
  font-weight: 500;
}

.help-support-card p:last-child {
  margin: 0;
  color: var(--muted);
  line-height: 1.72;
}

.forum-toolbar {
  display: grid;
  gap: 18px;
}

.forum-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.forum-tabs span {
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.03);
  color: var(--muted);
  font-size: 0.92rem;
}

.forum-tabs .is-active {
  color: #e8efff;
  background: rgba(255, 255, 255, 0.08);
}

.forum-search {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 18px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.07);
}

.forum-search span {
  color: #d7e4ff;
  font-size: 1.2rem;
}

.forum-search p {
  margin: 0;
  color: #dbe5fb;
}

.forum-feed {
  display: grid;
  gap: 16px;
}

.thread-card {
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 26px;
  overflow: hidden;
}

.thread-card-live {
  border-color: color-mix(in srgb, var(--mode-accent, #89a8f1) 36%, transparent);
  background:
    linear-gradient(180deg, color-mix(in srgb, var(--mode-accent, #89a8f1) 10%, transparent), rgba(255, 255, 255, 0.025)),
    rgba(255, 255, 255, 0.025);
}

.pool-empty-state {
  margin: 0;
  padding: 28px;
  border: 1px solid rgba(214, 226, 255, 0.12);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.025);
  color: var(--muted);
}

.thread-summary {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr) 24px;
  gap: 18px;
  align-items: start;
  padding: 22px 24px;
  cursor: pointer;
}

.vote-stack {
  display: grid;
  justify-items: center;
  gap: 10px;
  padding-top: 4px;
}

.vote-icon {
  appearance: none;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid transparent;
  border-radius: 18px;
  font-family: inherit;
  font-size: 1.3rem;
  font-weight: 700;
  background: rgba(255, 255, 255, 0.04);
  cursor: pointer;
  transition: transform 160ms ease, border-color 160ms ease, background-color 160ms ease;
}

.vote-icon:hover,
.vote-icon:focus-visible,
.vote-icon.is-active {
  transform: translateY(-1px);
  border-color: rgba(214, 226, 255, 0.26);
  background: rgba(255, 255, 255, 0.075);
  box-shadow: inset 0 0 0 1px rgba(214, 226, 255, 0.08);
}

.vote-icon:disabled {
  cursor: wait;
  opacity: 0.64;
  transform: none;
}

.vote-up {
  color: #75d06a;
}

.vote-down {
  color: #f1a34d;
}

.vote-comment {
  color: #dce7ff;
  text-decoration: none;
  background: rgba(214, 226, 255, 0.055);
}

.comment-glyph {
  width: 27px;
  height: 27px;
  display: block;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.35;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.vote-stack strong {
  color: #edf2fc;
  font-size: 1.05rem;
}

.thread-main {
  min-width: 0;
}

.thread-author-row {
  position: relative;
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 14px;
}

.thread-author-link,
.thread-article-summary-link,
.thread-detail-link {
  color: inherit;
  text-decoration: none;
}

.thread-article-summary-link {
  display: block;
  border-radius: 18px;
  outline: none;
}

.thread-author-link {
  width: fit-content;
  border-radius: 20px;
  outline: none;
}

.thread-author-link:hover .thread-author-copy strong,
.thread-author-link:focus-visible .thread-author-copy strong {
  text-decoration: underline;
  text-underline-offset: 4px;
}

.thread-author-popover {
  position: absolute;
  left: 0;
  top: calc(100% + 10px);
  z-index: 8;
  width: min(280px, 76vw);
  display: grid;
  gap: 10px;
  padding: 14px 16px;
  border: 1px solid rgba(214, 226, 255, 0.18);
  border-radius: 18px;
  background: rgba(9, 15, 31, 0.96);
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.34);
  opacity: 0;
  pointer-events: none;
  transform: translateY(-4px);
  transition: opacity 160ms ease, transform 160ms ease;
}

.thread-author-popover-head {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.thread-author-popover-avatar {
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  border: 1px solid rgba(214, 226, 255, 0.18);
  overflow: hidden;
  background: linear-gradient(135deg, rgba(217, 227, 248, 0.9), rgba(134, 157, 199, 0.58));
  color: #06101f;
  font-weight: 700;
  font-size: 0.82rem;
}

.thread-author-popover-avatar.thread-author-popover-avatar-has-image {
  color: transparent;
  background-color: rgba(16, 24, 45, 0.78);
}

.thread-author-popover-copy {
  min-width: 0;
  display: grid;
  gap: 3px;
}

.thread-author-popover-copy strong,
.thread-author-popover-copy span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.thread-author-popover span,
.thread-author-popover small {
  color: var(--muted);
}

.thread-author-popover-copy strong {
  color: var(--text);
}

.thread-author-popover-action {
  width: fit-content;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 32px;
  padding: 7px 12px;
  border: 1px solid rgba(214, 226, 255, 0.18);
  border-radius: 999px;
  background: rgba(214, 226, 255, 0.08);
  color: #edf4ff;
  font-weight: 700;
  font-size: 0.78rem;
  cursor: pointer;
  transition: transform 160ms ease, background-color 160ms ease, border-color 160ms ease;
}

.thread-author-popover-action:hover,
.thread-author-popover-action:focus-visible {
  transform: translateY(-1px);
  background: rgba(214, 226, 255, 0.14);
  border-color: rgba(214, 226, 255, 0.34);
  outline: none;
}

.thread-author-popover-action[data-following="true"] {
  background: rgba(136, 162, 219, 0.18);
  border-color: rgba(188, 209, 255, 0.36);
}

.thread-author-link:hover .thread-author-popover,
.thread-author-link:focus-visible .thread-author-popover {
  opacity: 1;
  transform: translateY(0);
}

.thread-avatar {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  flex: 0 0 52px;
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(217, 227, 248, 0.85), rgba(134, 157, 199, 0.55));
  color: #06101f;
  font-weight: 700;
  overflow: hidden;
  border: 1px solid rgba(214, 226, 255, 0.18);
}

.thread-avatar.thread-avatar-has-image {
  color: transparent;
  background-color: rgba(16, 24, 45, 0.78);
}

.thread-author-copy {
  display: grid;
  gap: 4px;
}

.thread-author-copy span,
.thread-meta-copy {
  color: var(--muted);
}

.thread-title {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.4rem, 2.6vw, 2rem);
  font-weight: 500;
  color: #eef2fb;
}

.thread-article-summary-link:hover .thread-title,
.thread-article-summary-link:focus-visible .thread-title {
  text-decoration: underline;
  text-underline-offset: 4px;
}

.thread-excerpt {
  margin: 12px 0 0;
  color: var(--muted);
  line-height: 1.7;
}

.thread-meta-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 18px;
}

.thread-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.thread-tags span {
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  color: #dce7ff;
  font-size: 0.86rem;
}

.thread-detail {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(220px, 0.9fr);
  gap: 20px;
  padding: 0 24px 24px 106px;
}

.thread-detail-article-only {
  grid-template-columns: 1fr;
}

.thread-detail-link {
  display: block;
  min-height: 100%;
  border-radius: 18px;
  outline: none;
}

.thread-detail-link:hover p,
.thread-detail-link:focus-visible p {
  color: #eef4ff;
}

.thread-detail-copy p {
  margin: 0 0 14px;
  color: var(--muted);
  line-height: 1.75;
}

.thread-article-link {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 8px 14px;
  border: 1px solid rgba(214, 226, 255, 0.22);
  border-radius: 999px;
  background: rgba(137, 168, 241, 0.12);
  color: #eef4ff;
  font-family: Georgia, "Times New Roman", serif;
  text-decoration: none;
}

.thread-article-link:hover,
.thread-article-link:focus-visible {
  border-color: rgba(214, 226, 255, 0.42);
  background: rgba(137, 168, 241, 0.2);
}

.pool-comment-panel {
  display: grid;
  align-content: start;
  gap: 14px;
  min-width: 0;
}

.pool-comment-list {
  display: grid;
  gap: 10px;
}

.pool-comment-empty,
.pool-comment-status {
  margin: 0;
  color: var(--muted);
  font-size: 0.86rem;
}

.pool-comment-item {
  padding: 12px 14px;
  border: 1px solid rgba(214, 226, 255, 0.1);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.035);
}

.pool-comment-item strong {
  display: block;
  color: #edf2fc;
  font-size: 0.92rem;
}

.pool-comment-item p {
  margin: 6px 0 0;
  color: var(--muted);
  line-height: 1.55;
}

.pool-comment-form {
  display: grid;
  gap: 10px;
}

.pool-comment-input {
  width: 100%;
  min-height: 94px;
  resize: vertical;
  padding: 12px 14px;
  border: 1px solid rgba(214, 226, 255, 0.14);
  border-radius: 18px;
  background: rgba(7, 13, 29, 0.55);
  color: #eef4ff;
  font: inherit;
}

.pool-comment-input::placeholder {
  color: rgba(214, 226, 255, 0.5);
}

.pool-comment-input:focus-visible {
  outline: none;
  border-color: rgba(214, 226, 255, 0.36);
  box-shadow: 0 0 0 3px rgba(137, 168, 241, 0.1);
}

.pool-comment-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  flex-wrap: wrap;
}

.pool-comment-anonymous {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 36px;
  margin-right: auto;
  color: var(--muted);
  font-size: 0.88rem;
  cursor: pointer;
}

.pool-comment-anonymous input {
  accent-color: #bcd2f6;
}

.pool-comment-submit {
  min-height: 38px;
  padding: 8px 14px;
  border: 1px solid rgba(214, 226, 255, 0.24);
  border-radius: 999px;
  background: rgba(137, 168, 241, 0.14);
  color: #eef4ff;
  font-family: Georgia, "Times New Roman", serif;
  cursor: pointer;
  transition: transform 180ms ease, border-color 180ms ease, background-color 180ms ease;
}

.pool-comment-submit:hover,
.pool-comment-submit:focus-visible {
  transform: translateY(-1px);
  border-color: rgba(214, 226, 255, 0.42);
  background: rgba(137, 168, 241, 0.22);
}

.pool-comment-submit:disabled {
  cursor: wait;
  opacity: 0.62;
  transform: none;
}

.thread-gallery {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  align-content: start;
}

.thread-thumb {
  min-height: 120px;
  display: grid;
  place-items: center;
  border-radius: 22px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.02)),
    radial-gradient(circle at top, rgba(95, 130, 196, 0.22), transparent 55%),
    rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: #dbe5fb;
  font-size: 0.92rem;
}

.thread-thumb:last-child {
  grid-column: span 2;
}

.rail-shell-compact .rail-list {
  margin-top: 16px;
}

.rail-shell-compact .rail-item {
  min-height: 88px;
}

.pool-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(250px, 0.85fr);
  gap: 18px;
}

.pool-feed,
.pool-stack,
.progress-stack,
.search-results,
.faq-list {
  display: grid;
  gap: 18px;
}

.pool-card-featured {
  min-height: 280px;
}

.pool-topline,
.note-title,
.timeline-kicker,
.result-type,
.rail-feature-stage,
.rail-footer span {
  color: var(--silver-deep);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 0.75rem;
}

.pool-topline {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
  margin-bottom: 16px;
}

.pill-label,
.pool-score {
  padding: 7px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
}

.pool-score {
  color: #d7e4ff;
}

.pool-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
  color: var(--muted);
  font-size: 0.92rem;
}

.note-title {
  margin: 0 0 14px;
}

.tag-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.tag-cloud span,
.search-tags span,
.search-tags button {
  padding: 10px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  color: #d7e4ff;
  font-size: 0.88rem;
  font: inherit;
}

.progress-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(250px, 0.9fr);
  gap: 18px;
}

.timeline-card,
.status-card,
.update-card,
.search-terminal,
.spotlight-panel,
.feed-panel {
  padding: 26px;
}

.timeline-card {
  display: grid;
  gap: 18px;
}

.timeline-item {
  position: relative;
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 14px;
  padding: 0 0 18px;
}

.timeline-item:not(:last-child)::after {
  content: "";
  position: absolute;
  left: 12px;
  top: 26px;
  bottom: -10px;
  width: 1px;
  background: rgba(255, 255, 255, 0.12);
}

.timeline-dot {
  width: 24px;
  height: 24px;
  margin-top: 2px;
  border-radius: 50%;
  border: 1px solid var(--line-strong);
  background: rgba(255, 255, 255, 0.04);
}

.timeline-item.is-done .timeline-dot {
  background: linear-gradient(135deg, #d9e3f8 0%, #869dc7 100%);
}

.timeline-item.is-live .timeline-dot {
  background: rgba(137, 168, 241, 0.3);
  box-shadow: 0 0 0 0 rgba(137, 168, 241, 0.54);
  animation: pulse 1.8s infinite;
}

.timeline-item h3 {
  margin: 6px 0 8px;
  font-size: 1.35rem;
  font-weight: 500;
}

.timeline-item p {
  margin: 0;
}

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

.status-metrics div,
.signal-stack div {
  padding: 18px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.status-metrics span,
.signal-stack span {
  display: block;
  color: var(--muted);
  margin-bottom: 10px;
  font-size: 0.84rem;
}

.status-metrics strong {
  font-size: 2rem;
}

.update-list {
  list-style: none;
  padding: 0;
  margin: 20px 0 0;
  display: grid;
  gap: 16px;
}

.update-list li {
  display: grid;
  gap: 6px;
}

.update-list strong {
  font-weight: 700;
}

.update-list span {
  color: var(--muted);
  line-height: 1.65;
}

.search-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  min-width: 0;
  gap: 18px;
}

.search-terminal {
  min-width: 0;
  max-width: 100%;
}

.search-bar {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 18px;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.07);
  background: rgba(255, 255, 255, 0.03);
}

.search-live-form {
  transition: border-color 180ms ease, background-color 180ms ease;
}

.search-live-form:focus-within {
  border-color: rgba(196, 214, 255, 0.32);
  background: rgba(255, 255, 255, 0.045);
}

.search-prefix {
  color: #d7e4ff;
  font-size: 1.35rem;
}

.search-live-form input {
  flex: 1 1 auto;
  width: 0;
  min-width: 0;
  min-height: 36px;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--text);
  font: inherit;
}

.search-live-form input::placeholder {
  color: #dbe5fb;
  opacity: 0.78;
}

.search-live-form button[type="submit"] {
  flex: 0 0 auto;
  min-height: 36px;
  padding: 8px 14px;
  border: 1px solid rgba(214, 226, 255, 0.2);
  border-radius: 999px;
  background: rgba(214, 226, 255, 0.1);
  color: var(--text);
  cursor: pointer;
}

.search-bar p {
  margin: 0;
  color: #dbe5fb;
}

.search-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.search-tags button {
  border: 0;
  cursor: pointer;
}

.search-live-status {
  margin: 18px 0 0;
  color: var(--muted);
}

.search-live-results {
  display: grid;
  gap: 12px;
  margin-top: 18px;
}

.search-live-result-card {
  display: grid;
  gap: 10px;
  padding: 18px;
  border: 1px solid rgba(214, 226, 255, 0.13);
  border-radius: 18px;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.045), rgba(124, 153, 214, 0.06));
  color: inherit;
  text-decoration: none;
  transition: transform 180ms ease, border-color 180ms ease, background-color 180ms ease;
}

.search-live-result-card:hover,
.search-live-result-card:focus-visible {
  transform: translateY(-2px);
  border-color: rgba(196, 214, 255, 0.3);
  background-color: rgba(255, 255, 255, 0.035);
  outline: none;
}

.search-live-result-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 14px;
}

.search-live-result-header strong {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.25rem;
  color: var(--text);
}

.search-live-result-header span,
.search-live-result-meta {
  color: var(--muted);
}

.search-live-result-card p {
  margin: 0;
  color: #dbe5fb;
  line-height: 1.55;
}

.search-live-result-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.search-live-result-tags span {
  padding: 7px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.055);
  color: #e7edff;
  font-size: 0.82rem;
}

.mode-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 28px;
  white-space: nowrap;
}

.thread-tags .mode-badge,
.search-live-result-tags .mode-badge,
.top100-tags .mode-badge,
.profile-project-meta .mode-badge {
  border: 1px solid color-mix(in srgb, var(--mode-accent, #89a8f1) 58%, rgba(214, 226, 255, 0.22));
  background:
    linear-gradient(180deg, color-mix(in srgb, var(--mode-accent, #89a8f1) 18%, transparent), rgba(255, 255, 255, 0.035)),
    rgba(255, 255, 255, 0.045);
  color: #f6f8ff;
  font-family: "Trebuchet MS", "Segoe UI", sans-serif;
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.top100-tags .mode-badge {
  padding: 8px 14px;
  border-radius: 13px;
}

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

.result-type {
  margin: 0 0 10px;
}

.result-meta {
  display: inline-flex;
  margin-top: 12px;
  color: #d7e4ff;
  font-size: 0.92rem;
}

.board-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.85fr);
  gap: 18px;
}

.panel-topline {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 9px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--silver);
  font-size: 0.82rem;
}

.pulse {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #89a8f1;
  box-shadow: 0 0 0 0 rgba(137, 168, 241, 0.54);
  animation: pulse 1.8s infinite;
}

.spotlight-panel h3 {
  margin: 22px 0 10px;
  font-size: clamp(2rem, 3vw, 3.2rem);
  font-weight: 500;
}

.spotlight-field {
  margin: 0;
  color: #cdd8f0;
  font-size: 0.92rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.spotlight-owner {
  margin: 10px 0 0;
  color: #dfe8fb;
  font-size: 0.95rem;
}

.spotlight-summary {
  max-width: 60ch;
  margin: 20px 0 0;
}

.spotlight-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin: 28px 0 0;
}

.spotlight-stats div,
.rail-item,
.feed-item {
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.spotlight-stats div {
  padding: 18px;
}

.spotlight-stats dt {
  color: var(--muted);
  font-size: 0.82rem;
  margin-bottom: 10px;
}

.spotlight-stats dd {
  margin: 0;
  font-size: 2rem;
  font-weight: 700;
}

.feed-panel {
  display: grid;
  gap: 12px;
  align-content: start;
}

.feed-item,
.rail-item {
  width: 100%;
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr);
  gap: 16px;
  align-items: center;
  padding: 18px;
  color: inherit;
  cursor: pointer;
  text-align: left;
  transition: transform 180ms ease, border-color 180ms ease, background-color 180ms ease, box-shadow 180ms ease;
}

.feed-item:hover,
.feed-item:focus-visible,
.feed-item.is-active,
.rail-item:hover,
.rail-item:focus-visible,
.rail-item.is-active {
  transform: translateX(4px);
  border-color: var(--line-strong);
  background: rgba(255, 255, 255, 0.05);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.18);
}

.feed-rank,
.rail-rank,
.rail-feature-rank {
  font-family: Georgia, "Times New Roman", serif;
  color: #cad7f4;
}

.feed-rank,
.rail-rank {
  font-size: 1.4rem;
}

.rail-feature-rank {
  font-size: 3rem;
  line-height: 1;
}

.feed-copy,
.rail-copy-stack {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.feed-copy strong,
.rail-copy-stack strong {
  min-width: 0;
  display: block;
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 500;
}

.feed-copy small,
.rail-copy-stack small {
  min-width: 0;
  display: block;
  max-width: 100%;
  color: var(--muted);
}


.rail-copy-stack small {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.top-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 18px;
}

.silver-card {
  background:
    linear-gradient(160deg, rgba(223, 232, 248, 0.13), rgba(7, 14, 31, 0.92)),
    var(--panel);
}

.gold-card {
  background:
    linear-gradient(160deg, rgba(214, 180, 107, 0.18), rgba(9, 13, 29, 0.92)),
    var(--panel);
}

.score-list {
  list-style: none;
  padding: 0;
  margin: 20px 0 0;
  display: grid;
  gap: 12px;
}

.score-list li {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  color: var(--muted);
}

.score-list strong {
  color: #dce7ff;
}

.signal-stack {
  display: grid;
  gap: 12px;
  margin-top: 18px;
}

.signal-stack strong {
  color: #dce7ff;
}

.help-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: 18px;
}

.faq-list {
  align-content: start;
}

.faq-item {
  padding: 0;
  overflow: hidden;
}

.faq-item summary {
  cursor: pointer;
  list-style: none;
  padding: 22px 24px;
  color: #dce7ff;
  font-weight: 700;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item p {
  padding: 0 24px 22px;
  margin: 0;
}

.launch {
  text-align: center;
}

.launch-copy {
  max-width: 48rem;
  margin: 0 auto 24px;
}

.launch .hero-actions {
  justify-content: center;
}

.ranking-rail {
  position: relative;
}

.rail-shell {
  position: sticky;
  top: 24px;
  padding: 22px;
  overflow: hidden;
}

.rail-shell::before {
  content: "";
  position: absolute;
  inset: -60px -40px auto auto;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(120, 150, 220, 0.22), transparent 70%);
  pointer-events: none;
}

.rail-header h2 {
  margin: 0 0 10px;
  font-size: 2rem;
  font-weight: 500;
}

.rail-copy {
  margin: 0;
}

.rail-feature {
  margin-top: 20px;
  padding: 18px;
  border-radius: 22px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.015));
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.rail-feature-copy h3 {
  margin: 10px 0 8px;
  font-size: 1.35rem;
  font-weight: 500;
}

.rail-feature-copy p:last-child {
  margin: 0;
  color: var(--muted);
}

.rail-meter {
  margin-top: 16px;
  height: 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  overflow: hidden;
}

.rail-meter span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #dce4f2 0%, #89a8f1 100%);
  width: 0;
  transition: width 320ms ease;
}

.rail-tabs {
  display: flex;
  gap: 10px;
  margin-top: 18px;
}

.rail-tabs span {
  padding: 9px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.03);
  color: var(--muted);
  font-size: 0.84rem;
}

.rail-tabs .is-active {
  color: #dbe5fb;
  background: rgba(255, 255, 255, 0.07);
}

.rail-list {
  display: grid;
  gap: 10px;
  margin-top: 18px;
}

.rail-item {
  grid-template-columns: 52px minmax(0, 1fr);
}

.rail-footer {
  display: grid;
  gap: 14px;
  margin-top: 18px;
}

.rail-footer div {
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.rail-footer strong {
  display: block;
  margin-top: 6px;
  color: #dce7ff;
}

.rail-footer a,
.profile-social-pane-head a {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
}

.page-shell.page-shell-wide {
  width: min(1480px, calc(100% - 36px));
}

.page-shell.page-shell-wide .site-header {
  width: min(1260px, 100%);
  margin: 0 auto;
}

.top-page-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

.top-page-main {
  gap: 20px;
  width: min(100%, 1280px);
  margin: 0 auto;
}

.top-hero h1 {
  max-width: 12ch;
}

.top-stat-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 34px;
}

.top-stat-chip,
.profile-card,
.project-draft-card,
.profile-project-card {
  padding: 20px 22px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.07);
}

.top100-shell {
  padding-top: 26px;
}

.top100-filter-bar {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
  margin: 0;
}

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

.top100-filter-field select,
.top100-filter-reset {
  min-height: 48px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.035);
  color: #edf3ff;
}

.top100-filter-field select {
  width: 100%;
  padding: 0 16px;
  outline: none;
  cursor: pointer;
}

.top100-filter-field select:focus-visible,
.top100-filter-reset:hover,
.top100-filter-reset:focus-visible {
  border-color: var(--line-strong);
  background: rgba(255, 255, 255, 0.055);
}

.top100-filter-reset {
  align-self: end;
  padding: 0 18px;
  cursor: pointer;
  transition: transform 180ms ease, border-color 180ms ease, background-color 180ms ease;
}

.top100-filter-reset:hover,
.top100-filter-reset:focus-visible {
  transform: translateY(-2px);
}

.ranking-mode-switch {
  display: inline-flex;
  justify-self: flex-end;
  align-items: center;
  margin-left: auto;
  margin-bottom: 4px;
  gap: 6px;
  padding: 6px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.07);
}

.ranking-mode-btn {
  padding: 11px 16px;
  border-radius: 999px;
  color: var(--muted);
  cursor: pointer;
  transition: transform 180ms ease, background-color 180ms ease, color 180ms ease;
}

.ranking-mode-btn:hover,
.ranking-mode-btn:focus-visible {
  transform: translateY(-1px);
  color: #edf3ff;
}

.ranking-mode-btn.is-active {
  background: rgba(217, 227, 248, 0.12);
  color: #eef3ff;
}

.top100-mode-note {
  margin: 0;
  color: var(--muted);
  line-height: 1.72;
}

.top100-shell-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 24px;
  margin-bottom: 28px;
}

.top100-head-actions {
  display: grid;
  justify-items: end;
  gap: 14px;
  padding-top: 8px;
  align-content: start;
}

.top100-projects-label {
  margin-top: 8px;
  text-align: left;
}

.top100-filter-dock {
  width: 100%;
  display: flex;
  justify-content: flex-end;
  align-items: flex-start;
  gap: 14px;
}

.top100-filter-dock[open] {
  z-index: 4;
}

.top100-filter-trigger {
  margin: 5px;
  order: 2;
  list-style: none;
  display: grid;
  place-items: center;
  width: 58px;
  height: 44px;
  border-radius: 18px;
  border: 1px solid rgba(214, 226, 255, 0.12);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.025)),
    rgba(9, 16, 34, 0.92);
  box-shadow: 0 16px 36px rgba(5, 10, 24, 0.24);
  cursor: pointer;
  transition: transform 220ms ease, border-color 220ms ease, background-color 220ms ease;
}

.top100-filter-trigger::-webkit-details-marker {
  display: none;
}

.top100-filter-trigger:hover,
.top100-filter-trigger:focus-visible,
.top100-filter-dock[open] .top100-filter-trigger {
  transform: translateY(-1px);
  border-color: rgba(214, 226, 255, 0.24);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.085), rgba(255, 255, 255, 0.03)),
    rgba(11, 18, 38, 0.96);
}

.top100-filter-trigger svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: rgba(237, 243, 255, 0.92);
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.top100-filter-panel {
  order: 1;
  display: none;
  width: min(74vw, 860px);
  border-radius: 26px;
  border: 1px solid rgba(214, 226, 255, 0.12);
  background:
    radial-gradient(circle at top right, rgba(110, 139, 204, 0.12), transparent 32%),
    linear-gradient(180deg, rgba(20, 28, 50, 0.98), rgba(11, 18, 36, 0.98));
  box-shadow: 0 26px 70px rgba(4, 8, 22, 0.42);
}

.top100-filter-dock[open] .top100-filter-panel {
  display: block;
}

.top100-heading {
  margin-bottom: 0;
}

.top100-head-actions .ranking-mode-switch {
  margin: 0;
  align-self: start;
}

.top100-head-actions > .top100-mode-note {
  text-align: right;
}

.top100-columns {
  display: none;
}

.top100-list {
  display: grid;
  gap: 18px;
}

.top100-empty {
  margin: 0;
  padding: 22px 24px;
  border-radius: 22px;
  border: 1px dashed rgba(214, 226, 255, 0.24);
  background: rgba(255, 255, 255, 0.02);
  color: var(--muted);
  line-height: 1.72;
}

.top100-item {
  width: 100%;
  position: relative;
  display: grid;
  grid-template-columns: 112px minmax(0, 1fr) 112px;
  grid-template-areas:
    "rank copy signal"
    "meter meter meter";
  gap: 20px 18px;
  align-items: start;
  overflow: visible;
  contain: layout style paint;
  content-visibility: auto;
  contain-intrinsic-size: 220px;
  padding: 24px 18px 16px;
  border-radius: 28px;
  border: 1px solid rgba(255, 255, 255, 0.07);
   background:
    radial-gradient(circle at top right, rgba(194, 194, 196, 0.041), transparent 22%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.042), rgba(13, 4, 63, 0.507)),
    rgba(255, 255, 255, 0.022);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.04),
    0 20px 40px rgba(0, 0, 0, 0.18);
  color: inherit;
  cursor: pointer;
  text-align: left;
  transition: transform 180ms ease, border-color 180ms ease, background-color 180ms ease, box-shadow 180ms ease;
}

.top100-item:hover,
.top100-item:focus-visible,
.top100-item.is-active {
  transform: translateY(-2px);
  border-color: rgba(214, 226, 255, 0.18);
  background:
    radial-gradient(circle at top right, rgb(29, 25, 41), transparent 24%),
    linear-gradient(180deg, rgba(35, 34, 75, 0.74), rgba(27, 43, 92, 0.863)),
    rgba(255, 255, 255, 0.022);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.05),
    0 26px 54px rgba(0, 0, 0, 0.22);

}

.top100-rank-stack {
  grid-area: rank;
  min-width: 0;
  display: grid;
  gap: 12px;
  align-self: center;
}

.top100-rank {
  display: block;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  line-height: 0.92;
  color: var(--top100-rank-color);
}

.top100-project-copy {
  grid-area: copy;
  min-width: 0;
  display: grid;
  gap: 8px;
  align-content: start;
}

.top100-headline-row {
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(0, 2fr);
  gap: 18px;
  align-items: start;
}

.top100-owner-inline {
  position: relative;
  display: block;
  width: 100%;
  min-width: 0;
  max-width: none;
  justify-self: stretch;
  align-self: end;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.45rem, 2vw, 1.8rem);
  font-weight: 650;
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--top100-owner-color);
  text-align: left;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  padding-bottom: 12px;
}
.top100-owner-inline::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 2px;
  height: 1px;
  border-radius: 999px;
  background: var(--top100-owner-rule);
}

.top100-title {
  min-width: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.9rem, 3vw, 2.55rem);
  font-weight: 500;
  line-height: 0.98;
  letter-spacing: -0.03em;
  color: var(--top100-title-color);
  text-wrap: balance;
}

.top100-tags {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  gap: 10px;
}

.top100-tag {
  padding: 8px 14px;
  border-radius: 13px;
  border: 1px solid var(--top100-tag-border);
  background: var(--top100-tag-bg);
  color: var(--top100-tag-color);
  font-family: "Trebuchet MS", "Segoe UI", sans-serif;
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1;
  white-space: nowrap;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.top100-summary {
  font-family: var(--font-ui);
  margin: 0;
  color: var(--top100-summary-color);
  font-size: 1.5rem;
  line-height: 1.72;
  max-width: 78ch;
}

.top100-signal {
  grid-area: signal;
  justify-self: center;
  align-self: center;
  justify-items: center;
  display: grid;
  gap: 4px;
  padding-top: 0;
  text-align: center;
}

.top100-signal-label {
  color: var(--top100-signal-label-color);
  font-family: "Trebuchet MS", "Segoe UI", sans-serif;
  font-size: 1.2rem;
  letter-spacing: -0.01em;
  line-height: 1;
}

.top100-signal-score {
  font-family: "Iowan Old Style", "Palatino Linotype", "Book Antiqua", Georgia, serif;
  font-size: clamp(4rem, 5vw, 3.8rem);
  font-weight: 500;
  line-height: 0.86;
  letter-spacing: -0.04em;
  color: var(--top100-signal-score-color);
}

.top100-meter {
  grid-area: meter;
  height: 17px;
  border-radius: 12px;
  background: linear-gradient(180deg, rgba(113, 119, 161, 0.42), rgba(92, 98, 140, 0.28));
  border: 1px solid rgba(255, 255, 255, 0.06);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
  overflow: hidden;
}

.top100-meter span {
  display: block;
  height: 100%;
  border-radius: 9px;
  background: linear-gradient(90deg, #f1f3ff 0%, #dce1fb 28%, #c4ccf7 54%, #b8dcff 82%, #b8c8ff 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.38);
}

.top100-shell.is-gold .top100-item {
  border-color: rgba(208, 171, 112, 0.16);
  background:
    radial-gradient(circle at top right, rgba(27, 20, 1, 0.897), transparent 24%),
    linear-gradient(180deg, rgba(143, 118, 36, 0.747), rgba(27, 23, 1, 0.918)),
    rgba(105, 87, 6, 0.548);
  box-shadow:
    inset 0 1px 0 rgba(255, 239, 209, 0.05),
    0 20px 40px rgba(15, 8, 3, 0.26);
}

.top100-shell.is-gold .top100-item:hover,
.top100-shell.is-gold .top100-item:focus-visible,
.top100-shell.is-gold .top100-item.is-active {
  border-color: rgba(208, 171, 112, 0.16);
 background:
    radial-gradient(circle at top right, rgba(27, 20, 1, 0.897), transparent 24%),
    linear-gradient(180deg, rgba(143, 118, 36, 0.747), rgba(82, 72, 16, 0.918)),
    rgba(105, 87, 6, 0.548);
  box-shadow:
    inset 0 1px 0 rgba(255, 239, 209, 0.05),
    0 20px 40px rgba(15, 8, 3, 0.26);
}

.top100-item-silver {
  --top100-rank-color: #d9e4fb;
  --top100-title-color: rgba(222, 230, 247, 0.925);
  --top100-owner-color: rgba(222, 230, 247, 0.82);
  --top100-owner-rule: linear-gradient(
    90deg,
    rgba(217, 228, 251, 0.08),
    rgba(217, 228, 251, 0.62),
    rgba(217, 228, 251, 0.16)
  );
  --top100-summary-color: rgba(222, 230, 247, 0.82);
  --top100-tag-border: rgba(216, 226, 252, 0.1);
  --top100-tag-bg: linear-gradient(180deg, rgba(144, 149, 189, 0.34), rgba(123, 128, 168, 0.22));
  --top100-tag-color: #f1f4ff;
  --top100-signal-label-color: rgba(240, 244, 255, 0.94);
  --top100-signal-score-color: #f7f9ff;
}

.top100-item-silver:hover,
.top100-item-silver:focus-visible,
.top100-item-silver.is-active {
  --top100-rank-color: #d9e4fb;
  --top100-title-color: rgba(222, 230, 247, 0.925);
  --top100-owner-color: rgba(222, 230, 247, 0.82);
  --top100-owner-rule: linear-gradient(
    90deg,
    rgba(217, 228, 251, 0.08),
    rgba(217, 228, 251, 0.62),
    rgba(217, 228, 251, 0.16)
  );
  --top100-summary-color: rgba(222, 230, 247, 0.82);
  --top100-tag-border: rgba(216, 226, 252, 0.1);
  --top100-tag-bg: linear-gradient(180deg, rgba(144, 149, 189, 0.34), rgba(123, 128, 168, 0.22));
  --top100-tag-color: #f1f4ff;
  --top100-signal-label-color: rgba(240, 244, 255, 0.94);
  --top100-signal-score-color: #f7f9ff;
}

.top100-item-gold {
  --top100-rank-color: #f2dcc0;
  --top100-title-color: #dad8d8;
  --top100-owner-color: rgba(222, 230, 247, 0.82);
  --top100-owner-rule: linear-gradient(
    90deg,
    rgba(242, 220, 192, 0.08),
    rgba(242, 220, 192, 0.5),
    rgba(242, 220, 192, 0.14)
  );
  --top100-summary-color: rgba(222, 230, 247, 0.82);
  --top100-tag-border: rgba(235, 208, 151, 0.14);
  --top100-tag-bg: linear-gradient(180deg, rgba(175, 136, 71, 0.34), rgba(144, 104, 47, 0.2));
  --top100-tag-color: #fff0d2;
  --top100-signal-label-color: rgba(240, 244, 255, 0.94);
  --top100-signal-score-color: #f2dcc0;
}

.top100-item-gold:hover,
.top100-item-gold:focus-visible,
.top100-item-gold.is-active {
  --top100-rank-color: #f2dcc0;
  --top100-title-color: #dad8d8;
  --top100-owner-color: rgba(222, 230, 247, 0.82);
  --top100-owner-rule: linear-gradient(
    90deg,
    rgba(242, 220, 192, 0.08),
    rgba(242, 220, 192, 0.5),
    rgba(242, 220, 192, 0.14)
  );
  --top100-summary-color: rgba(222, 230, 247, 0.82);
  --top100-tag-border: rgba(235, 208, 151, 0.14);
  --top100-tag-bg: linear-gradient(180deg, rgba(175, 136, 71, 0.34), rgba(144, 104, 47, 0.2));
  --top100-tag-color: #fff0d2;
  --top100-signal-label-color: rgba(240, 244, 255, 0.94);
  --top100-signal-score-color: #f2dcc0;
}

.top100-shell.is-gold .top100-meter {
  background: linear-gradient(180deg, rgba(122, 97, 53, 0.38), rgba(90, 68, 31, 0.22));
}

.top100-shell.is-gold .top100-meter span {
  background: linear-gradient(90deg, #fbf0dc 0%, #f3ddb7 38%, #ecc98a 100%);
}

.top-page-rail {
  min-width: 0;
}

.top-command-shell .rail-list {
  max-height: 620px;
  overflow: auto;
  padding-right: 4px;
}

.top-command-panel {
  margin-top: 18px;
  padding: 22px;
}

.top-command-panel .spotlight-stats {
  grid-template-columns: 1fr;
}

.top-jump-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.top-jump-grid a {
  padding: 10px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.06);
  color: #dbe5fb;
  font-size: 0.86rem;
  transition: border-color 180ms ease, background-color 180ms ease, transform 180ms ease;
}

.top-jump-grid a:hover,
.top-jump-grid a:focus-visible {
  transform: translateY(-2px);
  border-color: var(--line-strong);
  background: rgba(255, 255, 255, 0.07);
}

.profile-settings-grid,
.profile-project-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.profile-project-launch-row {
  width: min(910px, calc(100% - 40px));
  margin: 50px auto 50px 0;
}

.profile-card h3,
.project-draft-card h3,
.profile-project-card h3 {
  margin: 0 0 12px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.5rem;
  font-weight: 500;
}

.profile-card p:last-child,
.project-draft-card p,
.profile-project-card p:last-child {
  margin: 0;
  color: var(--muted);
  line-height: 1.72;
}

.project-plus-card {
  width: 100%;
  min-height: 190px;
  display: grid;
  grid-template-columns: 144px minmax(0, max-content);
  align-items: center;
  justify-items: start;
  gap: 10px;
  padding: 0 34px;
  border-radius: 18px;
  border: 1px dashed rgba(214, 226, 255, 0.32);
  background:
    linear-gradient(180deg, rgba(124, 153, 214, 0.12), rgba(255, 255, 255, 0.015)),
    rgba(255, 255, 255, 0.025);
  color: inherit;
  cursor: pointer;
  text-decoration: none;
  text-align: left;
  transition: transform 180ms ease, border-color 180ms ease, background-color 180ms ease;
}

.project-launch-button {
  overflow: hidden;
}

.project-plus-card:hover,
.project-plus-card:focus-visible {
  transform: translateY(-2px);
  border-color: color-mix(in srgb, var(--mode-accent, #89a8f1) 52%, rgba(214, 226, 255, 0.38));
  background:
    linear-gradient(180deg, color-mix(in srgb, var(--mode-accent, #89a8f1) 16%, transparent), rgba(255, 255, 255, 0.02)),
    rgba(255, 255, 255, 0.035);
}

.project-wheel-mark {
  width: 100px;
  height: 100px;
  display: grid;
  place-items: center;
  overflow: hidden;
}

.project-wheel-mark img {
  width: 100px;
  height: 100px;
  object-fit: contain;
  object-position: center;
}

.project-plus-card strong {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.25rem;
  font-weight: 500;
}

.project-plus-card span:last-child {
  color: var(--muted);
  line-height: 1.4;
}

.profile-page-main {
  gap: 5px;
}

.profile-stage-shell {
  padding: 0;
  overflow: visible;
}

.profile-cover {
  position: relative;
  min-height: 300px;
  border-radius: 30px 30px 0 0;
  overflow: visible;
  background:
    linear-gradient(180deg, rgba(163, 228, 240, 0.96) 0%, rgba(163, 228, 240, 0.96) 56%, rgba(12, 160, 184, 0.96) 56%, rgba(12, 160, 184, 0.96) 70%, rgba(241, 244, 250, 0.96) 70%, rgba(241, 244, 250, 0.98) 100%);
}

.profile-cover.has-upload-banner {
  background-color: #d9e3f2;
}

.profile-cover::before,
.profile-cover::after {
  content: "";
  position: absolute;
  bottom: 95px;
  background: #213430;
  clip-path: polygon(50% 0%, 100% 100%, 0% 100%);
}

.profile-cover::before {
  left: 42px;
  width: 260px;
  height: 190px;
}

.profile-cover::after {
  left: 158px;
  width: 148px;
  height: 126px;
}

.profile-cover.has-upload-banner::before,
.profile-cover.has-upload-banner::after {
  opacity: 0;
}

.profile-cover-actions {
  position: absolute;
  right: 24px;
  top: 22px;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  z-index: 2;
}

.profile-action-btn {
  padding: 11px 14px;
  border-radius: 999px;
  border: 1px solid rgba(8, 14, 30, 0.18);
  background: rgba(245, 249, 255, 0.78);
  color: #103152;
  cursor: pointer;
  transition: transform 180ms ease, background-color 180ms ease, border-color 180ms ease;
}

.profile-action-btn:hover,
.profile-action-btn:focus-visible {
  transform: translateY(-2px);
  background: rgba(255, 255, 255, 0.94);
  border-color: rgba(16, 49, 82, 0.3);
}

.profile-follow-btn[data-following="true"] {
  border-color: rgba(214, 226, 255, 0.2);
  background: rgba(15, 24, 45, 0.86);
  color: #edf4ff;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.07);
}

.profile-follow-btn[data-following="true"]:hover,
.profile-follow-btn[data-following="true"]:focus-visible {
  background: rgba(25, 37, 65, 0.92);
  border-color: rgba(214, 226, 255, 0.34);
}

.profile-upload-input {
  display: none;
}

.profile-avatar {
  position: absolute;
  right: 48px;
  left: auto;
  bottom: -58px;
  z-index: 5;
  width: 164px;
  height: 164px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 10px solid rgba(247, 249, 253, 0.96);
  background:
    radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.55), transparent 32%),
    linear-gradient(145deg, #d9deea 0%, #bcc7da 100%);
  color: #244367;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 3.1rem;
  font-weight: 700;
  box-shadow: 0 22px 40px rgba(0, 0, 0, 0.18);
}

.profile-avatar.has-upload-avatar {
  color: transparent;
}

.profile-summary-shell {
  position: relative;
  z-index: 4;
  padding: 0 30px 30px;
  margin-top: -24px;
}

.profile-summary-card,
.profile-pane,
.profile-edit-card,
.profile-project-card {
  border-radius: 26px;
  background: var(--panel);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  backdrop-filter: blur(12px);
}

.profile-summary-card {
  position: relative;
  z-index: 4;
  padding: 36px 252px 96px 32px;
}

.profile-summary-card.is-editor-open {
  padding-bottom: 32px;
}

.profile-summary-card h1 {
  margin: 0;
  font-size: clamp(2.7rem, 5vw, 4.3rem);
  line-height: 0.96;
  font-weight: 500;
}

.profile-name-rule {
  width: min(100%, 520px);
  height: 1px;
  margin: 16px 0 18px;
  background: linear-gradient(90deg, rgba(220, 228, 242, 0.76), rgba(220, 228, 242, 0));
}

.profile-role-line {
  margin: 0;
  color: #e4ebfa;
  font-size: 1.04rem;
  line-height: 1.7;
}

.profile-location-line {
  margin: 10px 0 0;
  color: #b8c7e4;
  font-size: 0.94rem;
}

.profile-bio {
  max-width: 64ch;
  margin: 16px 0 0;
  color: var(--muted);
  line-height: 1.78;
}

.profile-vote-ledger {
  position: absolute;
  right: 32px;
  top: 136px;
  display: grid;
  gap: 8px;
  z-index: 2;
}

.profile-vote-ledger-item {
  min-width: 86px;
  min-height: 54px;
  display: inline-flex;
  align-items: baseline;
  justify-content: center;
  gap: 7px;
  padding: 8px 12px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid rgba(255, 255, 255, 0.04);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03);
  color: #f4f7ff;
}

.profile-vote-ledger-item strong,
.profile-vote-ledger-item span {
  font-family: Georgia, "Times New Roman", serif;
  line-height: 1;
  font-weight: 500;
}

.profile-vote-ledger-item strong {
  font-size: 1.85rem;
}

.profile-vote-ledger-item span {
  font-size: 1.75rem;
}

.profile-stat-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 24px;
}

.profile-stat-grid div {
  padding: 16px 18px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.profile-stat-grid span {
  display: block;
  margin-bottom: 10px;
  color: var(--muted);
  font-size: 0.84rem;
}

.profile-stat-grid strong {
  color: #e9effd;
  font-size: 1.9rem;
}

.profile-summary-action-row {
  position: absolute;
  right: 32px;
  bottom: 32px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
  flex-wrap: wrap;
  max-width: calc(100% - 64px);
  margin-top: 0;
}

.profile-summary-card.is-editor-open .profile-summary-action-row {
  position: static;
  justify-content: flex-start;
  margin-top: 22px;
  max-width: none;
}

.profile-summary-action-row .profile-edit-status {
  order: -1;
  text-align: right;
}

.profile-edit-status {
  min-height: 1.4em;
  color: var(--muted);
  font-size: 0.9rem;
}

.profile-edit-status[data-state="success"] {
  color: #8de0b1;
}

.profile-edit-status[data-state="error"] {
  color: #ff9d9d;
}

.profile-edit-form {
  display: grid;
  gap: 18px;
  margin-top: 24px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.profile-edit-form[hidden] {
  display: none;
}

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

.profile-field span {
  color: #dce7fa;
  font-size: 0.85rem;
}

.profile-field input,
.profile-field textarea,
.profile-field select {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.045);
  color: #eef4ff;
  font: inherit;
  line-height: 1.5;
  outline: none;
  transition: border-color 180ms ease, background-color 180ms ease;
}

.profile-field input,
.profile-field select {
  min-height: 46px;
  padding: 0 14px;
}

.profile-field textarea {
  min-height: 132px;
  padding: 12px 14px;
  resize: vertical;
}

.profile-field input:focus,
.profile-field textarea:focus {
  border-color: rgba(137, 168, 241, 0.52);
  background: rgba(255, 255, 255, 0.07);
}

.profile-edit-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  flex-wrap: wrap;
}

.profile-save-btn {
  background: rgba(137, 168, 241, 0.22);
  border-color: rgba(137, 168, 241, 0.42);
  color: #eef4ff;
}

.profile-save-btn:hover,
.profile-save-btn:focus-visible {
  transform: translateY(-1px);
  border-color: rgba(214, 226, 255, 0.5);
  background:
    linear-gradient(180deg, rgba(137, 168, 241, 0.28), rgba(255, 255, 255, 0.055)),
    rgba(18, 29, 59, 0.78);
  color: #f5f8ff;
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.18);
}

.profile-save-btn:active {
  transform: translateY(0);
  background: rgba(137, 168, 241, 0.24);
}

.profile-action-btn:disabled {
  cursor: wait;
  opacity: 0.62;
  transform: none;
}

.profile-tab-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
}

.profile-tab-row span {
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.035);
  color: var(--muted);
  font-size: 0.92rem;
}

.profile-tab-row .is-active {
  color: #edf3ff;
  background: rgba(255, 255, 255, 0.09);
}

.profile-detail-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
}

.profile-pane,
.profile-edit-card,
.profile-project-card {
  padding: 26px;
}

.profile-pane-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 18px;
  flex-wrap: wrap;
}

.profile-pane h2,
.profile-edit-card h2 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.55rem, 3vw, 2.3rem);
  font-weight: 500;
  line-height: 1.05;
}

.profile-limit-pill {
  padding: 9px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
  color: #dae7ff;
  font-size: 0.84rem;
}

.profile-selection-stack {
  display: grid;
  gap: 22px;
  margin-top: 22px;
}

.profile-selection-block + .profile-selection-block {
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.profile-selection-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.profile-selection-head {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 14px;
}

.profile-selection-head strong {
  color: #eef4ff;
  font-size: 1.02rem;
}

.profile-selection-head span {
  color: var(--muted);
  font-size: 0.88rem;
}

.profile-chip-row,
.profile-chip-bank {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.profile-chip {
  appearance: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 13px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.04);
  color: #e4ebfc;
  font: inherit;
  font-size: 0.88rem;
  line-height: 1.2;
}

.profile-chip.is-selected {
  background: rgba(217, 227, 248, 0.12);
  border-color: rgba(217, 227, 248, 0.24);
}

.profile-chip.is-bank {
  cursor: pointer;
  color: #d0dcf7;
  background: rgba(255, 255, 255, 0.025);
}

.profile-chip.is-bank:hover,
.profile-chip.is-bank:focus-visible {
  border-color: rgba(137, 168, 241, 0.42);
  background: rgba(137, 168, 241, 0.12);
  outline: none;
}

.profile-chip-bank {
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px dashed rgba(255, 255, 255, 0.08);
}

.profile-chip.is-verified {
  border-color: rgba(115, 183, 255, 0.38);
  background: rgba(72, 145, 233, 0.14);
}

.profile-chip-badge {
  width: 18px;
  height: 18px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: linear-gradient(180deg, #46a5ff 0%, #1776e4 100%);
  color: #fff;
  font-size: 0.68rem;
  font-weight: 700;
}

.profile-verification-card {
  background:
    linear-gradient(180deg, rgba(88, 140, 236, 0.12), rgba(255, 255, 255, 0.02)),
    var(--panel);
}

.profile-checklist {
  margin: 22px 0 0;
  padding-left: 20px;
  color: #e7eefc;
  line-height: 1.75;
}

.profile-checklist li + li {
  margin-top: 10px;
}

.profile-edit-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.72;
}

.profile-edit-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.profile-project-studio .profile-project-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
}

.profile-project-studio {
  width: min(910px, calc(100% - 40px));
  margin-left: 0;
  margin-right: auto;
}

.profile-project-card {
  position: relative;
  display: grid;
  width: min(800px, 100%);
  gap: 14px;
  min-height: 230px;
  padding-bottom: 86px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.015)),
    rgba(255, 255, 255, 0.025);
  cursor: pointer;
  transition: transform 180ms ease, border-color 180ms ease, background-color 180ms ease;
}

.profile-project-card:hover,
.profile-project-card:focus-visible {
  transform: translateY(-2px);
  border-color: rgba(214, 226, 255, 0.34);
  background:
    linear-gradient(180deg, rgba(124, 153, 214, 0.12), rgba(255, 255, 255, 0.02)),
    rgba(255, 255, 255, 0.035);
}

.profile-project-card h3 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.55rem;
  font-weight: 500;
}

.profile-project-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.72;
}

.profile-project-meta {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.profile-project-meta span {
  padding: 8px 11px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  color: #dbe6ff;
  font-size: 0.84rem;
}

.profile-project-meta .profile-project-status-chip {
  border: 1px solid rgba(214, 226, 255, 0.18);
  background: rgba(137, 168, 241, 0.13);
}

.profile-social-studio {
  width: min(910px, calc(100% - 40px));
  margin-left: 0;
  margin-right: auto;
}

.profile-social-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
}

.profile-social-counts {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.profile-social-counts button {
  display: grid;
  min-width: 112px;
  min-height: 58px;
  gap: 2px;
  padding: 9px 13px;
  border: 1px solid rgba(214, 226, 255, 0.14);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.025);
  color: var(--muted);
  cursor: pointer;
  text-align: left;
  transition: border-color 180ms ease, background-color 180ms ease, color 180ms ease;
}

.profile-social-counts button:hover,
.profile-social-counts button:focus-visible,
.profile-social-counts button.is-active {
  border-color: color-mix(in srgb, var(--mode-accent, #89a8f1) 52%, rgba(214, 226, 255, 0.18));
  background: color-mix(in srgb, var(--mode-accent, #89a8f1) 11%, rgba(255, 255, 255, 0.025));
  color: var(--text);
}

.profile-social-counts strong {
  color: var(--text);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.25rem;
  font-weight: 500;
}

.profile-social-counts span {
  font-size: 0.78rem;
}

.profile-social-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(260px, 0.85fr);
  margin-top: 22px;
  border-top: 1px solid rgba(214, 226, 255, 0.11);
}

.profile-social-post-pane,
.profile-social-connection-pane {
  min-width: 0;
  padding-top: 22px;
}

.profile-social-post-pane {
  padding-right: 24px;
}

.profile-social-connection-pane {
  padding-left: 24px;
  border-left: 1px solid rgba(214, 226, 255, 0.11);
}

.profile-social-pane-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.profile-social-pane-head h3 {
  margin: 5px 0 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.4rem;
  font-weight: 500;
}

.profile-social-pane-head > a {
  color: #dbe6ff;
  font-size: 0.82rem;
  text-underline-offset: 4px;
}

.profile-social-status {
  min-height: 24px;
  margin: 13px 0 5px;
  color: var(--muted);
  font-size: 0.84rem;
  line-height: 1.5;
}

.profile-social-status[data-state="error"] {
  color: #ffb8bf;
}

.profile-social-post-list,
.profile-social-connection-list {
  display: grid;
}

.profile-social-post {
  position: relative;
  display: grid;
  gap: 10px;
  min-width: 0;
  padding: 16px 72px 16px 0;
  border-bottom: 1px solid rgba(214, 226, 255, 0.1);
}

.profile-social-post:last-child,
.profile-social-connection:last-child {
  border-bottom: 0;
}

.profile-social-post-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  color: var(--muted);
  font-size: 0.76rem;
}

.profile-social-post-meta span {
  color: color-mix(in srgb, var(--mode-accent, #89a8f1) 72%, #eef4ff);
  font-weight: 700;
}

.profile-social-post p {
  margin: 0;
  color: #e6edfb;
  line-height: 1.62;
  overflow-wrap: anywhere;
}

.profile-social-post-remove {
  position: absolute;
  top: 14px;
  right: 0;
  min-width: 52px;
  min-height: 34px;
  padding: 6px 10px;
  border: 1px solid rgba(255, 184, 191, 0.24);
  border-radius: 8px;
  background: rgba(255, 111, 125, 0.06);
  color: #ffccd1;
  cursor: pointer;
}

.profile-social-connection {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  min-width: 0;
  padding: 12px 0;
  border-bottom: 1px solid rgba(214, 226, 255, 0.1);
}

.profile-social-connection-link {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  color: var(--text);
  text-decoration: none;
}

.profile-social-connection-avatar {
  display: grid;
  flex: 0 0 38px;
  width: 38px;
  height: 38px;
  place-items: center;
  overflow: hidden;
  border: 1px solid rgba(214, 226, 255, 0.2);
  border-radius: 50%;
  background: linear-gradient(145deg, #dce7fb, #8095bd);
  color: #101a31;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 0.76rem;
  font-weight: 700;
}

.profile-social-connection-avatar-has-image {
  color: transparent;
}

.profile-social-connection-copy {
  display: grid;
  min-width: 0;
  gap: 3px;
}

.profile-social-connection-copy strong,
.profile-social-connection-copy small {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.profile-social-connection-copy strong {
  font-size: 0.88rem;
}

.profile-social-connection-copy small {
  color: var(--muted);
  font-size: 0.72rem;
}

.profile-social-connection-action {
  flex: 0 0 auto;
  min-width: 82px;
  min-height: 34px;
  padding: 6px 10px;
  border: 1px solid rgba(214, 226, 255, 0.22);
  border-radius: 8px;
  background: rgba(137, 168, 241, 0.09);
  color: #eef4ff;
  cursor: pointer;
  font-size: 0.74rem;
}

.profile-chip-bank[hidden],
.profile-selection-actions[hidden],
.profile-project-launch-row[hidden] {
  display: none !important;
}

.profile-project-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.profile-project-actions strong {
  color: #e8efff;
}

.profile-project-publish {
  justify-self: end;
  min-height: 38px;
  padding: 8px 14px;
  border: 1px solid rgba(214, 226, 255, 0.26);
  border-radius: 999px;
  background: rgba(137, 168, 241, 0.14);
  color: #eef4ff;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 0.98rem;
  cursor: pointer;
  transition: transform 180ms ease, border-color 180ms ease, background-color 180ms ease;
}

.profile-project-publish:hover,
.profile-project-publish:focus-visible {
  transform: translateY(-1px);
  border-color: rgba(214, 226, 255, 0.48);
  background: rgba(137, 168, 241, 0.22);
}

.profile-project-publish:disabled {
  cursor: wait;
  opacity: 0.72;
}

.profile-project-edit {
  position: absolute;
  right: 16px;
  bottom: 14px;
  min-width: 92px;
  padding: 10px 16px;
  border: 1px solid rgba(214, 226, 255, 0.34);
  border-radius: 19px;
  background:
    linear-gradient(180deg, rgba(124, 153, 214, 0.22), rgba(255, 255, 255, 0.04)),
    rgba(12, 20, 43, 0.72);
  color: #eef4ff;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.35rem;
  line-height: 1;
  text-align: center;
  text-decoration: none;
  box-shadow: 0 12px 22px rgba(0, 0, 0, 0.22);
}

.profile-project-edit:hover,
.profile-project-edit:focus-visible {
  border-color: rgba(214, 226, 255, 0.52);
  background:
    linear-gradient(180deg, rgba(124, 153, 214, 0.32), rgba(255, 255, 255, 0.06)),
    rgba(17, 28, 58, 0.82);
}

.feed-item,
.rail-item {
  position: relative;
  overflow: visible;
}

.project-hover-card {
  position: fixed;
  top: 0;
  left: 0;
  width: min(612px, calc(100vw - 28px));
  padding: 18px 18px 16px;
  border-radius: 26px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background:
    linear-gradient(180deg, rgba(12, 20, 43, 0.96), rgba(6, 12, 28, 0.98)),
    rgba(6, 12, 28, 0.98);
  box-shadow: 0 28px 60px rgba(0, 0, 0, 0.38);
  backdrop-filter: blur(14px);
  color: #edf2fc;
  opacity: 0;
  transform: translate3d(0, 0, 0) scale(0.98);
  transform-origin: top left;
  transition: opacity 160ms ease, transform 160ms ease;
  pointer-events: none;
  z-index: 50;
}

.project-hover-card.is-gold {
  background:
    linear-gradient(180deg, rgba(39, 23, 5, 0.96), rgba(15, 10, 3, 0.98)),
    rgba(15, 10, 3, 0.98);
}

.project-hover-card.is-visible {
  opacity: 1;
  transform: translate3d(0, 0, 0) scale(1);
}

.project-hover-layout {
  display: block;
}

.project-hover-main {
  min-width: 0;
}

.project-hover-topbar {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 16px;
  align-items: start;
}

.project-hover-identity {
  min-width: 0;
}

.project-hover-owner-row {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr);
  gap: 14px;
  align-items: start;
}

.project-hover-avatar {
  width: 72px;
  height: 72px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: linear-gradient(145deg, #d7deec 0%, #b5c3da 100%);
  color: #27496d;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.8rem;
  font-weight: 700;
}

.project-hover-owner-copy {
  min-width: 0;
  padding-top: 2px;
}

.project-hover-owner-copy strong {
  display: block;
  color: #f4f7ff;
  font-size: 1.74rem;
  line-height: 1.05;
}

.project-hover-owner-copy span,
.project-hover-footer span {
  color: var(--muted);
  font-size: 1rem;
}

.project-hover-meta {
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: space-between;
  min-height: 72px;
  gap: 12px;
  padding-top: 2px;
}

.project-hover-owner-rank {
  font-family: Georgia, "Times New Roman", serif;
  color: #dce7ff;
  font-size: 2.4rem;
  font-weight: 500;
  line-height: 0.9;
  letter-spacing: -0.03em;
}

.project-hover-metrics {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
  margin-top: auto;
}

.project-hover-metric-chip,
.project-hover-metric-chat {
  min-height: 30px;
  padding: 0 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background:
    linear-gradient(180deg, rgba(161, 181, 219, 0.12), rgba(255, 255, 255, 0.025)),
    rgba(255, 255, 255, 0.025);
  color: #eef3ff;
  font-family: "Trebuchet MS", "Segoe UI", sans-serif;
  font-size: 0.92rem;
  font-weight: 700;
  line-height: 1;
}

.project-hover-metric-chat {
  gap: 6px;
  padding: 0 10px;
}

.project-hover-metric-chat svg {
  width: 17px;
  height: 17px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.project-hover-metric-chat-count {
  display: inline-block;
  line-height: 1;
}

.project-hover-title {
  margin: 18px 0 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 2.1rem;
  font-weight: 500;
  line-height: 0.98;
  letter-spacing: -0.02em;
}

.project-hover-body {
  margin: 10px 0 0;
  color: #d6def2;
  font-size: 1rem;
  line-height: 1.66;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 4;
  overflow: hidden;
}

.project-hover-visuals {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 18px;
}

.project-hover-visual {
  min-height: 116px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  padding: 14px;
  border-radius: 18px;
  background:
    linear-gradient(180deg, rgba(174, 198, 244, 0.14), rgba(255, 255, 255, 0.025)),
    radial-gradient(circle at top, rgba(95, 130, 196, 0.18), transparent 60%),
    rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: #eef3ff;
  font-size: 0.84rem;
  line-height: 1.4;
}

.project-hover-visual strong {
  font-size: 0.95rem;
  text-align: left;
  align-self: flex-start;
}

.project-hover-visual span {
  display: block;
  margin-top: 8px;
  color: #d2dcf2;
  font-size: 0.78rem;
  line-height: 1.46;
  text-align: left;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  overflow: hidden;
}

.project-hover-footer {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.project-hover-footer-block {
  min-width: 0;
}

.project-hover-footer-block-cta {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.project-hover-footer span {
  display: block;
  line-height: 1.45;
}

.project-hover-footer strong {
  display: block;
  margin-top: 2px;
  color: #eef3ff;
  font-size: 0.92rem;
  line-height: 1.38;
  overflow-wrap: anywhere;
}

.project-hover-card.is-gold .project-hover-metric-chip,
.project-hover-card.is-gold .project-hover-metric-chat {
  border-color: rgba(244, 214, 166, 0.12);
  background:
    linear-gradient(180deg, rgba(189, 138, 69, 0.18), rgba(255, 255, 255, 0.025)),
    rgba(255, 255, 255, 0.025);
  color: #fff0d2;
}

.project-hover-card.is-gold .project-hover-title,
.project-hover-card.is-gold .project-hover-owner-copy strong,
.project-hover-card.is-gold .project-hover-owner-rank,
.project-hover-card.is-gold .project-hover-footer strong {
  color: #fff0d8;
}

.project-hover-card.is-gold .project-hover-visual {
  background:
    linear-gradient(180deg, rgba(166, 124, 61, 0.18), rgba(255, 255, 255, 0.02)),
    radial-gradient(circle at top, rgba(110, 71, 24, 0.22), transparent 60%),
    rgba(255, 255, 255, 0.02);
}

.article-page-layout {
  grid-template-columns: minmax(0, 1fr) 330px;
  gap: 20px;
}

.article-page-main {
  display: grid;
  gap: 20px;
}

.article-kicker-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.article-hero-shell h1 {
  margin: 0;
  max-width: 14ch;
  font-size: clamp(3rem, 5.6vw, 5rem);
  line-height: 0.94;
  font-weight: 500;
}


.article-owner-row {
  display: grid;
  grid-template-columns: 76px minmax(0, 1fr) auto;
  gap: 18px;
  align-items: center;
  margin-top: 30px;
}

.article-owner-avatar {
  width: 76px;
  height: 76px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: linear-gradient(145deg, #d7deec 0%, #b5c3da 100%);
  color: #27496d;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.9rem;
  font-weight: 700;
}

.article-owner-copy strong {
  display: block;
  font-size: 1.08rem;
}

.article-owner-copy span,
.article-owner-meta span {
  color: var(--muted);
}

.article-owner-meta {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.article-owner-meta div {
  min-width: 150px;
  padding: 14px 16px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.article-owner-meta strong {
  display: block;
  margin-top: 8px;
  font-size: 1rem;
}

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

.article-visual-card {
  min-height: 220px;
  display: flex;
  align-items: end;
  padding: 18px;
  border-radius: 24px;
  background:
    linear-gradient(180deg, rgba(174, 198, 244, 0.16), rgba(255, 255, 255, 0.03)),
    radial-gradient(circle at top, rgba(95, 130, 196, 0.3), transparent 58%),
    rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.article-visual-card strong {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.2rem;
  font-weight: 500;
}

.article-visual-card span {
  display: block;
  margin-top: 10px;
  color: var(--muted);
  line-height: 1.62;
}

.article-story-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: 20px;
}

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

.article-lead-card h2,
.article-section-card h3 {
  margin: 0 0 14px;
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 500;
}

.article-lead-card h2 {
  font-size: clamp(1.8rem, 3.4vw, 2.8rem);
  line-height: 1.04;
}

.article-section-card {
  padding: 26px;
  border-radius: 26px;
  background: var(--panel);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  backdrop-filter: blur(12px);
}

.article-section-card h3 {
  font-size: 1.55rem;
}

.article-section-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.76;
}

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

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

.article-comment-empty {
  margin: 0;
  color: var(--muted);
}

.article-comment-item {
  display: grid;
  grid-template-columns: 50px minmax(0, 1fr);
  gap: 16px;
  padding: 18px;
  border: 1px solid rgba(214, 226, 255, 0.1);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.025);
}

.article-comment-votes {
  display: grid;
  justify-items: center;
  gap: 7px;
}

.article-comment-vote {
  appearance: none;
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border: 1px solid transparent;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.04);
  font: inherit;
  font-weight: 700;
  cursor: pointer;
  transition: transform 160ms ease, border-color 160ms ease, background-color 160ms ease;
}

.article-comment-vote:hover,
.article-comment-vote:focus-visible,
.article-comment-vote.is-active {
  transform: translateY(-1px);
  border-color: rgba(214, 226, 255, 0.26);
  background: rgba(255, 255, 255, 0.075);
}

.article-comment-vote:disabled {
  cursor: wait;
  opacity: 0.64;
  transform: none;
}

.article-comment-vote-up {
  color: #75d06a;
}

.article-comment-vote-down {
  color: #f1a34d;
}

.article-comment-votes strong {
  color: #edf2fc;
}

.article-comment-copy {
  min-width: 0;
}

.article-comment-header {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.article-comment-header span,
.article-comment-copy p {
  color: var(--muted);
}

.article-comment-copy p {
  margin: 10px 0 0;
  line-height: 1.68;
}

.article-comment-warning {
  display: block;
  margin-top: 10px;
  color: #f4c6c6;
}

.article-comment-form {
  display: grid;
  gap: 12px;
}

.article-comment-form textarea {
  width: 100%;
  min-height: 130px;
  resize: vertical;
  padding: 14px 16px;
  border: 1px solid rgba(214, 226, 255, 0.14);
  border-radius: 20px;
  background: rgba(7, 13, 29, 0.55);
  color: #eef4ff;
  font: inherit;
}

.article-comment-form textarea::placeholder {
  color: rgba(214, 226, 255, 0.5);
}

.article-comment-form textarea:focus-visible {
  outline: none;
  border-color: rgba(214, 226, 255, 0.36);
  box-shadow: 0 0 0 3px rgba(137, 168, 241, 0.1);
}

.article-comment-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  flex-wrap: wrap;
}

.article-document-shell {
  display: grid;
  gap: 20px;
}

.article-document-shell[hidden],
.article-document-controls[hidden],
.article-document-viewer[hidden],
.article-document-remove[hidden] {
  display: none;
}

.article-document-copy {
  max-width: 78ch;
  margin: 0;
  white-space: pre-wrap;
}

.article-document-controls {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  padding: 14px;
  border: 1px dashed color-mix(in srgb, var(--mode-accent, #89a8f1) 38%, rgba(214, 226, 255, 0.12));
  border-radius: 16px;
  background: color-mix(in srgb, var(--mode-accent, #89a8f1) 7%, rgba(255, 255, 255, 0.02));
}

.article-document-controls .profile-edit-status {
  min-width: 0;
  flex: 1 1 220px;
}

.article-document-remove {
  background: rgba(255, 255, 255, 0.025);
}

.article-document-viewer {
  display: grid;
  gap: 10px;
}

.article-document-viewer iframe {
  width: 100%;
  min-height: clamp(560px, 76vh, 920px);
  border: 1px solid color-mix(in srgb, var(--mode-accent, #89a8f1) 32%, rgba(214, 226, 255, 0.14));
  border-radius: 8px;
  background: #f3f4f6;
}

.article-document-open {
  justify-self: end;
  color: var(--muted);
  text-decoration: underline;
  text-underline-offset: 4px;
}

.is-article-editor .article-document-copy {
  min-height: 72px;
  padding: 12px 14px;
  border: 1px solid rgba(214, 226, 255, 0.12);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.025);
}

.article-editor-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 16px 18px;
  border: 1px solid rgba(214, 226, 255, 0.18);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.035);
}

.article-editor-toolbar strong {
  display: block;
  margin-top: 3px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.1rem;
  font-weight: 500;
}

.article-editor-actions {
  display: inline-flex;
  align-items: flex-end;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.article-mode-choice {
  display: grid;
  gap: 6px;
  min-width: 180px;
}

.article-mode-choice span {
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
}

.article-mode-choice select {
  min-height: 42px;
  padding: 0 14px;
  border: 1px solid rgba(214, 226, 255, 0.18);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.035);
  color: var(--text);
  font: inherit;
  outline: none;
}

.article-mode-choice select:focus {
  border-color: color-mix(in srgb, var(--mode-accent, #89a8f1) 58%, rgba(214, 226, 255, 0.2));
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--mode-accent, #89a8f1) 16%, transparent);
}

.article-publish-choice {
  display: flex;
  align-items: stretch;
  gap: 8px;
  flex-wrap: wrap;
}

.article-publish-option {
  position: relative;
  display: flex;
  align-items: center;
  min-width: 168px;
  gap: 9px;
  padding: 9px 11px;
  border: 1px solid rgba(214, 226, 255, 0.16);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.035);
  cursor: pointer;
  transition: border-color 180ms ease, background-color 180ms ease;
}

.article-publish-option:has(input:checked) {
  border-color: color-mix(in srgb, var(--mode-accent, #89a8f1) 52%, rgba(214, 226, 255, 0.18));
  background: color-mix(in srgb, var(--mode-accent, #89a8f1) 14%, transparent);
}

.article-publish-option input {
  width: 16px;
  height: 16px;
  margin: 0;
  accent-color: var(--mode-accent, #b9c9ec);
}

.article-publish-option span {
  display: grid;
  gap: 2px;
}

.article-publish-option strong {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.1;
}

.article-publish-option small {
  color: var(--muted);
  font-size: 0.72rem;
  line-height: 1.25;
}

.article-editable {
  min-height: 1.2em;
  outline: none;
  border-radius: 12px;
  transition: background-color 160ms ease, box-shadow 160ms ease;
}

.article-editable:focus {
  background: rgba(255, 255, 255, 0.055);
  box-shadow: 0 0 0 1px rgba(214, 226, 255, 0.28);
}

.article-editable:empty::before {
  content: attr(data-placeholder);
  color: rgba(203, 213, 229, 0.58);
}

.is-article-editor .article-visuals-shell {
  display: none;
}

@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(137, 168, 241, 0.54);
  }

  70% {
    box-shadow: 0 0 0 12px rgba(137, 168, 241, 0);
  }

  100% {
    box-shadow: 0 0 0 0 rgba(137, 168, 241, 0);
  }
}

@media (max-width: 1180px) {
  .platform-layout {
    grid-template-columns: 1fr;
  }

  .subpage-layout {
    grid-template-columns: 1fr;
  }

  .ranking-rail {
    order: -1;
  }

  .rail-shell {
    position: relative;
    top: auto;
  }
}

@media (max-width: 1080px) {
  .hero,
  .vision-grid,
  .pool-layout,
  .progress-layout,
  .search-results,
  .board-layout,
  .top-grid,
  .portal-grid,
  .help-layout,
  .help-support-grid,
  .thread-detail,
  .top-stat-strip,
  .profile-settings-grid,
  .profile-project-grid,
  .profile-detail-grid,
  .profile-catalog-grid,
  .profile-edit-grid,
  .profile-stat-grid {
    grid-template-columns: 1fr;
  }

  .article-editor-toolbar {
    align-items: flex-start;
    flex-direction: column;
  }

  .article-editor-actions,
  .article-mode-choice,
  .article-publish-choice {
    width: 100%;
    justify-content: flex-start;
  }

  .hero {
    min-height: auto;
    padding-top: 16px;
  }

  .hero h1 {
    max-width: 13ch;
  }

  .subpage-hero h1 {
    max-width: 18ch;
  }

  .hero-strip {
    grid-template-columns: 1fr;
  }

  .hero-visual {
    min-height: auto;
    padding-bottom: 120px;
  }

  .floating-card-top {
    top: 26px;
    left: 16px;
  }

  .floating-card-bottom {
    right: 16px;
    bottom: 16px;
  }

  .thread-detail {
    padding-left: 24px;
  }

  .article-comment-item {
    grid-template-columns: 1fr;
  }

  .article-comment-votes {
    grid-auto-flow: column;
    justify-content: start;
    align-items: center;
  }

  .top100-shell-head {
    display: grid;
    align-items: start;
  }

  .top100-head-actions {
    justify-items: stretch;
  }

  .top100-mode-note {
    text-align: right;
  }

  .top100-filter-panel {
    width: min(80vw, 720px);
  }

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

  .top100-item {
    grid-template-columns: 108px minmax(0, 1fr);
    grid-template-areas:
      "rank copy"
      "signal signal"
      "meter meter";
  }

  .top100-headline-row {
    grid-template-columns: 1fr;
  }

  .top100-owner-inline {
    justify-self: start;
    max-width: none;
    text-align: left;
    white-space: normal;
  }

  .top100-tags {
    justify-content: flex-start;
    max-width: none;
  }

  .top100-signal {
    justify-self: start;
    text-align: left;
    grid-auto-flow: column;
    align-items: end;
    gap: 12px;
    padding-top: 6px;
  }

  .profile-summary-card {
    padding: 122px 26px 26px;
  }

  .profile-vote-ledger {
    position: static;
    display: flex;
    flex-wrap: wrap;
    margin-top: 18px;
  }

  .profile-summary-action-row {
    position: static;
    justify-content: flex-start;
    max-width: none;
    margin-top: 22px;
  }

  .profile-summary-action-row .profile-edit-status {
    text-align: left;
  }

  .profile-avatar {
    right: 26px;
    left: auto;
    width: 150px;
    height: 150px;
  }

  .profile-summary-shell {
    padding: 0 22px 22px;
  }

  .profile-pane-head {
    align-items: start;
  }

  .profile-project-studio .profile-project-grid {
    grid-template-columns: 1fr;
  }

  .profile-project-launch-row,
  .profile-project-studio,
  .profile-social-studio {
    width: 100%;
    margin-left: 0;
  }

  .profile-project-card {
    width: 100%;
  }

  .profile-social-layout {
    grid-template-columns: 1fr;
  }

  .profile-social-post-pane {
    padding-right: 0;
  }

  .profile-social-connection-pane {
    padding-left: 0;
    border-top: 1px solid rgba(214, 226, 255, 0.11);
    border-left: 0;
  }

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

  .article-page-layout,
  .article-story-grid,
  .article-visual-grid {
    grid-template-columns: 1fr;
  }

  .article-owner-row {
    grid-template-columns: 1fr;
    justify-items: start;
  }
}

@media (max-width: 720px) {
  .page-shell {
    width: min(100% - 28px, 1260px);
  }

  .ranking-rail {
    order: initial;
  }

  .profile-social-heading {
    align-items: stretch;
    flex-direction: column;
  }

  .profile-social-counts {
    justify-content: stretch;
  }

  .profile-social-counts button {
    flex: 1 1 120px;
  }

  .article-publish-choice,
  .article-publish-option {
    width: 100%;
  }

  .page-shell.page-shell-wide {
    width: min(100% - 28px, 1480px);
  }

  .portal-grid {
    grid-template-columns: 1fr;
  }

  .site-header {
    flex-direction: column;
    align-items: flex-start;
  }

  .site-nav {
    --site-nav-gap: 14px;
    gap: var(--site-nav-gap);
  }

  .project-plus-card {
    grid-template-columns: 76px minmax(0, 1fr);
    min-height: 150px;
  }

  .project-wheel-mark {
    width: 64px;
    height: 64px;
  }

  .project-wheel-mark img {
    width: 64px;
    height: 64px;
  }

  .hero h1,
  .section-heading h1,
  .section-heading h2,
  .subpage-hero h1 {
    max-width: none;
  }

  .visual-frame {
    padding: 14px;
    border-radius: 28px;
  }

  .floating-card {
    position: relative;
    inset: auto;
    max-width: none;
    margin-top: 14px;
  }

  .hero-visual {
    display: block;
    padding-bottom: 0;
  }

  .spotlight-stats,
  .status-metrics {
    grid-template-columns: 1fr;
  }

  .feed-item,
  .rail-item {
    grid-template-columns: 56px minmax(0, 1fr);
  }

  .thread-summary {
    grid-template-columns: 1fr;
  }

  .vote-stack {
    grid-auto-flow: column;
    justify-content: start;
  }

  .thread-detail {
    padding: 0 24px 24px;
  }

  .thread-gallery {
    grid-template-columns: 1fr;
  }

  .thread-thumb:last-child {
    grid-column: auto;
  }

  .section-block,
  .launch,
  .rail-shell {
    padding: 22px;
  }

  .search-terminal {
    padding: 18px;
  }

  .top100-item {
    grid-template-columns: 1fr;
    grid-template-areas:
      "rank"
      "copy"
      "signal"
      "meter";
    padding: 12px;
  }

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

  .top100-head-actions {
    justify-items: stretch;
  }

  .top100-mode-note {
    text-align: left;
  }

  .top100-filter-dock {
    justify-content: flex-start;
    flex-wrap: wrap;
  }

  .top100-filter-panel {
    order: 2;
    width: min(100vw - 44px, 420px);
  }

  .top100-filter-trigger {
    order: 1;
  }

  .top100-rank-stack {
    gap: 8px;
  }

  .top100-owner-inline {
    justify-self: start;
    max-width: none;
    text-align: left;
    white-space: normal;
  }


.top100-title {
  min-width: 0;
    font-size: 1.85rem;
  }

  .top100-signal {
    justify-self: start;
    justify-items: end;
    grid-auto-flow: row;
    gap: 8px;
  }


  .top100-meter {
    height: 24px;
  }

  .profile-cover {
    min-height: 240px;
  }

  .profile-cover::before {
    left: 24px;
    width: 182px;
    height: 132px;
  }

  .profile-cover::after {
    right: 102px;
    width: 96px;
    height: 72px;
  }

  .profile-cover-actions {
    inset: 16px 16px auto;
    gap: 10px;
  }

  .profile-action-btn {
    min-height: 42px;
    padding: 0 16px;
  }

  .profile-avatar {
    right: 20px;
    left: auto;
    bottom: -58px;
    width: 126px;
    height: 126px;
    border-width: 8px;
    font-size: 2.3rem;
  }

  .profile-summary-card {
    padding: 90px 22px 22px;
  }

  .profile-summary-card h1 {
    font-size: 2.25rem;
  }

  .profile-vote-ledger-item {
    min-width: 74px;
    min-height: 48px;
  }

  .profile-vote-ledger-item strong {
    font-size: 1.55rem;
  }

  .profile-vote-ledger-item span {
    font-size: 1.45rem;
  }

  .profile-stat-grid strong {
    font-size: 1.55rem;
  }

  .project-hover-card {
    width: min(430px, calc(100vw - 22px));
  }

  .project-hover-topbar {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .project-hover-owner-row {
    grid-template-columns: 64px minmax(0, 1fr);
  }

  .project-hover-meta {
    align-items: flex-start;
    justify-content: flex-start;
    gap: 8px;
    min-height: 0;
    padding-top: 0;
  }

  .project-hover-visuals {
    grid-template-columns: 1fr;
  }

  .project-hover-footer {
    grid-template-columns: 1fr;
  }
}

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

/* Profile rail: single source of truth */
.profile-page-layout {
  grid-template-columns: minmax(0, 1fr) 330px;
  gap: 20px;
}

.profile-page-layout > .ranking-rail {
  display: grid;
  gap: 18px;
  align-self: start;
  min-width: 0;
}

.profile-page-layout > .ranking-rail > .rail-shell {
  position: sticky;
  top: 24px;
}

@media (max-width: 1180px) {
  .profile-page-layout {
    grid-template-columns: 1fr;
  }

  .profile-page-layout > .ranking-rail > .rail-shell {
    position: relative;
    top: auto;
  }

}

.top100-filter-field select {
  color-scheme: dark !important;
  background-color: rgba(11, 18, 36, 0.96) !important;
  color: #edf3ff !important;
}

.top100-filter-field select option,
.top100-filter-field select optgroup {
  background: #0d1528 !important;
  color: #edf3ff !important;
}

.top100-filter-field select option:checked,
.top100-filter-field select option:hover,
.top100-filter-field select option:focus {
  background: #3c465d !important;
  color: #ffffff !important;
}



/* Header tools: single source of truth */
.site-mode-switch {
  position: relative;
  flex: 0 0 auto;
  z-index: 30;
  --mode-accent: #89a8f1;
  --mode-accent-top: rgba(255, 255, 255, 0.28);
  --mode-accent-bottom: var(--mode-accent);
  --mode-state-bg: rgba(255, 255, 255, 0.06);
  --mode-state-color: #edf2fc;
  margin-top: -4px;
}

.site-mode-trigger {
  width: 62px;
  height: 70px;
  min-height: 70px;
  display: grid;
  place-items: center;
  padding: 0;
  border-radius: 16px;
  border: 1px solid transparent;
  background: transparent;
  color: var(--text);
  cursor: pointer;
  transition: transform 180ms ease, border-color 180ms ease, background-color 180ms ease;
}

.site-mode-trigger:hover,
.site-mode-trigger:focus-visible {
  transform: translateY(-1px);
  border-color: rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.035);
}

.site-mode-switch.is-open .site-mode-trigger {
  border-color: rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.045);
}

.site-mode-trigger-glyph {
  position: relative;
  width: 52px;
  height: 62px;
  display: block;
}

.site-account-trigger-head {
  position: absolute;
  top: 2px;
  left: 50%;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #fff;
  transform: translateX(-50%);
}

.site-account-trigger-body {
  position: absolute;
  top: 32px;
  left: 50%;
  width: 48px;
  height: 18px;
  border-radius: 24px 24px 8px 8px;
  background: #fff;
  transform: translateX(-50%);
  clip-path: polygon(22% 0, 78% 0, 100% 72%, 88% 100%, 12% 100%, 0 72%);
}

.site-account-trigger-dots {
  position: absolute;
  left: 7px;
  right: 7px;
  bottom: 0;
  display: flex;
  justify-content: space-between;
  margin-bottom: -3px;
}

.site-mode-trigger-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 12px rgba(214, 226, 255, 0.32);
}

.site-mode-panel {
  position: absolute;
  top: calc(100% + 14px);
  left: 0;
  width: min(390px, calc(100vw - 32px));
  padding: 18px;
  border-radius: 24px;
  border: 1px solid rgba(214, 226, 255, 0.12);
  background: rgba(8, 13, 31, 0.98);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.site-mode-panel .eyebrow {
  margin-bottom: 12px;
  font-size: 1rem;
  letter-spacing: 0;
}

.site-mode-panel h2 {
  margin: 0 0 16px;
  font-size: 1.5rem;
  font-weight: 500;
}

.site-mode-active-toggle {
  width: 100%;
  display: grid;
  grid-template-columns: 14px minmax(0, 1fr) auto 54px;
  gap: 14px;
  align-items: center;
  padding: 16px;
  border-radius: 22px;
  border: 1px solid rgba(214, 226, 255, 0.14);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.075), rgba(255, 255, 255, 0.025)),
    rgba(255, 255, 255, 0.035);
  color: inherit;
  cursor: pointer;
  text-align: left;
}

.site-mode-toggle-chevron {
  width: 54px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 0;
  background: transparent;
}

.site-mode-toggle-chevron::before {
  content: "";
  width: 18px;
  height: 18px;
  border-right: 2px solid #fff;
  border-bottom: 2px solid #fff;
  transform: translateY(-4px) rotate(45deg);
  transition: transform 180ms ease;
}

.site-mode-active-toggle[aria-expanded="true"] .site-mode-toggle-chevron::before {
  transform: translateY(4px) rotate(225deg);
}

.site-mode-list {
  display: grid;
  gap: 10px;
  margin-top: 12px;
}

.site-mode-list[hidden] {
  display: none;
}

.site-mode-option[hidden] {
  display: none;
}

.site-mode-option {
  width: 100%;
  display: grid;
  grid-template-columns: 12px minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  padding: 14px 14px 14px 12px;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(255, 255, 255, 0.025);
  color: inherit;
  text-align: left;
  cursor: pointer;
  transition: transform 180ms ease, border-color 180ms ease, background-color 180ms ease;
}

.site-mode-option:hover,
.site-mode-option:focus-visible {
  transform: translateY(-1px);
  border-color: rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.045);
}

.site-mode-option.is-active {
  border-color: rgba(255, 255, 255, 0.2);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.02));
}

.site-mode-option-swatch {
  width: 12px;
  height: 42px;
  border-radius: 999px;
  background: linear-gradient(180deg, var(--mode-accent-top), var(--mode-accent-bottom));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.28),
    0 0 16px color-mix(in srgb, var(--mode-accent-bottom) 32%, transparent);
}

.site-mode-option-copy {
  min-width: 0;
}

.site-mode-option-copy strong {
  display: block;
  font-size: 0.98rem;
}

.site-mode-option-copy span {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 0.8rem;
}

.site-mode-option-state {
  padding: 6px 14px;
  border-radius: 999px;
  color: var(--mode-state-color);
  background: var(--mode-state-bg);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: none;
}

.site-mode-option-state.is-live {
  color: #091323;
  background: linear-gradient(135deg, #d9e3f8 0%, #869dc7 100%);
}

.site-mode-panel-note {
  margin: 16px 0 0;
  color: var(--muted);
  line-height: 1.65;
}

.site-account-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  margin-top: 16px;
}

.site-account-action {
  flex: 1 1 0;
  min-height: 42px;
  display: grid;
  place-items: center;
  border: 2px solid rgba(255, 255, 255, 0.92);
  border-radius: 8px;
  background: rgba(15, 16, 36, 0.92);
  color: #fff;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.1rem;
  text-align: center;
  padding: 5px;
  transition: transform 180ms ease, background-color 180ms ease, border-color 180ms ease;
}

.site-account-action:hover,
.site-account-action:focus-visible {
  transform: translateY(-1px);
  border-color: #fff;
  background: rgba(23, 25, 55, 0.96);
}

.site-account-action[hidden] {
  display: none;
}

.site-account-actions.is-logged-in {
  justify-content: center;
  gap: 12px;
}

.site-account-actions.is-logged-in .site-account-logout {
  flex: 0 0 90px;
  max-width: 90px;
  margin-left: 0;
}

.site-account-actions.is-logged-in .site-account-settings {
  flex: 1 1 auto;
  min-height: 54px;
  max-width: 150px;
}

.site-account-logout {
  grid-template-columns: 1fr;
  grid-template-rows: auto auto;
  gap: 6px;
  justify-items: center;
  align-content: center;
}

.site-account-logout-icon {
  position: relative;
  width: 28px;
  height: 24px;
  display: inline-block;
}

.site-account-logout-icon::before {
  content: "";
  position: absolute;
  left: 0;
  top: 3px;
  width: 14px;
  height: 18px;
  border: 3px solid currentColor;
  border-right: 0;
  border-radius: 2px;
}

.site-account-logout-icon::after {
  content: "";
  position: absolute;
  right: -1px;
  top: 50%;
  width: 22px;
  height: 16px;
  background: currentColor;
  transform: translateY(-50%);
  clip-path: polygon(0 42%, 60% 42%, 60% 14%, 100% 50%, 60% 86%, 60% 58%, 0 58%);
}

.auth-page-body {
  min-height: 100vh;
  background: var(--bg);
}

.auth-page-body::before {
  display: none;
}

.auth-page-body::after {
  background: linear-gradient(180deg, rgba(7, 14, 31, 0.94), rgba(3, 8, 19, 0.98));
}

.auth-page {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 28px;
}

.auth-shell {
  width: min(860px, 100%);
  display: grid;
  grid-template-columns: minmax(220px, 0.88fr) minmax(300px, 1.12fr);
  align-items: stretch;
  border: 1px solid rgba(214, 226, 255, 0.14);
  border-radius: 28px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.018)),
    rgba(8, 13, 31, 0.96);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.auth-brand-panel {
  display: grid;
  align-content: center;
  gap: 10px;
  padding: 42px;
  border-right: 1px solid rgba(214, 226, 255, 0.1);
}

.auth-brand-panel .brand-mark {
  margin: 0;
  font-weight: 400;
  font-size: clamp(2.7rem, 6vw, 4.6rem);
}

.auth-form-panel {
  display: grid;
  align-content: center;
  gap: 18px;
  padding: 42px;
}

.auth-mode-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.auth-mode-tab,
.auth-page-submit {
  min-height: 46px;
  border: 1px solid rgba(214, 226, 255, 0.18);
  border-radius: 12px;
  color: #edf3ff;
  cursor: pointer;
}

.auth-mode-tab {
  background: rgba(255, 255, 255, 0.04);
}

.auth-mode-tab.is-active {
  border-color: rgba(214, 226, 255, 0.42);
  background: rgba(137, 168, 241, 0.18);
}

.auth-page-form {
  display: grid;
  gap: 12px;
}

.auth-page-form[hidden] {
  display: none;
}

.auth-reset-note {
  margin: 0;
  color: var(--muted);
  font-size: 0.86rem;
  line-height: 1.55;
}

.auth-page-field {
  display: grid;
  gap: 7px;
}

.auth-page-field[hidden] {
  display: none;
}

.auth-page-field span {
  color: var(--muted);
  font-size: 0.86rem;
}

.auth-page-field input {
  min-height: 44px;
  padding: 0 13px;
  border: 1px solid rgba(214, 226, 255, 0.14);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.045);
  color: #edf3ff;
  outline: none;
}

.auth-page-field input:focus {
  border-color: rgba(214, 226, 255, 0.36);
}

.auth-page-submit {
  margin-top: 4px;
  background: rgba(137, 168, 241, 0.2);
}

.auth-reset-open {
  justify-self: center;
  min-height: 36px;
  padding: 7px 10px;
  border: 0;
  background: transparent;
  color: #c7d6f5;
  font: inherit;
  font-size: 0.92rem;
  cursor: pointer;
}

.auth-reset-open:hover,
.auth-reset-open:focus-visible {
  color: #edf3ff;
  text-decoration: underline;
}

.auth-page-status {
  min-height: 18px;
  color: var(--muted);
  font-size: 0.86rem;
}

.auth-page-status[data-state="success"] {
  color: #bfe7c6;
}

.auth-page-status[data-state="error"] {
  color: #ffb7b7;
}

.auth-consent {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: start;
  gap: 9px;
  color: var(--muted);
  font-size: 0.8rem;
  line-height: 1.5;
}

.auth-consent input {
  width: 16px;
  height: 16px;
  margin: 2px 0 0;
  accent-color: var(--silver-deep);
}

.auth-consent a,
.account-legal-links a,
.legal-document a {
  color: #dce7ff;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.account-shell {
  width: min(920px, 100%);
}

.account-form-panel {
  align-content: start;
}

.account-heading {
  display: grid;
  gap: 7px;
}

.account-heading p,
.account-heading h2,
.account-heading span {
  margin: 0;
}

.account-heading h2 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 2rem;
  font-weight: 500;
}

.account-heading span {
  color: var(--silver-deep);
  font-size: 0.92rem;
}

.account-session-actions {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 18px;
  padding-top: 18px;
  border-top: 1px solid rgba(214, 226, 255, 0.1);
}

.account-session-actions > div {
  display: grid;
  gap: 5px;
}

.account-session-actions strong {
  color: #edf3ff;
  font-size: 0.94rem;
}

.account-session-actions span {
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.45;
}

.account-secondary-action {
  min-height: 40px;
  padding: 8px 14px;
  border: 1px solid rgba(255, 183, 183, 0.34);
  border-radius: 10px;
  background: rgba(151, 56, 70, 0.1);
  color: #ffd6d6;
  cursor: pointer;
}

.account-secondary-action:hover,
.account-secondary-action:focus-visible {
  border-color: rgba(255, 183, 183, 0.66);
  background: rgba(151, 56, 70, 0.2);
}

.account-secondary-action:disabled,
.auth-page-submit:disabled {
  cursor: wait;
  opacity: 0.58;
}

.account-legal-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  padding-top: 2px;
  color: var(--muted);
  font-size: 0.82rem;
}

.legal-page-layout {
  width: min(920px, calc(100% - 40px));
  margin: 0 auto;
  padding: 48px 0 72px;
}

.legal-document {
  display: grid;
  gap: 26px;
  padding: 38px;
  border: 1px solid rgba(214, 226, 255, 0.14);
  border-radius: 8px;
  background: rgba(8, 13, 31, 0.94);
  box-shadow: var(--shadow);
}

.legal-document header {
  display: grid;
  gap: 9px;
  padding-bottom: 24px;
  border-bottom: 1px solid rgba(214, 226, 255, 0.1);
}

.legal-document h1,
.legal-document h2,
.legal-document p {
  margin: 0;
}

.legal-document h1 {
  font-size: clamp(2.2rem, 5vw, 4rem);
  font-weight: 500;
}

.legal-document h2 {
  font-size: 1.35rem;
  font-weight: 500;
}

.legal-document p,
.legal-document li {
  color: var(--muted);
  line-height: 1.72;
}

.legal-document ul {
  margin: 0;
  padding-left: 20px;
}

.legal-section {
  display: grid;
  gap: 9px;
}

.legal-back-link {
  justify-self: start;
}

.admin-login-body::after,
.admin-panel-body::after {
  background:
    linear-gradient(180deg, rgba(7, 14, 31, 0.96), rgba(3, 8, 19, 0.985)),
    radial-gradient(circle at top right, rgba(137, 168, 241, 0.12), transparent 38%);
}

.admin-auth-shell {
  width: min(800px, 100%);
}

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

.admin-auth-heading span {
  color: var(--silver-deep);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.admin-auth-heading h1 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 3.1rem);
  font-weight: 500;
}

.admin-auth-heading p {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}

.admin-panel-body {
  min-height: 100vh;
  background: var(--bg);
}

.admin-panel-body::before {
  display: none;
}

.admin-panel {
  width: min(1280px, calc(100% - 42px));
  margin: 0 auto;
  padding: 28px 0 72px;
}

.admin-panel-header,
.admin-panel-header-actions,
.admin-section-heading,
.admin-search-form,
.admin-moderation-toolbar,
.admin-user-controls,
.admin-user-actions,
.admin-moderation-card-head,
.admin-moderation-badges,
.admin-moderation-signals,
.admin-moderation-actions {
  display: flex;
  align-items: center;
}

.admin-panel-header {
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 24px;
}

.admin-panel-brand {
  display: grid;
  gap: 5px;
}

.admin-panel-brand span {
  font-family: Georgia, "Times New Roman", serif;
  font-style: italic;
  font-size: clamp(2.2rem, 4vw, 3.4rem);
  line-height: 0.95;
}

.admin-panel-brand small,
.admin-actor,
.admin-page-status,
.admin-user-status,
.admin-empty-state {
  color: var(--muted);
}

.admin-panel-header-actions {
  justify-content: flex-end;
  gap: 12px;
  flex-wrap: wrap;
}

.admin-hero,
.admin-section {
  border: 1px solid rgba(214, 226, 255, 0.1);
  border-radius: 26px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0.012)),
    rgba(7, 14, 31, 0.78);
  box-shadow: var(--shadow);
}

.admin-hero {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: end;
  padding: 30px;
  margin-bottom: 20px;
}

.admin-hero h1,
.admin-section-heading h2 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 500;
}

.admin-hero h1 {
  font-size: clamp(2.4rem, 5vw, 4.6rem);
  line-height: 1;
}

.admin-hero p {
  max-width: 700px;
  margin: 12px 0 0;
  color: var(--muted);
  line-height: 1.7;
}

.admin-section {
  padding: 28px 30px 30px;
  margin-bottom: 20px;
}

.admin-section-heading {
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 20px;
}

.admin-section-heading h2 {
  font-size: clamp(1.8rem, 3vw, 2.8rem);
}

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

.admin-metric-card,
.admin-user-card,
.admin-empty-state {
  border: 1px solid rgba(214, 226, 255, 0.1);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.035);
}

.admin-metric-card {
  display: grid;
  gap: 8px;
  padding: 18px;
}

.admin-metric-card span {
  color: var(--muted);
  font-size: 0.82rem;
}

.admin-metric-card strong {
  color: #edf3ff;
  font-size: 2rem;
  line-height: 1;
}

.admin-metric-card small {
  color: var(--silver-deep);
}

.admin-search-form {
  gap: 10px;
}

.admin-search-form input,
.admin-moderation-toolbar input,
.admin-moderation-toolbar select,
.admin-gold-toolbar input,
.admin-gold-toolbar select,
.admin-gold-add-row select,
.admin-gold-field input,
.admin-moderation-reason,
.admin-access-reason,
.admin-user-controls select {
  min-height: 42px;
  border: 1px solid rgba(214, 226, 255, 0.14);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.045);
  color: #edf3ff;
  outline: none;
}

.admin-gold-section {
  border-color: rgba(214, 180, 107, 0.22);
}

.admin-gold-toolbar,
.admin-gold-add-row,
.admin-gold-footer,
.admin-gold-entry-actions {
  display: flex;
  align-items: center;
}

.admin-gold-toolbar {
  justify-content: flex-end;
  gap: 10px;
  flex-wrap: wrap;
}

.admin-gold-toolbar label,
.admin-gold-field {
  display: grid;
  gap: 5px;
}

.admin-gold-toolbar label > span,
.admin-gold-field > span {
  color: var(--muted);
  font-size: 0.72rem;
}

.admin-gold-toolbar input,
.admin-gold-toolbar select,
.admin-gold-field input {
  min-width: 118px;
  padding: 0 12px;
  color-scheme: dark;
}

.admin-gold-add-row {
  gap: 10px;
  margin-bottom: 16px;
}

.admin-gold-add-row select {
  min-height: 44px;
  flex: 1 1 420px;
  padding: 0 38px 0 14px;
  color-scheme: dark;
}

.admin-gold-list {
  display: grid;
  gap: 10px;
}

.admin-gold-entry {
  display: grid;
  grid-template-columns: 70px minmax(210px, 1fr) 110px minmax(180px, 0.7fr) auto;
  gap: 14px;
  align-items: end;
  padding: 16px;
  border: 1px solid rgba(214, 180, 107, 0.18);
  border-radius: 18px;
  background: linear-gradient(110deg, rgba(214, 180, 107, 0.08), rgba(255, 255, 255, 0.025));
}

.admin-gold-rank {
  align-self: center;
  color: #f0d89a;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.5rem;
}

.admin-gold-identity {
  align-self: center;
  display: grid;
  gap: 5px;
  min-width: 0;
}

.admin-gold-identity strong,
.admin-gold-identity span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.admin-gold-identity strong {
  color: #f3f5fb;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.15rem;
}

.admin-gold-identity span {
  color: var(--muted);
  font-size: 0.82rem;
}

.admin-gold-score input {
  width: 100%;
}

.admin-gold-stage input {
  width: 100%;
}

.admin-gold-entry-actions {
  gap: 6px;
}

.admin-gold-icon-button {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(214, 226, 255, 0.16);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.04);
  color: #edf3ff;
  font-size: 1.1rem;
  cursor: pointer;
}

.admin-gold-icon-button:hover,
.admin-gold-icon-button:focus-visible {
  border-color: rgba(214, 180, 107, 0.5);
  background: rgba(214, 180, 107, 0.12);
}

.admin-gold-icon-button:disabled {
  opacity: 0.35;
  cursor: default;
}

.admin-gold-footer {
  justify-content: space-between;
  gap: 16px;
  margin-top: 16px;
}

.admin-search-form input {
  width: min(260px, 44vw);
  padding: 0 14px;
}

.admin-moderation-toolbar {
  justify-content: flex-end;
  gap: 10px;
  flex-wrap: wrap;
}

.admin-moderation-toolbar input {
  width: min(260px, 36vw);
  padding: 0 14px;
}

.admin-moderation-toolbar select {
  min-width: 150px;
  padding: 0 34px 0 12px;
  color-scheme: dark;
}

.admin-user-controls select {
  min-width: 128px;
  padding: 0 34px 0 12px;
  color-scheme: dark;
}

.admin-access-reason {
  width: 100%;
  min-width: 190px;
  padding: 0 14px;
}

.admin-ghost-button,
.admin-danger-button,
.admin-save-button,
.admin-moderation-action {
  min-height: 42px;
  padding: 0 16px;
  border: 1px solid rgba(214, 226, 255, 0.16);
  border-radius: 999px;
  color: #edf3ff;
  cursor: pointer;
  transition: transform 180ms ease, border-color 180ms ease, background-color 180ms ease;
}

.admin-ghost-button,
.admin-save-button,
.admin-moderation-action {
  background: rgba(137, 168, 241, 0.12);
}

.admin-danger-button {
  background: rgba(255, 115, 115, 0.08);
}

.admin-ghost-button:hover,
.admin-ghost-button:focus-visible,
.admin-danger-button:hover,
.admin-danger-button:focus-visible,
.admin-save-button:hover,
.admin-save-button:focus-visible,
.admin-moderation-action:hover,
.admin-moderation-action:focus-visible {
  transform: translateY(-1px);
  border-color: rgba(214, 226, 255, 0.34);
  background: rgba(137, 168, 241, 0.18);
}

.admin-moderation-list,
.admin-user-list,
.admin-audit-list {
  display: grid;
  gap: 12px;
}

.admin-moderation-card {
  display: grid;
  gap: 14px;
  padding: 18px;
  border: 1px solid rgba(214, 226, 255, 0.1);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.035);
}

.admin-moderation-flagged {
  border-color: rgba(255, 117, 117, 0.34);
}

.admin-moderation-review {
  border-color: rgba(214, 180, 107, 0.34);
}

.admin-moderation-excluded {
  opacity: 0.78;
}

.admin-moderation-card-head {
  justify-content: space-between;
  gap: 16px;
}

.admin-moderation-title {
  display: grid;
  gap: 4px;
  min-width: 0;
}

.admin-moderation-title strong {
  color: #edf3ff;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.25rem;
  font-weight: 700;
}

.admin-moderation-title span {
  color: var(--muted);
}

.admin-moderation-badges,
.admin-moderation-signals,
.admin-moderation-actions {
  flex-wrap: wrap;
  gap: 8px;
}

.admin-moderation-pill {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 10px;
  border-radius: 999px;
  background: rgba(214, 226, 255, 0.08);
  color: #dce6fb;
  font-size: 0.8rem;
}

.admin-moderation-pill-flagged,
.admin-moderation-pill-flag {
  background: rgba(255, 117, 117, 0.12);
  color: #ffd1d1;
}

.admin-moderation-pill-review {
  background: rgba(214, 180, 107, 0.14);
  color: #ffe3a8;
}

.admin-moderation-pill-clean,
.admin-moderation-pill-eligible,
.admin-moderation-pill-positive {
  background: rgba(131, 217, 151, 0.12);
  color: #c7f5cf;
}

.admin-moderation-pill-excluded,
.admin-moderation-pill-negative {
  background: rgba(255, 151, 92, 0.12);
  color: #ffd4bd;
}

.admin-moderation-body {
  margin: 0;
  color: #dce6fb;
  line-height: 1.7;
}

.admin-moderation-warning {
  width: 100%;
  margin: 2px 0 0;
  color: #ffd4bd;
  font-size: 0.86rem;
  line-height: 1.55;
}

.admin-moderation-reason {
  width: 100%;
  padding: 0 14px;
}

.admin-moderation-action-approve {
  border-color: rgba(131, 217, 151, 0.24);
}

.admin-moderation-action-flag,
.admin-moderation-action-exclude {
  border-color: rgba(255, 117, 117, 0.22);
}

.admin-moderation-card-status {
  min-height: 18px;
  color: var(--muted);
  font-size: 0.84rem;
}

.admin-audit-card {
  display: grid;
  gap: 10px;
  padding: 16px 18px;
  border: 1px solid rgba(214, 226, 255, 0.1);
  border-radius: 18px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.018)),
    rgba(255, 255, 255, 0.032);
}

.admin-audit-card-head,
.admin-audit-meta {
  display: flex;
  align-items: center;
}

.admin-audit-card-head {
  justify-content: space-between;
  gap: 16px;
}

.admin-audit-card-head strong {
  font-family: Georgia, "Times New Roman", serif;
  color: #f0f4ff;
  font-size: 1.06rem;
}

.admin-audit-card-head span,
.admin-audit-card p {
  color: var(--muted);
}

.admin-audit-card p {
  margin: 0;
}

.admin-audit-meta {
  gap: 8px;
  flex-wrap: wrap;
}

.admin-audit-meta span {
  padding: 7px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.055);
  color: #dfe8ff;
  font-size: 0.78rem;
}

.admin-empty-state {
  display: block;
  padding: 24px;
}

.admin-user-card {
  display: grid;
  grid-template-columns: minmax(210px, 1.05fr) minmax(220px, 0.84fr) minmax(210px, 0.86fr) minmax(260px, 1fr) minmax(140px, 0.58fr) minmax(150px, 0.66fr);
  gap: 14px;
  align-items: center;
  padding: 16px;
}

.admin-risk-watch {
  border-color: rgba(214, 180, 107, 0.34);
}

.admin-risk-high {
  border-color: rgba(255, 117, 117, 0.38);
}

.admin-user-identity {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.admin-user-avatar {
  width: 46px;
  height: 46px;
  flex: 0 0 46px;
  display: grid;
  place-items: center;
  border-radius: 15px;
  background: linear-gradient(135deg, rgba(217, 227, 248, 0.92), rgba(134, 157, 199, 0.62));
  color: #06101f;
  font-weight: 800;
}

.admin-user-identity > span:last-child,
.admin-user-identity strong,
.admin-user-identity small {
  min-width: 0;
}

.admin-user-identity > span:last-child {
  display: grid;
  gap: 4px;
}

.admin-user-identity strong,
.admin-user-identity small {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.admin-user-identity small,
.admin-user-moderation span {
  color: var(--muted);
}

.admin-user-controls {
  gap: 10px;
  flex-wrap: wrap;
}

.admin-user-flags {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.admin-flag-control {
  display: flex;
  align-items: center;
  gap: 7px;
  color: #dce6fb;
  font-size: 0.82rem;
}

.admin-flag-control input {
  accent-color: #9fb8f4;
}

.admin-user-moderation {
  display: grid;
  gap: 5px;
  font-size: 0.84rem;
}

.admin-user-actions {
  justify-content: flex-end;
  gap: 10px;
  flex-wrap: wrap;
}

.admin-user-status {
  min-height: 18px;
  font-size: 0.82rem;
}

.admin-page-status[data-state="success"] {
  color: #bfe7c6;
}

.admin-user-status[data-state="success"],
.admin-moderation-card-status[data-state="success"] {
  color: #bfe7c6;
}

.admin-page-status[data-state="error"],
.admin-user-status[data-state="error"],
.admin-moderation-card-status[data-state="error"] {
  color: #ffcece;
}

.site-nav-search {
  position: relative;
  display: flex;
  align-items: center;
  flex: 0 0 auto;
  margin-right: calc(var(--site-nav-gap) * -0.5);
  z-index: 20;
}

.site-nav-search-input {
  position: absolute;
  right: calc(100% + 14px);
  top: 50%;
  transform: translateY(-50%);
  width: 0;
  min-width: 0;
  height: 44px;
  padding: 0;
  border: 1px solid rgba(214, 226, 255, 0.12);
  border-radius: 18px;
  background: rgba(9, 17, 35, 0.97);
  color: #edf3ff;
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.34);
  opacity: 0;
  pointer-events: none;
  outline: none;
  transition: width 360ms ease, opacity 360ms ease, padding 360ms ease, border-color 360ms ease, background-color 360ms ease;
}

.site-nav-search:hover .site-nav-search-input,
.site-nav-search:focus-within .site-nav-search-input,
.site-nav-search.is-open .site-nav-search-input {
  width: clamp(220px, 28vw, 420px);
  padding: 0 18px;
  opacity: 1;
  pointer-events: auto;
  border-color: var(--line-strong);
}

.site-nav-search-input::placeholder {
  color: #93a6c9;
}

.site-nav-search-input::-webkit-search-cancel-button {
  filter: invert(1) opacity(0.65);
}

.site-nav-search-trigger {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  color: var(--muted);
  cursor: pointer;
  transition: color 260ms ease, background-color 260ms ease, transform 260ms ease;
}

.site-nav-search-trigger svg {
  width: 21px;
  height: 21px;
}

.site-nav-search:hover .site-nav-search-trigger,
.site-nav-search:focus-within .site-nav-search-trigger,
.site-nav-search.is-open .site-nav-search-trigger {
  color: var(--text);
  background: rgba(255, 255, 255, 0.05);
  transform: translateY(-1px);
}

.site-nav-search-trigger:focus-visible,
.site-nav-search-input:focus-visible {
  border-color: var(--line-strong);
}

.site-notification-center {
  position: relative;
  flex: 0 0 auto;
  z-index: 34;
}

.site-notification-center[hidden],
.site-notification-panel[hidden],
.site-notification-badge[hidden],
.site-notification-status[hidden] {
  display: none;
}

.site-notification-trigger {
  position: relative;
  width: 42px;
  height: 42px;
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: 1px solid rgba(214, 226, 255, 0.14);
  border-radius: 8px;
  color: var(--muted);
  font: inherit;
  font-size: 0.86rem;
  cursor: pointer;
  transition: color 180ms ease, border-color 180ms ease, background-color 180ms ease;
}

.site-notification-trigger-icon,
.site-notification-trigger-icon svg {
  width: 21px;
  height: 21px;
  display: block;
}

.site-notification-trigger:hover,
.site-notification-trigger:focus-visible,
.site-notification-trigger[aria-expanded="true"] {
  color: var(--text);
  border-color: var(--line-strong);
  background: rgba(255, 255, 255, 0.05);
}

.site-notification-badge {
  position: absolute;
  top: -6px;
  right: -7px;
  min-width: 18px;
  height: 18px;
  display: inline-grid;
  place-items: center;
  padding: 0 4px;
  border-radius: 999px;
  background: var(--accent);
  color: #091123;
  font-size: 0.72rem;
  font-weight: 800;
  line-height: 1;
}

.site-notification-panel {
  position: absolute;
  top: calc(100% + 12px);
  right: 0;
  width: min(390px, calc(100vw - 32px));
  max-height: min(620px, calc(100vh - 110px));
  overflow: auto;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(7, 14, 30, 0.985);
  box-shadow: 0 22px 60px rgba(0, 0, 0, 0.46);
}

.site-notification-panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 2px 2px 12px;
  border-bottom: 1px solid rgba(214, 226, 255, 0.1);
}

.site-notification-panel-head strong {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.1rem;
}

.site-notification-mark-read {
  color: var(--muted);
  font: inherit;
  font-size: 0.76rem;
  cursor: pointer;
}

.site-notification-mark-read:hover,
.site-notification-mark-read:focus-visible {
  color: var(--text);
}

.site-notification-mark-read:disabled {
  opacity: 0.42;
  cursor: default;
}

.site-notification-status {
  margin: 0;
  padding: 24px 12px;
  color: var(--muted);
  font-size: 0.85rem;
  text-align: center;
}

.site-notification-list {
  display: grid;
  gap: 6px;
  padding-top: 8px;
}

.site-notification-item {
  position: relative;
  min-width: 0;
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 11px;
  align-items: start;
  padding: 11px;
  border: 1px solid transparent;
  border-radius: 8px;
  color: var(--text);
  background: rgba(255, 255, 255, 0.025);
  transition: border-color 180ms ease, background-color 180ms ease;
}

.site-notification-item:hover,
.site-notification-item:focus-visible {
  border-color: var(--line-strong);
  background: rgba(255, 255, 255, 0.055);
}

.site-notification-item.is-unread {
  border-color: color-mix(in srgb, var(--accent) 42%, transparent);
  background: color-mix(in srgb, var(--accent) 8%, rgba(255, 255, 255, 0.025));
}

.site-notification-item.is-unread::after {
  content: "";
  position: absolute;
  top: 14px;
  right: 11px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
}

.site-notification-avatar {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(214, 226, 255, 0.16);
  border-radius: 8px;
  color: #0a1730;
  background: #bfcdea;
  font-size: 0.76rem;
  font-weight: 800;
}

.site-notification-item-body {
  min-width: 0;
  display: grid;
  gap: 4px;
  padding-right: 12px;
}

.site-notification-item-body strong,
.site-notification-item-body span {
  overflow: hidden;
  text-overflow: ellipsis;
}

.site-notification-item-body strong {
  font-size: 0.84rem;
  white-space: nowrap;
}

.site-notification-item-body span {
  color: var(--muted);
  font-size: 0.8rem;
  white-space: nowrap;
}

.site-notification-item-body time {
  color: #8fa0c1;
  font-size: 0.7rem;
}

@media (max-width: 1080px) {
  .admin-metric-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .admin-user-card {
    grid-template-columns: minmax(220px, 1fr) minmax(250px, 1fr);
  }

  .admin-gold-entry {
    grid-template-columns: 60px minmax(200px, 1fr) 110px;
  }

  .admin-gold-stage {
    grid-column: 2 / 4;
  }

  .admin-gold-entry-actions {
    grid-column: 2 / 4;
  }

  .admin-moderation-card-head {
    align-items: flex-start;
    flex-direction: column;
  }

  .admin-access-reason,
  .admin-user-flags,
  .admin-user-moderation,
  .admin-user-actions {
    grid-column: span 2;
  }

  .admin-user-actions {
    justify-content: flex-start;
  }

  .site-nav-search:hover .site-nav-search-input,
  .site-nav-search:focus-within .site-nav-search-input,
  .site-nav-search.is-open .site-nav-search-input {
    width: clamp(190px, 30vw, 320px);
  }
}

@media (max-width: 920px) {
  .site-mode-switch {
    position: static;
    order: -1;
    margin-bottom: 6px;
  }

  .site-mode-panel {
    width: min(360px, calc(100vw - 32px));
  }

  .site-nav {
    width: 100%;
  }

  .site-nav-search {
    order: -1;
    width: min(100%, 420px);
    margin: 0 0 8px;
  }

  .site-nav-search-input,
  .site-nav-search:hover .site-nav-search-input,
  .site-nav-search:focus-within .site-nav-search-input,
  .site-nav-search.is-open .site-nav-search-input {
    position: static;
    transform: none;
    width: 100%;
    height: 44px;
    padding: 0 52px 0 16px;
    opacity: 1;
    pointer-events: auto;
  }

  .site-nav-search-trigger {
    position: absolute;
    right: 8px;
    top: 50%;
    transform: translateY(-50%);
  }

  .site-nav-search:hover .site-nav-search-trigger,
  .site-nav-search:focus-within .site-nav-search-trigger,
  .site-nav-search.is-open .site-nav-search-trigger {
    transform: translateY(-50%);
  }

  .site-notification-center {
    align-self: flex-end;
  }
}

@media (max-width: 720px) {
  .site-notification-panel {
    position: fixed;
    top: 16px;
    right: 14px;
    left: 14px;
    width: auto;
    max-height: calc(100vh - 32px);
  }

  .admin-panel {
    width: min(100% - 28px, 1280px);
    padding-top: 20px;
  }

  .admin-panel-header,
  .admin-hero,
  .admin-section-heading {
    align-items: flex-start;
    flex-direction: column;
  }

  .admin-hero,
  .admin-section {
    padding: 22px;
  }

  .admin-metric-grid,
  .admin-user-card,
  .admin-user-flags {
    grid-template-columns: 1fr;
  }

  .admin-access-reason,
  .admin-user-flags,
  .admin-user-moderation,
  .admin-user-actions {
    grid-column: auto;
  }

  .admin-search-form,
  .admin-search-form input,
  .admin-moderation-toolbar,
  .admin-moderation-toolbar input,
  .admin-moderation-toolbar select,
  .admin-access-reason,
  .admin-user-controls,
  .admin-user-controls select {
    width: 100%;
  }

  .admin-gold-toolbar,
  .admin-gold-toolbar label,
  .admin-gold-toolbar input,
  .admin-gold-toolbar select,
  .admin-gold-add-row,
  .admin-gold-add-row select {
    width: 100%;
  }

  .admin-gold-entry {
    grid-template-columns: 48px minmax(0, 1fr);
    align-items: center;
  }

  .admin-gold-score,
  .admin-gold-stage,
  .admin-gold-entry-actions {
    grid-column: 1 / 3;
  }

  .admin-gold-footer {
    align-items: stretch;
    flex-direction: column;
  }

  .admin-panel-header-actions {
    justify-content: flex-start;
  }

  .auth-shell {
    grid-template-columns: 1fr;
  }

  .auth-brand-panel {
    border-right: 0;
    border-bottom: 1px solid rgba(214, 226, 255, 0.1);
    padding: 30px;
  }

  .auth-form-panel {
    padding: 30px;
  }

  .account-session-actions {
    grid-template-columns: 1fr;
  }

  .account-secondary-action {
    width: 100%;
  }

  .legal-page-layout {
    width: min(100% - 28px, 920px);
    padding-top: 20px;
  }

  .legal-document {
    padding: 24px;
  }

  .site-mode-switch {
    margin-bottom: 8px;
  }

  .site-mode-trigger {
    width: 56px;
    height: 64px;
    min-height: 64px;
  }

  .site-mode-trigger-glyph {
    width: 46px;
    height: 56px;
  }

  .site-account-trigger-head {
    width: 22px;
    height: 22px;
  }

  .site-account-trigger-body {
    top: 30px;
    width: 44px;
    height: 16px;
  }

  .site-account-action {
    min-height: 42px;
    font-size: 1.1rem;
  }
}

/* Mode-aware surfaces */
body {
  --mode-accent-soft: color-mix(in srgb, var(--mode-accent, #89a8f1) 14%, transparent);
  --mode-accent-medium: color-mix(in srgb, var(--mode-accent, #89a8f1) 24%, transparent);
  --mode-accent-border: color-mix(
    in srgb,
    var(--mode-accent, #89a8f1) 46%,
    rgba(214, 226, 255, 0.16)
  );
}

body[data-site-mode]:not([data-site-mode="project"]) .home-hero .floating-card {
  display: none;
}

.visual-glow {
  background: radial-gradient(
    circle,
    color-mix(in srgb, var(--mode-accent, #89a8f1) 30%, transparent),
    transparent 66%
  );
}

.btn-primary {
  border-color: var(--mode-accent-border);
  background: linear-gradient(
    135deg,
    color-mix(in srgb, var(--mode-accent, #89a8f1) 28%, #f4f6fb),
    color-mix(in srgb, var(--mode-accent, #89a8f1) 78%, #4a5264)
  );
  color: #07101a;
}

.rail-shell {
  border-color: var(--mode-accent-border);
  background:
    linear-gradient(180deg, var(--mode-accent-soft), rgba(255, 255, 255, 0.01)),
    rgba(8, 10, 17, 0.84);
}

.rail-shell::before {
  background: radial-gradient(
    circle,
    color-mix(in srgb, var(--mode-accent, #89a8f1) 24%, transparent),
    transparent 70%
  );
}

.rail-feature {
  border-color: color-mix(
    in srgb,
    var(--mode-accent, #89a8f1) 20%,
    rgba(255, 255, 255, 0.08)
  );
  background: linear-gradient(
    180deg,
    color-mix(in srgb, var(--mode-accent, #89a8f1) 8%, rgba(255, 255, 255, 0.035)),
    rgba(255, 255, 255, 0.012)
  );
}

.rail-meter span {
  background: linear-gradient(
    90deg,
    color-mix(in srgb, var(--mode-accent, #89a8f1) 28%, #eef2f8),
    var(--mode-accent, #89a8f1)
  );
}

.thread-article-link,
.pool-comment-submit,
.profile-save-btn,
.profile-project-publish,
.auth-mode-tab.is-active,
.auth-page-submit {
  border-color: var(--mode-accent-border);
  background: var(--mode-accent-soft);
}

.thread-article-link:hover,
.thread-article-link:focus-visible,
.pool-comment-submit:hover,
.pool-comment-submit:focus-visible,
.profile-save-btn:hover,
.profile-save-btn:focus-visible,
.profile-project-publish:hover,
.profile-project-publish:focus-visible,
.auth-mode-tab.is-active:hover,
.auth-mode-tab.is-active:focus-visible,
.auth-page-submit:hover,
.auth-page-submit:focus-visible {
  border-color: color-mix(in srgb, var(--mode-accent, #89a8f1) 68%, #eef4ff);
  background: var(--mode-accent-medium);
}

.profile-project-edit {
  border-color: var(--mode-accent-border);
  background:
    linear-gradient(180deg, var(--mode-accent-soft), rgba(255, 255, 255, 0.04)),
    rgba(10, 12, 20, 0.82);
}

.profile-project-edit:hover,
.profile-project-edit:focus-visible {
  border-color: color-mix(in srgb, var(--mode-accent, #89a8f1) 68%, #eef4ff);
  background:
    linear-gradient(180deg, var(--mode-accent-medium), rgba(255, 255, 255, 0.05)),
    rgba(12, 14, 24, 0.88);
}

.pool-comment-input:focus-visible,
.profile-field input:focus,
.profile-field textarea:focus {
  border-color: var(--mode-accent-border);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--mode-accent, #89a8f1) 12%, transparent);
}

.pool-comment-anonymous input {
  accent-color: var(--mode-accent, #89a8f1);
}

/* Mode-aware page controls */
.ranking-mode-switch,
.community-scope-tabs {
  border-color: var(--mode-accent-border);
  background:
    linear-gradient(180deg, var(--mode-accent-soft), rgba(255, 255, 255, 0.01)),
    rgba(8, 10, 17, 0.78);
}

.ranking-mode-btn.is-active,
.community-scope-tabs button.is-active,
.community-scope-tabs button:hover,
.community-scope-tabs button:focus-visible {
  border-color: var(--mode-accent-border);
  background: var(--mode-accent-medium);
  color: var(--text);
}

.top100-filter-trigger {
  border-color: var(--mode-accent-border);
  background:
    linear-gradient(180deg, var(--mode-accent-soft), rgba(255, 255, 255, 0.02)),
    rgba(8, 10, 17, 0.88);
}

.top100-filter-trigger:hover,
.top100-filter-trigger:focus-visible,
.top100-filter-dock[open] .top100-filter-trigger {
  border-color: color-mix(in srgb, var(--mode-accent, #89a8f1) 68%, #eef4ff);
  background:
    linear-gradient(180deg, var(--mode-accent-medium), rgba(255, 255, 255, 0.03)),
    rgba(8, 10, 17, 0.92);
}

.top100-filter-trigger svg {
  stroke: color-mix(in srgb, var(--mode-accent, #89a8f1) 52%, #f4f7ff);
}

.top100-filter-panel {
  border-color: var(--mode-accent-border);
  background:
    radial-gradient(circle at top right, var(--mode-accent-soft), transparent 38%),
    linear-gradient(180deg, rgba(13, 16, 24, 0.98), rgba(8, 10, 17, 0.98));
}

.top100-filter-field select,
.top100-filter-reset {
  border-color: var(--mode-accent-border);
  background: color-mix(in srgb, var(--mode-accent, #89a8f1) 8%, rgba(8, 10, 17, 0.9));
}

.top100-filter-field select {
  background-color: color-mix(in srgb, var(--mode-accent, #89a8f1) 8%, #0a0c12) !important;
}

.top100-filter-field select:focus-visible,
.top100-filter-reset:hover,
.top100-filter-reset:focus-visible {
  border-color: color-mix(in srgb, var(--mode-accent, #89a8f1) 68%, #eef4ff);
  background: var(--mode-accent-soft);
}

.search-terminal {
  border-color: var(--mode-accent-border);
  background:
    linear-gradient(180deg, var(--mode-accent-soft), rgba(255, 255, 255, 0.01)),
    rgba(8, 10, 17, 0.84);
}

.search-bar {
  border-color: color-mix(in srgb, var(--mode-accent, #89a8f1) 34%, rgba(255, 255, 255, 0.08));
  background: color-mix(in srgb, var(--mode-accent, #89a8f1) 7%, rgba(255, 255, 255, 0.025));
}

.search-live-form:focus-within {
  border-color: var(--mode-accent-border);
  background: var(--mode-accent-soft);
}

.search-live-form button[type="submit"],
.search-tags button {
  border-color: var(--mode-accent-border);
  background: var(--mode-accent-soft);
}

.site-nav-search-input {
  border-color: var(--mode-accent-border);
  background:
    linear-gradient(180deg, var(--mode-accent-soft), rgba(255, 255, 255, 0.01)),
    color-mix(in srgb, var(--mode-accent, #89a8f1) 7%, rgba(8, 10, 17, 0.97));
}

.site-nav-search:hover .site-nav-search-input,
.site-nav-search:focus-within .site-nav-search-input,
.site-nav-search.is-open .site-nav-search-input,
.site-nav-search-input:focus-visible {
  border-color: color-mix(in srgb, var(--mode-accent, #89a8f1) 68%, #eef4ff);
  background:
    linear-gradient(180deg, var(--mode-accent-medium), rgba(255, 255, 255, 0.015)),
    color-mix(in srgb, var(--mode-accent, #89a8f1) 9%, rgba(8, 10, 17, 0.97));
}

.site-nav-search-input::placeholder {
  color: color-mix(in srgb, var(--mode-accent, #89a8f1) 28%, #aebbd2);
}

.site-nav-search:hover .site-nav-search-trigger,
.site-nav-search:focus-within .site-nav-search-trigger,
.site-nav-search.is-open .site-nav-search-trigger {
  background: var(--mode-accent-soft);
}

.profile-summary-card,
.profile-pane,
.profile-edit-card,
.profile-project-card,
.timeline-card,
.status-card,
.update-card,
.top-card {
  border-color: var(--mode-accent-border);
  background:
    linear-gradient(180deg, var(--mode-accent-soft), rgba(255, 255, 255, 0.01)),
    rgba(8, 10, 17, 0.86);
}

.status-metrics div {
  border-color: color-mix(in srgb, var(--mode-accent, #89a8f1) 25%, rgba(255, 255, 255, 0.05));
  background: color-mix(in srgb, var(--mode-accent, #89a8f1) 7%, rgba(255, 255, 255, 0.025));
}


