/* Mi Biblioteca: shared IBBY typography and identity, with a warmer reader palette. */
.reader-experience {
  --reader-ink: #37263f;
  --reader-plum: #5a3d73;
  --reader-muted: #76687f;
  --reader-line: #e8e0e9;
  --reader-cream: #fffaf0;
  --reader-coral: #f5cec1;
  --reader-gold: #f7e1a5;
  --reader-teal: #c8e1d8;
  --reader-lilac: #e0d6ed;
  color: var(--reader-ink);
  font-family: 'Outfit', sans-serif;
  animation-name: reader-enter;
}
.reader-experience .member-dashboard { animation: reader-enter .3s ease both; }
@keyframes reader-enter { from { opacity: 0; } to { opacity: 1; } }
.reader-experience [hidden] { display: none !important; }
.reader-experience button, .reader-experience input, .reader-experience textarea { font-family: inherit; }
.reader-experience button { cursor: pointer; }
.reader-experience button:disabled { cursor: wait; opacity: .6; }
.reader-experience :is(button, input, textarea, a):focus-visible {
  outline: 3px solid #875baa;
  outline-offset: 4px;
}
.reader-experience #member-fullname:focus { outline: none; }
.reader-experience h2, .reader-experience h3 { font-family: 'Playfair Display', Georgia, serif; }
.reader-eyebrow { display: block; font-size: 10px; font-weight: 700; letter-spacing: .15em; line-height: 1.6; }
.reader-topline { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin: 0 0 20px; }
.reader-topline .reader-eyebrow { color: var(--reader-muted); }
.reader-logout { display: flex; align-items: center; gap: 20px; border: 0; padding: 8px 0 8px 12px; background: transparent; font-size: 12px; color: var(--reader-plum); }
.reader-logout:hover { text-decoration: underline; }
.reader-hero { position: relative; display: grid; grid-template-columns: 1fr 320px; align-items: center; gap: 48px; overflow: clip; padding: 44px 48px; border-radius: 28px; background: #f0eaf4; }
.reader-hero::before { content: ''; position: absolute; width: 360px; height: 360px; right: -140px; bottom: -210px; border: 60px solid #ddd0e8; border-radius: 50%; pointer-events: none; }
.reader-hero-copy { position: relative; z-index: 1; }
.reader-hero-copy > .reader-eyebrow { color: var(--reader-plum); font-size: 9px; }
.reader-hero h2 { margin: 15px 0 14px; font-size: clamp(32px, 3.3vw, 48px); font-weight: 600; letter-spacing: -.035em; line-height: 1.13; color: var(--reader-ink); }
.reader-heading-dot { color: #b86f47; }
.reader-hero-copy > p { max-width: 440px; font-size: 14px; line-height: 1.6; color: #66546d; }
.reader-profile-line { display: flex; gap: 12px; align-items: center; margin-top: 25px; }
.reader-experience .member-avatar-img { width: 45px; height: 45px; border: 0; border-radius: 50%; background: var(--reader-plum); box-shadow: none; color: #fff; font-size: 14px; }
.reader-profile-id { display: flex; align-items: center; gap: 7px; font-size: 9px; letter-spacing: .05em; font-weight: 600; color: #7a6482; }
.reader-profile-id code { font: 600 11px 'Outfit', sans-serif; letter-spacing: .08em; color: var(--reader-plum); }
.reader-profile-line .badge-row { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 6px; }
.reader-profile-line .badge { border-radius: 5px; padding: 3px 7px; font-size: 9px; font-weight: 600; line-height: 1.35; color: #584065; }
.reader-profile-line #member-expiry-badge { background: #fff8; }
.reader-hero-star { position: absolute; top: 19px; right: 29px; color: #b68e3b; font-size: 39px; line-height: 1; transform: rotate(12deg); }
.reader-credential-preview { position: relative; z-index: 1; width: 100%; padding: 21px 23px 0; border: 1px solid #e9d9e0; border-radius: 16px; background: var(--reader-cream); box-shadow: 0 14px 30px #50375813; transform: rotate(3deg); }
.reader-credential-preview-top { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin-bottom: 23px; }
.reader-credential-preview-top img { width: 74px; height: 51px; object-fit: contain; }
.reader-credential-preview-top > span { font-size: 8px; line-height: 1.65; font-weight: 600; letter-spacing: .16em; text-align: right; color: var(--reader-plum); }
.reader-credential-preview-label { display: block; margin-bottom: 7px; font-size: 8px; letter-spacing: .16em; color: var(--reader-muted); }
.reader-credential-preview > strong { display: block; font: 600 23px/1.2 'Playfair Display', Georgia, serif; overflow-wrap: anywhere; }
.reader-credential-preview-id { display: block; margin-top: 9px; font-size: 10px; letter-spacing: .13em; color: var(--reader-plum); }
.reader-credential-preview-bottom { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 17px 0 14px; font-size: 9px; color: #58715d; }
.reader-demo-seal { padding: 4px 7px; border: 1px solid #d9c5d9; border-radius: 4px; color: var(--reader-plum); font-size: 8px; font-weight: 600; letter-spacing: .13em; }
.reader-credential-open { display: flex; align-items: center; justify-content: space-between; width: calc(100% + 46px); margin-left: -23px; padding: 12px 23px; border: 0; border-top: 1px solid #e5dce7; border-radius: 0 0 15px 15px; color: var(--reader-plum); background: #eee5f0; font-weight: 600; font-size: 12px; }
.reader-credential-open:hover { background: #e4d7eb; }

.reader-experience .reader-stats { gap: 0; margin: 22px 0 40px; border: 1px solid var(--reader-line); border-radius: 17px; background: white; }
.reader-experience .reader-stats .member-stat-card { display: flex; align-items: center; gap: 15px; margin: 17px 0; padding: 0 23px; border: 0; border-right: 1px solid var(--reader-line); border-radius: 0; background: none; }
.reader-experience .reader-stats .member-stat-card:last-child { border-right: 0; }
.reader-experience .reader-stats .reader-stat-icon { display: grid; place-items: center; flex: 0 0 41px; width: 41px; height: 41px; border-radius: 13px; background: #f0eaf4; color: var(--reader-plum); font: 400 26px/1 Georgia, serif; }
.reader-experience .reader-stats .member-stat-card:nth-child(2) .reader-stat-icon { background: #fcf0db; color: #927029; }
.reader-experience .reader-stats .member-stat-card:nth-child(3) .reader-stat-icon { background: #e6f1eb; color: #426a57; }
.reader-experience .reader-stats .member-stat-card:nth-child(4) .reader-stat-icon { background: #fae8e0; color: #a66850; }
.reader-experience .reader-stats strong { margin: 0 0 3px; font: 600 26px/1.1 'Outfit', sans-serif; color: var(--reader-ink); }
.reader-experience .reader-stats .member-stat-card div > span { color: var(--reader-muted); font-size: 11px; font-weight: 400; }
.reader-stat-note { margin: -28px 0 35px; color: #907d99; font-size: 9px; text-align: right; line-height: 1.5; }
.reader-section-heading { display: flex; justify-content: space-between; align-items: center; gap: 24px; margin-bottom: 22px; }
.reader-section-heading .reader-eyebrow { color: #8a728e; font-size: 9px; }
.reader-section-heading h3 { margin: 5px 0 7px; font-size: 29px; letter-spacing: -.025em; font-weight: 600; line-height: 1.2; }
.reader-section-heading p { margin: 0; color: var(--reader-muted); font-size: 12px; line-height: 1.6; }
.reader-action { display: inline-flex; justify-content: center; align-items: center; gap: 11px; padding: 10px 15px; border: 1px solid #dcd0e3; border-radius: 9px; color: var(--reader-plum); background: white; font-size: 12px; font-weight: 600; line-height: 1.4; text-decoration: none; transition: background .16s ease, transform .16s ease; }
.reader-action:hover { background: #f2ebf5; }
.reader-action-primary { border-color: var(--reader-plum); background: var(--reader-plum); color: white; }
.reader-action-primary:hover { background: #49315f; }
.reader-action-light { flex-shrink: 0; border: 1px solid var(--reader-line); background: transparent; }
.reader-recommendations { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.reader-recommendation-card { --card-tone: var(--reader-lilac); position: relative; display: flex; flex-direction: column; min-width: 0; overflow: hidden; border: 0; border-radius: 17px; background: var(--card-tone); text-align: left; color: var(--reader-ink); transition: transform .2s ease, box-shadow .2s ease; }
.reader-recommendation-card[data-tone="coral"], .reader-recommendation-card:nth-child(4n+1) { --card-tone: var(--reader-coral); }
.reader-recommendation-card[data-tone="gold"], .reader-recommendation-card:nth-child(4n+2) { --card-tone: var(--reader-gold); }
.reader-recommendation-card[data-tone="teal"], .reader-recommendation-card:nth-child(4n+3) { --card-tone: var(--reader-teal); }
.reader-recommendation-card[data-tone="lilac"], .reader-recommendation-card:nth-child(4n+4) { --card-tone: var(--reader-lilac); }
.reader-recommendation-card:hover { transform: translateY(-4px); box-shadow: 0 12px 22px #37263f14; }
.reader-recommendation-open { display: block; width: 100%; padding: 0; border: 0; border-radius: 17px 17px 0 0; background: transparent; color: inherit; }
.reader-recommendation-eyebrow { display: block; margin-bottom: 7px; color: #694f60; font-size: 8px; line-height: 1.5; letter-spacing: .07em; text-transform: uppercase; }
.reader-recommendation-cover { position: relative; display: flex; align-items: center; justify-content: center; align-self: stretch; width: 100%; min-height: 222px; padding: 21px 24px 15px; overflow: hidden; background: transparent; }
.reader-recommendation-cover::before { content: ''; position: absolute; width: 142px; height: 142px; border: 1px solid #ffffff65; border-radius: 50%; transform: translate(35px, -11px); pointer-events: none; }
.reader-recommendation-cover img { position: relative; display: block; width: 119px; max-width: 100%; height: 176px; object-fit: cover; border-radius: 2px 6px 6px 2px; box-shadow: 4px 9px 13px #37263f27; transition: transform .2s ease; }
.reader-recommendation-cover:not(.has-cover) > img { position: absolute; opacity: 0; pointer-events: none; }
.reader-recommendation-cover.has-cover > .reader-cover-fallback, .reader-book-cover.has-cover > .reader-cover-fallback { display: none; }
.reader-recommendation-card:nth-child(odd) .reader-recommendation-cover img { transform: rotate(-5deg); }
.reader-recommendation-card:nth-child(even) .reader-recommendation-cover img { transform: rotate(5deg); }
.reader-recommendation-card:hover .reader-recommendation-cover img { transform: rotate(0); }
.reader-recommendation-copy { position: relative; display: flex; flex-direction: column; flex: 1; padding: 6px 20px 21px; }
.reader-recommendation-copy :is(h4, strong, .reader-book-title) { margin: 0; font-size: 15px; font-weight: 600; line-height: 1.35; color: #37263f; }
.reader-recommendation-copy .reader-book-author { color: #594755; font-size: 10px; }
.reader-recommendation-reason { display: block; margin-top: 10px; color: #57465c; font-size: 10px; line-height: 1.5; }
.reader-recommendation-copy .reader-book-actions { margin-top: auto; padding-top: 14px; }
.reader-recommendation-card .reader-action { border-color: #fff8; background: #ffffff80; font-size: 11px; padding: 8px 11px; }
.reader-recommendation-card .reader-action:hover { background: #fff; }
.reader-cover-fallback { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; width: 119px; height: 176px; padding: 16px 13px; overflow: hidden; border-left: 5px solid #ffffff30; border-radius: 2px 6px 6px 2px; background: #5a3d73; box-shadow: 4px 9px 13px #37263f27; color: white; font: 500 14px/1.3 'Playfair Display', Georgia, serif; text-align: center; }
.reader-cover-fallback::before { content: '✳'; display: block; font: 400 26px/1 Georgia, serif; color: #e9c678; }
.reader-cover-fallback > strong { display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; font: 500 13px/1.35 'Playfair Display', Georgia, serif; }
.reader-cover-imprint { display: block; color: #fff9; font: 400 5px/1.3 'Outfit', sans-serif; letter-spacing: .14em; }
.reader-cover-fallback > span:last-child { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; color: #fff9; font: 400 8px/1.4 'Outfit', sans-serif; }
.reader-cover-fallback:has(.reader-cover-imprint)::before { font-size: 19px; }
.reader-recommendation-card:nth-child(2n) .reader-cover-fallback { background: #576a57; }
.reader-recommendation-card:nth-child(3n) .reader-cover-fallback { background: #af6b50; }

.reader-personal-grid { display: grid; grid-template-columns: minmax(0, 1fr) 310px; align-items: start; gap: 28px; margin-top: 42px; }
.reader-shelf { min-width: 0; padding: 27px 28px; border: 1px solid var(--reader-line); border-radius: 21px; background: #fff; }
.reader-shelf .reader-section-heading { margin-bottom: 18px; }
.reader-shelf .reader-section-heading h3 { margin-bottom: 0; }
.reader-shelf-flower { color: #b19a64; font-size: 42px; font-family: Georgia, serif; line-height: 1; }
.reader-tabs { display: flex; align-items: stretch; gap: 5px; padding: 5px; border-radius: 11px; background: #f5f1f6; }
.reader-tabs button { flex: 1; padding: 11px 8px; border: 0; border-radius: 8px; background: transparent; color: #76627f; font-size: 12px; font-weight: 500; line-height: 1.3; }
.reader-tabs button:hover { background: #e9e0ed; }
.reader-tabs button[aria-selected="true"] { background: #fff; color: var(--reader-plum); box-shadow: 0 2px 5px #4a335e0e; font-weight: 600; }
.reader-panel-intro { margin: 19px 0; font-size: 12px; line-height: 1.65; color: var(--reader-muted); }
.reader-book-list { display: grid; gap: 13px; }
.reader-book-card { display: flex; align-items: flex-start; gap: 17px; min-width: 0; padding: 18px; border: 1px solid var(--reader-line); border-radius: 13px; background: #fefdfb; }
.reader-book-cover { position: relative; flex: 0 0 72px; width: 72px; height: 101px; padding: 0; border: 0; border-radius: 3px 6px 6px 3px; background: #e7dfea; overflow: hidden; }
.reader-book-cover img { display: block; width: 100%; height: 100%; object-fit: cover; }
.reader-book-cover:not(.has-cover) > img { position: absolute; inset: 0; opacity: 0; pointer-events: none; }
.reader-book-cover .reader-cover-fallback { width: 100%; height: 100%; padding: 8px; border-left-width: 3px; font-size: 10px; border-radius: 0; box-shadow: none; }
.reader-book-cover .reader-cover-fallback::before { font-size: 18px; }
.reader-book-cover .reader-cover-fallback > strong { font-size: 9px; -webkit-line-clamp: 4; }
.reader-book-cover .reader-cover-fallback > span { display: none; }
.reader-book-copy { flex: 1; min-width: 0; }
.reader-book-title { display: block; padding: 0; border: 0; background: transparent; color: var(--reader-ink); font-size: 14px; font-weight: 600; line-height: 1.4; text-align: left; overflow-wrap: anywhere; }
button.reader-book-title:hover { text-decoration: underline; }
.reader-book-author { display: block; margin: 4px 0 0; color: var(--reader-muted); font-size: 11px; line-height: 1.4; }
.reader-book-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 7px; margin: 9px 0; color: #71567e; font-size: 10px; line-height: 1.5; }
.reader-book-meta .badge { display: inline-block; padding: 3px 6px; border-radius: 4px; font-size: 9px; }
.reader-book-badge { display: inline-block; margin: 1px 0 0; padding: 4px 7px; border-radius: 5px; color: #816538; background: #f6eddc; font-size: 9px; line-height: 1.4; }
.reader-book-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 7px; margin-top: 12px; }
.reader-book-actions .reader-action { padding: 7px 10px; font-size: 11px; }
.reader-rating { display: block; margin-top: 10px; color: #976a0b; font-size: 17px; letter-spacing: .08em; }
.reader-review-quote { margin: 10px 0 0; padding: 9px 12px; border-left: 2px solid #ceb9d9; border-radius: 0 7px 7px 0; background: #f3eef5; color: #6a5575; font-size: 12px; line-height: 1.6; overflow-wrap: anywhere; white-space: pre-wrap; }
.reader-empty { margin: 0; padding: 30px 22px; border: 1px dashed #d9ccdf; border-radius: 13px; background: #faf7fc; color: var(--reader-muted); font-size: 13px; line-height: 1.7; text-align: center; }
.reader-selection-group { display: grid; gap: 12px; }
.reader-selection-group + .reader-selection-group { margin-top: 12px; }
.reader-selection-group > h3 { margin: 0; color: #765883; font: 600 13px/1.5 'Outfit', sans-serif; }
.reader-selection-group > .reader-book-meta { margin: -7px 0 1px; }
.reader-action-muted { border-color: transparent; background: transparent; color: #947281; }
.reader-experience .member-local-group { gap: 10px; }
.reader-experience .member-local-group h4 { margin: 5px 0 2px; font-size: 10px; color: #7a6485; letter-spacing: .12em; }
.reader-experience .member-local-item { padding: 15px; background: #fefdfb; border-color: var(--reader-line); }
.reader-experience .member-local-open strong { font-size: 13px; line-height: 1.45; white-space: normal; }
.reader-experience .member-local-open span { font-size: 11px; white-space: normal; }
.reader-experience .member-local-remove { min-height: 36px; padding: 8px; font-size: 11px; }
.reader-side-column { display: grid; gap: 21px; min-width: 0; }
.reader-goal-card, .reader-membership { padding: 25px; border-radius: 20px; }
.reader-goal-card { background: #e3eee7; color: #355c46; }
.reader-goal-card .reader-eyebrow { color: #5a8069; font-size: 8px; }
.reader-goal-card h3, .reader-membership h3 { margin: 9px 0 12px; font-size: 24px; line-height: 1.2; letter-spacing: -.03em; font-weight: 600; }
.reader-goal-card > p { color: #5a7764; font-size: 12px; line-height: 1.6; }
.reader-goal-count { margin-top: 22px; color: #365b46; font-size: 15px; font-weight: 600; line-height: 1.5; }
.reader-goal-card progress { display: block; width: 100%; height: 8px; margin: 11px 0 24px; appearance: none; border: 0; border-radius: 20px; background: #c9dacf; overflow: hidden; accent-color: #4e785d; }
.reader-goal-card progress::-webkit-progress-bar { background: #c9dacf; border-radius: 20px; }
.reader-goal-card progress::-webkit-progress-value { background: #4e785d; border-radius: 20px; transition: width .25s ease; }
.reader-goal-card progress::-moz-progress-bar { background: #4e785d; border-radius: 20px; }
.reader-goal-card label { display: block; margin-bottom: 8px; color: #43614e; font-size: 10px; }
.reader-goal-controls { display: flex; align-items: center; gap: 8px; }
.reader-goal-controls input { width: 51px; min-width: 0; padding: 9px 5px; border: 1px solid #b9cec0; border-radius: 7px; background: #f6faf7; text-align: center; color: #355c46; font-size: 14px; }
.reader-goal-controls > span { font-size: 11px; color: #5a7764; }
.reader-goal-controls .reader-action { flex: 1; margin-left: 3px; padding: 10px 6px; border-color: #b9cec0; color: #355c46; background: #ffffff80; font-size: 10px; }
.reader-goal-controls .reader-action:hover { background: #fff; }
.reader-membership { border: 1px solid var(--reader-line); background: var(--reader-cream); }
.reader-membership .reader-eyebrow { font-size: 8px; color: #9d8150; }
.reader-membership dl { margin: 18px 0; }
.reader-membership dl > div { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 10px 0; border-bottom: 1px solid #e9e1d4; }
.reader-membership dt { flex-shrink: 0; color: #8a7b67; font-size: 10px; }
.reader-membership dd { margin: 0; color: #5e4e61; font-size: 11px; text-align: right; line-height: 1.5; }
.reader-private-note { margin-top: 17px; color: var(--reader-muted); font-size: 10px; line-height: 1.6; }

.reader-experience .reader-login-layout { display: grid; grid-template-columns: 1fr 430px; align-items: center; gap: 72px; min-height: 620px; padding: 32px 40px 50px; }
.reader-login-story { max-width: 450px; color: var(--reader-plum); }
.reader-login-story > .reader-eyebrow { color: #8c6b94; font-size: 10px; }
.reader-login-story h2 { margin: 20px 0; font-size: clamp(43px, 4.5vw, 61px); line-height: 1.07; font-weight: 500; letter-spacing: -.04em; }
.reader-login-story > p { max-width: 390px; color: #7c6b83; font-size: 15px; line-height: 1.8; }
.reader-login-books { display: flex; align-items: end; gap: 9px; height: 150px; margin: 24px 0 22px; padding-left: 13px; }
.reader-login-books span { display: flex; align-items: center; justify-content: center; width: 89px; height: 130px; border-left: 5px solid #ffffff45; border-radius: 2px 6px 6px 2px; box-shadow: 4px 6px 0 #4b365811; background: var(--reader-coral); color: #815742; font: 500 17px 'Playfair Display', Georgia, serif; transform: rotate(-9deg); }
.reader-login-books span:nth-child(2) { height: 145px; background: var(--reader-gold); color: #8a6c32; transform: rotate(3deg); }
.reader-login-books span:nth-child(3) { background: var(--reader-teal); color: #446450; transform: rotate(12deg); }
.reader-story-footnote { font-size: 11px; color: #99859f; }
.reader-experience .member-access-card { width: 100%; padding: 34px; border: 1px solid var(--reader-line); background: white; border-radius: 24px; box-shadow: 0 15px 50px #593d7010; }
.reader-experience .member-demo-label { margin-bottom: 21px; background: #f1ebf5; color: #81618e; font-size: 8px; letter-spacing: .07em; }
.reader-experience .member-access-card h2 { margin: 0; color: var(--reader-plum); font-size: 26px; font-weight: 600; text-align: center; letter-spacing: -.03em; }
.reader-login-subtitle { margin: 10px 0 26px; color: #8b7a91; font-size: 12px; text-align: center; }
.reader-experience #member-login-form { display: grid; gap: 18px; }
.reader-experience #member-login-form .form-group { display: grid; gap: 7px; }
.reader-experience #member-login-form label { color: #695471; font-size: 12px; font-weight: 500; }
.reader-experience .member-login-input { border-color: #e3d8e9 !important; border-radius: 10px !important; background: #fdfbfe !important; padding: 13px 14px !important; font-size: 13px; }
.reader-experience .member-login-submit { display: flex; align-items: center; justify-content: space-between; width: 100%; padding: 13px 18px; border: 0; font-size: 13px; border-radius: 10px !important; }
.reader-experience .member-demo-credential { margin-top: 24px; padding: 14px; border: 1px dashed #dcd0e3; border-radius: 10px; background: #faf6fb; color: #7c6786; font-size: 11px; line-height: 1.8; }
.reader-experience .member-demo-credential strong { font-weight: 600; color: var(--reader-plum); }
.reader-experience .member-privacy-note { margin-top: 14px; color: #8a7a91; font-size: 9px; line-height: 1.7; }

.reader-dialog { position: fixed; inset: 0; width: min(520px, calc(100vw - 32px)); max-height: calc(100dvh - 40px); margin: auto; padding: 34px; overflow: auto; border: 1px solid #e3d8e9; border-radius: 23px; background: #fffdfb; color: var(--reader-ink); box-shadow: 0 30px 100px #29163635; }
.reader-dialog::backdrop { background: #251831a3; backdrop-filter: blur(5px); }
.reader-dialog-close { position: absolute; top: 12px; right: 13px; display: grid; place-items: center; width: 34px; height: 34px; padding: 0; border: 0; border-radius: 50%; color: #745c81; background: #f1eaf5; font-size: 24px; line-height: 1; }
.reader-dialog-close:hover { background: #e3d5ec; }
.reader-dialog > .reader-eyebrow { margin-right: 23px; font-size: 8px; color: #8a6d97; }
.reader-dialog > h2 { margin: 8px 0 18px; color: var(--reader-plum); font-size: 29px; line-height: 1.25; }
.reader-review-book-title { margin: 0 0 24px; padding-bottom: 17px; border-bottom: 1px solid var(--reader-line); color: #7c6388; font-size: 14px; line-height: 1.5; }
.reader-rating-field { margin: 0 0 22px; padding: 0; border: 0; }
.reader-rating-field legend { margin-bottom: 9px; color: #65516e; font-size: 12px; }
.reader-star-options { display: flex; gap: 10px; }
.reader-star-options label { position: relative; display: grid; place-items: center; width: 45px; height: 45px; border: 1px solid #e1d7e7; border-radius: 10px; background: white; color: #c5b6cd; font-size: 29px; cursor: pointer; }
.reader-star-options input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.reader-star-options label:has(input:checked), .reader-star-options label:has(~ label input:checked) { border-color: #e4c26c; background: #fff4d2; color: #9d7413; }
.reader-star-options label:hover { background: #fff4d2; color: #9d7413; }
.reader-star-options label:has(input:focus-visible) { outline: 3px solid #875baa; outline-offset: 4px; }
.reader-dialog form > label { display: block; margin: 0 0 9px; font-size: 12px; font-weight: 600; color: #65516e; }
.reader-dialog form > label span { color: #a08bab; font-weight: 400; }
.reader-dialog textarea { display: block; width: 100%; min-height: 130px; padding: 13px; border: 1px solid #dfd2e7; border-radius: 10px; background: #fff; color: #53415e; font-size: 13px; line-height: 1.7; resize: vertical; }
.reader-dialog textarea::placeholder { color: #9b8aa3; }
.reader-dialog form > .reader-private-note { margin-top: 8px; font-size: 9px; }
.reader-form-status { margin: 14px 0; font-size: 12px; line-height: 1.5; color: #9d3d50; }
.reader-dialog .reader-action-primary { width: 100%; margin-top: 7px; padding: 12px 17px; }
.reader-digital-card { position: relative; margin: 18px 0; padding: 26px; border: 1px solid #dccbe3; border-radius: 18px; background: linear-gradient(135deg, #fffaf0 0%, #f7f0f9 100%); overflow: hidden; }
.reader-digital-card::after { content: '✳'; position: absolute; right: 22px; top: 22px; color: #bd974b; font-size: 33px; }
.reader-credential-logo { display: block; width: 82px; height: 57px; object-fit: contain; margin-bottom: 27px; }
.reader-credential-name { display: block; color: var(--reader-plum); font: 600 27px/1.25 'Playfair Display', Georgia, serif; }
.reader-credential-id { display: block; margin-top: 13px; color: #796485; font-size: 16px; letter-spacing: .1em; }
.reader-credential-status, .reader-credential-expiry { display: block; margin-top: 16px; color: #647755; font-size: 11px; line-height: 1.5; }
.reader-credential-expiry { margin-top: 7px; color: #83698e; }
.reader-credential-note { display: block; margin-top: 22px; padding-top: 12px; border-top: 1px solid #e2d6e7; color: #8a728f; font-size: 9px; line-height: 1.5; }
.reader-digital-card > .reader-credential-note:first-of-type { margin: 0 0 9px; padding: 0; border: 0; color: #8d7496; font-size: 8px; letter-spacing: .12em; }
.reader-digital-card > p:not([class]) { margin-top: 15px; color: #8a728f; font-size: 11px; line-height: 1.5; }
.reader-toast { position: fixed; z-index: 10050; left: 50%; bottom: 28px; width: max-content; max-width: calc(100vw - 32px); padding: 14px 20px; border: 1px solid #ffffff30; border-radius: 12px; background: #503564; color: white; box-shadow: 0 8px 30px #29163633; font-size: 13px; line-height: 1.5; transform: translateX(-50%); }
.reader-sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }

@media (max-width: 1100px) {
  .reader-hero { grid-template-columns: 1fr 285px; gap: 35px; padding: 36px; }
  .reader-personal-grid { grid-template-columns: minmax(0, 1fr) 285px; gap: 20px; }
  .reader-experience .reader-stats .member-stat-card { gap: 10px; padding: 0 15px; }
  .reader-experience .reader-stats .reader-stat-icon { flex-basis: 34px; width: 34px; height: 36px; }
  .reader-recommendations { gap: 12px; }
  .reader-recommendation-copy { padding: 6px 15px 18px; }
  .reader-shelf { padding: 23px; }
  .reader-experience .reader-login-layout { grid-template-columns: 1fr 390px; gap: 40px; padding: 30px 10px; }
}
@media (max-width: 900px) {
  .reader-experience .reader-stats { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .reader-experience .reader-stats .member-stat-card { padding: 0 15px; }
  .reader-experience .reader-stats .reader-stat-icon { display: none; }
  .reader-personal-grid { grid-template-columns: 1fr; }
  .reader-side-column { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .reader-recommendations { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .reader-recommendation-card { display: grid; grid-template-columns: 107px 1fr; align-items: center; padding: 9px; }
  .reader-recommendation-cover { min-height: 174px; padding: 12px 8px; }
  .reader-recommendation-cover img, .reader-recommendation-cover .reader-cover-fallback { width: 84px; height: 126px; }
  .reader-recommendation-cover .reader-cover-fallback { padding: 9px; font-size: 11px; }
  .reader-recommendation-copy { padding: 8px 10px; }
  .reader-recommendation-copy .reader-book-title { font-size: 13px; }
  .reader-hero h2 { font-size: 35px; }
  .reader-experience .reader-login-layout { gap: 30px; grid-template-columns: minmax(0, 1fr) 360px; }
  .reader-experience .member-access-card { padding: 27px; }
  .reader-login-story h2 { font-size: 45px; }
}
@media (max-width: 700px) {
  .reader-topline { margin-bottom: 14px; }
  .reader-topline .reader-eyebrow { font-size: 8px; letter-spacing: .1em; }
  .reader-logout { gap: 7px; padding-left: 0; font-size: 11px; }
  .reader-hero { grid-template-columns: 1fr; gap: 30px; padding: 30px; border-radius: 23px; }
  .reader-hero h2 { font-size: 39px; }
  .reader-hero-copy > p { max-width: none; font-size: 13px; }
  .reader-credential-preview { width: 100%; max-width: 320px; justify-self: center; transform: rotate(2deg); }
  .reader-credential-preview-top { margin-bottom: 14px; }
  .reader-experience .reader-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); margin-bottom: 30px; }
  .reader-stat-note { margin-top: -19px; margin-bottom: 27px; text-align: left; }
  .reader-experience .reader-stats .member-stat-card { margin: 0; padding: 17px; gap: 14px; border-bottom: 1px solid var(--reader-line); }
  .reader-experience .reader-stats .member-stat-card:nth-child(2) { border-right: 0; }
  .reader-experience .reader-stats .member-stat-card:nth-child(n+3) { border-bottom: 0; }
  .reader-experience .reader-stats .reader-stat-icon { display: grid; }
  .reader-section-heading { gap: 14px; align-items: flex-start; }
  .reader-section-heading h3 { font-size: 27px; }
  .reader-section-heading > .reader-action { margin-top: 20px; padding: 9px 10px; font-size: 10px; }
  .reader-section-heading p { font-size: 11px; }
  .reader-recommendations { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .reader-recommendation-card { display: flex; padding: 0; }
  .reader-recommendation-cover { min-height: 183px; padding: 18px 22px 11px; }
  .reader-recommendation-cover img, .reader-recommendation-cover .reader-cover-fallback { width: 101px; height: 149px; }
  .reader-recommendation-copy { padding: 10px 15px 18px; }
  .reader-recommendation-copy .reader-book-title { font-size: 14px; }
  .reader-personal-grid { margin-top: 30px; }
  .reader-tabs button { padding: 11px 4px; font-size: 11px; }
  .reader-shelf { padding: 22px 18px; }
  .reader-book-card { padding: 14px; gap: 13px; }
  .reader-experience .reader-login-layout { display: flex; flex-direction: column; align-items: center; gap: 30px; min-height: auto; padding: 16px 0 30px; }
  .reader-login-story { width: 100%; max-width: 420px; text-align: center; }
  .reader-login-story h2 { font-size: 45px; margin: 15px 0; }
  .reader-login-story > p { max-width: none; font-size: 13px; line-height: 1.7; }
  .reader-login-books { display: none; }
  .reader-story-footnote { display: none; }
  .reader-experience .member-access-card { max-width: 430px; padding: 27px; }
}
@media (max-width: 480px) {
  .reader-hero { padding: 27px 22px; }
  .reader-hero h2 { font-size: 34px; }
  .reader-hero-copy > .reader-eyebrow { font-size: 8px; max-width: 250px; }
  .reader-hero-star { right: 16px; font-size: 31px; }
  .reader-profile-line { margin-top: 22px; gap: 10px; }
  .reader-experience .reader-stats .member-stat-card { gap: 10px; padding: 15px 11px; }
  .reader-experience .reader-stats strong { font-size: 24px; }
  .reader-experience .reader-stats .member-stat-card div > span { font-size: 10px; }
  .reader-section-heading h3 { font-size: 25px; }
  .reader-discover > .reader-section-heading { flex-wrap: wrap; gap: 10px; }
  .reader-discover > .reader-section-heading > .reader-action { margin-top: 0; }
  .reader-recommendations { grid-template-columns: repeat(4, minmax(230px, 79%)); gap: 13px; padding: 4px 2px 15px; overflow-x: auto; scroll-snap-type: x mandatory; overscroll-behavior-x: contain; scrollbar-width: thin; scrollbar-color: #bc9ecc #f1eaf5; }
  .reader-recommendation-card { scroll-snap-align: start; }
  .reader-recommendation-cover { min-height: 200px; }
  .reader-recommendation-cover img, .reader-recommendation-cover .reader-cover-fallback { width: 109px; height: 161px; }
  .reader-recommendation-copy { padding: 8px 20px 21px; }
  .reader-shelf { padding: 21px 13px; }
  .reader-book-card { padding: 13px 11px; gap: 12px; }
  .reader-book-cover { flex-basis: 59px; width: 59px; height: 85px; }
  .reader-book-title { font-size: 13px; }
  .reader-book-actions .reader-action { font-size: 10px; }
  .reader-side-column { grid-template-columns: 1fr; }
  .reader-dialog { padding: 30px 23px 25px; }
  .reader-star-options { gap: 8px; }
  .reader-star-options label { width: 41px; height: 43px; }
  .reader-credential-name { font-size: 24px; }
}
@media (prefers-reduced-motion: reduce) {
  .reader-experience *, .reader-experience *::before, .reader-experience *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
