
/* Only the adapters for real data and the existing bookshelf plugin. Reference CSS stays unchanged. */
.hero-books--plugin{display:flex;align-items:center;justify-content:center;overflow:visible}
.hero-in{grid-template-columns:minmax(0,1.2fr) minmax(0,.8fr)}
.hero-talk{display:flex;align-items:center;flex-wrap:wrap;gap:14px}
.hero-talk .say{flex:0 0 auto}.hero-talk .say--me{margin-left:0}
.hero-books--plugin .bkh{--w:clamp(150px,14.5vw,200px);--h:clamp(225px,21.7vw,300px);--t:20px;width:100%;height:390px;max-width:460px}
.hero-books--plugin .bkh-book--1{--dx:clamp(-125px,-9vw,-95px)}.hero-books--plugin .bkh-book--3{--dx:clamp(95px,9vw,125px)}
.reference-home-shelves{margin-top:var(--sp-7)}
.reference-home-shelves .bt-more{display:flex;align-items:end;justify-content:space-between;gap:16px;margin-bottom:20px}.reference-home-shelves .bt-label{display:block;font-size:12px;color:var(--bt-ac-ink);font-weight:800;margin-bottom:8px}.reference-home-shelves .bt-more h2{font-size:var(--fs-h2)}.reference-home-shelves .bt-more a{font-weight:700;color:var(--bt-sub)}
.cover{--ink:var(--bt-ink)}
.ft-sns>span{display:grid;place-items:center;width:44px;height:44px;border-radius:50%;background:rgba(255,255,255,.08)}
.reference-record-options{font-size:var(--fs-sm);color:var(--bt-sub);margin-bottom:var(--sp-4)}.reference-record-options summary{cursor:pointer;padding:10px 0}.reference-record-options .field{margin-top:var(--sp-3)}
.field select{width:100%;padding:12px;border:1px solid #bdb2a4;border-radius:12px;background:var(--bt-card);color:var(--bt-ink);font:inherit;min-width:0}.reference-explore-check{display:flex;gap:8px;align-items:center;margin-top:12px}.reference-explore-check input{width:18px;height:18px}
.reference-error{padding:16px;background:var(--bt-err-soft);color:var(--bt-err);border-radius:12px;margin-bottom:16px}
.catalog{padding-block:var(--sp-8) var(--sp-9)}.catalog h1{font-size:clamp(17.5px,2.1vw,26.6px)}.catalog-filters{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:24px}.catalog-filters a{display:flex;align-items:center;min-height:44px;padding:10px 16px;border-radius:24px;background:var(--bt-card);text-decoration:none;font-size:14px;font-weight:700}.catalog-filters a[aria-current]{background:var(--bt-ink);color:white}.catalog-age{display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin-bottom:32px}.catalog-age select{min-height:44px;padding:10px 16px;border:1px solid #bdb2a4;border-radius:12px;background:white;color:var(--bt-ink);font:inherit}.catalog-empty{padding:48px 24px;border-radius:24px;background:var(--bt-panel)}
.msbs-stage{isolation:isolate}.bks-cat h2{font-size:clamp(20px,2.5vw,28px)}
@media(max-width:960px){.hero-in{grid-template-columns:minmax(0,1fr)}.hero-books--plugin{height:300px;max-width:460px}.hero-books--plugin .bkh{--w:155px;--h:230px;height:290px}.hero-books--plugin .bkh-book--1{--dx:-100px}.hero-books--plugin .bkh-book--3{--dx:100px}}
@media(max-width:640px){.hero-books--plugin{height:210px;max-width:280px}.hero-books--plugin .bkh{--w:120px;--h:175px;--t:14px;height:205px}.hero-books--plugin .bkh-book{top:5px}.hero-books--plugin .bkh-book--1{--dx:-72px}.hero-books--plugin .bkh-book--3{--dx:72px}.hero-talk{gap:8px}.hero-talk .say{padding:9px 12px}.reference-home-shelves .bt-more{flex-wrap:wrap}.catalog-age .btn{padding-inline:20px}.catalog-age select{max-width:100%}}
