/* A contemporary gallery with a champagne-gold book.
   Light and texture live behind the page content; part SVG colors are untouched. */
:root{--ink:#25304a;--muted:#626b80;--paper:#f3f4fa;--cream:#fafaff;--accent:#6552a4;--gold:#c3a15b;--line:#d6daea}
body{background:radial-gradient(ellipse at 80% 8%,#e9e5fa66,transparent 45%),var(--paper)}
.masthead{border-color:#d8dced}.brandmark{background:linear-gradient(145deg,#8270bb,#4a3b80);border-radius:10px}.brand-sub{letter-spacing:.2em}.concept i{background:#a08440;box-shadow:0 0 0 4px #dbc77c24}.wordmark-rule{background:#ccd0df}
h1{font-family:Arial,Helvetica,sans-serif;font-weight:600;letter-spacing:-.065em;line-height:1.06}h1 em{font-family:Georgia,'Times New Roman',serif;color:#6857a1;letter-spacing:-.055em;font-weight:400}.small-star{color:#8b79ba}.intro-note p{color:#5c6478}
.library-wall{gap:24px;padding-top:22px}.library-label{font-size:24px;letter-spacing:-.035em;padding-bottom:17px}.library-label>span{background:#e2e5f1;border-radius:50%;width:25px;height:25px;display:grid;place-items:center;color:#57617b;font-size:8px}.selected .library-label{color:#4c3c7c}.selected .library-label>span{background:#66548e;color:#fff}.library-label>small{color:#7d7891}
.cubby{height:326px;border-radius:24px 24px 7px 7px;background:radial-gradient(ellipse at 48% 6%,#d1d6f1,#8f9ac7 57%,#737fac);box-shadow:inset 0 2px 1px #ffffffaa,inset 0 -18px 25px #4d578226,0 12px 24px #555b8210;isolation:isolate;overflow:hidden;padding-bottom:9px}
.cubby::before{content:'';position:absolute;left:16%;right:16%;top:13px;height:2px;border-radius:50%;background:#fff9e6;box-shadow:0 0 8px 2px #fff9e69c,0 14px 35px 15px #ffffff24;z-index:0;pointer-events:none}
.cubby::after{content:'';position:absolute;inset:0;z-index:-1;pointer-events:none;opacity:0;background:radial-gradient(ellipse at 50% 65%,#ffefb4a8 0,#f4cf6b44 31%,transparent 67%);transition:opacity .35s ease}
.cubby.is-lit::after{opacity:1}.library:nth-child(2) .cubby{background:radial-gradient(ellipse at 50% 8%,#d9f2e9,#a5d6c8 60%,#83b6ad)}.library:nth-child(3) .cubby{background:radial-gradient(ellipse at 50% 8%,#eee1f6,#c1a9d6 60%,#a38bbc)}.library:nth-child(4) .cubby{background:radial-gradient(ellipse at 50% 8%,#fae2df,#e9b7b5 60%,#ce969a)}
.wall-number{top:27px;right:20px;font-family:Arial,sans-serif;font-style:normal;font-weight:300;font-size:32px;color:#fff8}.shelf-plinth{height:12px;margin-top:-2px;border-radius:0 0 10px 10px;background:linear-gradient(#ffffff 0 18%,#d4d8e4 24%,#e8ebf5 55%,#bec4d5);box-shadow:0 8px 15px -7px #434b6f55,0 -1px 0 #fff8;z-index:3}.library-caption{font-size:11px;padding-top:17px}.library-caption small{color:#69728a}.shelf-heading{color:#58627e}.shelf-instruction{border-color:#d6daea}.round-arrow{border-color:#b8bad2;color:#6857a1}.footer{color:#59627a}.placeholder-books{opacity:.96}.decor-spines i{background:#686e99;color:#e6e7f6;border-color:#4c568b44}.decor-spines i:last-child{background:#adb6d5;color:#485573}.tablet-books i:first-child{background:linear-gradient(95deg,#729f9b,#acd4c9)}.tablet-books i:last-child{background:linear-gradient(95deg,#456e6b,#87b9a9 20%,#70a595)}.samsung-books i:first-child{background:linear-gradient(95deg,#786391,#a98cbc 20%,#9d7db4)}.samsung-books i:nth-child(2){background:#c7b6dc}.samsung-books i:last-child{background:#8c7ba6}.other-books i:first-child{background:#c48e90}.other-books i:last-child{background:linear-gradient(95deg,#a76778,#d197a2 18%,#c38999)}
.closed-book{width:174px;height:259px;filter:drop-shadow(9px 12px 8px #3d3b5460)}.closed-book:hover{filter:drop-shadow(8px 12px 8px #514b5c55) drop-shadow(0 0 10px #ffe4a536)!important}.closed-book.selected-glow{filter:drop-shadow(8px 12px 8px #66502d44) drop-shadow(0 0 16px #ffe6a2cc) drop-shadow(0 0 28px #f4d77b70);animation:book-warmth .8s ease-out both}
.book-cover{color:#49391f;text-shadow:0 1px 0 #fff4bd88;border:1px solid #b68d44;border-left:2px solid #9a742f;background:repeating-linear-gradient(93deg,#fff9d815 0 1px,transparent 1px 4px),repeating-linear-gradient(3deg,#80591808 0 1px,transparent 1px 6px),linear-gradient(120deg,#f9edb8 0%,#e7cd8e 20%,#d9b566 44%,#f3dfa4 67%,#ceaa5b 100%);box-shadow:inset 2px 0 5px #8f672e55,inset 0 1px 1px #ffffe9,4px 2px 0 #f3dfa0,6px 2px 0 #a27c35;border-radius:2px 7px 6px 2px}
.book-cover::after{content:'';position:absolute;inset:7px;border:1px solid #8e692b55;box-shadow:inset 0 0 0 1px #ffefb65c;pointer-events:none;border-radius:1px 3px 3px 1px}.book-spine{color:#4e3b1e;background:linear-gradient(90deg,#9f7730,#efd89b 45%,#bd9349);text-shadow:0 1px 0 #fff0bd77}.book-overline{border-color:#8a652961}.cover-title{font-size:23px}.cover-line{background:#8d69286b}.cover-device{border-color:#81652c99;box-shadow:3px 2px 0 #7f632822}.cover-device::before,.cover-device i,.cover-device b{border-color:#7e622a99}.cover-footer{font-size:6px}
.mini-book{background:linear-gradient(115deg,#b68b3f,#f4dfa5 50%,#c6a05b);color:#49391f;box-shadow:inset 6px 0 2px #96712e66,3px 2px 0 #eed592,4px 2px 0 #a17d37}
#reader{background:radial-gradient(ellipse at 50% 30%,#eae8f6 0,#d5d9ea 55%,#b9c5df 100%)}.reader-head{background:#f3f4faed;border-color:#cbd1e4}.table-caption p,.table-caption>span{color:#5f6880}.reader-tip{color:#555f76}.page-turn{background:#f4f3fa;border-color:#b8bfd3;color:#343b56}.book-ribbon{background:linear-gradient(90deg,#766196,#9e87b7,#796596)}
.open-book{border-color:#b3904d;outline-color:#997234;background:#e4c88b;box-shadow:0 2px 0 #fff0b8,0 4px 0 #c29e53,0 6px 0 #f7e4a8,0 8px 0 #cdb06d,0 11px 0 #a6833e,0 13px 0 #e0c47f,3px 25px 29px #34334740,1px 30px 60px #5c547036}
.open-book::after{background:linear-gradient(90deg,transparent,#8b67251f 38%,#74532166 49%,#fff6cd80 52%,#fff4bf25 60%,transparent)}
.page{color:#352e23;isolation:isolate;overflow:hidden;background-color:#e7cf97}
.page-left{background:repeating-linear-gradient(97deg,#fff8d61a 0 1px,transparent 1px 4px),repeating-linear-gradient(7deg,#86602208 0 1px,transparent 1px 5px),linear-gradient(115deg,#e3c785 0,#f3dfac 30%,#e7cd90 61%,#d9b977 100%);box-shadow:inset -12px 0 27px #8e682528,inset 0 1px 1px #ffefc2}
.page-right{background:repeating-linear-gradient(97deg,#fff8d618 0 1px,transparent 1px 4px),repeating-linear-gradient(7deg,#86602208 0 1px,transparent 1px 5px),linear-gradient(100deg,#bd984f 0,#dec185 5%,#edd6a0 23%,#f2dfaf 65%,#dec18a 100%);box-shadow:inset 1px 0 3px #fff0be99,inset -1px 0 2px #a7803a33}
.page>*{position:relative;z-index:1}
.page::before{content:'';position:absolute;inset:-5% -65%;z-index:0;pointer-events:none;background:linear-gradient(112deg,transparent 26%,#fff5cf00 37%,#fff5cf78 48%,#fff9df8f 51%,#fff5cf22 61%,transparent 73%);opacity:0;transform:translateX(-35%)}
.open-book.flipping .page::before{animation:gold-reflection .65s ease-out both}.open-book.flipping .page-left::before{animation-delay:.06s}.open-book.reverse .page::before{animation-direction:reverse}
.page-running,.page-bottom,.photo-caption,.part-note{color:#4e412b}.page-running,.page-bottom,.price-line{border-color:#9c7a3a55}.chapter-content>p:not(.eyebrow):not(.part-note){color:#493e2a}.chapter-content .eyebrow,.illustration-label{color:#69391f}.price-line strong{color:#352e23}
.flip-leaf{background:repeating-linear-gradient(97deg,#fff8d61a 0 1px,transparent 1px 4px),linear-gradient(90deg,#ac863a,#e3c682 12%,#f3dfa8 38%,#c9a45a 72%,#e9cf91);overflow:hidden;box-shadow:-8px 0 16px #76572222}.flip-leaf::after{content:'';position:absolute;inset:0;pointer-events:none;background:linear-gradient(110deg,transparent 20%,#fff8d47a 48%,transparent 72%);opacity:.4}.open-book.flipping .flip-leaf{animation-duration:.62s}
@keyframes book-warmth{from{filter:drop-shadow(8px 12px 8px #514b5c55) drop-shadow(0 0 0 #ffe6a200)}to{filter:drop-shadow(8px 12px 8px #66502d44) drop-shadow(0 0 16px #ffe6a2cc) drop-shadow(0 0 28px #f4d77b70)}}
@keyframes gold-reflection{0%{opacity:0;transform:translateX(-35%)}25%{opacity:.55}75%{opacity:.4}100%{opacity:0;transform:translateX(35%)}}
@media(max-width:1000px){.library-wall{gap:14px}.cubby{height:275px}.closed-book{width:144px;height:226px}.cover-title{font-size:19px}.cover-footer{font-size:5px}}
@media(max-width:650px){.brandmark{border-radius:8px}.intro h1{font-size:48px}.library-wall{gap:23px 17px;padding-top:15px}.library-label{font-size:21px;padding-bottom:13px;gap:9px}.library-label>span{width:21px;height:21px;font-size:7px}.cubby{height:245px;border-radius:18px 18px 6px 6px;padding-bottom:7px}.cubby::before{top:11px;left:18%;right:18%}.wall-number{font-size:25px;top:24px;right:14px}.shelf-plinth{height:10px;border-radius:0 0 7px 7px}.closed-book{width:135px;height:215px}.cover-title{font-size:18px}.cover-footer{font-size:5px}.book-cover::after{inset:6px}.open-book{border-color:#b3904d;box-shadow:0 2px 0 #fff0b8,0 4px 0 #bd984b,0 6px 0 #efda96,0 8px 0 #a5813a,0 10px 0 #dcc07c,0 18px 30px #34334744}.page::before{inset:-5% -80%}}
@media(max-width:380px){.intro h1{font-size:42px}.cubby{height:227px}.closed-book{width:119px;height:198px}.cover-title{font-size:16px}.cover-footer{font-size:4.5px}.library-label{font-size:19px}}
@media(prefers-reduced-motion:reduce){.closed-book.selected-glow{animation:none;filter:drop-shadow(8px 12px 8px #66502d44) drop-shadow(0 0 14px #ffe6a288)}.cubby::after{transition:none}.page::before,.flip-leaf{display:none!important}.open-book.flipping .page::before,.open-book.flipping .flip-leaf{animation:none!important}}
.reduce-motion *,.reduce-motion *::before,.reduce-motion *::after{animation:none!important;transition:none!important;scroll-behavior:auto!important}.reduce-motion .page::before,.reduce-motion .flip-leaf{display:none!important}.reduce-motion .closed-book:hover{transform:perspective(900px) rotateY(-15deg) rotateZ(-4deg)}#motion-toggle{margin:4px 0 10px}#motion-toggle[aria-pressed=true]{background:#e4dff2;border-color:#8572b3}
