/* Quiet translucent surfaces keep the imagery and type in the foreground. */
:root {
  --lens-surface: rgb(198 219 237 / .075);
  --lens-hover: rgb(200 222 239 / .15);
  --lens-edge: rgb(200 220 236 / .22);
  --lens-shadow: none;
  --lens-filter: blur(6px);
  --panel-smoke: rgb(21 41 62 / .76);
  --panel-pearl: rgb(222 234 244 / .84);
  --panel-shadow: 0 3px 14px rgb(5 23 40 / .10);
  --panel-filter: blur(14px);
  --amber-lens: rgb(192 156 91 / .20);
  --gold-metal: #dab677;
}

.site-header, .launch-card, .guide-panel, .page-contact, .audio-player, .theotopia-preview,
.reader-tools, .reader-navigation, .reader-resume-popup, .mini-player, .share-dialog, .reader-dialog {
  -webkit-backdrop-filter: var(--panel-filter);
  backdrop-filter: var(--panel-filter);
  box-shadow: var(--panel-shadow);
  border-color: rgb(205 232 249 / .13);
}
.site-header, .launch-card, .guide-panel, .audio-player, .page-contact { background: var(--panel-pearl); }
.site-header { --panel-filter: blur(16px); }
.site-header #mobile-menu, .desktop-nav .discover-panel {
  background: rgb(225 236 246 / .97);
  box-shadow: var(--panel-shadow);
}
.theotopia-preview { background: rgb(196 218 235 / .16); }
.reading-main {
  background: radial-gradient(ellipse 74% 350px at 90% 425px, #173c5c80, transparent),
    radial-gradient(ellipse 62% 490px at 11% 180px, #17334a66, transparent), #000;
}
.reader-tools, .mini-player { background: var(--panel-smoke); }

.reader-navigation {
  --nav-rim: rgb(161 192 216 / .42);
  background: linear-gradient(122deg, rgb(231 245 255 / .14), transparent 36% 70%, rgb(204 228 249 / .09)), var(--panel-smoke);
  border-color: var(--nav-rim);
  box-shadow: inset 0 1px 1px rgb(252 254 255 / .29), inset 0 -1px 1px rgb(175 211 239 / .12), var(--panel-shadow);
}
.reader-navigation[open] > summary {
  border-end-start-radius: 0;
  border-end-end-radius: 0;
}
.reader-navigation[open] > summary::after {
  content: "";
  position: absolute;
  inset: auto 16px 0;
  height: 1px;
  pointer-events: none;
  background: linear-gradient(90deg, transparent, var(--nav-rim) 14% 86%, transparent);
}
@media (hover: hover) {
  .reader-navigation > summary:hover { background-color: var(--lens-surface); }
}
.reader-tools, .mini-player {
  --panel-smoke: rgb(20 40 61 / .84);
  --panel-filter: blur(16px);
}
.reader-resume-popup {
  --resume-surface: #34393f;
  --glass-glint: linear-gradient(140deg, #9daab6, rgb(183 193 202 / .18) 48%, #e4e9ed);
  background: linear-gradient(120deg, rgb(255 255 255 / .10), transparent 70%), var(--resume-surface);
  border-color: #646c74;
  color: #f0f2f4;
  box-shadow: inset 0 1px 0 rgb(255 255 255 / .16), 0 3px 10px rgb(14 23 31 / .14);
}
.share-dialog, .reader-dialog:not(.reading-plan-dialog) {
  background: rgb(17 36 55 / .95);
}
.reading-modes {
  background: var(--panel-smoke);
  border-color: rgb(208 232 245 / .13);
  box-shadow: var(--panel-shadow);
}
.reader-banner { background: #092e4d; border-color: rgb(198 224 241 / .15); }
.reader-banner::after {
  background: linear-gradient(100deg, rgb(4 19 37 / .32), rgb(6 26 49 / .57) 48%, rgb(6 26 49 / .42) 70%, rgb(4 22 43 / .26));
  box-shadow: none;
}

/* The glass player picks up the blue hills and the warm light on the horizon. */
.audio-stage {
  border-radius: 20px;
  background: linear-gradient(114deg, rgb(2 21 46 / .67), rgb(8 38 62 / .25) 48%, rgb(1 23 49 / .30)),
    var(--catechism-panorama) center 60% / cover no-repeat, #103953;
}
.audio-card {
  border-radius: inherit;
  border-color: rgb(175 215 233 / .16);
  background: rgb(5 24 46 / .48);
  -webkit-backdrop-filter: blur(5px);
  backdrop-filter: blur(5px);
  box-shadow: var(--panel-shadow);
}
.audio-heading h3 { color: #fff; text-shadow: 0 1px 6px #041529; }
.audio-heading p, .mini-meta { color: #ffe3a6; }
.audio-description, .audio-times { text-shadow: 0 1px 5px #021324; }
.audio-times { color: #dbe9f6; }

.site-header #mobile-menu > .support-glass {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin: 7px 0;
  min-height: 44px;
  padding: 8px 16px;
  font-size: 14px;
}
.button-glass, .button-outline-light, .reader-action, .reader-round, .social-link,
.reader-banner .reader-round, .share-close, .audio-options select { color: #f5faff; }
.button-clear, .site-header .menu-toggle, .audio-player .icon-button { color: #0b2b4d; }
.site-header .menu-toggle { border-radius: 50%; }
.audio-options select { border-radius: 22px; padding: 7px 8px; }
.audio-options select option { background: #112c43; color: #fff; }
.reader-banner-actions .paragraph-jump input {
  background: rgb(8 27 48 / .45);
  color: #fff;
  box-shadow: none;
}
.reader-audio-controls { gap: 11px; }
.audio-card .audio-skip { width: 44px; height: 44px; min-width: 44px; min-height: 44px; }
.audio-card .audio-play { width: 58px; height: 58px; }
.reader-round.audio-play {
  color: #fff;
  background: rgb(203 225 242 / .16);
  box-shadow: none;
}
.reader-round.audio-play:disabled { opacity: .66; }
.audio-card .audio-play .icon { width: 23px; height: 23px; }
.audio-options .reader-round { width: 34px; height: 34px; }
.reader-action:focus-visible, .reader-round:focus-visible, .audio-options select:focus-visible,
.button:focus-visible, .reading-modes a:focus-visible {
  outline: 2px solid #ffe0a1;
  outline-offset: 3px;
}

/* The colored artwork occupies the middle of a clear button. */
.streaming-logos .streaming-logo img, .follow-platform > .streaming-logo img {
  width: 62%; height: 62%; padding: 0; margin: 0; border-radius: 0; object-fit: contain;
}
.streaming-logo.streaming-spotify img { border-radius: 50%; background: #102529; }
.streaming-logo.streaming-apple-podcasts img { border-radius: 23%; background: #fff; }
.streaming-logo.streaming-youtube img { background: radial-gradient(ellipse 31% 24% at center, #fff 92%, transparent 100%); }
.streaming-logo.streaming-amazon-music img, .streaming-logo.streaming-podcast-addict img { border-radius: 22%; }
.streaming-logo.streaming-audible img { padding: 8%; border-radius: 22%; background: #f4a136; }
.follow-streaming .cec-follow-platforms { position: relative; isolation: isolate; }
.follow-streaming .cec-follow-platforms::before {
  content: ''; position: absolute; z-index: -1; inset: -12px 0 24px; pointer-events: none;
  background: linear-gradient(110deg, #16375cab, #102c54b5 50%, #163c5485), url('/assets/hero.webp') 84% 62% / cover;
  -webkit-mask-image: radial-gradient(ellipse 62% 64% at 52% 45%, #000 22%, transparent 90%);
  mask-image: radial-gradient(ellipse 62% 64% at 52% 45%, #000 22%, transparent 90%);
}
.follow-streaming .follow-platform {
  background: var(--panel-smoke); color: #f5f9ff; border-color: rgb(204 231 248 / .16);
  -webkit-backdrop-filter: var(--panel-filter); backdrop-filter: var(--panel-filter);
  box-shadow: var(--panel-shadow);
}
.follow-streaming button.follow-platform { text-align: left; font-family: inherit; }

/* The player keeps the pearl blue of its navy backdrop in either appearance. */
.page-home .audio-player {
  color-scheme: light;
  color: var(--navy);
  background: #bbcedf;
}
#audible-notice {
  width: min(17rem, calc(100% - 36px));
  margin: auto;
  padding: 24px;
  border: 1px solid rgb(195 217 238 / .32);
  border-radius: 18px;
  background: #142e49;
  color: #f4f8fc;
  text-align: center;
  font-family: var(--reader);
}
#audible-title { margin: 0; font: 650 23px/1.2 var(--reader); text-transform: none; color: inherit; }
#audible-message { margin: 7px 0 17px; font: 400 16px/1.5 var(--reader); color: inherit; }
#audible-notice .button { min-height: 36px; padding: 7px 20px; color: inherit; }
#audible-notice::backdrop { background: rgb(4 18 33 / .43); backdrop-filter: blur(3px); }
body[data-reading-theme=light] #audible-notice { background: #edf4fa; color: #163554; border-color: #a5bbcf; }

.reading-steps li {
  background-image: linear-gradient(135deg, #376db5bc, #243e75a1 52%, #724d8ead);
  box-shadow: var(--panel-shadow);
}
.reading-steps li:nth-child(2) { background-image: linear-gradient(135deg, #3d66b7b3, #415c95a6 52%, #244170b3); }
.reading-steps li:nth-child(3) { background-image: linear-gradient(135deg, #956e3ab3, #515978a8 55%, #2e5380b3); }

@media (max-width:740px), (min-width:600px) and (max-width:960px) and (max-height:520px) and (orientation:landscape) {
  .hero-platform-links .streaming-logo img { width: 21px; height: 21px; }
}
@media (max-width: 620px) {
  .audio-stage { background-position: center, 64% 55%; }
  .footer-socials.streaming-logos { flex-shrink: 1; }
}
@media (prefers-reduced-transparency: reduce) {
  :root {
    --lens-filter: none; --panel-filter: none; --lens-surface: #36536b; --lens-hover: #3b5971;
    --panel-smoke: #142d45; --panel-pearl: #dfebf3; --amber-lens: #684a26; --lens-shadow: none;
  }
  .site-header, .reader-tools, .mini-player { --panel-filter: none; }
  .reader-tools, .mini-player { --panel-smoke: #152e45; }
  .reader-navigation { background: var(--panel-smoke); }
  .reader-resume-popup { background: var(--resume-surface); -webkit-backdrop-filter: none; backdrop-filter: none; }
  .audio-card, .reader-dialog:not(.reading-plan-dialog), .share-dialog { background: #132d45; -webkit-backdrop-filter: none; backdrop-filter: none; }
  .follow-streaming .cec-follow-platforms::before { display: none; }
}
