@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Libre+Baskerville:ital,wght@0,400;0,700;1,400&display=swap');

[hidden]{display:none!important}
.header-actions{display:flex;align-items:center;gap:9px}.header-link{border:0;background:none;color:#bdcacc;padding:10px 12px;font-weight:700;font-size:14px}.header-link:hover,.header-link:focus-visible,.header-link.active{color:#fff}.header-link.active{text-decoration:underline;text-decoration-color:#dcb274;text-decoration-thickness:2px;text-underline-offset:8px}.shelf-count{display:inline-flex;align-items:center;justify-content:center;min-width:22px;height:22px;padding:0 5px;margin-left:4px;border-radius:50%;background:#34515a;color:#fff;font-size:12px}.header-add{border:1px solid #dcb274;background:#dcb274;color:#142535;font-size:14px;font-weight:700;padding:10px 14px}.header-add:hover,.header-add:focus-visible{background:#efc990}
.bookshelf-section{max-width:1536px;min-height:calc(100vh - 155px);margin:auto;padding:52px clamp(22px,5vw,80px) 80px}.bookshelf-heading{display:flex;align-items:end;justify-content:space-between;gap:24px;border-bottom:1px solid #dbe1df;padding-bottom:30px;margin-bottom:30px}.bookshelf-heading h1{color:#172b38;font-size:clamp(34px,4vw,52px);margin:0 0 12px}.bookshelf-description{font-size:16px;color:#64767d;line-height:1.5;margin:0}.bookshelf-heading .search-button{min-height:48px;white-space:nowrap}.shelf-empty{max-width:550px;background:#fff;border:1px solid #e0e6e5;text-align:center;margin:55px auto 0;padding:46px 28px}.shelf-empty h2{font-size:24px;margin:0 0 13px}.shelf-empty p{color:#64767d;line-height:1.55;margin:0 0 23px}.shelf-grid .cover-frame{width:100%}.shelf-card .cover-placeholder{font-size:clamp(16px,1.5vw,24px)}.shelf-card .book-info{min-height:125px}.shelf-genre{font-size:13px;color:#a0784e;font-weight:700;margin:0 0 7px}.shelf-notes{font-size:13px;color:#64767d;line-height:1.45;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden;margin:9px 0 0}.shelf-card-actions{display:flex;gap:14px;border-top:1px solid #dfe6e4;margin-top:16px;padding-top:12px}.shelf-card-actions button{background:none;border:0;padding:0;color:#315965;font-size:13px;font-weight:700}.shelf-card-actions button:hover{text-decoration:underline}.shelf-card-actions .remove-book{color:#905d4c}
.manual-dialog{border:0;padding:0;width:min(540px,calc(100% - 28px));max-height:calc(100% - 28px);box-shadow:0 25px 90px #09151b77;color:#193441}.manual-dialog::backdrop{background:#091b26b8}.manual-dialog form{padding:38px}.manual-dialog h2{font-size:30px;letter-spacing:-.04em;margin:0 0 8px}.manual-intro{color:#65777b;font-size:15px;margin:0 0 25px}.manual-fields{display:grid;gap:17px}.manual-fields label{display:grid;gap:7px;font-size:14px;font-weight:700;color:#2f4851}.manual-fields label span{color:#9b653d}.manual-fields input,.manual-fields textarea{width:100%;border:1px solid #ccd9d9;background:#fbfcfb;color:#18313d;padding:10px 12px;font-size:16px;outline:none;min-height:43px}.manual-fields textarea{resize:vertical;line-height:1.5}.manual-fields input:focus,.manual-fields textarea:focus{border-color:#2a6370;box-shadow:0 0 0 3px #2a637022}.manual-pair{display:grid;grid-template-columns:1fr 1fr;gap:15px}.manual-error{color:#945342;font-size:14px;margin:15px 0 0}.manual-actions{display:flex;justify-content:flex-end;gap:10px;margin-top:26px}.manual-actions .search-button,.manual-actions .more-button{min-height:44px}.manual-actions .more-button{padding:10px 16px}
@media(max-width:700px){.header-actions{gap:2px}.header-link{font-size:13px;padding:8px}.header-add{font-size:13px;padding:8px 10px}.bookshelf-section{padding-top:36px}.bookshelf-heading{align-items:flex-start;flex-direction:column}.bookshelf-heading .search-button{width:100%}.manual-dialog form{padding:33px 22px}.manual-dialog h2{font-size:25px}}
@media(max-width:430px){.brand{font-size:21px;gap:6px}.brand-mark{width:23px}.header-link{padding:7px 4px}.header-link:first-child{display:none}.header-add{font-size:12px;padding:8px}.shelf-count{min-width:18px;height:18px;font-size:11px;margin-left:1px}.manual-pair{grid-template-columns:1fr}}

:root{font-family:'DM Sans',sans-serif;color:#172b38;background:#f5f6f3;font-synthesis:none}*{box-sizing:border-box}body{margin:0}button,input,select{font:inherit}button{cursor:pointer}a{color:inherit}.site-shell{min-height:100vh}.site-header{height:76px;background:#142535;color:#fff;display:flex;align-items:center;justify-content:space-between;padding:0 clamp(22px,5vw,80px);border-bottom:1px solid #ffffff24}.brand{text-decoration:none;display:inline-flex;align-items:center;gap:12px;font-size:24px;font-weight:700;letter-spacing:-.07em}.brand-accent{color:#dcb274}.brand-mark{width:29px;height:28px;display:flex;align-items:stretch;gap:2px;padding:3px 1px}.brand-mark span{display:block;width:7px;border:2px solid #dcb274;border-radius:1px}.brand-mark span:nth-child(2){transform:rotate(-8deg);transform-origin:bottom}.header-note{font-size:13px;letter-spacing:.11em;text-transform:uppercase;color:#b8c7cb}.intro{background:#142535;color:#fff;min-height:288px;padding:48px clamp(22px,5vw,80px) 56px;display:flex;position:relative;overflow:hidden}.intro-copy{position:relative;z-index:1;max-width:760px}.eyebrow,.section-kicker,.search-label{font-size:12px;font-weight:700;letter-spacing:.18em}.eyebrow{color:#dcb274;margin:0 0 23px;display:flex;align-items:center;gap:12px}.eyebrow-rule{width:26px;height:1px;background:currentColor}h1,h2,h3,p{margin-top:0}h1,h2,h3{font-family:'Libre Baskerville',Georgia,serif}h1{font-size:clamp(36px,4.1vw,61px);line-height:1.21;letter-spacing:-.055em;margin:0 0 16px}h1 em{font-weight:400;color:#dcb274}.intro-text{font-size:16px;line-height:1.65;color:#c4d0d2;margin:0}.intro-decoration{margin:auto 0 0 auto;display:flex;align-items:flex-end;gap:5px;opacity:.38;transform:rotate(-7deg) translate(22px,52px);pointer-events:none}.intro-decoration span{display:flex;align-items:flex-end;justify-content:center;font-family:Georgia,serif;font-size:11px;color:#e3bf86;padding-bottom:17px;border:1px solid #dcb274;width:37px;height:150px}.intro-decoration span:nth-child(2){height:183px}.intro-decoration span:nth-child(3){height:164px}.intro-decoration span:nth-child(4){height:204px}.intro-decoration span:nth-child(5){height:142px}.catalog{max-width:1536px;margin:auto;padding:30px clamp(22px,5vw,80px) 72px}.search-form{background:#fff;border:1px solid #e1e6e4;padding:22px 25px 25px;box-shadow:0 12px 35px #1425350b}.search-label{display:block;color:#7e8b8e;margin-bottom:12px}.search-row{display:flex;gap:12px}.input-wrap{position:relative;flex:1}.input-wrap svg{position:absolute;left:19px;top:50%;transform:translateY(-50%);width:20px;height:20px;fill:none;stroke:#6e8086;stroke-width:1.8;stroke-linecap:round}.input-wrap input{border:1px solid #d7dfdf;background:#fafbf9;width:100%;height:52px;padding:0 17px 0 52px;color:#172b38;outline:none;font-size:16px}.input-wrap input:focus{border-color:#2a6370;box-shadow:0 0 0 3px #2a637022}.input-wrap input::placeholder{color:#829094}.search-button{border:0;background:#ba8753;color:#fff;font-weight:700;padding:0 25px;min-width:133px;transition:background .2s}.search-button:hover,.search-button:focus-visible{background:#9b6a3e}.search-button span{font-size:19px;margin-left:13px;font-weight:400}.catalog-toolbar{display:flex;justify-content:space-between;gap:20px;align-items:center;border-bottom:1px solid #dbe1df;padding:28px 0 22px}.shelves{display:flex;gap:6px;overflow-x:auto}.shelf{border:1px solid transparent;background:transparent;color:#68787d;font-weight:700;font-size:14px;padding:11px 15px;white-space:nowrap}.shelf.active{background:#e4ebeb;border-color:#cad9d9;color:#204755}.shelf:hover{color:#173c4a;background:#eaf0ef}.sort-label{white-space:nowrap;color:#7b898b;font-size:14px}.sort-label select{border:0;background:transparent;color:#1b3541;font-weight:700;padding:9px 4px;outline-offset:2px}.results-heading{display:flex;align-items:end;justify-content:space-between;gap:20px;padding:33px 0 23px}.section-kicker{color:#ac8053;margin:0 0 9px}.results-heading h2{font-size:clamp(25px,2.4vw,34px);letter-spacing:-.04em;margin:0}.result-count{color:#6e7e83;font-size:14px;margin:0 0 3px}.book-grid{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:28px 19px}.book-card{min-width:0}.cover-button{display:block;width:100%;border:0;padding:0;background:none;text-align:left}.cover-frame{aspect-ratio:3/4;display:flex;align-items:center;justify-content:center;background:#dbe4e5;box-shadow:4px 6px 0 #d8dedd;overflow:hidden;position:relative;transition:transform .18s,box-shadow .18s}.cover-button:hover .cover-frame,.cover-button:focus-visible .cover-frame{transform:translateY(-4px);box-shadow:5px 10px 0 #c6d4d5}.cover-frame img{width:100%;height:100%;object-fit:cover}.cover-placeholder{width:100%;height:100%;display:flex;align-items:center;justify-content:center;padding:19px;text-align:center;font-family:'Libre Baskerville',Georgia,serif;font-weight:700;color:#f4ebd9;font-size:clamp(16px,1.5vw,25px);line-height:1.4;background:linear-gradient(155deg,#496f76,#203e4b)}.book-card:nth-child(4n+2) .cover-placeholder{background:linear-gradient(155deg,#a76f59,#653c3f)}.book-card:nth-child(4n+3) .cover-placeholder{background:linear-gradient(155deg,#718668,#3a544e)}.book-card:nth-child(4n+4) .cover-placeholder{background:linear-gradient(155deg,#936d49,#514c49)}.book-info{padding-top:15px}.book-title{font-family:'Libre Baskerville',Georgia,serif;font-size:16px;line-height:1.42;letter-spacing:-.025em;font-weight:700;margin:0 0 7px}.book-title button{border:0;background:none;padding:0;text-align:left;color:#193441;font:inherit}.book-title button:hover,.book-title button:focus-visible{text-decoration:underline;text-decoration-color:#b78655;text-underline-offset:3px}.book-author{font-size:14px;line-height:1.4;color:#64767d;margin:0 0 8px}.book-year{font-size:12px;color:#9a805f;font-weight:700;letter-spacing:.08em;margin:0}.status{display:none;padding:22px;background:#eaf0ee;color:#39515a;margin-bottom:20px;line-height:1.5}.status.visible{display:block}.status.error{background:#faeee8;color:#824e3b}.status button{border:0;background:none;text-decoration:underline;color:inherit;font-weight:700}.skeleton{height:305px;background:linear-gradient(100deg,#e6ebea 20%,#f2f4f2 40%,#e6ebea 60%);background-size:200% 100%;animation:shine 1.3s infinite}.skeleton:after{content:'';display:block;position:relative;top:320px;height:15px;width:80%;background:#e6ebea}@keyframes shine{to{background-position-x:-200%}}.more-row{text-align:center;padding-top:38px}.more-button{border:1px solid #9bb1b3;color:#254b56;background:transparent;padding:13px 23px;font-weight:700}.more-button:hover{background:#e4ebeb}.more-button span{margin-left:16px}.site-footer{background:#142535;color:#b9c8cb;display:flex;align-items:center;justify-content:space-between;gap:20px;padding:31px clamp(22px,5vw,80px);font-size:13px}.site-footer a{text-decoration-color:#dcb274;text-underline-offset:3px}.footer-brand{font-size:21px;letter-spacing:-.08em;font-weight:700;color:#fff}.footer-brand span{color:#dcb274}.book-dialog{border:0;padding:0;max-width:720px;width:calc(100% - 30px);max-height:calc(100% - 30px);box-shadow:0 25px 90px #09151b77;color:#193441}.book-dialog::backdrop{background:#091b26b8}.dialog-close{position:absolute;right:14px;top:12px;border:0;background:#e8efef;color:#1e3d49;width:36px;height:36px;font-size:25px;line-height:1;z-index:2}.dialog-layout{display:grid;grid-template-columns:220px 1fr;gap:30px;padding:42px}.dialog-cover{width:100%;aspect-ratio:3/4;object-fit:cover;background:#dce5e5;box-shadow:5px 7px 0 #d9dede}.dialog-layout h2{font-size:27px;line-height:1.3;margin:8px 0 12px;letter-spacing:-.04em}.dialog-author{color:#526b74;font-size:16px;margin:0 0 22px}.dialog-meta{font-size:14px;line-height:1.6;color:#4c626b;border-top:1px solid #dce4e3;padding-top:16px}.dialog-meta p{margin:0 0 10px}.dialog-meta strong{display:inline-block;min-width:100px;color:#1f3c48}.dialog-link{display:inline-flex;background:#b78655;color:#fff;text-decoration:none;font-weight:700;font-size:14px;padding:13px 17px;margin-top:13px}.dialog-link:hover{background:#986a40}@media(max-width:1200px){.book-grid{grid-template-columns:repeat(5,minmax(0,1fr))}}@media(max-width:960px){.book-grid{grid-template-columns:repeat(4,minmax(0,1fr))}.intro-decoration{display:none}}@media(max-width:700px){.site-header{height:66px}.header-note{display:none}.intro{min-height:0;padding-top:43px;padding-bottom:47px}.eyebrow{font-size:11px}.catalog{padding-top:20px}.search-form{padding:18px}.search-row{flex-direction:column}.search-button{height:49px}.catalog-toolbar{align-items:flex-start;flex-direction:column;gap:7px}.shelves{max-width:100%;width:100%}.shelf:first-child{padding-left:0}.book-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:25px 13px}.site-footer{align-items:flex-start;flex-direction:column}.dialog-layout{grid-template-columns:140px 1fr;gap:20px;padding:48px 22px 27px}.dialog-layout h2{font-size:21px}}@media(max-width:500px){.book-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.book-title{font-size:15px}.dialog-layout{display:block}.dialog-cover{width:110px;float:left;margin:0 18px 12px 0}.dialog-meta{clear:both}.results-heading{align-items:start;flex-direction:column;gap:7px}.result-count{margin:0}}
