:root {
  --page-pink: #f7e5eb;
  --page-pink-strong: #e4bccb;
  --page-yellow: #f7efc7;
  --page-yellow-strong: #e8d37c;
  --page-cream: #fffaf4;
  --page-milk: #fffefd;
  --page-peach: #f8dfd2;
  --page-mint: #e4efe8;
  --ink: #665669;
  --ink-strong: #483b4c;
  --ink-soft: #8d7b8e;
  --line: rgba(124, 100, 116, 0.14);
  --line-strong: rgba(207, 160, 180, 0.28);
  --shadow-xl: 0 28px 80px rgba(201, 161, 180, 0.22);
  --shadow-lg: 0 18px 36px rgba(201, 161, 180, 0.18);
  --shadow-md: 0 12px 24px rgba(201, 161, 180, 0.12);
  --shadow-sm: 0 8px 18px rgba(201, 161, 180, 0.1);
  --display-font: "Fredoka", "Baloo 2", "Hiragino Maru Gothic ProN", "Hiragino Sans GB", "PingFang SC", "Microsoft YaHei", sans-serif;
  --body-font: "Baloo 2", "Hiragino Maru Gothic ProN", "Hiragino Sans GB", "PingFang SC", "Microsoft YaHei", sans-serif;
  --mono-font: "SFMono-Regular", "Menlo", "Consolas", monospace;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--ink);
  font-family: var(--body-font);
  text-rendering: optimizeLegibility;
  background:
    radial-gradient(circle at 10% 10%, rgba(247, 229, 235, 0.9), transparent 20%),
    radial-gradient(circle at 88% 12%, rgba(247, 239, 199, 0.88), transparent 18%),
    radial-gradient(circle at 12% 86%, rgba(228, 239, 232, 0.75), transparent 20%),
    radial-gradient(circle at 84% 86%, rgba(248, 223, 210, 0.72), transparent 18%),
    linear-gradient(180deg, #fffcf8 0%, #fff8f3 54%, #fff7f7 100%);
}

body::before,
body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
}

body::before {
  opacity: 0.32;
  background-image:
    radial-gradient(circle at 16px 18px, rgba(228, 188, 203, 0.22) 2px, transparent 3px),
    radial-gradient(circle at 38px 28px, rgba(232, 211, 124, 0.22) 2px, transparent 3px),
    radial-gradient(circle at 26px 42px, rgba(228, 239, 232, 0.22) 2px, transparent 3px);
  background-size: 72px 72px;
  mask-image: linear-gradient(180deg, black 12%, rgba(0, 0, 0, 0.76) 44%, transparent 100%);
}

body::after {
  opacity: 0.18;
  background:
    linear-gradient(135deg, transparent 0 47%, rgba(255, 255, 255, 0.72) 47% 53%, transparent 53% 100%);
  background-size: 240px 240px;
  mix-blend-mode: screen;
}

a,
button {
  font: inherit;
}

a {
  color: inherit;
}

a:focus-visible,
button:focus-visible {
  outline: 3px solid rgba(225, 165, 189, 0.76);
  outline-offset: 4px;
}

img {
  display: block;
  max-width: 100%;
}

[hidden] {
  display: none !important;
}

.book-shell {
  position: relative;
  min-height: 100vh;
  padding: 26px 20px 30px;
}

.book-background {
  position: fixed;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.background-cat {
  position: absolute;
  opacity: 0.16;
  filter: blur(0.2px);
}

.background-cat-crop {
  width: min(20vw, 240px);
  overflow: hidden;
}

.background-cat img {
  width: min(48vw, 520px);
  max-width: none;
}

.background-cat.cat-1 {
  top: 4%;
  left: 2%;
  transform: rotate(-10deg);
}

.background-cat.cat-2 {
  top: 8%;
  right: 2%;
  transform: scale(0.9) rotate(9deg);
}

.background-cat.cat-3 {
  bottom: 10%;
  left: 0;
  transform: scale(0.95) rotate(8deg);
}

.background-cat.cat-4 {
  right: 0;
  bottom: 6%;
  transform: scale(1.02) rotate(-8deg);
}

.book-frame {
  position: relative;
  z-index: 1;
  width: min(1480px, 100%);
  margin: 0 auto;
}

.book-tabs,
.cover-action-row,
.cover-badge-row,
.cover-stat-row,
.section-heading,
.toolbar,
.card-topline,
.card-heading-row,
.card-footer,
.detail-band,
.news-footer,
.story-meta,
.source-ribbon,
.reason-list,
.page-turn-row,
.story-actions {
  display: flex;
  gap: 12px;
}

.book-tabs,
.cover-badge-row,
.cover-action-row,
.cover-stat-row,
.toolbar,
.source-ribbon,
.reason-list,
.page-turn-row {
  flex-wrap: wrap;
}

.book-tabs {
  justify-content: center;
  margin-bottom: 18px;
}

.book-tab {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 46px;
  padding: 0 16px;
  border: 1px solid rgba(207, 160, 180, 0.22);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.76);
  color: var(--ink);
  cursor: pointer;
  box-shadow: var(--shadow-sm);
  transition: transform 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

.book-tab span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 999px;
  background: rgba(247, 229, 235, 0.8);
  color: var(--ink-strong);
  font-size: 0.82rem;
}

.book-tab strong {
  font-weight: 600;
}

.book-tab:hover,
.book-tab.is-active {
  transform: translateY(-3px);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(247, 239, 199, 0.84));
  box-shadow: var(--shadow-md);
}

.book-stage {
  position: relative;
  height: min(860px, calc(100vh - 132px));
  min-height: 740px;
  perspective: 1800px;
}

.book-stage::before {
  content: "";
  position: absolute;
  top: 18px;
  bottom: 18px;
  left: 50%;
  width: 20px;
  transform: translateX(-50%);
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(229, 188, 203, 0.18), rgba(255, 255, 255, 0.18), rgba(232, 211, 124, 0.16));
  filter: blur(0.2px);
  z-index: 1;
}

.book-page {
  position: absolute;
  inset: 0;
  opacity: 0;
  pointer-events: none;
  transform: rotateY(12deg) translateX(36px) scale(0.98);
  transform-origin: left center;
  transition: transform 320ms ease, opacity 320ms ease;
}

.book-page.is-active {
  opacity: 1;
  pointer-events: auto;
  transform: rotateY(0) translateX(0) scale(1);
  z-index: 2;
}

.book-frame[data-direction="prev"] .book-page.is-active {
  animation: page-enter-prev 360ms ease;
}

.book-frame[data-direction="next"] .book-page.is-active {
  animation: page-enter-next 360ms ease;
}

.page-paper {
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 28px 28px 24px;
  border-radius: 42px 28px 46px 30px / 32px 46px 32px 48px;
  border: 1px solid rgba(255, 255, 255, 0.9);
  background:
    radial-gradient(circle at top left, rgba(255, 255, 255, 0.95), transparent 32%),
    linear-gradient(145deg, rgba(255, 253, 249, 0.98), rgba(247, 229, 235, 0.86) 54%, rgba(247, 239, 199, 0.8) 100%);
  box-shadow: var(--shadow-xl);
  overflow: hidden;
}

.page-paper::before {
  content: "";
  position: absolute;
  inset: 14px;
  border-radius: 30px;
  border: 1px solid rgba(255, 255, 255, 0.48);
  pointer-events: none;
}

.page-paper::after {
  content: "";
  position: absolute;
  top: 14px;
  left: 30px;
  right: 30px;
  height: 18px;
  background:
    radial-gradient(circle at 12px 18px, rgba(255, 255, 255, 0.76) 12px, transparent 13px) 0 0 / 36px 18px repeat-x;
  pointer-events: none;
}

.cover-paper {
  background:
    radial-gradient(circle at top left, rgba(255, 255, 255, 0.96), transparent 32%),
    linear-gradient(135deg, rgba(255, 252, 247, 0.99), rgba(247, 229, 235, 0.9) 48%, rgba(247, 239, 199, 0.86) 100%);
}

.page-heading,
.cover-layout,
.cover-lower,
.recommendation-panel,
.mini-stat-grid {
  display: grid;
  gap: 22px;
}

.cover-layout {
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.72fr);
  align-items: stretch;
}

.cover-lower {
  grid-template-columns: minmax(280px, 0.76fr) minmax(0, 1.24fr);
  margin-top: 22px;
}

.publication-kicker,
.eyebrow,
.page-kicker,
.page-index,
.cover-panel-kicker,
.pairing-label,
.summary-block span,
.meta-grid span,
.price-stamp span,
.story-meta span,
.cover-badge,
.cover-stat {
  display: inline-flex;
  align-items: center;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 0.8rem;
}

.publication-kicker,
.eyebrow,
.page-kicker,
.cover-panel-kicker {
  gap: 8px;
}

.publication-kicker::before,
.eyebrow::before,
.page-kicker::before,
.cover-panel-kicker::before {
  content: "";
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--page-pink-strong), var(--page-yellow-strong));
  box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.58);
}

.publication-kicker,
.page-kicker,
.cover-panel-kicker {
  color: var(--ink-soft);
}

.eyebrow {
  color: #ba7691;
}

.cover-hero h1,
.page-heading h2,
.recommendation-copy h2,
.cheese-card h3,
.lead-story-card h3,
.story-card h3,
.guide-copy h3,
.story-summary h3,
.story-note strong {
  margin: 0;
  font-family: var(--display-font);
  color: var(--ink-strong);
}

.cover-hero h1 {
  max-width: 10.5ch;
  font-size: clamp(3.4rem, 6vw, 6.1rem);
  line-height: 0.92;
  letter-spacing: -0.04em;
}

.cover-summary,
.cover-pick-card p,
.guide-copy p,
.page-heading p,
.recommendation-subtitle,
.recommendation-reason,
.recommendation-side p,
.card-tagline,
.story,
.summary-block p,
.story-summary p,
.empty-state p,
.story-note p {
  line-height: 1.84;
}

.cover-summary {
  max-width: 40rem;
  margin: 16px 0 0;
  font-size: 1.08rem;
}

.cover-badge,
.cover-stat,
.source-pill,
.mini-badge,
.flavor-chip,
.card-ribbon,
.reason-list span,
.lead-story-badge,
.lead-story-tag,
.section-chip,
.nyanko-role,
.guide-page {
  min-height: 34px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid rgba(207, 160, 180, 0.18);
  background: rgba(255, 255, 255, 0.78);
  color: var(--ink);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.58);
}

.cover-action-row {
  margin-top: 24px;
}

.cover-stat-row {
  margin-top: 20px;
}

.hero-button,
.cover-pick-button,
.page-link-button,
.source-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 18px;
  border-radius: 999px;
  border: 1px solid transparent;
  text-decoration: none;
  cursor: pointer;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.hero-button.primary,
.cover-pick-button,
.page-link-button,
.source-link {
  background: linear-gradient(135deg, var(--page-pink-strong), var(--page-yellow-strong));
  color: var(--ink-strong);
  box-shadow: 0 10px 18px rgba(232, 211, 124, 0.22);
}

.hero-button.secondary {
  background: rgba(255, 255, 255, 0.74);
  border-color: rgba(207, 160, 180, 0.22);
  color: var(--ink);
}

.hero-button:hover,
.cover-pick-button:hover,
.page-link-button:hover,
.source-link:hover,
.page-turn:hover,
.toolbar-button:hover,
.guide-card:hover,
.cheese-card:hover,
.book-tab:hover {
  transform: translateY(-3px);
}

.cover-friend,
.cover-pick-card,
.cover-guide-panel,
.page-panel,
.story-note,
.story-summary {
  position: relative;
  overflow: hidden;
  padding: 22px;
  border-radius: 34px 26px 38px 26px / 30px 42px 28px 40px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.84);
  box-shadow: var(--shadow-md);
}

.cover-friend.tone-butter,
.tone-butter.page-paper {
  background:
    linear-gradient(150deg, rgba(255, 252, 241, 0.98), rgba(247, 239, 199, 0.9));
}

.cover-friend.tone-rose,
.tone-rose.page-paper {
  background:
    linear-gradient(150deg, rgba(255, 252, 250, 0.98), rgba(247, 229, 235, 0.92));
}

.cover-friend.tone-peach,
.tone-peach.page-paper {
  background:
    linear-gradient(150deg, rgba(255, 252, 248, 0.98), rgba(248, 223, 210, 0.92));
}

.cover-friend.tone-cream,
.tone-cream.page-paper {
  background:
    linear-gradient(150deg, rgba(255, 255, 255, 0.98), rgba(255, 248, 226, 0.92));
}

.cover-friend {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.cover-friend-copy strong {
  display: block;
  margin-top: 12px;
  font-family: var(--display-font);
  font-size: clamp(2rem, 3vw, 2.8rem);
  line-height: 1;
  color: var(--ink-strong);
}

.cover-friend-copy p {
  margin: 12px 0 0;
  line-height: 1.82;
}

.cover-friend-portrait {
  display: grid;
  place-items: center;
  margin-top: 16px;
  padding: 8px;
  aspect-ratio: 1 / 1;
  border-radius: 34px;
  background: rgba(255, 255, 255, 0.44);
}

.cover-friend-portrait img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 16px 18px rgba(186, 141, 160, 0.16));
}

.cover-pick-card h3 {
  margin: 14px 0 8px;
  font-family: var(--display-font);
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  line-height: 1.05;
  color: var(--ink-strong);
}

.cover-pick-button {
  margin-top: 16px;
}

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

.guide-card {
  display: grid;
  grid-template-columns: 110px minmax(0, 1fr);
  gap: 16px;
  width: 100%;
  padding: 18px;
  border: 1px solid rgba(207, 160, 180, 0.18);
  border-radius: 34px 24px 40px 24px / 28px 42px 28px 36px;
  background: rgba(255, 255, 255, 0.74);
  box-shadow: var(--shadow-sm);
  cursor: pointer;
  text-align: left;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.guide-card.tone-butter {
  background: linear-gradient(180deg, rgba(255, 253, 244, 0.98), rgba(247, 239, 199, 0.9));
}

.guide-card.tone-rose {
  background: linear-gradient(180deg, rgba(255, 252, 252, 0.98), rgba(247, 229, 235, 0.92));
}

.guide-card.tone-peach {
  background: linear-gradient(180deg, rgba(255, 252, 248, 0.98), rgba(248, 223, 210, 0.92));
}

.guide-card.tone-cream {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(255, 248, 226, 0.92));
}

.guide-card.is-active {
  transform: translateY(-3px) rotate(-0.5deg);
  box-shadow: var(--shadow-md);
}

.guide-portrait {
  display: grid;
  place-items: center;
  aspect-ratio: 1 / 1;
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.54);
}

.guide-portrait img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.guide-copy {
  min-width: 0;
}

.guide-copy h3 {
  margin: 12px 0 8px;
  font-size: clamp(1.6rem, 3vw, 2rem);
  line-height: 1.02;
}

.guide-copy p {
  margin: 8px 0 0;
}

.guide-link {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  margin-top: 14px;
  padding: 0 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.76);
  color: #b16e89;
}

.page-heading {
  grid-template-columns: minmax(0, 1fr) 210px;
  align-items: center;
  margin-bottom: 20px;
}

.page-index {
  justify-content: center;
  width: 50px;
  height: 50px;
  margin-bottom: 12px;
  border-radius: 18px;
  background: linear-gradient(145deg, var(--page-pink-strong), var(--page-yellow-strong));
  color: var(--ink-strong);
  font-family: var(--display-font);
  font-size: 1rem;
  box-shadow: var(--shadow-sm);
}

.page-heading h2 {
  margin-top: 10px;
  font-size: clamp(2.2rem, 4vw, 3.4rem);
  line-height: 1;
}

.page-heading p {
  margin: 12px 0 0;
  color: var(--ink-soft);
}

.page-mascot {
  display: grid;
  justify-items: center;
  gap: 10px;
  padding: 16px;
  border-radius: 30px;
  background: rgba(255, 255, 255, 0.48);
}

.page-mascot img {
  width: 150px;
  height: 150px;
  object-fit: contain;
}

.page-mascot strong {
  font-family: var(--display-font);
  font-size: 1.3rem;
  color: var(--ink-strong);
}

.page-content {
  flex: 1;
  overflow: auto;
  padding-right: 6px;
}

.page-content::-webkit-scrollbar {
  width: 10px;
}

.page-content::-webkit-scrollbar-thumb {
  border: 2px solid transparent;
  border-radius: 999px;
  background: rgba(207, 160, 180, 0.3);
  background-clip: padding-box;
}

.page-panel + .page-panel,
.recommendation-panel + .page-panel {
  margin-top: 18px;
}

.recommendation-panel {
  grid-template-columns: auto minmax(0, 1.1fr) minmax(240px, 0.8fr);
  align-items: stretch;
}

.recommendation-seal {
  display: grid;
  place-items: center;
  width: 108px;
  min-height: 108px;
  padding: 10px;
  border-radius: 32px;
  background: linear-gradient(145deg, var(--page-peach), var(--page-pink-strong));
  color: var(--ink-strong);
  text-align: center;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  box-shadow: var(--shadow-md);
}

.recommendation-copy h2 {
  margin: 10px 0 10px;
  font-size: clamp(2rem, 3.6vw, 3rem);
  line-height: 1.02;
}

.recommendation-subtitle {
  margin: 0;
  color: var(--ink-soft);
}

.recommendation-reason {
  margin: 14px 0 0;
}

.reason-list {
  margin-top: 16px;
}

.reason-list span {
  background: rgba(255, 255, 255, 0.68);
}

.recommendation-side {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 20px;
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.68);
  border: 1px solid rgba(207, 160, 180, 0.14);
}

.recommendation-side strong {
  margin-top: 10px;
  font-family: var(--display-font);
  font-size: 1.65rem;
  line-height: 1.06;
  color: var(--ink-strong);
}

.recommendation-side p {
  margin: 14px 0 0;
}

.section-heading {
  align-items: end;
  justify-content: space-between;
  margin-bottom: 18px;
}

.section-heading h2 {
  margin: 10px 0 0;
  font-family: var(--display-font);
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1;
  color: var(--ink-strong);
}

.section-heading p {
  max-width: 30rem;
  margin: 0;
  color: var(--ink-soft);
  line-height: 1.8;
}

.toolbar-button {
  min-height: 42px;
  padding: 0 16px;
  border: 1px solid rgba(207, 160, 180, 0.2);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.7);
  color: var(--ink);
  cursor: pointer;
  box-shadow: var(--shadow-sm);
  transition: transform 180ms ease, background 180ms ease;
}

.toolbar-button.is-active {
  background: linear-gradient(135deg, var(--page-pink-strong), var(--page-yellow-strong));
  color: var(--ink-strong);
}

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

.cheese-card {
  grid-column: span 6;
  position: relative;
  overflow: hidden;
  border-radius: 32px 24px 36px 24px / 26px 38px 24px 34px;
  border: 1px solid rgba(207, 160, 180, 0.14);
  box-shadow: var(--shadow-sm);
  background: rgba(255, 255, 255, 0.86);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.cheese-card.is-highlighted {
  grid-column: span 12;
  box-shadow: var(--shadow-md);
}

.cheese-card.is-focused {
  box-shadow:
    0 0 0 4px rgba(232, 211, 124, 0.38),
    0 0 0 10px rgba(247, 229, 235, 0.28),
    var(--shadow-lg);
  animation: cheese-card-focus 1.8s ease;
}

.cheese-card:nth-child(even) {
  transform: translateY(10px) rotate(0.35deg);
}

.cheese-card:nth-child(odd) {
  transform: rotate(-0.35deg);
}

.cheese-card.is-highlighted,
.cheese-card.is-highlighted:nth-child(even),
.cheese-card.is-highlighted:nth-child(odd) {
  transform: rotate(-0.1deg);
}

.cheese-card:nth-child(3n + 1) .card-shell {
  background: linear-gradient(180deg, rgba(255, 253, 249, 0.98), rgba(255, 244, 246, 0.94));
}

.cheese-card:nth-child(3n + 2) .card-shell {
  background: linear-gradient(180deg, rgba(255, 253, 249, 0.98), rgba(255, 248, 228, 0.94));
}

.cheese-card:nth-child(3n) .card-shell {
  background: linear-gradient(180deg, rgba(255, 253, 249, 0.98), rgba(239, 248, 240, 0.94));
}

.card-shell {
  position: relative;
  height: 100%;
  padding: 22px;
}

.card-shell::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 7px;
  background: linear-gradient(90deg, var(--page-pink-strong), var(--page-yellow-strong), #cfe1d3);
}

.card-topline,
.card-heading-row,
.card-footer,
.detail-band,
.news-footer,
.story-meta {
  justify-content: space-between;
  flex-wrap: wrap;
}

.card-topline {
  align-items: center;
}

.mini-badge {
  background: rgba(247, 239, 199, 0.6);
  color: #876f24;
}

.card-heading-row {
  gap: 16px;
  margin-top: 14px;
  align-items: start;
}

.card-heading h3 {
  font-size: clamp(1.95rem, 3vw, 2.4rem);
  line-height: 0.98;
}

.card-heading p {
  margin: 8px 0 0;
  color: var(--ink-soft);
}

.price-stamp {
  min-width: 124px;
  padding: 12px 14px;
  border-radius: 22px;
  background: linear-gradient(145deg, rgba(255, 247, 224, 0.98), rgba(232, 211, 124, 0.88));
  border: 1px solid rgba(232, 211, 124, 0.24);
  text-align: right;
}

.price-stamp strong {
  display: block;
  margin-top: 6px;
  font-family: var(--display-font);
  font-size: 1.48rem;
  line-height: 1;
  color: var(--ink-strong);
}

.detail-band {
  margin-top: 16px;
  padding: 11px 14px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.64);
  border: 1px dashed rgba(207, 160, 180, 0.2);
  font-family: var(--mono-font);
  font-size: 0.82rem;
  color: var(--ink-soft);
}

.card-tagline {
  margin: 16px 0 0;
  color: var(--ink-strong);
}

.story {
  margin: 12px 0 0;
}

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

.meta-grid strong {
  display: block;
  margin-top: 6px;
  color: var(--ink-strong);
  line-height: 1.5;
}

.card-footer {
  margin-top: 20px;
  align-items: center;
}

.flavor-chip-row {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.flavor-chip,
.card-ribbon {
  background: rgba(247, 229, 235, 0.72);
}

.card-ribbon {
  background: linear-gradient(135deg, rgba(248, 223, 210, 0.9), rgba(247, 239, 199, 0.92));
  color: var(--ink-strong);
}

.editorial-panel.politics-panel {
  background: linear-gradient(160deg, rgba(255, 252, 250, 0.98), rgba(247, 229, 235, 0.88));
}

.editorial-panel.gaming-panel {
  background: linear-gradient(160deg, rgba(255, 252, 246, 0.98), rgba(228, 239, 232, 0.88));
}

.story-stack {
  display: grid;
  gap: 16px;
}

.lead-story-card,
.story-card {
  border-radius: 30px 22px 34px 24px / 28px 38px 24px 34px;
  box-shadow: var(--shadow-sm);
}

.lead-story-card {
  padding: 24px;
}

.lead-story-card.news {
  background: linear-gradient(145deg, rgba(255, 251, 252, 0.98), rgba(247, 229, 235, 0.92));
}

.lead-story-card.gaming {
  background: linear-gradient(145deg, rgba(255, 252, 241, 0.98), rgba(228, 239, 232, 0.92));
}

.lead-story-topline {
  align-items: center;
  flex-wrap: wrap;
}

.lead-story-badge {
  background: rgba(255, 255, 255, 0.86);
}

.lead-story-tag {
  background: rgba(247, 229, 235, 0.7);
}

.lead-story-time {
  margin-left: auto;
  color: var(--ink-soft);
}

.lead-story-card h3 {
  margin: 18px 0 10px;
  font-size: clamp(2rem, 3.6vw, 2.8rem);
  line-height: 1.04;
}

.story-card {
  display: grid;
  grid-template-columns: 62px minmax(0, 1fr);
  gap: 14px;
  padding: 20px;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(207, 160, 180, 0.14);
}

.story-card.gaming {
  background: linear-gradient(180deg, rgba(255, 252, 240, 0.96), rgba(242, 249, 244, 0.94));
}

.story-index {
  display: grid;
  place-items: center;
  width: 62px;
  height: 62px;
  border-radius: 22px;
  background: linear-gradient(145deg, var(--page-pink-strong), var(--page-yellow-strong));
  color: var(--ink-strong);
  font-family: var(--display-font);
  font-size: 1.18rem;
  box-shadow: var(--shadow-sm);
}

.story-body {
  min-width: 0;
}

.story-meta {
  color: var(--ink-soft);
  font-size: 0.82rem;
}

.story-meta span {
  background: rgba(255, 255, 255, 0.8);
}

.story-card h3 {
  margin: 12px 0 10px;
  font-size: 1.38rem;
  line-height: 1.24;
}

.summary-block {
  margin-top: 10px;
  padding: 14px 15px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.66);
  border: 1px solid rgba(207, 160, 180, 0.14);
}

.summary-block p {
  margin: 0;
}

.news-footer {
  align-items: center;
  margin-top: 12px;
  flex-wrap: wrap;
  color: var(--ink-soft);
}

.news-footer a {
  color: #b16e89;
  text-decoration: none;
}

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

.mini-stat-grid article {
  padding: 18px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.74);
  border: 1px solid rgba(207, 160, 180, 0.14);
  box-shadow: var(--shadow-sm);
}

.mini-stat-grid span {
  display: block;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

.mini-stat-grid strong {
  display: block;
  margin-top: 10px;
  font-family: var(--display-font);
  font-size: 1.7rem;
  line-height: 1;
  color: var(--ink-strong);
}

.table-wrap {
  overflow-x: auto;
  border-radius: 28px;
  border: 1px solid rgba(207, 160, 180, 0.14);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.64);
}

table {
  width: 100%;
  min-width: 760px;
  border-collapse: collapse;
  background: rgba(255, 253, 249, 0.96);
}

thead {
  background: linear-gradient(135deg, rgba(247, 229, 235, 0.92), rgba(247, 239, 199, 0.94));
  color: var(--ink-strong);
}

th,
td {
  padding: 16px 18px;
  text-align: left;
  border-bottom: 1px solid rgba(124, 100, 116, 0.08);
}

tbody tr:nth-child(odd) {
  background: rgba(255, 248, 239, 0.6);
}

tbody tr:hover {
  background: rgba(247, 229, 235, 0.54);
}

.empty-state {
  padding: 24px;
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.74);
  border: 1px dashed rgba(207, 160, 180, 0.3);
}

.empty-state h3 {
  margin: 0 0 10px;
  font-family: var(--display-font);
  font-size: 1.8rem;
  color: var(--ink-strong);
}

.page-turn-row {
  align-items: center;
  justify-content: space-between;
  margin-top: 20px;
}

.page-turn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  border: 1px solid rgba(207, 160, 180, 0.18);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.76);
  color: var(--ink);
  cursor: pointer;
  box-shadow: var(--shadow-sm);
  transition: transform 180ms ease, background 180ms ease;
}

.page-turn.ghost {
  opacity: 0.65;
  cursor: default;
}

.story-page {
  width: min(960px, calc(100% - 24px));
  margin: 24px auto 40px;
  padding: 28px;
  border-radius: 38px;
  border: 1px solid rgba(255, 255, 255, 0.92);
  background:
    radial-gradient(circle at top left, rgba(255, 255, 255, 0.95), transparent 30%),
    linear-gradient(145deg, rgba(255, 253, 249, 0.98), rgba(247, 229, 235, 0.88) 54%, rgba(247, 239, 199, 0.84) 100%);
  box-shadow: var(--shadow-xl);
}

.story-note,
.story-summary {
  margin-top: 18px;
}

.story-note strong,
.story-summary h3 {
  display: block;
  margin: 0 0 10px;
  font-size: 1.34rem;
}

.story-note p,
.story-summary p {
  margin: 0;
}

@keyframes page-enter-next {
  from {
    opacity: 0;
    transform: rotateY(16deg) translateX(42px) scale(0.98);
  }

  to {
    opacity: 1;
    transform: rotateY(0) translateX(0) scale(1);
  }
}

@keyframes page-enter-prev {
  from {
    opacity: 0;
    transform: rotateY(-16deg) translateX(-42px) scale(0.98);
  }

  to {
    opacity: 1;
    transform: rotateY(0) translateX(0) scale(1);
  }
}

@keyframes cheese-card-focus {
  0% {
    transform: translateY(0) scale(0.98);
  }

  25% {
    transform: translateY(-4px) scale(1.01);
  }

  100% {
    transform: translateY(0) scale(1);
  }
}

@media (max-width: 1180px) {
  .cover-layout,
  .cover-lower,
  .recommendation-panel,
  .page-heading {
    grid-template-columns: 1fr;
  }

  .guide-grid,
  .mini-stat-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 960px) {
  .book-shell {
    padding: 18px 14px 24px;
  }

  .book-stage {
    height: auto;
    min-height: 0;
  }

  .book-stage::before {
    display: none;
  }

  .book-page {
    position: relative;
    display: none;
    inset: auto;
    opacity: 1;
    transform: none;
    pointer-events: auto;
  }

  .book-page.is-active {
    display: block;
  }

  .page-paper {
    min-height: 0;
  }

  .page-content {
    overflow: visible;
    padding-right: 0;
  }

  .guide-grid,
  .mini-stat-grid,
  .cheese-grid,
  .meta-grid {
    grid-template-columns: 1fr;
  }

  .cheese-card,
  .cheese-card.is-highlighted {
    grid-column: span 12;
    transform: none;
  }

  .guide-card {
    grid-template-columns: 88px minmax(0, 1fr);
  }
}

@media (max-width: 680px) {
  .book-tabs {
    gap: 8px;
  }

  .book-tab {
    min-height: 42px;
    padding: 0 12px;
  }

  .book-tab strong {
    font-size: 0.88rem;
  }

  .page-paper,
  .story-page {
    padding: 22px 18px 20px;
    border-radius: 28px;
  }

  .cover-hero h1 {
    max-width: none;
    font-size: clamp(2.7rem, 12vw, 4.4rem);
  }

  .section-heading h2,
  .page-heading h2,
  .recommendation-copy h2,
  .lead-story-card h3 {
    font-size: clamp(1.9rem, 8vw, 2.7rem);
  }

  .story-card {
    grid-template-columns: 1fr;
  }

  .story-index {
    margin-bottom: 2px;
  }

  th,
  td {
    padding: 14px 12px;
  }

  table {
    min-width: 680px;
  }
}
