:root {
  --bg: #ffffff;
  --soft: #f4f4f2;
  --soft-2: #ebebe8;
  --ink: #0b0b0c;
  --ink-2: #4a4a4f;
  --muted: #8a8a90;
  --line: #ececea;
  --accent: #ff5a1f;
  --accent-soft: #fff0ea;
  --sans: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans CJK SC", sans-serif;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --shadow: 0 1px 2px rgba(0, 0, 0, .08), 0 10px 22px -10px rgba(0, 0, 0, .3);
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 15px/1.6 var(--sans); }
h1, h2, h3, p, dl, dd { margin: 0; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; color: inherit; }
img { display: block; }
mark { background: var(--accent-soft); color: var(--accent); padding: 0 3px; border-radius: 3px; }
svg { width: 18px; height: 18px; flex-shrink: 0; }
:focus-visible { outline: 2.5px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
.page { width: min(1200px, calc(100% - 64px)); margin-inline: auto; }
.skip-link { position: absolute; left: -999px; }
.skip-link:focus { left: 12px; top: 12px; z-index: 99; background: var(--ink); color: #fff; padding: 8px 14px; border-radius: 8px; }

/* ---- 顶栏 ---- */
.top { position: sticky; top: 0; z-index: 30; background: rgba(255, 255, 255, .88); backdrop-filter: saturate(1.6) blur(14px); border-bottom: 1px solid var(--line); }
.top-inner { width: min(1200px, calc(100% - 64px)); margin: auto; height: 64px; display: flex; align-items: center; gap: 28px; }
.logo { flex-shrink: 0; white-space: nowrap; display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 16px; line-height: 1.15; }
.logo i { width: 32px; height: 32px; border-radius: 9px; background: var(--ink); color: #fff; display: grid; place-items: center; font-style: normal; font-size: 15px; }
.logo small { display: block; font-size: 11px; font-weight: 500; color: var(--muted); letter-spacing: 2px; }
.tabs { display: flex; flex-shrink: 0; gap: 4px; }
.tabs a { padding: 6px 14px; border-radius: 999px; color: var(--ink-2); font-weight: 600; white-space: nowrap; transition: background .2s; }
.tabs a:hover { background: var(--soft); }
.tabs a.on { background: var(--ink); color: #fff; }
.top-search { margin-left: auto; display: flex; align-items: center; gap: 8px; background: var(--soft); border-radius: 999px; height: 40px; padding: 0 14px; width: 260px; color: var(--muted); transition: background .2s, box-shadow .2s; }
.top-search:focus-within { background: #fff; box-shadow: 0 0 0 1.5px var(--ink); }
.top-search input { border: 0; outline: 0; background: transparent; width: 100%; color: var(--ink); }

#view.enter { animation: enter .45s var(--ease); }
@keyframes enter { from { opacity: 0; transform: translateY(10px); } }

/* ---- 首页 ---- */
.search-hero { padding: 48px 0 8px; text-align: center; }
.big-search { max-width: 640px; margin: 0 auto; height: 60px; display: flex; align-items: center; gap: 12px; padding: 0 22px; background: var(--soft); border-radius: 999px; color: var(--muted); transition: background .2s, box-shadow .2s, transform .2s var(--ease); }
.big-search svg { width: 22px; height: 22px; }
.big-search:focus-within { background: #fff; box-shadow: 0 0 0 2px var(--ink), 0 18px 40px -20px rgba(0, 0, 0, .35); transform: translateY(-2px); }
.big-search input { flex: 1; border: 0; outline: 0; background: transparent; font-size: 17px; color: var(--ink); min-width: 0; }
.hot { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.hot a { font-size: 13px; padding: 4px 12px; border-radius: 999px; color: var(--ink-2); background: var(--soft); transition: background .2s, color .2s; }
.hot a:hover { background: var(--accent-soft); color: var(--accent); }

.mod { margin-top: 52px; }
.mod-head { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; }
.mod-head h2 { font-size: 22px; font-weight: 800; letter-spacing: -.5px; display: flex; align-items: baseline; gap: 8px; }
.mod-head h2 small { font-size: 13px; font-weight: 500; color: var(--muted); }
.more { margin-left: auto; font-size: 14px; color: var(--muted); font-weight: 500; transition: color .2s; }
.more:hover { color: var(--accent); }
.arrows { margin-left: auto; display: flex; gap: 6px; }
.arrows + .more { margin-left: 8px; }
.arrows button { width: 30px; height: 30px; border-radius: 50%; border: 0; background: var(--soft); cursor: pointer; font-size: 18px; line-height: 1; transition: background .2s; }
.arrows button:hover { background: var(--ink); color: #fff; }
.arrows[hidden] { display: none; }
.arrows[hidden] + .more { margin-left: auto; }


/* 难度：五级台阶 */
.ladder { display: inline-flex; align-items: flex-end; gap: 3px; height: 18px; }
.ladder i { width: 6px; border-radius: 2px; background: #d9d9d5; }
.ladder i:nth-child(1) { height: 6px; } .ladder i:nth-child(2) { height: 9px; } .ladder i:nth-child(3) { height: 12px; }
.ladder i:nth-child(4) { height: 15px; } .ladder i:nth-child(5) { height: 18px; }
.ladder i.on { background: var(--accent); }
.h1-note { font-size: 15px; font-weight: 500; color: var(--muted); letter-spacing: 0; margin-left: 10px; }
.d-level { display: inline-flex; align-items: flex-end; gap: 8px; }
.d-level:hover { color: var(--accent); }

/* 横向书行 */
.row { display: grid; grid-auto-flow: column; grid-auto-columns: 140px; gap: 22px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 6px 2px 12px; scrollbar-width: none; scroll-padding-left: 2px; }
.row::-webkit-scrollbar { display: none; }
.row.big { grid-auto-columns: 176px; gap: 26px; }
.row .card { scroll-snap-align: start; }

.card { display: block; }
.card .cv { aspect-ratio: 5 / 7; display: flex; align-items: flex-end; perspective: 700px; }
.card .cv img, .card .cv .cover-text { width: 100%; max-height: 100%; object-fit: contain; object-position: bottom; border-radius: 4px; box-shadow: var(--shadow); transition: transform .35s var(--ease), box-shadow .35s; transform: rotateX(var(--rx, 0)) rotateY(var(--ry, 0)); }
.card .cv img { width: auto; max-width: 100%; margin: 0 auto; }
.card:hover .cv img, .card:hover .cover-text { box-shadow: 0 2px 4px rgba(0, 0, 0, .08), 0 22px 34px -12px rgba(0, 0, 0, .38); }
.card .cv.tilt img, .card .cv.tilt .cover-text { transition: transform .08s linear, box-shadow .35s; transform: translateY(-6px) rotateX(var(--rx)) rotateY(var(--ry)); }
.card .t { margin-top: 12px; font-size: 14px; font-weight: 600; line-height: 1.45; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.card .m { margin-top: 3px; font-size: 12.5px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.card:hover .t { color: var(--accent); }

.cover-text { aspect-ratio: 5 / 7; height: auto; background: var(--soft-2); padding: 16% 12%; display: flex; flex-direction: column; justify-content: space-between; border-top: 4px solid var(--accent); }
.cover-text b { font-size: 13.5px; line-height: 1.5; font-weight: 700; }
.cover-text span { font-size: 11px; color: var(--muted); }

/* 两两并排的系列卡（参考微信读书的榜单卡，但不排名次） */
.pair { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.lcard { background: var(--soft); border-radius: 22px; padding: 22px 22px 10px; }
.lcard-head { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 14px; }
.lcard-head h3 { font-size: 20px; font-weight: 800; letter-spacing: -.5px; }
.lcard-head span { font-size: 13px; color: var(--muted); transition: color .2s; }
.lcard-head:hover span { color: var(--accent); }
.lcard-list { display: grid; grid-template-columns: 1fr 1fr; gap: 4px 18px; }
.litem { display: grid; grid-template-columns: 54px 1fr; gap: 12px; align-items: center; padding: 10px 0; border-radius: 12px; transition: transform .25s var(--ease); }
.litem:hover { transform: translateX(4px); }
.litem .cv img, .litem .cv .cover-text { width: 54px; border-radius: 3px; box-shadow: var(--shadow); }
.litem .cover-text { padding: 6px; border-top-width: 3px; }
.litem .cover-text b { font-size: 8px; }
.litem .cover-text span { display: none; }
.litem .t { font-size: 13.5px; font-weight: 600; line-height: 1.45; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.litem:hover .t { color: var(--accent); }
.litem .m { font-size: 12px; color: var(--muted); margin-top: 2px; }

.subjects { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 12px; }
.subject { height: 92px; background: var(--soft); border-radius: 18px; padding: 16px 18px; display: flex; justify-content: space-between; overflow: hidden; position: relative; transition: background .2s; }
.subject b { display: block; font-size: 18px; font-weight: 800; }
.subject small { font-size: 12.5px; color: var(--muted); }
.subject img { height: 82px; border-radius: 3px; box-shadow: var(--shadow); transform: rotate(12deg) translate(6px, 12px); transition: transform .35s var(--ease); }
.subject:hover { background: var(--soft-2); }
.subject:hover img { transform: rotate(4deg) translate(0, 2px); }

/* ---- 列表页 ---- */
.phead { padding: 36px 0 6px; }
.crumbs { font-size: 13px; color: var(--muted); margin-bottom: 4px; }
.crumbs a:hover { color: var(--accent); }
.phead h1 { font-size: clamp(30px, 4vw, 44px); font-weight: 800; letter-spacing: -1.5px; display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.phead h1 small { font-size: 15px; font-weight: 500; color: var(--muted); letter-spacing: 0; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.chip { padding: 6px 14px; border-radius: 999px; background: var(--soft); font-size: 14px; color: var(--ink-2); display: inline-flex; gap: 6px; align-items: baseline; transition: background .2s; }
.chip small { font-size: 12px; color: var(--muted); }
.chip:hover { background: var(--soft-2); }
.chip.on { background: var(--ink); color: #fff; }
.chip.on small { color: #bbb; }
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 34px 24px; margin: 30px 0 80px; }
.empty { margin: 40px 0 100px; padding: 56px; background: var(--soft); border-radius: 22px; text-align: center; font-size: 20px; font-weight: 700; }
.empty small { font-size: 14px; font-weight: 400; color: var(--muted); }

/* 难度与年级选书：筛选先行，按学科或系列分组阅读 */
.browse-page .browse-panel { margin-top: 24px; padding: 8px 24px; border: 1px solid var(--line); border-radius: 20px; background: #fafaf8; }
.browse-page .browse-filter { display: grid; grid-template-columns: 48px minmax(0, 1fr); gap: 16px; align-items: start; padding: 16px 0; }
.browse-page .browse-filter + .browse-filter { border-top: 1px solid var(--line); }
.browse-page .browse-filter h2 { padding-top: 8px; color: #65656b; font-size: 14px; font-weight: 500; line-height: 22px; }
.browse-page .browse-filter-options { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; min-width: 0; }
.browse-page .browse-filter-options .chips { gap: 8px; margin: 0; min-width: 0; }
.browse-page .browse-filter-options .chip { min-height: 38px; max-width: 100%; padding: 7px 14px; border: 1px solid #e5e5e1; background: #fff; color: var(--ink-2); font-size: 14px; line-height: 22px; align-items: center; white-space: normal; overflow-wrap: anywhere; }
.browse-page .browse-filter-options .chip small { color: #69696e; font-size: 12px; white-space: nowrap; }
.browse-page .browse-filter-options .chip:hover { background: var(--soft-2); border-color: var(--soft-2); }
.browse-page .browse-filter-options .chip.on { background: var(--ink); border-color: var(--ink); color: #fff; font-weight: 600; }
.browse-page .browse-filter-options .chip.on small { color: #d2d2d5; }
.browse-page .browse-grade-chips { display: flex; flex-wrap: wrap; gap: 8px; min-width: 0; }
.browse-page .browse-grade-select { display: none; }
.browse-page .browse-results-head { display: flex; align-items: baseline; justify-content: space-between; flex-wrap: wrap; gap: 8px 24px; margin: 24px 0; }
.browse-page .browse-results-head p { color: var(--ink-2); font-size: 14px; line-height: 1.6; }
.browse-page .browse-results-head b { margin-right: 4px; color: var(--ink); font-size: 20px; font-weight: 700; font-variant-numeric: tabular-nums; }
.browse-page .browse-results-head p span { display: inline-block; margin-left: 12px; color: #65656b; font-size: 12px; }
.browse-page .browse-results-head > a, .browse-page .browse-group-head > a { flex: 0 0 auto; color: var(--ink-2); font-size: 14px; line-height: 1.6; }
.browse-page .browse-results-head > a:hover, .browse-page .browse-group-head > a:hover { color: #c43b09; }
.browse-page .browse-groups { margin-bottom: 80px; }
.browse-page .browse-group { min-width: 0; }
.browse-page .browse-group + .browse-group { margin-top: 48px; padding-top: 32px; border-top: 1px solid var(--line); }
.browse-page .browse-group-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px 24px; margin-bottom: 24px; }
.browse-page .browse-group-head h2 { min-width: 0; color: var(--ink); font-size: 22px; font-weight: 700; line-height: 1.45; letter-spacing: -.4px; overflow-wrap: anywhere; }
.browse-page .browse-group-head h2 small { display: inline-block; margin-left: 10px; color: #65656b; font-size: 13px; font-weight: 400; letter-spacing: 0; white-space: nowrap; }
.browse-page .browse-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 32px 24px; min-width: 0; }
.browse-page .browse-grid .card { display: flex; flex-direction: column; min-width: 0; background: transparent; border: 0; border-radius: 0; box-shadow: none; }
.browse-page .browse-grid .card .cv { width: 100%; aspect-ratio: 5 / 7; min-width: 0; min-height: 0; justify-content: center; perspective: none; }
.browse-page .browse-grid .card .cv img { width: auto; height: 100%; max-width: 100%; max-height: 100%; object-fit: contain; object-position: bottom center; }
.browse-page .browse-grid .card .cv img, .browse-page .browse-grid .card .cv .cover-text { transform: none; transition: box-shadow .2s; }
.browse-page .browse-grid .card:hover .cv img, .browse-page .browse-grid .card:hover .cv .cover-text { box-shadow: var(--shadow); }
.browse-page .browse-grid .card .cv .cover-text { height: 100%; min-height: 0; }
.browse-page .browse-grid .cover-text b { display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }
.browse-page .browse-grid .cover-text span { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.browse-page .browse-grid .card .t { flex: 0 0 auto; height: 3.1em; min-height: 3.1em; margin-top: 12px; font-size: 14px; font-weight: 600; line-height: 1.55; overflow-wrap: anywhere; }
.browse-page .browse-grid .card:hover .t { color: #c43b09; }
.browse-page .browse-grid .card .m { flex: 0 0 auto; height: 1.6em; margin-top: 4px; color: #65656b; font-size: 12px; line-height: 1.6; }
.browse-page .browse-more { margin-top: 24px; }
.browse-page .browse-more > summary { display: flex; align-items: center; justify-content: center; gap: 8px; width: fit-content; max-width: 100%; min-height: 44px; margin: 0 auto; padding: 10px 24px; border: 1px solid #e5e5e1; border-radius: 999px; background: #fff; color: var(--ink-2); font-size: 14px; font-weight: 500; line-height: 22px; text-align: center; cursor: pointer; list-style: none; }
.browse-page .browse-more > summary::-webkit-details-marker { display: none; }
.browse-page .browse-more > summary::marker { content: ''; }
.browse-page .browse-more > summary:hover { border-color: #d4d4ce; background: var(--soft); color: var(--ink); }
.browse-page .browse-more > summary i { flex: 0 0 auto; font-size: 16px; font-style: normal; line-height: 1; }
.browse-page .browse-more > summary .browse-more-open { display: none; }
.browse-page .browse-more[open] > summary { margin-bottom: 24px; background: var(--soft); }
.browse-page .browse-more[open] > summary .browse-more-closed { display: none; }
.browse-page .browse-more[open] > summary .browse-more-open { display: inline; }
.browse-page .browse-more[open] > summary i { transform: rotate(180deg); }
.browse-page .browse-filter-hint { display: none; }
@media (max-width: 900px) {
  .browse-page .browse-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px 24px; }
  .browse-page .browse-panel { padding-inline: 16px; }
}
@media (max-width: 640px) {
  .browse-page .browse-panel { margin-top: 16px; padding: 0 16px; border-radius: 16px; }
  .browse-page .browse-filter { grid-template-columns: 32px minmax(0, 1fr); gap: 8px; padding-block: 12px; }
  .browse-page .browse-filter h2 { padding-top: 11px; font-size: 14px; }
  .browse-page .browse-filter-options .chip { min-height: 44px; padding: 10px 12px; font-size: 14px; }
  .browse-page .browse-filter-options .chips { flex-wrap: nowrap; overflow-x: auto; overflow-y: hidden; padding-bottom: 4px; scrollbar-width: none; }
  .browse-page .browse-filter-options .chips::-webkit-scrollbar { display: none; }
  .browse-page .browse-filter-options .chip { flex: 0 0 auto; }
  .browse-page .browse-filter-hint { display: block; margin: 0; padding: 0 0 12px 40px; color: #65656b; font-size: 12px; line-height: 1.5; }
  .browse-page .browse-grade-chips { display: none; }
  .browse-page .browse-grade-select { display: block; width: min(100%, 280px); min-width: 0; min-height: 44px; padding: 8px 12px; border: 1px solid #d4d4ce; border-radius: 10px; background: #fff; color: var(--ink); font: inherit; font-size: 16px; line-height: 1.5; }
  .browse-page .browse-results-head { align-items: center; gap: 8px 16px; margin: 16px 0 24px; }
  .browse-page .browse-results-head p span { display: block; margin-left: 0; margin-top: 4px; }
  .browse-page .browse-results-head > a, .browse-page .browse-group-head > a { display: inline-flex; align-items: center; min-height: 44px; }
  .browse-page .browse-groups { margin-bottom: 48px; }
  .browse-page .browse-group + .browse-group { margin-top: 32px; padding-top: 24px; }
  .browse-page .browse-group-head { gap: 8px 16px; margin-bottom: 16px; }
  .browse-page .browse-group-head h2 { font-size: 20px; letter-spacing: -.2px; }
  .browse-page .browse-group-head h2 small { margin-left: 8px; font-size: 12px; }
  .browse-page .browse-group-head > a { font-size: 13px; }
  .browse-page .browse-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px 12px; }
  .browse-page .browse-grid .card .t { margin-top: 8px; font-size: 13px; }
  .browse-page .browse-grid .card .m { font-size: 12px; }
  .browse-page .browse-more { margin-top: 16px; }
  .browse-page .browse-more > summary { width: 100%; padding-inline: 16px; }
}

.series-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; margin: 28px 0 80px; }
.scard { background: var(--soft); border-radius: 22px; padding: 22px; overflow: hidden; transition: background .2s; }
.scard:hover { background: var(--soft-2); }
.scard .stack { height: 170px; display: flex; justify-content: center; align-items: flex-end; margin-bottom: 16px; }
.scard .stack img { height: 140px; border-radius: 3px; box-shadow: var(--shadow); margin-left: -46px; transition: transform .4s var(--ease); }
.scard .stack img:first-child { margin-left: 0; transform: rotate(-8deg) translateY(4px); }
.scard .stack img:nth-child(2) { position: relative; z-index: 2; }
.scard .stack img:nth-child(3) { transform: rotate(8deg) translateY(4px); }
.scard:hover .stack img:first-child { transform: rotate(-14deg) translate(-16px, 6px); }
.scard:hover .stack img:nth-child(2) { transform: translateY(-8px); }
.scard:hover .stack img:nth-child(3) { transform: rotate(14deg) translate(16px, 6px); }
.scard .stack .cover-text { flex: none; width: 100px; height: 140px; aspect-ratio: auto; padding: 14px 12px; border-radius: 3px; box-shadow: var(--shadow); }
.scard .stack .cover-text b { font-size: 12px; }
.scard h3 { font-size: 18px; font-weight: 800; }

/* 更多系列：按学段分组 */
.sgroup { margin-top: 26px; }
/* 新书页：按系列分组，组之间用细线隔开 */
.newgroup { border-top: 1px solid var(--line); padding-top: 22px; margin-top: 22px; }
.newgroup-head { display: flex; align-items: baseline; gap: 12px; }
.newgroup-head h2 { font-size: 22px; font-weight: 800; letter-spacing: -.5px; }
.newgroup-head small { font-size: 13px; color: var(--muted); }
.newgroup .grid { margin: 18px 0 18px; }
.sgroup > h3 { font-size: 13px; font-weight: 700; color: var(--muted); margin-bottom: 10px; letter-spacing: 1px; }
.sgroup > h2 { font-size: 24px; font-weight: 800; letter-spacing: -.5px; display: flex; align-items: baseline; gap: 10px; margin-top: 18px; }
.sgroup > h2 small { font-size: 13px; font-weight: 500; color: var(--muted); }
.sgroup .series-grid { margin: 16px 0 24px; }
.srow { display: grid; grid-auto-flow: column; grid-auto-columns: 210px; gap: 14px; overflow-x: auto; scrollbar-width: none; padding-bottom: 6px; scroll-snap-type: x proximity; }
.srow::-webkit-scrollbar { display: none; }
.srow .scard { scroll-snap-align: start; padding: 18px; }
.srow .scard .stack { height: 130px; margin-bottom: 12px; }
.srow .scard .stack img { height: 108px; margin-left: -38px; }
.srow .scard .stack .cover-text { width: 78px; height: 108px; padding: 10px 8px; }
.srow .scard .stack .cover-text b { font-size: 10.5px; }
.srow .scard h3 { font-size: 16px; }
.scard p { font-size: 13px; color: var(--muted); }

/* ---- 单书页 ---- */
.detail { display: grid; grid-template-columns: 400px 1fr; gap: 64px; padding-top: 40px; align-items: start; }
.d-cover { position: relative; overflow: hidden; background: radial-gradient(circle at 50% 42%, #fff 0, rgba(255, 255, 255, 0) 62%), radial-gradient(#dcdcd7 1px, transparent 1.2px) 0 0 / 16px 16px, var(--soft); border-radius: 28px; padding: 56px 0 64px; display: flex; justify-content: center; perspective: 1200px; }
.d-cover::after { content: ''; position: absolute; left: 50%; bottom: 34px; width: 210px; height: 22px; transform: translateX(-50%); background: radial-gradient(closest-side, rgba(0, 0, 0, .18), transparent); pointer-events: none; }
.book3d { width: 220px; position: relative; transform-style: preserve-3d; transform: rotateY(calc(-18deg + var(--ry, 0deg))) rotateX(var(--rx, 0deg)); transition: transform .5s var(--ease); }
.d-cover.tilt .book3d { transition: transform .1s linear; }
.book3d .front { position: relative; transform: translateZ(12px); }
.book3d .front img, .book3d .front .cover-text { width: 100%; border-radius: 2px 5px 5px 2px; box-shadow: 18px 26px 40px -14px rgba(0, 0, 0, .45); }
.book3d .front .cover-text b { font-size: 20px; }
.book3d .spine { position: absolute; top: 0; bottom: 0; left: -12px; width: 24px; transform: rotateY(-90deg); background: linear-gradient(90deg, #2a2a2e, #55555c 45%, #2a2a2e); }
.d-series { font-size: 13px; font-weight: 600; color: var(--accent); }
.d-info h1 { font-size: clamp(28px, 3.4vw, 40px); font-weight: 800; letter-spacing: -1px; line-height: 1.3; margin-top: 8px; }
.d-author { color: var(--ink-2); margin-top: 6px; }
.d-cover-note { display: inline-block; margin-top: 10px; padding: 5px 10px; border-radius: 6px; background: var(--soft); color: var(--muted); font-size: 12.5px; line-height: 1.7; overflow-wrap: anywhere; }
.d-intro-brief { margin-top: 22px; max-width: 44em; padding-left: 16px; border-left: 3px solid var(--accent); }
.d-intro-brief h2 { font-size: 12.5px; font-weight: 700; color: var(--accent); letter-spacing: 1px; margin-bottom: 6px; }
.d-intro-brief p { color: #2c2c30; font-size: 15.5px; line-height: 1.9; text-wrap: pretty; }
.d-intro-brief p + p { margin-top: 8px; }
.d-facts { display: flex; flex-wrap: wrap; gap: 12px 26px; margin-top: 26px; padding: 18px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.d-facts dt { font-size: 12px; color: var(--muted); }
.d-facts:last-child { border-bottom: 0; padding-bottom: 0; }
.d-facts dd { font-weight: 700; font-variant-numeric: tabular-nums; }
.d-facts dd a:not(.d-level) { border-bottom: 1.5px solid var(--soft-2); transition: color .2s, border-color .2s; }
.d-facts dd a:hover { color: var(--accent); border-color: var(--accent); }
.d-topics { margin-top: 24px; display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.d-topics p { width: 100%; font-size: 12.5px; color: var(--muted); margin-bottom: 2px; display: flex; gap: 10px; align-items: baseline; }
.d-topics p small { font-size: 12px; color: #b4b4b8; }
.d-topics a i { font-style: normal; color: var(--accent); margin-right: 3px; font-weight: 700; }
.d-topics a { padding: 7px 14px; border-radius: 10px; background: var(--soft); font-weight: 600; font-size: 14px; transition: background .2s, color .2s; }
.d-topics a:hover { background: var(--accent-soft); color: var(--accent); }

/* 书页正文：内容先于推荐，作者资料独立呈现 */
.d-reading { margin-top: 52px; padding-top: 36px; border-top: 1px solid var(--line); }
.d-reading.has-authors { display: grid; grid-template-columns: minmax(0, 1fr) 280px; gap: 64px; align-items: start; }
.d-reading-main { min-width: 0; max-width: 860px; }
.d-section + .d-section { margin-top: 36px; padding-top: 30px; border-top: 1px solid var(--line); }
.d-section h2, .d-author-panel > h2 { font-size: 21px; font-weight: 800; letter-spacing: -.5px; line-height: 1.4; margin-bottom: 18px; display: flex; align-items: center; gap: 10px; }
.d-section h2::before { content: ''; width: 4px; height: 18px; border-radius: 2px; background: var(--accent); }
.d-section h2 small { font-size: 13px; font-weight: 500; color: var(--muted); letter-spacing: 0; }
.d-introduction { font-size: 16px; line-height: 1.95; color: var(--ink-2); }
.d-introduction h2 { color: var(--ink); }
.d-introduction p + p { margin-top: 12px; }
.d-features { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.d-features article { position: relative; background: var(--soft); border-radius: 16px; padding: 20px 22px; overflow: hidden; transition: background .2s, transform .25s var(--ease); }
.d-features article:hover { background: var(--soft-2); transform: translateY(-2px); }
.d-features article > i { position: absolute; right: 16px; top: 8px; font: italic 800 34px/1 var(--sans); color: #fff; letter-spacing: -1px; pointer-events: none; }
.d-features:has(article:only-child) { grid-template-columns: minmax(0, 1fr); }
@media (min-width: 901px) { .d-features:has(> article:nth-child(3):last-child) { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.d-features h3 { font-size: 16px; font-weight: 700; line-height: 1.5; margin-bottom: 7px; }
.d-features h3 { position: relative; padding-right: 40px; }
.d-features p { color: var(--ink-2); font-size: 14px; line-height: 1.8; }
.d-outline { padding: 0; margin: 0; list-style: none; counter-reset: outline; }
.d-outline[start] { counter-reset: outline 8; }
.d-outline li { display: grid; grid-template-columns: 32px minmax(0, 1fr); gap: 8px; padding: 13px 0; counter-increment: outline; }
.d-outline li + li { border-top: 1px solid var(--line); }
.d-outline li::before { content: counter(outline, decimal-leading-zero); color: var(--accent); font-size: 12px; font-weight: 600; line-height: 25px; font-variant-numeric: tabular-nums; }
.d-outline li span { font-weight: 600; font-size: 15px; }
.d-outline li p { color: var(--ink-2); font-size: 14px; line-height: 1.8; margin-top: 3px; }
.d-outline.compact { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0 24px; }
.d-outline.compact li { padding: 10px 0; border-top: 1px solid var(--line); }
.d-outline.compact li span { font-size: 14.5px; }
.d-outline-more { border-top: 1px solid var(--line); }
.d-outline-more summary { cursor: pointer; color: var(--muted); font-size: 14px; font-weight: 600; padding: 14px 0; list-style-position: inside; }
.d-outline-more summary:hover { color: var(--accent); }
.d-outline-more[open] summary { border-bottom: 1px solid var(--line); }
.d-guide-card { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); border: 1px solid var(--line); border-radius: 20px; overflow: hidden; }
.d-guide-card > div:only-child { grid-column: 1 / -1; }
.d-guide-card h3 { font-size: 13px; font-weight: 700; color: var(--muted); letter-spacing: 1px; margin-bottom: 12px; }
.d-guide-who { background: var(--accent-soft); padding: 22px 24px; }
.d-guide-who h3 { color: var(--accent); }
.d-guide-who p { font-size: 15px; font-weight: 600; line-height: 1.8; color: var(--ink); }
.d-guide-who p + p { margin-top: 10px; padding-top: 10px; border-top: 1px dashed #f6c9b5; }
.d-guide-how { padding: 22px 24px; }
.d-guide-how ol { list-style: none; margin: 0; padding: 0; counter-reset: step; }
.d-guide-how li { position: relative; padding-left: 38px; font-size: 14px; line-height: 1.85; color: var(--ink-2); counter-increment: step; }
.d-guide-how li + li { margin-top: 14px; }
.d-guide-how li::before { content: counter(step); position: absolute; left: 0; top: 1px; width: 24px; height: 24px; border-radius: 50%; background: var(--ink); color: #fff; font-size: 12px; font-weight: 700; display: grid; place-items: center; line-height: 1; }
.d-guide-how li:not(:last-child)::after { content: ''; position: absolute; left: 11.5px; top: 30px; bottom: -12px; width: 1px; background: var(--soft-2); }
.d-purchase-copy h3 { color: var(--muted); font-size: 13px; font-weight: 700; letter-spacing: .5px; margin-bottom: 8px; }
.d-purchase-copy p { font-size: 15px; line-height: 1.9; color: var(--ink-2); }
.d-purchase-copy p + p { margin-top: 8px; }
.d-purchase-copy + .d-purchase-copy { margin-top: 22px; }
.d-purchase-boundary { padding-left: 14px; border-left: 2px solid var(--soft-2); }
.d-faq { margin-top: 24px; border-top: 1px solid var(--line); }
.d-faq details { border-bottom: 1px solid var(--line); }
.d-faq summary { display: flex; align-items: baseline; justify-content: space-between; gap: 18px; cursor: pointer; list-style: none; padding: 17px 0; font-size: 15px; font-weight: 600; line-height: 1.7; }
.d-faq summary::-webkit-details-marker { display: none; }
.d-faq summary::after { content: '+'; flex: 0 0 auto; color: var(--muted); font-size: 19px; font-weight: 400; line-height: 1.4; }
.d-faq details[open] summary::after { content: '−'; }
.d-faq summary:hover { color: var(--accent); }
.d-faq details > div { padding: 0 28px 18px 0; color: var(--ink-2); font-size: 14px; line-height: 1.9; }
.d-faq details > div p + p { margin-top: 8px; }
.d-purchase-copy, .d-faq { overflow-wrap: anywhere; }
.d-author-panel { background: var(--soft); border-radius: 20px; padding: 24px; min-width: 0; }
.d-reading:not(.has-authors) .d-author-panel { max-width: 860px; }
.d-author-panel > h2 { font-size: 17px; margin-bottom: 24px; }
.d-author-profile + .d-author-profile { margin-top: 24px; padding-top: 24px; border-top: 1px solid #dededb; }
.d-author-name { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; }
.d-author-name > span { display: grid; place-items: center; width: 38px; height: 38px; flex: 0 0 auto; background: #fff; box-shadow: inset 0 0 0 1.5px var(--accent); border-radius: 50%; font-size: 14px; font-weight: 700; color: var(--accent); }
.d-author-name h3 { margin: 0; font-size: 17px; font-weight: 700; line-height: 1.4; }
.d-author-bio { font-size: 14px; line-height: 1.9; color: var(--ink-2); overflow-wrap: anywhere; }
.d-author-bio p + p { margin-top: 9px; }
.d-source-note { color: var(--muted); font-size: 12px; line-height: 1.8; margin-top: 32px; }
.d-source-note > div { display: flex; gap: 8px 18px; flex-wrap: wrap; margin-top: 5px; }
.d-source-note a:hover { color: var(--accent); }
.d-reading-main, .d-features article, .d-outline li > div, .d-guide-card > div { overflow-wrap: anywhere; }

/* ---- 名师 ---- */
.teachers-lead { max-width: 52em; margin-top: 12px; color: var(--ink-2); font-size: 16px; line-height: 1.85; }
.teacher-search { display: flex; align-items: center; gap: 10px; width: min(560px, 100%); min-width: 0; margin: 24px 0; padding: 7px 8px 7px 16px; background: var(--soft); border-radius: 15px; color: var(--muted); transition: background .2s, box-shadow .2s; }
.teacher-search:focus-within { background: #fff; box-shadow: 0 0 0 1.5px var(--ink); }
.teacher-search input { flex: 1; min-width: 0; width: 100%; padding: 5px 0; border: 0; outline: 0; background: transparent; color: var(--ink); }
.teacher-search button { flex: 0 0 auto; border: 0; border-radius: 10px; padding: 7px 16px; background: var(--ink); color: #fff; font-size: 14px; font-weight: 600; cursor: pointer; white-space: nowrap; transition: background .2s; }
.teacher-search button:hover { background: var(--accent); }
.teacher-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin: 30px 0 64px; align-items: stretch; }
.teacher-card { display: flex; flex-direction: column; min-width: 0; padding: 24px; border: 1px solid var(--line); border-radius: 22px; background: #fff; transition: background .2s, border-color .2s; }
.teacher-card:hover { background: var(--soft); border-color: var(--soft-2); }
.teacher-card-head { display: flex; align-items: center; gap: 14px; min-width: 0; }
.teacher-card-head > div { min-width: 0; }
.teacher-avatar { display: grid; place-items: center; flex: 0 0 52px; width: 52px; height: 52px; border-radius: 16px; background: var(--soft); color: var(--ink); font-size: 22px; font-weight: 800; line-height: 1; }
.teacher-card:hover .teacher-avatar { background: #fff; }
.teacher-card-head h2 { font-size: 20px; font-weight: 800; line-height: 1.4; letter-spacing: -.4px; overflow-wrap: anywhere; transition: color .2s; }
.teacher-card:hover h2 { color: var(--accent); }
.teacher-tags { margin-top: 4px; color: var(--muted); font-size: 13px; line-height: 1.7; overflow-wrap: anywhere; }
.teacher-card-bio { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; min-height: 5.55em; margin: 20px 0 24px; color: var(--ink-2); font-size: 14px; line-height: 1.85; overflow-wrap: anywhere; }
.teacher-card-foot { display: flex; align-items: baseline; justify-content: space-between; flex-wrap: wrap; gap: 6px 12px; margin-top: auto; padding-top: 16px; border-top: 1px solid var(--line); color: var(--muted); font-size: 13px; line-height: 1.7; font-variant-numeric: tabular-nums; }
.teacher-card-foot > span:last-child { color: var(--accent); font-weight: 600; }
.teacher-page > .crumbs { margin-top: 36px; }
.teacher-hero { display: grid; grid-template-columns: 88px minmax(0, 1fr); gap: 28px; align-items: start; padding: 30px 0 36px; margin-bottom: 32px; border-bottom: 1px solid var(--line); }
.teacher-hero > .teacher-avatar { width: 88px; height: 88px; border-radius: 24px; font-size: 36px; }
.teacher-hero > div { min-width: 0; }
.teacher-hero h1 { font-size: clamp(32px, 4vw, 48px); font-weight: 800; line-height: 1.25; letter-spacing: -1px; overflow-wrap: anywhere; }
.teacher-hero .teacher-tags { margin-top: 8px; font-size: 14px; }
.teacher-bio { max-width: 52em; margin-top: 22px; color: var(--ink-2); font-size: 16px; line-height: 1.95; overflow-wrap: anywhere; }
.teacher-bio p + p { margin-top: 12px; }
.teacher-book-count { margin-top: 22px; color: var(--muted); font-size: 14px; font-variant-numeric: tabular-nums; }
.teacher-search-results { margin-top: 28px; }
.teacher-search-results > .teacher-grid { margin-top: 18px; margin-bottom: 40px; }
.d-author-name h3 a { text-decoration: underline; text-decoration-color: #d9d9d5; text-underline-offset: 4px; text-decoration-thickness: 1px; }
.d-author-name h3 a:hover { color: var(--accent); text-decoration-color: var(--accent); }
.d-author-books { display: inline-flex; align-items: center; margin-top: 14px; color: var(--accent); font-size: 13px; font-weight: 600; line-height: 1.7; }
.d-author-books:hover { text-decoration: underline; text-underline-offset: 4px; }

.foot { margin-top: 80px; border-top: 1px solid var(--line); padding: 26px 0 64px; font-size: 13px; color: var(--muted); }
.foot .page { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }

/* ---- 窄屏 ---- */
@media (max-width: 900px) {
  .pair { grid-template-columns: 1fr; }
  .series-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .detail { grid-template-columns: 1fr; gap: 28px; }
  .d-cover { padding: 36px 0 48px; }
  .d-outline.compact { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .d-reading.has-authors { grid-template-columns: minmax(0, 1fr); gap: 36px; }
  .d-author-panel { max-width: 860px; }
  .teacher-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .teacher-card { padding: 22px; }
  .teacher-hero { grid-template-columns: 72px minmax(0, 1fr); gap: 24px; }
  .teacher-hero > .teacher-avatar { width: 72px; height: 72px; border-radius: 20px; font-size: 30px; }
}
@media (min-width: 641px) and (max-width: 900px) {
  .top-inner { gap: 14px; }
  .tabs a { padding-inline: 10px; }
  .top-search { flex: 0 1 220px; width: 220px; min-width: 0; }
  .top-search input { min-width: 0; }
}
@media (max-width: 640px) {
  .page, .top-inner { width: calc(100% - 32px); }
  .top-inner { height: auto; flex-wrap: wrap; gap: 6px 12px; padding: 10px 0 8px; }
  .tabs { order: 3; width: 100%; margin-left: -4px; }
  .tabs a { padding: 4px 12px; }
  .top-search { width: auto; flex: 1; height: 36px; min-width: 0; }
  .search-hero { padding-top: 24px; }
  .big-search { height: 52px; }
  .mod { margin-top: 40px; }
  .mod-head h2 { font-size: 20px; }
  .arrows { display: none; }
  .arrows + .more { margin-left: auto; }
  .row { grid-auto-columns: 112px; gap: 14px; }
  .row.big { grid-auto-columns: 136px; gap: 16px; }
  .row { margin-right: -16px; padding-right: 16px; }
  .lcard { padding: 18px 16px 6px; }
  .lcard-list { grid-template-columns: 1fr; }
  .subjects { grid-template-columns: repeat(2, 1fr); }
  .grid { grid-template-columns: repeat(3, 1fr); gap: 24px 12px; }
  .grid .card .t { font-size: 13px; }
  .series-grid { gap: 12px; }
  .scard { padding: 16px; }
  .scard .stack { height: 120px; }
  .scard .stack img { height: 100px; margin-left: -36px; }
  .d-facts { display: grid; grid-template-columns: repeat(3, auto); justify-content: start; gap: 14px 24px; }
  .d-cover { padding: 32px 0 44px; }
  .d-cover::after { bottom: 22px; width: 170px; }
  .d-intro-brief { padding-left: 13px; }
  .d-reading { margin-top: 36px; padding-top: 28px; }
  .d-section + .d-section { margin-top: 28px; padding-top: 24px; }
  .d-section h2 { font-size: 20px; margin-bottom: 14px; }
  .d-introduction { font-size: 15px; line-height: 1.9; }
  .d-features { grid-template-columns: minmax(0, 1fr); gap: 10px; }
  .d-features article { padding: 17px 18px; }
  .d-guide-card { grid-template-columns: minmax(0, 1fr); }
  .d-guide-who, .d-guide-how { padding: 18px 18px; }
  .d-outline.compact { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 16px; }
  .d-outline.compact li { padding: 7px 0; }
  .d-outline.compact li span { font-size: 14px; }
  .d-outline li { grid-template-columns: 28px minmax(0, 1fr); gap: 6px; }
  .d-author-panel { padding: 22px; border-radius: 18px; }
  .teachers-lead { font-size: 15px; }
  .teacher-search { margin: 20px 0; }
  .teacher-grid { grid-template-columns: minmax(0, 1fr); gap: 12px; margin-top: 24px; }
  .teacher-card { padding: 20px; border-radius: 18px; }
  .teacher-card-bio { margin-top: 16px; margin-bottom: 20px; }
  .teacher-page > .crumbs { margin-top: 24px; }
  .teacher-hero { grid-template-columns: minmax(0, 1fr); gap: 16px; padding: 24px 0 28px; margin-bottom: 28px; }
  .teacher-hero > .teacher-avatar { width: 64px; height: 64px; border-radius: 18px; font-size: 28px; }
  .teacher-bio { font-size: 15px; line-height: 1.9; margin-top: 18px; }
  .srow { grid-auto-columns: 160px; gap: 10px; margin-right: -16px; padding-right: 16px; }
  .srow .scard { padding: 14px; }
  .srow .scard .stack { height: 100px; }
  .srow .scard .stack img { height: 84px; margin-left: -30px; }
}
/* ---- 首页快速选书：年级、难度与向导收在一块 ---- */
.quick { margin-top: 28px; display: grid; grid-template-columns: minmax(0, 1fr) 240px; gap: 12px; }
.quick-rows { min-width: 0; padding: 4px 20px; border: 1px solid var(--line); border-radius: 18px; background: #fafaf8; }
.quick-row { display: grid; grid-template-columns: 56px minmax(0, 1fr); gap: 12px; align-items: center; padding: 12px 0; }
.quick-row + .quick-row { border-top: 1px solid var(--line); }
.quick-row h2 { font-size: 14px; font-weight: 700; color: var(--ink-2); }
.quick-options { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 14px; min-width: 0; }
.quick-stage { display: flex; align-items: center; gap: 4px; }
.quick-stage > span { margin-right: 4px; font-size: 12px; color: var(--muted); }
.quick-chip { min-width: 36px; height: 34px; padding: 0 10px; border-radius: 10px; background: #fff; border: 1px solid #e8e8e4; display: inline-flex; align-items: center; justify-content: center; gap: 6px; font-size: 14px; font-weight: 600; white-space: nowrap; transition: background .2s, color .2s, border-color .2s; }
.quick-chip small { font-size: 12px; font-weight: 400; color: var(--muted); }
.quick-chip .ladder { height: 12px; gap: 2px; }
.quick-chip .ladder i { width: 4px; }
.quick-chip .ladder i:nth-child(1) { height: 4px; } .quick-chip .ladder i:nth-child(2) { height: 6px; } .quick-chip .ladder i:nth-child(3) { height: 8px; }
.quick-chip .ladder i:nth-child(4) { height: 10px; } .quick-chip .ladder i:nth-child(5) { height: 12px; }
.quick-chip:hover { background: var(--ink); border-color: var(--ink); color: #fff; }
.quick-chip:hover small { color: #c9c9c9; }
.quick-chip:hover .ladder i:not(.on) { background: #48484d; }
.quick-wizard { display: flex; flex-direction: column; justify-content: space-between; gap: 10px; padding: 18px; border-radius: 18px; background: var(--ink); color: #fff; transition: transform .2s var(--ease), background .2s; }
.quick-wizard:hover { background: #26262a; transform: translateY(-2px); }
.quick-wizard b { font-size: 17px; font-weight: 800; }
.quick-wizard small { display: block; margin-top: 4px; color: #b8b8bd; font-size: 13px; line-height: 1.5; }
.quick-wizard em { align-self: flex-start; padding: 6px 14px; border-radius: 999px; background: var(--accent); font-style: normal; font-size: 14px; font-weight: 700; }
@media (max-width: 900px) {
  .quick { grid-template-columns: minmax(0, 1fr); }
  .quick-wizard { order: -1; flex-direction: row; align-items: center; padding: 14px 16px; }
  .quick-wizard em { align-self: center; flex: 0 0 auto; }
}
@media (max-width: 640px) {
  .quick { margin-top: 20px; }
  .quick-rows { padding: 2px 14px; border-radius: 16px; }
  .quick-row { grid-template-columns: 40px minmax(0, 1fr); gap: 8px; }
  .quick-row h2 { font-size: 13px; }
  .quick-options { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; padding: 2px 0; margin-right: -14px; padding-right: 14px; }
  .quick-options::-webkit-scrollbar { display: none; }
  /* 右侧淡出，提示还能横向滑动 */
  .quick-options { -webkit-mask-image: linear-gradient(90deg, #000 88%, transparent); mask-image: linear-gradient(90deg, #000 88%, transparent); }
  .quick-stage, .quick-chip { flex: 0 0 auto; }
  .quick-wizard b { font-size: 15px; }
  .quick-wizard small { font-size: 12px; }
}

/* ---- 选书向导 ---- */
.pick-inline { display: inline-block; margin-top: 10px; color: var(--ink-2); font-size: 14px; }
.pick-inline:hover { color: #c43b09; }
.pick-lead { margin-top: 8px; color: var(--ink-2); font-size: 15px; }
.pick-page .pick-step h2 { display: flex; align-items: center; gap: 6px; white-space: nowrap; }
.pick-page .pick-step h2 i { width: 20px; height: 20px; border-radius: 50%; display: grid; place-items: center; background: var(--soft-2); color: var(--ink-2); font-size: 12px; font-style: normal; font-weight: 700; }
.pick-page .pick-step.done h2 i { background: var(--accent); color: #fff; }
.pick-page .browse-filter { grid-template-columns: 72px minmax(0, 1fr); }
.pick-wait { padding-top: 8px; color: var(--muted); font-size: 14px; }
.pick-note { margin: -8px 0 16px; color: #c43b09; font-size: 14px; }
.pick-block { margin-top: 28px; }
.pick-block > h2 { margin-bottom: 14px; font-size: 18px; font-weight: 800; }
.pick-feature { display: grid; grid-template-columns: 120px minmax(0, 1fr); gap: 22px; padding: 20px; border: 1px solid var(--line); border-radius: 20px; background: #fff; transition: border-color .2s, box-shadow .2s; }
.pick-feature:hover { border-color: #d8d8d4; box-shadow: 0 14px 30px -22px rgba(0, 0, 0, .35); }
.pick-feature .cv { aspect-ratio: 5 / 7; display: flex; align-items: flex-start; }
.pick-feature .cv img, .pick-feature .cv .cover-text { width: 100%; max-height: 100%; object-fit: contain; object-position: top; border-radius: 4px; box-shadow: var(--shadow); }
.pick-feature-body { min-width: 0; display: flex; flex-direction: column; }
.pick-tag { color: var(--accent); font-size: 13px; font-weight: 700; }
.pick-feature h3 { margin-top: 4px; font-size: 19px; font-weight: 800; line-height: 1.4; }
.pick-series { margin-top: 2px; color: var(--muted); font-size: 13px; }
.pick-reasons { list-style: none; margin: 12px 0 0; padding: 0; display: grid; gap: 6px; font-size: 14px; color: var(--ink-2); }
.pick-reasons li { display: flex; gap: 10px; }
.pick-reasons b { flex: 0 0 auto; color: var(--muted); font-weight: 500; }
.pick-reasons span { margin-left: 6px; color: var(--muted); }
.pick-more { margin-top: auto; padding-top: 12px; color: var(--ink); font-size: 14px; font-weight: 600; }
.pick-feature:hover .pick-more { color: #c43b09; }
.pick-companions { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.pick-companions .pick-feature { grid-template-columns: 76px minmax(0, 1fr); gap: 14px; padding: 16px; }
.pick-companions .pick-feature h3 { font-size: 15px; }
.pick-companions .pick-audience { display: none; }
.pick-rest { margin-top: 32px !important; }
.pick-rest .browse-grid { margin-top: 24px; }
.pick-disclaimer { margin: 36px 0 80px; color: var(--muted); font-size: 12.5px; line-height: 1.7; }
@media (max-width: 900px) {
  .pick-companions { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 640px) {
  .pick-page .browse-filter { grid-template-columns: 56px minmax(0, 1fr); }
  .pick-page .pick-step h2 { font-size: 13px; }
  .pick-page .browse-filter-hint { padding-left: 64px; }
  .pick-feature { grid-template-columns: 88px minmax(0, 1fr); gap: 14px; padding: 14px; border-radius: 16px; }
  .pick-feature h3 { font-size: 16px; }
  .pick-reasons { font-size: 13px; }
  .pick-companions .pick-feature { grid-template-columns: 64px minmax(0, 1fr); }
}
@media (prefers-reduced-motion: reduce) {
  #view.enter { animation: none; }
  * { transition: none !important; }
}

.d-tags { margin-top: 24px; display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.d-tags p { width: 100%; font-size: 12.5px; color: var(--muted); margin-bottom: 2px; display: flex; gap: 10px; align-items: baseline; }
.d-tags p small { font-size: 12px; color: #b4b4b8; }
.d-tags a { padding: 7px 14px; border-radius: 10px; background: var(--soft); font-weight: 600; font-size: 14px; transition: background .2s, color .2s; }
.d-tags a small { margin-right: 6px; font-size: 12px; font-weight: 500; color: var(--accent); }
.d-tags a:hover { background: var(--accent-soft); color: var(--accent); }
