/* Paragraphs wrap naturally across their available column. */
body p{max-width:none!important;white-space:normal;text-wrap:wrap!important}
.reader-intro>div{flex:1;min-width:0}
.reading-main{padding-top:114px}
.reader-intro{padding:0 0 18px}
.reader-intro h1{margin-top:0}

/* The frosted menu keeps the same legible ink on dark reader pages. */
.site-header #mobile-menu{background:linear-gradient(140deg,#e2ecf5fa,#c4d6e8fa);color:#082d59;color-scheme:light}
.site-header #mobile-menu a,.site-header #mobile-menu summary{color:#082d59}
.site-header #mobile-menu a[aria-current=page]{color:#00376e;background:#ffffff5c;border-radius:9px}
.site-header #mobile-menu a:not(.support-glass):hover{background:#fff6}
.site-header #mobile-menu a:focus-visible,.site-header #mobile-menu summary:focus-visible{outline:2px solid #154d8d;outline-offset:2px}
.site-header .desktop-nav>a{color:#082d59}
.site-header .menu-toggle{color:#082d59}
.site-header #mobile-menu>a,.site-header #mobile-menu .mobile-discover>summary{font-family:var(--reader);font-size:16px;font-weight:700;letter-spacing:normal;padding-inline:8px}

.books-section .section-heading h2{margin-top:0}
.books-section .section-heading .eyebrow{margin:8px 0 0}

/* Three animated cards replace the format's decorative dividing lines. */
.reading-format{border-top:0}
.reading-steps{gap:20px}
.reading-steps li{position:relative;isolation:isolate;overflow:hidden;padding:26px 24px;border:0;border-radius:23px;background:linear-gradient(135deg,#235ba5,#173466 52%,#482f75);background-size:180% 180%;box-shadow:inset 0 1px 0 #ffffff2e,0 16px 34px #00122e32;animation:format-colors 14s ease-in-out infinite alternate;transition:transform .25s,box-shadow .25s}
.reading-steps li:nth-child(2){background-image:linear-gradient(135deg,#2847a0,#344b89 52%,#132d62);animation-delay:-5s}
.reading-steps li:nth-child(3){background-image:linear-gradient(135deg,#735227,#384568 55%,#183c70);animation-delay:-9s}
.reading-steps li:before{content:'';position:absolute;z-index:-1;inset:-50% -15% 25% 20%;border-radius:50%;background:radial-gradient(ellipse,#96bfff37,transparent 65%);animation:format-light 9s ease-in-out infinite alternate;pointer-events:none}
.reading-steps li:hover{transform:translateY(-5px);box-shadow:inset 0 1px 0 #ffffff42,0 22px 40px #00122e55}
.reading-steps .step-number{color:#f0ce88}
.reading-steps p{color:#e2ebf5}
@keyframes format-colors{to{background-position:100% 100%}}
@keyframes format-light{to{transform:translate(-20%,40%) scale(1.15)}}

/* A platform card needs just its recognizable logo and name. */
.follow-streaming .follow-platform{display:flex;flex-direction:row;align-items:center;justify-content:flex-start;gap:21px;min-height:123px;padding:25px}
.follow-streaming .follow-platform>.streaming-logo{margin:0;--logo-size:58px}
.follow-streaming .follow-platform :is(h3,.platform-name){margin:0;line-height:1.35}
.streaming-logo.streaming-amazon-music{background:#25d1da}
.streaming-logo.streaming-amazon-music img{padding:0;filter:none;object-fit:cover}

/* The current passage comes immediately after the reading mode. */
.reading-modes{margin-bottom:0}
.reading-modes+.reader-banner{margin-top:14px;margin-bottom:16px}
.episode-banner{min-height:0;row-gap:12px;padding-block:20px 14px}
.episode-banner h2{margin-bottom:0}
.reader-banner-actions{grid-column:1/-1;display:grid;grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);align-items:center;gap:18px;width:100%;padding-top:3px}
.reader-banner-actions>.reader-banner-current{grid-column:1;justify-self:start;text-align:left;line-height:1.3}
.reader-banner-actions .paragraph-jump{grid-column:2;justify-self:center;order:0;flex:none;justify-content:center;margin:0;gap:8px}
.reader-banner-actions .paragraph-jump>span{display:inline;color:#c9d8e8}
.reader-banner:has(> .reader-banner-foot) { row-gap: 9px; padding-block-end: 13px; }
.reader-banner-foot {
 grid-column: 1 / -1;
 display: flex;
 align-items: center;
 justify-content: space-between;
 gap: 10px;
 align-self: end;
}
.reader-banner-foot .reader-listen { color: #f6f9fc; font-weight: 600; white-space: nowrap; }
.reader-banner-foot .reader-listen:focus-visible { outline: 2px solid white; outline-offset: 2px; }
.podcast-reading-page .reader-tools{display:flex;flex-wrap:nowrap}
.podcast-reading-page .reader-tools .reader-location{flex:1;min-width:0;padding:0 6px;border:0}
.podcast-reading-page .reader-location small{font-size:10px;line-height:1.45;letter-spacing:.05em;white-space:normal}
.podcast-reading-page .reader-tools>.reader-separator{display:none}

.reader-resume-popup {
 position: absolute;
 z-index: 5;
 inset-inline: 0;
 width: min(38rem, calc(100% - 16px));
 margin: 0 auto;
 padding: 7px 12px;
 border-radius: 12px;
 gap: 5px 10px;
}
.reader-inline-audio .audio-stage, .reader-navigation-wrap { position: relative; }
.audio-stage > .reader-resume-popup { bottom: 8px; }
.reader-navigation-wrap { margin: 17px 0 23px; }
.reader-navigation-wrap > .reader-navigation { margin: 0; }
.reader-navigation-wrap > .reader-resume-popup { top: calc(100% + 6px); }
.podcast-reading-page .reader-inline-audio{margin-top:14px}
.reader-inline-audio .reader-audio-content{margin-top:0}
.reader-resume-popup[hidden]{display:none}
.reader-resume-popup>span{flex:1;line-height:1.45}
.reader-resume-popup .icon{width:15px;height:15px;color:inherit}
.reader-resume-popup #reader-resume-go{font-weight:600;min-height:34px;padding:6px 12px;border-radius:24px;text-decoration:none}
.reader-resume-popup .resume-dismiss {
  display: inline-grid;
  place-items: center;
  flex: none;
  width: 36px;
  height: 36px;
  margin: 0;
  padding: 0;
  border-radius: 50%;
  color: inherit;
  text-decoration: none;
}
.reader-resume-popup .resume-dismiss .icon { width: 16px; height: 16px; stroke-width: 2; }
.reader-resume-popup .resume-dismiss::after { content: ""; position: absolute; inset: -4px; border-radius: inherit; }
.reader-navigation{--navigation-radius:23px;margin:17px 0 23px;border:1px solid #b1cce036;border-radius:var(--navigation-radius);font-family:var(--reader)}
.reader-navigation>summary{display:flex;align-items:center;justify-content:space-between;gap:15px;list-style:none;cursor:pointer;position:relative;border-radius:calc(var(--navigation-radius) - 1px);padding:17px;color:#e2eaf4;font-size:14px;font-weight:600}
.reader-navigation>summary::-webkit-details-marker,.audio-description>summary::-webkit-details-marker{display:none}
.reader-navigation>summary .icon,.audio-description>summary>.disclosure-chevron{width:17px;height:17px;transform:rotate(90deg);transition:transform .2s}
.reader-navigation[open]>summary .icon,.audio-description[open]>summary>.disclosure-chevron{transform:rotate(-90deg)}
.reader-navigation .reader-levels{margin:0;border:0;border-radius:0;background:none;backdrop-filter:none;overflow:visible}
.reader-navigation .reader-level-tabs{border:0;padding:12px 13px 4px}
.reader-navigation .reader-level-panel{padding:12px 17px}
.reader-navigation .level-location select,.reader-navigation .reader-within select{border-radius:19px;padding:12px 16px;background:#071a2bd9;border:1px solid #a2bfd437}
.reader-navigation .reader-within{max-width:none;margin:0;padding:4px 17px 18px;border:0;border-radius:0;background:none;gap:15px}
.reader-navigation .reader-within label{font-size:11px}
.reader-navigation .reader-within select{font-size:12px}
.reader-navigation>summary:focus-visible,.audio-description>summary:focus-visible{outline:2px solid #e2c27b;outline-offset:-4px}
.audio-description>summary:focus-visible{border-radius:20px}

.audio-description{grid-column:1/-1;width:100%;min-width:0;border:0;padding-top:2px;color:#fff;font:12px/1.75 var(--reader)}
.audio-description>summary{display:flex;align-items:center;gap:12px;width:100%;min-height:32px;cursor:pointer;list-style:none;color:#fff;font-size:12px}
.audio-description-preview{min-width:0;flex:1;display:block;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}
.audio-description-expanded-label{display:none;flex:1}
.audio-description[open] .audio-description-preview{display:none}
.audio-description[open] .audio-description-expanded-label{display:block}
.audio-description>summary>.disclosure-chevron{width:14px;height:14px;flex-shrink:0}
.audio-description-copy{padding:7px 0 2px;color:#fff;white-space:pre-line;overflow-wrap:anywhere}

.share-dialog{width:min(530px,calc(100vw - 28px));max-height:90dvh;overflow:auto;padding:29px;border:1px solid #adc5dc66;border-radius:23px;background:linear-gradient(140deg,#102f50,#07182d);color:#e5edf5;box-shadow:0 24px 90px #0008;color-scheme:dark;font-family:var(--reader)}
.share-dialog::backdrop{background:#001329b8;backdrop-filter:blur(6px)}
.share-dialog>form{float:right;margin:-8px -8px 5px 12px}
.share-close{display:grid;place-items:center;width:38px;height:38px;padding:9px;border:1px solid #adc5dc4d;border-radius:50%;color:#e1ebf5;background:#adc5dc10}
.share-close .icon{width:18px;height:18px}
.share-dialog h2{font:600 26px/1.25 var(--reader);text-transform:none;color:#f1d28f;padding-right:35px;margin:0 0 23px}
.share-preview{display:flex;gap:15px;align-items:center;margin-bottom:23px}
.share-preview img{width:70px;height:70px;border-radius:10px;object-fit:cover}
.share-preview p{font:500 15px/1.6 var(--reader);margin:0;color:#e4edf7}
.share-options{display:flex;align-items:center;justify-content:flex-start;flex-wrap:wrap;gap:20px}
.share-options a,.share-options button{display:flex;justify-content:center;align-items:center;width:46px;height:48px;min-height:48px;padding:5px;border:0;border-radius:0;color:#fff;background:transparent;transition:transform .2s,opacity .2s}
.share-options a:hover,.share-options button:hover{transform:translateY(-3px);opacity:.8;background:transparent}
.share-options .icon,.share-options img{display:block;width:36px;height:36px;object-fit:contain}
.share-options #share-x img{filter:brightness(0) invert(1);width:31px;height:31px}
.share-options [hidden],.share-preview [hidden]{display:none}
.share-link-label{display:block;font:11px/1.5 var(--reader);color:#afc3d7;margin:23px 0 7px}
.share-link-row{display:flex;gap:9px}
.share-link-row input{width:100%;min-width:0;padding:12px;border:1px solid #a3bed23d;border-radius:12px;color:#d3e1ef;background:#030e1d;font:12px/1.5 var(--reader)}
.share-link-row button{border:1px solid #e7ce92;border-radius:12px;padding:11px 16px;background:var(--gold-metal);color:#062440;font:600 12px var(--reader);white-space:nowrap}
.share-dialog #share-status{font:12px/1.5 var(--reader);color:#ecd295;margin:10px 0 0;min-height:18px}
.reader-toc-status:empty{display:none}
.share-dialog button:focus-visible,.share-dialog a:focus-visible,.share-dialog input:focus-visible{outline:2px solid #efcf88;outline-offset:3px}
@media(max-width:620px){
 .reading-main{padding-top:calc(86px + env(safe-area-inset-top))}
 .reader-intro{padding:0 4px 13px}
 .podcast-reading-page .reader-intro p{margin-top:6px}
 .reading-modes+.reader-banner{margin-block:11px 12px}
 .reading-steps li{padding:23px 20px;border-radius:20px;gap:0 17px}
 .reader-banner-actions{gap:6px;padding-top:0}
 .reader-banner-actions .paragraph-jump{font-size:11px;gap:6px}
 .reader-banner-foot .reader-listen{min-height:34px;font-size:12px;padding:6px 11px}
 .reader-banner-foot .reader-listen .icon{width:16px;height:16px}
 .episode-banner{min-height:0;padding-block:14px 11px;row-gap:10px}
 .episode-banner h2{margin-top:6px}
 .podcast-reading-page .reader-tools:after{display:none}
 .podcast-reading-page .reader-tools>.reader-round{order:0}
 .podcast-reading-page .reader-tools .reader-location{flex:1 1 80px}
 .reader-resume-popup{padding:5px 9px;gap:4px 7px}
 .follow-streaming .follow-platform{min-height:100px;padding:21px;gap:18px}
 .follow-streaming .follow-platform>.streaming-logo{--logo-size:49px}
 .follow-streaming .follow-platform :is(h3,.platform-name){font-size:19px}
 .reader-navigation{--navigation-radius:21px}
 .reader-navigation-wrap{margin:15px 0 19px}
 .reader-navigation>summary{padding:15px 17px;font-size:13px}
 .reader-navigation .reader-level-tabs{padding:10px 8px 3px;flex-wrap:wrap;overflow:visible}
 .reader-navigation .reader-level-tabs button{flex:1 0 auto;padding:8px;font-size:10px}
 .reader-navigation .reader-level-panel{padding:10px 13px}
 .reader-navigation .level-location{flex-direction:column;align-items:stretch;gap:7px}
 .reader-navigation .reader-within{padding:2px 13px 15px;gap:7px}
 .reader-navigation .reader-within label{font-size:10px}
 .reader-navigation .level-location select,.reader-navigation .reader-within select{font-size:11px;padding:11px 13px}
 .audio-description{grid-row:5;font-size:11px;padding-top:2px}
 .audio-description>summary{font-size:11px}
 .share-dialog{padding:24px 19px}
 .share-dialog h2{font-size:23px}
 .share-preview p{font-size:13px}
 .share-preview img{width:60px;height:60px}
 .share-link-row button{padding:10px 12px}
}
@media(max-width:480px){
 .share-options{gap:13px}
}
@media(max-width:380px){
 .episode-banner{--banner-nav-size:36px;gap:5px 6px;padding:11px 10px 9px}
 .episode-banner .reader-banner-copy{display:contents}
 .episode-banner #reader-banner-part{grid-column:1/-1;grid-row:1;justify-self:center;text-align:center}
 .episode-banner h2{grid-column:2;grid-row:2;margin:0;font-size:19px;line-height:1.18;text-align:center}
 .episode-banner [data-unit-prev],.episode-banner [data-unit-next]{grid-row:2}
 .episode-banner [data-unit-prev]{grid-column:1}
 .episode-banner [data-unit-next]{grid-column:3}
 .reader-banner-actions{grid-row:3;gap:4px;margin-top:3px}
 .reader-banner-actions .paragraph-jump{gap:4px}
 .reader-banner-actions .paragraph-jump input{width:40px;min-height:32px}
 .reader-banner-foot .reader-listen{padding-inline:6px;gap:4px}
 .reader-banner-foot .reader-listen .icon{width:14px;height:14px}
 .reader-resume-popup{display:grid;grid-template-columns:15px minmax(0,1fr) auto;gap:2px 7px}
 .reader-resume-popup>span{grid-column:2}
 .reader-resume-popup #reader-resume-go{grid-column:2;grid-row:2;justify-self:start}
 .reader-resume-popup .resume-dismiss{grid-column:3;grid-row:1 / span 2;align-self:start}
}
@media(max-width:319px){
 .reader-banner-actions{grid-template-columns:1fr 1fr;row-gap:4px}
 .reader-banner-actions .paragraph-jump{grid-column:1/-1;grid-row:1}
 .reader-banner-actions>.reader-banner-current{grid-row:2}
}
@media(prefers-reduced-motion:reduce){.reader-navigation>summary .icon,.audio-description>summary>.disclosure-chevron,.reading-steps li,.share-options a,.share-options button{transition:none}.reading-steps li,.reading-steps li:before,.reader-resume-popup{animation:none}.reading-steps li:hover,.share-options a:hover,.share-options button:hover{transform:none}}
