:root {
  color-scheme: light;
  --bg: #fff8ef;
  --side: #fffdf8;
  --panel: #fffefa;
  --edge: #eadacb;
  --text: #281734;
  --muted: #614e65;
  --link: #963061;
  --pink: #c02871;
  --hot: #9f1e5f;
  --yellow: #ffdd66;
  font-family: Inter, system-ui, sans-serif;
}
* { box-sizing: border-box; }
body {
  margin: 0;
  min-height: 100vh;
  display: grid;
  grid-template-columns: 213px minmax(0, 1fr);
  color: var(--text);
  background: var(--bg);
}
aside {
  position: sticky;
  top: 0;
  height: 100vh;
  padding: 25px 14px;
  display: flex;
  flex-direction: column;
  background: var(--side);
  border-right: 1px solid var(--edge);
}
.brand {
  display: grid;
  grid-template-columns: 22px 1fr;
  gap: 3px 8px;
  align-items: baseline;
  padding: 4px 7px 25px;
  color: var(--text);
  text-decoration: none;
  font: 700 25px/.96 Georgia, serif;
  letter-spacing: -.035em;
}
.brand-spark { color: var(--pink); font-size: 22px; }
.brand-sub, .eyebrow, th, .metric span {
  font: 700 10px/1.55 ui-monospace, monospace;
  letter-spacing: .105em;
}
.brand-sub { grid-column: 2; margin-top: 4px; color: #7e3962; }
nav { display: grid; gap: 5px; }
nav a {
  padding: 10px 8px;
  background: transparent;
  border: 1px solid transparent;
  border-radius: 8px;
  color: var(--muted);
  font-size: 13px;
  text-decoration: none;
  white-space: nowrap;
}
nav a b { display: inline-block; width: 20px; color: var(--pink); }
nav a:hover, nav a[aria-current] {
  color: #71194d;
  background: #ffe3ee;
  border-color: #ffc6de;
}
.storage { margin: auto 7px 0; color: var(--muted); font-size: 12px; }
.storage i {
  display: inline-block;
  width: 7px;
  height: 7px;
  margin-right: 5px;
  border-radius: 100%;
  background: #148174;
}
.quiet {
  display: block;
  padding: 5px 0;
  border: 0;
  background: none;
  color: var(--link);
  font-size: 12px;
  text-align: left;
  text-decoration: underline;
  cursor: pointer;
}
.storage button { margin-top: 6px; }
.import input { position: absolute; width: 1px; height: 1px; opacity: 0; }
main {
  width: 100%;
  max-width: 1540px;
  min-width: 0;
  margin: 0 auto;
  padding: 0 clamp(19px, 3.1vw, 50px) 42px;
}
.top {
  min-height: 64px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-size: 12px;
}
.top b { color: var(--text); }
.top em { padding: 0 6px; color: #905d78; }
.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  overflow: hidden;
  margin-bottom: 29px;
  border: 1px solid #edb6ac;
  border-radius: 23px;
  background: radial-gradient(ellipse at 8% 5%, #fff4ae 0, #ffedd0 45%, #ffd4e4 100%);
  box-shadow: 0 12px 35px #78254818;
}
body[data-page]:not([data-page="home"]) .hero { display: none; }
.hero-copy {
  align-self: center;
  padding: clamp(22px, 4vw, 58px);
  padding-right: clamp(14px, 2.3vw, 35px);
}
.hero .eyebrow { color: #8b275b; font-size: 11px; letter-spacing: .17em; }
h1, h2, h3, p { margin: 0; }
h1 {
  margin: 10px 0 16px;
  color: #2a1736;
  font: 700 clamp(47px, 6.2vw, 96px)/.91 Georgia, serif;
  letter-spacing: -.068em;
}
h1 em { display: block; color: #a82162; font-weight: inherit; }
h2 { font-size: 24px; font-weight: 730; letter-spacing: -.039em; }
h3 { font-size: 16px; }
p, .sub { color: var(--muted); font-size: 13px; line-height: 1.55; }
.hero p { max-width: 32ch; color: #533448; font-size: clamp(14px, 1.25vw, 17px); }
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 16px;
  margin-top: 22px;
}
.hero-photo {
  position: relative;
  min-height: 320px;
  margin: 0;
  isolation: isolate;
  background: #231c34;
}
.hero-photo img { position: absolute; width: 100%; height: 100%; object-fit: cover; object-position: 58% 52%; }
.hero-photo figcaption {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 2px 12px;
  justify-content: space-between;
  align-items: center;
  padding: 9px 12px;
  color: #fff0f5;
  background: linear-gradient(transparent, #0a0816ed 45%);
  padding-top: 22px;
  font-size: 11px;
}
.hero-photo figcaption a { color: #fff1b5; font-weight: 700; }
.telescope-slide { position: absolute; inset: 0; margin: 0; }
.telescope-image { display: block; position: absolute; inset: 0; }
.telescope-contain img { object-fit: contain; object-position: center; }
.telescope-image:focus-visible { outline-offset: -4px; z-index: 1; }
.telescope-controls { position: absolute; top: 10px; right: 10px; z-index: 2; display: flex; gap: 6px; }
.telescope-controls[hidden] { display: none; }
.telescope-position { align-self: center; padding: 4px 8px; border-radius: 8px; background: #231c34ed; color: white; font-size: 12px; white-space: nowrap; }
.telescope-controls button {
  min-width: 44px;
  min-height: 44px;
  padding: 0 10px;
  border: 1px solid #ffffffa0;
  border-radius: 8px;
  background: #231c34ed;
  color: white;
  font: inherit;
  cursor: pointer;
}
.telescope-controls button:hover { background: #483652; }
.cosmology-podcast-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.cosmology-podcast-grid h3 { margin: 6px 0; }
@media (max-width: 730px) {
  .cosmology-podcast-grid { grid-template-columns: 1fr; }
}
.heading, .bar, .row-title { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.heading { margin-bottom: 12px; }
.heading p { margin-top: 4px; }
.bar { margin-bottom: 12px; }
.panels { display: grid; grid-template-columns: minmax(0, 3fr) minmax(205px, 1fr); gap: 14px; align-items: start; }
.panel, .card, .metric {
  min-width: 0;
  padding: 15px;
  border: 1px solid var(--edge);
  border-radius: 11px;
  background: var(--panel);
}
.stack > * + * { margin-top: 12px; }
.stack > .heading { margin-bottom: 8px; }
.formula { color: #842051; font: 13px/1.5 ui-monospace, monospace; overflow-wrap: anywhere; }
.table-wrap { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; text-align: left; font-size: 12px; }
th, td { padding: 8px 7px; border-bottom: 1px solid var(--edge); vertical-align: middle; }
th { color: var(--muted); white-space: nowrap; }
td small { display: block; color: var(--muted); margin-top: 3px; }
td strong { color: #8a2557; }
tr:last-child td { border-bottom: 0; }
input, select, textarea, button { font: inherit; }
input, select, textarea {
  max-width: 100%;
  padding: 7px 8px;
  border: 1px solid #b893ae;
  border-radius: 6px;
  background: #fff;
  color: var(--text);
  font-size: 12px;
}
:focus-visible, .import:focus-within { outline: 2px solid #a42366; outline-offset: 2px; }
input[type=number] { width: 95px; }
td input[type=number] { width: 78px; }
td select { min-width: 86px; }
button, .primary-link {
  padding: 8px 11px;
  border: 1px solid #d39bb9;
  border-radius: 7px;
  background: #ffe8f1;
  color: #681b4c;
  font-size: 12px;
  font-weight: 740;
  cursor: pointer;
}
button:hover { background: #ffdae9; }
button.primary, .primary-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border-color: var(--hot);
  background: var(--hot);
  color: #fff7fa;
  text-decoration: none;
}
button.primary:hover, .primary-link:hover { background: #78174b; }
button:disabled { opacity: .55; cursor: default; }
a { color: var(--link); }
.share-button { white-space: nowrap; }
.tag {
  display: inline-flex;
  padding: 4px 8px;
  border: 1px solid #c9b3d5;
  border-radius: 999px;
  background: #f6ecff;
  color: #623883;
  font-size: 11px;
  white-space: nowrap;
}
.tag.supported, .tag.complete { color: #085b54; background: #d6f5eb; border-color: #91ccbf; }
.tag.tentative, .tag.missing { color: #654106; background: #fff0ba; border-color: #e7c766; }
.tag.challenged, .tag.speculative { color: #79214f; background: #ffe2ee; border-color: #e8a7c5; }
.stats, .grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(175px, 1fr)); gap: 12px; }
.stats { margin-bottom: 12px; }
.metric span { display: block; color: var(--muted); }
.metric strong { display: block; margin: 5px 0; font-size: 23px; }
.card p, .card ul { margin-top: 7px; }
.card ul { padding-left: 18px; color: var(--muted); font-size: 12px; }
.card a { display: inline-block; margin-top: 5px; font-size: 12px; }
.fields { display: flex; flex-wrap: wrap; gap: 10px; align-items: end; }
.fields label, .research-form label { display: grid; gap: 5px; color: var(--muted); font-size: 12px; }
.wide { width: 100%; }
textarea { min-height: 64px; resize: vertical; }
details { padding-top: 8px; }
summary { color: var(--link); font-size: 12px; cursor: pointer; }
#notice:not(:empty) {
  position: fixed;
  right: 16px;
  bottom: 16px;
  z-index: 3;
  max-width: min(460px, 90vw);
  padding: 12px 15px;
  border: 1px solid #dfa5c4;
  border-radius: 8px;
  color: #511936;
  background: #fff1f7;
  box-shadow: 0 8px 24px #78174b2e;
  font-size: 13px;
}
progress { width: 100%; accent-color: var(--pink); }
.muted { color: var(--muted); }
.spaced { margin-top: 12px; }
.revision { padding-left: 13px; border-left: 2px solid #e4a4c1; }
.revision time { color: var(--link); font: 12px ui-monospace, monospace; }
.revision p, pre { white-space: pre-wrap; overflow-wrap: anywhere; }
td a { white-space: nowrap; }
.parameter { min-width: 118px; }
.controls { display: flex; flex-wrap: wrap; gap: 7px; }
.inline-input { width: 100%; min-width: 90px; }
.home-columns { display: grid; grid-template-columns: minmax(0, 1.57fr) minmax(0, 1fr); gap: 20px; align-items: start; }
.rank-list { display: grid; gap: 9px; }
.rank { display: grid; grid-template-columns: 29px minmax(0, 1fr) auto; gap: 10px; align-items: start; }
.rank-no { color: #8c2559; font: 700 24px Georgia, serif; }
.rank p { margin-top: 4px; }
.rank-list .rank:first-child { border-color: #e1b94e; background: #fff4be; }
.research-form { display: grid; gap: 12px; max-width: 660px; }
.review-form { display: grid; gap: 9px; margin-top: 10px; }
.review-form textarea { display: block; width: 100%; }
.research-form button { justify-self: start; }
.empty { padding: 15px; border: 1px dashed #c79eac; border-radius: 8px; }
pre { color: var(--muted); font-size: 11px; }
.idea-panel { max-width: 680px; padding: clamp(16px, 3vw, 28px); }
.idea-panel .research-form { gap: 16px; }
.idea-panel label { color: var(--text); font-size: 15px; font-weight: 650; }
.idea-panel input, .idea-panel textarea { font-size: 16px; padding: 11px 12px; }
.idea-panel textarea { min-height: 104px; }
.idea-panel label span, .idea-examples span { color: var(--muted); font-size: 12px; font-weight: 400; }
.idea-panel .primary { min-height: 44px; }
.idea-examples { display: flex; flex-wrap: wrap; align-items: center; gap: 7px; margin-top: -8px; }
.idea-examples button { border-radius: 999px; }
@media (max-width: 1100px) {
  .panels { grid-template-columns: 1fr; }
  .sidepanel { display: grid; grid-template-columns: repeat(auto-fit, minmax(175px, 1fr)); gap: 12px; }
  .sidepanel > * { margin: 0; }
}
@media (max-width: 860px) {
  body { display: block; }
  aside { position: static; height: auto; padding: 12px 16px; border: 0; border-bottom: 1px solid var(--edge); }
  nav { display: flex; overflow: auto; padding-bottom: 3px; }
  nav a { padding: 6px 8px; }
  nav a b { width: 15px; }
  .brand { display: flex; align-items: center; gap: 6px; padding: 0 0 9px; }
  .brand-title br, .brand-sub { display: none; }
  .storage { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 3px 0 0; }
  .storage button { margin: 0; }
  .top { min-height: 53px; }
}
@media (max-width: 620px) {
  main { padding-inline: 14px; }
  .hero { grid-template-columns: 1fr; margin-bottom: 22px; border-radius: 16px; }
  .hero-copy { padding: 21px 19px; }
  h1 { max-width: 12ch; }
  h1 em { display: inline; }
  .hero-actions { margin-top: 15px; }
  .hero-photo { min-height: 0; aspect-ratio: 4 / 2.5; }
  .home-columns { grid-template-columns: 1fr; }
  .rank { grid-template-columns: 24px minmax(0, 1fr); }
  .rank > .tag { grid-column: 2; justify-self: start; }
  .hero-photo figcaption { padding: 18px 8px 6px; }
}

:root {
  color-scheme: dark;
  --brand-font: Georgia, serif;
  --bg: #29202b;
  --side: #332633f0;
  --panel: #362938f5;
  --edge: #745b6c;
  --text: #fff4ec;
  --muted: #e2cfd6;
  --link: #ffb4d2;
  --pink: #ff7cb1;
  --hot: #b8286e;
  --yellow: #ffe181;
}
body { isolation: isolate; }
body::before {
  content: "";
  position: fixed;
  z-index: -1;
  inset: 0;
  background: linear-gradient(100deg, #301d31da 3%, #39283983 57%, #321c33ba),
    url("/deep-field.jpg") center 51% / cover no-repeat;
  pointer-events: none;
}
.brand { font-family: var(--brand-font); }
.brand-sub { color: #ffb7d5; }
nav a:hover, nav a[aria-current] {
  color: #ffe4f0;
  background: #60304f;
  border-color: #ad577f;
}
.top em { color: #ff9cbe; }
.hero {
  border-color: #b7758a;
  background: radial-gradient(ellipse at 8% 12%, #793b58f5 0, #673c51ef 56%, #522e47ee 100%);
  box-shadow: 0 14px 36px #200d2387;
}
.hero .eyebrow { color: #ffe18c; }
.hero h1 {
  color: #fff4ea;
  font-family: var(--brand-font);
  font-style: normal;
  line-height: .96;
  letter-spacing: -.035em;
  font-size: clamp(42px, 6.1vw, 86px);
  text-wrap: balance;
}
.hero p { color: #fff1ee; }
.panel, .card, .metric { box-shadow: 0 5px 14px #13081732; }
button:not(.quiet):not(.primary) {
  color: #ffe7f0;
  background: #614052;
  border-color: #a96f8d;
}
button:not(.quiet):not(.primary):hover { background: #7a4d64; }
button.primary { background: #b8286e; border-color: #ff80b1; }
button.primary:hover { background: #912054; }
.quiet:hover { background: transparent; color: #ffe18c; }
input, select, textarea { border-color: #986d90; background: #2b1f2e; }
input::placeholder, textarea::placeholder { color: #c9abc2; }
:focus-visible, .import:focus-within { outline-color: #ffe18c; }
.formula, td strong, .rank-no { color: #ffb4d2; }
.rank-list .rank:first-child {
  border-color: #cf9e57;
  background: #63443ef7;
}
.rank-list .rank:first-child .rank-no { color: #ffe181; }
#notice:not(:empty) { color: #ffeaf3; background: #5c3047; }
.storage i { background: #7ee4c9; }
.background-credit {
  display: table;
  margin: 18px 0 0;
  padding: 5px 8px;
  border-radius: 5px;
  background: #2a1c30ed;
  color: #e9d5de;
  font-size: 11px;
}
@media (max-width: 860px) {
  nav a { display: inline-flex; align-items: center; min-height: 38px; }
  aside { background: #322432f8; }
}
@media (max-width: 620px) {
  .hero h1 { font-size: clamp(40px, 10vw, 58px); }
}

.hero-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  max-width: 440px;
  gap: 10px;
}
.hero-button {
  display: inline-flex;
  min-height: 58px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 11px;
  border: 1px solid #ffffff60;
  border-radius: 15px;
  font-size: clamp(13px, 1.2vw, 16px);
  font-weight: 800;
  text-decoration: none;
  text-align: center;
  box-shadow: 0 5px 0 #26152978;
  transition: transform .18s ease, box-shadow .18s ease, filter .18s ease;
}
.hero-button:hover {
  transform: translateY(-3px);
  filter: brightness(1.08);
  box-shadow: 0 8px 0 #26152978;
}
.hero-button:active { transform: translateY(2px); box-shadow: 0 2px 0 #26152978; }
.hero-idea-button { background: linear-gradient(135deg, #ffe680 8%, #ffc766 100%); color: #362815; }
.hero-simulation-button { background: linear-gradient(135deg, #a7edff 8%, #80c5ff 100%); color: #182746; }
.action-symbol {
  display: grid;
  flex: 0 0 25px;
  width: 25px;
  height: 25px;
  place-items: center;
  border-radius: 8px;
  background: #ffffff73;
  font: 800 19px/1 system-ui, sans-serif;
}
.action-play::after {
  content: "";
  width: 0;
  height: 0;
  margin-left: 2px;
  border: 6px solid transparent;
  border-left: 9px solid currentColor;
  border-right: 0;
}
.home-columns { grid-template-columns: minmax(0, 1fr) minmax(0, .94fr); }
.technical-name { display: block; margin-top: 2px; color: #cbdffb; font-size: 11px; }
.home-ideas .heading h2 { color: #b4eed4; }
.home-ideas .card {
  border-color: #73aaa28c;
  border-left: 3px solid #85ceb3;
  background: #2b3743f7;
}
.evolving-card .row-title { align-items: start; row-gap: 5px; }
.evolving-links { display: flex; flex-wrap: wrap; gap: 3px 14px; margin-top: 3px; }
.evolving-links a { color: #b3e3ff; }
.ideas-invite { display: inline-block; margin-top: 12px; color: #b4eed4; font-size: 13px; font-weight: 700; }
.home-gallery { margin-top: 25px; }
@media (max-width: 1000px) {
  .hero-actions { grid-template-columns: 1fr; max-width: 240px; }
}
@media (max-width: 620px) {
  .hero-actions { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: none; }
  .home-columns { grid-template-columns: 1fr; }
}
@media (max-width: 355px) {
  .hero-actions { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  .hero-button { transition: none; }
}

.sidebar-quote {
  margin: 20px 7px 12px;
  padding-left: 9px;
  border-left: 2px solid #91ddc0;
  color: #e2d4ed;
  font-size: 12px;
}
.rank-share { display: grid; min-width: 76px; gap: 3px; justify-items: end; }
.rank-share strong { color: #ffdf83; font-size: 23px; line-height: 1; }
.rank-share meter { width: 64px; height: 8px; }
.rank-share meter::-webkit-meter-bar { background: #251b36; border-color: #655882; }
.rank-share meter::-webkit-meter-optimum-value { background: #93dbff; }
.rank-share meter::-moz-meter-bar { background: #93dbff; }
.discussion-topics { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }
.discussion-topic { border: 1px solid #79bad2; border-radius: 999px; padding: 8px 11px; color: #d5efff; background: #293849; text-decoration: none; }
.discussion-topic[aria-current], .discussion-topic:hover { background: #9fe5ff; color: #172b43; }
.discussion-post p { white-space: pre-wrap; overflow-wrap: anywhere; }
.discussion-post small { color: var(--muted); }
.guide-example { max-width: 680px; border-color: #85ccc2; }
.guide-example .metric strong, .guide-result strong { color: #ffe38b; }
.guide-result { padding: 12px; border-left: 3px solid #8adcc3; background: #223744; border-radius: 5px; }
.guide-result strong { font-size: 28px; }
@media (max-width:620px) {
  .rank > .rank-share { grid-column: 2; justify-items: start; }
  .sidebar-quote { margin: 7px 0; }
}

aside {
  --menu-bg: #153d6a;
  --menu-raised: #204a7a;
  --menu-active: #28578b;
  --menu-ink: #ffed7b;
  --menu-edge: #c4b56a;
  background: var(--menu-bg);
  border-color: var(--menu-edge);
  color: var(--menu-ink);
  overflow-y: auto;
}
aside .brand, aside .storage, aside nav a, aside .sidebar-quote,
aside .brand-spark, aside .brand-sub, aside nav a b, aside .quiet {
  color: var(--menu-ink);
}
aside .storage i { background: var(--menu-ink); }
aside nav a:hover, aside nav a[aria-current] {
  color: var(--menu-ink);
  background: var(--menu-active);
  border-color: var(--menu-edge);
}
aside .sidebar-quote { border-color: var(--menu-edge); }
aside .quiet:hover { color: #fff7b8; }
aside :focus-visible { outline-color: var(--menu-ink); }
aside nav[aria-label="Life and evolution"] { margin: 0 0 12px; }
.fields input.life-input { width: min(100%, 205px); }
.timing-outcome {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 3px 8px;
  font-size: 13px;
}
.timing-outcome strong { color: #ffe38b; }
.timing-outcome meter { grid-column: 1 / -1; width: 100%; height: 9px; }
.timing-outcome meter::-webkit-meter-optimum-value { background: #8be4cc; }
.timing-outcome meter::-moz-meter-bar { background: #8be4cc; }

::selection { background: #ff9647; color: #291707; }
.discussion-topic[aria-current] {
  background: #ffba83;
  border-color: #a95921;
  color: #3f230e;
}
.workspace-motto { margin: 0 0 15px; color: #ffe0bf; }

:root {
  --bg: #2c221e;
  --panel: #322924f5;
  --edge: #7c6252;
  --muted: #e8d4c8;
}
body::before {
  background: linear-gradient(103deg, #2115229e 5%, #21152236 56%, #21152275),
    url("/media/deep-field-hd.webp") center 51% / cover no-repeat;
}
.hero {
  background: radial-gradient(ellipse at 10% 12%, #7f4228f5, #59301df0 75%);
  border-color: #bb7851;
}
.hero-idea-button { background: linear-gradient(135deg, #fff285, #ffd020); color: #382702; }
.hero-simulation-button { background: linear-gradient(135deg, #235eac, #153d80); color: #fff; }
.hero-simulation-button .action-symbol { background: #ffffff24; }
aside nav[aria-label="Life and evolution"] a {
  background: var(--menu-raised);
  border-color: var(--menu-edge);
}
aside nav[aria-label="Life and evolution"] a[aria-current],
aside nav[aria-label="Life and evolution"] a:hover {
  background: var(--menu-active);
}
#timing-form button.primary {
  background: #087649;
  border-color: #56d698;
  color: #fff;
}
#timing-form button.primary:hover { background: #075d39; }
.rank-share .tag { background: #244c88; color: #fff; border-color: #7dbaff; }
.rank-share .tag.supported { background: #08714d; color: #fff; border-color: #7ad7ac; }
.rank-share .tag.tentative { background: #995017; color: #fff; border-color: #ffc27b; }
.rank-share .tag.speculative, .rank-share .tag.challenged {
  background: #7b391e;
  color: #fff;
  border-color: #fca575;
}

.home-ideas .rank {
  border: 1px solid var(--edge);
  background: var(--panel);
}
.home-ideas .rank:first-child {
  border-color: #d49d54;
  background: #513828;
}
.rank-share .tag.speculative, .rank-share .tag.challenged {
  background: #9c262d;
  color: #fff;
  border-color: #ff8f8e;
}
.rank-share .tag.thought { background: #244c88; color: #fff; }
.frontier-rules { margin: 10px 0; padding-left: 19px; color: var(--muted); font-size: 13px; line-height: 1.6; }
.research-columns { margin-top: 24px; }
.research-card h3 { margin-top: 6px; }
.research-meta { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 5px 12px; color: #ffcb90; font-size: 12px; }
.research-meta time { color: var(--muted); }

.leaderboard-banner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px 24px;
  margin: 0 0 20px;
  padding: 15px 17px;
  border: 1px solid #d59c62;
  border-radius: 12px;
  background: linear-gradient(112deg,#50331fee,#302622f5);
}
.leaderboard-banner h2 { color: #fff0cb; font-size: clamp(23px, 4vw, 33px); }
.leaderboard-banner p { max-width: 62ch; margin-top: 4px; }
.leaderboard-lead { display: grid; gap: 3px; max-width: 320px; padding: 9px 12px; border-radius: 8px; border: 1px solid #e8b963; background: #6b4724; }
.leaderboard-lead span { color: #ffe390; font: 700 10px ui-monospace, monospace; letter-spacing: .09em; }
.leaderboard-lead strong { color: #fff3d2; }
.leaderboard-lead small { color: #ffe6c6; }
@media(max-width:620px) {
  .leaderboard-banner { grid-template-columns: 1fr; }
  .leaderboard-lead { width: fit-content; }
}

.field-guide { margin: 2rem 0 1rem; }
.field-guide .home-columns, .field-guide.home-columns { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.field-guide h2, .field-guide h3 { margin-bottom: .65rem; }
.field-card { border-top: 2px solid #82dad8; min-height: 13rem; }
.field-unknown .card, .card.field-unknown { border-top: 2px solid #e7b978; }
.field-label { color: #a4e8e4; font-weight: 600; font-size: .82rem; }
.field-unknown .field-label { color: #f2ca9d; }
.field-card p, .field-guide .card p { margin-bottom: .6rem; }
.field-sources { margin: .75rem 0 0; padding-inline-start: 1.2rem; }
.field-sources li { margin: .3rem 0; overflow-wrap: anywhere; }
.field-video { display: grid; gap: .5rem; margin-block: .8rem; }
.field-video summary { cursor: pointer; color: #a4e8e4; }
.field-video iframe { width: 100%; aspect-ratio: 16 / 9; border: 0; margin-top: .5rem; }
.field-actions { display: flex; flex-wrap: wrap; align-items: center; gap: .75rem 1.5rem; margin: 1rem 0; }
.field-result { display: block; font-size: 1.1rem; }
.field-radio { display: flex !important; flex-direction: row; align-items: baseline; gap: .55rem; }
.field-radio input { width: auto; }
.field-poll-results { padding-inline-start: 1.15rem; }
.field-poll-results li { margin-bottom: .5rem; }
#origins-quiz fieldset { padding: .75rem; }
#origins-quiz legend { padding-inline: .35rem; }
body[data-page="article"] .hero { display: none; }
@media (max-width: 760px) {
  .field-guide .home-columns, .field-guide.home-columns { grid-template-columns: 1fr; }
  .field-card { min-height: 0; }
}
body[data-page="article"] .field-guide h1 {
  color: inherit;
  font-size: clamp(2rem, 4vw, 3.6rem);
  margin-block: .4rem .75rem;
}

.story-media { margin: .7rem 0 .9rem; }
.story-media-image {
  display: block;
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  background: #131522;
  border: 1px solid #a4948b;
  border-radius: 8px;
}
.story-media-image img { display: block; width: 100%; height: 100%; object-fit: cover; }
.story-media-image .quasar { object-position: center 32%; }
.story-media-image .map { object-fit: contain; }
.story-media-image:hover { border-color: #ffed7b; }
.story-play {
  position: absolute;
  inset: auto auto 12px 12px;
  width: 40px;
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  border: 1px solid #dfcfba;
  border-radius: 50%;
  background: #211828de;
  color: #fff3d2;
}
.story-play span { width: 0; height: 0; margin-left: 3px; border: 6px solid transparent; border-left: 10px solid currentColor; border-right: 0; }
.story-media-image:hover .story-play, .story-media-image:focus-visible .story-play { color: #173253; background: #ffed7b; }
.story-media figcaption { margin-top: .45rem; }
.story-media figcaption p { margin: 0 0 .25rem; }
.story-media-credit { font-size: .72rem; }
.story-watch { list-style: none; padding: 0; margin: .55rem 0 0; display: grid; gap: .35rem; }
.story-watch a { color: #c0e9ff; font-weight: 650; }
.research-card .field-sources { margin-bottom: .55rem; }
aside nav a { white-space: normal; display: flex; align-items: center; }
aside nav a b { flex: 0 0 20px; }
aside .brand { font-size: 30px; }
aside .brand-sub { font-size: 11px; }
aside nav a { font-size: 15.5px; font-weight: 650; line-height: 1.3; }
aside .sidebar-quote, aside .storage { font-size: 14px; }

:root { --link: #ffd29a; --pink: #8bdDB0; --hot: #185d3d; }
.top em, .formula, td strong, .rank-no { color: #ffca86; }
button.primary, .activity-action {
  background: #185d3d;
  border: 1px solid #7fdbad;
  color: #f0fff4;
}
button.primary:hover, .activity-action:hover { background: #24794f; color: #fff; }
button:not(.quiet):not(.primary) { background: #493624; border-color: #b28758; color: #fff0cf; }
button:not(.quiet):not(.primary):hover { background: #684923; }
.participation-grid {
  display: grid;
  gap: 14px;
  grid-template-columns: minmax(0, 1.25fr) repeat(2, minmax(0, 1fr));
  margin: 18px 0;
  align-items: stretch;
}
.activity-card {
  display: flex;
  flex-direction: column;
  gap: 8px;
  border-top: 3px solid #8cddb0;
}
.activity-card:nth-child(2) { border-top-color: #ffb968; }
.activity-card h2 { font-size: clamp(1.2rem, 2vw, 1.55rem); }
.activity-card h3 { color: #ffe1b8; }
.activity-card p, .activity-card h2, .activity-card h3 { margin: 0; }
.activity-card #mystery-poll > * + * { margin-top: .45rem; }
.activity-count { color: #a6e9c3; font-weight: 650; font-size: .88rem; }
.activity-count:empty, .activity-card [role="status"]:empty { display: none; }
.activity-action {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  min-height: 44px;
  padding: 7px 12px;
  border-radius: 7px;
  font-weight: 700;
  text-decoration: none;
  margin-top: auto;
}
.activity-action.warm { color: #241708; background: #ffbc73; border-color: #ffd5a2; }
.activity-action.warm:hover { color: #241708; background: #ffd094; }
.activity-card input[type="radio"], #origins-quiz input[type="radio"] { accent-color: #90dfb2; }
.activity-card button.primary { justify-self: start; min-height: 42px; }
@media (max-width: 900px) {
  .participation-grid { grid-template-columns: 1fr 1fr; }
  .participation-grid > :first-child { grid-column: 1 / -1; }
}
@media (max-width: 520px) {
  .participation-grid { grid-template-columns: 1fr; }
}

.discussion-threads, .discussion-replies { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; min-width: 0; }
.discussion-replies { margin-top: 10px; padding-left: min(3vw, 20px); border-left: 2px solid #789b8d; }
.discussion-replies.shallow-indent { padding-left: 0; border-left: 0; }
.discussion-node, #discussion-compose { min-width: 0; }
.discussion-post header { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.discussion-post time, .removed-comment, .discussion-context { color: var(--muted); font-size: .82rem; }
.discussion-post p { margin-block: .55rem; }
#discussion-reply-context { border-left: 2px solid #89d6a8; padding-left: .7rem; overflow-wrap: anywhere; }
#discussion-compose { align-self: start; }
#discussion-compose [hidden] { display: none; }

.menu-bar, #site-menu { display: contents; }
#menu-toggle, aside .mobile-jump-links { display: none; }
@media (max-width: 860px) {
  aside { position: sticky; top: 0; z-index: 20; overflow: visible; padding: 8px 14px; }
  .menu-bar { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
  .menu-bar .brand { margin: 0; padding: 0; font-size: clamp(19px, 5.5vw, 27px); }
  #menu-toggle { display: inline-flex; align-items: center; gap: .4rem; min-height: 42px; color: var(--menu-ink); background: var(--menu-raised); border-color: var(--menu-edge); }
  #menu-toggle:hover, #menu-toggle[aria-expanded="true"] { background: var(--menu-active); }
  #menu-toggle[aria-expanded="true"] span { transform: rotate(180deg); }
  #site-menu { display: block; overflow-y: auto; max-height: 68dvh; padding-top: .5rem; }
  #site-menu.menu-ready:not(.menu-open) { display: none; }
  aside #site-menu nav { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 3px 7px; overflow: visible; }
  aside #site-menu nav a { min-height: 42px; font-size: .88rem; }
  aside #site-menu .mobile-jump-links a { border-color: var(--menu-edge); background: var(--menu-raised); }
  aside #site-menu .mobile-jump-links a:hover { background: var(--menu-active); }
  #view, #participate, #recent-findings, #discussion-compose { scroll-margin-top: 68px; }
}
#notice:not(:empty) { color: #f0fff4; background: #254938; border-color: #7fdbad; }
@media (max-width: 860px) {
  aside #site-menu nav[aria-label="Workspace"] a[href$="#arena"] { display: none; }
}

.story-media-image .diagram { object-fit: contain; }
@media (min-width: 761px) {
  .paired-columns {
    grid-template-columns: repeat(2,minmax(0,1fr));
    align-items: stretch;
    row-gap: 14px;
  }
  .paired-columns > section {
    display: grid;
    grid-template-rows: subgrid;
    grid-row: 1 / span 5;
  }
  .field-guide.paired-columns > section { grid-row: 1 / span 6; }
  .paired-columns > section > .rank-list { display: contents; }
  .paired-columns > section > .heading, .field-guide.paired-columns > section > h2 { margin-bottom: 0; }
}
@media (max-width: 760px) {
  .paired-columns { grid-template-columns: 1fr; }
  body::before { background-image: linear-gradient(103deg, #21152293, #21152243), url("/media/deep-field-mobile.webp"); }
}

.watch-break {
  display: grid;
  grid-template-columns: repeat(2,minmax(0,1fr));
  align-items: start;
  gap: clamp(14px,3vw,30px);
  margin-block: 24px;
  border-top: 3px solid #efb672;
}
.watch-break .story-media { margin: 0; }
.watch-break .story-media-image { background: #100e14; }
.watch-break-copy { display: grid; gap: .6rem; min-width: 0; }
.watch-break-copy p, .watch-break-copy h2, .watch-break-copy ul { margin: 0; }
.watch-break-label { color: #f7ca94; font-size: .82rem; font-weight: 650; }
.watch-break-question { padding: 8px 10px; border: 1px solid #827c59; border-radius: 6px; background: #272e25; }
.watch-break-question summary { color: #a9e7bd; font-size: .9rem; font-weight: 700; }
.watch-break-question p { margin-top: .5rem; }
@media (max-width: 760px) {
  .watch-break { grid-template-columns: 1fr; }
}

.ancient-menu { margin: 0 0 14px; }
.ancient-menu h2 { padding: 0 8px; margin: 0 0 4px; font-size: .85rem; color: var(--menu-ink); }
aside .ancient-menu nav a { min-height: 33px; padding-block: 5px; }
body[data-page="collection"] .hero { display: none; }
.ancient-collection h1 { color: inherit; font-size: clamp(2rem, 4vw, 3.6rem); margin-block: .4rem .75rem; }
.collection-layout { margin-block: 1.3rem; align-items: stretch; }
.collection-layout .story-media { margin: 0; }
.collection-contents { display: block; }
.collection-contents .field-sources { padding-bottom: 0; }
.collection-stories { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 14px; margin-block: 20px; }
.collection-story { scroll-margin-top: 74px; }
.collection-story h2 { margin-block: .4rem; font-size: 1.25rem; }
.collection-story .field-video { margin-top: .75rem; }
@media(max-width: 760px) { .collection-stories { grid-template-columns: 1fr; } }
@media(max-width: 860px) { .ancient-menu h2 { margin-top: .65rem; } }
.collection-story:last-child:nth-child(odd) { grid-column: 1 / -1; }

.shape-standings { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px; }
.shape-model .shape-score { margin-block: .4rem; color: #a6e9c3; font-weight: 700; }
.shape-model .field-sources p { margin-top: .4rem; }
#shape-submission textarea { min-height: 100px; }
@media (max-width: 620px) { .shape-standings { grid-template-columns: 1fr; } }

.leaderboard-history { margin: -8px 0 20px; padding: 9px 14px; }
.leaderboard-history summary { color: #fff0cb; }
.leaderboard-history summary small { margin-left: 8px; color: var(--muted); font-weight: 400; }
.leaderboard-history table { width: 100%; border-collapse: collapse; margin: 12px 0; font-size: .88rem; }
.leaderboard-history caption { text-align: left; color: var(--muted); }
.leaderboard-history th, .leaderboard-history td { text-align: left; padding: 5px 8px 5px 0; border-bottom: 1px solid #ffffff26; }
.leaderboard-history td { white-space: nowrap; }
.leaderboard-history ol, .leaderboard-history ul { padding-left: 20px; }
.leaderboard-history time { font-weight: 700; }

.research-report-card { margin-top: 24px; }
.research-report-card h2 { margin: 4px 0; }
.science-report { max-width: 880px; }
.science-report > p { margin: 12px 0; }
.science-test { margin-top: 16px; }
.science-test h2 { margin-bottom: 10px; }
.science-test p { margin: 10px 0; }
.science-table { overflow-x: auto; }
.science-table table { width: 100%; border-collapse: collapse; font-size: .9rem; }
.science-table caption { text-align: left; margin: 6px 0; color: var(--muted); }
.science-table th, .science-table td { padding: 7px 12px 7px 0; border-bottom: 1px solid #ffffff26; text-align: left; }
.science-table tbody td { font-variant-numeric: tabular-nums; }

.leaderboard-announcement { margin: 0 0 20px; border-color: #d59c62; }
.leaderboard-announcement h2 { color: #fff0cb; }
.leaderboard-announcement time { font-size: .85rem; color: var(--muted); }
.leaderboard-announcement p { margin-top: 8px; white-space: pre-line; }
