:root {
  --ink: #174257;
  --ink-soft: #21566d;
  --deep: #1b4b61;
  --panel: rgba(29, 76, 94, .9);
  --cream: #fff9ea;
  --muted: #e1edf0;
  --line: rgba(244, 223, 161, .36);
}

body {
  background:
    radial-gradient(circle at 12% 8%, rgba(170, 232, 229, .36), transparent 31%),
    radial-gradient(circle at 88% 22%, rgba(155, 204, 235, .3), transparent 34%),
    radial-gradient(circle at 52% 78%, rgba(185, 171, 218, .19), transparent 42%),
    linear-gradient(145deg, #2f687a 0%, #21546a 48%, #2e5e72 100%);
  background-attachment: fixed;
}

/* Die Mondstube bekommt nur auf der grossen Seitenfläche einen weicheren Himmel. */
.moon-room {
  --m26-panel: rgba(49, 101, 116, .95);
  --m26-panel-solid: #326677;
  --m26-panel-raised: #477e8c;
  --m26-line: rgba(245, 250, 246, .25);
  --m26-line-strong: rgba(248, 232, 194, .44);
  --m26-text: #fffaf0;
  --m26-muted: #d2e2e4;
  --m26-gold: #f2d697;
  --m26-gold-soft: rgba(242, 214, 151, .18);
  --m26-blue: #e0f3f4;
  --m26-good: #b8efd0;
  --m26-good-bg: rgba(53, 151, 110, .3);
  --m26-bad: #ffd0c5;
  --m26-bad-bg: rgba(220, 104, 91, .32);
  background:
    radial-gradient(ellipse at 50% -8%, rgba(185, 226, 228, .34), transparent 42%),
    radial-gradient(circle at 14% 28%, rgba(139, 199, 213, .2), transparent 36%),
    radial-gradient(circle at 86% 72%, rgba(158, 168, 207, .16), transparent 40%),
    linear-gradient(155deg, #3f7584 0%, #2e6174 52%, #39697d 100%);
  background-attachment: fixed;
}

/* Edlere Farbpalette fuer den Kalender, ohne Aufbau oder Funktion zu veraendern. */
.moon-room .calendar-card {
  border-color: rgba(246, 236, 207, .3);
  background:
    radial-gradient(circle at 92% 0, rgba(188, 228, 231, .14), transparent 31rem),
    linear-gradient(145deg, rgba(60, 111, 124, .98), rgba(36, 79, 96, .99));
  box-shadow: 0 24px 66px rgba(11, 44, 58, .25), inset 0 1px rgba(255, 255, 255, .12);
}

.moon-room .daily-note {
  border-color: rgba(245, 250, 246, .24);
  background: linear-gradient(120deg, rgba(69, 120, 132, .94), rgba(43, 88, 103, .95));
  box-shadow: 0 12px 32px rgba(11, 44, 58, .2), inset 0 1px rgba(255, 255, 255, .1);
}

.moon-room .daily-note p:last-child {
  color: #fffaf0;
  font-size: clamp(1.28rem, 2vw, 1.5rem);
  line-height: 1.38;
}

.moon-room .calendar-heading .eyebrow,
.moon-room .table-hint {
  color: #c6e2e5;
}

.moon-room .week-controls button,
.moon-room .date-entry button,
.moon-room .date-entry input {
  background-color: rgba(9, 42, 56, .3);
}

.moon-room .table-hint {
  border-left-color: rgba(229, 197, 127, .82);
  background: linear-gradient(90deg, rgba(229, 197, 127, .13), rgba(184, 220, 226, .05) 72%, transparent);
  text-shadow: none;
}

.moon-room .week-table-wrap {
  border-color: rgba(246, 236, 207, .3);
  background: #2b5f70;
  scrollbar-color: #8eafb7 #2b5f70;
}

.moon-room .week-table thead th {
  background: #3b7080;
}

.moon-room .week-table .category-row th {
  border-bottom-color: rgba(248, 232, 194, .4);
  background: #477f8d;
  color: #f1fbfa;
  box-shadow: inset 3px 0 #efd18b;
}

.moon-room .activity-name {
  background: #34697a;
  color: #fffdf6;
}

.moon-room .activity-name span {
  color: #d4e5e7;
}

.moon-room .status-cell {
  background: rgba(245, 252, 251, .055);
}

.moon-room .status-good {
  border-color: rgba(154, 231, 192, .82);
}

.moon-room .legend-dot.good {
  border-color: rgba(154, 231, 192, .82);
}

.moon-room .status-bad {
  border-color: rgba(255, 196, 183, .86);
}

.moon-room .legend-dot.bad {
  border-color: rgba(255, 196, 183, .86);
}

.moon-room .week-table thead .today-col {
  background: linear-gradient(180deg, #737d72, #596f70) !important;
}

.moon-room .legend {
  border-color: rgba(246, 236, 207, .3);
  background: rgba(11, 48, 63, .24);
}

@media (max-width: 650px) {
  .moon-room {
    background:
      radial-gradient(ellipse at 50% -8%, rgba(173, 216, 220, .25), transparent 40%),
      radial-gradient(circle at 14% 28%, rgba(126, 188, 203, .15), transparent 34%),
      linear-gradient(155deg, #356b7c 0%, #25566a 54%, #315f73 100%);
  }

  .moon-room .calendar-card {
    background:
      radial-gradient(circle at 92% 0, rgba(178, 220, 224, .1), transparent 27rem),
      linear-gradient(145deg, rgba(49, 98, 113, .99), rgba(29, 68, 85, .99));
  }
}

/* Die Themenwahl der Affirmationsstube greift den helleren, weicheren Himmel auf. */
.affirmation-room .topic-grid button {
  border-color: rgba(246, 236, 207, .34);
  background:
    radial-gradient(circle at 82% 12%, rgba(211, 241, 240, .18), transparent 48%),
    linear-gradient(145deg, rgba(101, 155, 168, .94), rgba(64, 117, 135, .96));
  color: #fffdf6;
  box-shadow: 0 12px 28px rgba(14, 57, 72, .16), inset 0 1px rgba(255, 255, 255, .15);
}

.affirmation-room .topic-grid button span {
  color: #f3d99c;
  text-shadow: 0 0 15px rgba(243, 217, 156, .28);
}

.affirmation-room .topic-grid button:hover,
.affirmation-room .topic-grid button:focus-visible,
.affirmation-room .topic-grid button.active {
  border-color: rgba(248, 222, 161, .82);
  background:
    radial-gradient(circle at 82% 12%, rgba(228, 248, 245, .24), transparent 48%),
    linear-gradient(145deg, rgba(120, 174, 183, .98), rgba(74, 133, 149, .98));
  box-shadow: 0 16px 34px rgba(14, 57, 72, .2), inset 0 0 0 1px rgba(255, 244, 214, .12);
}

.affirmation-room .surprise-button {
  border-color: rgba(246, 223, 169, .48);
  background: linear-gradient(145deg, rgba(91, 145, 158, .95), rgba(56, 108, 128, .97));
  color: #fff0bd;
  box-shadow: 0 10px 25px rgba(14, 57, 72, .14), inset 0 1px rgba(255, 255, 255, .12);
}

/* Heller Himmel statt schwerer Nacht, mit den bestehenden Sternen darüber. */
.ambient::before,
.sky,
.cosmos {
  background:
    radial-gradient(circle at 76% 14%, rgba(194, 239, 235, .38), transparent 31%),
    radial-gradient(circle at 18% 65%, rgba(145, 204, 228, .32), transparent 40%),
    linear-gradient(145deg, #337085, #23566e 56%, #326176);
}

.stars,
.sky::after,
.cosmos::after,
.rune-ambience::before,
.ambient::before {
  opacity: .48;
}

.mist,
.sky::before,
.cosmos::before {
  opacity: .18;
}

.hero-backdrop {
  filter: brightness(1.18) saturate(.9);
}

.hero-shade {
  background:
    linear-gradient(to bottom, rgba(13, 47, 61, .05), rgba(20, 66, 82, .02) 48%, #20566b 100%),
    radial-gradient(circle at center 43%, transparent 0 24%, rgba(12, 42, 56, .22) 92%);
}

.site-header,
.topbar,
body > header,
header {
  background: rgba(21, 61, 77, .75);
  border-bottom-color: rgba(229, 248, 244, .2);
}

/* Die Inhaltsflächen bleiben kontrastreich, wirken aber deutlich luftiger. */
.portal-card,
.home-price-card,
.sample-card,
.interest-card,
.message-card,
.deck-stage,
.tarot-origin,
.spread-position,
.combined-reading,
.angel-offer,
.number-form,
.result-card,
.contact-card,
.auth-card,
.overview-grid article,
.membership-grid article,
.coming-grid article,
.builder-grid label,
.builder-bottom,
.complete-card,
.moon-panel,
.moon-card,
.calendar-shell {
  background-color: rgba(34, 82, 99, .9);
  background-image: linear-gradient(145deg, rgba(57, 109, 124, .88), rgba(26, 68, 86, .93));
  box-shadow: 0 22px 60px rgba(5, 28, 39, .16);
}

.portal-card::before {
  background: radial-gradient(circle at 50% 15%, rgba(170, 232, 229, .28), transparent 48%);
}

.notice,
.reading-dialog {
  background-color: rgba(26, 67, 85, .97);
}

input,
select,
textarea {
  background-color: rgba(18, 55, 71, .7);
}

@media (prefers-reduced-motion: reduce) {
  body { background-attachment: scroll; }
}
