/* Account – Library — follows the "Account" (My Library) and "Phone — Account: Library" mockups */
.acc{background:#100E0C;color:#F3EDE3}
.acc .ph{display:none}
.acc [hidden]{display:none!important}
.acc .wrap{max-width:1280px;margin:0 auto;padding-left:24px;padding-right:24px}
.acc a{color:#E0B877;text-decoration:none}.acc a:hover{color:#F3EDE3}
.albl{font-family:'IBM Plex Mono',monospace;font-size:13px;font-weight:600;letter-spacing:.16em;color:#F0533F;margin-bottom:10px}
.ahead{padding-top:48px;padding-bottom:24px}
.ah1{font-family:'Big Shoulders Display',sans-serif;font-weight:900;font-size:clamp(56px,7vw,104px);line-height:.86;margin:0 0 24px;text-transform:uppercase}
.ah1 em{font-style:normal;color:#C6A36A}
.alede{font-family:'Source Serif 4',Georgia,serif;font-style:italic;font-size:20px;color:#D9D1C4;margin:0 0 24px;max-width:560px}
.abtn{height:56px;padding:0 28px;border:0;border-radius:12px;background:#C6A36A;color:#100E0C;font-family:'Big Shoulders Display',sans-serif;font-weight:900;font-size:23px;letter-spacing:.05em;cursor:pointer}
.abtn:disabled{opacity:.6}
.aerr{color:#F0533F;font-weight:600;font-size:14px;margin:14px 0 0}
#out{padding-bottom:96px}
.anavrow{display:flex;flex-wrap:wrap;align-items:center;gap:12px 20px}
.anav{display:flex;flex-wrap:wrap;gap:4px;padding:4px;border-radius:12px;background:#1F1B17;width:fit-content;max-width:100%}
.anav a{height:44px;padding:0 18px;border-radius:9px;color:#A39A8C!important;display:inline-flex;align-items:center;font-family:'IBM Plex Mono',monospace;font-weight:600;font-size:13px;letter-spacing:.08em}
.anav a[aria-current="page"]{background:#C6A36A;color:#100E0C!important}
.aout{background:none;border:0;padding:0;font-family:'IBM Plex Mono',monospace;font-weight:600;font-size:12px;letter-spacing:.08em;color:#A39A8C;cursor:pointer}
.aout:hover{color:#F3EDE3}

.abody{padding-top:16px;padding-bottom:96px;display:flex;flex-wrap:wrap;gap:32px;align-items:flex-start}
.amain{flex:999 1 560px;min-width:0}
.alibh{display:flex;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:12px;margin-bottom:20px}
.ah2{font-family:'Big Shoulders Display',sans-serif;font-weight:800;font-size:32px;text-transform:uppercase;margin:0}
.async{display:flex;align-items:center;gap:10px;font-size:14px;color:#A39A8C}
.alib{display:grid;grid-template-columns:repeat(auto-fill,minmax(170px,1fr));gap:32px 20px}
.lb{display:flex;flex-direction:column;gap:10px;color:#F3EDE3}
.lb img{width:100%;aspect-ratio:5/8;object-fit:cover;border-radius:6px;display:block;box-shadow:0 14px 30px rgba(0,0,0,.45);background:#1F1B17}
.lb .t{font-family:'Big Shoulders Display',sans-serif;font-weight:800;font-size:22px;line-height:1;text-transform:uppercase}
.lb .pl{display:flex;flex-wrap:wrap;gap:6px}
.pill{font-size:12px;font-weight:600;padding:4px 9px;border-radius:999px;background:rgba(198,163,106,.16);color:#E0B877}
.pill.m{background:rgba(243,237,227,.08);color:#A39A8C}
.rd{height:42px;border-radius:10px;background:#C6A36A;color:#100E0C!important;display:flex;align-items:center;justify-content:center;gap:8px;font-family:'Big Shoulders Display',sans-serif;font-weight:800;font-size:18px;letter-spacing:.05em}
.rd:hover{background:#E0B877}
.anote{margin:24px 0 0;font-size:14px;color:#A39A8C}
.alib .anote{margin:0;grid-column:1/-1}
.aord{margin:48px 0 16px}
.aorders{border-top:1px solid #2A251F}
.orow{display:flex;flex-wrap:wrap;gap:12px 24px;align-items:center;padding:16px 0;border-bottom:1px solid #2A251F}
.orow .od{font-family:'IBM Plex Mono',monospace;font-size:13px;color:#A39A8C;flex:0 0 120px}
.orow .oi{flex:1 1 240px;min-width:0}
.orow .ot{font-weight:700}
.orow .ol{font-family:'IBM Plex Mono',monospace;font-size:12px;letter-spacing:.08em}

.aside{flex:1 1 320px;min-width:0;display:flex;flex-direction:column;gap:16px}
.apan{border-radius:18px;background:#1F1B17;padding:22px}
.ak2{font-family:'IBM Plex Mono',monospace;font-size:12px;font-weight:600;letter-spacing:.14em;color:#C6A36A}
.ak{display:block;font-family:'IBM Plex Mono',monospace;font-size:11px;letter-spacing:.12em;color:#A39A8C}
.acb{background:#000;border:1px solid #2E2A26}
.acbs{display:flex!important;align-items:center;gap:8px;margin:8px 0 14px}
.acbs .dot{width:9px;height:9px;border-radius:50%;background:#C6A36A}
.acbs .dot.off{background:#5A5248}
.acbs #cbState,.acbs #ulState{font-family:'Big Shoulders Display',sans-serif;font-weight:900;font-size:32px;line-height:1;text-transform:uppercase}
.acbn{display:flex;gap:14px;align-items:center;border-top:1px solid #2A251F;padding-top:14px}
.acbc{width:54px;height:81px;flex:0 0 54px;background:#050505;border:1px solid #2E2A26;border-radius:3px;display:flex;align-items:center;justify-content:center;font-family:'Source Serif 4',Georgia,serif;font-size:9px;color:#F3EDE3;text-align:center;padding:4px}
.acbt{min-width:0;flex:1}
.acbtt{display:block;font-family:'Source Serif 4',Georgia,serif;font-weight:600;font-size:19px}
.acbsh{display:block;font-size:13px;color:#A39A8C}
.acbb{display:flex!important;gap:10px;margin-top:18px}
.acbb a{flex:1;height:44px;border-radius:10px;display:flex;align-items:center;justify-content:center;font-family:'IBM Plex Mono',monospace;font-weight:600;font-size:12px;letter-spacing:.08em}
.acbb .o{border:1.5px solid #C6A36A}
.acbb .g{background:rgba(243,237,227,.08);color:#D9D1C4!important}
.ago{display:flex;gap:14px;align-items:center}
.agol{width:52px;height:52px;flex:0 0 52px;border-radius:50%;background:#2A251F;color:#E0B877;display:flex;align-items:center;justify-content:center;font-family:'Big Shoulders Display',sans-serif;font-weight:900;font-size:18px}
.agot{min-width:0}
.agot .ak2{display:block;margin-bottom:4px}
.agon{display:block;font-family:'Big Shoulders Display',sans-serif;font-weight:800;font-size:22px;line-height:1.05;text-transform:uppercase}
.aulp{margin:0 0 14px;font-size:14px;color:#A39A8C}
.aulb{height:44px;border-radius:10px;background:rgba(243,237,227,.08);color:#D9D1C4!important;display:flex;align-items:center;justify-content:center;font-family:'IBM Plex Mono',monospace;font-weight:600;font-size:12px;letter-spacing:.08em}
.aread{background:#C6A36A;color:#100E0C}
.areadt{font-family:'Big Shoulders Display',sans-serif;font-weight:900;font-size:30px;line-height:1;text-transform:uppercase;margin-bottom:6px}
.aread p{margin:0 0 14px;font-size:14px}
.areadb{height:46px;border-radius:10px;background:#100E0C;color:#E0B877!important;display:flex;align-items:center;justify-content:center;font-family:'Big Shoulders Display',sans-serif;font-weight:800;font-size:19px;letter-spacing:.05em}

/* phone (Phone — Account: Library mockup) */
@media (max-width:760px){
  .acc .dk{display:none!important}
  .acc .ph{display:revert}
  .acc .wrap{padding-left:18px;padding-right:18px}
  .albl{font-size:12px;margin-bottom:6px}
  .ahead{padding-top:26px;padding-bottom:0}
  .ah1{font-size:52px;margin:0 0 16px}
  .anavrow{display:block}
  .anav{display:flex;flex-wrap:nowrap;gap:6px;padding:0;border-radius:0;background:none;width:auto;border-bottom:1px solid #2A251F;overflow-x:auto}
  .anav a{height:auto;padding:12px;border-radius:0;font-size:12px;letter-spacing:.1em;border-bottom:2px solid transparent;white-space:nowrap}
  .anav a[aria-current="page"]{background:none;color:#F3EDE3!important;border-color:#C6A36A}
  .aout{display:block;margin:10px 0 0;font-size:11px}
  .abody{display:block;padding-top:20px;padding-bottom:28px}
  .acont{display:flex!important;gap:14px;align-items:center;border-radius:16px;border:1px solid #C6A36A;background:#1C1814;padding:16px;margin-bottom:22px}
  .accv{width:64px;aspect-ratio:5/8;border-radius:4px;background:#2A251F;flex:0 0 64px}
  .acct{flex:1;min-width:0}
  .acck{font-family:'IBM Plex Mono',monospace;font-size:10px;letter-spacing:.12em;color:#C6A36A}
  .acctt{font-family:'Big Shoulders Display',sans-serif;font-weight:800;font-size:21px;line-height:1;text-transform:uppercase;margin-top:4px}
  .abar{height:4px;border-radius:2px;background:#2A251F;margin-top:6px;overflow:hidden}
  .abar span{display:block;height:100%;background:#C6A36A}
  .acont .ak{font-size:10px;letter-spacing:.1em;margin-top:5px}
  .aplay{width:48px;height:50px;flex:0 0 48px;border-radius:10px;background:#C6A36A;color:#100E0C!important;display:flex;align-items:center;justify-content:center}
  .alibh{flex-wrap:nowrap;align-items:baseline;margin-bottom:4px}
  .ah2{font-size:34px}
  .async{font-family:'IBM Plex Mono',monospace;font-size:10px;letter-spacing:.1em}
  .afil{display:flex!important;gap:6px;margin:10px 0 16px}
  .afil button{border:0;font:inherit;font-size:11px;font-weight:600;padding:6px 12px;border-radius:999px;background:rgba(198,163,106,.16);color:#E0B877;cursor:pointer}
  .afil button[aria-pressed="true"]{background:#C6A36A;color:#100E0C}
  .alib{grid-template-columns:1fr 1fr;gap:18px 14px}
  .lb{gap:0}
  .lb img{box-shadow:0 14px 28px rgba(0,0,0,.55)}
  .lb .t{font-size:18px;margin-top:9px}
  .lb .pl{margin-top:5px;gap:5px}
  .lb .pill{font-size:11px;padding:2px 8px}
  .lb .rd{display:none}
  .lb .stretch::after{content:"";position:absolute;inset:0}
  .lb{position:relative}
  .aside{margin-top:22px;gap:12px}
  .apan{border-radius:16px;padding:16px;border:1px solid #3A332B}
  .acb{background:#000}
  .acbh{display:flex;justify-content:space-between;align-items:center;margin-bottom:10px}
  .acbh .ak2{font-size:12px;letter-spacing:.16em;color:#F0533F}
  .acbh .pill{font-size:11px;padding:2px 8px}
  .acbn{border-top:0;padding-top:0;gap:12px}
  .acbc{width:44px;height:66px;flex:0 0 44px}
  .acbt .ak{font-size:10px;letter-spacing:.1em}
  .acbtt{font-family:'Big Shoulders Display',sans-serif;font-weight:800;font-size:19px;text-transform:uppercase;margin-top:3px}
  .acbm{font-family:'IBM Plex Mono',monospace;font-size:11px;font-weight:600}
  .agol{border-radius:12px;color:#C6A36A}
  .agot{flex:1}
  .agot .ak2{font-size:10px;letter-spacing:.16em;color:#F0533F;margin:0}
  .agon{font-size:19px;margin-top:3px}
  .ago .ak{font-size:10px;letter-spacing:.1em}
  .aunl .acbh{margin-bottom:0}
  .aulp{margin:6px 0 0;font-size:13px}
  .aulb{height:auto;background:none;justify-content:flex-start;margin-top:8px;font-size:11px;color:#E0B877!important}
  .aread{background:#1F1B17;color:#F3EDE3;display:flex;gap:12px;align-items:center}
  .areadp{flex:1;font-size:14px;color:#D9D1C4}
  .areadb{height:auto;background:none;font-family:'IBM Plex Mono',monospace;font-size:11px;font-weight:600;letter-spacing:0}
}

/* Nov 11: Collection Builder card (status + MANAGE only); EPUB download icon on owned eBooks */
.acb .acbb{margin-top:0}
.acbn{justify-content:flex-end}
.lb .pl{align-items:center;min-height:36px}
.lb .dli{margin-left:auto;flex:0 0 36px;width:36px;height:36px;border-radius:50%;border:1.5px solid #C6A36A;color:#E0B877;display:flex;align-items:center;justify-content:center}
.lb .dli:hover{background:rgba(198,163,106,.16);color:#F3EDE3}
.lb .dli svg{width:16px;height:16px}
@media (max-width:760px){ .lb .pl{min-height:32px} .lb .dli{flex-basis:32px;width:32px;height:32px} .lb .dli svg{width:15px;height:15px} }

/* Nov 14: phone library 3 columns */
@media (max-width:760px){
  .acc .alib{grid-template-columns:repeat(3,minmax(0,1fr));gap:18px 10px}
  .acc .lb img{border-radius:4px;box-shadow:0 10px 20px rgba(0,0,0,.55)}
  .acc .lb .t{font-size:15px;line-height:1;margin-top:7px}
  .acc .lb .pl{margin-top:5px;gap:4px;min-height:26px}
  .acc .lb .pill{font-size:10px;padding:2px 6px}
  .acc .lb .dli{flex-basis:26px;width:26px;height:26px;border-width:1.25px}
  .acc .lb .dli svg{width:13px;height:13px}
}
