.reader-page { height: 100svh; height: 100dvh; min-height: 0; overflow: hidden; background: #fffcfb; }
.reader-header { flex: none; padding: calc(10px + env(safe-area-inset-top, 0px)) 20px 12px; background: #fffcfb; z-index: 2; }
.reader-toolbar { position: relative; display: flex; align-items: center; justify-content: center; min-height: 44px; }
.reader-toolbar > span { font-size: 15px; font-weight: 700; }
.reader-back { position: absolute; left: -10px; display: grid; place-items: center; width: 44px; height: 44px; color: #26324d; }
.reader-back svg { width: 22px; height: 22px; }
.reader-progress { display: flex; align-items: center; gap: 14px; height: 22px; }
.reader-progress progress { appearance: none; border: 0; height: 6px; flex: 1; width: 0; overflow: hidden; border-radius: 8px; background: #ebe5ef; }
.reader-progress progress::-webkit-progress-bar { background: #ebe5ef; border-radius: 8px; }
.reader-progress progress::-webkit-progress-value { background: #9570ed; border-radius: 8px; }
.reader-progress progress::-moz-progress-bar { background: #9570ed; border-radius: 8px; }
.reader-progress output { color: #71809a; font-size: 13px; min-width: 25px; }
.reader-scroll { flex: 1; min-height: 0; padding: 0; overflow-y: auto; overscroll-behavior-y: contain; }
.reader-section { padding: 16px 20px 12px; font-size: 16px; line-height: 1.42; color: #424b61; }
.reader-section h1, .reader-section h2 { font-size: 25px; line-height: 1.13; letter-spacing: -.45px; color: #10152f; margin: 0 0 16px; }
.reader-section p + p { margin-top: 18px; }
.reader-week { display: inline-block; padding: 6px 14px; border-radius: 20px; background: #eee5ff; color: #9270e3; font-size: 13px; font-weight: 700; margin-bottom: 13px; }
.reader-intro { display: flex; flex-direction: column; padding-bottom: 0; }
.reader-cover { position: relative; margin: 18px -20px 8px; height: clamp(220px, 62vw, 340px); flex: none; overflow: hidden; border-radius: 15px; }
.reader-cover { background: #f0e9e3; }
.reader-cover img { display: block; width: 72%; height: 100%; position: absolute; right: 0; object-fit: cover; object-position: center; mask-image: linear-gradient(to right, transparent, #000 20%); }
.reader-cover-note { position: absolute; left: 22px; top: 22%; transform: rotate(-12deg); text-align: center; color: #747299; font: italic 500 20px/1.1 "Intro", sans-serif; }
.reader-cover-note span { display: block; margin-top: 12px; color: #9570ed; font-size: 34px; }
.reader-duration { position: absolute; bottom: 12px; left: 20px; display: flex; gap: 9px; align-items: center; font-size: 13px; color: #64708f; }
.reader-duration svg { width: 21px; height: 21px; }
.reader-callout { background: #f5efff; border-radius: 16px; padding: 20px 16px; margin: 18px 0 0; }
blockquote.reader-callout { display: flex; gap: 16px; font-size: 15px; font-style: italic; }
.reader-quote { font-family: "Intro", sans-serif; font-size: 88px; line-height: .9; color: #aa87f1; }
.reader-callout blockquote { margin: 0; }
.reader-timeline { display: grid; gap: 22px; padding: 20px; margin-bottom: 20px; font-size: 14px; }
.reader-date { display: grid; grid-template-columns: 68px 12px 1fr; gap: 12px; align-items: center; }
.reader-date strong { font-size: 13px; color: #885ce8; }
.reader-dot { position: relative; height: 100%; }
.reader-dot::before { content: ''; position: absolute; width: 2px; top: 50%; bottom: -32px; left: 5px; background: #d9c7f9; }
.reader-date:last-child .reader-dot::before { display: none; }
.reader-dot::after { content: ''; position: absolute; top: calc(50% - 4px); left: 2px; width: 8px; height: 8px; border-radius: 50%; background: #b28bea; }
.reader-info { display: flex; align-items: flex-start; gap: 14px; font-size: 14px; }
.reader-info > span { flex: none; width: 36px; height: 36px; display: grid; place-items: center; border-radius: 50%; background: linear-gradient(130deg,#cbb5fa,#8555ed); color: white; font: bold 25px "Intro",sans-serif; }
.reader-checklist h3 { font-size: 15px; color: #27243e; margin: 0 0 14px; }
.reader-checklist ul { padding: 0; margin: 0; list-style: none; font-size: 14px; }
.reader-checklist li { position: relative; padding-left: 30px; margin-top: 9px; }
.reader-checklist li::before { content: '✓'; position: absolute; left: 0; top: 0; width: 19px; height: 19px; border-radius: 50%; text-align: center; color: white; background: linear-gradient(130deg,#c5aaf9,#9165ec); }
.reader-finish { display: flex; flex-direction: column; justify-content: center; gap: 20px; padding-top: 24px; padding-bottom: 30px; }
.reader-finish h2 { text-align: center; margin: 0; }
.reader-heart { width: 130px; height: 112px; align-self: center; color: #9570ed; }
.reader-actions { display: grid; gap: 14px; margin-top: 6px; }
.reader-button { display: flex; justify-content: center; align-items: center; min-height: 54px; padding: 12px 18px; border-radius: 22px; text-decoration: none; text-align: center; font-size: 14px; font-weight: 700; color: #46377a; border: 1px solid #c8b7ee; background: #f7f2ff; }
.reader-button:disabled { color: white; background: #794aff; border-color: #794aff; cursor: default; opacity: .65; }
.reader-next { color: white; background: #794aff; border-color: #794aff; }
.reader-demo { display: block; color: #827193; font-size: 12px; margin-bottom: 12px; }
.reader-example-cover img { width: 100%; mask-image: none; }
.reader-example-cover .reader-duration { background: #fffefbe8; border-radius: 20px; padding: 6px 10px; }
.reader-inline-photo { display: block; width: 100%; max-height: 240px; object-fit: cover; border-radius: 16px; margin-top: 18px; }
.reader-reading-time { color: #827193; font-size: 13px; }
.reader-school-cover { display: block; width: 100%; height: auto; border-radius: 16px; margin: 18px 0; }
.reader-scroll[aria-busy="true"] .reader-finish { display: none; }
.reader-section ul { padding-left: 24px; margin: 18px 0; }
.reader-section li { margin-top: 10px; }
.material-cover-placeholder { display: block; height: 160px; background: linear-gradient(135deg, #eee5ff, #faf7ff); }
.materials-main { padding: 20px; }
.materials-main h1 { font-size: 28px; line-height: 1.15; margin: 20px 0; }
.materials-list { display: grid; grid-template-columns: repeat(auto-fit,minmax(min(100%,280px),1fr)); gap: 16px; }
.material-link { display: block; text-decoration: none; color: inherit; background: white; border-radius: 16px; overflow: hidden; border: 1px solid #eee5fa; }
.material-link img { width: 100%; height: 160px; object-fit: cover; }
.material-link div { padding: 16px; }
.material-link h2 { font-size: 20px; line-height: 1.2; margin-bottom: 10px; }
.material-link p { font-size: 13px; color: #827193; }
.reader-page > .bottom-navigation { margin-top: 0; }
.dating-article { text-decoration: none; color: inherit; background: #f3ebff; grid-column: 1 / -1; }
.dating-article::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, #fffaf5e6, #fffaf5b3 65%, #fffaf566); }
.dating-article .article-title { font-size: 1.6rem; line-height: 1.9rem; padding-right: 3rem; }
.reader-social { margin: 8px 20px 14px; padding: 14px 16px; border-radius: 14px; background: #f5efff; color: #685882; font-size: 14px; line-height: 1.5; }
.reader-social a { color: #794aff; text-decoration: underline; text-underline-offset: 3px; font-weight: 700; }
.reader-social a:focus-visible { outline: 2px solid #794aff; outline-offset: 3px; }
.reader-social-status { display: block; margin-top: 6px; font-size: 12px; }
.reader-social-status[hidden] { display: none; }
