body { background-color: #f6f1e5; color: #2d1e18; font-family: "Georgia", serif, "Courier New", monospace; margin: 0; padding: 25px; line-height: 1.6; }
.chmr-wrapper { max-width: 1200px; margin: 0 auto; box-sizing: border-box; }
/* 结构突变：图书馆抽屉式中轴页头 */
.chmr-drawer-header { border-top: 3px solid #2d1e18; border-bottom: 3px solid #2d1e18; padding: 25px 0; margin-bottom: 45px; text-align: center; position: relative; }
.chmr-drawer-header::before { content: ""; position: absolute; left: 10px; right: 10px; top: 4px; bottom: 4px; border-top: 1px solid #2d1e18; border-bottom: 1px solid #2d1e18; pointer-events: none; }
.chmr-brand { display: flex; flex-direction: column; align-items: center; justify-content: center; }
.chmr-brand img { height: 40px; object-fit: contain; margin-bottom: 15px; filter: grayscale(100%) contrast(150%) sepia(20%); }
.chmr-menu { display: flex; justify-content: center; gap: 30px; list-style: none; margin: 0; padding: 0; font-size: 13px; font-weight: bold; text-transform: uppercase; letter-spacing: 2px; }
.chmr-menu a { color: #2d1e18; text-decoration: none; padding-bottom: 4px; border-bottom: 1px solid transparent; transition: all 0.3s; }
.chmr-menu a:hover, .chmr-menu a.active { border-bottom-color: #a64a3c; color: #a64a3c; }
.chmr-ledger-notice { border: 1px solid #2d1e18; outline: 3px double #2d1e18; outline-offset: -1px; padding: 22px 30px; margin-bottom: 40px; font-size: 14px; text-align: justify; color: #a64a3c; line-height: 1.8; }
.chmr-column-title { font-size: 20px; font-weight: bold; text-align: center; text-transform: uppercase; margin: 40px 0 25px 0; border-bottom: 1px solid #2d1e18; padding-bottom: 10px; color: #2d1e18; letter-spacing: 2px; }
/* 书签索引网格 */
.chmr-index-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 35px; }
.chmr-index-card { background: #faf8f3; border: 1px solid #2d1e18; padding: 20px; transition: all 0.3s; text-decoration: none; color: inherit; display: flex; flex-direction: column; box-shadow: 4px 4px 0px rgba(45, 45, 45, 0.08); position: relative; }
.chmr-index-card:hover { border-color: #a64a3c; transform: translateY(-4px); box-shadow: 6px 6px 0px #2d1e18; }
.chmr-card-tab { position: absolute; top: -12px; left: 20px; font-size: 9px; font-weight: bold; background: #2d1e18; color: #f6f1e5; padding: 2px 10px; border-radius: 4px 4px 0 0; text-transform: uppercase; }
.chmr-index-card:hover .chmr-card-tab { background: #a64a3c; }
.chmr-img-box { height: 160px; border: 1px solid #2d1e18; background: #ffffff; display: flex; align-items: center; justify-content: center; padding: 10px; margin-bottom: 20px; }
.chmr-index-card:hover .chmr-img-box { border-color: #a64a3c; }
.chmr-img-box img { max-width: 90%; max-height: 90%; object-fit: contain; filter: sepia(20%) contrast(90%); }
.chmr-card-title { font-size: 15px; font-weight: bold; color: #2d1e18; margin: 0 0 15px 0; line-height: 1.4; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.chmr-card-bottom { display: flex; justify-content: space-between; align-items: center; margin-top: auto; border-top: 1px dashed #2d1e18; padding-top: 15px; }
.chmr-index-card:hover .chmr-card-bottom { border-top-color: #a64a3c; }
.chmr-badge { font-size: 11px; padding: 3px 8px; border: 1px solid #2d1e18; font-weight: bold; text-transform: uppercase; }
.chmr-index-card:hover .chmr-badge { border-color: #a64a3c; }
.chmr-b-auto { color: #a64a3c; border-color: #a64a3c; }
.chmr-b-hand { color: #2d1e18; }
.chmr-price { color: #2d1e18; font-size: 18px; font-weight: bold; }
/* 详情页重构：学者手账分栏排版 */
.chmr-detail-split { display: flex; gap: 40px; }
.chmr-left-panel { width: 40%; }
.chmr-right-panel { width: 60%; border-left: 1px solid rgba(45, 45, 45, 0.2); padding-left: 40px; box-sizing: border-box; }
.chmr-specimen-box { border: 1px solid #2d1e18; padding: 15px; background: #ffffff; box-shadow: 6px 6px 0px #2d1e18; }
.chmr-specimen-box img { width: 100%; height: auto; }
.chmr-dt-title { font-size: 26px; font-weight: bold; color: #2d1e18; margin-bottom: 25px; line-height: 1.3; border-bottom: 3px double #2d1e18; padding-bottom: 15px; }
.chmr-ledger-price-box { display: flex; gap: 40px; border-bottom: 1px dashed rgba(45,45,45,0.3); padding-bottom: 25px; margin-bottom: 30px; }
.chmr-box-label { display: block; font-size: 11px; color: #8a7a6e; text-transform: uppercase; letter-spacing: 1.5px; margin-bottom: 5px; font-weight: bold; }
.chmr-box-val { font-size: 28px; font-weight: bold; color: #2d1e18; }
.chmr-group { margin-bottom: 20px; }
.chmr-label { display: block; font-size: 12px; color: #2d1e18; font-weight: bold; margin-bottom: 8px; text-transform: uppercase; letter-spacing: 1px; }
.chmr-input { width: 100%; box-sizing: border-box; background: transparent; border: 1px solid #2d1810; color: #2d1e18; padding: 15px 20px; border-radius: 0; font-size: 15px; outline: none; transition: 0.3s; font-family: inherit; }
.chmr-input:focus { border-color: #a64a3c; background: #faf8f3; }
.chmr-btn-action { width: 100%; background: #2d1e18; color: #f6f1e5; border: none; padding: 18px; font-size: 15px; font-weight: bold; cursor: pointer; transition: 0.3s; font-family: inherit; text-transform: uppercase; letter-spacing: 2px; }
.chmr-btn-action:hover { background: #4e3525; }
.chmr-btn-action:disabled { background: #dcd7d2; color: #a59e97; cursor: not-allowed; }
.chmr-desc-deck { border-top: 3px double #2d1e18; padding-top: 40px; margin-top: 50px; }
.chmr-desc-title { font-size: 15px; color: #a64a3c; font-weight: bold; margin-bottom: 20px; text-transform: uppercase; }
.chmr-desc-content { font-size: 14px; color: #2d1e18; line-height: 1.8; text-align: justify; }
/* 极简检索面板 */
.chmr-q-tabs { display: flex; border: 1px solid #2d1e18; background: #ffffff; padding: 4px; margin-bottom: 35px; }
.chmr-q-tabs a { flex: 1; text-align: center; padding: 12px; color: #8a7a6e; font-weight: bold; text-decoration: none; font-size: 13px; transition: 0.3s; }
.chmr-q-tabs a.active, .chmr-q-tabs a:hover { background: #2d1e18; color: #f6f1e5; }
.chmr-deck-table { width: 100%; border-collapse: collapse; border-top: 2px solid #2d1e18; }
.chmr-deck-table th, .chmr-deck-table td { padding: 18px; border-bottom: 1px solid #2d1e18; text-align: left; }
.chmr-deck-table th { color: #8a7a6e; font-size: 12px; text-transform: uppercase; }
.chmr-deck-table td { color: #2d1e18; font-weight: bold; }
.chmr-footer { border-top: 1px solid #2d1e18; margin-top: 80px; padding-top: 30px; text-align: center; font-size: 11px; color: #8a7a6e; text-transform: uppercase; letter-spacing: 1px; }
@media (max-width: 900px) {
    .chmr-detail-split { flex-direction: column; }
    .chmr-dt-visual, .chmr-dt-form { width: 100%; padding: 0; border: none; }
    .chmr-drawer-header { flex-direction: column; gap: 20px; }
    .chmr-menu { flex-wrap: wrap; justify-content: center; }
}
