:root {
  --ink: #302437;
  --muted: #77657f;
  --paper: #fff9fd;
  --soft: #f8edf8;
  --line: #ead7eb;
  --rose: #df75a0;
  --plum: #6a3d72;
  --lavender: #b18ae8;
  --blush: #f4b7cf;
  --teal: #7c8edb;
  --honey: #f5c477;
  --white: #ffffff;
  --shadow: 0 18px 46px rgba(106, 61, 114, 0.16);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "Hiragino Kaku Gothic ProN", "Yu Gothic", "Meiryo", system-ui, sans-serif;
  line-height: 1.78;
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 14px clamp(18px, 5vw, 64px);
  background: rgba(255, 249, 253, 0.94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 900;
}

.brand-mark {
  display: block;
  flex: 0 0 auto;
  width: 32px;
  height: 32px;
  overflow: hidden;
  border: 1px solid rgba(117, 73, 118, 0.24);
  border-radius: 8px;
  background: var(--lavender);
  box-shadow: 0 4px 12px rgba(106, 61, 114, 0.13);
}

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

.nav {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(12px, 3vw, 26px);
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 800;
}

.nav a:hover {
  color: var(--rose);
}

.home-hero {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(340px, 1.05fr);
  gap: clamp(28px, 6vw, 70px);
  align-items: center;
  padding: clamp(46px, 8vw, 96px) clamp(18px, 6vw, 78px);
  background:
    radial-gradient(circle at 20% 10%, rgba(223, 117, 160, 0.26), transparent 34%),
    radial-gradient(circle at 78% 16%, rgba(177, 138, 232, 0.26), transparent 30%),
    linear-gradient(135deg, #fff7fc 0%, #f6e9fb 58%, #fff4f8 100%);
}

.hero-copy {
  max-width: 680px;
}

.ad-label,
.eyebrow {
  margin: 0 0 12px;
  color: var(--rose);
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0;
}

.ad-label {
  display: inline-flex;
  padding: 4px 10px;
  border-radius: 999px;
  color: var(--plum);
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid var(--line);
}

h1,
h2,
h3,
p,
li {
  overflow-wrap: anywhere;
}

h1 {
  margin: 0;
  font-size: clamp(2.2rem, 6vw, 4.8rem);
  line-height: 1.08;
  letter-spacing: 0;
}

h2 {
  margin: 0;
  font-size: clamp(1.55rem, 3.6vw, 2.8rem);
  line-height: 1.24;
  letter-spacing: 0;
}

h3 {
  margin: 0 0 8px;
  font-size: 1.12rem;
  line-height: 1.44;
}

.lead {
  max-width: 620px;
  margin: 20px 0 0;
  color: var(--muted);
  font-size: clamp(1rem, 2vw, 1.18rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 20px;
  border-radius: 8px;
  font-weight: 900;
  line-height: 1.35;
}

.button:hover {
  transform: translateY(-1px);
}

.button:focus-visible,
.text-link:focus-visible,
.line-sticker-link:focus-visible,
.related-links a:focus-visible,
main p a:not(.button):not(.text-link):not(.line-sticker-link):focus-visible {
  outline: 3px solid rgba(124, 142, 219, 0.42);
  outline-offset: 4px;
}

.primary {
  color: var(--white);
  background: linear-gradient(135deg, var(--plum), var(--rose));
  box-shadow: 0 14px 30px rgba(223, 117, 160, 0.24);
}

.secondary {
  color: var(--plum);
  background: var(--white);
  border: 1px solid var(--line);
}

.hero-visual img {
  width: 100%;
  aspect-ratio: 16 / 11;
  object-fit: cover;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.category-band {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1px;
  background: var(--line);
}

.category-band div {
  padding: 24px clamp(18px, 5vw, 52px);
  background: var(--white);
}

.category-band strong,
.category-band span {
  display: block;
}

.category-band strong {
  font-size: clamp(1.18rem, 2.5vw, 1.65rem);
  line-height: 1.35;
}

.category-band span {
  margin-top: 4px;
  color: var(--muted);
}

.section {
  padding: clamp(58px, 9vw, 104px) clamp(18px, 6vw, 78px);
}

.section-heading {
  max-width: 840px;
  margin-bottom: 30px;
}

.article-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) repeat(2, minmax(220px, 0.8fr));
  gap: 18px;
}

.featured-card,
.coming-card,
.assistant-card,
.about-panel,
details {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 10px 34px rgba(106, 61, 114, 0.09);
}

.featured-card {
  overflow: hidden;
}

.featured-card a {
  display: grid;
  grid-template-columns: minmax(220px, 0.95fr) minmax(0, 1.05fr);
  min-height: 100%;
}

.featured-card img {
  width: 100%;
  height: 100%;
  min-height: 280px;
  object-fit: cover;
}

.featured-card div,
.coming-card {
  padding: 24px;
}

.assistant-card {
  display: grid;
  grid-column: 1 / -1;
  grid-template-columns: 150px minmax(0, 1fr);
  gap: 18px;
  align-items: center;
  padding: 20px;
  background: linear-gradient(135deg, #fff 0%, #fff5fb 100%);
}

.assistant-card img {
  width: 150px;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 8px;
  background: var(--soft);
}

.coming-card a {
  display: block;
  min-height: 100%;
}

.tag {
  display: inline-flex;
  margin: 0 0 10px;
  color: var(--teal);
  font-size: 0.82rem;
  font-weight: 900;
}

.featured-card p:not(.tag),
.coming-card p,
.about-copy p,
.about-panel p,
.article-body p,
.note,
.microcopy {
  color: var(--muted);
}

.text-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-top: 14px;
  color: var(--rose);
  font-weight: 900;
  box-shadow: inset 0 -0.42em rgba(244, 183, 207, 0.38);
  transition: color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.text-link::after {
  content: "→";
  display: inline-block;
  color: var(--plum);
  transition: transform 180ms ease;
}

a:hover .text-link,
.text-link:hover {
  color: var(--plum);
  box-shadow: inset 0 -1.15em rgba(244, 183, 207, 0.46);
}

a:hover .text-link::after,
.text-link:hover::after {
  transform: translateX(4px);
}

main p a:not(.button):not(.text-link):not(.line-sticker-link),
main li a:not(.button):not(.text-link):not(.line-sticker-link) {
  color: var(--plum);
  font-weight: 900;
  text-decoration: underline;
  text-decoration-color: rgba(223, 117, 160, 0.55);
  text-decoration-thickness: 3px;
  text-underline-offset: 4px;
  transition: color 180ms ease, background-color 180ms ease;
}

main p a:not(.button):not(.text-link):not(.line-sticker-link):hover,
main li a:not(.button):not(.text-link):not(.line-sticker-link):hover {
  color: var(--rose);
  background: rgba(244, 183, 207, 0.18);
}

.line-sticker-link {
  position: relative;
  display: inline-grid;
  grid-template-columns: auto auto;
  align-items: center;
  gap: 0 10px;
  min-height: 54px;
  margin-top: 12px;
  padding: 9px 44px 9px 14px;
  overflow: hidden;
  color: var(--plum);
  background: linear-gradient(110deg, #fff 0%, #fff0f8 52%, #f4edff 100%);
  border: 2px solid rgba(223, 117, 160, 0.55);
  border-radius: 8px;
  box-shadow: 0 10px 24px rgba(106, 61, 114, 0.13);
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.line-sticker-link > span {
  grid-row: 1 / 3;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  color: var(--white);
  background: linear-gradient(135deg, var(--rose), var(--lavender));
  border-radius: 50%;
  animation: sticker-sparkle 2.8s ease-in-out infinite;
}

.line-sticker-link strong,
.line-sticker-link small {
  line-height: 1.3;
}

.line-sticker-link strong {
  font-size: 0.98rem;
}

.line-sticker-link small {
  color: var(--rose);
  font-weight: 900;
}

.line-sticker-link::after {
  content: "↗";
  position: absolute;
  right: 15px;
  top: 50%;
  color: var(--rose);
  font-size: 1.25rem;
  font-weight: 900;
  transform: translateY(-50%);
  transition: transform 180ms ease;
}

.line-sticker-link:hover {
  transform: translateY(-2px);
  border-color: var(--rose);
  box-shadow: 0 14px 30px rgba(223, 117, 160, 0.22);
}

.line-sticker-link:hover::after {
  transform: translate(3px, calc(-50% - 3px));
}

@keyframes sticker-sparkle {
  0%, 78%, 100% {
    transform: rotate(0deg) scale(1);
  }
  84% {
    transform: rotate(-8deg) scale(1.08);
  }
  90% {
    transform: rotate(8deg) scale(1.08);
  }
}

.about-section {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.8fr);
  gap: clamp(24px, 5vw, 58px);
  background: var(--soft);
}

.about-copy {
  max-width: 820px;
}

.about-panel {
  padding: 26px;
}

.article-hero {
  position: relative;
  min-height: 78vh;
  display: grid;
  align-items: center;
  overflow: hidden;
  color: var(--white);
  background: var(--plum);
}

.soft-article-hero {
  padding: clamp(58px, 9vw, 118px) clamp(18px, 6vw, 78px);
  background:
    radial-gradient(circle at 18% 12%, rgba(223, 117, 160, 0.24), transparent 32%),
    radial-gradient(circle at 86% 6%, rgba(177, 138, 232, 0.28), transparent 30%),
    linear-gradient(135deg, #fff7fc 0%, #f6e9fb 62%, #fff4f8 100%);
}

.soft-article-hero > div {
  width: min(900px, 100%);
}

.assistant-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(220px, 320px);
  gap: clamp(24px, 5vw, 56px);
  align-items: center;
}

.duo-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 430px);
  gap: clamp(24px, 5vw, 56px);
  align-items: center;
}

.duo-icons {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  align-items: end;
}

.duo-icons img,
.mini-duo img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 8px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.assistant-mascot {
  width: min(320px, 100%);
  justify-self: center;
  border-radius: 8px;
  box-shadow: var(--shadow);
  background: var(--white);
}

.article-hero > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.article-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(76, 44, 84, 0.95) 0%, rgba(106, 61, 114, 0.7) 46%, rgba(106, 61, 114, 0.18) 100%),
    linear-gradient(0deg, rgba(76, 44, 84, 0.56), transparent);
}

.article-hero-copy {
  position: relative;
  z-index: 1;
  width: min(760px, calc(100% - 36px));
  margin-left: clamp(18px, 7vw, 86px);
  padding: 72px 0;
}

.article-hero .lead {
  color: rgba(255, 255, 255, 0.84);
}

.microcopy {
  margin: 12px 0 0;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.7);
}

.article-body {
  width: min(960px, calc(100% - 36px));
  margin: 0 auto;
  padding: clamp(44px, 7vw, 82px) 0;
}

.article-body section {
  margin-top: 48px;
}

.article-body section:first-child {
  margin-top: 0;
}

.price-table {
  overflow: hidden;
  margin-top: 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.row {
  display: grid;
  grid-template-columns: 1fr 1fr 1.5fr;
  border-top: 1px solid var(--line);
}

.row:first-child {
  border-top: 0;
}

.row span {
  padding: 16px 18px;
  border-left: 1px solid var(--line);
}

.row span:first-child {
  border-left: 0;
  font-weight: 900;
}

.row.header {
  color: var(--white);
  background: var(--plum);
  font-weight: 900;
}

.comparison-wrap {
  overflow-x: auto;
  margin-top: 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.comparison-table {
  width: 100%;
  min-width: 780px;
  border-collapse: collapse;
  line-height: 1.65;
}

.comparison-table caption {
  padding: 14px 16px;
  color: var(--plum);
  background: #fff4fa;
  font-weight: 900;
  text-align: left;
}

.comparison-table th,
.comparison-table td {
  padding: 14px 16px;
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.comparison-table tr > :first-child {
  border-left: 0;
}

.comparison-table thead th {
  color: var(--white);
  background: var(--plum);
  font-weight: 900;
}

.comparison-table tbody th {
  color: var(--ink);
  background: #fbf7ff;
  font-weight: 900;
}

.simple-steps,
.check-list {
  display: grid;
  gap: 12px;
  padding-left: 1.25rem;
}

.check-list {
  padding: 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding-left: 30px;
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.72em;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--rose);
  box-shadow: inset 0 0 0 4px #fde5f0;
}

.assistant-note {
  display: grid;
  grid-template-columns: 128px minmax(0, 1fr);
  gap: 18px;
  align-items: center;
  margin-top: 24px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: linear-gradient(135deg, #fff 0%, #fff4fa 100%);
  box-shadow: 0 10px 34px rgba(106, 61, 114, 0.09);
}

.assistant-note.compact {
  margin-top: 22px;
}

.assistant-note img {
  width: 128px;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 8px;
}

.ranking-list {
  display: grid;
  gap: 14px;
  margin-top: 22px;
}

.ranking-card {
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr);
  gap: 18px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 10px 34px rgba(106, 61, 114, 0.08);
}

.rank {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  color: var(--white);
  background: linear-gradient(135deg, var(--rose), var(--lavender));
  font-size: 1.35rem;
  font-weight: 900;
}

.kohatan-comment {
  margin: 12px 0 0;
  padding: 12px 14px;
  border-left: 4px solid var(--blush);
  color: var(--plum);
  background: #fff6fb;
  font-weight: 800;
}

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

.genre-grid div {
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.dialogue-scene {
  display: grid;
  gap: 14px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: linear-gradient(135deg, #fff 0%, #fff5fb 100%);
  box-shadow: 0 10px 34px rgba(106, 61, 114, 0.08);
}

.dialogue-line {
  display: grid;
  grid-template-columns: 100px minmax(0, 1fr);
  gap: 16px;
  align-items: start;
}

.dialogue-avatar {
  display: grid;
  justify-items: center;
  width: 100px;
  margin: 0;
}

.dialogue-avatar-crop {
  position: relative;
  width: 92px;
  aspect-ratio: 1;
  overflow: hidden;
  border: 3px solid var(--white);
  border-radius: 50%;
  background: var(--white);
  box-shadow: 0 8px 22px rgba(106, 61, 114, 0.15);
}

.dialogue-avatar img {
  position: absolute;
  left: 50%;
  max-width: none;
  height: auto;
  border-radius: 0;
  box-shadow: none;
  transform: translateX(-50%);
}

.dialogue-line.princess .dialogue-avatar-crop {
  outline: 2px solid rgba(223, 117, 160, 0.45);
}

.dialogue-line.princess .dialogue-avatar img {
  top: -12%;
  width: 240%;
}

.dialogue-line.assistant .dialogue-avatar-crop {
  outline: 2px solid rgba(177, 138, 232, 0.5);
}

.dialogue-line.assistant .dialogue-avatar img {
  top: -11%;
  width: 225%;
}

.dialogue-avatar figcaption {
  position: relative;
  z-index: 1;
  min-width: 62px;
  margin-top: -7px;
  padding: 4px 12px;
  border: 1px solid rgba(106, 61, 114, 0.18);
  border-radius: 999px;
  color: var(--plum);
  background: var(--white);
  box-shadow: 0 5px 14px rgba(106, 61, 114, 0.12);
  font-size: 0.78rem;
  font-weight: 900;
  line-height: 1.2;
  text-align: center;
}

.dialogue-line.princess .dialogue-avatar figcaption {
  border-color: rgba(223, 117, 160, 0.42);
  background: #fff2f8;
}

.dialogue-line.assistant .dialogue-avatar figcaption {
  border-color: rgba(177, 138, 232, 0.46);
  background: #f7f1ff;
}

.dialogue-line > div {
  padding: 16px 18px;
  border-radius: 8px;
  background: var(--white);
  border: 1px solid var(--line);
}

.dialogue-line.princess > div {
  border-color: rgba(223, 117, 160, 0.38);
}

.dialogue-line.assistant > div {
  border-color: rgba(177, 138, 232, 0.42);
}

.speaker {
  margin: 0 0 4px;
  color: var(--plum);
  font-weight: 900;
}

.moon-litterbox-note {
  margin-top: 20px;
  padding: 22px;
  border: 1px solid rgba(177, 138, 232, 0.38);
  border-left: 5px solid var(--lavender);
  border-radius: 8px;
  background: #fbf8ff;
}

.moon-litterbox-note h3 {
  margin: 4px 0 8px;
}

.moon-litterbox-note .note {
  margin-bottom: 0;
}

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

.profile-card {
  display: grid;
  grid-template-columns: 120px minmax(0, 1fr);
  gap: 18px;
  align-items: center;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 10px 34px rgba(106, 61, 114, 0.08);
}

.profile-card img,
.profile-placeholder {
  width: 120px;
  aspect-ratio: 1;
  border-radius: 8px;
}

.profile-card img {
  object-fit: cover;
  background: var(--soft);
}

.profile-placeholder {
  display: grid;
  place-items: center;
  color: var(--white);
  background: linear-gradient(135deg, var(--rose), var(--plum));
  font-size: 1.8rem;
  font-weight: 900;
}

.mini-duo {
  display: grid;
  grid-template-columns: repeat(2, 86px);
  gap: 10px;
  margin-bottom: 18px;
}

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

.policy-grid div {
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 10px 34px rgba(106, 61, 114, 0.08);
}

.policy-body section {
  padding-bottom: 30px;
  border-bottom: 1px solid var(--line);
}

.policy-body section:last-child {
  border-bottom: 0;
}

.bookshelf-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(320px, 0.75fr);
  gap: clamp(30px, 6vw, 72px);
  align-items: center;
  padding: clamp(54px, 8vw, 96px) clamp(18px, 6vw, 78px);
  background:
    linear-gradient(110deg, rgba(255, 249, 253, 0.96), rgba(246, 233, 251, 0.88)),
    var(--soft);
}

.bookshelf-portrait {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: var(--shadow);
}

.bookshelf-portrait .mini-duo {
  margin: -38px 0 14px;
}

.bookshelf-portrait .mini-duo img {
  width: 86px;
  aspect-ratio: 1;
  object-fit: cover;
  border: 3px solid var(--white);
  border-radius: 50%;
  background: var(--soft);
  box-shadow: 0 8px 20px rgba(106, 61, 114, 0.14);
}

.bookshelf-portrait p {
  margin: 8px 0 0;
  color: var(--muted);
}

.bookshelf-spines {
  display: flex;
  align-items: end;
  gap: 6px;
  height: 92px;
  margin: 0 0 12px;
  padding: 0 12px 10px;
  border-bottom: 6px solid var(--plum);
}

.bookshelf-spines span {
  display: block;
  width: 18%;
  height: 72%;
  border: 1px solid rgba(106, 61, 114, 0.18);
  border-radius: 4px 4px 0 0;
  background: var(--rose);
}

.bookshelf-spines span:nth-child(2) {
  height: 92%;
  background: var(--lavender);
}

.bookshelf-spines span:nth-child(3) {
  height: 66%;
  background: var(--honey);
}

.bookshelf-spines span:nth-child(4) {
  height: 84%;
  background: var(--teal);
}

.bookshelf-spines span:nth-child(5) {
  height: 76%;
  background: var(--blush);
}

.update-note {
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 800;
}

.bookshelf-rule-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 22px;
}

.bookshelf-rule-grid div {
  padding: 18px;
  border-left: 4px solid var(--lavender);
  background: var(--white);
  box-shadow: 0 8px 24px rgba(106, 61, 114, 0.07);
}

.bookshelf-rule-grid strong,
.bookshelf-rule-grid span {
  display: block;
}

.bookshelf-rule-grid span {
  margin-top: 6px;
  color: var(--muted);
}

.reading-status-list {
  display: grid;
  gap: 10px;
  margin-top: 20px;
}

.court-shelf {
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(0, 1.22fr);
  gap: 18px;
  margin-top: 22px;
}

.court-shelf-featured,
.court-author-list {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 10px 30px rgba(106, 61, 114, 0.08);
}

.court-shelf-featured {
  border-top: 5px solid var(--honey);
}

.court-shelf-featured .reading-status {
  margin-top: 12px;
}

.court-author-heading {
  margin: 0 0 10px;
  color: var(--plum);
  font-weight: 900;
}

.court-author-list ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.court-author-list li {
  display: grid;
  grid-template-columns: minmax(140px, 0.48fr) minmax(0, 1fr);
  gap: 14px;
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
}

.court-author-list li:last-child {
  border-bottom: 0;
}

.court-author-list span {
  color: var(--muted);
}

.organization-shelf {
  display: grid;
  grid-template-columns: minmax(230px, 0.7fr) minmax(0, 1.3fr);
  gap: 22px;
  margin-top: 18px;
  padding: 22px;
  border: 1px solid var(--line);
  border-left: 5px solid var(--teal);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 10px 30px rgba(106, 61, 114, 0.08);
}

.organization-shelf ul {
  display: flex;
  flex-wrap: wrap;
  align-content: center;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.organization-shelf li {
  padding: 7px 10px;
  border: 1px solid var(--line);
  border-radius: 6px;
  color: var(--plum);
  background: var(--soft);
  font-size: 0.84rem;
  font-weight: 900;
}

.organization-shelf li.is-read {
  color: var(--white);
  border-color: var(--plum);
  background: var(--plum);
}

.organization-shelf li.is-read span {
  margin-left: 5px;
  color: #fff7c9;
  font-size: 0.76rem;
}

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

.read-book-card {
  padding: 22px;
  border: 1px solid var(--line);
  border-top: 5px solid var(--plum);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 10px 30px rgba(106, 61, 114, 0.08);
}

.read-book-card .reading-status {
  margin-bottom: 14px;
}

.read-book-card .tag {
  min-height: 2.8em;
}

.tsundoku-shelf {
  margin-top: 22px;
}

.tsundoku-shelf .read-book-card {
  max-width: 540px;
  border-top-color: var(--lavender);
}

.curious-book-card {
  border-top-color: var(--teal);
}

.reading-status-list > div {
  display: grid;
  grid-template-columns: 160px minmax(0, 1fr);
  gap: 18px;
  align-items: center;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}

.reading-status-list p {
  margin: 0;
}

.reading-status {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 6px 10px;
  border-radius: 6px;
  font-size: 0.84rem;
  font-weight: 900;
}

.reading-status.finished {
  color: var(--white);
  background: var(--plum);
}

.reading-status.reading {
  color: var(--ink);
  background: var(--honey);
}

.reading-status.curious {
  color: var(--plum);
  border: 1px solid var(--lavender);
  background: var(--soft);
}

.moon-library-note {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.7fr);
  gap: 28px;
  align-items: start;
}

details {
  margin-top: 12px;
}

summary {
  cursor: pointer;
  padding: 18px 20px;
  font-weight: 900;
}

details p {
  padding: 0 20px 20px;
  margin: 0;
}

.related-links {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 18px;
}

.related-links a {
  position: relative;
  padding: 18px 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  color: var(--plum);
  font-weight: 900;
  box-shadow: 0 8px 24px rgba(106, 61, 114, 0.08);
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.related-links a::after {
  content: "→";
  float: right;
  margin-left: 12px;
  color: var(--rose);
  transition: transform 180ms ease;
}

.related-links a:hover {
  transform: translateY(-2px);
  border-color: var(--blush);
  box-shadow: 0 12px 28px rgba(106, 61, 114, 0.14);
}

.related-links a:hover::after {
  transform: translateX(4px);
}

.final-cta {
  padding: clamp(30px, 6vw, 56px);
  border-radius: 8px;
  color: var(--white);
  background: linear-gradient(135deg, var(--plum), var(--rose));
  box-shadow: var(--shadow);
}

.final-cta p:not(.eyebrow) {
  color: rgba(255, 255, 255, 0.78);
}

.final-cta .eyebrow {
  display: inline-block;
  margin-bottom: 16px;
  padding: 6px 10px;
  border: 1px solid rgba(245, 196, 119, 0.82);
  border-radius: 6px;
  color: #fff7c9;
  background: rgba(48, 36, 55, 0.84);
  box-shadow: 0 6px 16px rgba(48, 36, 55, 0.2);
}

.rescue-support {
  display: grid;
  grid-template-columns: 84px minmax(0, 1fr);
  gap: 22px;
  align-items: start;
  padding: 30px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.rescue-support > img {
  width: 84px;
  aspect-ratio: 1;
  border-radius: 8px;
}

.rescue-support .button {
  margin-top: 10px;
}

.rescue-support .note {
  margin: 16px 0 0;
  font-size: 0.88rem;
}

.site-footer {
  padding: 28px clamp(18px, 6vw, 78px);
  color: rgba(255, 255, 255, 0.78);
  background: var(--plum);
  font-size: 0.9rem;
}

.site-footer p {
  margin: 4px 0;
}

.footer-title {
  color: var(--white);
  font-weight: 900;
}

.footer-sitemap {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 24px 32px;
  margin: 24px 0;
  padding: 24px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
}

.footer-sitemap > div {
  display: grid;
  align-content: start;
  gap: 8px;
}

.footer-sitemap strong {
  color: var(--white);
  font-size: 0.82rem;
}

.footer-sitemap a {
  width: fit-content;
}

.footer-ad-disclosure {
  font-size: 0.82rem;
}

.amazon-disclosure {
  max-width: 860px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.78rem;
}

.site-credit {
  margin-top: 18px !important;
  text-align: center;
  color: rgba(255, 255, 255, 0.58);
  font-size: 0.72rem;
}

.site-footer a {
  text-decoration: underline;
  text-decoration-color: rgba(255, 255, 255, 0.38);
  text-underline-offset: 4px;
}

.site-footer a:hover,
.site-footer a:focus-visible {
  color: var(--white);
  text-decoration-color: var(--blush);
}

@media (prefers-reduced-motion: reduce) {
  .line-sticker-link > span {
    animation: none;
  }

  .button,
  .text-link,
  .text-link::after,
  .line-sticker-link,
  .line-sticker-link::after,
  .related-links a,
  .related-links a::after {
    transition: none;
  }
}

@media (max-width: 960px) {
  .home-hero,
  .article-grid,
  .about-section,
  .featured-card a,
  .related-links,
  .assistant-hero,
  .duo-hero,
  .genre-grid,
  .profile-grid,
  .policy-grid {
    grid-template-columns: 1fr;
  }

  .bookshelf-hero,
  .bookshelf-rule-grid,
  .court-shelf,
  .organization-shelf,
  .read-shelf-grid,
  .moon-library-note {
    grid-template-columns: 1fr;
  }

  .category-band {
    grid-template-columns: 1fr;
  }

  .article-hero {
    min-height: 720px;
  }
}

@media (max-width: 720px) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
  }

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

  .row span {
    border-left: 0;
    border-top: 1px solid var(--line);
  }

  .row span:first-child {
    border-top: 0;
  }

  .button {
    width: 100%;
  }

  .assistant-card,
  .assistant-note,
  .ranking-card,
  .profile-card,
  .rescue-support {
    grid-template-columns: 1fr;
  }

  .reading-status-list > div {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .court-author-list li {
    grid-template-columns: 1fr;
    gap: 2px;
  }

  .dialogue-line {
    grid-template-columns: 78px minmax(0, 1fr);
    gap: 10px;
  }

  .dialogue-avatar {
    width: 78px;
  }

  .dialogue-avatar-crop {
    width: 72px;
  }

  .dialogue-line > div {
    padding: 14px;
  }

  .assistant-card img,
  .assistant-note img,
  .profile-card img,
  .rescue-support > img,
  .profile-placeholder {
    width: 118px;
  }
}
