/* Each edition uses the same message stream, form, and live chart data. */
html[data-theme="orbit"] {
  color-scheme: dark;
  --paper: #0c1016;
  --surface: #151c25;
  --soft: #212b37;
  --ink: #eef0ed;
  --muted: #a3afbc;
  --line: #35404b;
  --accent: #edc88a;
  --on-accent: #191a1a;
  --metal: #d5b578;
  --header-bg: #0c1016;
  --header-ink: #eef0ed;
  --assistant-bg: #141b24;
  --user-bg: #283545;
  --user-ink: #f1f3ef;
  --display-font: "Barlow", "PingFang SC", "Microsoft YaHei", sans-serif;
  --wheel-bg: #0d1724;
  --wheel-grid: #6a7889;
  --wheel-text: #d2deeb;
  --wheel-outer: #d5b47e;
  --wheel-inner: #a9c1d5;
  --wheel-symbol: #162335;
  --wheel-asc: #d8b474;
  --wheel-mc: #91adc8;
  --aspect-hard: #d58277;
  --aspect-soft: #82b9ca;
  --aspect-conjunction: #d9ba81;
  --error: #f2a69e;
}
html[data-theme="orbit"] .brand-english {
  font-family: "IBM Plex Mono", Menlo, monospace;
  font-size: 9px;
  font-style: normal;
  letter-spacing: .17em;
}
html[data-theme="orbit"] .top-actions button { border-radius: 2px; }
html[data-theme="orbit"] .shell:not(:has(.has-conversation)) { padding-top: 22px; }
html[data-theme="orbit"] .intro {
  isolation: isolate;
  display: block;
  overflow: hidden;
  padding: 30px clamp(21px, 3.5vw, 52px) 29px;
  background: #040609;
  border: 1px solid var(--line);
  border-bottom: 0;
}
html[data-theme="orbit"] .hero-art {
  position: absolute;
  z-index: -2;
  inset: 0;
  width: 100%;
  height: 100%;
  aspect-ratio: auto;
}
html[data-theme="orbit"] .hero-art img {
  width: 76%;
  margin-left: auto;
  object-position: right 49%;
}
html[data-theme="orbit"] .hero-art::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, #05070a 14%, rgb(5 7 10 / 88%) 32%, transparent 67%);
}
html[data-theme="orbit"] .hero-kicker { color: var(--accent); }
html[data-theme="orbit"] .hero-title { font-weight: 580; font-size: clamp(43px, 4.1vw, 64px); letter-spacing: -.055em; }
html[data-theme="orbit"] .hero-description { max-width: 31em; color: #d1d8df; }
html[data-theme="orbit"] .composer,
html[data-theme="orbit"] .chart-card { border-radius: 2px; box-shadow: none; }
html[data-theme="orbit"] .composer { border-top-color: #ad946d; }
html[data-theme="orbit"] .send-button { border-radius: 2px; }
html[data-theme="orbit"] .prompt-examples { gap: 0; }
html[data-theme="orbit"] .prompt-card {
  border-radius: 0;
  background: #111820;
  border-inline-end-width: 0;
}
html[data-theme="orbit"] .prompt-card:nth-child(3n) { border-inline-end-width: 1px; }
html[data-theme="orbit"] .prompt-card:hover { background: var(--soft); }
html[data-theme="orbit"] .message-body { border-radius: 2px 10px 10px; }
html[data-theme="orbit"] .user .message-body { border-radius: 10px 2px 10px 10px; }
html[data-theme="orbit"] .avatar { border-radius: 4px; }
html[data-theme="orbit"] .design-dialog,
html[data-theme="orbit"] .gemini-dialog { border-radius: 4px; }

html[data-theme="luna"] {
  --paper: #fcf5f2;
  --surface: #fffaf8;
  --soft: #f3e3e3;
  --ink: #432b3b;
  --muted: #765f6b;
  --line: #dfcdce;
  --accent: #80445f;
  --on-accent: #fff8f7;
  --metal: #985d6d;
  --header-bg: #fcf5f2;
  --header-ink: #452a3d;
  --assistant-bg: #fffaf8;
  --user-bg: #f0dde3;
  --user-ink: #562e42;
  --display-font: "Cormorant Garamond", "Songti SC", "STSong", "Noto Serif CJK SC", Georgia, serif;
  --wheel-bg: #f6e8e3;
  --wheel-grid: #b598a1;
  --wheel-text: #653e52;
  --wheel-outer: #e6c9d6;
  --wheel-inner: #edd3b6;
  --wheel-symbol: #502f42;
  --wheel-asc: #aa7352;
  --wheel-mc: #976b95;
  --aspect-hard: #b16f72;
  --aspect-soft: #819b92;
  --aspect-conjunction: #a58050;
}
html[data-theme="luna"] .topbar { border-color: var(--line); }
html[data-theme="luna"] .top-actions #themeToggle { border-radius: 99px; }
html[data-theme="luna"] .shell:not(:has(.has-conversation)) { padding-top: clamp(25px, 4vw, 60px); }
html[data-theme="luna"] .conversation:not(.has-conversation) {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  column-gap: clamp(25px, 6vw, 85px);
  align-items: center;
}
html[data-theme="luna"] .conversation:not(.has-conversation) .intro { display: contents; }
html[data-theme="luna"] .hero-art {
  grid-column: 1;
  grid-row: 1 / span 2;
  justify-self: stretch;
  width: 100%;
  height: clamp(328px, 31vw, 430px);
  aspect-ratio: auto;
  overflow: hidden;
  border-radius: 48% 48% 6px 6px / 44% 44% 6px 6px;
}
html[data-theme="luna"] .hero-art img { object-position: 65% 53%; }
html[data-theme="luna"] .hero-copy { grid-column: 2; grid-row: 1; align-self: end; padding-bottom: clamp(19px, 2vw, 32px); }
html[data-theme="luna"] .hero-title { font-size: clamp(47px, 4.1vw, 65px); line-height: 1.13; font-weight: 500; }
html[data-theme="luna"] .hero-kicker { color: var(--accent); }
html[data-theme="luna"] .conversation:not(.has-conversation) .composer { grid-column: 2; grid-row: 2; align-self: start; }
html[data-theme="luna"] .composer { border-radius: 20px; box-shadow: 0 13px 29px -22px rgb(119 65 85 / 32%); }
html[data-theme="luna"] .send-button { border-radius: 999px; padding-inline: 17px; }
html[data-theme="luna"] .prompt-library { grid-column: 1 / -1; margin-top: 30px; }
html[data-theme="luna"] .prompt-card { border-radius: 17px; background: #fbefed; }
html[data-theme="luna"] .prompt-card:nth-child(3n + 2) { background: #f2edf4; }
html[data-theme="luna"] .prompt-card:nth-child(3n) { background: #f5efe8; }
html[data-theme="luna"] .prompt-icon { color: var(--accent); }
html[data-theme="luna"] .message-body, html[data-theme="luna"] .chart-card { border-radius: 17px; }
html[data-theme="luna"] dialog { border-radius: 20px; }

html[data-theme] .has-conversation .intro { display: none; }
@media (max-width: 650px) {
  html[data-theme="orbit"] .shell:not(:has(.has-conversation)) { padding-top: 14px; }
  html[data-theme="orbit"] .intro { padding: 21px 15px 19px; }
  html[data-theme="orbit"] .hero-title { font-size: clamp(31px, 7.4vw, 42px); }
  html[data-theme="orbit"] .hero-description { max-width: 19em; }
  html[data-theme="orbit"] .hero-art img { width: 94%; object-position: 67% 45%; }
  html[data-theme="orbit"] .hero-art::after { background: linear-gradient(90deg, #05070a 2%, rgb(5 7 10 / 70%) 46%, transparent 86%); }
  html[data-theme="luna"] .shell:not(:has(.has-conversation)) { padding-top: 18px; }
  html[data-theme="luna"] .conversation:not(.has-conversation) { display: block; }
  html[data-theme="luna"] .conversation:not(.has-conversation) .intro { display: flex; flex-direction: column; align-items: stretch; padding: 0; gap: 15px; }
  html[data-theme="luna"] .hero-art { order: -1; height: clamp(132px, 39vw, 200px); border-radius: 90px 9px 90px 9px; }
  html[data-theme="luna"] .hero-art img { object-position: 50% 40%; }
  html[data-theme="luna"] .hero-copy { align-self: stretch; padding-bottom: 16px; }
  html[data-theme="luna"] .hero-kicker { display: none; }
  html[data-theme="luna"] .hero-title { font-size: clamp(29px, 7.2vw, 39px); }
  html[data-theme="luna"] .title-line, html[data-theme="luna"] .title-accent { display: inline; }
  html[data-theme="luna"] .hero-description { margin-top: 8px; }
  html[data-theme="luna"] .prompt-library { margin-top: 19px; }
}
