:root {
  --navy: #0d1b2a;
  --blue: #2563eb;
  --light-blue: #60a5fa;
  --orange: #ff7a59;
  --gray: #6b7280;
  --ink: #111827;
  --muted: #667085;
  --line: #d9e2ef;
  --paper: #ffffff;
  --soft: #f5f8fc;
  --shadow: 0 22px 60px rgba(13, 27, 42, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  overflow-x: hidden;
  color: var(--ink);
  font-family:
    Pretendard,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  background:
    radial-gradient(circle at 18% 0%, rgba(96, 165, 250, 0.35), transparent 34rem),
    linear-gradient(145deg, #f7fbff 0%, #edf5ff 46%, #ffffff 100%);
  letter-spacing: 0;
}

a {
  color: inherit;
  text-decoration: none;
}

.site-header {
  position: sticky;
  z-index: 20;
  top: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 76px;
  padding: 14px clamp(18px, 5vw, 72px);
  background: rgba(255, 255, 255, 0.86);
  border-bottom: 1px solid rgba(217, 226, 239, 0.9);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.brand-mark {
  display: grid;
  width: 48px;
  height: 48px;
  color: var(--blue);
  place-items: center;
}

.brand-mark svg {
  width: 44px;
  height: 38px;
}

.brand strong {
  display: block;
  color: var(--navy);
  font-size: 1.2rem;
  font-weight: 850;
  line-height: 1.1;
}

.brand small {
  display: block;
  color: var(--blue);
  font-size: 0.86rem;
  font-weight: 800;
  line-height: 1.1;
}

.top-nav {
  display: flex;
  gap: 8px;
}

.top-nav a {
  padding: 10px 14px;
  color: #334155;
  font-size: 0.94rem;
  font-weight: 750;
  border-radius: 999px;
}

.top-nav a:hover,
.top-nav a.is-active {
  color: var(--blue);
  background: #eaf2ff;
}

.top-nav .login-link {
  color: #fff;
  background: var(--navy);
}

.top-nav .login-link:hover {
  color: #fff;
  background: #1e3a8a;
}

.admin-mobile-link {
  display: none;
}

main {
  width: min(1180px, calc(100% - 36px));
  margin: 0 auto;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 900px);
  gap: 28px;
  align-items: center;
  min-height: 360px;
  padding: 68px 0 34px;
}

.hero-copy h1 {
  max-width: 740px;
  margin: 0;
  color: var(--navy);
  font-size: clamp(2.4rem, 6vw, 5.2rem);
  font-weight: 900;
  line-height: 1.02;
  overflow-wrap: break-word;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--blue);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-text {
  max-width: 900px;
  margin: 22px 0 0;
  color: #344054;
  font-size: 1.1rem;
  font-weight: 520;
  line-height: 1.75;
}

.hero-actions {
  display: grid;
  grid-template-columns: repeat(4, 156px);
  gap: 10px;
  margin-top: 28px;
}

.primary-action,
.secondary-action,
.signal-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
  width: 100%;
  min-height: 54px;
  padding: 0 12px;
  font: inherit;
  font-size: 0.92rem;
  font-weight: 850;
  border-radius: 14px;
  white-space: nowrap;
}

.primary-action {
  color: #fff;
  background: linear-gradient(135deg, var(--blue), #0b4ddb);
  box-shadow: 0 16px 32px rgba(37, 99, 235, 0.25);
}

.secondary-action {
  color: var(--navy);
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: 0 10px 26px rgba(13, 27, 42, 0.07);
}

.signal-action {
  gap: 6px;
  color: var(--navy);
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(217, 226, 239, 0.95);
  box-shadow: 0 10px 26px rgba(13, 27, 42, 0.07);
  cursor: pointer;
  transition: transform 0.16s ease, border-color 0.16s ease, box-shadow 0.16s ease;
}

.signal-action:hover,
.signal-action:focus-visible {
  border-color: rgba(37, 99, 235, 0.34);
  box-shadow: 0 16px 38px rgba(13, 27, 42, 0.12);
  outline: none;
  transform: translateY(-2px);
}

.signal-count {
  display: inline-flex;
  align-items: baseline;
  gap: 1px;
  color: var(--blue);
  font-size: 0.84rem;
  font-weight: 900;
  line-height: 1;
}

.signal-count strong {
  font-size: 0.96rem;
  font-weight: 950;
}

.signal-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 22px;
  height: 18px;
  padding: 0 5px;
  border-radius: 999px;
  font-size: 0.62rem;
  font-weight: 950;
  line-height: 1;
  letter-spacing: 0;
  transform: translateY(-1px);
}

.signal-badge-new {
  color: #0f5f43;
  background: rgba(22, 163, 74, 0.13);
  border: 1px solid rgba(22, 163, 74, 0.2);
}

.signal-badge-rise {
  min-width: 22px;
  width: 22px;
  height: 22px;
  padding: 0;
  color: #d92d38;
  background: #ffffff;
  border: 1px solid #f3b7bd;
  box-shadow: 0 3px 7px rgba(217, 45, 56, 0.14);
  font-size: 1rem;
  font-weight: 950;
  transform: translateY(-1px);
}

.signal-action em {
  color: var(--navy);
  font-size: 0.88rem;
  font-style: normal;
  font-weight: 850;
  line-height: 1;
}

.section {
  scroll-margin-top: 94px;
  padding: 34px 0 54px;
}

.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 18px;
}

.section h2 {
  margin: 0;
  color: var(--navy);
  font-size: clamp(1.7rem, 3vw, 2.5rem);
  font-weight: 900;
}

.section-description {
  max-width: 680px;
  margin: 10px 0 0;
  color: #475467;
  font-size: 0.98rem;
  font-weight: 560;
  line-height: 1.65;
}

.section-link {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 14px;
  color: #fff;
  font-size: 0.88rem;
  font-weight: 900;
  background: var(--navy);
  border-radius: 999px;
}

.is-hidden {
  display: none !important;
}

.hashtag-section {
  padding: 6px 0 22px;
}

.hashtag-section .section-head {
  margin-bottom: 10px;
}

.hashtag-section .eyebrow {
  margin-bottom: 5px;
  font-size: 0.68rem;
}

.hashtag-section h2 {
  font-size: clamp(1rem, 1.5vw, 1.18rem);
}

.hashtag-section .section-description {
  margin-top: 4px;
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.45;
}

.hashtag-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

.hashtag-chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 34px;
  max-width: 100%;
  padding: 0 11px;
  color: var(--navy);
  font: inherit;
  font-size: 0.84rem;
  font-weight: 880;
  text-align: left;
  text-decoration: none;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(217, 226, 239, 0.96);
  border-radius: 999px;
  box-shadow: 0 8px 20px rgba(13, 27, 42, 0.05);
  cursor: pointer;
  transition: color 0.16s ease, background 0.16s ease, border-color 0.16s ease, transform 0.16s ease;
}

.hashtag-chip:hover,
.hashtag-chip:focus-visible {
  color: var(--blue);
  background: #eaf2ff;
  border-color: rgba(37, 99, 235, 0.28);
  outline: none;
  transform: translateY(-1px);
}

.hashtag-chip.is-active {
  color: #fff;
  background: var(--blue);
  border-color: var(--blue);
  box-shadow: 0 12px 24px rgba(37, 99, 235, 0.2);
}

.hashtag-chip span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.hashtag-chip em {
  display: inline-flex;
  align-items: center;
  min-height: 22px;
  padding: 0 7px;
  color: var(--blue);
  font-size: 0.7rem;
  font-style: normal;
  font-weight: 900;
  background: #eaf2ff;
  border-radius: 999px;
}

.hashtag-chip.is-active em {
  color: var(--blue);
  background: #ffffff;
}

.hashtag-detail {
  scroll-margin-top: 92px;
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid rgba(217, 226, 239, 0.96);
}

.hashtag-detail-head {
  margin-bottom: 14px;
}

.hashtag-detail h3 {
  margin: 0;
  color: var(--navy);
  font-size: clamp(1.35rem, 2.4vw, 2rem);
  font-weight: 900;
  line-height: 1.25;
}

.discovery-section {
  padding-top: 26px;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.feature-panel {
  display: grid;
  grid-template-rows: auto 1fr auto;
  gap: 14px;
  padding: 18px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(217, 226, 239, 0.96);
  border-radius: 22px;
  box-shadow: 0 18px 46px rgba(13, 27, 42, 0.09);
}

.feature-panel-head span {
  color: var(--orange);
  font-size: 0.72rem;
  font-weight: 950;
  letter-spacing: 0.08em;
}

.feature-panel h3 {
  margin: 6px 0 0;
  color: var(--navy);
  font-size: 1.22rem;
  font-weight: 900;
  line-height: 1.25;
}

.feature-panel p {
  margin: 8px 0 0;
  color: #475467;
  font-size: 0.88rem;
  font-weight: 600;
  line-height: 1.48;
}

.mini-book-list {
  display: grid;
  gap: 8px;
}

.mini-book {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  gap: 10px;
  align-items: center;
  min-height: 62px;
  padding: 8px;
  text-align: left;
  background: #f8fbff;
  border: 1px solid rgba(217, 226, 239, 0.9);
  border-radius: 14px;
  cursor: pointer;
}

.mini-book:hover {
  border-color: rgba(37, 99, 235, 0.3);
  background: #eef5ff;
}

.mini-cover .cover {
  width: 100%;
  border-radius: 9px;
}

.mini-book strong {
  display: -webkit-box;
  overflow: hidden;
  color: var(--navy);
  font-size: 0.88rem;
  font-weight: 860;
  line-height: 1.35;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.mini-book em {
  display: block;
  margin-top: 2px;
  overflow: hidden;
  color: var(--muted);
  font-size: 0.76rem;
  font-style: normal;
  font-weight: 720;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.mini-book em.rising-meta {
  color: #c22b1d;
  font-weight: 900;
}

.panel-action {
  min-height: 42px;
  color: var(--blue);
  font: inherit;
  font-size: 0.88rem;
  font-weight: 900;
  background: #eaf2ff;
  border: 1px solid rgba(37, 99, 235, 0.18);
  border-radius: 12px;
  cursor: pointer;
}

.collection-view {
  padding-top: 20px;
}

.collection-head {
  align-items: center;
}

.collection-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-end;
}

.collection-tabs button {
  min-height: 40px;
  padding: 0 12px;
  color: var(--navy);
  font: inherit;
  font-size: 0.82rem;
  font-weight: 900;
  background: #ffffff;
  border: 1px solid rgba(217, 226, 239, 0.96);
  border-radius: 999px;
  cursor: pointer;
}

.collection-tabs button.is-active {
  color: #fff;
  background: var(--blue);
  border-color: var(--blue);
}

.book-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.hashtag-detail .book-grid {
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 12px;
}

.hashtag-detail .book-card {
  min-height: 340px;
  padding: 12px;
  border-radius: 16px;
}

.hashtag-detail .book-card h3 {
  margin: 10px 0 6px;
  font-size: 0.9rem;
}

.hashtag-detail .meta {
  font-size: 0.78rem;
}

.hashtag-detail .rank-badge {
  top: 8px;
  left: 8px;
  height: 28px;
  padding: 0 8px;
  font-size: 0.74rem;
}

.hashtag-detail .score-line {
  font-size: 0.74rem;
}

.book-card {
  position: relative;
  display: grid;
  min-height: 386px;
  padding: 16px;
  overflow: hidden;
  text-align: left;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(217, 226, 239, 0.94);
  border-radius: 20px;
  box-shadow: 0 16px 42px rgba(13, 27, 42, 0.09);
  cursor: pointer;
  transition: transform 0.16s ease, box-shadow 0.16s ease, border-color 0.16s ease;
}

.book-card:hover {
  border-color: rgba(37, 99, 235, 0.35);
  box-shadow: 0 20px 50px rgba(13, 27, 42, 0.14);
  transform: translateY(-3px);
}

.cover {
  position: relative;
  display: grid;
  width: 100%;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  color: #fff;
  background: linear-gradient(150deg, var(--navy), var(--blue));
  border-radius: 14px;
  place-items: center;
}

.cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cover-fallback {
  display: grid;
  padding: 18px;
  text-align: center;
  place-items: center;
}

.cover-fallback span {
  font-size: 0.92rem;
  font-weight: 850;
  line-height: 1.45;
}

.rank-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  height: 32px;
  padding: 0 10px;
  color: #fff;
  font-size: 0.86rem;
  font-weight: 900;
  background: rgba(13, 27, 42, 0.88);
  border-radius: 999px;
}

.book-card h3 {
  display: -webkit-box;
  min-height: 3.15em;
  margin: 14px 0 8px;
  overflow: hidden;
  color: var(--navy);
  font-size: 1.05rem;
  font-weight: 880;
  line-height: 1.45;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.meta {
  min-height: 2.8em;
  margin: 0;
  color: #475467;
  font-size: 0.88rem;
  font-weight: 620;
  line-height: 1.55;
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 12px;
}

.chip {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  padding: 0 8px;
  color: #1d4ed8;
  font-size: 0.75rem;
  font-weight: 850;
  background: #eaf2ff;
  border-radius: 999px;
}

.chip.orange {
  color: #b93815;
  background: #fff0eb;
}

.chip.rising {
  color: #b42318;
  background: #feeceb;
}

.score-line {
  display: flex;
  justify-content: space-between;
  margin-top: 14px;
  padding-top: 12px;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 760;
  border-top: 1px solid var(--line);
}

.score-line strong {
  color: var(--blue);
}

.curated-line strong {
  max-width: 11em;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.book-dialog {
  width: min(860px, calc(100vw - 28px));
  max-height: min(760px, calc(100vh - 38px));
  padding: 0;
  overflow: hidden;
  border: 0;
  border-radius: 24px;
  box-shadow: 0 30px 90px rgba(13, 27, 42, 0.32);
}

.book-dialog::backdrop {
  background: rgba(13, 27, 42, 0.58);
  backdrop-filter: blur(8px);
}

.dialog-x {
  position: absolute;
  z-index: 5;
  top: 14px;
  right: 14px;
  width: 40px;
  height: 40px;
  color: var(--navy);
  font-size: 1.5rem;
  line-height: 1;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid var(--line);
  border-radius: 999px;
  cursor: pointer;
}

.dialog-detail {
  display: grid;
  grid-template-columns: 250px minmax(0, 1fr);
  gap: 24px;
  padding: 28px;
  overflow: auto;
  max-height: min(760px, calc(100vh - 38px));
}

.dialog-detail .cover {
  border-radius: 18px;
}

.detail-media {
  min-width: 0;
}

.detail-media .detail-actions {
  display: grid;
  grid-template-columns: 1fr;
  gap: 9px;
  margin-top: 14px;
}

.detail-media .detail-actions .detail-link {
  width: 100%;
  min-height: 46px;
  padding-inline: 12px;
  font-size: 0.9rem;
}

.detail-media .affiliate-disclosure {
  margin-top: 8px;
  font-size: 0.68rem;
  line-height: 1.45;
}

.detail-copy h3 {
  margin: 0 44px 10px 0;
  color: var(--navy);
  font-size: clamp(1.45rem, 4vw, 2.25rem);
  font-weight: 900;
  line-height: 1.22;
}

.detail-copy .meta {
  min-height: auto;
}

.detail-description {
  margin: 18px 0 0;
  color: #344054;
  font-size: 0.98rem;
  line-height: 1.78;
}

.detail-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 20px;
}

.detail-grid div {
  padding: 12px;
  background: var(--soft);
  border-radius: 14px;
}

.detail-grid span {
  display: block;
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 820;
}

.detail-grid strong {
  display: block;
  margin-top: 4px;
  color: var(--navy);
  font-size: 0.98rem;
  font-weight: 880;
}

.source-evidence {
  margin-top: 20px;
  padding: 16px;
  background: #f8fbff;
  border: 1px solid var(--line);
  border-radius: 16px;
}

.source-evidence h4 {
  margin: 0 0 10px;
  color: var(--navy);
  font-size: 0.94rem;
  font-weight: 900;
}

.source-evidence ul {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.source-evidence li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 0;
  border-top: 1px solid rgba(217, 226, 239, 0.78);
}

.source-evidence li:first-child {
  border-top: 0;
}

.source-evidence strong {
  display: block;
  color: var(--navy);
  font-size: 0.9rem;
  font-weight: 850;
}

.source-evidence p {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 680;
}

.source-evidence a {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 32px;
  padding: 0 10px;
  color: var(--blue);
  font-size: 0.8rem;
  font-weight: 850;
  background: #eaf2ff;
  border-radius: 999px;
}

.detail-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  margin-top: 20px;
  padding: 0 16px;
  color: #fff;
  font-weight: 850;
  background: var(--navy);
  border-radius: 12px;
}

.detail-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
}

.detail-actions .detail-link {
  flex: 1 1 180px;
  min-width: 0;
  margin-top: 0;
  text-align: center;
}

.detail-actions .coupang-link {
  background: #d92d20;
}

.detail-actions .coupang-link:hover {
  background: #b42318;
}

.affiliate-disclosure {
  margin: 10px 0 0;
  color: #667085;
  font-size: 0.75rem;
  font-weight: 650;
  line-height: 1.55;
}

.quick-jump {
  position: fixed;
  right: max(14px, env(safe-area-inset-right));
  bottom: max(16px, env(safe-area-inset-bottom));
  z-index: 30;
  display: grid;
  gap: 8px;
  padding: 8px;
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid rgba(217, 226, 239, 0.95);
  border-radius: 18px;
  box-shadow: 0 18px 50px rgba(13, 27, 42, 0.18);
  backdrop-filter: blur(16px);
}

.quick-jump a,
.quick-jump button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 52px;
  min-height: 42px;
  padding: 0 12px;
  color: var(--navy);
  font: inherit;
  font-size: 0.82rem;
  font-weight: 900;
  background: #f4f8ff;
  border: 1px solid rgba(217, 226, 239, 0.95);
  border-radius: 12px;
  cursor: pointer;
}

.quick-jump a.is-active {
  color: #fff;
  background: var(--blue);
  border-color: var(--blue);
}

.quick-jump a:hover,
.quick-jump button:hover {
  transform: translateY(-1px);
}

footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  padding: 34px 18px 46px;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 650;
}

.footer-contact {
  display: inline-flex;
  flex-basis: 100%;
  justify-content: center;
  color: var(--navy);
  font-weight: 780;
  text-decoration: none;
}

.footer-contact:hover {
  color: var(--blue);
  text-decoration: underline;
}

@media (max-width: 980px) {
  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
    padding-top: 44px;
  }

  .book-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .hashtag-detail .book-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .feature-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

}

@media (max-width: 720px) {
  .site-header {
    min-height: 64px;
    padding: 10px 14px;
  }

  .brand-mark {
    width: 40px;
    height: 40px;
  }

  .brand strong {
    font-size: 1.05rem;
  }

  .top-nav {
    display: none;
  }

  .admin-mobile-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 38px;
    padding: 0 12px;
    color: #fff;
    font-size: 0.82rem;
    font-weight: 900;
    background: var(--navy);
    border-radius: 999px;
  }

  main {
    width: min(100% - 24px, 560px);
    padding-bottom: 76px;
  }

  .hero {
    gap: 18px;
    padding: 34px 0 26px;
  }

  .hero-copy h1 {
    max-width: 8.4em;
    font-size: clamp(2.05rem, 10.4vw, 2.82rem);
    line-height: 1.08;
  }

  .hero-text {
    max-width: 21rem;
    margin-top: 16px;
    font-size: 1rem;
  }

  .hero-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin-top: 20px;
  }

  .primary-action,
  .secondary-action,
  .signal-action {
    width: 100%;
    min-height: 50px;
    padding-inline: 12px;
    font-size: 0.88rem;
  }

  .signal-action {
    gap: 4px;
  }

  .signal-action em {
    font-size: 0.84rem;
  }

  .section {
    scroll-margin-top: 76px;
    padding: 28px 0 38px;
  }

  .section-head {
    display: block;
  }

  .section-link {
    width: 100%;
    margin-top: 14px;
  }

  .feature-grid {
    grid-template-columns: 1fr;
  }

  .hashtag-section {
    padding-bottom: 18px;
  }

  .hashtag-section .section-description {
    display: none;
  }

  .hashtag-grid {
    flex-wrap: nowrap;
    gap: 7px;
    margin-right: -12px;
    margin-left: -12px;
    padding: 0 12px 4px;
    overflow-x: auto;
    scrollbar-width: none;
  }

  .hashtag-grid::-webkit-scrollbar {
    display: none;
  }

  .hashtag-chip {
    flex: 0 0 auto;
    min-height: 32px;
    font-size: 0.82rem;
  }

  .hashtag-detail {
    scroll-margin-top: 76px;
    margin-top: 14px;
    padding-top: 16px;
  }

  .collection-tabs {
    justify-content: flex-start;
    margin-top: 14px;
  }

  .book-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }

  .hashtag-detail .book-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hashtag-detail .book-card {
    min-height: 306px;
    padding: 10px;
  }

  .book-card {
    min-height: 326px;
    padding: 12px;
    border-radius: 16px;
  }

  .book-card h3 {
    font-size: 0.94rem;
  }

  .meta {
    font-size: 0.8rem;
  }

  .score-line {
    display: block;
  }

  .score-line span {
    display: block;
    margin-bottom: 2px;
  }

  .dialog-detail {
    grid-template-columns: 1fr;
    gap: 18px;
    padding: 18px;
  }

  .detail-media {
    width: min(100%, 320px);
    margin-inline: auto;
  }

  .detail-media .cover {
    width: min(174px, 52vw);
    margin-inline: auto;
  }

  .detail-media .detail-actions {
    margin-top: 12px;
  }

  .detail-copy h3 {
    margin-right: 34px;
    font-size: 1.35rem;
  }

  .detail-grid {
    grid-column: 1 / -1;
    grid-template-columns: 1fr;
  }

  .quick-jump {
    right: max(10px, env(safe-area-inset-right));
    bottom: max(12px, env(safe-area-inset-bottom));
    display: flex;
    gap: 6px;
    padding: 6px;
    border-radius: 16px;
  }

  .quick-jump a,
  .quick-jump button {
    min-width: 44px;
    min-height: 38px;
    padding: 0 10px;
    font-size: 0.76rem;
    border-radius: 11px;
  }
}

@media (max-width: 420px) {
  main {
    width: min(100% - 18px, 390px);
  }

  .hero-copy h1 {
    max-width: 7.8em;
    font-size: clamp(1.95rem, 10vw, 2.35rem);
  }

  .primary-action,
  .secondary-action,
  .signal-action {
    min-height: 50px;
    font-size: 0.88rem;
  }

  .book-grid {
    grid-template-columns: 1fr;
  }

  .hashtag-detail .book-grid {
    grid-template-columns: 1fr;
  }

  .book-card {
    grid-template-columns: 96px minmax(0, 1fr);
    column-gap: 12px;
    min-height: 160px;
  }

  .hashtag-detail .book-card {
    grid-template-columns: 96px minmax(0, 1fr);
    min-height: 160px;
    padding: 12px;
  }

  .book-card .cover {
    grid-row: span 4;
  }

  .book-card h3 {
    margin-top: 0;
  }

  .book-card .chips,
  .book-card .score-line {
    grid-column: 2;
  }

  .source-evidence {
    padding: 12px;
  }

  .source-evidence li {
    align-items: flex-start;
  }
}
