.header-account {
  display: inline-flex; align-items: center; gap: .42rem; min-height: 40px;
  padding: 4px 8px; border-radius: 7px; font-weight: 700; font-size: .94rem; text-decoration: none;
}
.header-account:hover, .header-account[aria-current] { background: #eee6f6; color: #4b3165; }
.reader-layout { display: grid; grid-template-columns: minmax(200px, 25%) minmax(0, 1fr); align-items: start; gap: clamp(28px, 5vw, 74px); margin-top: 27px; }
.reader-sidebar { padding: 22px 15px 15px; border: 1px solid #d9d1e2; border-top: 4px solid #755594; border-radius: 12px; background: #f2ecf6; }
.reader-identity { display: flex; padding: 0 5px 20px; align-items: center; gap: 11px; }
.reader-initials { display: grid; place-items: center; flex: none; width: 43px; height: 43px; border-radius: 50%; background: #513762; color: white; font: 700 1rem var(--display); }
.reader-identity small, .reader-identity strong { display: block; overflow-wrap: anywhere; }
.reader-identity small { color: #695b70; font-size: .76rem; }
.reader-identity strong { font: 730 1.12rem/1.3 var(--display); }
.reader-sidebar nav { display: grid; gap: 4px; }
.reader-sidebar nav a { display: flex; gap: .65rem; align-items: center; min-height: 43px; padding: 8px 12px; font-weight: 650; font-size: .94rem; text-decoration: none; border-radius: 7px; }
.reader-sidebar nav a:is(:hover,[aria-current]) { color: #51336d; background: #e5d9ed; }
.reader-sidebar nav .ico { width: 18px; height: 18px; }
.reader-logout, .receipt-download { background: none; border: 0; color: var(--purple); font-size: .86rem; font-weight: 650; text-decoration: underline; text-underline-offset: .2em; }
.reader-logout { margin: 12px 0 0; padding: 6px 12px; }
.reader-page h1, .reader-auth h1 { margin: 0; font: 800 clamp(2.45rem, 4.2vw, 4.25rem)/1.05 var(--display); letter-spacing: -.062em; overflow-wrap: anywhere; }
.reader-page h1:focus, .reader-auth h1:focus { outline: none; }
.reader-heading, .reader-save { display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px 16px; }
.reader-heading > span, .reader-intro, .reader-book-info p, .reader-book-info small { color: #675d69; }
.reader-intro { margin: .65rem 0 1.5rem; max-width: 56ch; }
.reader-books { list-style: none; margin: 0; padding: 0; border-top: 2px solid var(--ink); }
.reader-book { display: grid; align-items: center; grid-template-columns: clamp(78px, 8.2vw, 115px) minmax(0, 1fr) auto; gap: clamp(15px, 2vw, 27px); padding: clamp(16px, 2vw, 24px) 0; border-bottom: 1px solid var(--rule); }
.reader-tile { display: grid; place-items: center; aspect-ratio: .95; border-radius: 8px; background: var(--tile); }
.reader-tile > div, .reader-jackets > div { width: 51%; aspect-ratio: .71; box-shadow: 2px 4px 5px #281e3140; transform: rotate(-5deg); }
.reader-category { color: #58425e; font-size: .68rem; font-weight: 750; text-transform: uppercase; letter-spacing: .085em; }
.reader-book-info h2 { margin: .13rem 0 .24rem; font: 750 clamp(1.16rem, 2vw, 1.75rem)/1.13 var(--display); letter-spacing: -.04em; }
.reader-book-info p { margin: 0; font-size: .88rem; }
.reader-book-info small { font-size: .77rem; }
.reader-download { display: inline-flex; align-items: center; justify-content: center; gap: 7px; padding: .65rem .9rem; border: 1px solid #bba8c6; border-radius: 7px; background: #f5eff9; color: #503164; font-weight: 700; font-size: .88rem; }
.reader-download:hover { background: #e9ddf1; }
.reader-download .ico, .receipt-download .ico { width: 16px; height: 16px; }
.reader-empty, .reader-form { background: #fffdf7; border: 1px solid var(--rule); border-radius: 14px; padding: clamp(22px, 3vw, 36px); }
.reader-empty { margin-top: 1.5rem; }
.reader-empty > .ico { width: 36px; height: 36px; color: var(--purple); }
.reader-empty h2 { margin: 12px 0 4px; }
.reader-empty p { margin: 0 0 18px; }
.reader-form, .reader-content > .reader-recovery { max-width: 40rem; }
.reader-form .checkout-label:not(:first-child) { margin-top: 1rem; }
.reader-form input[readonly] { background: #f4f1ec; color: #625a64; }
.reader-save { margin-top: 1.5rem; align-items: center; }
#profile-status { color: #326044; font-weight: 650; }
.reader-content > .reader-recovery { margin-top: 1rem; }
.reader-auth-layout { display: grid; grid-template-columns: minmax(0, 1.07fr) minmax(0, .93fr); align-items: center; gap: clamp(35px, 6vw, 88px); max-width: 1020px; margin: 23px auto 0; }
.reader-auth h1 { margin-bottom: 22px; }
.reader-auth .checkout-login-actions { justify-content: flex-end; }
.reader-auth .checkout-login-actions:has(a) { justify-content: space-between; }
.reader-auth-art { overflow: hidden; padding: clamp(25px, 3.5vw, 52px); background: #eee5f4; border-radius: 16px; }
.reader-jackets { display: flex; justify-content: center; align-items: flex-end; padding: 16px 11px 28px; }
.reader-jackets > div { width: 31%; flex: none; position: relative; transform: rotate(-12deg); }
.reader-jackets > div:nth-child(2) { z-index: 1; margin: 0 -3%; transform: translateY(-9%) rotate(1deg); }
.reader-jackets > div:last-child { transform: rotate(12deg); }
.reader-auth-art h2 { margin: 0 0 .45rem; font: 750 clamp(1.5rem, 2.4vw, 2.1rem)/1.08 var(--display); letter-spacing: -.05em; }
.reader-auth-art p { margin: 0; color: #5f5264; }
.receipt-download { display: inline-flex; align-items: center; gap: 5px; padding: 5px 0; }
@media (max-width: 900px) {
  .header-account { width: 40px; justify-content: center; }
  .header-account > span { display: none; }
}
@media (min-width: 651px) and (max-width: 810px) {
  .header-inner { gap: 1rem; }
  .header-actions { gap: 2px; }
}
@media (max-width: 700px) {
  .reader-layout, .reader-auth-layout { grid-template-columns: 1fr; gap: 25px; margin-top: 18px; }
  .reader-sidebar { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 10px; padding: 12px; }
  .reader-identity { padding: 0; }
  .reader-initials { width: 34px; height: 34px; }
  .reader-sidebar nav { grid-column: 1/-1; grid-row: 2; display: flex; border-top: 1px solid #ded4e6; padding-top: 8px; }
  .reader-sidebar nav a { padding: 6px 9px; }
  .reader-logout { margin: 0; }
  .reader-auth-art { display: none; }
}
@media (max-width: 480px) {
  .reader-book { grid-template-columns: 68px minmax(0, 1fr); gap: 8px 14px; }
  .reader-tile { grid-row: span 2; align-self: start; }
  .reader-download { grid-column: 2; justify-self: start; }
  .header-inner { gap: .65rem; }
}
@media (max-width: 375px) {
  .reader-sidebar nav .ico { display: none; }
}
