/* Website bookshelves. Android and the book reader use their own styles. */
body.website .book-grid{gap:26px;align-items:stretch}
body.website .book-card{min-width:0;display:flex;flex-direction:column;background:#fffdf9;border:1px solid #eae6df;border-radius:26px;overflow:hidden;box-shadow:0 6px 24px #37313f04;transition:transform .25s ease,box-shadow .25s ease,border-color .25s ease}
body.website .book-card:hover{transform:translateY(-5px);box-shadow:0 15px 36px #37313f0d;border-color:#dbd4c5}
body.website .card-cover{height:320px;flex-shrink:0;display:grid;place-items:center;background:#eee8dc;border-radius:0;overflow:hidden;position:relative}
body.website .book-card:nth-child(3n+2) .card-cover{background:#e5edf2}
body.website .book-card:nth-child(3n) .card-cover{background:#ece5f2}
body.website .book-card-visual{width:65%;height:82%;border-radius:3px 9px 9px 3px;position:relative;box-shadow:9px 14px 20px #34353524;transform:rotate(-5deg);transition:transform .35s ease;overflow:hidden;background:#f6e5bc}
body.website .book-card:nth-child(even) .book-card-visual{transform:rotate(4deg)}
body.website .book-card-visual::after{content:"";position:absolute;inset:0;box-shadow:inset 4px 0 5px #0002,inset 8px 0 2px #fff5,inset -1px 0 2px #0002;border-radius:inherit;pointer-events:none}
body.website .card-cover img{object-fit:contain;background:#fffcf3;display:block;width:100%;height:100%;transition:none}
body.website .card-cover:hover img{transform:none}
body.website .card-cover:hover .book-card-visual{transform:rotate(0) translateY(-3px)}
body.website .card-open{bottom:17px;right:17px;background:#fffcf3f5;backdrop-filter:blur(8px);border-radius:30px;padding:8px 14px;font-size:11px;font-weight:600;display:inline-flex;align-items:center;gap:15px;box-shadow:0 3px 12px #3435350b}
body.website .card-open>span{font-size:16px}
body.website .card-body{padding:24px 25px 18px;flex:1;display:flex;flex-direction:column}
body.website .card-kind{text-transform:uppercase;color:#81708e;font-size:9px;font-weight:700;letter-spacing:1.5px;margin-bottom:10px}
body.website .book-card h3{font-family:inherit;font-size:22px;font-weight:650;letter-spacing:-.65px;line-height:1.3;color:#293b40}
body.website .card-description{font-size:13px;color:#7c8284;line-height:1.7;margin:10px 0 20px;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
body.website .card-footer{display:flex;justify-content:space-between;align-items:center;gap:15px;border-top:1px solid #efebe4;margin-top:auto;padding-top:15px}
body.website .card-footer>.card-meta{font-size:10px;letter-spacing:0;text-transform:none;color:#858488;margin:0}
body.website .card-footer>span{width:28px;height:28px;display:grid;place-items:center;border-radius:50%;background:#f2eee6;color:#5d5b56;font-size:16px}
body.website .cover-placeholder{padding:25px 20px;background:linear-gradient(160deg,#eee1bb,#f7eacb 55%,#d3dfcb);gap:18px}
body.website .cover-placeholder::before{content:"";width:68px;height:68px;border-radius:50%;background:#fdf8e4;position:absolute;right:-18px;top:29px;opacity:.7}
body.website .cover-placeholder span{font-size:48px;color:#a28b52;position:relative}
body.website .cover-placeholder strong{font-family:inherit;font-size:21px;font-weight:650;line-height:1.25;letter-spacing:-.5px;position:relative}
body.website .cover-placeholder small{letter-spacing:2px;font-size:6px;position:relative}
body.website .library-page,body.website .account-page{padding-top:46px;padding-bottom:70px}
body.website .catalog-intro{display:flex;align-items:center;justify-content:space-between;gap:35px;padding:42px 45px;background:#eee9f4;border:1px solid #e4deeb;border-radius:30px;min-height:260px;overflow:hidden;position:relative}
body.website .catalog-intro .eyebrow,body.website .account-welcome .eyebrow{font-size:9px;letter-spacing:1.6px;margin-bottom:18px}
body.website .catalog-intro-copy{max-width:710px;position:relative;z-index:1}
body.website .library-page .page-title,body.website .account-page .page-title{font-family:inherit;font-size:clamp(31px,3.5vw,46px);font-weight:650;letter-spacing:-1.8px;line-height:1.2;color:#293b40}
body.website .heading-spark{color:#b294c0;display:inline-block;vertical-align:top;font-size:30px;margin-left:18px}
body.website .catalog-lead{font-size:16px;color:#67717a;margin:15px 0 6px}
body.website .catalog-intro .muted{font-size:12px;color:#86838d}
body.website .catalog-intro .muted a{color:#5d586a;text-decoration:underline;text-underline-offset:3px}
body.website .catalog-book-decoration{width:200px;height:150px;flex:0 0 200px;position:relative;transform:rotate(8deg)}
body.website .catalog-book-decoration>span{position:absolute;bottom:0;height:120px;width:75px;border-radius:5px 10px 10px 5px;border-left:7px solid #0000000b;box-shadow:5px 10px 15px #32343b0b}
body.website .catalog-book-decoration>span::after{content:"✦";position:absolute;inset:25px 0 auto;text-align:center;font-size:30px;color:#ffffffba}
body.website .catalog-book-decoration>span:nth-child(1){left:0;background:#ddbb65;transform:rotate(-15deg)}
body.website .catalog-book-decoration>span:nth-child(2){left:60px;height:140px;background:#a7c1d1;transform:rotate(-2deg)}
body.website .catalog-book-decoration>span:nth-child(3){left:120px;background:#bea8d0;transform:rotate(8deg)}
body.website .catalog-book-decoration>i{position:absolute;right:-5px;top:-15px;font-size:35px;font-style:normal;color:#9e82b6}
body.website .catalog-toolbar{display:flex;justify-content:space-between;align-items:center;gap:24px;margin:40px 0 0;padding-bottom:22px;border-bottom:1px solid #e6e0d5}
body.website .catalog-toolbar>div{display:flex;align-items:center;gap:22px;flex-wrap:wrap}
body.website .library-tab{padding:10px 19px;border:1px solid #ddd6e5;background:#ece5f2;border-radius:30px;color:#655472;font-size:12px;font-weight:600}
body.website .library-count{font-size:11px;color:#8a8a86}
body.website .catalog-toolbar .search{width:350px;max-width:100%;border:1px solid #e3ded5;border-radius:14px;background:#fffdf9;align-items:center;padding:4px 5px 4px 15px;flex:0 1 350px}
body.website .search>svg{height:18px;width:18px;flex-shrink:0;stroke:#90948f;stroke-width:1.6;stroke-linecap:round}
body.website .catalog-toolbar .search input{border:0;background:transparent;min-width:0;padding:9px 12px;outline-offset:1px;font-size:12px}
body.website .catalog-toolbar .search button{padding:9px 14px;font-size:11px;font-weight:600;background:#f1eadd;border-radius:10px;color:#6f6859}
body.website .catalog-query{margin-top:20px;font-size:12px;color:#7e807d}
body.website .catalog-query a{margin-left:14px;text-decoration:underline;text-underline-offset:4px;color:#8f739a}
body.website .library-empty{padding:47px 24px;border:1px dashed #dad2e0;background:#f5f0f6;border-radius:24px;grid-column:1/-1}
body.website .library-empty .empty-star{display:block;font-size:44px;line-height:1;color:#a48cb2;margin-bottom:17px}
body.website .library-empty h2,body.website .library-empty h3{font-family:inherit;font-size:25px;letter-spacing:-.7px;font-weight:600;margin-bottom:10px;color:#485356}
body.website .library-empty p{color:#85808b;font-size:13px;line-height:1.8;max-width:480px;margin:auto}
body.website .library-empty .button{margin-top:23px}
body.website .library-personal-note{margin-top:55px;background:#e9eef1;border-radius:25px;padding:29px 32px;display:flex;gap:24px;align-items:center}
body.website .library-personal-note .note-book-icon{display:grid;place-items:center;width:58px;height:58px;flex:0 0 58px;background:#fffaf0;border-radius:18px;color:#c7a253;font-size:29px}
body.website .library-personal-note>div{flex:1}
body.website .library-personal-note h2{font-family:inherit;font-size:19px;line-height:1.4;font-weight:600;letter-spacing:-.5px}
body.website .library-personal-note p{font-size:12px;color:#7d878b;margin-top:6px;line-height:1.7;max-width:560px}
body.website .library-personal-note .button{white-space:nowrap;font-size:12px}
body.website .library-page .pagination,body.website .account-page .pagination{font-size:12px;gap:20px}
body.website .library-page .pagination a,body.website .account-page .pagination a{border:1px solid #e2dbce;border-radius:12px;padding:9px 15px;background:#fffdf9}
body.website .account-welcome{position:relative;display:flex;align-items:center;justify-content:space-between;padding:39px 43px;border:1px solid #ece0c1;border-radius:30px;background:#f4edd9;overflow:hidden;gap:30px}
body.website .account-welcome>div:first-child{position:relative;z-index:1;min-width:0;max-width:800px}
body.website .account-welcome .page-title{overflow-wrap:anywhere}
body.website .account-welcome p:not(.eyebrow){color:#8a816d;font-size:14px;margin-top:12px}
body.website .account-actions{display:flex;align-items:center;flex-wrap:wrap;gap:24px;margin-top:26px}
body.website .account-actions .text-link{font-size:12px;color:#77776c}
body.website .account-welcome-art{position:relative;width:205px;height:175px;flex:0 0 205px}
body.website .shelf-cloud{position:absolute;left:5px;bottom:4px;width:200px;height:155px;border-radius:50% 50% 40% 35%;background:#fdf9ec9c}
body.website .shelf-book{position:absolute;bottom:20px;width:48px;border-radius:5px 9px 9px 5px;border-left:6px solid #0000000a;box-shadow:4px 5px 8px #54443415}
body.website .shelf-book::after{content:"✧";position:absolute;left:0;right:0;top:28%;color:#ffffffca;text-align:center;font-size:25px}
body.website .shelf-book-yellow{left:30px;background:#ddba65;height:105px;transform:rotate(-12deg)}
body.website .shelf-book-blue{left:81px;background:#acc7d9;height:132px;transform:rotate(3deg)}
body.website .shelf-book-purple{left:133px;background:#bdabd1;height:115px;transform:rotate(9deg)}
body.website .shelf-line{position:absolute;height:7px;bottom:14px;left:17px;right:2px;background:#d5c7a7;border-radius:8px;box-shadow:0 9px 13px #54443413}
body.website .shelf-star{position:absolute;right:6px;top:0;color:#c8a451;font-size:33px;transform:rotate(15deg)}
body.website .shelf-heading{display:flex;justify-content:space-between;align-items:end;gap:20px;margin-top:49px;margin-bottom:12px}
body.website .shelf-heading .eyebrow{font-size:9px;letter-spacing:1.5px;margin-bottom:13px}
body.website .shelf-heading h2,body.website .account-orders h2{font-family:inherit;font-weight:650;font-size:30px;letter-spacing:-1px;line-height:1.2}
body.website .shelf-count{display:inline-grid;place-items:center;vertical-align:middle;width:28px;height:28px;background:#e9e1f0;border-radius:50%;font-size:12px;letter-spacing:0;color:#8c749b;margin-left:7px}
body.website .shelf-heading>.text-link{font-size:12px;flex-shrink:0}
body.website .account-page>.muted{font-size:12px;color:#8a8a82}
body.website .personal-book-grid{margin-top:25px}
body.website .account-orders{background:#fffdf9;border:1px solid #e9e3d8;border-radius:26px;padding:29px 33px;margin-top:48px}
body.website .account-orders .orders-heading{display:flex;align-items:end;justify-content:space-between;gap:20px;margin:0 0 22px}
body.website .account-orders .eyebrow{font-size:9px;margin-bottom:12px;letter-spacing:1.5px}
body.website .orders-count{font-size:11px;color:#93918c}
body.website .account-orders .order-row{padding:19px 0;border-color:#eee9df;gap:17px;flex-wrap:nowrap}
body.website .order-row-icon{height:43px;width:43px;display:grid;place-items:center;background:#f3eddf;color:#b99a50;flex-shrink:0;border-radius:13px;font-size:23px}
body.website .order-row-copy{flex:1;min-width:0}
body.website .order-row-copy strong{font-weight:600;font-size:14px;overflow-wrap:anywhere}
body.website .order-row-copy small{font-size:10px;color:#9b978c;margin-top:4px}
body.website .account-orders .status-badge{background:#e8edf0;color:#6d7f8b;border-radius:30px;font-size:10px;font-weight:500;padding:7px 12px}
body.website .order-empty{border-top:1px solid #eee9df;padding:24px 0 8px}
body.website .order-empty>p:first-child{font-size:14px;color:#697477;margin-bottom:4px}
body.website .order-empty .muted{font-size:12px;color:#96928a}
body.website .account-profile-note{display:flex;justify-content:space-between;gap:20px;padding:22px 7px 0;color:#939087;font-size:11px}
body.website .account-profile-note a{color:#72687d;text-decoration:underline;text-underline-offset:4px}
body.website .account-profile-note .text-link{font-size:11px}
/* Text remains comfortably readable against the pastel surfaces. */
body.website .card-description,body.website .card-footer>.card-meta,body.website .library-count,body.website .catalog-intro .muted,body.website .catalog-query,body.website .library-empty p,body.website .library-personal-note p,body.website .orders-count,body.website .order-row-copy small,body.website .order-empty .muted,body.website .account-profile-note,body.website .account-page>.muted{color:#626d6d}
body.website .account-welcome p:not(.eyebrow){color:#6f6859}
@media(min-width:1500px){body.website .card-cover{height:350px}}
@media(max-width:1100px){body.website .book-grid{gap:20px}body.website .card-cover{height:280px}body.website .card-body{padding:20px}body.website .book-card h3{font-size:20px}body.website .catalog-intro{padding:33px}body.website .catalog-book-decoration{transform:scale(.85) rotate(8deg);flex-basis:165px}body.website .library-personal-note{padding:26px;flex-wrap:wrap}body.website .library-personal-note .button{margin-left:82px}body.website .account-welcome{padding:34px}body.website .account-welcome-art{transform:scale(.9);margin-right:-10px}}
@media(max-width:760px){body.website .book-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}body.website .card-cover{height:270px}body.website .card-body{padding:20px 18px 15px}body.website .card-kind{font-size:8px;letter-spacing:1.2px}body.website .catalog-intro{padding:30px;min-height:235px}body.website .catalog-book-decoration{position:absolute;right:20px;opacity:.18;transform:rotate(8deg) scale(.9)}body.website .catalog-intro-copy{max-width:100%}body.website .catalog-toolbar{align-items:start;flex-direction:column;gap:18px;margin-top:28px}body.website .catalog-toolbar .search{flex-basis:auto;width:100%}body.website .account-welcome-art{display:none}body.website .shelf-heading{align-items:start}body.website .shelf-heading>.text-link{font-size:11px;margin-top:32px}body.website .account-orders{padding:26px}body.website .account-profile-note{flex-wrap:wrap;gap:12px}}
@media(max-width:520px){body.website .library-page,body.website .account-page{padding-top:28px;padding-bottom:45px}body.website .catalog-intro,body.website .account-welcome{padding:28px 23px;border-radius:24px}body.website .library-page .page-title,body.website .account-page .page-title{font-size:33px;letter-spacing:-1.3px}body.website .heading-spark{font-size:20px;margin-left:8px}body.website .catalog-lead{font-size:14px;line-height:1.7}body.website .catalog-intro .muted{font-size:11px;line-height:1.8}body.website .book-grid{grid-template-columns:1fr;gap:22px}body.website .card-cover{height:325px}body.website .book-card-visual{width:60%;height:83%}body.website .card-body{padding:22px}body.website .book-card h3{font-size:23px}body.website .card-description{font-size:13px}body.website .card-open{right:16px;bottom:16px}body.website .catalog-toolbar>div{gap:14px}body.website .library-tab{padding:9px 15px}body.website .library-count{font-size:10px}body.website .library-personal-note{padding:25px 23px;gap:16px;margin-top:35px}body.website .library-personal-note .note-book-icon{height:45px;flex-basis:45px;width:45px;border-radius:14px;font-size:25px;align-self:start}body.website .library-personal-note>div{flex-basis:calc(100% - 65px)}body.website .library-personal-note h2{font-size:17px}body.website .library-personal-note p{font-size:11px}body.website .library-personal-note .button{margin:0;width:100%}body.website .account-welcome .eyebrow{font-size:8px}body.website .account-actions{gap:19px}body.website .account-actions .button{font-size:12px}body.website .shelf-heading{gap:12px;flex-wrap:wrap;margin-top:35px}body.website .shelf-heading>.text-link{margin:0}body.website .shelf-heading h2,body.website .account-orders h2{font-size:28px}body.website .account-orders{margin-top:35px;padding:25px 21px}body.website .account-orders .orders-heading{align-items:center;gap:12px}body.website .account-orders .eyebrow{font-size:8px;letter-spacing:1px}body.website .account-orders .order-row{gap:11px;flex-wrap:wrap}body.website .order-row-icon{height:35px;width:35px;border-radius:10px;font-size:21px}body.website .order-row-copy{flex-basis:calc(100% - 50px)}body.website .account-orders .status-badge{margin-left:46px}body.website .library-empty{padding:37px 21px}body.website .library-empty h2,body.website .library-empty h3{font-size:23px}body.website .library-empty p{font-size:12px}body.website .orders-count{font-size:10px;white-space:nowrap}}
@media(prefers-reduced-motion:reduce){body.website .book-card,body.website .book-card-visual{transition:none}body.website .book-card:hover{transform:none}body.website .card-cover:hover .book-card-visual{transform:none}}
