@font-face {
  font-family: EsperoraDisplay;
  src: local("Georgia");
  font-display: swap;
}
:root {
  color-scheme: dark;
  --bg: #060a14;
  --panel: #10172a;
  --line: #27314a;
  --gold: #f5c86b;
  --violet: #d39bff;
  --ink: #f7f4f0;
  --muted: #b7b8c7;
  --radius: 24px;
  --sidebar: 236px;
  font-family: Inter, "Segoe UI", system-ui, sans-serif;
  color: var(--ink);
  background: var(--bg);
  font-synthesis: none;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  min-width: 320px;
}
button,
input,
textarea,
select {
  font: inherit;
}
button,
a,
input,
textarea,
select {
  -webkit-tap-highlight-color: transparent;
}
button,
a {
  touch-action: manipulation;
}
button {
  cursor: pointer;
}
button:disabled {
  cursor: default;
  opacity: 0.5;
}
a {
  color: inherit;
  text-decoration: none;
}
button {
  color: inherit;
}
img {
  display: block;
  max-width: 100%;
  object-fit: cover;
}
h1,
h2,
h3,
p {
  margin: 0;
}
h1,
h2,
h3 {
  line-height: 1.17;
  letter-spacing: -0.025em;
  text-wrap: balance;
}
h1 {
  font-family: EsperoraDisplay, Georgia, serif;
  font-size: clamp(34px, 3.6vw, 58px);
  font-weight: 500;
}
h2 {
  font-size: 25px;
  font-weight: 550;
}
h3 {
  font-size: 22px;
  font-weight: 600;
}
p {
  line-height: 1.7;
  color: var(--muted);
  overflow-wrap: anywhere;
}
p + p {
  margin-top: 16px;
}
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 5px;
}
button {
  border: 0;
}
button,
.button,
select {
  min-height: 46px;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
}
.skip {
  position: fixed;
  top: -100px;
  background: var(--gold);
  color: var(--bg);
  z-index: 99;
  padding: 15px;
}
.skip:focus {
  top: 0;
}
.sidebar {
  position: fixed;
  inset: 0 auto 0 0;
  width: var(--sidebar);
  padding: 30px 20px;
  display: flex;
  flex-direction: column;
  border-right: 1px solid #1c2435;
  background: #080d19;
  z-index: 5;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: Georgia, serif;
  font-size: 29px;
  color: var(--gold);
  padding: 0 8px 36px;
}
.brand img {
  width: 40px;
  height: 40px;
  border-radius: 13px;
}
.nav-label,
.eyebrow {
  color: var(--gold);
  font-size: 11px;
  font-weight: 650;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin-bottom: 13px;
  line-height: 1.5;
}
.nav-label {
  padding-left: 17px;
  color: #777e93;
}
.sidebar nav {
  display: grid;
  gap: 4px;
}
.sidebar nav a {
  padding: 13px 16px;
  border-radius: 12px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.4;
  white-space: normal;
}
.sidebar nav a:hover {
  background: #111a2b;
  color: var(--ink);
}
.sidebar nav a.active {
  color: var(--gold);
  background: linear-gradient(90deg, #382d1e70, #241e2410);
  border: 1px solid #5b482950;
}
.sidebar-bottom {
  margin-top: auto;
  display: grid;
  gap: 15px;
  font-size: 13px;
  padding: 20px 16px 0;
  color: #969bac;
}
.insight-link {
  color: var(--gold);
}
.workspace {
  margin-left: var(--sidebar);
  min-height: 100vh;
  background: radial-gradient(ellipse at 90% 0, #221e401e, transparent 45%);
}
.topbar {
  height: 89px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  border-bottom: 1px solid #1a2234;
  padding: 0 44px;
}
.breadcrumbs {
  font-size: 11px;
  letter-spacing: 0.09em;
  color: #858b9c;
  text-transform: uppercase;
}
.breadcrumbs span {
  padding: 0 14px;
  color: #444b60;
}
.top-actions {
  display: flex;
  align-items: center;
  gap: 20px;
}
.topbar select {
  background: transparent;
  color: var(--muted);
  border: 0;
  max-width: 160px;
  font-size: 13px;
}
.avatar {
  height: 36px;
  min-width: 36px;
  border: 1px solid #726044;
  border-radius: 50%;
  color: var(--gold);
  display: grid;
  place-items: center;
}
.mobile-brand {
  display: none;
}
main {
  max-width: 1580px;
  margin: auto;
  padding: 40px 44px 60px;
  min-height: 76vh;
}
footer {
  padding: 25px 44px;
  border-top: 1px solid #1a2234;
  display: flex;
  gap: 25px;
  justify-content: space-between;
  color: #777e93;
  font-size: 11px;
  line-height: 1.6;
}
.welcome {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin: 4px 0 34px;
}
.welcome h1 {
  font-size: clamp(32px, 3vw, 46px);
  margin-bottom: 13px;
}
.welcome p:not(.eyebrow) {
  max-width: 780px;
  font-size: 15px;
}
.welcome-mark {
  font-size: 80px;
  color: var(--gold);
  opacity: 0.8;
  line-height: 1;
  padding-right: 10px;
}
.discovery-hero {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  border: 1px solid #58446780;
  border-radius: var(--radius);
  overflow: hidden;
  background: linear-gradient(115deg, #201a34, #0c1324 64%);
  min-height: 330px;
}
.discovery-copy {
  padding: 42px 36px;
  position: relative;
  z-index: 1;
}
.discovery-copy h2 {
  font-family: Georgia, serif;
  font-size: clamp(32px, 3.4vw, 52px);
  font-weight: 400;
  color: var(--gold);
  max-width: 470px;
}
.discovery-copy > p:not(.eyebrow) {
  margin: 20px 0 25px;
  max-width: 470px;
  font-size: 15px;
}
.discovery-art {
  position: relative;
  min-width: 0;
  min-height: 330px;
}
.discovery-art:after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, #111425, transparent 40%);
}
.discovery-art img {
  width: 100%;
  height: 100%;
  position: absolute;
  object-position: 50% 40%;
  opacity: 0.9;
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 22px;
  border: 1px solid #63512f;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 650;
  line-height: 1.5;
  text-align: center;
  max-width: 100%;
}
.primary {
  color: #18111b;
  background: linear-gradient(120deg, #ffe2a1, #f5c86b);
  box-shadow: 0 5px 23px #f5c86b0c;
}
.primary:hover {
  background: #ffe3a4;
  transform: translateY(-1px);
}
.secondary {
  background: #10172a;
  color: var(--violet);
  border-color: #6b4a8880;
}
.secondary:hover {
  background: #1e2039;
}
.quiet-links {
  margin-top: 18px;
  font-size: 12px;
  color: #b5a7c9;
}
.quiet-links a:hover,
.text-link:hover {
  text-decoration: underline;
}
.section-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  margin: 38px 0 20px;
}
.section-heading h2 {
  font-size: 24px;
}
.section-heading a {
  color: var(--violet);
  font-size: 12px;
}
.daily-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 20px;
}
.feature {
  position: relative;
  min-height: 240px;
  overflow: hidden;
  border-radius: 20px;
  border: 1px solid #53446480;
  isolation: isolate;
  transition:
    transform 0.2s,
    border-color 0.2s;
  background: #0a1120;
}
.feature:hover {
  transform: translateY(-3px);
  border-color: var(--violet);
}
.feature > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-position: center 38%;
  z-index: -2;
  transition: transform 0.6s;
}
.feature:hover > img {
  transform: scale(1.04);
}
.feature:before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(0deg, #080c18 0%, #080c18b0 30%, #080c1800 76%);
}
.feature > div {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 22px;
}
.feature h3 {
  max-width: calc(100% - 16px);
  font-size: 22px;
}
.feature p {
  margin: 8px 22px 0 0;
  font-size: 12px;
  line-height: 1.5;
}
.feature-arrow {
  position: absolute;
  bottom: 23px;
  right: 18px;
  color: var(--gold);
  font-size: 22px;
}
.tarot-feature > img {
  object-fit: contain;
  width: 68%;
  height: 110%;
  left: 16%;
  top: -16%;
  transform: rotate(-8deg);
}
.tarot-feature:hover > img {
  transform: rotate(-5deg) scale(1.03);
}
.guide-feature {
  background:
    radial-gradient(ellipse at 50% 0, #51307855, transparent 80%), #0d1222;
  border: 1px solid #6c4b8860;
  border-radius: 20px;
  padding: 30px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.guide-feature .spark {
  font-size: 48px;
  margin-bottom: 14px;
}
.guide-feature p {
  font-size: 13px;
  margin-top: 12px;
}
.guide-feature > span:last-child {
  color: var(--violet);
  font-size: 25px;
  margin-top: 15px;
}
.spark {
  color: var(--violet);
  line-height: 1;
}
.explore-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}
.explore-grid .feature {
  min-height: 255px;
}
.plain-feature {
  padding: 30px;
  background:
    radial-gradient(circle at 70% 20%, #38234e66, transparent 65%), #10172a;
}
.plain-feature > .spark {
  font-size: 50px;
}
.plain-feature > div {
  position: static;
  padding: 30px 0 0;
}
.plain-feature:before {
  display: none;
}
.bottom-pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
  margin-top: 26px;
}
.panel {
  background: linear-gradient(140deg, #131a2c, #0c1220);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px;
  margin-bottom: 22px;
  min-width: 0;
}
.panel h2 {
  margin-bottom: 18px;
}
.panel h3 {
  font-size: 19px;
  margin: 20px 0 10px;
}
.panel .button {
  margin-top: 22px;
}
.panel p + .button {
  margin-top: 20px;
}
.panel p {
  font-size: 15px;
}
.panel ul {
  padding-left: 20px;
  color: var(--muted);
  line-height: 1.7;
}
.panel li + li {
  margin-top: 10px;
}
.note {
  font-size: 12px !important;
  color: #9298aa;
  line-height: 1.6;
  margin-top: 20px;
  max-width: 850px;
}
.page-heading {
  margin: 8px 0 34px;
  max-width: 900px;
}
.page-heading > p:not(.eyebrow) {
  font-size: 17px;
  max-width: 780px;
  margin-top: 18px;
}
.page-heading h1 {
  color: var(--gold);
}
.filter-bar {
  display: flex;
  gap: 18px;
  align-items: center;
  margin-bottom: 24px;
}
.search {
  display: flex;
  align-items: center;
  gap: 15px;
  background: #10172a;
  border: 1px solid var(--line);
  border-radius: 14px;
  flex: 1;
  padding: 0 18px;
}
.search input {
  background: none;
  border: 0;
  padding: 16px 0;
  width: 100%;
  color: var(--ink);
}
select {
  background: #121a2b;
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 10px 14px;
  max-width: 100%;
}
.assessment-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}
.assessment-tile {
  border: 1px solid var(--line);
  background: linear-gradient(145deg, #151b30, #0a1120);
  border-radius: 20px;
  padding: 26px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: border-color 0.2s;
}
.assessment-tile:hover {
  border-color: #a764f6;
}
.tile-top {
  display: flex;
  align-items: center;
  gap: 10px;
  justify-content: space-between;
}
.mini-spark {
  font-size: 28px;
  color: var(--violet);
}
.pill {
  font-size: 10px;
  letter-spacing: 0.04em;
  padding: 6px 9px;
  border: 1px solid #57476170;
  color: var(--violet);
  border-radius: 50px;
  display: inline-block;
  line-height: 1.5;
}
.assessment-tile h2 {
  font-size: 22px;
}
.assessment-tile p {
  font-size: 13px;
}
.text-link {
  color: var(--gold);
  font-size: 13px;
  margin-top: auto;
  padding-top: 10px;
}
.assessment-intro {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 25px;
}
.notice {
  border: 1px solid #876b3d;
  color: var(--gold);
  background: #2d241a55;
  padding: 22px;
  border-radius: 15px;
  margin-bottom: 25px;
  line-height: 1.6;
}
.question-shell {
  max-width: 940px;
  width: 100%;
  margin: 0 auto;
  flex: 1;
  min-height: 0;
  display: flex;
  flex-direction: column;
}
.workspace:has(.question-shell) {
  height: 100dvh;
  min-height: 0;
  padding-bottom: 0;
  display: flex;
  flex-direction: column;
}
.workspace:has(.question-shell) .topbar {
  flex-shrink: 0;
}
.workspace:has(.question-shell) main {
  flex: 1;
  min-height: 0;
  width: 100%;
  margin: 0 auto;
  padding-top: 16px;
  padding-bottom: 0;
  display: flex;
  flex-direction: column;
}
.workspace:has(.question-shell) > footer,
body:has(.question-shell) .mobile-nav {
  display: none;
}
.question-content {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-gutter: stable;
  padding: 0 12px 20px 4px;
}
.question-content > .note {
  margin-top: 20px;
}
.question-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--muted);
  font-size: 13px;
  margin-bottom: 15px;
}
.question-content > .eyebrow {
  margin-top: 24px;
}
.question-shell h1 {
  font-family: inherit;
  font-size: clamp(26px, 2.8vw, 38px);
  margin: 22px 0 30px;
  line-height: 1.35;
  font-weight: 500;
  max-width: 850px;
  text-wrap: pretty;
}
.text-button {
  color: var(--violet);
  background: none;
  padding: 12px 2px;
  font-size: 14px;
}
.answer-options {
  display: grid;
  gap: 12px;
}
.answer {
  border: 1px solid #34374e;
  background: #11192b;
  border-radius: 14px;
  padding: 18px 22px;
  text-align: left;
  font-size: 16px;
  line-height: 1.6;
}
.answer:hover,
.answer.selected {
  border-color: var(--violet);
  background: #2c2040;
  color: #f6eaff;
}
.answer.selected:after {
  content: "✓";
  float: right;
  color: var(--violet);
}
.question-footer {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 4px max(16px, env(safe-area-inset-bottom));
  border-top: 1px solid var(--line);
  background: var(--bg);
}
.question-footer .button {
  min-width: 130px;
  max-width: calc(50% - 8px);
  white-space: normal;
}
progress {
  display: block;
  width: 100%;
  height: 5px;
  border: 0;
  border-radius: 30px;
  background: #252c40;
  accent-color: var(--violet);
  overflow: hidden;
}
progress::-webkit-progress-bar {
  background: #252c40;
}
progress::-webkit-progress-value {
  background: linear-gradient(90deg, #a764f6, #d39bff);
  border-radius: 30px;
}
.result-columns {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 25px;
}
.dimension-label {
  display: flex;
  gap: 20px;
  justify-content: space-between;
  font-size: 14px;
  margin-bottom: 12px;
  color: var(--muted);
}
.dimension-label strong {
  color: var(--gold);
}
.dimensions {
  display: grid;
  gap: 24px;
}
.lead {
  font-size: 21px !important;
  line-height: 1.65;
}
.reading-hero {
  position: relative;
  min-height: 280px;
  border: 1px solid #74603f70;
  overflow: hidden;
  border-radius: var(--radius);
  margin-bottom: 30px;
  display: flex;
  align-items: flex-end;
  padding: 35px;
  isolation: isolate;
}
.reading-hero > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: -2;
  object-position: center 42%;
}
.reading-hero:before {
  content: "";
  inset: 0;
  position: absolute;
  background:
    linear-gradient(90deg, #0a0d1bea, #0a0d1b22),
    linear-gradient(0deg, #0a0d1baf, transparent);
  z-index: -1;
}
.reading-hero .page-heading {
  margin: 0;
}
.reading-hero h1 {
  font-size: 48px;
}
.reading-hero .page-heading > p:not(.eyebrow) {
  color: #e4deeb;
}
.display-title {
  font-family: Georgia, serif;
  font-size: 34px;
  font-weight: 400 !important;
  color: var(--gold);
}
.metric-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-bottom: 30px;
}
.metric-grid > div {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 20px 5px;
  border: 1px solid #66533970;
  border-radius: 14px;
  gap: 8px;
}
.metric-grid strong {
  font-size: 31px;
  font-weight: 400;
  color: var(--gold);
}
.metric-grid span {
  font-size: 12px;
  color: var(--muted);
}
.stack {
  display: grid;
  gap: 10px;
}
.stack .button {
  margin-top: 0;
}
.spread-options {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  max-width: 1100px;
  margin: auto;
}
.spread {
  border: 1px solid #694e8670;
  border-radius: var(--radius);
  background: radial-gradient(circle at 50% 40%, #3c285c66, #0e1527 60%);
  padding: 30px 20px;
  overflow: hidden;
}
.spread:hover {
  border-color: var(--gold);
  background: radial-gradient(circle at 50% 40%, #52357077, #0e1527 65%);
}
.card-formation {
  height: 270px;
  position: relative;
  margin: 10px auto 30px;
  max-width: 320px;
}
.card-formation img {
  height: 245px;
  width: 155px;
  object-fit: cover;
  position: absolute;
  left: calc(50% - 77px);
  border-radius: 15px;
  border: 1px solid #b58b42;
  box-shadow: 0 10px 30px #0008;
}
.count-3 img:nth-child(1) {
  transform: rotate(-22deg) translate(-50px, 15px);
}
.count-3 img:nth-child(2) {
  transform: rotate(22deg) translate(50px, 15px);
}
.count-3 img:nth-child(3) {
  transform: translateY(-5px);
}
.spread h2 {
  font-family: Georgia, serif;
  font-size: 34px;
  color: var(--gold);
  margin-bottom: 13px;
  font-weight: 400;
}
.spread p {
  font-size: 14px;
  margin-bottom: 15px;
}
.intention-panel {
  max-width: 850px;
  margin: auto;
}
.guide-message {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  margin-bottom: 25px;
}
.guide-message p {
  font-size: 24px;
  color: var(--ink);
  line-height: 1.5;
}
.intention-options {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 30px;
}
.chip {
  padding: 11px 18px;
  border: 1px solid #76528a80;
  background: #211c34;
  border-radius: 30px;
  font-size: 14px;
}
.chip:hover {
  border-color: var(--gold);
}
label {
  display: block;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
}
input:not([type="radio"]):not([type="checkbox"]),
textarea {
  display: block;
  max-width: 100%;
  width: 100%;
  background: #090f1e;
  color: var(--ink);
  border: 1px solid #35405a;
  border-radius: 12px;
  padding: 14px 16px;
  margin-top: 10px;
  line-height: 1.65;
  min-height: 49px;
}
label + label {
  margin-top: 23px;
}
textarea {
  resize: vertical;
}
.form-panel {
  max-width: 650px;
}
.reading-grid {
  display: grid;
  gap: 30px;
  margin: 30px 0;
}
.cards-3 {
  grid-template-columns: repeat(3, 1fr);
}
.cards-1 {
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}
.drawn-card {
  text-align: center;
  padding: 20px 0;
}
.drawn-card h2 {
  color: var(--gold);
  font-family: Georgia, serif;
  font-size: 31px;
  margin: 22px 0 13px;
  font-weight: 400;
}
.drawn-card p:not(.eyebrow) {
  margin-top: 20px;
  font-size: 15px;
}
.card-reveal {
  display: block;
  margin: auto;
  padding: 0;
  background: transparent;
  max-width: 240px;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 12px 50px #0006;
}
.card-reveal:disabled {
  opacity: 1;
}
.card-reveal img {
  width: 100%;
  aspect-ratio: 2/3;
  object-fit: cover;
}
.reversed {
  transform: rotate(180deg);
}
.cards-1 .card-reveal {
  max-width: 290px;
}
.dream-layout {
  display: grid;
  grid-template-columns: 0.9fr 1.4fr;
  gap: 28px;
  align-items: start;
}
.dream-art {
  height: 600px;
  max-height: 70vh;
  border-radius: var(--radius);
  overflow: hidden;
  position: sticky;
  top: 25px;
  border: 1px solid #5c3e7370;
}
.dream-art img {
  width: 100%;
  height: 100%;
  object-position: center;
}
.reflection-prompt {
  color: var(--violet);
  border-left: 2px solid #835bb2;
  padding-left: 17px;
}
.inline-form {
  display: flex;
  align-items: center;
  gap: 20px;
}
.inline-form label {
  flex: 1;
}
.inline-form label + label {
  margin: 0;
}
.inline-form select {
  display: block;
  width: 100%;
  margin-top: 12px;
}
.inline-form .button {
  margin-top: 25px;
}
.pair-heart {
  color: #ff8792;
  font-size: 30px;
  padding-top: 20px;
}
.reading-copy {
  max-width: 900px;
}
.muted {
  color: #9298aa;
}
.history-list {
  display: grid;
  gap: 12px;
}
.history-entry {
  display: flex;
  gap: 25px;
  align-items: center;
  margin-bottom: 0;
}
.history-entry > div {
  flex: 1;
}
.history-entry h2 {
  font-size: 22px;
  margin: 0 0 10px;
}
.history-entry .eyebrow {
  font-size: 10px;
}
.history-entry p {
  font-size: 14px;
}
.chat-layout {
  display: flex;
  gap: 25px;
  align-items: flex-start;
}
.source-panel {
  width: 300px;
  flex-shrink: 0;
}
.source-panel h2 {
  font-size: 22px;
}
.chat-panel {
  width: 100%;
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: #0c1220;
}
.messages {
  padding: 25px;
  min-height: 310px;
  max-height: 60vh;
  overflow: auto;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.chat-empty {
  padding: 40px 20px;
  text-align: center;
  margin: auto;
}
.chat-empty > .spark {
  display: block;
  font-size: 52px;
  margin-bottom: 25px;
}
.chat-empty h2 {
  font-family: Georgia, serif;
  color: var(--gold);
  font-size: 34px;
  margin-bottom: 15px;
}
.message {
  padding: 18px 23px;
  border-radius: 18px;
  max-width: 90%;
  background: #191e32;
  border: 1px solid #30324a;
  white-space: pre-wrap;
}
.message.user {
  align-self: flex-end;
  background: #2b203e;
  border-color: #594172;
}
.message p {
  color: var(--ink);
}
.chat-panel form {
  margin: 0 22px;
}
.composer-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 12px 0;
}
.chat-panel > .note {
  padding: 0 24px 15px;
}
.chat-panel textarea {
  font-size: 16px;
}
.danger {
  color: #ff8792;
  display: block;
}
.loading {
  padding: 65px;
  text-align: center;
  color: var(--gold);
}
#status {
  position: fixed;
  bottom: 25px;
  left: 50%;
  transform: translateX(-50%);
  background: #232139;
  border: 1px solid #69557c;
  border-radius: 13px;
  color: #f7f4f0;
  padding: 15px 23px;
  font-size: 14px;
  max-width: min(650px, 90vw);
  z-index: 30;
  box-shadow: 0 5px 40px #0007;
}
#status:empty {
  display: none;
}
.stimulus {
  padding: 25px;
  background: #0a101d;
  border: 1px solid var(--line);
  border-radius: 18px;
  max-width: 650px;
  margin: 25px auto;
}
.stimulus svg {
  display: block;
  width: 100%;
  height: auto;
}
.stimulus img {
  max-height: 320px;
  margin: auto;
  border-radius: 12px;
}
.stimulus-tokens {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 18px;
  font-size: 26px;
  color: var(--gold);
}
.chart-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.chart-form label + label {
  margin-top: 0;
}
.chart-table {
  width: 100%;
  border-collapse: collapse;
}
.chart-table th,
.chart-table td {
  text-align: left;
  padding: 15px 10px;
  border-bottom: 1px solid var(--line);
  font-size: 14px;
}
.chart-table th {
  color: var(--gold);
}
.checkin-options {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.checkin-options label {
  padding: 15px;
  border: 1px solid var(--line);
  border-radius: 12px;
  display: flex;
  gap: 10px;
  margin: 0;
  cursor: pointer;
}
.checkin-options input {
  accent-color: var(--violet);
}
@media (min-width: 1700px) {
  main {
    padding: 48px 65px;
  }
  .discovery-hero {
    min-height: 390px;
  }
  .discovery-copy {
    padding: 50px;
  }
  .explore-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .feature {
    min-height: 280px;
  }
  .explore-grid .feature {
    min-height: 280px;
  }
}
@media (max-width: 1190px) {
  :root {
    --sidebar: 205px;
  }
  .sidebar {
    padding: 28px 14px;
  }
  .sidebar nav a {
    font-size: 13px;
    padding: 12px;
  }
  .topbar {
    padding: 0 26px;
  }
  main {
    padding: 32px 26px;
  }
  .discovery-copy {
    padding: 30px 25px;
  }
  .discovery-copy h2 {
    font-size: 38px;
  }
  .daily-grid {
    grid-template-columns: 1fr 1fr;
  }
  .guide-feature {
    grid-column: 1/-1;
    flex-direction: row;
    align-items: center;
    gap: 20px;
    padding: 22px;
  }
  .guide-feature .spark {
    margin: 0;
  }
  .guide-feature p {
    margin: 0;
    flex: 1;
  }
  .guide-feature > span:last-child {
    margin: 0;
  }
  .explore-grid,
  .assessment-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .result-columns {
    grid-template-columns: 1fr 1fr;
  }
  .spread-options {
    gap: 20px;
  }
  .card-formation {
    transform: scale(0.85);
  }
  .source-panel {
    width: 240px;
  }
}
@media (max-width: 850px) {
  :root {
    --sidebar: 0px;
  }
  .sidebar {
    display: none;
  }
  .mobile-brand {
    display: block;
    color: var(--gold);
    font-family: Georgia, serif;
    font-size: 27px;
  }
  .breadcrumbs {
    display: none;
  }
  .topbar {
    height: 75px;
  }
  .topbar:after {
    content: none;
  }
  .top-actions {
    gap: 12px;
  }
  main {
    padding: 27px 24px 45px;
  }
  .welcome-mark {
    display: none;
  }
  .welcome h1 {
    font-size: 39px;
  }
  .discovery-copy h2 {
    font-size: 37px;
  }
  .discovery-hero {
    grid-template-columns: 1.15fr 1fr;
  }
  .page-heading h1 {
    font-size: 43px;
  }
  .dream-layout {
    grid-template-columns: 1fr;
  }
  .dream-art {
    position: relative;
    height: 230px;
  }
  .source-panel {
    display: none;
  }
  .chat-layout {
    display: block;
  }
  .bottom-pair {
    gap: 16px;
  }
  .assessment-intro {
    grid-template-columns: 1fr;
  }
  .honesty {
    margin-bottom: 0;
  }
  .reading-hero {
    min-height: 250px;
    padding: 25px;
  }
  .reading-hero h1 {
    font-size: 42px;
  }
  .cards-3 {
    gap: 15px;
  }
  .drawn-card h2 {
    font-size: 25px;
  }
  footer {
    padding: 22px 24px;
  }
}
@media (max-width: 580px) {
  h1 {
    font-size: 36px;
  }
  .welcome {
    margin-bottom: 24px;
  }
  .welcome h1 {
    font-size: 34px;
  }
  .welcome p:not(.eyebrow) {
    font-size: 14px;
  }
  .discovery-hero {
    grid-template-columns: 1fr;
  }
  .discovery-copy {
    padding: 27px;
  }
  .discovery-copy h2 {
    font-size: 39px;
  }
  .discovery-copy > p:not(.eyebrow) {
    font-size: 14px;
  }
  .discovery-art {
    height: 200px;
    min-height: 0;
    grid-row: 1;
  }
  .discovery-art:after {
    background: linear-gradient(0deg, #15182b, transparent 50%);
  }
  .discovery-art img {
    object-position: 50% 42%;
  }
  .daily-grid {
    gap: 14px;
  }
  .feature {
    min-height: 235px;
  }
  .feature > div {
    padding: 17px;
  }
  .feature h3 {
    font-size: 20px;
    max-width: none;
  }
  .feature p {
    margin: 10px 0 0;
  }
  .feature-arrow {
    display: none;
  }
  .guide-feature {
    flex-wrap: wrap;
    padding: 23px;
  }
  .guide-feature h3 {
    font-size: 21px;
  }
  .guide-feature p {
    min-width: 160px;
  }
  .guide-feature > .spark {
    font-size: 35px;
  }
  .explore-grid {
    gap: 14px;
  }
  .explore-grid .feature {
    min-height: 230px;
  }
  .plain-feature {
    padding: 20px;
  }
  .plain-feature > div {
    padding: 15px 0 0;
  }
  .plain-feature p {
    font-size: 11px;
  }
  .bottom-pair,
  .result-columns {
    grid-template-columns: 1fr;
  }
  .section-heading {
    margin-top: 29px;
  }
  .section-heading h2 {
    font-size: 23px;
  }
  .section-heading a {
    max-width: 145px;
    text-align: right;
    line-height: 1.6;
  }
  .assessment-grid {
    grid-template-columns: 1fr;
  }
  .filter-bar {
    flex-wrap: wrap;
  }
  .filter-bar select {
    width: 100%;
  }
  .search {
    min-width: 100%;
  }
  .panel {
    padding: 24px;
  }
  .page-heading h1 {
    font-size: 36px;
  }
  .page-heading > p:not(.eyebrow) {
    font-size: 15px;
  }
  .spread-options {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }
  .spread {
    padding: 20px 8px;
  }
  .spread h2 {
    font-size: 25px;
  }
  .spread p {
    font-size: 12px;
  }
  .card-formation {
    height: 175px;
    transform: scale(0.55);
    transform-origin: 50% 0;
    margin-bottom: -55px;
    min-width: 150px;
  }
  .reading-grid.cards-3 {
    grid-template-columns: 1fr;
    max-width: 400px;
    margin: auto;
  }
  .cards-3 .card-reveal {
    max-width: 230px;
  }
  .question-footer {
    gap: 12px;
  }
  .question-footer .button {
    min-width: 0;
    flex: 1;
    padding: 14px 12px;
    max-width: calc(50% - 6px);
  }
  .inline-form {
    flex-wrap: wrap;
  }
  .inline-form label {
    min-width: 100%;
  }
  .inline-form .pair-heart {
    padding: 0;
    margin: auto;
  }
  .inline-form .button {
    width: 100%;
    margin-top: 0;
  }
  .chart-form {
    grid-template-columns: 1fr;
  }
  .chart-table th,
  .chart-table td {
    padding: 12px 6px;
    font-size: 12px;
  }
  .chat-panel form {
    margin: 0 15px;
  }
  .messages {
    padding: 15px;
  }
  .composer-actions {
    align-items: stretch;
    flex-wrap: wrap;
  }
  .composer-actions select {
    flex: 1;
  }
  .source-panel {
    display: block;
    width: auto;
  }
  .chat-layout {
    display: block;
  }
  .source-panel p {
    max-height: 110px;
    overflow: auto;
  }
  .topbar {
    padding: 0 20px;
  }
  .topbar select {
    max-width: 125px;
  }
  footer {
    flex-direction: column;
    gap: 8px;
  }
  .history-entry {
    padding: 20px;
    gap: 15px;
  }
  .history-entry h2 {
    font-size: 19px;
  }
  .history-entry .mini-spark {
    display: none;
  }
  .lead {
    font-size: 18px !important;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *:before,
  *:after {
    scroll-behavior: auto !important;
    transition: none !important;
    animation: none !important;
  }
}
.mobile-nav { display: none; }
.web-account { margin-bottom: 24px; }
.account-email { overflow-wrap: anywhere; }
.account-connected { color: #f0cf82; }
.google-button-slot { max-width: 100%; margin-top: 12px; }
.analytics-settings { margin-top: 24px; padding-top: 20px; border-top: 1px solid var(--line); }
.analytics-settings summary { cursor: pointer; color: var(--ink); line-height: 1.5; }
.analytics-settings summary:focus-visible { outline: 2px solid var(--gold); outline-offset: 4px; }
.analytics-settings p { font-size: 14px; line-height: 1.6; margin-top: 16px; }
.analytics-settings [data-analytics-status] { color: var(--gold); }
.analytics-settings [aria-pressed="true"] { border-color: var(--gold); }
.analytics-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; }
.analytics-actions .button { flex: 1 1 150px; font-size: 14px; min-height: 44px; padding: 10px 16px; }
@media (max-width: 980px) {
  .workspace { padding-bottom: 88px; }
  .mobile-nav { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); position: fixed; z-index: 20; bottom: 0; left: 0; right: 0; background: #080d1b; border-top: 1px solid #36304b; padding: 10px 8px calc(10px + env(safe-area-inset-bottom)); gap: 4px; }
  .mobile-nav a { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 4px; font-size: 12px; line-height: 1.35; color: #b7b3c5; text-decoration: none; min-width: 0; }
  .mobile-nav a span { font-size: 22px; }
  .mobile-nav a.active { color: #f0cf82; }
  #status { bottom: 100px; }
}
