/* Homepage only: a compact orange fiction-channel layout inspired by the supplied reference. */
.home-page {
  --home-orange: #ff6a1a;
  --home-orange-deep: #e94b10;
  --home-ink: #27211d;
  --home-muted: #8e8178;
  --home-paper: #f7f3ef;
  --home-card: #fff;
  --home-line: #eee6e0;
  background: var(--home-paper);
  color: var(--home-ink);
}
.home-page::before { display: none; }
.home-page .wrap { max-width: 1200px; }
.home-site-head {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(255, 255, 255, .94);
  border-bottom: 1px solid var(--home-line);
  backdrop-filter: blur(14px);
}
.home-head-main { display: flex; height: 68px; align-items: center; gap: 26px; }
.home-brand { display: inline-flex; align-items: center; flex: 0 0 auto; }
.home-brand img { width: auto; height: 31px; max-width: 138px; object-fit: contain; }
.home-search { display: flex; align-items: center; flex: 1 1 440px; max-width: 520px; height: 38px; border: 1px solid #e6ddd6; border-radius: 4px; overflow: hidden; background: #faf8f6; }
.home-search input { min-width: 0; flex: 1; height: 100%; padding: 0 13px; border: 0; outline: 0; background: transparent; color: var(--home-ink); font-size: 14px; }
.home-search input::placeholder { color: #b8aea7; }
.home-search button { align-self: stretch; min-width: 72px; border: 0; padding: 0 16px; background: var(--home-orange); color: #fff; font-size: 14px; }
.home-search button:hover { background: var(--home-orange-deep); }
.home-account { display: flex; align-items: center; gap: 18px; margin-left: auto; color: #665a53; font-size: 14px; white-space: nowrap; }
.home-account a:hover { color: var(--home-orange); }
.home-account .home-shelf-link::before { content: "▱"; margin-right: 5px; color: var(--home-orange); font-size: 18px; vertical-align: -1px; }
.home-nav { height: 42px; border-top: 1px solid #f4efeb; }
.home-nav-inner { display: flex; align-items: stretch; height: 100%; gap: 30px; overflow-x: auto; scrollbar-width: none; }
.home-nav-inner::-webkit-scrollbar { display: none; }
.home-nav a { position: relative; display: inline-flex; flex: 0 0 auto; align-items: center; color: #554943; font-size: 15px; white-space: nowrap; }
.home-nav a:hover, .home-nav a.is-active { color: var(--home-orange); font-weight: 600; }
.home-nav a.is-active::after { content: ""; position: absolute; right: 2px; bottom: 0; left: 2px; height: 3px; border-radius: 3px 3px 0 0; background: var(--home-orange); }
.home-main { padding-bottom: 50px; }
.home-hero { position: relative; overflow: hidden; margin-top: 20px; min-height: 254px; border-radius: 8px; background: linear-gradient(118deg, #ff6f21 0%, #ff8a40 50%, #f25115 100%); color: #fff; }
.home-hero::after { content: ""; position: absolute; right: -50px; top: -135px; width: 420px; height: 420px; border: 52px solid rgba(255,255,255,.12); border-radius: 50%; }
.home-hero-inner { position: relative; z-index: 1; display: flex; align-items: center; justify-content: space-between; min-height: 254px; padding: 30px 44px; }
.home-hero-copy { max-width: 470px; }
.home-kicker { margin: 0 0 8px; font-size: 14px; letter-spacing: .18em; opacity: .9; }
.home-hero h1 { margin: 0; font-family: var(--font-serif); font-size: clamp(28px, 3.2vw, 42px); line-height: 1.24; letter-spacing: .04em; }
.home-hero p:not(.home-kicker) { max-width: 31em; margin: 12px 0 20px; font-size: 15px; line-height: 1.7; opacity: .92; }
.home-hero-cta { display: inline-flex; align-items: center; justify-content: center; min-width: 114px; height: 36px; border-radius: 3px; background: #fff; color: var(--home-orange-deep); font-size: 14px; font-weight: 600; }
.home-hero-cta:hover { background: #fff1e9; }
.home-hero-books { position: absolute; top: 50%; right: 44px; display: flex; align-items: center; padding: 0; transform: translateY(-50%); }
.home-hero-book { width: 148px; filter: drop-shadow(0 12px 11px rgba(103,31,6,.25)); }
.home-hero-book .book-cover { position: relative; display: block; overflow: hidden; aspect-ratio: 3 / 4; border-radius: 3px; background: #d85827; }
.home-hero-book .cover-img { width: 100%; height: 100%; object-fit: cover; }
.home-quick-nav { display: grid; grid-template-columns: repeat(4, 1fr); margin: 22px 0 10px; border: 1px solid var(--home-line); border-radius: 6px; background: var(--home-card); }
.home-quick-nav a { display: flex; align-items: center; justify-content: center; gap: 10px; min-height: 66px; border-right: 1px solid var(--home-line); color: #4c4039; font-size: 15px; }
.home-quick-nav a:last-child { border-right: 0; }
.home-quick-icon { display: inline-grid; width: 29px; height: 29px; place-items: center; border-radius: 50%; background: #fff0e9; color: var(--home-orange); font-family: Georgia, serif; font-size: 17px; font-weight: bold; }
.home-quick-nav a:hover { color: var(--home-orange); background: #fffaf8; }
.home-section { margin-top: 30px; }
.home-section-head { display: flex; align-items: center; justify-content: space-between; min-height: 30px; margin-bottom: 15px; }
.home-section-title { display: flex; align-items: center; gap: 10px; margin: 0; color: #302720; font-size: 21px; font-weight: 700; }
.home-section-title::before { content: ""; width: 4px; height: 19px; border-radius: 2px; background: var(--home-orange); }
.home-section-more { color: #9e928a; font-size: 13px; }
.home-section-more:hover { color: var(--home-orange); }
.home-editor-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.home-editor-card { display: flex; min-width: 0; height: 160px; padding: 16px; border: 1px solid var(--home-line); border-radius: 6px; background: var(--home-card); transition: box-shadow .2s, transform .2s; }
.home-editor-card:hover { transform: translateY(-2px); box-shadow: 0 8px 22px rgba(76,48,33,.08); }
.home-editor-card .book-cover { flex: 0 0 auto; width: 86px; height: 116px; overflow: hidden; border-radius: 3px; background: #eee4dd; }
.home-editor-card .cover-img { width: 100%; height: 100%; object-fit: cover; }
.home-editor-copy { min-width: 0; padding: 3px 0 0 13px; }
.home-editor-copy b, .home-list-copy b, .home-mini-title { display: block; overflow: hidden; color: #342a25; font-size: 16px; line-height: 1.4; text-overflow: ellipsis; white-space: nowrap; }
.home-editor-copy em { display: block; margin-top: 6px; color: var(--home-orange); font-size: 12px; font-style: normal; }
.home-editor-copy p { display: -webkit-box; overflow: hidden; margin: 8px 0 0; color: #998e87; font-size: 13px; line-height: 1.55; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.home-columns { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
.home-panel { min-width: 0; padding: 18px; border: 1px solid var(--home-line); border-radius: 6px; background: var(--home-card); }
.home-panel .home-section-head { margin-bottom: 14px; }
.home-panel .home-section-title { font-size: 19px; }
.home-book-list { display: grid; gap: 12px; }
.home-list-book { display: flex; min-width: 0; padding-bottom: 12px; border-bottom: 1px solid #f2ece8; }
.home-list-book:last-child { padding-bottom: 0; border-bottom: 0; }
.home-list-book .book-cover { flex: 0 0 auto; width: 62px; height: 82px; overflow: hidden; border-radius: 3px; background: #eee4dd; }
.home-list-book .cover-img { width: 100%; height: 100%; object-fit: cover; }
.home-list-copy { min-width: 0; padding: 1px 0 0 12px; }
.home-list-copy span { display: block; margin-top: 4px; color: #ad9f97; font-size: 12px; }
.home-list-copy p { display: -webkit-box; overflow: hidden; margin: 6px 0 0; color: #83766e; font-size: 13px; line-height: 1.5; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.home-shelf-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 17px; }
.home-mini-book { min-width: 0; }
.home-mini-book .book-cover { display: block; overflow: hidden; aspect-ratio: 3 / 4; border-radius: 3px; background: #eee4dd; box-shadow: 0 3px 10px rgba(76,48,33,.1); }
.home-mini-book .cover-img { width: 100%; height: 100%; object-fit: cover; }
.home-mini-book:hover .book-cover { transform: translateY(-3px); box-shadow: 0 8px 16px rgba(76,48,33,.18); }
.home-mini-title { margin-top: 9px; font-size: 14px; }
.home-mini-meta { display: block; overflow: hidden; margin-top: 3px; color: #a69a92; font-size: 12px; text-overflow: ellipsis; white-space: nowrap; }
.home-empty { color: var(--home-muted); font-size: 14px; }
.home-page .site-foot { margin-top: 0; border-top-color: var(--home-line); background: #fff; }
.home-page .foot-brand .brand-logo { filter: none; }
.home-page .theme-toggle { width: auto; height: auto; padding: 5px 0; border: 0; background: transparent; color: #786c64; font-size: 13px; }
.home-page .theme-toggle:hover { color: var(--home-orange); }
@media (max-width: 760px) {
  .home-head-main { height: 54px; gap: 12px; }
  .home-brand img { height: 25px; max-width: 105px; }
  .home-search { flex-basis: auto; height: 32px; }
  .home-search input { padding: 0 8px; font-size: 12px; }
  .home-search button { min-width: 42px; padding: 0 9px; font-size: 12px; }
  .home-account { display: none; }
  .home-nav { height: 37px; }
  .home-nav-inner { gap: 23px; }
  .home-nav a { font-size: 13px; }
  .home-hero { min-height: 205px; margin-top: 12px; border-radius: 5px; }
  .home-hero-inner { min-height: 205px; padding: 25px 20px; }
  .home-hero-copy { max-width: 61%; }
  .home-kicker { margin-bottom: 5px; font-size: 11px; }
  .home-hero h1 { font-size: 25px; }
  .home-hero p:not(.home-kicker) { margin: 7px 0 13px; font-size: 12px; line-height: 1.55; }
  .home-hero-cta { min-width: 94px; height: 31px; font-size: 12px; }
  .home-hero-books { top: 50%; right: 20px; bottom: auto; padding: 0; transform: translateY(-50%); }
  .home-hero-book { width: 96px; }
  .home-quick-nav { margin-top: 13px; }
  .home-quick-nav a { min-height: 55px; gap: 5px; font-size: 12px; }
  .home-quick-icon { width: 23px; height: 23px; font-size: 14px; }
  .home-section { margin-top: 24px; }
  .home-section-head { margin-bottom: 12px; }
  .home-section-title { gap: 7px; font-size: 18px; }
  .home-section-title::before { width: 3px; height: 16px; }
  .home-editor-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 9px; }
  .home-editor-card { display: block; height: auto; min-height: 0; padding: 8px; }
  .home-editor-card .book-cover { display: block; width: 100%; height: auto; aspect-ratio: 3 / 4; }
  .home-editor-copy { display: block; padding: 7px 0 0; }
  .home-editor-copy b { display: -webkit-box; overflow: hidden; font-size: 13px; white-space: normal; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
  .home-editor-copy em { overflow: hidden; margin-top: 3px; font-size: 11px; text-overflow: ellipsis; white-space: nowrap; }
  .home-editor-copy p { display: none; }
  .home-columns { gap: 15px; }
  .home-panel { padding: 13px 11px; }
  .home-panel .home-section-title { font-size: 16px; }
  .home-list-book .book-cover { width: 52px; height: 70px; }
  .home-list-copy { padding-left: 8px; }
  .home-list-copy b { font-size: 14px; }
  .home-list-copy p { font-size: 12px; -webkit-line-clamp: 1; }
  .home-shelf-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px 12px; }
  .home-mini-title { font-size: 13px; }
}
@media (max-width: 390px) {
  .home-hero-books { opacity: .8; }
  .home-hero-copy { max-width: 66%; }
  .home-quick-nav a { font-size: 11px; }
}
