/* Dawn shell — the quiet front door. The journal stays behind My Space. */

body.dawn-mode {
  background: #f6f3ee;
  color: #2a2622;
}

body.dawn-mode .app-ambient-glow,
body.dawn-mode #boat-legacy {
  display: none !important;
}

body.boat-mode #dawn-shell {
  display: none !important;
}

body.boat-mode {
  background: #101114;
  color: #fdfbf7;
}

.boat-return-today {
  position: sticky;
  top: 0;
  z-index: 30;
  display: block;
  width: 100%;
  margin: 0 0 12px;
  border: 0;
  border-bottom: 1px solid rgba(212, 163, 115, 0.35);
  background: #1a1c24;
  color: #e9c46a;
  font-family: Outfit, sans-serif;
  font-size: 0.92rem;
  font-weight: 650;
  text-align: left;
  padding: 12px 16px;
  cursor: pointer;
}

#dawn-shell {
  min-height: 100vh;
  position: relative;
}

.dawn-sky {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(90% 40% at 80% 18%, rgba(255, 244, 220, 0.55), transparent 60%),
    linear-gradient(180deg, #c9dff3 0%, #e7eef6 22%, #f7eadc 52%, #f4d4b6 74%, #d5e4f4 100%);
}

body.dawn-mode.dawn-today:not(.dawn-plain) .dawn-sky {
  display: block;
}

.dawn-hill {
  position: absolute;
  left: -20%;
  right: -20%;
  border-radius: 50%;
}

.dawn-hill-a {
  height: 34vh;
  bottom: 6vh;
  background: rgba(214, 228, 242, 0.72);
}

.dawn-hill-b {
  height: 24vh;
  bottom: -6vh;
  background: rgba(198, 218, 236, 0.95);
}

.dawn-frame {
  position: relative;
  z-index: 1;
  max-width: 480px;
  margin: 0 auto;
  min-height: 100vh;
}

.dawn-screen {
  display: none;
  padding: 18px 18px 120px;
}

.dawn-screen.is-on {
  display: block;
}

#dawn-today {
  padding-bottom: 150px;
}

#dawn-chat {
  padding-bottom: 168px;
}

#dawn-bible {
  padding: 14px 8px 168px;
}

.dawn-row {
  display: flex;
  align-items: center;
  gap: 12px;
}

.dawn-row-spread {
  justify-content: space-between;
}

.dawn-avatar {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 1.5px solid #6d5644;
  background: #f7f1e8;
  color: #3a312b;
  font-family: Outfit, sans-serif;
  font-weight: 650;
  font-size: 1.05rem;
  display: grid;
  place-items: center;
  overflow: hidden;
  flex: 0 0 auto;
  cursor: pointer;
  padding: 0;
}

.dawn-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: none;
}

.dawn-avatar.has-photo img {
  display: block;
}

.dawn-avatar.has-photo span {
  display: none;
}

.dawn-date {
  margin: 0;
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  color: #8d8378;
  font-weight: 650;
}

.dawn-hello {
  margin: 1px 0 0;
  font-family: Outfit, sans-serif;
  font-size: 1.18rem;
  font-weight: 650;
  color: #2c2824;
  letter-spacing: -0.02em;
}

.dawn-title {
  margin: 0;
  font-family: "Playfair Display", Literata, Georgia, serif;
  font-weight: 500;
  font-size: 1.85rem;
  color: #2a2622;
}

.dawn-icon-btn {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid rgba(90, 74, 60, 0.12);
  background: rgba(255, 255, 255, 0.55);
  color: #4e463f;
  display: grid;
  place-items: center;
  cursor: pointer;
}

.dawn-chips {
  display: flex;
  align-items: center;
  gap: 8px;
}

.dawn-chip {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  border: 0;
  background: rgba(255, 248, 240, 0.82);
  color: #5c4a3a;
  border-radius: 999px;
  padding: 6px 10px;
  font-family: Outfit, sans-serif;
  font-weight: 650;
  font-size: 0.82rem;
  box-shadow: 0 4px 14px rgba(120, 80, 40, 0.06);
}

.dawn-chip svg {
  width: 14px;
  height: 14px;
}

.dawn-chip-flame {
  background: #fff4ea;
  color: #d4652f;
}

.dawn-chip-sprout {
  color: #3f9a62;
  background: rgba(255, 255, 255, 0.7);
}

.dawn-kicker {
  margin: 11vh 0 18px;
  text-align: center;
  letter-spacing: 0.22em;
  font-size: 0.74rem;
  font-weight: 650;
  color: #b08a62;
}

.dawn-hero-verse {
  margin: 0 auto;
  max-width: 18ch;
  text-align: center;
  font-family: "Playfair Display", Literata, Georgia, serif;
  font-style: italic;
  font-weight: 500;
  font-size: clamp(1.7rem, 6.4vw, 2.15rem);
  line-height: 1.38;
  color: #6a5f57;
  background: none;
  border: 0;
  cursor: pointer;
  -webkit-mask-image: linear-gradient(180deg, #000 58%, transparent 100%);
  mask-image: linear-gradient(180deg, #000 58%, transparent 100%);
}

body.dawn-plain .dawn-hero-verse {
  -webkit-mask-image: none;
  mask-image: none;
  background: #fff;
  border-radius: 26px;
  padding: 28px 22px;
  max-width: none;
  box-shadow: 0 12px 32px rgba(80, 55, 30, 0.06);
}

.dawn-ref {
  margin: 14px 0 0;
  text-align: center;
  color: #a89888;
  font-size: 0.82rem;
  letter-spacing: 0.04em;
}

.dawn-widgets {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  margin-top: 16px;
}

.dawn-widget {
  background: rgba(255, 255, 255, 0.78);
  border-radius: 999px;
  padding: 6px 12px;
  font-size: 0.78rem;
  color: #5c534c;
}

.dawn-save {
  position: fixed;
  z-index: 5;
  left: 50%;
  transform: translateX(-50%);
  width: min(440px, calc(100% - 28px));
  bottom: calc(78px + env(safe-area-inset-bottom));
  display: none;
  align-items: center;
  gap: 12px;
  background: rgba(255, 252, 248, 0.94);
  border: 0;
  border-radius: 22px;
  padding: 12px 12px 12px 14px;
  box-shadow: 0 10px 30px rgba(80, 60, 40, 0.1);
  text-align: left;
  cursor: pointer;
  font-family: Outfit, sans-serif;
}

body.dawn-mode.dawn-today .dawn-save {
  display: flex;
}

.dawn-save.is-hidden,
.dawn-pop.is-hidden,
.dawn-scrim.is-hidden,
.dawn-space.is-hidden,
.dawn-sheet.is-hidden,
.dawn-banner.is-hidden,
.dawn-ask.is-hidden,
.dawn-player.is-hidden,
.is-hidden {
  display: none !important;
}

.dawn-save-mark {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #f6e6d4;
  color: #c47b4a;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
}

.dawn-save strong {
  display: block;
  font-size: 0.95rem;
  color: #2d2926;
}

.dawn-save span {
  display: block;
  font-size: 0.8rem;
  color: #8a8178;
  font-weight: 400;
}

.dawn-save-x {
  margin-left: auto;
  border: 0;
  background: transparent;
  color: #9a9188;
  font-size: 1.2rem;
  cursor: pointer;
  padding: 6px;
}

.dawn-pop {
  position: fixed;
  z-index: 30;
  top: 74px;
  right: max(12px, calc(50vw - 228px));
  width: min(280px, calc(100% - 24px));
  background: #fffdf9;
  border-radius: 18px;
  padding: 14px;
  box-shadow: 0 16px 40px rgba(60, 40, 20, 0.14);
}

.dawn-pop p {
  margin: 0 0 8px;
  color: #4e463f;
  font-size: 0.92rem;
}

.dawn-text-btn,
.dawn-block-btn {
  font-family: Outfit, sans-serif;
  cursor: pointer;
}

.dawn-text-btn {
  display: block;
  width: 100%;
  text-align: left;
  border: 0;
  background: transparent;
  color: #7a5b3a;
  font-weight: 650;
  padding: 8px 0;
}

.dawn-block-btn {
  width: 100%;
  border: 0;
  border-radius: 14px;
  background: #2c2824;
  color: #fff;
  padding: 12px 14px;
  font-weight: 650;
  margin-top: 8px;
}

.dawn-card {
  background: #fff;
  border-radius: 22px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(70, 50, 30, 0.05);
}

.dawn-devo {
  position: relative;
  min-height: 168px;
  padding: 22px 20px;
  color: #f7f1e6;
  background:
    radial-gradient(80% 80% at 80% 80%, rgba(232, 196, 122, 0.45), transparent 55%),
    linear-gradient(135deg, #314e73 0%, #3d5f86 40%, #1e3a5f 100%);
}

.dawn-devo-kicker {
  display: inline-block;
  background: rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  padding: 4px 8px;
  letter-spacing: 0.12em;
  font-size: 0.66rem;
  font-weight: 700;
}

.dawn-devo p {
  margin: 14px 0 10px;
  font-family: "Playfair Display", Georgia, serif;
  font-style: italic;
  font-size: 1.28rem;
  line-height: 1.35;
}

.dawn-devo small {
  letter-spacing: 0.04em;
  font-size: 0.78rem;
  opacity: 0.9;
}

.dawn-devo-ask {
  display: inline-block;
  margin-top: 12px;
  border: 0;
  background: rgba(255, 255, 255, 0.16);
  color: #fff;
  border-radius: 999px;
  padding: 6px 12px;
  font-family: Outfit, sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  cursor: pointer;
}

.dawn-scripture-card {
  display: block;
  width: 100%;
  margin-top: 10px;
  text-align: left;
  border: 0;
  background: #f7f1e6;
  border-radius: 14px;
  padding: 10px 12px;
  cursor: pointer;
  font-family: Outfit, sans-serif;
  color: #2c2824;
}

.dawn-scripture-card small {
  display: block;
  letter-spacing: 0.08em;
  font-size: 0.68rem;
  font-weight: 750;
  color: #8a6238;
  margin-bottom: 4px;
}

.dawn-scripture-card span {
  display: block;
  font-family: Literata, Georgia, serif;
  font-size: 0.95rem;
  line-height: 1.45;
}

.dawn-scripture-card em {
  display: block;
  margin-top: 6px;
  font-style: normal;
  font-size: 0.75rem;
  font-weight: 700;
  color: #6d5b8a;
}

.dawn-study-blurb {
  margin: 8px 0 0;
  font-family: Outfit, sans-serif;
  font-size: 0.82rem;
  line-height: 1.45;
  color: #5c534c;
}

.dawn-chapter h3 {
  margin: 1.1em 0 0.45em;
  font-family: Outfit, sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  color: #6d5b48;
}

.dawn-verse-line.is-speaking {
  background: rgba(232, 196, 122, 0.45);
  border-radius: 8px;
}

.dawn-reader-study {
  margin: 0 18px 12px;
  padding: 12px 14px;
  background: #f7f1e6;
  border-radius: 14px;
}

.dawn-reader-study small,
.dawn-study-credit,
.dawn-reader-study cite {
  display: block;
  font-family: Outfit, sans-serif;
  font-size: 0.68rem;
  font-style: normal;
  font-weight: 750;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #8a6238;
}

.dawn-reader-study p,
.dawn-study-live {
  margin: 6px 0 0;
  font-family: Outfit, sans-serif;
  font-size: 0.92rem;
  line-height: 1.5;
  color: #3d3833;
}

.dawn-study-credit {
  margin: 8px 0 18px;
}

.dawn-bubble p {
  margin: 0;
  white-space: pre-wrap;
}

.dawn-section-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin: 26px 2px 12px;
}

.dawn-section-head h2 {
  margin: 0;
  font-family: "Playfair Display", Georgia, serif;
  font-weight: 500;
  font-size: 1.7rem;
}

.dawn-linkish {
  border: 0;
  background: transparent;
  color: #8a8178;
  letter-spacing: 0.08em;
  font-size: 0.72rem;
  font-weight: 700;
  cursor: pointer;
  font-family: Outfit, sans-serif;
}

.dawn-topic-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.dawn-topic {
  text-align: left;
  border: 0;
  border-radius: 18px;
  min-height: 132px;
  padding: 16px 14px;
  cursor: pointer;
  font-family: Outfit, sans-serif;
  position: relative;
  color: #3a332e;
}

.dawn-topic strong {
  display: block;
  font-family: "Playfair Display", Georgia, serif;
  font-size: 1.25rem;
  font-weight: 500;
  line-height: 1.2;
  margin-bottom: 8px;
}

.dawn-topic span {
  display: block;
  color: #7d736a;
  font-size: 0.84rem;
}

.dawn-topic i {
  position: absolute;
  left: 14px;
  bottom: 12px;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: #fff;
  display: grid;
  place-items: center;
  font-style: normal;
  font-size: 0.85rem;
}

.dawn-topic:nth-child(1) { background: #f3dcc4; }
.dawn-topic:nth-child(2) { background: #f6e3cf; }
.dawn-topic:nth-child(3) { background: #f3eee9; }
.dawn-topic:nth-child(4) { background: #efe6ef; }
.dawn-topic:nth-child(5) { background: #e7f0ea; }
.dawn-topic:nth-child(6) { background: #e7eef6; }

.dawn-topic-grid.is-collapsed .dawn-topic:nth-child(n + 5) {
  display: none;
}

.dawn-log {
  margin-top: 18px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.dawn-bubble {
  border-radius: 16px;
  padding: 12px 14px;
  font-size: 0.95rem;
  line-height: 1.45;
  white-space: pre-wrap;
}

.dawn-bubble.user {
  align-self: flex-end;
  max-width: 88%;
  background: #efe6fb;
  color: #2e2933;
}

.dawn-bubble.companion {
  align-self: flex-start;
  max-width: 92%;
  background: #fff;
  color: #3a342e;
}

.dawn-ask,
.dawn-player,
.dawn-tabbar {
  position: fixed;
  z-index: 20;
  left: 50%;
  transform: translateX(-50%);
  width: min(480px, 100%);
}

.dawn-ask {
  bottom: calc(74px + env(safe-area-inset-bottom));
  display: none;
  align-items: center;
  gap: 8px;
  width: min(448px, calc(100% - 24px));
  background: #fff;
  border-radius: 999px;
  padding: 8px 8px 8px 16px;
  box-shadow: 0 8px 24px rgba(60, 40, 20, 0.1);
}

body.dawn-mode.dawn-chat .dawn-ask {
  display: flex;
}

.dawn-ask input {
  flex: 1;
  border: 0;
  outline: none;
  background: transparent;
  font-family: Outfit, sans-serif;
  font-size: 1rem;
  color: #2c2824;
  min-width: 0;
}

.dawn-ask-spark {
  color: #d4a24a;
  font-size: 1rem;
}

.dawn-ask button {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 0;
  background: transparent;
  color: #5c554e;
  cursor: pointer;
  display: grid;
  place-items: center;
}

.dawn-player {
  position: fixed;
  bottom: calc(78px + env(safe-area-inset-bottom));
  display: none;
  width: min(280px, calc(100% - 48px));
  background: #fff;
  border-radius: 999px;
  box-shadow: 0 10px 28px rgba(40, 30, 20, 0.16);
  align-items: center;
  justify-content: space-between;
  padding: 8px 18px 14px;
  gap: 8px;
  position: fixed;
}

body.dawn-mode.dawn-bible .dawn-player {
  display: flex;
}

.dawn-player button {
  border: 0;
  background: transparent;
  width: 42px;
  height: 36px;
  cursor: pointer;
  color: #2c2824;
  display: grid;
  place-items: center;
}

.dawn-player-track {
  position: absolute;
  left: 22px;
  right: 22px;
  bottom: 8px;
  height: 3px;
  background: #ece7e1;
  border-radius: 99px;
  overflow: hidden;
}

#dawn-player-bar {
  height: 100%;
  width: 0%;
  background: #b7b1aa;
}

.dawn-tabbar {
  bottom: 0;
  height: calc(68px + env(safe-area-inset-bottom));
  padding: 6px 8px env(safe-area-inset-bottom);
  background: #fffcf9;
  border-top: 1px solid rgba(80, 60, 40, 0.06);
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  z-index: 25;
}

.dawn-tab {
  border: 0;
  background: transparent;
  color: #9a938c;
  font-family: Outfit, sans-serif;
  font-size: 0.68rem;
  font-weight: 600;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  cursor: pointer;
}

.dawn-tab svg {
  width: 22px;
  height: 22px;
}

.dawn-tab.is-on {
  color: #5c4d78;
  font-weight: 700;
}

.dawn-tab.is-on .dawn-tab-icon {
  background: #f1e7ff;
  border-radius: 14px;
  padding: 4px 12px;
}

.dawn-bible-tools {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 10px 4px;
}

.dawn-pills {
  display: flex;
  gap: 8px;
}

.dawn-pill {
  border: 0;
  background: #fff;
  color: #2f2b28;
  border-radius: 999px;
  padding: 8px 14px;
  font-family: Outfit, sans-serif;
  font-weight: 650;
  font-size: 0.92rem;
  box-shadow: 0 4px 14px rgba(60, 40, 20, 0.05);
  cursor: pointer;
}

.dawn-tool-pair {
  display: flex;
  gap: 4px;
}

.dawn-heading {
  margin: 18px 18px 8px;
  font-family: "Playfair Display", Georgia, serif;
  font-style: italic;
  font-weight: 500;
  font-size: 1.55rem;
  color: #6d675f;
}

.dawn-chapter {
  padding: 0 18px 12px;
  font-family: Literata, Georgia, serif;
  font-size: 18px;
  line-height: 1.72;
  color: #2c2926;
}

.dawn-verse-line {
  margin: 0 0 0.85em;
}

.dawn-verse-line sup {
  font-family: Outfit, sans-serif;
  font-size: 0.68em;
  color: #8d8680;
  margin-right: 4px;
  font-weight: 650;
}

.dawn-verse-line.is-marked {
  background: rgba(243, 220, 180, 0.35);
  border-radius: 8px;
}

.dawn-status {
  padding: 28px 18px;
  color: #8a8178;
  font-family: Outfit, sans-serif;
}

.dawn-search {
  margin: 0 0 12px;
  width: 100%;
  border: 0;
  background: #fff;
  border-radius: 14px;
  padding: 12px 14px;
  font-family: Outfit, sans-serif;
  font-size: 1rem;
  color: #2c2824;
}

.dawn-hero {
  position: relative;
  display: block;
  width: 100%;
  min-height: 176px;
  border: 0;
  border-radius: 22px;
  overflow: hidden;
  text-align: left;
  color: #fff;
  cursor: pointer;
  padding: 18px;
  background:
    radial-gradient(60% 80% at 70% 70%, rgba(244, 196, 120, 0.35), transparent 60%),
    linear-gradient(160deg, #3a342c 0%, #6a5038 45%, #c4895a 100%);
}

.dawn-hero small {
  letter-spacing: 0.16em;
  font-size: 0.68rem;
  font-weight: 700;
}

.dawn-hero strong {
  display: block;
  margin-top: 8px;
  font-family: "Playfair Display", Georgia, serif;
  font-size: 1.7rem;
  font-weight: 500;
  max-width: 14ch;
  line-height: 1.15;
}

.dawn-hero-boat {
  position: absolute;
  right: 16px;
  bottom: 16px;
  opacity: 0.9;
}

.dawn-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 14px;
}

.dawn-tile {
  border: 0;
  border-radius: 18px;
  min-height: 74px;
  color: #fff;
  font-family: Outfit, sans-serif;
  font-size: 1rem;
  font-weight: 650;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  cursor: pointer;
}

.dawn-tile.teal { background: #1f8f86; }
.dawn-tile.purple { background: #6d5bd0; }
.dawn-tile.blue { background: #3c7eb8; }
.dawn-tile.clay { background: #c4846c; }

.dawn-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.dawn-list-item {
  width: 100%;
  display: flex;
  gap: 12px;
  align-items: center;
  text-align: left;
  border: 0;
  background: #fff;
  border-radius: 16px;
  padding: 10px;
  cursor: pointer;
  font-family: Outfit, sans-serif;
  color: #2c2824;
}

.dawn-thumb {
  width: 54px;
  height: 54px;
  border-radius: 12px;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  color: #fff;
  font-size: 1.1rem;
}

.dawn-list-item small {
  display: block;
  color: #3c7eb8;
  letter-spacing: 0.08em;
  font-size: 0.66rem;
  font-weight: 750;
  margin-bottom: 3px;
}

.dawn-list-item strong {
  display: block;
  font-size: 1rem;
  font-weight: 650;
  line-height: 1.25;
}

.dawn-prayer {
  background: #fff;
  border-radius: 16px;
  padding: 14px;
  margin-bottom: 10px;
}

.dawn-prayer h3 {
  margin: 0 0 6px;
  font-size: 1rem;
}

.dawn-prayer p {
  margin: 0;
  color: #5c554e;
  font-size: 0.92rem;
}

.dawn-prayer time {
  display: block;
  margin-top: 8px;
  color: #9a9188;
  font-size: 0.75rem;
}

.dawn-scrim {
  position: fixed;
  inset: 0;
  background: rgba(40, 32, 24, 0.18);
  z-index: 40;
}

.dawn-space {
  position: fixed;
  z-index: 50;
  top: 0;
  bottom: 0;
  left: 0;
  width: min(420px, 92vw);
  overflow: auto;
  background: linear-gradient(180deg, #fbf7f1 0%, #f3eee7 100%);
  padding: 28px 16px 48px;
  box-shadow: 12px 0 40px rgba(40, 30, 20, 0.08);
}

.dawn-space h2,
.dawn-sheet h2 {
  font-family: "Playfair Display", Georgia, serif;
  font-weight: 500;
  margin: 0 0 14px;
}

.dawn-menu-card,
.dawn-detail-card {
  background: #fff;
  border-radius: 18px;
  overflow: hidden;
  margin-bottom: 22px;
}

.dawn-menu-row,
.dawn-detail-row {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 12px;
  text-align: left;
  border: 0;
  border-bottom: 1px solid #f0ebe4;
  background: #fff;
  padding: 16px 14px;
  font-family: Outfit, sans-serif;
  font-size: 1rem;
  font-weight: 650;
  color: #2a2622;
  cursor: pointer;
}

.dawn-menu-row:last-child,
.dawn-detail-row:last-child {
  border-bottom: 0;
}

.dawn-menu-row span,
.dawn-detail-row span {
  flex: 1;
}

.dawn-detail-row {
  cursor: default;
}

.dawn-detail-row select,
.dawn-detail-row input {
  border: 0;
  background: transparent;
  text-align: right;
  font-family: Outfit, sans-serif;
  font-size: 0.95rem;
  color: #8a8178;
  max-width: 55%;
  outline: none;
}

.dawn-toggle {
  width: 46px;
  height: 28px;
  border-radius: 999px;
  border: 0;
  background: #e4ddd4;
  position: relative;
  cursor: pointer;
  flex: 0 0 auto;
}

.dawn-toggle i {
  position: absolute;
  top: 3px;
  left: 3px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #fff;
  transition: transform 0.15s ease;
}

.dawn-toggle.is-on {
  background: #e0b15a;
}

.dawn-toggle.is-on i {
  transform: translateX(18px);
  background: #c9862a;
}

.dawn-label {
  margin: 8px 4px;
  color: #8a8178;
  font-size: 0.95rem;
}

.dawn-sheet {
  position: fixed;
  z-index: 60;
  left: 50%;
  transform: translateX(-50%);
  bottom: 0;
  width: min(480px, 100%);
  max-height: min(88vh, 760px);
  overflow: auto;
  background: #f7f4ef;
  border-radius: 22px 22px 0 0;
  padding: 18px 16px calc(24px + env(safe-area-inset-bottom));
  box-shadow: 0 -12px 40px rgba(40, 30, 20, 0.16);
}

.dawn-sheet-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 8px;
}

.dawn-book-list button,
.dawn-chapter-grid button,
.dawn-choice {
  font-family: Outfit, sans-serif;
  cursor: pointer;
}

.dawn-book-list {
  display: flex;
  flex-direction: column;
}

.dawn-book-list button,
.dawn-choice {
  text-align: left;
  border: 0;
  border-bottom: 1px solid #eee6dc;
  background: transparent;
  padding: 12px 4px;
  font-size: 1rem;
  color: #2c2824;
}

.dawn-chapter-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 8px;
}

.dawn-chapter-grid button {
  border: 0;
  background: #fff;
  border-radius: 12px;
  padding: 12px 0;
  font-weight: 650;
  color: #2c2824;
}

.dawn-study-verse {
  font-family: Literata, Georgia, serif;
  font-size: 1.05rem;
  line-height: 1.6;
  color: #2c2824;
}

.dawn-study-note {
  color: #6d6258;
  margin: 0 0 16px;
}

.dawn-banner {
  position: fixed;
  z-index: 35;
  left: 50%;
  transform: translateX(-50%);
  bottom: calc(84px + env(safe-area-inset-bottom));
  width: min(440px, calc(100% - 24px));
  background: #2c2824;
  color: #f6f1ea;
  border-radius: 16px;
  padding: 12px 14px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9rem;
}

.dawn-banner button {
  margin-left: auto;
  border: 0;
  background: transparent;
  color: #f6f1ea;
  cursor: pointer;
  font-size: 1.1rem;
}

@media (max-width: 380px) {
  .dawn-hello { font-size: 1.02rem; }
  .dawn-topic strong { font-size: 1.05rem; }
  .dawn-title { font-size: 1.55rem; }
}

@media print {
  #dawn-shell { display: none !important; }
}

.dawn-tile.gold { background: #b9852f; }
.dawn-tile.slate { background: #4a5d78; }
.dawn-tile.rose { background: #b0576b; }
.dawn-tile.moss { background: #5f7f4e; }

.dawn-tool-form { display: flex; flex-direction: column; gap: 8px; margin-bottom: 8px; }
.dawn-tool-h { margin: 18px 0 8px; font-family: Outfit, sans-serif; color: #2c2824; }
.dawn-tool-q { margin: 6px 0 14px; font-family: "Playfair Display", Georgia, serif; font-size: 1.35rem; color: #2c2824; }
.dawn-tool-actions { margin: 10px 0 14px; }
.dawn-prayer-out p { font-family: "Playfair Display", Georgia, serif; font-size: 1.1rem; line-height: 1.6; }
.dawn-chip-row { display: flex; flex-wrap: wrap; gap: 8px; margin: 4px 0 14px; max-height: 148px; overflow-y: auto; }
.dawn-chip-btn {
  border: 0;
  background: #fff;
  color: #2f2b28;
  border-radius: 999px;
  min-height: 44px;
  padding: 0 14px;
  font-family: Outfit, sans-serif;
  font-weight: 600;
  font-size: 0.9rem;
  box-shadow: 0 4px 14px rgba(60, 40, 20, 0.05);
  cursor: pointer;
}
.dawn-choice { min-height: 44px; width: 100%; }
.dawn-choice.is-right { background: #e3f1df; color: #1e5a2a; }
.dawn-choice.is-wrong { background: #f6dede; color: #8a2a2a; }
.dawn-best { float: right; font-style: normal; color: #8a8178; font-size: 0.85rem; }
.dawn-sub { color: #8a8178; }
