/* bundle-library — built by dev/site/build-bundles.php from: library/tokens, library/layout, library/components, library/results, library/filters, library/location, library/shelf, library/spine, library/catalog, library/book3d, library/cover, library/spread, library/animations */
@charset "UTF-8";
:root {
--paper: #F7F3EA;
--paper-2: #F2E9D9;
--card: #FFFFFF;
--ink: #221F20;
--ink-2: #4A4453;
--muted: #6B6474;
--line: #E5D1AB;
--line-2: #D9C49A;
--primary: #372860;
--primary-2: #2E2354;
--primary-hero: #372860;
--primary-deep: #241A42;
--primary-soft: #ECE9F3;
--gold: #CFAD67;
--gold-2: #E5D1AB;
--gold-deep: #A18750;
--gold-ink: #EBD9A8;
--gold-text: var(--dt-gold-text);
--focus: #A18750;
--wood: #5E3D26;
--wood-2: #45291A;
--wood-hi: #7C5536;
--wood-dark: #26160C;
--brass-hi: #F2DEAA;
--brass: #CFAD67;
--brass-lo: #A5864A;
--brass-dk: #6E5A32;
--danger: #8A3A33;
--ok: #2F5D4E;
--font-ui: var(--font-sub);
--font-title: var(--font-body);
--fs-md: 1rem;
--fs-lg: 1.1875rem;
--fs-xl: clamp(1.35rem, 1.1rem + .9vw, 1.7rem);
--fs-2xl: clamp(1.7rem, 1.25rem + 1.8vw, 2.35rem);
--fs-3xl: clamp(2.2rem, 1.4rem + 3.4vw, 3.6rem);
--r-xl: 12px;
--sh-1: 0 1px 2px rgba(34, 31, 32, .06), 0 2px 6px rgba(34, 31, 32, .05);
--sh-2: 0 4px 10px rgba(28, 21, 53, .07), 0 14px 32px rgba(28, 21, 53, .12);
--sh-3: 0 22px 60px rgba(20, 14, 40, .32);
}
[data-group] { --g0: #5C5446; --g1: #4E473B; --g2: #6B6253; }
[data-group="islamic"]   { --g0: #2E5A4B; --g1: #254D3F; --g2: #386856; }
[data-group="seerah"]    { --g0: #1F5A5E; --g1: #1A4C50; --g2: #296A6E; }
[data-group="history"]   { --g0: #74302F; --g1: #622726; --g2: #853B38; }
[data-group="biography"] { --g0: #6B4428; --g1: #5A3921; --g2: #7B5232; }
[data-group="language"]  { --g0: #372860; --g1: #2E2354; --g2: #45357A; }
[data-group="thought"]   { --g0: #573A5C; --g1: #48304D; --g2: #684870; }
[data-group="society"]   { --g0: #3E4652; --g1: #333A45; --g2: #4B5462; }
[data-group="science"]   { --g0: #2C566A; --g1: #24495B; --g2: #37667C; }
[data-group="reference"] { --g0: #2B2438; --g1: #221C2E; --g2: #382F48; }
[data-group="culture"]   { --g0: #8F6A2E; --g1: #7C5B25; --g2: #A07A3A; }
[data-group="general"]   { --g0: #5C5446; --g1: #4E473B; --g2: #6B6253; }
[data-group] { --bk: var(--g0); }
[data-shade="1"] { --bk: var(--g1); }
[data-shade="2"] { --bk: var(--g2); }
[data-group] { --lth: color-mix(in srgb, var(--bk) 84%, #140C06); }
[data-group="general"] { --lth: #2C4A3B; }
[data-group="general"][data-shade="1"] { --lth: #5C2426; }
[data-group="general"][data-shade="2"] { --lth: #2E2522; }
[data-group="reference"] { --lth: #231D2E; }
@supports not (color: color-mix(in srgb, red, blue)) {
[data-group] { --lth: var(--bk); }
}
.lib-subnav {
position: relative;
z-index: 20;
background: var(--dt-gold-10);
border-bottom: 1px solid var(--dt-gold-30);
}
.lib-subnav__inner {
display: flex;
flex-wrap: wrap;
align-items: center;
justify-content: space-between;
gap: 4px 20px;
min-height: 50px;
}
.lib-subnav__title {
display: inline-flex;
align-items: center;
gap: 10px;
font-family: var(--font-display);
font-size: 1.125rem;
font-weight: 700;
color: var(--dt-indigo);
text-decoration: none;
}
.lib-subnav__mark {
width: 13px;
height: 13px;
background: url("../../img/theme/bullet-diamond.svg") center / contain no-repeat;
}
.lib-subnav__count {
padding: 0 10px;
border: 1px solid var(--dt-gold-50);
border-radius: var(--r-sm);
background: var(--dt-white);
font-family: var(--font-sub);
font-size: .78rem;
font-weight: 500;
line-height: 1.9;
color: var(--dt-gold-text);
}
.lib-subnav__list { display: flex; flex-wrap: wrap; gap: 2px; list-style: none; }
.lib-subnav__list a {
position: relative;
display: inline-flex;
align-items: center;
gap: 7px;
min-height: 44px;
padding: 4px 14px;
font-family: var(--font-sub);
font-size: .9375rem;
font-weight: 500;
color: var(--dt-indigo);
text-decoration: none;
}
.lib-subnav__list .icon { color: var(--dt-gold-heading); }
.lib-subnav__list a:hover { color: var(--dt-indigo-600); background: var(--dt-white); }
.lib-subnav__list a[aria-current="page"] { font-weight: 700; }
.lib-subnav__list a[aria-current="page"]::after {
content: "";
position: absolute;
left: 14px;
right: 14px;
bottom: -1px;
height: 2px;
border-radius: 2px;
background: var(--dt-gold);
}
@media (max-width: 719px) {
.lib-subnav__inner { padding-block: 6px; }
.lib-subnav__count { display: none; }
.lib-subnav__list { width: 100%; justify-content: space-between; }
.lib-subnav__list a { padding-inline: 8px; font-size: .875rem; }
.lib-subnav__list a .icon { display: none; }
}
.lib-hero {
--girih-o: .1;
padding: clamp(40px, 6vw, 72px) 0 clamp(48px, 6vw, 80px);
color: var(--dt-cream);
text-align: center;
background:
radial-gradient(ellipse 60% 70% at 50% 0%, rgba(207, 173, 103, .16), transparent 70%),
linear-gradient(180deg, var(--dt-indigo), var(--dt-indigo-900));
}
.lib-hero__inner { max-width: 920px; display: grid; justify-items: center; }
.lib-hero__inner > form, .lib-hero__inner > ul { justify-self: stretch; }
.kicker--light { color: var(--dt-gold); }
.lib-hero__title { margin-top: 10px; color: var(--dt-cream); }
.lib-hero__lead { margin: 6px auto 26px; max-width: 46ch; font-size: 1.1875rem; color: var(--dt-muted-dark); }
.lib-hero__types { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 20px; list-style: none; }
.lib-stats {
display: grid;
grid-template-columns: repeat(2, minmax(0, 1fr));
gap: 0;
max-width: 880px;
margin: 34px auto 0;
list-style: none;
border-top: 1px solid rgba(207, 173, 103, .28);
border-bottom: 1px solid rgba(207, 173, 103, .28);
}
.lib-stat { display: grid; justify-items: center; gap: 0; padding: 16px 8px 14px; }
.lib-stat + .lib-stat { border-inline-start: 1px solid rgba(207, 173, 103, .18); }
.lib-stat__num {
font-family: var(--font-display);
font-size: clamp(1.5rem, 1.1rem + 1.3vw, 2.1rem);
font-weight: 700;
line-height: 1.3;
color: var(--dt-gold);
font-variant-numeric: tabular-nums;
}
.lib-stat__label { font-family: var(--font-sub); font-size: .8438rem; color: var(--dt-muted-dark); }
.lib-stat:last-child:nth-child(odd) { grid-column: 1 / -1; }
@media (min-width: 720px) {
.lib-stats { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.lib-stat:last-child:nth-child(odd) { grid-column: auto; }
}
.lib-featured { padding-top: clamp(40px, 5vw, 64px); }
.lib-steps { display: grid; gap: 28px; list-style: none; }
.lib-step { position: relative; display: grid; justify-items: center; gap: 8px; text-align: center; padding: 8px 12px; }
.lib-step__icon {
display: grid;
place-items: center;
width: 64px;
height: 64px;
background: url("../../img/theme/arch-halo.svg") center / contain no-repeat;
color: var(--dt-indigo);
font-size: 1.5rem;
}
.lib-step__title { margin: 0; color: var(--dt-indigo); }
.lib-step p { margin: 0; max-width: 32ch; color: var(--dt-muted); }
@media (min-width: 860px) {
.lib-steps { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; }
.lib-step { padding: 8px 34px; }
.lib-step + .lib-step::before {
content: "";
position: absolute;
top: 10px;
bottom: 10px;
inset-inline-start: -11px;
width: 22px;
background:
url("../../img/theme/cartouche-v.svg") center 23px / 22px 79px no-repeat,
linear-gradient(var(--dt-indigo), var(--dt-indigo)) center / 1px 100% no-repeat;
}
}
.search-top {
position: relative;
isolation: isolate;
padding: 14px 0 50px;
color: var(--dt-cream);
background:
radial-gradient(ellipse 45% 90% at 50% 20%, rgba(207, 173, 103, .16), rgba(207, 173, 103, 0) 70%),
linear-gradient(180deg, var(--dt-indigo-900), var(--dt-indigo-950));
}
.search-top::before {
content: "";
position: absolute;
z-index: -1;
inset: 0;
background: url("../../img/theme/girih-gold.svg") center top / 336px 291.3px;
opacity: .1;
-webkit-mask-image: radial-gradient(ellipse 40% 100% at 50% 40%, transparent 0 35%, #000 90%);
mask-image: radial-gradient(ellipse 40% 100% at 50% 40%, transparent 0 35%, #000 90%);
pointer-events: none;
}
.search-top__inner { display: grid; justify-items: center; gap: 4px; text-align: center; }
.search-top .breadcrumb { justify-self: stretch; margin-bottom: 10px; text-align: start; }
.search-top .breadcrumb ol { color: var(--dt-muted-dark); }
.search-top .breadcrumb a { color: #D4CDE6; }
.search-top .breadcrumb a:hover { color: var(--dt-white); }
.search-top .breadcrumb [aria-current] { color: var(--dt-gold); }
.search-top__title {
margin: 2px 0 0;
max-width: 30ch;
font-family: var(--font-display);
font-size: clamp(1.6rem, 1.2rem + 1.5vw, 2.3rem);
font-weight: 700;
line-height: 1.4;
color: var(--dt-cream);
text-wrap: balance;
}
.shelf-console {
position: relative;
z-index: 3;
padding: 0 14px 14px;
border-radius: 10px 10px 6px 6px;
background:
repeating-linear-gradient(90deg, rgba(255, 255, 255, .035) 0 2px, transparent 2px 9px),
repeating-linear-gradient(90deg, rgba(0, 0, 0, .06) 0 1px, transparent 1px 17px),
linear-gradient(180deg, var(--wood-hi), var(--wood) 26%, var(--wood-2));
box-shadow: inset 0 1px 0 rgba(255, 255, 255, .22), 0 14px 30px -18px rgba(38, 22, 12, .6);
margin-bottom: 18px;
}
.shelf-console__crown {
display: flex;
align-items: center;
justify-content: center;
height: 36px;
margin-inline: -14px;
margin-bottom: 12px;
border-radius: 10px 10px 0 0;
background:
repeating-linear-gradient(90deg, rgba(255, 255, 255, .04) 0 2px, transparent 2px 11px),
linear-gradient(180deg, #8C6440, var(--wood) 60%, #4E3220);
border-bottom: 3px solid var(--wood-dark);
box-shadow: 0 3px 6px rgba(0, 0, 0, .35);
}
.shelf-console__panel {
display: grid;
gap: 14px;
padding: 16px 18px;
border-radius: 3px;
background: #FFFDF8 url("../../img/theme/girih-panel.svg") center / 240px 208px;
box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .12), inset 0 2px 6px rgba(38, 22, 12, .18);
}
.shelf-console .search-box__field { border-color: var(--dt-gold); box-shadow: 0 6px 16px -10px rgba(28, 21, 53, .35); }
.shelf-console .search-box__input { min-height: 48px; font-size: 1.0625rem; }
.shelf-console .results-bar { padding-top: 12px; border-top: 1px dashed var(--dt-gold-50); }
.shelf-console .active-filters { margin: 0; }
.shelf-console--on-case { margin-bottom: 0; border-radius: 10px 10px 0 0; padding-bottom: 10px; }
.shelf-console--on-case + .bookcase { border-radius: 0 0 5px 5px; }
.shelf-console--on-case + .bookcase .bookcase__crown { border-radius: 0; }
.type-chips { display: flex; flex-wrap: wrap; gap: 5px; }
.type-chip {
display: inline-flex;
align-items: center;
gap: 6px;
min-height: 34px;
padding: 3px 10px;
border: 1px solid var(--dt-gold-50);
border-radius: 999px;
background: var(--dt-white);
font-family: var(--font-sub);
font-size: .8125rem;
font-weight: 700;
color: var(--dt-indigo);
text-decoration: none;
transition: background-color .2s, border-color .2s, color .2s;
}
.type-chip:hover { background: var(--dt-gold-10); border-color: var(--dt-gold); }
.type-chip[aria-current="true"] { background: var(--dt-indigo); border-color: var(--dt-indigo); color: var(--dt-cream); }
.type-chip__n { font-size: .75rem; font-weight: 500; color: var(--dt-gold-text); font-variant-numeric: tabular-nums; }
.type-chip[aria-current="true"] .type-chip__n { color: var(--dt-gold); }
@media (max-width: 599px) {
.shelf-console { padding-inline: 8px; }
.shelf-console__crown { margin-inline: -8px; }
.shelf-console__panel { padding: 12px; }
.shelf-console .results-bar { gap: 8px; }
.shelf-console .results-bar__info { flex-basis: 100%; }
.type-chips { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin-inline: -12px; padding-inline: 12px; }
.type-chip { flex: none; }
}
.search-layout { display: block; padding-block: 34px 72px; }
.search-layout__main { min-width: 0; }
.book-page { padding-block: 18px 0; }
.book-page .breadcrumb { margin-bottom: 8px; }
.book-page__spread { padding-block: 10px 44px; }
.subject-tools { display: flex; flex-wrap: wrap; gap: 12px 18px; align-items: center; justify-content: center; margin-top: 18px; }
.subject-tools .field { flex: 1 1 280px; max-width: 460px; }
.group-index { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 16px; list-style: none; }
.cabinets { display: grid; gap: 34px; padding-block: 34px 64px; }
.badge {
display: inline-flex;
align-items: center;
gap: 4px;
padding: 1px 9px;
border-radius: var(--r-sm);
font-family: var(--font-sub);
font-size: .78rem;
font-weight: 700;
line-height: 1.7;
white-space: nowrap;
background: var(--dt-gold-20);
color: var(--dt-ink);
}
.badge--type { background: var(--dt-indigo-100); color: var(--dt-indigo); }
.badge--mag { background: var(--dt-gold-30); color: #5B4A26; }
.badge--vol { background: transparent; border: 1px solid var(--dt-gold); color: var(--dt-gold-text); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; align-items: center; }
.chips__label { color: var(--dt-muted); font-family: var(--font-sub); font-size: .875rem; }
.chip--remove { background: var(--dt-gold-10); border-color: var(--dt-gold-50); color: var(--dt-ink); padding-inline-end: 8px; }
.chip--remove .icon { width: 1.05em; height: 1.05em; padding: 2px; border-radius: 50%; background: rgba(55, 40, 96, .08); }
.chip--remove:hover { background: var(--dt-white); border-color: var(--danger); color: var(--danger); }
.chip--remove:hover .icon { background: var(--danger); color: #fff; }
.active-filters { margin-bottom: 16px; }
.card-note {
display: flex;
gap: 10px;
padding: 14px 16px;
border: 1px solid var(--dt-gold-50);
border-inline-start: 3px solid var(--dt-gold);
border-radius: var(--r-sm);
background: var(--dt-gold-10);
color: var(--dt-ink);
font-family: var(--font-sub);
font-size: .9063rem;
line-height: 1.8;
}
.card-note .icon { color: var(--dt-gold-heading); margin-top: .35em; }
.shelf-note { margin: 16px 0 0; }
.empty {
display: grid;
justify-items: center;
gap: 6px;
padding: 34px 20px 38px;
text-align: center;
border: 1px solid var(--dt-gold-50);
background: var(--dt-white) url("../../img/theme/girih-panel.svg") center / 240px 208px;
}
.empty__art { width: 200px; height: 150px; margin-bottom: 6px; }
.empty h2 { margin: 0; font-size: var(--fs-xl); color: var(--dt-indigo); }
.empty p { margin: 0; color: var(--dt-ink); max-width: 52ch; }
.empty__tips {
display: grid;
gap: 6px;
margin: 12px auto 6px;
padding: 14px 18px;
list-style: none;
text-align: start;
background: var(--dt-white);
border: 1px solid var(--dt-gold-50);
font-family: var(--font-sub);
font-size: .9375rem;
color: var(--dt-ink);
}
.empty__tips li { display: flex; gap: 8px; align-items: flex-start; }
.empty__tips .icon { color: var(--dt-gold-heading); margin-top: .35em; }
.empty__actions { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin-top: 8px; }
.empty__magnifier { transform-box: fill-box; transform-origin: 50% 50%; animation: magnifier-bob 4.5s ease-in-out infinite; }
.empty__glint { animation: lens-glint 4.5s ease-in-out infinite; }
.page-busy {
position: fixed;
top: 14px;
left: 50%;
z-index: 90;
padding: 8px 16px 8px 12px;
border: 1px solid var(--dt-gold-50);
border-radius: var(--r);
background: var(--dt-white);
box-shadow: var(--sh-lift);
transform: translate(-50%, -140%);
opacity: 0;
transition: transform .3s var(--ease), opacity .2s;
pointer-events: none;
}
html.is-busy .page-busy { transform: translate(-50%, 0); opacity: 1; }
.print-slip { display: none; }
.results-bar { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; }
.results-bar__info { margin-inline-end: auto; min-width: 0; display: grid; gap: 2px; }
.results-bar__count { margin: 0; font-family: var(--font-display); font-size: 1.5rem; font-weight: 700; line-height: 1.35; color: var(--dt-indigo); }
.results-bar__count .num { color: var(--dt-indigo); }
.results-bar__meta { display: flex; align-items: center; gap: 6px; margin: 0; font-family: var(--font-sub); font-size: .8438rem; color: var(--dt-muted); }
.results-bar__meta .icon { color: var(--dt-gold-heading); }
.view-toggle { display: inline-flex; padding: 3px; border-radius: 6px; background: linear-gradient(180deg, #6E4A2E, var(--wood-2)); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .18), 0 2px 6px rgba(38, 22, 12, .3); }
.view-toggle a {
display: inline-flex;
align-items: center;
gap: 6px;
min-height: 38px;
padding: 4px 16px;
border-radius: 4px;
color: #EBD9A8;
font-family: var(--font-sub);
font-size: .875rem;
font-weight: 700;
text-decoration: none;
}
.view-toggle a:hover { color: var(--dt-white); background: rgba(255, 255, 255, .08); }
.view-toggle a[aria-current="true"] { background: linear-gradient(180deg, var(--brass-hi), var(--brass) 55%, var(--brass-lo)); color: var(--dt-indigo-deep); box-shadow: 0 1px 0 rgba(0, 0, 0, .35), inset 0 1px 0 rgba(255, 255, 255, .6); }
.view-toggle a[aria-current="true"] .icon { color: var(--dt-indigo-deep); }
.view-toggle .icon { color: var(--brass); }
.filters-toggle { display: none; }
@media (max-width: 959px) { .filters-toggle { display: inline-flex; } }
.book-list { list-style: none; display: grid; gap: 0; background: var(--dt-white); border: 1px solid var(--dt-gold-50); border-top: 3px solid var(--dt-indigo); box-shadow: 0 10px 26px -18px rgba(28, 21, 53, .35); }
.book-list > li { border-bottom: 1px solid var(--dt-gold-30); }
.book-list > li:last-child { border-bottom: 0; }
.book-list .book-row { padding-inline: 16px; }
.book-row {
display: grid;
grid-template-columns: auto minmax(0, 1fr);
gap: 14px 18px;
padding: 18px 6px;
transition: background-color .2s;
}
.book-row:hover { background: var(--dt-gold-10); }
.book-row__body { min-width: 0; }
.book-row__title { margin: 0 0 2px; font-family: var(--font-body); font-size: 1.3rem; line-height: 1.5; }
.book-row__title a { color: var(--dt-indigo); text-decoration: none; }
.book-row__title a:hover { text-decoration: underline; text-decoration-color: var(--dt-gold); }
.book-row__author { margin: 0 0 6px; color: var(--dt-ink); display: flex; gap: 6px; align-items: baseline; }
.book-row__author .icon { color: var(--dt-gold-heading); align-self: center; }
.book-row__meta { display: flex; flex-wrap: wrap; gap: 4px 16px; list-style: none; font-family: var(--font-sub); font-size: .8438rem; color: var(--dt-muted); }
.book-row__meta li { display: inline-flex; align-items: center; gap: 5px; min-width: 0; }
.book-row__meta .icon { color: var(--dt-gold-heading); }
.book-row__meta a { color: var(--dt-ink); }
.book-row__side {
grid-column: 1 / -1;
display: flex;
flex-wrap: wrap;
align-items: center;
gap: 8px 10px;
padding-top: 10px;
border-top: 1px dashed var(--dt-gold-50);
font-family: var(--font-sub);
font-size: .8438rem;
}
.book-row__reg { color: var(--dt-muted); margin-inline-start: auto; }
.book-row__reg b { color: var(--dt-ink); font-variant-numeric: tabular-nums; }
@media (min-width: 720px) {
.book-row { grid-template-columns: auto minmax(0, 1fr) auto; }
.book-row__side { grid-column: auto; flex-direction: column; align-items: flex-end; justify-content: flex-start; padding: 0; border-top: 0; min-width: 150px; }
.book-row__reg { margin-inline-start: 0; margin-top: auto; }
}
.mini-cover {
position: relative;
display: grid;
place-items: center;
width: 64px;
height: 89px;
border-radius: 3px 2px 2px 3px;
background-color: var(--lth, var(--bk, #5C5446));
background-image:
radial-gradient(ellipse 80% 62% at 42% 36%, rgba(255, 255, 255, .1), rgba(255, 255, 255, 0) 70%),
linear-gradient(90deg, rgba(0, 0, 0, .2), rgba(0, 0, 0, 0) 10%, rgba(0, 0, 0, 0) 84%, rgba(0, 0, 0, .35) 91%, rgba(255, 255, 255, .08) 94%, rgba(0, 0, 0, .35)),
url("../../img/theme/leather-grain.svg");
background-size: auto, auto, 110px 110px;
background-blend-mode: normal, normal, soft-light;
box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .4), 3px 4px 10px rgba(30, 20, 10, .3), 1px 1px 0 #D9C9A4, 2px 2px 0 #B79A5E;
text-decoration: none;
overflow: hidden;
transition: transform .3s var(--ease);
}
.book-row:hover .mini-cover { transform: rotate(-2deg) translateY(-2px); }
.mini-cover::before {
content: "";
position: absolute;
inset: 0;
background: linear-gradient(135deg, #8A6A2E 0%, #E6CB82 20%, #FBEBB7 31%, #CCA95E 46%, #8E6E30 61%, #E0C277 79%, #A8863E 100%);
-webkit-mask: url("../../img/theme/bind-mini.svg") center / 100% 100% no-repeat;
mask: url("../../img/theme/bind-mini.svg") center / 100% 100% no-repeat;
filter: drop-shadow(0 .5px 0 rgba(0, 0, 0, .5));
}
.mini-cover[data-script="latin"]::before {
-webkit-mask-image: url("../../img/theme/bind-mini-latin.svg");
mask-image: url("../../img/theme/bind-mini-latin.svg");
}
.mini-cover::after { content: ""; position: absolute; top: 0; bottom: 0; right: 6.3%; width: 2px; background: linear-gradient(90deg, rgba(0, 0, 0, .4), rgba(255, 255, 255, .1)); }
.mini-cover__vol {
position: absolute;
z-index: 1;
bottom: 6px;
left: 50%;
transform: translateX(calc(-50% - 2px));
max-width: 44px;
overflow: hidden;
padding: 0 5px;
border-radius: 2px;
background: linear-gradient(180deg, #FBEBB7, #D6B56A);
box-shadow: 0 1px 0 rgba(0, 0, 0, .45);
color: #2A1D08;
font-family: var(--font-sub);
font-size: .7rem;
font-weight: 700;
line-height: 1.4;
white-space: nowrap;
}
.loc-chip {
display: inline-flex;
align-items: center;
gap: 6px;
padding: 2px 10px;
border-radius: var(--r-sm);
background: var(--dt-gold-30);
color: #4F3F1E;
font-family: var(--font-sub);
font-size: .8125rem;
font-weight: 700;
white-space: nowrap;
}
.loc-chip .icon { color: var(--dt-indigo); }
.loc-chip--none { background: var(--dt-mist); color: var(--dt-muted); font-weight: 500; }
.loc-chip--none .icon { color: var(--dt-muted); }
.filters-panel {
overflow: hidden;
border-radius: 8px 8px 4px 4px;
background: #FFFDF8 url("../../img/theme/girih-panel.svg") center top / 240px 208px;
border: 1px solid var(--dt-gold-50);
box-shadow: 0 12px 30px -18px rgba(38, 22, 12, .45);
}
.filters-panel__head {
display: flex;
align-items: center;
justify-content: center;
gap: 12px;
min-height: 48px;
padding: 8px 14px;
background:
repeating-linear-gradient(90deg, rgba(255, 255, 255, .04) 0 2px, transparent 2px 11px),
linear-gradient(180deg, #8C6440, var(--wood) 60%, #4E3220);
border-bottom: 3px solid var(--wood-dark);
}
.filters-panel__head h2 {
display: flex;
gap: 8px;
align-items: center;
margin: 0;
padding: 2px 16px;
border-radius: 3px;
background: linear-gradient(180deg, var(--brass-hi), var(--brass) 55%, var(--brass-lo));
box-shadow: 0 1px 0 rgba(0, 0, 0, .45), inset 0 1px 0 rgba(255, 255, 255, .6);
font-family: var(--font-display);
font-size: 1rem;
line-height: 1.7;
color: var(--dt-indigo-deep);
}
.filters-panel__head h2 .icon { color: var(--dt-indigo-deep); }
.filters-panel__close { display: none; }
.filters { display: grid; gap: 4px; padding: 8px 18px 18px; }
.filter { margin: 0; padding: 14px 0; border: 0; border-bottom: 1px solid var(--dt-gold-30); min-width: 0; }
.filter:last-of-type { border-bottom: 0; }
.filter legend, .filter > label:not(.check) {
display: flex;
align-items: center;
gap: 8px;
padding: 0;
margin-bottom: 8px;
font-family: var(--font-display);
font-size: 1rem;
font-weight: 700;
color: var(--dt-indigo);
}
.filter legend::before, .filter > label:not(.check)::before { content: ""; flex: none; width: 10px; height: 10px; background: url("../../img/theme/bullet-diamond.svg") center / contain no-repeat; }
.filter .check { font-size: .9063rem; min-height: 38px; padding-inline: 8px; border-radius: 4px; transition: background-color .2s; }
.filter .check:hover { background: var(--dt-gold-10); }
.filter .check:has(input:checked) { background: var(--dt-indigo-050); color: var(--dt-indigo); font-weight: 700; }
.check__count { margin-inline-start: auto; padding: 0 8px; border-radius: 999px; background: var(--dt-gold-20); color: var(--dt-gold-text); font-size: .75rem; line-height: 1.7; font-variant-numeric: tabular-nums; }
.filter__radios { display: grid; gap: 0; }
.filter-pair { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 10px; border-bottom: 1px solid var(--dt-gold-30); }
.filter-pair > .filter { border-bottom: 0; }
@media (min-width: 960px) {
.filters-panel { display: flex; flex-direction: column; max-height: calc(100vh - var(--header-h) - 28px); }
.filters { overflow: auto; scrollbar-width: thin; }
}
.filter__years { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.filter__years label { display: grid; gap: 4px; font-family: var(--font-sub); font-size: .8438rem; color: var(--dt-muted); }
.filter .input, .filter .select { min-height: 44px; font-size: .9375rem; }
.filter__hint { margin: 6px 0 0; font-family: var(--font-sub); font-size: .8125rem; color: var(--dt-muted); }
.select optgroup { font-style: normal; font-weight: 700; color: var(--dt-indigo); }
.select option { color: var(--dt-ink); font-weight: 400; }
.filters__actions { display: grid; grid-template-columns: 1fr auto; gap: 8px; padding-top: 14px; }
.filters__actions .btn--primary { background: var(--dt-indigo); }
.filters-backdrop {
position: fixed;
inset: 0;
z-index: 70;
background: rgba(20, 14, 40, .55);
animation: fade-in .2s ease;
}
@media (max-width: 959px) {
.filters-panel {
position: fixed;
z-index: 80;
top: 0;
bottom: 0;
inset-inline-start: 0;
width: min(360px, 88vw);
display: flex;
flex-direction: column;
border: 0;
box-shadow: var(--sh-3);
transform: translateX(105%);
visibility: hidden;
transition: transform .32s var(--ease), visibility 0s linear .32s;
}
.filters-panel.is-open { transform: none; visibility: visible; transition: transform .32s var(--ease), visibility 0s; }
.filters-panel__close { display: inline-grid; }
.filters { overflow: auto; flex: 1; align-content: start; }
.filters__actions {
position: sticky;
bottom: 0;
margin: 0 -18px -18px;
padding: 12px 18px;
background: var(--dt-white);
border-top: 1px solid var(--dt-gold-50);
}
}
.filter-bar { display: grid; gap: 10px; }
.filter-bar__toggle {
display: none;
align-items: center;
justify-content: space-between;
gap: 8px;
min-height: 44px;
padding: 6px 14px;
border: 1px solid var(--dt-gold-50);
border-radius: var(--r);
background: var(--dt-white);
color: var(--dt-indigo);
font-family: var(--font-sub);
font-size: .9375rem;
font-weight: 700;
cursor: pointer;
}
.filter-bar__toggle .icon { color: var(--dt-gold-heading); }
.filter-bar__toggle span { margin-inline-end: auto; }
.filter-bar__toggle[aria-expanded="true"] .icon-chevron-down { transform: rotate(180deg); }
.filter-bar__form {
display: grid;
grid-template-columns: minmax(0, 1.6fr) minmax(0, 1.2fr) minmax(0, 1.25fr) minmax(0, 1fr) minmax(0, .55fr) auto;
align-items: end;
gap: 10px 12px;
}
.fb-field { display: grid; gap: 4px; min-width: 0; margin: 0; padding: 0; border: 0; }
.fb-field > label, .fb-field > legend {
float: none;
padding: 0;
font-family: var(--font-sub);
font-size: .8125rem;
font-weight: 700;
color: var(--dt-gold-text);
}
.fb-field legend small { font-weight: 500; color: var(--dt-muted); }
.fb-field .select, .fb-field .input { min-height: 42px; font-size: .9063rem; background-color: var(--dt-white); }
.fb-years { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: center; gap: 6px; color: var(--dt-muted); }
.fb-years .input { text-align: center; padding-inline: 6px; }
.fb-actions { display: flex; align-items: center; gap: 6px; }
.fb-actions .btn { min-height: 42px; }
.fb-title-only { min-height: 42px; white-space: nowrap; font-family: var(--font-sub); font-size: .875rem; }
@media (max-width: 1099px) {
.filter-bar__form { grid-template-columns: repeat(6, minmax(0, 1fr)); }
.fb-field--subject { grid-column: span 3; }
.fb-field--library { grid-column: span 3; }
.fb-field--years { grid-column: span 2; }
.fb-field--sort { grid-column: span 2; }
.fb-field--per { grid-column: span 2; }
.fb-actions { grid-column: 1 / -1; justify-content: flex-end; }
}
@media (max-width: 759px) {
.filter-bar__toggle { display: flex; }
.filter-bar.is-folded .filter-bar__form { display: none; }
.filter-bar__form { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.fb-field--subject, .fb-field--library, .fb-field--years { grid-column: 1 / -1; }
.fb-field--sort, .fb-field--per { grid-column: span 1; }
.fb-actions { flex-wrap: wrap; }
.fb-actions .btn--primary { flex: 1; }
}
.location__title {
display: flex;
align-items: center;
gap: 8px;
margin: 0 0 12px;
font-family: var(--font-sub);
font-size: 1.1875rem;
color: var(--dt-indigo);
}
.location__title .icon { color: var(--dt-gold-heading); }
.loc-path { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; list-style: none; margin-bottom: 14px; }
.loc-path__item {
position: relative;
display: grid;
gap: 0;
padding: 8px 12px;
border: 1px solid var(--dt-gold-50);
border-inline-start: 3px solid var(--dt-gold);
background: var(--dt-white);
line-height: 1.45;
}
.loc-path__label { font-family: var(--font-sub); font-size: .75rem; font-weight: 700; color: var(--dt-gold-text); }
.loc-path__value { font-family: var(--font-sub); font-weight: 700; font-size: 1.15rem; color: var(--dt-indigo); font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.loc-path__item:first-child:nth-last-child(odd) { grid-column: 1 / -1; }
.loc-path__item:first-child .loc-path__value { font-size: 1rem; }
.location__note { display: flex; gap: 8px; align-items: flex-start; margin: 0; font-family: var(--font-sub); font-size: .875rem; line-height: 1.8; color: var(--dt-ink); }
.location__note .icon { color: var(--dt-gold-heading); margin-top: .35em; }
.location__note.is-alone { padding: 14px; border: 1px solid var(--dt-gold-50); background: var(--dt-gold-10); }
.loc-case {
--case-row: 20px;
width: min(100%, 230px);
margin: 0 auto 14px;
padding: 0 8px 8px;
border-radius: 6px 6px 3px 3px;
background: linear-gradient(180deg, var(--wood-hi), var(--wood) 40%, var(--wood-2));
box-shadow: 0 8px 16px -8px rgba(38, 22, 12, .6), inset 0 1px 0 rgba(255, 255, 255, .2);
}
.loc-case__crown { display: grid; place-items: center; height: 24px; margin: 0 -8px; color: #2A1D08; font-family: var(--font-sub); font-size: .75rem; font-weight: 700; }
.loc-case__crown span {
padding: 0 10px;
border-radius: 3px;
background: linear-gradient(180deg, var(--brass-hi), var(--brass) 55%, var(--brass-lo));
box-shadow: 0 1px 0 rgba(0, 0, 0, .3), inset 0 1px 0 rgba(255, 255, 255, .5);
line-height: 1.5;
white-space: nowrap;
}
.loc-case__body { padding: 3px 6px; background: #33200F; box-shadow: inset 0 4px 6px -2px rgba(0, 0, 0, .6); }
.loc-case__row { position: relative; display: flex; align-items: flex-end; gap: 6px; height: var(--case-row); border-bottom: 3px solid var(--wood-hi); }
.loc-case__n { flex: none; width: 14px; font-size: .625rem; line-height: 1; color: #D9C29A; text-align: center; align-self: center; font-family: var(--font-sub); }
.loc-case__books {
flex: 1;
height: 72%;
background: repeating-linear-gradient(90deg,
#74302F 0 5px, #2E5A4B 5px 9px, transparent 9px 10px,
#372860 10px 16px, #8F6A2E 16px 20px, transparent 20px 21px,
#573A5C 21px 25px, #1F5A5E 25px 31px, #6B4428 31px 35px, transparent 35px 36px);
opacity: .55;
border-radius: 1px 1px 0 0;
}
.loc-case__row.is-here {
z-index: 1;
background: rgba(207, 173, 103, .2);
box-shadow: 0 0 0 2px var(--dt-gold), 0 0 14px 2px rgba(207, 173, 103, .55);
border-radius: 2px;
}
.loc-case__row.is-here .loc-case__books { opacity: 1; }
.loc-case__row.is-here .loc-case__n { color: #fff; font-weight: 700; }
.loc-case__pin {
position: absolute;
top: -10px;
left: -14px;
display: grid;
place-items: center;
width: 24px;
height: 24px;
border-radius: 50%;
background: var(--dt-indigo);
border: 1.5px solid var(--dt-gold);
color: var(--dt-gold);
font-size: .8rem;
box-shadow: 0 2px 6px rgba(0, 0, 0, .4);
animation: pin-bob 1.8s ease-in-out infinite;
}
.bookcase {
--row: 268px;
--board: 20px;
--k: 1;
position: relative;
padding: 0 14px 14px;
border-radius: 10px 10px 5px 5px;
background:
repeating-linear-gradient(90deg, rgba(255, 255, 255, .035) 0 2px, transparent 2px 9px),
repeating-linear-gradient(90deg, rgba(0, 0, 0, .06) 0 1px, transparent 1px 17px),
linear-gradient(180deg, var(--wood-hi), var(--wood) 26%, var(--wood-2));
box-shadow:
inset 0 1px 0 rgba(255, 255, 255, .22),
inset 0 -2px 0 rgba(0, 0, 0, .25),
0 22px 40px -16px rgba(38, 22, 12, .6),
0 4px 10px rgba(38, 22, 12, .22);
}
.bookcase--few { width: fit-content; min-width: min(100%, 340px); max-width: 100%; margin-inline: auto; }
.bookcase__crown {
position: relative;
z-index: 1;
display: flex;
align-items: center;
justify-content: center;
height: 34px;
margin-inline: -14px;
border-radius: 10px 10px 0 0;
background:
repeating-linear-gradient(90deg, rgba(255, 255, 255, .04) 0 2px, transparent 2px 11px),
linear-gradient(180deg, #8C6440, var(--wood) 60%, #4E3220);
border-bottom: 3px solid var(--wood-dark);
box-shadow: 0 3px 6px rgba(0, 0, 0, .35);
}
.bookcase__plate {
max-width: calc(100% - 40px);
padding: 1px 16px;
border-radius: 3px;
background: linear-gradient(180deg, var(--brass-hi), var(--brass) 55%, var(--brass-lo));
color: var(--dt-indigo-deep);
font-family: var(--font-display);
font-weight: 700;
font-size: .9rem;
line-height: 1.6;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
box-shadow: 0 1px 0 rgba(0, 0, 0, .45), inset 0 1px 0 rgba(255, 255, 255, .6), inset 0 -1px 0 rgba(0, 0, 0, .15);
}
.bookcase__plate::before, .bookcase__plate::after {
content: "";
display: inline-block;
width: 4px;
height: 4px;
margin: 0 7px;
border-radius: 50%;
vertical-align: middle;
background: var(--brass-dk);
box-shadow: inset 0 1px 0 rgba(255, 255, 255, .5);
}
.shelf {
position: relative;
display: flex;
flex-wrap: wrap;
align-items: flex-end;
column-gap: 2px;
row-gap: 0;
min-height: var(--row);
margin: 0;
padding: 0 12px;
list-style: none;
overflow-x: clip;
background:
repeating-linear-gradient(180deg,
transparent 0 calc(var(--row) - var(--board)),
#A0754A calc(var(--row) - var(--board)) calc(var(--row) - var(--board) + 2px),
#7E5636 calc(var(--row) - var(--board) + 2px) calc(var(--row) - var(--board) + 5px),
#664127 calc(var(--row) - var(--board) + 5px) calc(var(--row) - 5px),
#321E10 calc(var(--row) - 5px) var(--row)),
repeating-linear-gradient(180deg,
rgba(0, 0, 0, .55) 0,
rgba(0, 0, 0, 0) 36px,
rgba(0, 0, 0, 0) calc(var(--row) - var(--board) - 14px),
rgba(0, 0, 0, .32) calc(var(--row) - var(--board)),
transparent calc(var(--row) - var(--board)) var(--row)),
repeating-linear-gradient(90deg, rgba(0, 0, 0, .09) 0 2px, transparent 2px 26px),
linear-gradient(90deg, #2E1B0D, #402716 10%, #452B18 50%, #402716 90%, #2E1B0D);
box-shadow: inset 12px 0 14px -10px rgba(0, 0, 0, .75), inset -12px 0 14px -10px rgba(0, 0, 0, .75);
}
.shelf__slot, .shelf__bookend { display: flex; align-items: flex-end; height: var(--row); padding-bottom: var(--board); }
.shelf__slot { transform-origin: 50% 100%; }
.shelf__slot.is-away .spine { visibility: hidden; transform: none; transition: none; }
.shelf__slot.is-back .spine { animation: spine-back .5s var(--spring); }
html.js .shelf:not(.is-in) .shelf__slot { opacity: 0; animation: failsafe-show 0s 2.5s forwards; }
.shelf.is-in .shelf__slot { animation: slot-settle .75s var(--spring) backwards; animation-delay: calc(min(var(--i, 0), 24) * 26ms); }
.shelf__bookend { margin-inline-start: 4px; }
.shelf__bookend::before {
content: "";
width: 11px;
height: calc(118px * var(--k, 1));
border-radius: 7px 7px 1px 1px;
background: linear-gradient(90deg, var(--brass-dk), var(--brass) 38%, var(--brass-hi) 50%, var(--brass-lo) 70%, var(--brass-dk));
box-shadow: 2px 0 4px rgba(0, 0, 0, .45), -1px 0 0 rgba(0, 0, 0, .3);
}
.bookcase__base { height: 6px; margin: 0 -8px -14px; border-radius: 0 0 6px 6px; background: linear-gradient(180deg, #321E10, #22140A); }
.spine-tip {
position: fixed;
z-index: 60;
top: 0;
left: 0;
width: max-content;
max-width: min(280px, calc(100vw - 24px));
padding: 10px 14px 11px;
border: 1px solid var(--dt-gold-50);
border-top: 3px solid var(--tip-c, var(--dt-gold));
border-radius: var(--r);
background: var(--dt-white);
color: var(--dt-ink);
box-shadow: var(--sh-2);
pointer-events: none;
opacity: 0;
transform: translate3d(var(--x, 0), calc(var(--y, 0) + 6px), 0);
transition: opacity .16s ease, transform .2s var(--ease);
text-align: start;
}
.spine-tip.is-on { opacity: 1; transform: translate3d(var(--x, 0), var(--y, 0), 0); }
.spine-tip::after {
content: "";
position: absolute;
top: 100%;
left: var(--ax, 50%);
width: 12px;
height: 12px;
margin: -6px 0 0 -6px;
background: var(--dt-white);
border-right: 1px solid var(--dt-gold-50);
border-bottom: 1px solid var(--dt-gold-50);
transform: rotate(45deg);
}
.spine-tip.is-below::after { top: auto; bottom: 100%; margin: 0 0 -6px -6px; transform: rotate(-135deg); }
.spine-tip__title {
display: -webkit-box;
-webkit-box-orient: vertical;
-webkit-line-clamp: 3;
overflow: hidden;
font-family: var(--font-body);
font-weight: 700;
font-size: 1.06rem;
line-height: 1.45;
color: var(--dt-indigo);
}
.spine-tip__author { display: block; font-size: .9375rem; color: var(--dt-ink); line-height: 1.5; }
.spine-tip__meta { display: block; margin-top: 2px; font-family: var(--font-sub); font-size: .78rem; color: var(--dt-muted); line-height: 1.5; }
.spine-tip__hint { display: block; margin-top: 4px; font-family: var(--font-sub); font-size: .75rem; color: var(--dt-gold-text); }
@media (max-width: 599px) {
.bookcase { --k: .72; --row: 197px; --board: 15px; padding: 0 8px 10px; }
.bookcase__crown { margin-inline: -8px; height: 30px; }
.shelf { padding: 0 6px; column-gap: 1px; }
.bookcase__base { margin: 0 -4px -10px; }
}
@media (min-width: 600px) and (max-width: 899px) {
.bookcase { --k: .86; --row: 233px; --board: 18px; }
}
@keyframes slot-settle {
0%   { opacity: 0; transform: translate3d(-34px, -16px, 0) rotate(-7deg); }
55%  { opacity: 1; transform: translate3d(2px, 1px, 0) rotate(.8deg); }
80%  { transform: translate3d(-1px, 0, 0) rotate(-.3deg); }
100% { opacity: 1; transform: none; }
}
@keyframes spine-back {
0%   { transform: translate3d(0, -8px, 0); }
60%  { transform: translate3d(0, 1px, 0); }
100% { transform: none; }
}
.spine {
--w: 37px;
--h: 192px;
position: relative;
display: flex;
flex-direction: column;
align-items: center;
width: calc(var(--w) * var(--k, 1));
height: calc(var(--h) * var(--k, 1));
padding: calc(var(--h) * var(--k, 1) * .12) 0 calc(var(--h) * var(--k, 1) * .1);
color: var(--gold-ink);
text-decoration: none;
background-color: var(--bk, #5C5446);
border-radius: 3px 3px 1px 1px;
box-shadow: inset 3px 0 4px -2px rgba(255, 255, 255, .2), inset -4px 0 5px -2px rgba(0, 0, 0, .45), 0 0 0 .5px rgba(0, 0, 0, .4);
transform-origin: 50% 100%;
transition: transform .3s var(--ease);
-webkit-tap-highlight-color: transparent;
cursor: pointer;
}
.spine:hover, .spine:focus { color: var(--gold-ink); }
.spine[data-size="xs"] { --h: 150px; }
.spine[data-size="s"]  { --h: 171px; }
.spine[data-size="m"]  { --h: 192px; }
.spine[data-size="l"]  { --h: 213px; }
.spine[data-size="xl"] { --h: 234px; }
.spine[data-thick="1"] { --w: 30px; }
.spine[data-thick="2"] { --w: 37px; }
.spine[data-thick="3"] { --w: 44px; }
.spine[data-thick="4"] { --w: 52px; }
.spine[data-kind="magazine"][data-thick="1"] { --w: 20px; }
.spine[data-kind="magazine"][data-thick="2"] { --w: 23px; }
.spine[data-kind="magazine"][data-thick="3"] { --w: 26px; }
.spine[data-kind="magazine"][data-thick="4"] { --w: 29px; }
.spine__title {
flex: 1 1 auto;
min-height: 0;
max-height: 100%;
writing-mode: vertical-rl;
text-orientation: mixed;
font-family: var(--font-title);
font-weight: 700;
font-size: clamp(10px, calc(var(--w) * var(--k, 1) * .4), 17px);
line-height: 1.2;
text-align: center;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
padding-block: 3px;
text-shadow: 0 1px 0 rgba(0, 0, 0, .5);
pointer-events: none;
}
.spine__plate {
flex: none;
max-width: 84%;
min-width: 62%;
margin-top: 5px;
padding: 1px 2px;
border-radius: 2px;
background: linear-gradient(180deg, var(--brass-hi), var(--brass));
color: #2A1D08;
font: 700 10px/1.35 var(--font-ui);
text-align: center;
white-space: nowrap;
overflow: hidden;
box-shadow: 0 1px 0 rgba(0, 0, 0, .35), inset 0 0 0 .5px rgba(0, 0, 0, .25);
pointer-events: none;
}
.spine__shadow {
position: absolute;
inset: 0;
border-radius: inherit;
box-shadow: 0 16px 20px -8px rgba(0, 0, 0, .65), 0 0 0 1px rgba(235, 217, 168, .35);
opacity: 0;
transition: opacity .3s var(--ease);
pointer-events: none;
}
.spine__ribbon {
position: absolute;
top: -12px;
left: 26%;
width: 7px;
height: 20px;
background: linear-gradient(90deg, #8E2B27, #B8423A 50%, #8E2B27);
clip-path: polygon(0 0, 100% 0, 100% 100%, 50% 78%, 0 100%);
pointer-events: none;
}
.spine[data-binding="leather"] {
background-image:
linear-gradient(90deg, rgba(0, 0, 0, .4) 0%, rgba(0, 0, 0, .06) 16%, rgba(255, 255, 255, .15) 40%, rgba(255, 255, 255, .05) 58%, rgba(0, 0, 0, .12) 80%, rgba(0, 0, 0, .42) 100%),
radial-gradient(rgba(0, 0, 0, .09) 1px, transparent 1.2px);
background-size: auto, 4px 4px;
}
.spine[data-binding="leather"]::before, .spine[data-binding="leather"]::after {
content: "";
position: absolute;
left: 0;
right: 0;
height: 7px;
border-block: 1.5px solid var(--dt-gold);
background: linear-gradient(180deg, rgba(255, 255, 255, .28), rgba(0, 0, 0, .28)), var(--bk, #5C5446);
box-shadow: 0 2px 2px rgba(0, 0, 0, .35), 0 -1px 0 rgba(255, 255, 255, .1);
pointer-events: none;
}
.spine[data-binding="leather"]::before { top: calc(var(--h) * var(--k, 1) * .045); }
.spine[data-binding="leather"]::after { bottom: calc(var(--h) * var(--k, 1) * .04); }
.spine[data-binding="paper"] {
background-image:
linear-gradient(90deg, rgba(0, 0, 0, .2), rgba(255, 255, 255, .07) 30%, rgba(0, 0, 0, .02) 70%, rgba(0, 0, 0, .22)),
repeating-linear-gradient(0deg, rgba(255, 255, 255, .025) 0 1px, transparent 1px 3px);
border-radius: 1px;
}
.spine[data-binding="paper"]::before {
content: "";
position: absolute;
top: calc(var(--h) * var(--k, 1) * .03);
left: 17%;
right: 17%;
height: calc(var(--h) * var(--k, 1) * .06);
border-radius: 1px;
background: repeating-linear-gradient(180deg, #F6EEDA 0 3px, #DECFAB 3px 4px);
box-shadow: 0 0 0 .5px rgba(0, 0, 0, .3);
pointer-events: none;
}
.spine[data-binding="board"] {
background-image:
linear-gradient(90deg, rgba(0, 0, 0, .28), rgba(0, 0, 0, 0) 20%, rgba(0, 0, 0, 0) 80%, rgba(0, 0, 0, .28)),
linear-gradient(180deg, transparent 0 7%, rgba(255, 255, 255, .13) 7% 17%, transparent 17% 84%, rgba(0, 0, 0, .14) 84% 93%, transparent 93%);
border-radius: 2px;
}
.spine[data-binding="cello"] {
background-image:
linear-gradient(90deg, rgba(0, 0, 0, .26) 0%, rgba(255, 255, 255, 0) 18%, rgba(255, 255, 255, .45) 32%, rgba(255, 255, 255, .1) 42%, rgba(0, 0, 0, .04) 70%, rgba(0, 0, 0, .32) 100%),
linear-gradient(180deg, rgba(255, 255, 255, .12), transparent 30%);
}
.spine[data-binding="cello"]::before {
content: "";
position: absolute;
top: calc(var(--h) * var(--k, 1) * .05);
left: 0;
right: 0;
height: 2px;
background: rgba(235, 217, 168, .75);
pointer-events: none;
}
.spine[data-kind="magazine"] { border-radius: 1px; padding-top: calc(var(--h) * var(--k, 1) * .2); }
.spine[data-kind="magazine"]::before {
content: "";
position: absolute;
top: calc(var(--h) * var(--k, 1) * .05);
left: 0;
right: 0;
height: calc(var(--h) * var(--k, 1) * .1);
border: 0;
border-radius: 0;
background: #EBD9A8;
background: color-mix(in srgb, var(--bk, #5C5446) 30%, #F2E6C4);
box-shadow: 0 1px 0 rgba(0, 0, 0, .25);
}
.spine[data-kind="magazine"]::after { content: none; }
.spine[data-kind="magazine"] .spine__title { font-size: clamp(10px, calc(var(--w) * var(--k, 1) * .5), 13px); }
.spine[data-kind="magazine"] .spine__plate { writing-mode: vertical-rl; min-width: 0; max-width: none; max-height: 34%; padding: 3px 1px; font-size: 9.5px; text-overflow: clip; }
@media (hover: hover) {
.spine:hover { transform: translate3d(0, -12px, 0); }
.spine:hover .spine__shadow { opacity: 1; }
}
.spine:focus-visible { transform: translate3d(0, -12px, 0); outline: 3px solid var(--dt-gold); outline-offset: 3px; border-radius: 3px; }
.spine:focus-visible .spine__shadow { opacity: 1; }
.spine:active { transform: translate3d(0, -9px, 0); }
.spine.is-current {
transform: translate3d(0, -8px, 0);
box-shadow: inset 3px 0 4px -2px rgba(255, 255, 255, .2), inset -4px 0 5px -2px rgba(0, 0, 0, .45), 0 0 0 2px var(--dt-gold), 0 0 16px 2px rgba(207, 173, 103, .55);
}
.spine.lean-r { transform-origin: 100% 100%; transform: rotate(2.4deg); transition: transform .45s var(--spring); }
.spine.lean-l { transform-origin: 0 100%; transform: rotate(-2.4deg); transition: transform .45s var(--spring); }
@media (max-width: 599px) { .spine__plate { font-size: 9px; } }
.cabinet {
position: relative;
padding: 0 12px 14px;
border-radius: 12px 12px 6px 6px;
background:
repeating-linear-gradient(90deg, rgba(255, 255, 255, .035) 0 2px, transparent 2px 10px),
repeating-linear-gradient(90deg, rgba(0, 0, 0, .05) 0 1px, transparent 1px 19px),
linear-gradient(180deg, #A5764A, #8A5E3A 30%, #6B4528);
box-shadow:
inset 0 1px 0 rgba(255, 255, 255, .25),
0 22px 40px -18px rgba(46, 28, 15, .55),
0 4px 10px rgba(46, 28, 15, .18);
scroll-margin-top: 16px;
}
.cabinet__head {
display: flex;
flex-wrap: wrap;
align-items: center;
justify-content: space-between;
gap: 6px 16px;
margin: 0 -12px 12px;
padding: 10px 18px;
border-radius: 12px 12px 0 0;
background: linear-gradient(180deg, #7C5230, #5A3920);
border-bottom: 3px solid var(--wood-dark);
color: #F1E4C6;
}
.cabinet__title { margin: 0; font-size: 1.2rem; }
.cabinet__plate {
display: inline-flex;
align-items: center;
gap: 8px;
padding: 2px 16px;
border-radius: 3px;
background: linear-gradient(180deg, #F0D9A2, #D2A452 55%, #B8893B);
color: #2A1C06;
box-shadow: 0 1px 0 rgba(0, 0, 0, .45), inset 0 1px 0 rgba(255, 255, 255, .6);
font-family: var(--font-title);
}
.cabinet__plate::before {
content: "";
width: 10px;
height: 10px;
border-radius: 2px;
background: var(--g0, #5C5446);
box-shadow: 0 0 0 1.5px rgba(0, 0, 0, .25);
}
.cabinet__meta { margin: 0; font-size: .875rem; color: #E6D5B0; }
.cabinet__drawers {
display: grid;
grid-template-columns: repeat(auto-fill, minmax(min(100%, 176px), 1fr));
gap: 12px;
padding: 10px;
border-radius: 6px;
background:
linear-gradient(180deg, rgba(0, 0, 0, .25), rgba(0, 0, 0, .1)),
#3E2715;
box-shadow: inset 0 4px 10px rgba(0, 0, 0, .55);
}
@media (max-width: 479px) {
.cabinet__drawers { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; padding: 8px; }
}
.drawer {
position: relative;
display: flex;
flex-direction: column;
padding-top: 22px;
color: var(--ink);
text-decoration: none;
-webkit-tap-highlight-color: transparent;
border-radius: 8px;
}
.drawer:hover { color: var(--ink); }
.drawer:focus-visible { outline: 3px solid var(--gold-2); outline-offset: 3px; }
.drawer__box {
position: relative;
height: 112px;
border-radius: 6px;
background: linear-gradient(180deg, #1E1209, #2C1A0D);
box-shadow: inset 0 3px 8px rgba(0, 0, 0, .8);
}
.drawer__cards {
position: absolute;
top: 8px;
left: 18px;
right: 18px;
height: 74px;
pointer-events: none;
}
.drawer__card {
position: absolute;
inset: 0;
border-radius: 3px 3px 0 0;
background:
repeating-linear-gradient(180deg, transparent 0 9px, rgba(55, 40, 96, .14) 9px 10px) 0 16px / 100% calc(100% - 16px) no-repeat,
linear-gradient(180deg, #FFFDF7, #F4EAD4);
box-shadow: 0 -1px 2px rgba(0, 0, 0, .25);
transform: translate3d(0, 26px, 0);
transition: transform .45s var(--spring);
}
.drawer__card::before {
content: "";
position: absolute;
top: -7px;
width: 30%;
height: 9px;
border-radius: 3px 3px 0 0;
background: var(--g0, #5C5446);
}
.drawer__card:nth-child(1) { left: 6px; right: 6px; }
.drawer__card:nth-child(1)::before { right: 12%; }
.drawer__card:nth-child(2) { left: 3px; right: 3px; }
.drawer__card:nth-child(2)::before { right: 40%; background: var(--g2, #6B6253); }
.drawer__card:nth-child(3)::before { left: 10%; background: var(--g1, #4E473B); }
.drawer__front {
position: absolute;
inset: 0;
z-index: 1;
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
gap: 10px;
padding: 12px 10px;
border-radius: 6px;
background:
repeating-linear-gradient(92deg, rgba(255, 255, 255, .04) 0 3px, transparent 3px 11px),
repeating-linear-gradient(88deg, rgba(0, 0, 0, .05) 0 1px, transparent 1px 23px),
linear-gradient(180deg, #C1905E, #A87948 45%, #8C603A);
box-shadow:
inset 0 1px 0 rgba(255, 255, 255, .35),
inset 0 -2px 0 rgba(0, 0, 0, .25),
inset 0 0 0 1px rgba(60, 35, 15, .35),
0 2px 3px rgba(0, 0, 0, .45);
transform-origin: 50% 100%;
transition: transform .45s var(--ease);
}
.drawer__front::after {
content: "";
position: absolute;
inset: 0;
border-radius: inherit;
box-shadow: 0 14px 18px -6px rgba(0, 0, 0, .65);
opacity: 0;
transition: opacity .45s var(--ease);
pointer-events: none;
}
.drawer__holder {
position: relative;
width: 100%;
max-width: 190px;
padding: 4px;
border-radius: 3px;
background: linear-gradient(180deg, #F2DCA6, #C99A48 50%, #A87C33);
box-shadow: 0 1px 2px rgba(0, 0, 0, .45), inset 0 1px 0 rgba(255, 255, 255, .6);
}
.drawer__holder::before, .drawer__holder::after {
content: "";
position: absolute;
top: 50%;
width: 4px;
height: 4px;
margin-top: -2px;
border-radius: 50%;
background: #6F511F;
box-shadow: inset 0 1px 0 rgba(255, 255, 255, .5);
}
.drawer__holder::before { right: -7px; }
.drawer__holder::after { left: -7px; }
.drawer__label {
display: -webkit-box;
-webkit-box-orient: vertical;
-webkit-line-clamp: 2;
overflow: hidden;
min-height: 2.9em;
padding: 3px 6px;
border-radius: 1px;
background: linear-gradient(180deg, #FFFDF6, #F2E8D2);
box-shadow: inset 0 1px 2px rgba(0, 0, 0, .25);
font-weight: 600;
font-size: .9063rem;
line-height: 1.45;
text-align: center;
color: var(--ink);
border-top: 3px solid var(--g0, #5C5446);
}
.drawer__pull {
width: 56px;
height: 18px;
border-radius: 0 0 28px 28px / 0 0 18px 18px;
background: linear-gradient(180deg, #5C4318 0 3px, #E8CB86 3px, #B8893B 60%, #7A5A22);
box-shadow: 0 2px 3px rgba(0, 0, 0, .45), inset 0 -2px 3px rgba(0, 0, 0, .25);
}
.drawer__count {
margin-top: 8px;
font-size: .8125rem;
font-weight: 600;
text-align: center;
color: #EADBB8;
font-variant-numeric: tabular-nums;
}
.drawer:hover .drawer__front,
.drawer:focus-visible .drawer__front { transform: translate3d(0, 9px, 0) scale(1.045); }
.drawer:hover .drawer__front::after,
.drawer:focus-visible .drawer__front::after { opacity: 1; }
.drawer:hover .drawer__card,
.drawer:focus-visible .drawer__card { transform: translate3d(0, -12px, 0); }
.drawer:hover .drawer__card:nth-child(2),
.drawer:focus-visible .drawer__card:nth-child(2) { transform: translate3d(0, -18px, 0); transition-delay: .05s; }
.drawer:hover .drawer__card:nth-child(3),
.drawer:focus-visible .drawer__card:nth-child(3) { transform: translate3d(0, -24px, 0); transition-delay: .1s; }
.drawer:active .drawer__front { transform: translate3d(0, 12px, 0) scale(1.05); }
.cabinet--home .cabinet__drawers { grid-template-columns: repeat(auto-fill, minmax(min(100%, 200px), 1fr)); }
@media (max-width: 479px) {
.cabinet--home .cabinet__drawers { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
.cabinet__foot {
display: flex;
justify-content: center;
margin-top: 14px;
}
.group-chip {
display: inline-flex;
align-items: center;
gap: 8px;
min-height: 38px;
padding: 4px 14px 4px 10px;
border-radius: 999px;
background: var(--card);
border: 1px solid var(--line-2);
color: var(--ink-2);
font-size: .875rem;
font-weight: 500;
text-decoration: none;
transition: border-color .2s, transform .2s var(--ease);
}
.group-chip::before {
content: "";
width: 12px;
height: 12px;
border-radius: 3px;
background: var(--g0, #5C5446);
}
.group-chip:hover { border-color: var(--primary); color: var(--primary); transform: translateY(-1px); }
.group-chip .chip__count { font-size: .78rem; }
.bk {
position: fixed;
inset: 0;
z-index: 100;
--W: 380px;
--H: 540px;
--T: 60px;
}
.bk__backdrop {
position: absolute;
inset: 0;
background:
radial-gradient(ellipse 70% 70% at 50% 48%, rgba(20, 16, 40, .64), rgba(6, 5, 18, .9));
opacity: 0;
transition: opacity .45s ease;
}
.bk.is-shown .bk__backdrop { opacity: 1; }
.bk__stage { position: absolute; inset: 0; pointer-events: none; }
.bk__close {
position: absolute;
top: 14px;
left: 14px;
z-index: 5;
pointer-events: auto;
background: rgba(255, 252, 246, .95);
opacity: 0;
transition: opacity .3s ease .2s, transform .2s var(--ease);
}
.bk.is-shown .bk__close { opacity: 1; }
.bk__floor {
position: absolute;
left: 50%;
top: calc(50% + var(--H) / 2 - 12px);
width: calc(var(--W) * 2.2);
height: 44px;
margin-left: calc(var(--W) * -1.1);
border-radius: 50%;
background: radial-gradient(closest-side, rgba(0, 0, 0, .55), rgba(0, 0, 0, 0));
opacity: 0;
transform: scaleX(.45);
transition: opacity .5s ease, transform .9s var(--ease-io);
}
.bk[data-stage="fly"] .bk__floor { opacity: .9; }
.bk[data-stage="open"] .bk__floor { opacity: 1; transform: none; }
.bk[data-stage="close"] .bk__floor { opacity: .9; transform: scaleX(.45); }
.bk[data-stage="back"] .bk__floor { opacity: 0; transform: scaleX(.45); }
.bk[data-mode="3d"] .bk__book {
position: absolute;
left: calc(50% - var(--W) / 2);
top: calc(50% - var(--H) / 2);
width: var(--W);
height: var(--H);
transform-style: preserve-3d;
pointer-events: auto;
will-change: transform;
}
.bk[data-mode="3d"] .bk__spine {
position: absolute;
top: 0;
left: calc(var(--W) - var(--T) / 2);
width: var(--T);
height: var(--H);
overflow: hidden;
transform: rotateY(90deg);
backface-visibility: hidden;
-webkit-backface-visibility: hidden;
background: var(--lth, var(--bk, #5C5446));
}
.bk__spine > .spine {
background-color: var(--lth, var(--bk, #5C5446));
position: absolute;
top: 0;
left: 0;
transform-origin: 0 0;
transition: none;
pointer-events: none;
}
.bk[data-mode="3d"] .bk__board {
position: absolute;
inset: 0;
border-radius: 6px 2px 2px 6px;
transform: translateZ(calc(var(--T) / 2 - 4px));
background-color: var(--lth, var(--bk, #5C5446));
background-image: linear-gradient(90deg, rgba(0, 0, 0, .25), rgba(255, 255, 255, .05) 30%, rgba(0, 0, 0, .15)), url("../../img/theme/leather-grain.svg");
background-size: auto, 170px 170px;
background-blend-mode: normal, soft-light;
box-shadow: 0 0 0 1px rgba(0, 0, 0, .3);
}
.bk[data-mode="3d"] .bk__cover {
position: absolute;
inset: 0;
transform-style: preserve-3d;
transform-origin: 100% 50%;
}
.bk[data-mode="3d"] .bk__cover-front,
.bk[data-mode="3d"] .bk__page--card {
position: absolute;
inset: 0;
backface-visibility: hidden;
-webkit-backface-visibility: hidden;
}
.bk[data-mode="3d"] .bk__page--card { transform: rotateY(180deg); }
.bk[data-mode="3d"] .bk__page--loc {
position: absolute;
top: 7px;
bottom: 7px;
left: 9px;
right: 0;
transform: translateZ(calc(var(--T) / 2 - 2px));
backface-visibility: hidden;
-webkit-backface-visibility: hidden;
}
.bk__page {
display: flex;
flex-direction: column;
color: var(--ink);
text-align: start;
}
.bk__page--card {
padding: 7px 9px 7px 0;
border-radius: 2px 6px 6px 2px;
background-color: var(--lth, var(--bk, #5C5446));
background-image:
linear-gradient(90deg, rgba(0, 0, 0, .3), rgba(0, 0, 0, .05) 12%, rgba(255, 255, 255, .04) 70%, rgba(0, 0, 0, .2)),
url("../../img/theme/leather-grain.svg");
background-size: auto, 170px 170px;
background-blend-mode: normal, soft-light;
}
.bk__page--card .ccard { box-shadow: 0 0 0 4px rgba(0, 0, 0, .12), 0 1px 3px rgba(0, 0, 0, .35); }
.bk__page--loc {
overflow: auto;
padding: 26px 26px 20px 30px;
border-radius: 4px 0 0 4px;
background:
linear-gradient(90deg, rgba(0, 0, 0, 0) 85%, rgba(60, 40, 10, .16)),
radial-gradient(ellipse at 30% 20%, #FFFDF8, #FBF4E4 70%, #F3E8D0);
box-shadow:
-1px 1px 0 #EBD9A8, -2px 2px 0 #C9A65C, -3px 3px 0 #E6CB82, -4px 4px 0 #B8954D, -5px 5px 0 #DCC079, -6px 6px 0 rgba(0, 0, 0, .18);
scrollbar-width: thin;
}
.bk__page--loc::before {
content: "";
position: absolute;
inset: 10px 10px 10px 13px;
border: 3px double rgba(161, 135, 80, .55);
outline: 1px solid rgba(161, 135, 80, .28);
outline-offset: 3px;
pointer-events: none;
}
.bk__page--loc::after {
content: "";
position: absolute;
top: 0;
bottom: -2px;
right: 1px;
width: 9px;
background: linear-gradient(90deg, #1E4A38, #2F6B51 45%, #1E4A38);
clip-path: polygon(0 0, 100% 0, 100% 100%, 50% calc(100% - 9px), 0 100%);
box-shadow: 1px 0 2px rgba(0, 0, 0, .3);
opacity: 0;
transition: opacity .3s ease .5s;
pointer-events: none;
}
.bk.is-open .bk__page--loc::after, .bk[data-stage="open"] .bk__page--loc::after { opacity: .9; }
.bk[data-mode="sheet"] .bk__page--loc::before, .bk[data-mode="sheet"] .bk__page--loc::after { display: none; }
.bk__page--loc > .location, .bk__page--loc > .bk__actions { position: relative; z-index: 1; }
.bk__page--loc .location { flex: 1; }
.bk__actions {
display: grid;
gap: 8px;
margin-top: 14px;
}
.bk__actions .btn { width: 100%; }
.bk__actions-row { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.bk__actions-row .btn { padding-inline: 8px; }
.bk[data-mode="sheet"] .bk__book {
position: absolute;
left: 0;
right: 0;
bottom: 0;
display: flex;
flex-direction: column;
max-height: calc(100vh - 68px);
max-height: calc(100dvh - 68px);
overflow: auto;
overscroll-behavior: contain;
padding-bottom: env(safe-area-inset-bottom, 0);
border-radius: 20px 20px 0 0;
background: var(--paper);
box-shadow: 0 -12px 40px rgba(0, 0, 0, .35);
pointer-events: auto;
}
.bk[data-mode="sheet"] .bk__book::before {
content: "";
flex: none;
height: 22px;
border-radius: 20px 20px 0 0;
background:
linear-gradient(rgba(255, 255, 255, .55), rgba(255, 255, 255, .55)) center 9px / 44px 4px no-repeat,
var(--lth, var(--bk, var(--primary)));
}
.bk[data-mode="sheet"] .bk__spine,
.bk[data-mode="sheet"] .bk__board,
.bk[data-mode="sheet"] .bk__cover-front { display: none; }
.bk[data-mode="sheet"] .bk__cover { display: contents; }
.bk[data-mode="sheet"] .bk__page { position: static; transform: none; }
.bk[data-mode="sheet"] .bk__page--card { padding: 0; background: none; border-radius: 0; }
.bk[data-mode="sheet"] .ccard { overflow: visible; background: var(--card); padding: 16px 18px 30px; border-bottom: 1px solid var(--line); }
.bk[data-mode="sheet"] .bk__page--loc { overflow: visible; padding: 18px; box-shadow: none; background: none; }
.bk[data-mode="sheet"] .bk__close { top: 12px; left: 12px; }
.bk[data-mode="sheet"] .bk__floor { display: none; }
@media (min-width: 760px) {
.bk[data-mode="sheet"] .bk__book {
left: 50%;
top: 50%;
bottom: auto;
right: auto;
width: min(880px, 92vw);
max-height: 88vh;
display: grid;
grid-template-columns: 1fr 1fr;
border-radius: 16px;
transform: translate(-50%, -50%);
}
.bk[data-mode="sheet"] .bk__book::before { grid-column: 1 / -1; border-radius: 16px 16px 0 0; }
.bk[data-mode="sheet"] .ccard { border-bottom: 0; border-inline-end: 1px solid var(--line); height: 100%; }
.bk[data-mode="sheet"] .bk__close { top: 18px; bottom: auto; left: 18px; }
}
.cover {
--gilt: linear-gradient(135deg, #8A6A2E 0%, #E6CB82 20%, #FBEBB7 31%, #CCA95E 46%, #8E6E30 61%, #E0C277 79%, #A8863E 100%);
--gilt-line: #D6B56A;
--m: min(64cqw, 41.9cqh);
--cx: 47.25cqw;
position: relative;
display: block;
container-type: size;
overflow: hidden;
text-align: center;
color: #E9D193;
border-radius: 6px 2px 2px 6px;
background-color: var(--lth, var(--bk, #4A3A2E));
background-image:
radial-gradient(ellipse 80% 62% at 42% 36%, rgba(255, 255, 255, .08), rgba(255, 255, 255, 0) 70%),
radial-gradient(ellipse 125% 105% at 48% 50%, rgba(0, 0, 0, 0) 58%, rgba(0, 0, 0, .42)),
linear-gradient(90deg, rgba(0, 0, 0, .22), rgba(0, 0, 0, 0) 7%, rgba(0, 0, 0, 0) 87%, rgba(0, 0, 0, .3) 92.5%, rgba(255, 255, 255, .07) 94.5%, rgba(0, 0, 0, .32)),
url("../../img/theme/leather-grain.svg");
background-size: auto, auto, auto, 170px 170px;
background-blend-mode: normal, normal, normal, soft-light;
box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .45), inset 0 1px 0 rgba(255, 255, 255, .14), inset 0 0 26px rgba(0, 0, 0, .3);
}
.cover::after {
content: "";
position: absolute;
top: 0;
bottom: 0;
right: 6.3%;
width: 3px;
background: linear-gradient(90deg, rgba(0, 0, 0, .38), rgba(255, 255, 255, .1));
pointer-events: none;
}
.cover__gilt {
position: absolute;
inset: 0;
filter: drop-shadow(0 -.5px 0 rgba(255, 244, 210, .2)) drop-shadow(0 1px 1px rgba(0, 0, 0, .55));
pointer-events: none;
}
.cover__frame {
position: absolute;
inset: 4.2cqh 10.5cqw 4.2cqh 5cqw;
border: max(1.5px, .5cqw) solid var(--gilt-line);
outline: 1px solid rgba(0, 0, 0, .3);
outline-offset: 1.3cqw;
}
.cover__frame::before, .cover__frame::after { content: ""; position: absolute; }
.cover__frame::before { inset: 1.2cqw; border: max(1.5px, .62cqw) dotted var(--gilt-line); }
.cover__frame::after { inset: 2.7cqw; border: max(1px, .3cqw) solid var(--gilt-line); }
.cover__corner {
position: absolute;
width: 17cqw;
aspect-ratio: 1;
background: var(--gilt);
-webkit-mask: url("../../img/theme/bind-corner.svg") 0 0 / 100% 100% no-repeat;
mask: url("../../img/theme/bind-corner.svg") 0 0 / 100% 100% no-repeat;
}
.cover__corner:nth-child(2) { left: 8cqw; top: calc(4.2cqh + 3cqw); }
.cover__corner:nth-child(3) { right: 13.5cqw; top: calc(4.2cqh + 3cqw); transform: scaleX(-1); }
.cover__corner:nth-child(4) { left: 8cqw; bottom: calc(4.2cqh + 3cqw); transform: scaleY(-1); }
.cover__corner:nth-child(5) { right: 13.5cqw; bottom: calc(4.2cqh + 3cqw); transform: scale(-1); }
.cover__medal {
position: absolute;
left: var(--cx);
top: 50cqh;
width: var(--m);
aspect-ratio: 190 / 290;
transform: translate(-50%, -50%);
background: var(--gilt);
-webkit-mask: url("../../img/theme/bind-shamsa.svg") center / 100% 100% no-repeat;
mask: url("../../img/theme/bind-shamsa.svg") center / 100% 100% no-repeat;
}
.cover__text {
position: absolute;
left: var(--cx);
top: 50cqh;
width: calc(var(--m) * .6);
height: calc(var(--m) * .7);
transform: translate(-50%, -50%);
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
gap: calc(var(--m) * .02);
overflow: hidden;
filter: drop-shadow(0 1px 0 rgba(0, 0, 0, .6));
}
.cover__title {
display: -webkit-box;
-webkit-box-orient: vertical;
-webkit-line-clamp: 3;
overflow: hidden;
max-width: 100%;
font-family: var(--font-title);
font-weight: 700;
font-size: calc(var(--m) * .102);
line-height: 1.5;
overflow-wrap: anywhere;
color: #EED9A0;
background: linear-gradient(180deg, #FFF0C4 0%, #E7CB82 45%, #C29B52 100%);
-webkit-background-clip: text;
background-clip: text;
-webkit-text-fill-color: transparent;
}
.cover[data-tlen="s"] .cover__title { font-size: calc(var(--m) * .128); -webkit-line-clamp: 2; }
.cover[data-tlen="l"] .cover__title { font-size: calc(var(--m) * .088); -webkit-line-clamp: 4; }
.cover[data-tlen="xl"] .cover__title { font-size: calc(var(--m) * .076); -webkit-line-clamp: 5; line-height: 1.45; }
.cover__rule {
flex: none;
width: calc(var(--m) * .34);
height: 7px;
margin-block: calc(var(--m) * .02);
background:
linear-gradient(90deg, rgba(214, 181, 106, 0), var(--gilt-line) 22%, var(--gilt-line) 78%, rgba(214, 181, 106, 0)) center / 100% 1px no-repeat,
radial-gradient(circle, var(--gilt-line) 2.4px, transparent 2.9px) center / 7px 7px no-repeat;
}
.cover__author {
display: -webkit-box;
-webkit-box-orient: vertical;
-webkit-line-clamp: 2;
overflow: hidden;
max-width: 100%;
font-family: var(--font-title);
font-size: calc(var(--m) * .066);
line-height: 1.5;
color: #E3C98A;
}
.cover[data-tlen="xl"] .cover__author { -webkit-line-clamp: 1; }
.cover__text > :last-child.cover__rule { display: none; }
.cover__band, .cover__foot {
position: absolute;
left: var(--cx);
top: calc(50cqh - var(--m) * 290 / 190 / 2 - 6.4cqw);
transform: translate(-50%, -50%);
display: inline-flex;
align-items: center;
gap: 2.2cqw;
max-width: 46cqw;
font-family: var(--font-title);
font-weight: 700;
font-size: 3.7cqw;
line-height: 1.4;
white-space: nowrap;
color: #E3C98A;
text-shadow: 0 1px 0 rgba(0, 0, 0, .6);
}
.cover__band::before, .cover__band::after, .cover__foot::before, .cover__foot::after {
content: "";
flex: none;
width: 2.6cqw;
height: 2.6cqw;
background: var(--gilt-line);
-webkit-mask: url("../../img/theme/star-small.svg") center / contain no-repeat;
mask: url("../../img/theme/star-small.svg") center / contain no-repeat;
}
.cover__foot { overflow: hidden; text-overflow: ellipsis; font-weight: 400; }
.cover__band ~ .cover__foot { display: none; }
.cover__vol {
position: absolute;
left: var(--cx);
top: calc(50cqh + var(--m) * 290 / 190 / 2 + 6.2cqw);
transform: translate(-50%, -50%);
display: grid;
place-items: center;
min-width: 10.5cqw;
height: 10.5cqw;
padding-inline: 2cqw;
border: max(1px, .35cqw) double var(--gilt-line);
border-width: max(3px, .9cqw);
border-radius: 999px;
font-family: var(--font-ui);
font-weight: 700;
font-size: 3.6cqw;
line-height: 1;
white-space: nowrap;
color: #EED9A0;
text-shadow: 0 1px 0 rgba(0, 0, 0, .6);
}
.cover[data-script="latin"] .cover__medal,
.cover[data-script="latin"] .cover__frame::before,
.cover[data-script="latin"] .cover__foot { display: none; }
.cover[data-script="latin"] .cover__frame { outline-offset: 1.6cqw; }
.cover[data-script="latin"] .cover__frame::after { inset: 1.6cqw; }
.cover[data-script="latin"] .cover__corner {
width: 9.5cqw;
-webkit-mask-image: url("../../img/theme/bind-fleuron.svg");
mask-image: url("../../img/theme/bind-fleuron.svg");
}
.cover[data-script="latin"] .cover__corner:nth-child(2) { left: 8.2cqw; top: calc(4.2cqh + 3.1cqw); }
.cover[data-script="latin"] .cover__corner:nth-child(3) { right: 13.7cqw; top: calc(4.2cqh + 3.1cqw); }
.cover[data-script="latin"] .cover__corner:nth-child(4) { left: 8.2cqw; bottom: calc(4.2cqh + 3.1cqw); }
.cover[data-script="latin"] .cover__corner:nth-child(5) { right: 13.7cqw; bottom: calc(4.2cqh + 3.1cqw); }
.cover[data-script="latin"] .cover__gilt::after {
content: "";
position: absolute;
left: var(--cx);
top: 71cqh;
width: 40cqw;
aspect-ratio: 160 / 40;
transform: translate(-50%, -50%);
background: var(--gilt);
-webkit-mask: url("../../img/theme/bind-orn-latin.svg") center / 100% 100% no-repeat;
mask: url("../../img/theme/bind-orn-latin.svg") center / 100% 100% no-repeat;
}
.cover[data-script="latin"] .cover__text {
top: 40cqh;
width: 62cqw;
height: auto;
min-height: 24cqh;
max-height: 44cqh;
padding: 4.5cqw 4cqw;
gap: 2.2cqw;
border: max(1.5px, .5cqw) solid var(--gilt-line);
outline: max(1px, .3cqw) solid var(--gilt-line);
outline-offset: -1.7cqw;
overflow: hidden;
}
.cover[data-script="latin"] .cover__title {
font-size: 5.6cqw;
line-height: 1.3;
letter-spacing: .06em;
text-transform: uppercase;
-webkit-line-clamp: 4;
}
.cover[data-script="latin"][data-tlen="s"] .cover__title { font-size: 7cqw; letter-spacing: .09em; -webkit-line-clamp: 2; }
.cover[data-script="latin"][data-tlen="l"] .cover__title { font-size: 4.7cqw; -webkit-line-clamp: 5; }
.cover[data-script="latin"][data-tlen="xl"] .cover__title { font-size: 4.1cqw; -webkit-line-clamp: 6; }
.cover[data-script="latin"] .cover__rule { width: 16cqw; margin: 0; }
.cover[data-script="latin"] .cover__author { font-size: 3.7cqw; letter-spacing: .08em; text-transform: uppercase; -webkit-line-clamp: 2; }
.cover[data-script="latin"] .cover__band { top: 17cqh; font-family: var(--font-title); letter-spacing: .12em; }
.cover[data-script="latin"] .cover__vol { top: 85cqh; border-radius: 2px; border-style: solid; border-width: max(1px, .35cqw); font-family: var(--font-title); }
.ccard {
position: relative;
flex: 1;
min-height: 0;
overflow: auto;
padding: 18px 20px 30px 20px;
border-radius: 1px 3px 3px 1px;
background:
linear-gradient(90deg, rgba(60, 40, 10, .18), rgba(0, 0, 0, 0) 7%),
radial-gradient(ellipse at 70% 10%, #FFFEFA, #FCF6E8 65%, #F4EAD3);
scrollbar-width: thin;
}
.ccard__head {
display: flex;
flex-wrap: wrap;
align-items: baseline;
justify-content: space-between;
gap: 4px 12px;
padding-bottom: 8px;
margin-bottom: 10px;
border-bottom: 2px solid rgba(170, 45, 40, .55);
}
.ccard__kicker {
display: inline-flex;
align-items: center;
gap: 6px;
font-size: .8125rem;
font-weight: 700;
letter-spacing: .02em;
color: #8A3A33;
}
.ccard__reg { font-size: .8125rem; color: var(--muted); }
.ccard__reg b {
font-size: 1.2rem;
color: var(--ink);
font-variant-numeric: tabular-nums;
letter-spacing: .02em;
}
.ccard__label { margin: 0; font-size: .75rem; font-weight: 600; color: var(--muted); }
.ccard__title {
margin: 0 0 10px;
font-size: 1.45rem;
line-height: 1.45;
color: var(--ink);
overflow-wrap: anywhere;
}
.ccard__title:focus { outline: none; }
.ccard__vol {
display: inline-block;
margin-inline-start: 6px;
padding: 0 8px;
border: 1px solid var(--gold-2);
border-radius: 999px;
font-family: var(--font-ui);
font-size: .8rem;
font-weight: 600;
color: var(--gold-text);
vertical-align: .25em;
line-height: 1.6;
}
.ccard__vol:empty { display: none; }
.ccard__rows {
--lh: 28px;
display: grid;
font-size: .9063rem;
line-height: var(--lh);
background:
linear-gradient(90deg, transparent calc(100% - 7.6em), rgba(170, 45, 40, .35) calc(100% - 7.6em) calc(100% - 7.6em + 1px), transparent calc(100% - 7.6em + 1px)),
repeating-linear-gradient(180deg, transparent 0 calc(var(--lh) - 1px), rgba(55, 40, 96, .14) calc(var(--lh) - 1px) var(--lh));
}
.ccard__row { display: grid; grid-template-columns: 7.6em minmax(0, 1fr); }
.ccard__row dt { padding-inline-end: 10px; color: var(--muted); font-size: .8125rem; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ccard__row dd { padding-inline-start: 10px; color: var(--ink); overflow-wrap: anywhere; }
.ccard__row dd a { color: var(--primary); }
.ccard__hole {
position: absolute;
bottom: 10px;
left: 50%;
width: 14px;
height: 14px;
margin-left: -7px;
border-radius: 50%;
background: radial-gradient(circle at 50% 40%, rgba(0, 0, 0, .35), rgba(0, 0, 0, .12));
box-shadow: inset 0 1px 2px rgba(0, 0, 0, .45), 0 1px 0 rgba(255, 255, 255, .8);
}
.spread {
--cw: clamp(330px, 44vw, 470px);
position: relative;
display: grid;
grid-template-columns: 1fr;
gap: 0;
max-width: 1000px;
margin-inline: auto;
}
.spread__cover, .spread__left {
position: relative;
padding: 8px;
border-radius: 8px;
background-color: var(--lth, var(--bk, #5C5446));
background-image: linear-gradient(90deg, rgba(0, 0, 0, .25), rgba(255, 255, 255, .05) 30%, rgba(0, 0, 0, .18)), url("../../img/theme/leather-grain.svg");
background-size: auto, 170px 170px;
background-blend-mode: normal, soft-light;
box-shadow: 0 18px 40px -18px rgba(30, 20, 8, .6);
}
.spread__card { height: 100%; display: flex; flex-direction: column; }
.spread__card .ccard { overflow: visible; padding: 22px 22px 36px; }
.spread__card .ccard__title { font-size: var(--fs-2xl); }
.spread__left > .page {
height: 100%;
padding: 24px 22px 20px;
border-radius: 3px;
background: radial-gradient(ellipse at 30% 20%, #FFFDF8, #FBF4E4 70%, #F3E8D0);
}
.spread__front { display: none; }
.spread__cover { z-index: 2; }
.spread__left { z-index: 1; margin-top: 14px; }
@media (min-width: 760px) {
.spread {
grid-template-columns: 1fr 1fr;
perspective: 2400px;
padding: 0;
}
.spread__cover {
padding: 10px 10px 10px 0;
border-radius: 2px 10px 10px 2px;
transform-origin: 0 50%;
transform-style: preserve-3d;
animation: spread-open 1.25s .35s var(--ease-io) backwards;
}
.spread__left {
margin-top: 0;
padding: 10px 0 10px 10px;
border-radius: 10px 2px 2px 10px;
}
.spread__card, .spread__front { backface-visibility: hidden; -webkit-backface-visibility: hidden; }
.spread__card .ccard {
background:
linear-gradient(90deg, rgba(60, 40, 10, .22), rgba(0, 0, 0, 0) 9%),
radial-gradient(ellipse at 70% 10%, #FFFEFA, #FCF6E8 65%, #F4EAD3);
}
.spread__left > .page {
position: relative;
background:
linear-gradient(90deg, rgba(0, 0, 0, 0) 88%, rgba(60, 40, 10, .2)),
radial-gradient(ellipse at 30% 20%, #FFFDF8, #FBF4E4 70%, #F3E8D0);
}
.spread__left > .page::before {
content: "";
position: absolute;
inset: 10px;
border: 3px double rgba(161, 135, 80, .55);
outline: 1px solid rgba(161, 135, 80, .28);
outline-offset: 3px;
pointer-events: none;
}
.spread__left > .page::after {
content: "";
position: absolute;
top: 0;
bottom: -18px;
right: 1px;
width: 9px;
background: linear-gradient(90deg, #1E4A38, #2F6B51 45%, #1E4A38);
clip-path: polygon(0 0, 100% 0, 100% 100%, 50% calc(100% - 9px), 0 100%);
pointer-events: none;
}
.spread__front {
display: flex;
position: absolute;
inset: 0;
transform: rotateY(180deg);
border-radius: 6px 2px 2px 6px;
}
.spread::after {
content: "";
position: absolute;
z-index: 3;
top: 10px;
bottom: 10px;
left: 50%;
width: 2px;
margin-left: -1px;
background: rgba(40, 25, 10, .25);
pointer-events: none;
}
}
@keyframes pin-bob {
0%, 100% { transform: translate3d(0, 0, 0); }
50%      { transform: translate3d(0, -4px, 0); }
}
@keyframes spread-open {
from { transform: rotateY(-180deg); }
to   { transform: rotateY(0deg); }
}
@keyframes magnifier-bob {
0%, 100% { transform: translate3d(0, 0, 0) rotate(0deg); }
25%      { transform: translate3d(-10px, -6px, 0) rotate(-6deg); }
50%      { transform: translate3d(-18px, 2px, 0) rotate(-2deg); }
75%      { transform: translate3d(-6px, 6px, 0) rotate(4deg); }
}
@keyframes lens-glint {
0%, 60%, 100% { opacity: 0; }
70%           { opacity: .9; }
}
@keyframes stamp-press {
0%   { opacity: 0; transform: translate3d(0, -40px, 0) scale(1.9) rotate(-18deg); }
45%  { opacity: 1; transform: translate3d(0, 0, 0) scale(.93) rotate(-9deg); }
62%  { transform: scale(1.03) rotate(-9deg); }
100% { opacity: 1; transform: scale(1) rotate(-9deg); }
}
@keyframes ink-ring {
0%, 40% { opacity: 0; transform: scale(.7); }
55%     { opacity: .5; }
100%    { opacity: 0; transform: scale(1.6); }
}
.stamp-press {
position: fixed;
inset: 0;
z-index: 400;
display: grid;
place-items: center;
background: rgba(247, 243, 234, .74);
pointer-events: none;
animation: fade-in .2s ease;
}
.stamp-press__stamp {
position: relative;
width: 190px;
height: 190px;
color: rgba(138, 42, 36, .88);
animation: stamp-press .75s var(--ease) forwards;
}
.stamp-press__stamp svg { width: 100%; height: 100%; }
.stamp-press__stamp::after {
content: "";
position: absolute;
inset: -10px;
border-radius: 50%;
border: 3px solid rgba(138, 42, 36, .45);
opacity: 0;
animation: ink-ring .75s ease-out forwards;
}
