:root {
  color-scheme: light;
  --ink: #202124;
  --muted: #72757e;
  --soft: #969aa3;
  --line: #e6e8ec;
  --paper: #f8f8f6;
  --panel: #ffffff;
  --panel-soft: #fbfbfa;
  --mint: #3e8f7f;
  --mint-dark: #236a5d;
  --coral: #ea7187;
  --gold: #d9aa4a;
  --blue: #6285c8;
  --violet: #8b7ce4;
  --shadow: 0 18px 48px rgba(28, 32, 38, 0.09);
  --shadow-soft: 0 8px 22px rgba(28, 32, 38, 0.06);
  --radius: 8px;
  --radius-sm: 8px;
  --base-font: "LINE Seed JP", "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Hiragino Sans", "Yu Gothic", "YuGothic", "Helvetica Neue", Arial, sans-serif;
  --heading-font: "LINE Seed JP", "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Hiragino Sans", "Yu Gothic", "YuGothic", "Helvetica Neue", Arial, sans-serif;
  --heading-ink: #353842;
  --heading-display-weight: 760;
  --heading-soft-weight: 700;
  --heading-card-weight: 650;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.88), rgba(248, 248, 246, 0.96) 34rem),
    repeating-linear-gradient(90deg, rgba(32, 33, 36, 0.018) 0, rgba(32, 33, 36, 0.018) 1px, transparent 1px, transparent 48px),
    var(--paper);
  color: var(--ink);
  font-family: var(--base-font);
  font-feature-settings: "palt" 1;
  letter-spacing: 0;
  line-height: 1.75;
}

body::selection {
  background: rgba(62, 143, 127, 0.22);
}

.cat-rain {
  position: fixed;
  inset: 0;
  z-index: 0;
  display: none;
  overflow: hidden;
  pointer-events: none;
}

.cat-rain span {
  position: absolute;
  top: -160px;
  left: var(--cat-left);
  width: var(--cat-size);
  aspect-ratio: 1402 / 1122;
  background: url("./assets/falling-cat.png") center / contain no-repeat;
  opacity: 0.24;
  filter: drop-shadow(0 12px 20px rgba(89, 83, 103, 0.12));
  animation: cat-fall var(--cat-duration) linear infinite;
  animation-delay: var(--cat-delay);
  will-change: transform;
}

.cat-rain span:nth-child(1) {
  --cat-left: 5%;
  --cat-size: 72px;
  --cat-duration: 19s;
  --cat-delay: -3s;
  --cat-drift: 44px;
}

.cat-rain span:nth-child(2) {
  --cat-left: 18%;
  --cat-size: 96px;
  --cat-duration: 25s;
  --cat-delay: -14s;
  --cat-drift: -34px;
}

.cat-rain span:nth-child(3) {
  --cat-left: 31%;
  --cat-size: 66px;
  --cat-duration: 21s;
  --cat-delay: -8s;
  --cat-drift: 28px;
}

.cat-rain span:nth-child(4) {
  --cat-left: 44%;
  --cat-size: 90px;
  --cat-duration: 27s;
  --cat-delay: -18s;
  --cat-drift: -48px;
}

.cat-rain span:nth-child(5) {
  --cat-left: 56%;
  --cat-size: 70px;
  --cat-duration: 20s;
  --cat-delay: -6s;
  --cat-drift: 36px;
}

.cat-rain span:nth-child(6) {
  --cat-left: 68%;
  --cat-size: 104px;
  --cat-duration: 29s;
  --cat-delay: -22s;
  --cat-drift: -38px;
}

.cat-rain span:nth-child(7) {
  --cat-left: 80%;
  --cat-size: 78px;
  --cat-duration: 23s;
  --cat-delay: -11s;
  --cat-drift: 42px;
}

.cat-rain span:nth-child(8) {
  --cat-left: 90%;
  --cat-size: 64px;
  --cat-duration: 18s;
  --cat-delay: -4s;
  --cat-drift: -26px;
}

.cat-rain span:nth-child(9) {
  --cat-left: 12%;
  --cat-size: 86px;
  --cat-duration: 31s;
  --cat-delay: -25s;
  --cat-drift: 52px;
}

@keyframes cat-fall {
  0% {
    transform: translate3d(0, -20vh, 0) rotate(0deg);
  }

  100% {
    transform: translate3d(var(--cat-drift), 125vh, 0) rotate(720deg);
  }
}

@media (min-width: 901px) {
  .cat-rain {
    display: block;
  }

  .article-hero {
    grid-template-columns: 40px minmax(0, 1fr) 40px;
    gap: 0.8rem;
    padding-right: clamp(0.75rem, 1.4vw, 1.4rem);
    padding-left: clamp(0.75rem, 1.4vw, 1.4rem);
  }

  .article-slider {
    gap: clamp(0.55rem, 1vw, 0.9rem);
  }

  .article-slider .hero-feature {
    flex-basis: clamp(220px, 22vw, 320px);
  }
}

@media (prefers-reduced-motion: reduce) {
  .cat-rain {
    display: none;
  }
}

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

button,
input,
textarea {
  font: inherit;
}

button,
a,
input,
textarea,
select {
  transition:
    border-color 0.18s ease,
    background-color 0.18s ease,
    color 0.18s ease,
    box-shadow 0.18s ease,
    transform 0.18s ease;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 68px;
  padding: 0.55rem clamp(1rem, 4vw, 4rem);
  border-bottom: 1px solid rgba(230, 232, 236, 0.78);
  background: rgba(255, 255, 255, 0.78);
  backdrop-filter: blur(20px) saturate(1.25);
}

.site-shell,
.app,
.site-footer {
  position: relative;
  z-index: 1;
}

.info-bar {
  position: relative;
  z-index: 2;
  display: none;
  place-items: center;
  overflow: hidden;
  border-bottom: 1px solid rgba(230, 232, 236, 0.86);
  padding: 0.48rem 1rem;
  background:
    linear-gradient(90deg, rgba(255, 226, 236, 0.96), rgba(236, 231, 255, 0.94), rgba(224, 244, 239, 0.94)),
    white;
  box-shadow: 0 8px 20px rgba(28, 32, 38, 0.035);
}

body.show-info-bar .info-bar {
  display: grid;
}

.info-bar::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 -35%;
  width: 30%;
  background: linear-gradient(
    105deg,
    transparent 0%,
    rgba(255, 255, 255, 0.1) 24%,
    rgba(255, 255, 255, 0.78) 48%,
    rgba(255, 255, 255, 0.14) 68%,
    transparent 100%
  );
  transform: skewX(-18deg);
  animation: info-shine 4.8s ease-in-out infinite;
  pointer-events: none;
}

.info-bar p {
  position: relative;
  z-index: 1;
  margin: 0;
  color: #42444d;
  font-size: clamp(0.82rem, 1vw, 0.94rem);
  font-weight: 800;
  line-height: 1.45;
  text-align: center;
}

.info-bar a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 28px;
  border: 1px solid rgba(32, 33, 36, 0.14);
  border-radius: 999px;
  margin-right: 0.18rem;
  padding: 0.18rem 0.72rem;
  background: rgba(255, 255, 255, 0.9);
  color: #2f3138;
  box-shadow: 0 5px 12px rgba(28, 32, 38, 0.07);
  font-weight: 900;
  line-height: 1.1;
  text-decoration: none;
}

.info-bar a:hover {
  background: #ffffff;
  color: #2f3138;
  transform: translateY(-1px);
}

@keyframes info-shine {
  0%,
  48% {
    left: -35%;
  }
  74%,
  100% {
    left: 108%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .info-bar::before,
  .diagnostics-list-cta a,
  .diagnostics-list-cta a::before {
    animation: none;
  }
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: clamp(0.2rem, 0.5vw, 0.45rem);
  flex: 0 0 auto;
  min-width: 0;
  color: inherit;
  text-decoration: none;
}

.brand-logo {
  display: block;
  width: auto;
  height: 54px;
}

.brand-subtitle {
  color: #666174;
  font-size: clamp(0.88rem, 1.05vw, 1rem);
  font-weight: 700;
  letter-spacing: 0.04em;
  line-height: 1.5;
  white-space: nowrap;
}

.menu-toggle,
.mobile-menu {
  display: none;
}

.mobile-diagnostic-list-button {
  display: none;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 0.18rem;
  margin-left: auto;
}

.main-nav a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  border: 0;
  border-radius: 7px;
  padding: 0.6rem clamp(0.7rem, 1vw, 0.95rem);
  background: transparent;
  color: #555a64;
  box-shadow: none;
  font-size: clamp(0.78rem, 0.84vw, 0.9rem);
  font-weight: 600;
  line-height: 1.2;
  white-space: nowrap;
}

.main-nav span {
  display: block;
  color: var(--mint-dark);
  font-size: 1.28rem;
  line-height: 1;
}

.main-nav a:hover {
  background: #f5f4f7;
  color: #30343d;
}

.main-nav-list {
  background: linear-gradient(135deg, rgba(255, 241, 246, 0.98), rgba(240, 245, 255, 0.96));
}

.main-nav-recommended {
  background: linear-gradient(135deg, rgba(255, 246, 219, 0.98), rgba(255, 235, 243, 0.96));
}

.main-nav-daily {
  background: linear-gradient(135deg, rgba(255, 226, 236, 0.96), rgba(255, 246, 219, 0.96));
}

.main-nav-ranking {
  background: linear-gradient(135deg, rgba(224, 244, 239, 0.98), rgba(236, 231, 255, 0.96));
}

.main-nav-new {
  background: linear-gradient(135deg, rgba(231, 244, 255, 0.98), rgba(255, 235, 243, 0.96));
}

.main-nav-list,
.main-nav-recommended,
.main-nav-daily,
.main-nav-ranking,
.main-nav-new,
.main-nav-categories {
  background: transparent;
}

@media (max-width: 1180px) {
  .brand-subtitle {
    display: none;
  }
}

.site-search {
  display: none;
  align-items: center;
  min-width: min(240px, 22vw);
  border-radius: 999px;
  border: 1px solid rgba(230, 232, 236, 0.9);
  background: rgba(246, 247, 247, 0.9);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.78);
  padding: 0.32rem 0.42rem 0.32rem 0.9rem;
}

.site-search input {
  border: 0;
  padding: 0.35rem;
  background: transparent;
  outline: 0;
  font-size: 0.86rem;
}

.site-search button {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
  font-size: 1.4rem;
}

.site-search:focus-within {
  border-color: rgba(62, 143, 127, 0.45);
  background: white;
  box-shadow: 0 0 0 4px rgba(62, 143, 127, 0.09);
}

.app {
  width: min(1180px, calc(100% - 2rem));
  margin: 0 auto;
  padding: 1rem 0 4rem;
}

.site-shell {
  width: min(1180px, calc(100% - 2rem));
  margin: 0 auto;
}

.top-hero-host {
  position: relative;
  z-index: 1;
}

.site-shell .app {
  width: 100%;
}

.site-sidebar {
  display: none;
}

.sidebar-panel {
  display: grid;
  gap: 0.75rem;
  border: 1px solid rgba(230, 232, 236, 0.92);
  border-radius: var(--radius);
  padding: 1rem;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: var(--shadow-soft);
}

.sidebar-panel h2 {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  margin: 0;
  color: var(--ink);
  font-family: var(--heading-font);
  font-size: 1rem;
  font-weight: 800;
  line-height: 1.35;
}

.sidebar-panel h2::before {
  content: "";
  width: 0.64rem;
  height: 0.64rem;
  border-radius: 999px;
  background: linear-gradient(135deg, #ee6d94, #8d80d8);
  box-shadow: 0 4px 10px rgba(141, 128, 216, 0.18);
}

.sidebar-list {
  display: grid;
  gap: 0.65rem;
}

.sidebar-diagnostic-link {
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr);
  gap: 0.7rem;
  align-items: center;
  min-width: 0;
  border-radius: 8px;
  padding: 0.45rem;
  background: rgba(248, 248, 246, 0.74);
}

.sidebar-diagnostic-link:hover {
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 10px 22px rgba(28, 32, 38, 0.08);
  transform: translateY(-1px);
}

.sidebar-diagnostic-link img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 6px;
  object-fit: cover;
}

.sidebar-diagnostic-link span {
  display: grid;
  align-content: center;
  min-width: 0;
}

.sidebar-diagnostic-link strong {
  display: -webkit-box;
  overflow: hidden;
  color: #343741;
  font-size: 0.82rem;
  font-weight: 700;
  line-height: 1.5;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.sidebar-genre-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.sidebar-genre-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 0.32rem 0.6rem;
  font-size: 0.74rem;
  font-weight: 800;
  line-height: 1.25;
}

.site-intro {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 0.7rem 1rem;
  align-items: start;
  border: 1px solid rgba(47, 140, 117, 0.18);
  border-radius: 8px;
  padding: 0.85rem 1rem;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.88), rgba(247, 244, 232, 0.88)),
    var(--panel);
  box-shadow: 0 8px 18px rgba(26, 45, 36, 0.06);
}

.site-intro strong {
  color: var(--mint-dark);
  font-size: 0.86rem;
  white-space: nowrap;
}

.site-intro p {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.75;
}

.hero {
  padding: 1rem 0 2.5rem;
}

.top-hero {
  position: relative;
  display: grid;
  grid-template-columns: auto minmax(260px, 0.95fr) minmax(320px, 1.2fr) auto;
  align-items: center;
  gap: clamp(1rem, 4vw, 4rem);
  min-height: 390px;
  border-bottom: 1px solid rgba(230, 232, 236, 0.86);
  margin: -1.8rem calc(50% - 50vw) 3rem;
  padding: clamp(2rem, 6vw, 4.5rem) max(2rem, calc((100vw - 1180px) / 2 + 1rem));
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.92), rgba(244, 247, 246, 0.86)),
    linear-gradient(90deg, rgba(62, 143, 127, 0.08), transparent 42%, rgba(234, 113, 135, 0.07)),
    var(--paper);
}

.article-hero {
  grid-template-columns: 46px minmax(0, 1fr) 46px;
  gap: clamp(0.55rem, 1.5vw, 0.9rem) clamp(0.7rem, 2vw, 1.2rem);
  align-items: center;
  min-height: auto;
  margin-bottom: 1.6rem;
  padding-top: clamp(1.2rem, 3vw, 2rem);
  padding-right: clamp(0.75rem, 2vw, 2rem);
  padding-bottom: clamp(0.85rem, 2vw, 1.25rem);
  padding-left: clamp(0.75rem, 2vw, 2rem);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(248, 248, 246, 0.9)),
    var(--paper);
}

.article-hero .hero-arrow {
  align-self: center;
}

.article-slider {
  display: flex;
  grid-column: 2;
  gap: clamp(0.85rem, 1.6vw, 1.25rem);
  min-height: auto;
  margin: 0;
  padding: 0.45rem 0 0.25rem;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-padding-inline: 0;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  cursor: grab;
  touch-action: pan-x pan-y;
  -webkit-overflow-scrolling: touch;
  user-select: none;
}

.article-slider::-webkit-scrollbar {
  display: none;
}

.article-slider.is-dragging {
  cursor: grabbing;
  scroll-snap-type: none;
}

.article-slider.is-dragging .hero-feature {
  pointer-events: none;
}

.article-slider .hero-feature {
  flex: 0 0 clamp(260px, 28vw, 420px);
  width: auto;
  margin: 0;
  cursor: pointer;
  scroll-snap-align: center;
}

.article-slider .hero-feature-art {
  border: 0;
  border-radius: 4px;
  box-shadow: 0 12px 28px rgba(28, 32, 38, 0.11);
}

.article-hero .dark-dots {
  grid-column: 1 / -1;
  margin-top: 0;
}

@media (min-width: 901px) {
  .article-hero {
    grid-template-columns: 40px minmax(0, 1fr) 40px;
    gap: 0.45rem clamp(0.75rem, 1.2vw, 1rem);
    padding-right: clamp(1.25rem, 2.6vw, 3rem);
    padding-bottom: 0.85rem;
    padding-left: clamp(1.25rem, 2.6vw, 3rem);
  }

  .article-slider {
    gap: clamp(0.55rem, 1vw, 0.9rem);
    padding-top: 0.45rem;
    padding-bottom: 0.1rem;
  }

  .article-slider .hero-feature {
    flex-basis: clamp(190px, 17vw, 240px);
  }

  .article-slider .hero-feature-art {
    box-shadow: 0 8px 18px rgba(28, 32, 38, 0.1);
  }

  .article-hero .hero-arrow {
    width: 40px;
    height: 40px;
  }
}

@media (min-width: 1100px) {
  .site-shell {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 304px;
    gap: 1.5rem;
    width: min(1280px, calc(100% - 2.5rem));
    align-items: start;
  }

  .site-sidebar {
    position: sticky;
    top: 92px;
    display: grid;
    gap: 1rem;
    padding-top: 1rem;
  }

  .daily-check-grid {
    gap: 0.9rem;
  }

  .daily-fortune-card,
  .zodiac-card {
    padding: 0.95rem;
  }
}

.top-hero-copy h1 {
  margin: 0 0 1.2rem;
  font-family: var(--heading-font);
  font-size: clamp(2.2rem, 4.4vw, 3.7rem);
  line-height: 1.13;
  font-weight: 800;
  letter-spacing: 0;
}

.top-hero-copy p {
  margin: 0 0 1.5rem;
  color: #42454b;
  font-size: 1.02rem;
  font-weight: 700;
  line-height: 2.05;
}

.button.dark {
  border-color: #202124;
  background: linear-gradient(135deg, #202124, #3b3d42);
  box-shadow: 0 14px 28px rgba(32, 33, 36, 0.2);
}

.hero-arrow {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.76);
  color: #36383d;
  box-shadow: var(--shadow-soft);
  cursor: pointer;
  font-size: 2.4rem;
  line-height: 1;
}

.hero-image-card {
  min-height: 230px;
}

.article-slider.hero-image-card {
  min-height: 0;
}

.hero-feature {
  display: block;
  width: min(420px, 100%);
  margin: 0 auto;
}

.hero-feature-art {
  display: grid;
  place-items: center;
  aspect-ratio: 16 / 9;
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.78);
  border-radius: var(--radius);
  overflow: hidden;
  color: white;
  font-size: 4rem;
  font-weight: 900;
  box-shadow: 0 20px 52px rgba(28, 32, 38, 0.14);
}

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

.dark-dots {
  grid-column: 1 / -1;
}

.dark-dots .hero-dot {
  width: 9px;
  height: 9px;
  background: #c9c9c9;
}

.dark-dots .hero-dot.active {
  background: #333;
}

.eyebrow {
  margin: 0 0 0.8rem;
  color: var(--mint-dark);
  font-size: 0.85rem;
  font-weight: 800;
  text-transform: uppercase;
}

.hero h1,
.result-shell h1 {
  margin: 0;
  max-width: 780px;
  font-size: clamp(2.4rem, 6vw, 5.8rem);
  line-height: 1.03;
  font-weight: 900;
}

@media (min-width: 769px) {
  .result-shell h1 {
    font-size: clamp(2rem, 3.2vw, 3.4rem);
    line-height: 1.16;
  }
}

.hero p:not(.eyebrow) {
  max-width: 640px;
  color: var(--muted);
  font-size: clamp(1rem, 2vw, 1.18rem);
  line-height: 1.9;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.7rem 1rem;
  background: rgba(255, 255, 255, 0.86);
  color: var(--ink);
  box-shadow: 0 7px 18px rgba(28, 32, 38, 0.05);
  cursor: pointer;
  font-weight: 800;
}

.button.primary {
  border-color: transparent;
  background: linear-gradient(135deg, #f47aa0 0%, #a98be8 54%, #7cc7df 100%);
  color: white;
  box-shadow: 0 14px 28px rgba(141, 128, 216, 0.22);
}

.button.primary.dark {
  border-color: #202124;
  background: linear-gradient(135deg, #202124, #3b3d42);
  box-shadow: 0 14px 28px rgba(32, 33, 36, 0.2);
}

.button.ghost:hover,
.button.primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 18px 34px rgba(141, 128, 216, 0.28);
}

.button.primary.dark:hover {
  box-shadow: 0 16px 30px rgba(32, 33, 36, 0.24);
}

.button.danger {
  border-color: rgba(231, 111, 81, 0.25);
  background: rgba(231, 111, 81, 0.1);
  color: #a33d28;
}

.hero-visual {
  position: relative;
  display: grid;
  align-content: start;
  gap: 0.85rem;
  min-height: 360px;
  border-radius: 8px;
  overflow: hidden;
  padding: 1.15rem;
  background: linear-gradient(135deg, rgba(47, 140, 117, 0.96), rgba(23, 32, 29, 0.94));
  box-shadow: var(--shadow);
}

.hero-visual-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  color: white;
}

.hero-visual-head span {
  font-size: 1.1rem;
  font-weight: 900;
}

.hero-visual-head small {
  color: rgba(255, 255, 255, 0.72);
  font-weight: 800;
}

.hero-slider {
  position: relative;
  min-height: 248px;
  overflow: hidden;
}

.hero-carousel {
  overflow: hidden;
  margin: 0 -1.15rem;
}

.hero-slide {
  position: absolute;
  top: 0;
  left: 50%;
  display: block;
  width: min(520px, 72%);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 8px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 16px 32px rgba(0, 0, 0, 0.22);
  opacity: 0;
  pointer-events: none;
  transform: translateX(calc(-50% + var(--offset) * 62%)) scale(0.82);
  transition:
    opacity 0.24s ease,
    transform 0.24s ease;
}

.hero-slide.active,
.hero-slide.near {
  opacity: 1;
  pointer-events: auto;
}

.hero-slide.active {
  z-index: 2;
  transform: translateX(-50%) scale(1);
}

.hero-slide-art,
.hero-slide-fallback {
  display: grid;
  place-items: center;
  aspect-ratio: 16 / 9;
  width: 100%;
  overflow: hidden;
  color: white;
  font-size: 2.4rem;
  font-weight: 900;
}

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

.hero-slide-copy {
  display: grid;
  min-height: 54px;
  padding: 0.65rem 0.75rem;
}

.hero-slide-copy strong {
  display: -webkit-box;
  overflow: hidden;
  color: #343741;
  font-size: 0.94rem;
  font-weight: 700;
  line-height: 1.48;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.hero-dots {
  display: flex;
  justify-content: center;
  gap: 0.55rem;
}

.hero-dot {
  width: 11px;
  height: 11px;
  border: 0;
  border-radius: 50%;
  padding: 0;
  background: rgba(255, 255, 255, 0.42);
  cursor: pointer;
}

.hero-dot.active {
  background: white;
}

.hero-dot:hover {
  transform: scale(1.18);
}

.home-section {
  margin-bottom: 2.5rem;
}

.daily-fortune-entry {
  margin: -1rem 0 2.4rem;
}

.daily-check-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.daily-fortune-card,
.zodiac-card {
  display: grid;
  gap: 1rem;
  align-content: start;
  border: 1px solid rgba(230, 232, 236, 0.92);
  border-radius: var(--radius);
  padding: clamp(0.85rem, 2vw, 1.2rem);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(255, 247, 250, 0.94)),
    white;
  box-shadow: var(--shadow-soft);
}

.daily-check-card {
  min-height: 100%;
}

.daily-fortune-card:hover,
.zodiac-card:hover {
  border-color: rgba(230, 109, 148, 0.32);
  transform: translateY(-3px);
  box-shadow: 0 20px 44px rgba(28, 32, 38, 0.11);
}

.daily-fortune-thumb,
.daily-fortune-large-thumb,
.zodiac-thumb,
.zodiac-page-thumb {
  display: grid;
  place-items: center;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: var(--radius);
  background: #fff7fb;
}

.daily-fortune-thumb img,
.daily-fortune-large-thumb img,
.zodiac-thumb img,
.zodiac-page-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.daily-check-copy {
  display: grid;
  align-content: start;
}

.daily-fortune-card span,
.zodiac-card-copy > span {
  display: inline-flex;
  width: fit-content;
  border-radius: 999px;
  padding: 0.28rem 0.7rem;
  background: rgba(230, 109, 148, 0.1);
  color: #b94d70;
  font-size: 0.82rem;
  font-weight: 700;
}

.daily-fortune-card h2,
.zodiac-card h2 {
  margin: 0.55rem 0 0.35rem;
  font-family: var(--heading-font);
  color: #44414d;
  font-size: clamp(1.08rem, 1.8vw, 1.42rem);
  font-weight: 700;
  line-height: 1.45;
}

.daily-fortune-card p,
.zodiac-card p {
  margin: 0;
  color: var(--muted);
  font-weight: 500;
  line-height: 1.7;
}

.zodiac-card {
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(247, 244, 255, 0.95)),
    white;
}

.zodiac-page-thumb {
  margin: 0 0 1.2rem;
  box-shadow: var(--shadow-soft);
}

.zodiac-card-copy > span {
  background: rgba(141, 128, 216, 0.1);
  color: #6b5fc7;
}

.wire-section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  border-left: 5px solid #e85f8d;
  margin-bottom: 1rem;
  padding: 0.25rem 0 0.25rem 0.85rem;
}

.wire-section-head h2 {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  margin: 0;
  font-family: var(--heading-font);
  font-size: clamp(1.25rem, 2.2vw, 1.68rem);
  font-weight: 800;
}

.wire-section-head h2 span {
  display: none;
}

.wire-section-head a {
  color: var(--ink);
  font-size: 0.88rem;
  font-weight: 900;
}

.daily-check-head {
  background: transparent;
  box-shadow: none;
}

.daily-check-head h2 {
  color: var(--ink);
}

.ranking-grid,
.new-grid {
  display: flex;
  grid-template-columns: none;
  gap: 1.1rem;
  margin: 0 -0.25rem;
  padding: 0.15rem 0.25rem 1rem;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-padding-inline: 0.25rem;
  scroll-snap-type: x mandatory;
  scrollbar-width: thin;
}

.result-ranking-section {
  margin-top: clamp(2rem, 5vw, 3rem);
  padding-top: clamp(1.4rem, 4vw, 2.2rem);
  border-top: 1px solid var(--line);
}

.result-ranking-head {
  justify-content: center;
  margin-bottom: 1rem;
}

.result-ranking-head h2 {
  text-align: center;
}

.ranking-card,
.new-card,
.result-ranking-grid .ranking-card {
  flex: 0 0 min(300px, 78vw);
  scroll-snap-align: start;
}

@media (min-width: 901px) {
  #ranking-grid > .ranking-card:nth-child(n+6),
  #new-home-grid > .new-card:nth-child(n+6) {
    display: none;
  }
}

.result-ranking-grid .ranking-card {
  flex-basis: min(340px, 78vw);
}

.ranking-card,
.new-card {
  position: relative;
  display: block;
  min-width: 0;
  border: 1px solid rgba(230, 232, 236, 0.92);
  border-radius: var(--radius);
  overflow: hidden;
  background: white;
  box-shadow: var(--shadow-soft);
  transition:
    box-shadow 0.2s ease,
    transform 0.2s ease,
    border-color 0.2s ease;
}

.ranking-card:hover,
.new-card:hover,
.category-card:hover {
  border-color: rgba(62, 143, 127, 0.28);
  transform: translateY(-4px);
  box-shadow: 0 20px 44px rgba(28, 32, 38, 0.11);
}

.ranking-art,
.new-art {
  display: grid;
  place-items: center;
  aspect-ratio: 16 / 9;
  width: 100%;
  overflow: hidden;
  background:
    linear-gradient(135deg, #f2f5f3, #f8f1f2),
    #f0f0ef;
  color: white;
  font-size: 2.4rem;
  font-weight: 900;
}

.ranking-art img,
.new-art img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ranking-body,
.new-body {
  display: grid;
  align-content: start;
  gap: 0.55rem;
  padding: 0.9rem 0.95rem 1rem;
}

.ranking-body h3,
.new-body h3 {
  display: -webkit-box;
  min-height: 2.8em;
  margin: 0;
  overflow: hidden;
  color: #343741;
  font-size: 0.96rem;
  font-weight: 700;
  line-height: 1.48;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.ranking-body p,
.new-body p {
  margin: 0;
  color: #6b6070;
  font-size: 0.78rem;
  font-weight: 700;
}

.ranking-title-row {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  min-width: 0;
}

.ranking-title-row p {
  display: inline-flex;
  align-items: center;
  max-width: 100%;
  min-height: 27px;
  border: 1px solid rgba(238, 109, 148, 0.18);
  border-radius: 999px;
  padding: 0.2rem 0.62rem;
  background: rgba(255, 240, 246, 0.86);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.ranking-title-row .category-tone-personality {
  border-color: rgba(217, 170, 74, 0.26);
  background: rgba(255, 247, 221, 0.92);
  color: #74602b;
}

.ranking-title-row .category-tone-love {
  border-color: rgba(234, 113, 135, 0.25);
  background: rgba(255, 238, 245, 0.94);
  color: #bd526d;
}

.ranking-title-row .category-tone-otome {
  border-color: rgba(242, 128, 136, 0.32);
  background: rgba(255, 230, 232, 0.96);
  color: #aa4d5d;
}

.ranking-title-row .category-tone-image {
  border-color: rgba(169, 117, 222, 0.24);
  background: rgba(248, 238, 255, 0.94);
  color: #7550a7;
}

.ranking-title-row .category-tone-mind {
  border-color: rgba(98, 133, 200, 0.24);
  background: rgba(232, 245, 255, 0.94);
  color: #426f9f;
}

.ranking-title-row .category-tone-fortune {
  border-color: rgba(217, 170, 74, 0.24);
  background: rgba(255, 248, 225, 0.94);
  color: #7b6429;
}

.ranking-title-row .category-tone-match {
  border-color: rgba(243, 155, 123, 0.26);
  background: rgba(255, 239, 232, 0.94);
  color: #b5694f;
}

.ranking-title-row .category-tone-other {
  border-color: rgba(150, 154, 163, 0.22);
  background: rgba(244, 246, 248, 0.96);
  color: #666b75;
}

.ranking-views,
.new-body time {
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 900;
}

.rank-badge {
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: #2c2e33;
  color: white;
  font-size: 0.9rem;
  font-weight: 900;
  box-shadow: 0 6px 14px rgba(28, 32, 38, 0.12);
}

.rank-1 {
  background: linear-gradient(180deg, #e4bf5a, #b98526);
}

.rank-2 {
  background: linear-gradient(180deg, #babfc3, #858b91);
}

.rank-3 {
  background: linear-gradient(180deg, #da9a57, #b86d32);
}

.new-badge {
  position: absolute;
  z-index: 2;
  top: 0.55rem;
  left: 0.55rem;
  border-radius: 999px;
  padding: 0.18rem 0.5rem;
  background: linear-gradient(135deg, #ea7187, #f39b7b);
  color: white;
  font-size: 0.72rem;
  font-weight: 900;
}

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

.category-card {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr);
  gap: 1rem;
  align-items: center;
  border: 1px solid rgba(230, 232, 236, 0.92);
  border-radius: var(--radius);
  padding: 1rem;
  background: rgba(255, 255, 255, 0.88);
  box-shadow: var(--shadow-soft);
  transition:
    box-shadow 0.2s ease,
    transform 0.2s ease,
    border-color 0.2s ease;
}

.category-icon {
  display: block;
  width: 72px;
  height: 72px;
  object-fit: cover;
  border-radius: var(--radius);
  border: 1px solid rgba(255, 255, 255, 0.76);
  box-shadow: inset 0 -12px 22px rgba(255, 255, 255, 0.38), 0 10px 22px rgba(28, 32, 38, 0.08);
}

.category-card strong {
  display: block;
  margin-bottom: 0.35rem;
  font-size: 1rem;
}

.category-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.86rem;
  line-height: 1.6;
}

.share-band {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  border: 1px solid rgba(230, 232, 236, 0.78);
  border-radius: var(--radius);
  margin: 3rem 0 0;
  padding: 1.5rem 2rem;
  background:
    linear-gradient(90deg, rgba(255, 248, 230, 0.92), rgba(237, 249, 246, 0.92)),
    white;
  box-shadow: var(--shadow-soft);
}

.share-band strong {
  font-size: 1.2rem;
}

.share-band p {
  margin: 0.4rem 0 0;
  color: var(--muted);
}

.share-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.8rem;
  width: min(440px, 100%);
}

.share-actions button {
  min-height: 48px;
  border: 0;
  border-radius: 15px;
  padding: 0.72rem 1rem;
  cursor: pointer;
  color: white;
  box-shadow: 0 10px 22px rgba(28, 32, 38, 0.12);
  font-size: 0.98rem;
  font-weight: 900;
  line-height: 1.15;
}

.share-actions .share-copy {
  grid-column: 1 / -1;
  background: linear-gradient(90deg, #e765b1 0%, #a98cf2 56%, #5cc8ee 100%);
}

.share-actions .share-line {
  background: #06c755;
}

.share-actions .share-x {
  background: #050505;
}

.share-actions button:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(28, 32, 38, 0.16);
}

.share-actions button:disabled {
  cursor: wait;
  opacity: 0.55;
  transform: none;
  box-shadow: none;
}

.share-helper {
  max-width: 34rem;
  margin: 0;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 600;
  line-height: 1.65;
  text-align: center;
}

.result-share-box {
  display: grid;
  justify-items: center;
  gap: 0.85rem;
  border-top: 1px solid var(--line);
  margin-top: 1.4rem;
  padding-top: 1.4rem;
}

.result-retry-actions {
  display: flex;
  justify-content: center;
  width: 100%;
  margin: 1.35rem 0 0.25rem;
}

.result-retry-button {
  width: min(360px, 100%);
  min-height: 50px;
  font-size: 1rem;
  letter-spacing: 0.02em;
}

.result-share-box h2 {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.85rem;
  width: min(460px, 100%);
  margin: 0;
  color: var(--ink);
  font-size: 1.05rem;
  font-weight: 900;
  text-align: center;
}

.result-share-box h2::before,
.result-share-box h2::after {
  content: "";
  flex: 1;
  height: 1px;
  background: rgba(150, 154, 163, 0.34);
}

.result-share-box .share-actions {
  width: min(460px, 100%);
}

.share-text-panel {
  display: grid;
  justify-items: center;
  gap: 0.55rem;
  width: min(520px, 100%);
  margin-top: 0.45rem;
}

.share-text-panel label {
  color: var(--ink);
  font-size: 0.9rem;
  font-weight: 700;
  line-height: 1.3;
}

.share-text-panel textarea {
  width: 100%;
  min-height: 132px;
  border: 1px solid #2f3138;
  border-radius: 3px;
  padding: 0.75rem;
  background: #ffffff;
  color: var(--ink);
  font-family: var(--base-font);
  font-size: 0.9rem;
  font-weight: 500;
  line-height: 1.55;
  resize: vertical;
}

.share-text-copy {
  min-height: 36px;
  border: 2px solid #111318;
  border-radius: 5px;
  padding: 0.36rem 1.25rem;
  background: #ffffff;
  color: #2f3138;
  cursor: pointer;
  font-size: 0.82rem;
  font-weight: 700;
  line-height: 1.2;
}

.share-text-copy:hover {
  background: #f6f7f9;
  transform: translateY(-1px);
}

.result-share-box .share-note {
  min-height: 1.4em;
  margin: -0.2rem 0 0;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 800;
  text-align: center;
}

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

.related-section {
  width: min(820px, 100%);
  margin: 1.25rem auto 2.5rem;
}

.static-page {
  width: min(900px, 100%);
  margin: 0 auto;
  border: 1px solid rgba(230, 232, 236, 0.95);
  border-radius: 8px;
  padding: clamp(1.2rem, 3vw, 2.2rem);
  background: rgba(255, 255, 255, 0.94);
  box-shadow: var(--shadow-soft);
}

.static-page-head {
  display: grid;
  gap: 0.35rem;
  border-bottom: 1px solid var(--line);
  padding-bottom: 1rem;
}

.static-page-head p,
.static-page-head span {
  margin: 0;
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 700;
}

.static-page-head h1 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(1.7rem, 4vw, 2.6rem);
  font-weight: 900;
  line-height: 1.25;
}

.static-page-lead {
  margin: 1.25rem 0 1.5rem;
  color: #4f5360;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.8;
}

.static-page-body {
  display: grid;
  gap: 1.2rem;
}

.static-page-body section {
  display: grid;
  gap: 0.55rem;
}

.static-page-body h2 {
  margin: 0;
  border-left: 4px solid #ee6d94;
  padding-left: 0.7rem;
  color: var(--ink);
  font-size: 1.08rem;
  font-weight: 900;
  line-height: 1.45;
}

.static-page-body p {
  margin: 0;
  color: #5b5f6b;
  font-size: 0.95rem;
  line-height: 1.9;
}

.diagnostics-list-page {
  display: grid;
  width: min(980px, 100%);
  gap: 1.15rem;
  margin: 0 auto;
}

.diagnostics-list-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.diagnostics-list-grid .new-card {
  flex: none;
}

.diagnostics-list-status {
  min-height: 1.5rem;
  margin: 0;
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 800;
  text-align: center;
}

.category-page {
  display: grid;
  gap: 1.4rem;
  width: min(980px, 100%);
}

.category-breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 700;
}

.category-breadcrumb a {
  color: #6753c5;
  text-decoration: none;
}

.category-breadcrumb a:hover {
  text-decoration: underline;
}

.category-page-hero {
  display: grid;
  grid-template-columns: 104px minmax(0, 1fr);
  gap: 1.35rem;
  align-items: center;
  border: 1px solid rgba(230, 232, 236, 0.92);
  border-radius: 22px;
  padding: 1.55rem;
  background: #fff;
  box-shadow: var(--shadow-soft);
}

.category-page-hero > img {
  display: block;
  width: 104px;
  height: 104px;
  border-radius: 22px;
  object-fit: cover;
  box-shadow: 0 12px 28px rgba(28, 32, 38, 0.1);
}

.category-page-kicker {
  margin: 0 0 0.35rem;
  color: #8d80d8;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.06em;
}

.category-page-hero h1 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(1.7rem, 4vw, 2.45rem);
  line-height: 1.3;
}

.category-page-hero div > p:last-child {
  max-width: 700px;
  margin: 0.65rem 0 0;
  color: #5b5f6b;
  font-size: 0.98rem;
  line-height: 1.8;
}

.category-page-list {
  display: grid;
  gap: 0.95rem;
}

.category-list-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.category-list-heading h2,
.category-related h2 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(1.2rem, 2.6vw, 1.55rem);
}

.category-list-heading > span {
  flex: 0 0 auto;
  border-radius: 999px;
  padding: 0.28rem 0.72rem;
  background: #f4f1ff;
  color: #6753c5;
  font-size: 0.82rem;
  font-weight: 800;
}

.category-card-description {
  margin: 0.55rem 0 0;
  color: var(--muted);
  font-size: 0.84rem;
  line-height: 1.65;
}

.category-page-copy {
  display: grid;
  gap: 1.25rem;
  border: 1px solid rgba(230, 232, 236, 0.92);
  border-radius: 20px;
  padding: 1.5rem;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: var(--shadow-soft);
}

.category-page-copy section {
  display: grid;
  gap: 0.6rem;
}

.category-page-copy h2 {
  margin: 0;
  padding-left: 0.7rem;
  border-left: 4px solid #ee6d94;
  color: var(--ink);
  font-size: 1.13rem;
  line-height: 1.5;
}

.category-page-copy p {
  margin: 0;
  color: #5b5f6b;
  font-size: 0.95rem;
  line-height: 1.9;
}

.category-related {
  display: grid;
  gap: 0.85rem;
}

.category-related > div {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.category-related a {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  border: 1px solid rgba(230, 232, 236, 0.92);
  border-radius: 999px;
  padding: 0.55rem 0.9rem;
  background: #fff;
  color: #4c4f5a;
  font-size: 0.86rem;
  font-weight: 800;
  text-decoration: none;
  box-shadow: 0 7px 18px rgba(28, 32, 38, 0.06);
}

.category-related a:hover {
  border-color: rgba(238, 109, 148, 0.3);
  color: #bd526d;
  transform: translateY(-1px);
}

.category-hub-page {
  display: grid;
  width: min(1080px, 100%);
  gap: 1.6rem;
  margin: 0 auto;
}

.category-hub-intro {
  max-width: 760px;
  margin: 0;
  color: #5f636d;
  font-size: 0.96rem;
  line-height: 1.85;
}

.category-hub-sections {
  display: grid;
  gap: 1.5rem;
}

.category-hub-section {
  display: grid;
  gap: 1rem;
  border: 1px solid rgba(230, 232, 236, 0.94);
  border-radius: 18px;
  padding: 1.25rem;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 10px 26px rgba(28, 32, 38, 0.055);
}

.category-hub-heading {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.category-hub-heading img {
  flex: 0 0 auto;
  width: 54px;
  height: 54px;
  border-radius: 12px;
  object-fit: cover;
}

.category-hub-heading-copy {
  min-width: 0;
}

.category-hub-heading h2 {
  margin: 0;
  color: #41454f;
  font-size: clamp(1.14rem, 2.2vw, 1.42rem);
  font-weight: 700;
  line-height: 1.4;
}

.category-hub-heading p {
  margin: 0.2rem 0 0;
  color: #737781;
  font-size: 0.86rem;
  line-height: 1.65;
}

.category-hub-more {
  flex: 0 0 auto;
  margin-left: auto;
  border: 1px solid rgba(213, 215, 221, 0.95);
  border-radius: 999px;
  padding: 0.48rem 0.82rem;
  background: #fff;
  color: #565b66;
  font-size: 0.82rem;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
}

.category-hub-more:hover {
  border-color: rgba(174, 139, 210, 0.5);
  background: #faf8fc;
  color: #5c4771;
}

.category-hub-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.85rem;
}

.category-hub-grid .new-card {
  min-width: 0;
}

.category-empty-state {
  grid-column: 1 / -1;
  margin: 0;
  border-radius: 10px;
  padding: 1rem;
  background: #f7f7f8;
  color: #777b85;
  font-size: 0.9rem;
  line-height: 1.7;
  text-align: center;
}

@media (max-width: 900px) {
  .category-hub-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .category-hub-page {
    gap: 1.2rem;
  }

  .category-hub-section {
    gap: 0.85rem;
    border-radius: 14px;
    padding: 0.9rem;
  }

  .category-hub-heading {
    align-items: flex-start;
    flex-wrap: wrap;
  }

  .category-hub-heading img {
    width: 46px;
    height: 46px;
  }

  .category-hub-heading-copy {
    flex: 1 1 calc(100% - 62px);
  }

  .category-hub-more {
    width: 100%;
    margin-left: 0;
    text-align: center;
  }
}

@media (min-width: 769px) {
  .diagnostics-list-mode .site-shell {
    display: block;
    width: min(1180px, calc(100% - 2.5rem));
  }

  .diagnostics-list-mode .site-sidebar {
    display: none;
  }

  .diagnostics-list-mode .diagnostics-list-page {
    width: 100%;
  }

  .diagnostics-list-mode .diagnostics-list-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

.section-title {
  display: flex;
  align-items: end;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 0.9rem;
  text-align: center;
}

.section-title h2 {
  margin: 0;
  font-family: var(--heading-font);
  font-size: clamp(1.45rem, 3vw, 2.1rem);
}

.section-title p {
  margin: 0;
  color: var(--muted);
  font-weight: 700;
}

.site-footer {
  display: grid;
  justify-items: center;
  width: min(1180px, calc(100% - 2rem));
  gap: 1.2rem;
  border-top: 1px solid rgba(230, 232, 236, 0.9);
  margin: 0 auto;
  padding: 2rem 0 2.4rem;
  color: var(--muted);
}

.bottom-diagnostic-sliders {
  position: relative;
  z-index: 1;
  display: grid;
  width: min(1180px, calc(100% - 2rem));
  gap: 1.35rem;
  margin: 0 auto 1.8rem;
}

.bottom-diagnostic-sliders[hidden] {
  display: none;
}

.bottom-genre-section {
  display: grid;
  gap: 0.85rem;
}

.bottom-thumb-section {
  display: grid;
  gap: 0.85rem;
}

.bottom-genre-section h2,
.bottom-thumb-section h2 {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  width: fit-content;
  margin: 0;
  padding: 0;
  background: transparent;
  color: var(--ink);
  font-size: clamp(1rem, 1.8vw, 1.22rem);
  font-weight: 800;
  line-height: 1.35;
}

.bottom-genre-section h2::before,
.bottom-thumb-section h2::before {
  content: "›";
  display: inline-grid;
  place-items: center;
  width: 1.35em;
  height: 1.35em;
  border-radius: 999px;
  background: linear-gradient(135deg, #ee6d94, #8d80d8);
  color: #fff;
  font-size: 0.88em;
  font-weight: 900;
  line-height: 1;
  box-shadow: 0 6px 14px rgba(141, 128, 216, 0.18);
}

.bottom-genre-section h2::after,
.bottom-thumb-section h2::after {
  content: none;
}

.bottom-genre-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.75rem;
}

.bottom-genre-button {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  min-height: 72px;
  border: 1px solid rgba(230, 232, 236, 0.92);
  border-radius: var(--radius);
  padding: 0.65rem 0.75rem;
  background: rgba(255, 255, 255, 0.9);
  color: var(--ink);
  font-size: 0.92rem;
  font-weight: 800;
  text-decoration: none;
  box-shadow: var(--shadow-soft);
}

.bottom-genre-button:hover {
  border-color: rgba(238, 109, 148, 0.28);
  transform: translateY(-2px);
  box-shadow: 0 12px 26px rgba(28, 32, 38, 0.1);
}

.bottom-genre-button.category-tone-otome {
  border-color: rgba(242, 128, 136, 0.34);
  background: linear-gradient(135deg, rgba(255, 225, 229, 0.98), rgba(255, 245, 238, 0.96));
  box-shadow: 0 12px 26px rgba(190, 86, 95, 0.12);
}

.bottom-genre-button.category-tone-otome {
  color: #9f4656;
}

.category-card.category-tone-otome strong {
  color: #9f4656;
}

.bottom-genre-button img {
  width: 48px;
  height: 48px;
  flex: 0 0 48px;
  border-radius: var(--radius);
  object-fit: cover;
}

.diagnostics-list-cta {
  display: none;
  place-items: center;
  gap: 0.42rem;
  min-height: auto;
  border-top: 1px solid rgba(230, 232, 236, 0.92);
  padding: 1rem 0 0.45rem;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0), rgba(255, 248, 251, 0.82));
}

.diagnostics-list-cta p {
  margin: 0;
  color: #5a4d6d;
  font-size: clamp(0.86rem, 3.6vw, 1rem);
  font-weight: 700;
  line-height: 1.35;
  text-align: center;
}

.diagnostics-list-cta a {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  overflow: hidden;
  width: min(100%, 310px);
  min-height: 52px;
  border: 2px solid rgba(255, 255, 255, 0.88);
  border-radius: 999px;
  padding: 0.72rem 1.2rem;
  background:
    linear-gradient(135deg, #ff6f9c 0%, #a777ee 54%, #48b8a4 100%),
    #ff6f9c;
  color: #ffffff;
  box-shadow:
    0 16px 30px rgba(141, 128, 216, 0.24),
    0 8px 18px rgba(238, 109, 148, 0.2);
  font-size: clamp(0.94rem, 3.7vw, 1.02rem);
  font-weight: 700;
  line-height: 1.2;
  text-decoration: none;
  text-shadow: 0 1px 4px rgba(32, 33, 36, 0.14);
  animation: diagnostics-cta-pulse 2.9s ease-in-out infinite;
  transition:
    box-shadow 0.2s ease,
    transform 0.2s ease;
}

.diagnostics-list-cta a::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 -36%;
  width: 32%;
  background: linear-gradient(
    105deg,
    transparent 0%,
    rgba(255, 255, 255, 0.12) 24%,
    rgba(255, 255, 255, 0.82) 48%,
    rgba(255, 255, 255, 0.16) 68%,
    transparent 100%
  );
  transform: skewX(-18deg);
  animation: info-shine 3.4s ease-in-out infinite;
  pointer-events: none;
}

.diagnostics-list-cta a::after {
  content: "→";
  display: inline-grid;
  place-items: center;
  width: 1.75em;
  height: 1.75em;
  flex: 0 0 auto;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.94);
  color: #8d62dd;
  font-size: 0.82em;
  font-weight: 900;
  line-height: 1;
  text-shadow: none;
  box-shadow: 0 8px 18px rgba(32, 33, 36, 0.14);
}

.diagnostics-list-cta a:hover {
  transform: translateY(-3px) scale(1.01);
  box-shadow:
    0 28px 52px rgba(141, 128, 216, 0.34),
    0 14px 28px rgba(238, 109, 148, 0.28);
}

@keyframes diagnostics-cta-pulse {
  0%,
  100% {
    box-shadow:
      0 16px 30px rgba(141, 128, 216, 0.24),
      0 8px 18px rgba(238, 109, 148, 0.2);
  }
  50% {
    box-shadow:
      0 20px 38px rgba(141, 128, 216, 0.3),
      0 10px 22px rgba(238, 109, 148, 0.24);
  }
}

@media (prefers-reduced-motion: reduce) {
  .diagnostics-list-cta a,
  .diagnostics-list-cta a::before {
    animation: none;
  }
}

.bottom-thumb-slider {
  display: flex;
  gap: 0.9rem;
  margin: 0 -0.15rem;
  padding: 0.1rem 0.15rem 0.75rem;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-padding-inline: 0.15rem;
  scroll-snap-type: x mandatory;
  scrollbar-width: thin;
}

.bottom-thumb-slide {
  flex: 0 0 min(250px, 58vw);
  aspect-ratio: 16 / 9;
  border: 1px solid rgba(230, 232, 236, 0.92);
  border-radius: var(--radius);
  overflow: hidden;
  background: #f4f5f7;
  box-shadow: var(--shadow-soft);
  scroll-snap-align: start;
}

.bottom-thumb-slide:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(28, 32, 38, 0.11);
}

.bottom-thumb-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.footer-description {
  width: min(100%, 1060px);
  border: 1px solid rgba(230, 232, 236, 0.72);
  border-radius: var(--radius);
  padding: 1.1rem clamp(1.1rem, 3vw, 1.8rem);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.72), rgba(247, 250, 249, 0.72)),
    white;
  box-shadow: 0 6px 16px rgba(28, 32, 38, 0.035);
  text-align: center;
}

.footer-description h2 {
  margin: 0 0 0.4rem;
  color: var(--ink);
  font-size: 0.92rem;
  font-weight: 800;
}

.footer-description p {
  max-width: 880px;
  margin: 0 auto;
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 500;
  line-height: 1.75;
}

.footer-columns {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(2.5rem, 6vw, 5.5rem);
  width: min(100%, 900px);
  padding: 0.4rem 1rem 0;
}

.footer-columns section {
  display: grid;
  align-content: start;
  gap: 0.55rem;
  justify-items: start;
  text-align: left;
}

.footer-columns section:nth-child(2) {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 1.25rem;
  width: 100%;
}

.footer-columns section:nth-child(2) h2 {
  grid-column: 1 / -1;
}

.footer-columns h2 {
  margin: 0 0 0.35rem;
  color: var(--ink);
  font-size: 0.9rem;
  font-weight: 700;
}

.site-footer a {
  color: var(--muted);
  font-size: 0.84rem;
  font-weight: 600;
  line-height: 1.5;
  text-decoration: none;
}

.site-footer a:hover {
  color: #454a54;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.site-footer small {
  font-size: 0.82rem;
  text-align: center;
}

.mobile-footer-links {
  display: none;
}

.mobile-footer-nav {
  display: none;
}

.mobile-footer-break {
  display: none;
}

.mobile-sponsor-box {
  display: none;
}

.footer-sns {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1rem;
  background: rgba(255, 255, 255, 0.55);
}

.footer-sns div {
  display: grid;
  grid-template-columns: repeat(4, 48px);
  justify-content: center;
  gap: 0.8rem;
}

.footer-sns a {
  display: grid;
  justify-items: center;
  width: 48px;
  height: 48px;
  border-radius: 14px;
  box-shadow: 0 8px 18px rgba(28, 32, 38, 0.12);
  overflow: hidden;
}

.footer-sns a img {
  display: block;
  width: 48px;
  height: 48px;
  object-fit: cover;
}

.footer-sns a:hover {
  transform: translateY(-2px);
}

.footer-sns a:hover img {
  filter: saturate(1.08) contrast(1.03);
}

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

.card {
  display: flex;
  min-height: 290px;
  flex-direction: column;
  justify-content: space-between;
  border: 1px solid rgba(230, 232, 236, 0.92);
  border-radius: var(--radius);
  padding: 1.1rem;
  background: var(--panel);
  box-shadow: var(--shadow-soft);
  transition:
    box-shadow 0.2s ease,
    transform 0.2s ease,
    border-color 0.2s ease;
}

.card:hover {
  border-color: rgba(62, 143, 127, 0.28);
  transform: translateY(-4px);
  box-shadow: 0 20px 44px rgba(28, 32, 38, 0.11);
}

.card-art {
  position: relative;
  display: grid;
  place-items: center;
  aspect-ratio: 16 / 9;
  width: 100%;
  border-radius: var(--radius-sm);
  margin-bottom: 1rem;
  overflow: hidden;
  color: white;
  font-size: 2.2rem;
  font-weight: 900;
}

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

.card h3 {
  margin: 0;
  color: #343741;
  font-size: 1.18rem;
  font-weight: 700;
  line-height: 1.48;
}

.card p {
  color: var(--muted);
  line-height: 1.7;
}

.meta-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 700;
}

.pill {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  border-radius: 999px;
  padding: 0.25rem 0.7rem;
  border: 1px solid rgba(62, 143, 127, 0.13);
  background: rgba(62, 143, 127, 0.09);
  color: var(--mint-dark);
  font-size: 0.82rem;
  font-weight: 900;
}

.diagnostic-detail,
.quiz-shell,
.result-shell,
.daily-fortune-page,
.daily-fortune-result,
.zodiac-page {
  width: min(820px, 100%);
  margin: 0 auto 2rem;
  border: 1px solid rgba(230, 232, 236, 0.92);
  border-radius: var(--radius);
  padding: clamp(1.1rem, 4vw, 2.35rem);
  background: white;
  box-shadow: var(--shadow);
}

.daily-fortune-page {
  width: min(980px, 100%);
}

.zodiac-page {
  width: min(920px, 100%);
}

.daily-fortune-hero {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.2rem;
}

.daily-fortune-hero .daily-fortune-large-thumb {
  width: 100%;
  box-shadow: var(--shadow-soft);
}

.daily-fortune-result h1 {
  margin: 0;
  font-family: var(--heading-font);
  font-size: clamp(2rem, 3vw, 2.25rem);
  font-weight: 800;
  line-height: 1.15;
}

.daily-fortune-copy p {
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.9;
}

.daily-fortune-form {
  display: grid;
  gap: 1rem;
  border-top: 1px solid var(--line);
  margin-top: 1.3rem;
  padding-top: 1.2rem;
}

.daily-fortune-form .button {
  justify-self: start;
}

.fortune-score-list {
  display: grid;
  gap: 1rem;
  margin-top: 1.5rem;
  border: 1px solid rgba(232, 95, 141, 0.24);
  border-left: 6px solid rgba(232, 95, 141, 0.72);
  border-radius: 12px;
  padding: clamp(1rem, 2.8vw, 1.5rem);
  background: linear-gradient(135deg, rgba(255, 246, 250, 0.96), rgba(255, 255, 255, 0.98));
  box-shadow: 0 12px 28px rgba(79, 55, 70, 0.07);
}

.fortune-score {
  display: grid;
  gap: 0.55rem;
}

.fortune-score-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
}

.fortune-score-head strong {
  font-size: 1rem;
}

.fortune-score-head span {
  color: var(--ink);
  font-size: 1.25rem;
  font-weight: 900;
}

.fortune-score-track {
  height: 18px;
  border-radius: 999px;
  overflow: hidden;
  background: #eef0f3;
  box-shadow: inset 0 2px 5px rgba(28, 32, 38, 0.06);
}

.fortune-score-fill {
  width: 0;
  height: 100%;
  border-radius: inherit;
  background:
    linear-gradient(90deg, var(--score-color), rgba(255, 255, 255, 0.62)),
    var(--score-color);
  transition: width 1.1s cubic-bezier(0.2, 0.9, 0.2, 1);
}

.share-note {
  min-height: 1.5rem;
  margin: 0.8rem 0 0;
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 700;
  text-align: center;
}

.sns-share-panel {
  display: grid;
  gap: 0.75rem;
  border: 1px solid rgba(230, 232, 236, 0.9);
  border-radius: var(--radius);
  margin-top: 1.4rem;
  padding: clamp(1rem, 3vw, 1.4rem);
  background: rgba(255, 255, 255, 0.82);
  box-shadow: var(--shadow-soft);
}

.sns-share-panel h2 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(1.25rem, 2.5vw, 1.65rem);
  font-weight: 900;
  line-height: 1.35;
}

.sns-share-panel p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 700;
}

.share-image-preview {
  position: relative;
  display: grid;
  place-items: center;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border: 1px solid rgba(230, 232, 236, 0.95);
  border-radius: var(--radius);
  background: linear-gradient(135deg, #fff7f7, #f6f2ff);
}

.share-image-preview img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: relative;
  z-index: 1;
}

.share-image-preview img:not([src]) {
  display: none;
}

.share-image-preview span {
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 800;
}

.zodiac-picker {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.zodiac-option {
  display: grid;
  gap: 0.35rem;
  place-items: center;
  min-height: 132px;
  border: 1px solid rgba(230, 232, 236, 0.92);
  border-radius: var(--radius);
  padding: 0.75rem;
  background: rgba(255, 255, 255, 0.86);
  color: var(--ink);
  cursor: pointer;
  text-align: center;
  box-shadow: var(--shadow-soft);
}

.zodiac-option:hover,
.zodiac-option.active {
  border-color: rgba(141, 128, 216, 0.48);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(244, 241, 255, 0.98));
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(28, 32, 38, 0.1);
}

.zodiac-option.active {
  box-shadow: 0 0 0 4px rgba(141, 128, 216, 0.12), 0 14px 30px rgba(28, 32, 38, 0.1);
}

.zodiac-option span {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: rgba(141, 128, 216, 0.12);
  color: #6b5fc7;
  font-size: 1.7rem;
}

.zodiac-option strong {
  font-size: 1rem;
  line-height: 1.25;
}

.zodiac-option small {
  color: var(--muted);
  font-size: 0.74rem;
  font-weight: 700;
  line-height: 1.45;
}

.zodiac-submit-wrap {
  margin-top: 1.2rem;
}

.button.primary.zodiac-submit-button {
  width: 100%;
  min-height: 62px;
  border: 0;
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, #f47aa0 0%, #a98be8 54%, #7cc7df 100%);
  box-shadow: 0 18px 34px rgba(141, 128, 216, 0.26);
  font-size: 1.2rem;
  letter-spacing: 0;
}

.button.primary.zodiac-submit-button:hover:not(:disabled) {
  transform: translateY(-2px);
  box-shadow: 0 22px 42px rgba(141, 128, 216, 0.34);
}

.button.primary.zodiac-submit-button:disabled {
  background: linear-gradient(135deg, #d9dce3, #c9cbd5);
  box-shadow: none;
  cursor: not-allowed;
  opacity: 0.72;
}

.zodiac-result {
  border-top: 1px solid var(--line);
  margin-top: 1.6rem;
  padding-top: 1.4rem;
}

.zodiac-result-head {
  display: flex;
  align-items: center;
  gap: 1rem;
  border-radius: var(--radius);
  margin-bottom: 1rem;
  padding: 1rem;
  background: linear-gradient(135deg, rgba(141, 128, 216, 0.12), rgba(255, 247, 250, 0.9));
}

#zodiac-result-icon {
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: white;
  color: #6b5fc7;
  font-size: 2.2rem;
  box-shadow: var(--shadow-soft);
}

.zodiac-result-head p,
.zodiac-result-head h2 {
  margin: 0;
}

.zodiac-result-head p {
  color: var(--muted);
  font-weight: 600;
}

.zodiac-result-head h2 {
  font-size: clamp(1.4rem, 3.2vw, 2rem);
  font-weight: 800;
  line-height: 1.25;
}

.zodiac-daily-advice {
  display: grid;
  gap: 0.85rem;
  margin: 1rem 0 1.4rem;
}

.zodiac-message-card,
.zodiac-points-card {
  border: 1px solid rgba(141, 128, 216, 0.2);
  border-radius: var(--radius);
  padding: 1.1rem 1.2rem;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 10px 28px rgba(92, 82, 143, 0.07);
}

.zodiac-message-card {
  border-left: 5px solid rgba(141, 128, 216, 0.65);
  background: linear-gradient(135deg, rgba(255, 239, 245, 0.95), rgba(244, 241, 255, 0.95));
}

.zodiac-message-heading {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
}

.zodiac-advice-label {
  margin: 0;
  color: #6b5fc7;
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.06em;
}

.zodiac-theme-badge {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  border: 1px solid rgba(141, 128, 216, 0.25);
  border-radius: 999px;
  padding: 0.25rem 0.7rem;
  background: rgba(255, 255, 255, 0.82);
  color: #6659b8;
  font-size: 0.78rem;
  font-weight: 700;
}

.zodiac-daily-message {
  margin: 0;
  color: #34313e;
  font-size: 1.04rem;
  font-weight: 600;
  line-height: 1.9;
}

.zodiac-sign-message {
  border-top: 1px dashed rgba(141, 128, 216, 0.25);
  margin: 0.8rem 0 0;
  padding-top: 0.75rem;
  color: #625b72;
  font-size: 0.9rem;
  font-weight: 500;
  line-height: 1.8;
}

.zodiac-point-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
  margin: 0;
}

.zodiac-point-grid > div {
  min-width: 0;
  border-left: 3px solid rgba(230, 109, 148, 0.68);
  border-radius: 14px;
  padding: 0.85rem;
  background: #f8f7fb;
}

.zodiac-point-grid > div:nth-child(2) {
  border-left-color: rgba(141, 128, 216, 0.72);
}

.zodiac-point-grid > div:nth-child(3) {
  border-left-color: rgba(62, 143, 127, 0.7);
}

.zodiac-point-grid dt {
  margin-bottom: 0.35rem;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 600;
}

.zodiac-point-grid dd {
  margin: 0;
  color: #34313e;
  font-size: 0.92rem;
  font-weight: 700;
  line-height: 1.65;
}

.zodiac-color-value {
  display: flex;
  align-items: center;
  gap: 0.45rem;
}

#zodiac-lucky-color-swatch {
  flex: 0 0 auto;
  width: 1rem;
  height: 1rem;
  border: 2px solid rgba(48, 50, 58, 0.12);
  border-radius: 50%;
}

.zodiac-ranking-list {
  display: grid;
  gap: 0.55rem;
}

.zodiac-rank-row {
  display: grid;
  grid-template-columns: 44px 44px minmax(0, 1fr);
  gap: 0.75rem;
  align-items: center;
  border: 1px solid rgba(230, 232, 236, 0.82);
  border-radius: var(--radius);
  padding: 0.72rem;
  background: rgba(255, 255, 255, 0.84);
}

.zodiac-rank-row.active {
  border-color: rgba(141, 128, 216, 0.48);
  background: rgba(244, 241, 255, 0.9);
  box-shadow: 0 0 0 3px rgba(141, 128, 216, 0.1);
}

.zodiac-rank-number {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #30323a;
  color: white;
  font-weight: 800;
}

.zodiac-rank-icon {
  color: #6b5fc7;
  font-size: 1.6rem;
}

.zodiac-rank-row strong,
.zodiac-rank-row small {
  display: block;
}

.zodiac-rank-row strong {
  font-weight: 700;
}

.zodiac-rank-row small {
  color: var(--muted);
  font-weight: 400;
}

.diagnostic-detail {
  display: grid;
  gap: 1.25rem;
}

.detail-hero {
  display: grid;
  place-items: center;
  aspect-ratio: 16 / 9;
  width: 100%;
  border: 1px solid rgba(32, 33, 36, 0.12);
  border-radius: var(--radius);
  overflow: hidden;
  background: #fff;
  color: white;
  font-size: clamp(2.4rem, 8vw, 5.8rem);
  font-weight: 900;
  box-shadow: 0 10px 24px rgba(28, 32, 38, 0.055);
}

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

.detail-copy {
  display: grid;
  gap: 0.85rem;
}

.detail-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.7rem;
  color: var(--muted);
  font-weight: 800;
}

.detail-copy h1 {
  margin: 0;
  font-family: var(--heading-font);
  font-size: clamp(2rem, 5vw, 4.2rem);
  font-weight: 800;
  line-height: 1.08;
}

.detail-copy p {
  margin: 0;
  color: var(--muted);
  font-size: 1.1rem;
  line-height: 1.9;
}

.quiz-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.quiz-diagnostic-intro {
  display: grid;
  gap: 1rem;
}

.quiz-diagnostic-thumb {
  aspect-ratio: 16 / 9;
  width: 100%;
  border: 1px solid rgba(32, 33, 36, 0.12);
  overflow: hidden;
  border-radius: var(--radius);
  background: #fff;
  box-shadow: 0 10px 24px rgba(28, 32, 38, 0.055);
}

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

#quiz-diagnostic-title,
.diagnostic-page-title {
  margin: 0;
  max-width: 42rem;
  color: #343741;
  font-size: clamp(1.24rem, 2.35vw, 1.86rem);
  font-weight: 700;
  line-height: 1.45;
}

.daily-fortune-page > .diagnostic-page-title,
.zodiac-page > .diagnostic-page-title {
  margin-bottom: 1rem;
}

#result-diagnostic {
  margin: 0 0 0.85rem;
  max-width: 44rem;
  color: #545863;
  font-size: clamp(1.08rem, 1.9vw, 1.48rem);
  font-weight: 700;
  line-height: 1.55;
  text-transform: none;
}

#result-title {
  max-width: 44rem;
  color: #30343d;
  font-size: clamp(1.72rem, 3.1vw, 2.55rem);
  font-weight: 700;
  line-height: 1.36;
}

.result-copy-card {
  position: relative;
  display: grid;
  gap: 0.9rem;
  max-width: 54rem;
  margin: 0.25rem 0 0;
  padding: clamp(1.1rem, 2.4vw, 1.55rem) clamp(1.15rem, 2.8vw, 1.9rem);
  border: 1px solid rgba(238, 109, 148, 0.2);
  border-left: 7px solid rgba(238, 109, 148, 0.72);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(255, 244, 248, 0.96), rgba(255, 255, 255, 0.98) 52%, rgba(240, 249, 246, 0.94)),
    #fff;
  box-shadow: 0 14px 32px rgba(28, 32, 38, 0.075);
}

.result-copy-card::after {
  content: "";
  position: absolute;
  right: 1.15rem;
  bottom: 1rem;
  width: 3.4rem;
  height: 3.4rem;
  border: 1px solid rgba(238, 109, 148, 0.18);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.46);
  pointer-events: none;
}

.back-link {
  color: var(--muted);
  font-weight: 800;
}

.diagnostic-detail > .back-link,
.quiz-head .back-link,
.result-shell > .back-link,
.daily-fortune-page > .back-link,
.daily-fortune-result > .back-link,
.zodiac-page > .back-link {
  display: none;
}

.quiz-progress-row {
  display: grid;
  grid-template-columns: auto minmax(120px, 1fr);
  align-items: center;
  gap: 0.8rem;
  margin: 1.2rem 0 1rem;
}

.progress {
  height: 10px;
  border-radius: 999px;
  margin: 0;
  overflow: hidden;
  background: #edf2ef;
}

.progress span {
  display: block;
  width: 0;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--mint), var(--gold));
  transition: width 0.25s ease;
}

.step-label {
  margin: 0;
  color: var(--muted);
  font-weight: 800;
  white-space: nowrap;
}

#question-title {
  margin: 0 0 1.35rem;
  color: #343741;
  font-family: "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Yu Gothic", "YuGothic", "Noto Sans JP", "Helvetica Neue", Arial, sans-serif;
  font-size: clamp(1.12rem, 2.35vw, 1.55rem);
  font-weight: 700;
  line-height: 1.55;
}

.answers {
  display: grid;
  gap: 0.75rem;
}

.fortune-shell h1 {
  margin: 1rem 0 0;
  font-size: clamp(1.9rem, 5vw, 3.2rem);
  line-height: 1.18;
}

.fortune-form {
  display: grid;
  gap: 1rem;
  border-top: 1px solid var(--line);
  margin-top: 1.5rem;
  padding-top: 1.25rem;
}

.fortune-form .button {
  justify-self: start;
}

.answer {
  position: relative;
  width: 100%;
  border: 1px solid rgba(226, 214, 221, 0.95);
  border-radius: var(--radius-sm);
  padding: 1.05rem 3.1rem 1.05rem 1.15rem;
  background:
    linear-gradient(135deg, rgba(255, 247, 250, 0.98), rgba(255, 255, 255, 0.98) 56%, rgba(247, 244, 255, 0.96)),
    #fff;
  color: #30323a;
  text-align: left;
  cursor: pointer;
  font-weight: 500;
  box-shadow: 0 8px 18px rgba(28, 32, 38, 0.055);
  transition: border-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease, background 0.18s ease;
}

.answer::after {
  content: "›";
  position: absolute;
  top: 50%;
  right: 1rem;
  display: grid;
  place-items: center;
  width: 1.55rem;
  height: 1.55rem;
  border-radius: 999px;
  background: rgba(238, 109, 148, 0.12);
  color: #d7567d;
  font-size: 1.35rem;
  font-weight: 900;
  line-height: 1;
  transform: translateY(-50%);
}

.answer:hover {
  border-color: rgba(238, 109, 148, 0.42);
  background:
    linear-gradient(135deg, rgba(255, 240, 246, 1), rgba(255, 255, 255, 1) 52%, rgba(242, 239, 255, 0.98)),
    #fff;
  transform: translateY(-1px);
  box-shadow: 0 12px 24px rgba(238, 109, 148, 0.12);
}

.result-summary {
  color: var(--muted);
  max-width: 47rem;
  margin: 0;
  font-size: 1rem;
  line-height: 1.85;
}

.result-thumbnail {
  display: grid;
  place-items: center;
  aspect-ratio: 16 / 9;
  width: 100%;
  border: 1px solid rgba(32, 33, 36, 0.12);
  border-radius: 8px;
  margin: 0.75rem 0 1.25rem;
  overflow: hidden;
  background: #fff;
  color: white;
  font-size: clamp(2.1rem, 7vw, 5.2rem);
  font-weight: 900;
  box-shadow: 0 10px 24px rgba(28, 32, 38, 0.055);
}

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

.result-panel {
  max-width: 54rem;
  border: 1px solid rgba(62, 143, 127, 0.2);
  border-left: 7px solid rgba(62, 143, 127, 0.72);
  border-radius: 8px;
  margin-top: 1.1rem;
  padding: clamp(1rem, 2.2vw, 1.45rem) clamp(1.15rem, 2.8vw, 1.8rem);
  background:
    linear-gradient(135deg, rgba(239, 249, 246, 0.96), rgba(255, 255, 255, 0.98) 54%, rgba(255, 248, 235, 0.9)),
    #fff;
  box-shadow: 0 12px 28px rgba(28, 32, 38, 0.06);
}

.result-panel h2 {
  margin: 0 0 0.7rem;
  color: #236a5d;
  font-size: 1.08rem;
  line-height: 1.45;
}

.result-panel ul {
  display: grid;
  gap: 0.55rem;
  margin: 0;
  padding-left: 1.25rem;
}

.result-panel li {
  margin: 0;
  color: #4d5551;
  line-height: 1.7;
}

select {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 0.75rem;
  background: white;
  color: var(--ink);
  font: inherit;
}

label {
  display: grid;
  gap: 0.38rem;
  color: var(--muted);
  font-weight: 900;
}

input,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 0.75rem;
  background: #fff;
  color: var(--ink);
}

input:focus,
textarea:focus,
select:focus {
  border-color: rgba(62, 143, 127, 0.48);
  outline: 0;
  box-shadow: 0 0 0 4px rgba(62, 143, 127, 0.09);
}

textarea {
  resize: vertical;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 0.9rem;
  line-height: 1.5;
}

@media (max-width: 900px) {
  .hero {
    grid-template-columns: 1fr;
  }

  .site-header {
    flex-wrap: wrap;
  }

  .brand-subtitle {
    display: none;
  }

  .main-nav {
    order: 3;
    width: 100%;
    justify-content: center;
    margin-left: 0;
  }

  .site-search {
    min-width: 220px;
  }

  .top-hero {
    grid-template-columns: auto minmax(0, 1fr) auto;
  }

  .top-hero-copy {
    grid-column: 2;
  }

  .hero-image-card {
    grid-column: 2;
    min-height: auto;
  }

  .ranking-grid,
  .new-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin: 0;
    padding: 0;
    overflow: visible;
    scroll-snap-type: none;
  }

  .ranking-card,
  .new-card {
    flex-basis: auto;
  }

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

  .daily-fortune-hero {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .hero-visual {
    min-height: 360px;
  }

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

  .diagnostics-list-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.75rem;
  }

}

@media (max-width: 640px) {
  .site-header {
    align-items: center;
    min-height: 64px;
    flex-direction: row;
    gap: 0.65rem;
    padding: 0.7rem 1rem;
  }

  .brand-logo {
    height: 46px;
  }

  .mobile-diagnostic-list-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 38px;
    border: 1px solid rgba(238, 109, 148, 0.2);
    border-radius: 999px;
    margin-left: auto;
    padding: 0.45rem 0.78rem;
    background: linear-gradient(135deg, #fff0f6, #f5f1ff);
    color: #4c4f5a;
    font-family: "LINE Seed JP", "Hiragino Sans", "Yu Gothic", "YuGothic", sans-serif;
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0;
    line-height: 1;
    white-space: nowrap;
    box-shadow: 0 8px 18px rgba(28, 32, 38, 0.06);
  }

  .menu-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 3px;
    width: 42px;
    height: 42px;
    border: 1px solid var(--line);
    border-radius: 999px;
    margin-left: 0;
    background: rgba(255, 255, 255, 0.9);
    box-shadow: var(--shadow-soft);
    cursor: pointer;
  }

  .menu-toggle span {
    display: block;
    width: 18px;
    height: 2px;
    border-radius: 999px;
    background: #4b4d58;
    transition:
      opacity 0.18s ease,
      transform 0.18s ease;
  }

  .site-header.menu-open .menu-toggle span:nth-child(1) {
    transform: translateY(5px) rotate(45deg);
  }

  .site-header.menu-open .menu-toggle span:nth-child(2) {
    opacity: 0;
  }

  .site-header.menu-open .menu-toggle span:nth-child(3) {
    transform: translateY(-5px) rotate(-45deg);
  }

  .main-nav {
    display: none;
  }

  .mobile-menu {
    position: absolute;
    top: calc(100% + 0.5rem);
    right: 1rem;
    left: 1rem;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.55rem;
    border: 1px solid rgba(230, 232, 236, 0.9);
    border-radius: var(--radius);
    padding: 0.75rem;
    background: rgba(255, 255, 255, 0.96);
    box-shadow: var(--shadow);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-6px);
    transition:
      opacity 0.18s ease,
      transform 0.18s ease;
  }

  .site-header.menu-open .mobile-menu {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .mobile-menu a {
    display: grid;
    grid-template-columns: 34px minmax(0, 1fr);
    gap: 0.5rem;
    align-items: center;
    min-height: 54px;
    border: 1px solid rgba(230, 232, 236, 0.8);
    border-radius: var(--radius);
    color: #42454b;
    padding: 0.45rem 0.55rem;
    font-family: "LINE Seed JP", "Hiragino Sans", "Yu Gothic", "YuGothic", sans-serif;
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0;
    text-align: left;
  }

  .mobile-menu a img {
    width: 34px;
    height: 34px;
    border-radius: 8px;
    object-fit: cover;
    box-shadow: 0 5px 12px rgba(28, 32, 38, 0.07);
  }

  .mobile-menu a:hover {
    transform: translateY(-1px);
    box-shadow: var(--shadow-soft);
  }

  .menu-personality {
    background: linear-gradient(135deg, rgba(255, 244, 198, 0.96), rgba(255, 252, 239, 0.96));
  }

  .menu-love {
    background: linear-gradient(135deg, rgba(255, 222, 232, 0.96), rgba(255, 248, 251, 0.96));
  }

  .menu-otome {
    background: linear-gradient(135deg, rgba(255, 221, 226, 0.96), rgba(255, 246, 239, 0.96));
    color: #9f4656;
  }

  .menu-image {
    background: linear-gradient(135deg, rgba(246, 226, 255, 0.96), rgba(255, 246, 252, 0.96));
  }

  .menu-mind {
    background: linear-gradient(135deg, rgba(219, 240, 255, 0.96), rgba(248, 252, 255, 0.96));
  }

  .menu-fortune {
    background: linear-gradient(135deg, rgba(255, 240, 199, 0.96), rgba(255, 251, 239, 0.96));
  }

  .menu-match {
    background: linear-gradient(135deg, rgba(255, 221, 207, 0.96), rgba(255, 248, 244, 0.96));
  }

  .menu-other {
    background: linear-gradient(135deg, rgba(235, 238, 242, 0.96), rgba(252, 253, 254, 0.96));
  }

  .site-search {
    display: none;
  }

  .app {
    width: min(100% - 1rem, 1180px);
    padding-top: 0.55rem;
  }

  .diagnostic-detail,
  .quiz-shell,
  .result-shell,
  .daily-fortune-page,
  .daily-fortune-result,
  .zodiac-page {
    padding: 1rem;
  }

  .top-hero {
    grid-template-columns: 1fr;
    min-height: auto;
    gap: 1.25rem;
    margin-top: -1rem;
    padding: 2rem 1rem;
  }

  .top-hero-copy,
  .hero-image-card,
  .dark-dots {
    grid-column: 1;
  }

  .top-hero-copy h1 {
    font-size: 2rem;
  }

  .top-hero-copy p {
    font-size: 0.95rem;
  }

  .hero-arrow {
    display: none;
  }

  .hero-feature {
    width: 100%;
  }

  .article-slider {
    scroll-padding-inline: 0.35rem;
  }

  .article-slider .hero-feature {
    flex-basis: min(82vw, 320px);
    scroll-snap-align: center;
  }

  .site-intro {
    grid-template-columns: 1fr;
    gap: 0.35rem;
    padding: 0.75rem;
  }

  .site-intro p {
    font-size: 0.82rem;
    line-height: 1.65;
  }

  .hero {
    gap: 1.2rem;
    padding: 1.25rem 0 2rem;
  }

  .hero h1 {
    font-size: clamp(2rem, 10vw, 3rem);
  }

  .hero p:not(.eyebrow) {
    line-height: 1.7;
  }

  .hero-actions {
    margin-top: 1rem;
  }

  .hero-visual {
    min-height: 275px;
    padding: 0.85rem;
  }

  .hero-visual-head span {
    font-size: 0.98rem;
  }

  .hero-visual-head small {
    font-size: 0.72rem;
  }

  .hero-slider {
    min-height: 184px;
  }

  .hero-slide {
    width: 72%;
    transform: translateX(calc(-50% + var(--offset) * 62%)) scale(0.78);
  }

  .hero-slide-copy {
    min-height: 50px;
    padding: 0.52rem;
  }

  .hero-slide-copy strong {
    font-size: 0.86rem;
    font-weight: 700;
    line-height: 1.45;
  }

  .section-title {
    align-items: stretch;
    flex-direction: column;
    gap: 0.25rem;
  }

  .wire-section-head {
    margin-bottom: 0.9rem;
    padding: 0.2rem 0 0.2rem 0.65rem;
  }

  .daily-fortune-entry {
    margin: -0.4rem 0 1.8rem;
  }

  .daily-check-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.6rem;
  }

  .daily-fortune-card,
  .zodiac-card {
    gap: 0.55rem;
    padding: 0.55rem;
  }

  .daily-fortune-card h2,
  .zodiac-card h2 {
    font-size: 1rem;
    line-height: 1.4;
  }

  .daily-fortune-card p,
  .zodiac-card p {
    display: -webkit-box;
    overflow: hidden;
    font-size: 0.74rem;
    line-height: 1.45;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
  }

  .daily-fortune-card span,
  .zodiac-card-copy > span {
    padding: 0.2rem 0.45rem;
    font-size: 0.68rem;
  }

  .daily-fortune-result h1,
  .zodiac-result-page #zodiac-result-rank {
    font-size: 1.8rem;
  }

  .zodiac-message-card,
  .zodiac-points-card {
    padding: 0.9rem;
  }

  .zodiac-point-grid {
    grid-template-columns: 1fr;
    gap: 0.55rem;
  }

  .zodiac-point-grid > div {
    padding: 0.75rem 0.8rem;
  }

  .daily-fortune-form .button {
    width: 100%;
  }

  .fortune-score-head span {
    font-size: 1.08rem;
  }

  .zodiac-picker {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.55rem;
  }

  .zodiac-option {
    min-height: 116px;
    padding: 0.6rem 0.45rem;
  }

  .zodiac-option span {
    width: 40px;
    height: 40px;
    font-size: 1.45rem;
  }

  .zodiac-option small {
    font-size: 0.68rem;
  }

  .zodiac-rank-row {
    grid-template-columns: 38px 36px minmax(0, 1fr);
    gap: 0.55rem;
    padding: 0.6rem;
  }

  .wire-section-head h2 {
    font-size: 1rem;
    line-height: 1.45;
  }

  .ranking-grid,
  .new-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.65rem;
  }

  .ranking-grid.result-ranking-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin: 0;
    padding: 0;
    overflow: visible;
    scroll-snap-type: none;
  }

  .result-ranking-grid .ranking-card {
    flex-basis: auto;
  }

  .ranking-body,
  .new-body {
    padding: 0.65rem;
  }

  .rank-badge {
    width: 26px;
    height: 26px;
    font-size: 0.78rem;
  }

  .ranking-body h3,
  .new-body h3 {
    font-size: 0.9rem;
    font-weight: 700;
    line-height: 1.45;
  }

  .category-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.65rem;
  }

  .category-card {
    grid-template-columns: 48px minmax(0, 1fr);
    padding: 0.75rem;
    gap: 0.65rem;
  }

  .category-icon {
    width: 48px;
    height: 48px;
  }

  .category-card strong {
    margin-bottom: 0;
    font-size: 0.9rem;
    line-height: 1.35;
  }

  .category-card p {
    display: none;
  }

  .diagnostics-list-page {
    gap: 0.95rem;
  }

  .diagnostics-list-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.65rem;
  }

  .bottom-diagnostic-sliders {
    width: min(100% - 1rem, 1180px);
    gap: 1.15rem;
  }

  .diagnostics-list-cta {
    display: grid;
  }

  .bottom-genre-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.6rem;
  }

  .bottom-genre-button {
    min-height: 58px;
    gap: 0.5rem;
    padding: 0.5rem;
    font-size: 0.82rem;
  }

  .bottom-genre-button img {
    width: 40px;
    height: 40px;
    flex-basis: 40px;
  }

  .share-band {
    align-items: stretch;
    flex-direction: column;
    padding: 1rem;
  }

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

  .footer-columns {
    grid-template-columns: 1fr;
    gap: 1.2rem;
  }

  .footer-columns > section:not(.footer-sns) {
    display: none;
  }

  .mobile-footer-nav {
    display: flex;
    grid-column: 1 / -1;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.7rem 1rem;
    width: 100%;
    padding: 0.35rem 0.2rem 0.15rem;
    text-align: center;
  }

  .mobile-footer-nav a {
    color: #4c4f59;
    font-size: 0.82rem;
    font-weight: 800;
    line-height: 1.35;
    text-decoration: underline;
    text-decoration-style: dotted;
    text-decoration-color: rgba(76, 79, 89, 0.55);
    text-decoration-thickness: 1px;
    text-underline-offset: 4px;
  }

  .mobile-footer-break {
    display: block;
    flex-basis: 100%;
    height: 0;
  }

  .mobile-sponsor-box {
    display: block;
    grid-column: 1 / -1;
    width: min(100%, 320px);
    border: 1px solid rgba(234, 113, 135, 0.34);
    border-radius: 8px;
    margin: -0.1rem auto 0;
    padding: 0.72rem 1rem;
    background:
      linear-gradient(135deg, rgba(255, 245, 249, 0.96), rgba(246, 242, 255, 0.9)),
      white;
    color: #a94464;
    box-shadow: 0 8px 18px rgba(234, 113, 135, 0.08);
    font-size: 0.88rem;
    font-weight: 900;
    line-height: 1.35;
    text-align: center;
  }

  .footer-sns {
    grid-column: 1 / -1;
  }

  .mobile-footer-links {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.75rem 1rem;
    width: 100%;
    padding-top: 0.2rem;
  }

  .mobile-footer-links a {
    color: #4c4f59;
    font-size: 0.82rem;
    font-weight: 500;
  }

  .diagnostic-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.65rem;
  }

  .card {
    min-height: 0;
    padding: 0.65rem;
  }

  .card-art {
    border-radius: 6px;
    margin-bottom: 0.65rem;
    font-size: 1.55rem;
  }

  .card .pill {
    max-width: 100%;
    min-height: 24px;
    overflow: hidden;
    padding: 0.2rem 0.5rem;
    font-size: 0.72rem;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .card h3 {
    display: -webkit-box;
    overflow: hidden;
    font-size: 0.94rem;
    font-weight: 700;
    line-height: 1.45;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
  }

  .card p {
    display: -webkit-box;
    overflow: hidden;
    margin: 0.45rem 0 0.7rem;
    font-size: 0.82rem;
    line-height: 1.55;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
  }

  .meta-row {
    align-items: flex-start;
    flex-direction: column;
    gap: 0.25rem;
    font-size: 0.78rem;
  }

}

/* Softer heading tone */
.top-hero-copy h1,
.hero h1,
.result-shell h1,
.daily-fortune-result h1,
.zodiac-result-page h1,
.static-page-head h1,
.detail-copy h1 {
  color: var(--heading-ink);
  font-weight: var(--heading-display-weight);
}

.wire-section-head h2,
.section-title h2,
.bottom-genre-section h2,
.bottom-thumb-section h2,
.sidebar-panel h2,
.result-share-box h2,
.sns-share-panel h2,
.static-page-body h2,
.footer-description h2,
.footer-columns h2 {
  color: var(--heading-ink);
  font-weight: var(--heading-soft-weight);
}

.ranking-body h3,
.new-body h3,
.card h3,
#quiz-diagnostic-title,
.diagnostic-page-title,
#question-title,
#result-diagnostic,
#result-title,
.result-panel h2 {
  color: #3a3e48;
  font-weight: var(--heading-card-weight);
}

.wire-section-head {
  border-left-width: 3px;
  border-left-color: rgba(232, 95, 141, 0.72);
  padding-left: 0.72rem;
}

.static-page-body h2 {
  border-left-width: 3px;
  border-left-color: rgba(238, 109, 148, 0.7);
}

.diagnostics-list-page .static-page-head {
  gap: 0.24rem;
  padding-bottom: 0.85rem;
}

.diagnostics-list-page .static-page-head h1 {
  color: #464a55;
  font-size: clamp(1.42rem, 2.8vw, 2.05rem);
  font-weight: 640;
  line-height: 1.35;
}

.diagnostics-list-page .static-page-head span {
  color: #858995;
  font-weight: 500;
}

.main-nav a {
  color: #555a64;
  font-weight: 600;
}

.main-nav a:hover {
  color: #30343d;
}

@media (max-width: 640px) {
  .mobile-diagnostic-list-button,
  .mobile-menu a {
    color: #555a64;
    font-weight: 640;
  }
}

@media (min-width: 1100px) {
  .site-shell {
    grid-template-columns: minmax(0, 1fr) clamp(336px, 27vw, 376px);
    gap: clamp(1.4rem, 2.4vw, 2rem);
  }

  .sidebar-panel {
    padding: 0.95rem;
  }

  .sidebar-list {
    gap: 0.72rem;
  }

  .sidebar-diagnostic-link {
    grid-template-columns: 128px minmax(0, 1fr);
    gap: 0.72rem;
    padding: 0.52rem;
    background: rgba(255, 255, 255, 0.76);
    box-shadow: 0 8px 18px rgba(28, 32, 38, 0.045);
  }

  .sidebar-diagnostic-link:first-child {
    grid-template-columns: 1fr;
    gap: 0.55rem;
    padding: 0.58rem;
  }

  .sidebar-diagnostic-link:first-child img {
    aspect-ratio: 16 / 9;
  }

  .sidebar-diagnostic-link strong {
    font-size: 0.88rem;
    line-height: 1.48;
    -webkit-line-clamp: 2;
  }

  .sidebar-diagnostic-link:first-child strong {
    font-size: 0.94rem;
    line-height: 1.45;
  }
}

@media (max-width: 640px) {
  .category-page {
    gap: 1.1rem;
  }

  .category-page-hero {
    grid-template-columns: 76px minmax(0, 1fr);
    gap: 0.85rem;
    border-radius: 18px;
    padding: 1rem;
  }

  .category-page-hero > img {
    width: 76px;
    height: 76px;
    border-radius: 16px;
  }

  .category-page-kicker {
    margin-bottom: 0.2rem;
    font-size: 0.7rem;
  }

  .category-page-hero h1 {
    font-size: clamp(1.3rem, 6.2vw, 1.7rem);
  }

  .category-page-hero div > p:last-child {
    margin-top: 0.45rem;
    font-size: 0.88rem;
    line-height: 1.7;
  }

  .category-page-copy {
    gap: 1.05rem;
    border-radius: 16px;
    padding: 1rem;
  }

  .category-page-copy p {
    font-size: 0.9rem;
    line-height: 1.82;
  }

  .category-related a {
    min-height: 40px;
    padding: 0.5rem 0.75rem;
    font-size: 0.8rem;
  }
}
