:root {
  --bg-paper: #f5efe3;
  --bg-warm: #efe4d2;
  --panel: rgba(255, 250, 243, 0.94);
  --panel-strong: #fffaf2;
  --line: #d6c8b1;
  --line-strong: #bca98a;
  --text-main: #2e241c;
  --text-soft: #6f6050;
  --ink: #1f2c3b;
  --accent: #8b3d2e;
  --accent-soft: #c78963;
  --sage: #69735b;
  --shadow: 0 12px 28px rgba(77, 58, 34, 0.08);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: "Zen Kaku Gothic New", sans-serif;
  color: var(--text-main);
  background:
    radial-gradient(circle at top, rgba(199, 137, 99, 0.16), transparent 28%),
    radial-gradient(circle at 80% 10%, rgba(105, 115, 91, 0.08), transparent 22%),
    linear-gradient(180deg, var(--bg-paper), #f8f4ec 48%, var(--bg-warm));
}

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

body::before {
  background-image:
    radial-gradient(circle at 10% 20%, rgba(120, 93, 63, 0.08) 0 1px, transparent 1.6px),
    radial-gradient(circle at 70% 10%, rgba(120, 93, 63, 0.06) 0 1px, transparent 1.4px),
    radial-gradient(circle at 40% 70%, rgba(120, 93, 63, 0.05) 0 1px, transparent 1.5px);
  opacity: 0.7;
}

body::after {
  background:
    linear-gradient(transparent, rgba(112, 89, 63, 0.015)),
    repeating-linear-gradient(
      90deg,
      transparent,
      transparent 160px,
      rgba(112, 89, 63, 0.02) 161px,
      rgba(112, 89, 63, 0.02) 162px
    );
  mix-blend-mode: multiply;
}

.page-shell {
  width: min(780px, calc(100% - 28px));
  margin: 0 auto;
  padding: 16px 0 44px;
}

.hero {
  position: relative;
  text-align: center;
  min-height: 0;
  padding: 18px 18px 16px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background:
    linear-gradient(180deg, rgba(255, 251, 245, 0.98), rgba(245, 237, 225, 0.94));
  box-shadow: var(--shadow);
  animation: rise-in 700ms ease-out both;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: relative;
  display: block;
  left: auto;
  top: auto;
  width: 60px;
  height: 2px;
  margin: 0 auto;
  background: var(--accent);
}

.hero::after {
  display: none;
}

.hero-visual {
  display: none;
}

.eyebrow,
.result-kicker,
.label {
  letter-spacing: 0.08em;
  color: var(--accent);
  font-size: 0.74rem;
  line-height: 1.5;
}

.hero h1,
.panel h2,
.result-head h2,
.section-head h3,
.headline {
  font-family: "Noto Serif JP", serif;
}

.hero h1 {
  margin: 10px 0 6px;
  font-size: clamp(1.45rem, 3vw, 1.92rem);
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: 0.02em;
  color: var(--ink);
}

.hero-site-banner-wrap {
  margin: 12px auto 8px;
  max-width: 760px;
}

.hero-site-banner {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 18px;
  border: 1px solid rgba(92, 73, 49, 0.16);
  box-shadow: 0 10px 24px rgba(61, 45, 27, 0.12);
}

.hero-copy,
.panel-copy,
.overview,
.empty-copy {
  color: var(--text-soft);
  line-height: 1.7;
  font-size: 0.88rem;
}

.hero-copy {
  max-width: 34rem;
  margin-left: auto;
  margin-right: auto;
}

.hero-points {
  display: flex;
  justify-content: center;
  gap: 6px;
  flex-wrap: wrap;
  margin: 12px 0 0;
  padding: 0;
  list-style: none;
}

.hero-points li {
  padding: 5px 9px;
  border-radius: 999px;
  border: 1px solid rgba(139, 61, 46, 0.16);
  background: rgba(255, 255, 255, 0.52);
  color: var(--ink);
  font-size: 0.76rem;
}

.hero-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 12px;
  justify-content: center;
}

.layout {
  display: grid;
  grid-template-columns: 360px minmax(0, 1fr);
  gap: 16px;
  margin-top: 14px;
}

.layout-single {
  grid-template-columns: 1fr;
}

.input-panel-wide {
  width: min(100%, 760px);
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
}

.merged-popular-section {
  margin-top: 8px;
}

.fortune-nav {
  display: flex;
  gap: 7px;
  flex-wrap: wrap;
  margin-top: 14px;
  justify-content: center;
}

.fortune-nav a {
  padding: 6px 10px;
  border-radius: 999px;
  background: #fff8ee;
  border: 1px solid #dbcab2;
  color: var(--ink);
  text-decoration: none;
  font-size: 0.78rem;
}

.portal-strip {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  margin-top: 12px;
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
}

.line-guide-section {
  margin-top: 18px;
}

.line-guide-panel {
  display: grid;
  gap: 16px;
  width: min(100%, 780px);
  margin: 0 auto;
}

.line-guide-banner {
  display: block;
  width: 100%;
  border-radius: 24px;
  border: 1px solid rgba(214, 193, 166, 0.92);
  box-shadow: var(--shadow);
}

.line-guide-copy {
  display: grid;
  gap: 10px;
  padding: 0 4px;
}

.line-guide-copy p {
  margin: 0;
  color: var(--text-soft);
  line-height: 1.8;
}

.line-guide-points {
  margin: 0;
}

.line-guide-button {
  width: min(100%, 420px);
  justify-self: center;
}

.portal-section,
.feature-section {
  margin-top: 12px;
}

.merged-feature-section {
  margin-top: 10px;
}

.compact-head {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 12px;
  text-align: center;
}

.compact-head h2 {
  margin: 4px 0 0;
  font-size: 0.98rem;
  line-height: 1.4;
}

.section-note {
  margin: 2px 0 0;
  max-width: 34rem;
  color: var(--text-soft);
  font-size: 0.8rem;
  line-height: 1.6;
}

.feature-banners {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  margin-top: 12px;
  align-items: stretch;
  max-width: 620px;
  margin-left: auto;
  margin-right: auto;
}

.feature-banner {
  display: block;
  position: relative;
  height: auto;
  overflow: hidden;
  border-radius: 18px;
  aspect-ratio: 16 / 5.3;
}

.feature-wide-art,
.line-banner {
  width: 100%;
  height: 100%;
  display: block;
  border-radius: 18px;
  border: 1px solid #dccdb9;
  box-shadow: var(--shadow);
}

.feature-wide-art {
  background-image: url("./assets/banners/feature-wide-set.png");
  background-repeat: no-repeat;
  background-size: 200% 300%;
}

.feature-wide-love {
  background-position: left center;
}

.feature-wide-work {
  background-position: right center;
}

.feature-wide-shichu {
  background-position: right top;
}

.feature-wide-daily {
  background-position: left top;
}

.feature-wide-compatibility {
  background-position: left bottom;
}

.feature-wide-reconciliation {
  background-position: right bottom;
}

.compact-banners .feature-banner {
  aspect-ratio: 16 / 5.1;
}

.feature-banner-label {
  position: absolute;
  left: 14px;
  bottom: 14px;
  padding: 7px 11px;
  border-radius: 999px;
  background: rgba(255, 248, 238, 0.9);
  border: 1px solid rgba(220, 205, 185, 0.94);
  box-shadow: 0 8px 16px rgba(52, 37, 24, 0.12);
  font-family: "Noto Serif JP", serif;
  font-size: 0.92rem;
  line-height: 1;
  color: var(--ink);
}

.stacked-banner-crop {
  object-fit: cover;
}

.sheet-crop {
  object-fit: cover;
}

.crop-today {
  object-position: 18% 16%;
}

.crop-shichu {
  object-position: 82% 16%;
}

.crop-love {
  object-position: 18% 50%;
}

.crop-work {
  object-position: 82% 50%;
}

.crop-omikuji {
  object-position: 18% 84%;
}

.crop-compatibility {
  object-position: 82% 84%;
}

.crop-today-wide {
  object-position: 22% 14%;
}

.crop-shichu-wide {
  object-position: 78% 14%;
}

.crop-love-wide {
  object-position: 22% 50%;
}

.crop-work-wide {
  object-position: 78% 50%;
}

.crop-compatibility-wide {
  object-position: 78% 84%;
}

.crop-top {
  object-position: center top;
}

.crop-bottom {
  object-position: center bottom;
}

.banner-tall {
  aspect-ratio: 16 / 5.8;
}

.portal-card {
  display: grid;
  grid-template-columns: 78px 1fr;
  gap: 10px;
  align-items: center;
  min-height: 82px;
  padding: 9px;
  border-radius: 16px;
  border: 1px solid #ddcdb8;
  background: rgba(255, 252, 247, 0.95);
  box-shadow: var(--shadow);
  color: var(--ink);
  text-decoration: none;
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    border-color 180ms ease;
}

.portal-card:hover {
  transform: translateY(-2px);
  border-color: #ccb38e;
  box-shadow: 0 16px 24px rgba(77, 58, 34, 0.1);
}

.portal-art {
  width: 64px;
  height: 64px;
  display: block;
  border-radius: 14px;
  border: 1px solid #dfd1be;
  background: #fffaf4;
  background-image: url("./assets/generated-icons/rank/source.png");
  background-repeat: no-repeat;
  background-size: 300% 200%;
}

.portal-art-daily {
  background-position: left top;
}

.portal-art-shichu {
  background-position: center top;
}

.portal-art-love {
  background-position: right top;
}

.portal-art-work {
  background-position: left bottom;
}

.portal-art-compatibility {
  background-position: center bottom;
}

.portal-art-reconciliation {
  background-position: right bottom;
}

.portal-card h3 {
  margin: 4px 0 0;
  font-family: "Noto Serif JP", serif;
  font-size: 0.9rem;
  color: var(--ink);
}

.portal-copy {
  margin: 4px 0 0;
  color: var(--text-soft);
  font-size: 0.74rem;
  line-height: 1.5;
}

.empty-copy {
  max-width: 24rem;
}

.visual-link-card {
  position: relative;
  display: block;
  text-decoration: none;
  color: var(--ink);
  overflow: hidden;
  border-radius: 18px;
}

.visual-link-card img {
  width: 100%;
  aspect-ratio: 16 / 10;
  display: block;
  border-radius: 18px;
  border: 1px solid #d9ccb8;
  box-shadow: var(--shadow);
  object-fit: cover;
}

.visual-link-card span {
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 10px 12px;
  border-radius: 999px;
  background: rgba(255, 248, 238, 0.9);
  border: 1px solid rgba(214, 200, 177, 0.92);
  backdrop-filter: blur(8px);
  font-size: 0.9rem;
  color: var(--ink);
  line-height: 1.3;
  box-shadow: 0 10px 18px rgba(77, 58, 34, 0.08);
}

.benefit-points {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin: 12px 0 0;
  padding: 0;
  list-style: none;
}

.benefit-points li {
  padding: 6px 9px;
  border-radius: 999px;
  background: rgba(255, 250, 244, 0.95);
  border: 1px solid #dccdba;
  color: var(--text-soft);
  font-size: 0.78rem;
}

.panel-inline-note {
  margin: 10px 0 0;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 9px;
  border-radius: 999px;
  background: rgba(255, 250, 244, 0.95);
  border: 1px solid #dccdba;
  color: var(--text-soft);
  font-size: 0.74rem;
}

.offer-grid,
.pricing-grid,
.ai-grid,
.faq-list,
.seo-grid {
  display: grid;
  gap: 18px;
}

.panel {
  border: 1px solid var(--line);
  border-radius: 22px;
  background: var(--panel);
  box-shadow: var(--shadow);
}

.input-panel {
  padding: 16px 14px;
  animation: rise-in 900ms ease-out both;
}

.article-intake-panel {
  max-width: 620px;
  margin: 0 auto 14px;
  padding: 16px 14px;
}

.article-intake-panel h2 {
  margin: 6px 0 0;
}

.article-intake-panel .panel-copy {
  margin: 8px 0 0;
}

.article-fortune-form {
  margin-top: 14px;
}

.article-form-grid {
  display: grid;
  gap: 12px;
}

.article-form-grid.two-column {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.article-form-full {
  grid-column: 1 / -1;
}

.article-form-divider {
  grid-column: 1 / -1;
  margin: 2px 0 -2px;
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.article-result-note {
  margin-top: 10px;
  color: var(--text-soft);
  font-size: 0.78rem;
  line-height: 1.55;
}

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

.mini-feature-card {
  display: grid;
  grid-template-columns: 40px 1fr;
  gap: 7px;
  align-items: center;
  padding: 9px;
  border-radius: 14px;
  border: 1px solid #e0d3c1;
  background: rgba(255, 252, 247, 0.96);
}

.mini-art {
  width: 40px;
  height: 40px;
  display: block;
}

.mini-feature-card h3 {
  margin: 0;
  font-family: "Noto Serif JP", serif;
  font-size: 0.82rem;
  color: var(--ink);
}

.mini-feature-card p {
  margin: 2px 0 0;
  color: var(--text-soft);
  font-size: 0.7rem;
  line-height: 1.45;
}

.offer-card,
.pricing-card,
.faq-item,
.seo-card {
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255, 252, 247, 0.92);
  box-shadow: var(--shadow);
}

.offer-card h3,
.faq-item h3,
.seo-card h3 {
  margin: 6px 0 8px;
  font-family: "Zen Kaku Gothic New", sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  line-height: 1.5;
}

.offer-card li,
.faq-item p,
.seo-card p,
.plan-copy {
  color: var(--text-soft);
  line-height: 1.8;
  font-size: 0.98rem;
}

.result-panel {
  padding: 22px 20px;
  animation: rise-in 1100ms ease-out both;
}

.pair-summary-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin: 12px 0 0;
  padding: 10px 14px;
  border-radius: 999px;
  border: 1px solid #e0d3c1;
  background: rgba(255, 252, 247, 0.94);
  color: var(--ink);
  font-size: 0.92rem;
}

.pair-summary-name {
  font-weight: 700;
}

.pair-summary-mark {
  color: var(--accent);
  font-weight: 700;
}

.panel h2,
.result-head h2 {
  margin: 0 0 8px;
  font-size: 1.08rem;
  font-weight: 600;
  line-height: 1.5;
  color: var(--ink);
}

.fortune-form {
  display: grid;
  gap: 9px;
  margin-top: 12px;
}

.fortune-form label {
  display: grid;
  gap: 8px;
}

.fortune-form span {
  font-size: 0.83rem;
}

.fortune-form small {
  color: var(--text-soft);
  font-size: 0.71rem;
  line-height: 1.5;
}

.fortune-form input {
  width: 100%;
  padding: 9px 11px;
  border-radius: 12px;
  border: 1px solid #d7cab7;
  background: #fffdf8;
  color: var(--text-main);
  font: inherit;
  font-size: 0.92rem;
}

.fortune-form select {
  width: 100%;
  padding: 9px 11px;
  border-radius: 12px;
  border: 1px solid #d7cab7;
  background: #fffdf8;
  color: var(--text-main);
  font: inherit;
  font-size: 0.92rem;
}

.fortune-form input:focus {
  outline: 2px solid rgba(139, 61, 46, 0.28);
  outline-offset: 2px;
}

.fortune-form select:focus {
  outline: 2px solid rgba(139, 61, 46, 0.28);
  outline-offset: 2px;
}

.fortune-form button {
  margin-top: 8px;
}

.consent-check {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  color: var(--text-soft);
  font-size: 0.9rem;
  line-height: 1.75;
}

.consent-check input {
  width: auto;
  margin-top: 3px;
}

.cta-button,
.fortune-form button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 13px;
  border: 0;
  border-radius: 12px;
  text-decoration: none;
  background: var(--accent);
  color: #fffaf5;
  font: inherit;
  font-weight: 700;
  letter-spacing: 0.02em;
  cursor: pointer;
  transition:
    transform 200ms ease,
    box-shadow 200ms ease,
    background 200ms ease;
  box-shadow: 0 7px 14px rgba(139, 61, 46, 0.14);
}

.cta-button:hover,
.fortune-form button:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 24px rgba(139, 61, 46, 0.2);
  background: #773224;
}

.cta-button.secondary {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--line-strong);
  box-shadow: none;
}

.cta-button.wide {
  width: 100%;
  margin-top: 18px;
}

.result-head {
  margin-bottom: 14px;
}

.status-banner {
  margin-bottom: 14px;
  padding: 12px 14px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: #fff8ef;
  color: var(--text-main);
  line-height: 1.7;
}

.status-banner.is-hidden {
  display: none;
}

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

.status-banner.is-success {
  border-color: rgba(105, 115, 91, 0.32);
  background: rgba(105, 115, 91, 0.1);
}

.status-banner.is-warning {
  border-color: rgba(199, 137, 99, 0.34);
  background: rgba(199, 137, 99, 0.11);
}

.result-badges {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 14px;
}

.result-badges span {
  padding: 7px 10px;
  border-radius: 999px;
  background: #fffaf3;
  border: 1px solid #ddd0bf;
  color: var(--text-soft);
  font-size: 0.84rem;
}

.result-card {
  min-height: 380px;
  display: grid;
  place-items: center;
  padding: 14px;
  border-radius: 18px;
  border: 1px solid #e0d3c1;
  background:
    radial-gradient(circle at top left, rgba(199, 137, 99, 0.06), transparent 30%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.9), rgba(252, 247, 240, 0.94));
}

.empty-state {
  display: grid;
  justify-items: center;
  gap: 18px;
  padding: 24px 12px;
}

.empty-orbit {
  position: relative;
  width: 150px;
  height: 150px;
}

.orbit-center,
.orbit-ring,
.orbit-dot {
  position: absolute;
}

.orbit-center {
  inset: 46px;
  border-radius: 999px;
  background: radial-gradient(circle at 35% 35%, #f4d8b5, #c78963 72%, #8b3d2e 100%);
  box-shadow: 0 12px 26px rgba(139, 61, 46, 0.16);
}

.orbit-ring {
  inset: 18px;
  border-radius: 999px;
  border: 1px solid rgba(139, 61, 46, 0.12);
}

.ring-b {
  inset: 0;
  border-color: rgba(105, 115, 91, 0.16);
  transform: rotate(-14deg);
}

.orbit-dot {
  width: 14px;
  height: 14px;
  border-radius: 999px;
}

.dot-a {
  top: 26px;
  right: 24px;
  background: #8b3d2e;
}

.dot-b {
  bottom: 34px;
  left: 18px;
  background: #69735b;
}

.empty-copy {
  color: var(--ink);
  font-family: "Noto Serif JP", serif;
  font-size: 1rem;
  line-height: 1.8;
}

.line-result-cta {
  display: grid;
  gap: 12px;
  padding: 16px;
  border-radius: 18px;
  background: #fbf2e7;
  border: 1px solid #e0c7a8;
}

.line-banner {
  margin-top: 2px;
  aspect-ratio: 16 / 7;
}

.cta-chips {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.cta-chips span {
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid #dcc7aa;
  background: rgba(255, 250, 243, 0.96);
  color: var(--text-soft);
  font-size: 0.85rem;
}

.sub-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.sub-actions a {
  color: var(--accent);
  text-decoration: none;
  font-size: 0.9rem;
}

.result-card.is-empty {
  text-align: center;
}

.result-tease-grid {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.result-tease-item {
  padding: 14px;
  border-radius: 16px;
  border: 1px solid #e0d3c1;
  background: rgba(255, 252, 247, 0.96);
  text-align: left;
}

.result-tease-item h3 {
  margin: 6px 0 0;
  font-family: "Noto Serif JP", serif;
  font-size: 1rem;
  color: var(--ink);
}

.result-tease-lock {
  width: 100%;
  display: grid;
  gap: 10px;
  padding: 14px;
  border-radius: 18px;
  border: 1px solid #e1cfb6;
  background:
    linear-gradient(180deg, rgba(255, 252, 247, 0.52), rgba(255, 248, 238, 0.98));
}

.result-tease-lock p {
  margin: 0;
  color: var(--text-soft);
  font-size: 0.9rem;
}

.fortune-card {
  width: 100%;
  display: grid;
  gap: 16px;
  animation: card-glow 600ms ease-out both;
}

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

.fortune-chip {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 10px;
  align-items: center;
  min-height: 92px;
  padding: 12px 14px;
  border-radius: 16px;
  border: 1px solid #e2d5c4;
  background: rgba(255, 252, 247, 0.96);
}

.chip-main {
  background:
    radial-gradient(circle at top left, rgba(199, 137, 99, 0.14), transparent 42%),
    rgba(255, 252, 247, 0.98);
}

.chip-icon {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 999px;
  background: linear-gradient(180deg, #d6ae7a, #b5724f);
  color: #fffaf5;
  font-family: "Noto Serif JP", serif;
  font-weight: 700;
  font-size: 1rem;
  box-shadow: 0 8px 18px rgba(139, 61, 46, 0.14);
}

.fortune-chip .label {
  margin-bottom: 4px;
}

.fortune-chip strong {
  display: block;
  color: var(--ink);
  font-size: 0.95rem;
  line-height: 1.45;
}

.editor-note {
  padding: 14px 16px;
  border-top: 1px solid #dfd1be;
  border-bottom: 1px solid #dfd1be;
  background: rgba(255, 250, 243, 0.78);
}

.editor-note-grid {
  display: grid;
  gap: 10px;
  margin-top: 10px;
}

.editor-note-grid p {
  margin: 0;
  color: var(--text-soft);
  line-height: 1.8;
  font-size: 0.96rem;
}

.editor-note-grid strong {
  color: var(--ink);
  font-weight: 600;
}

.sign-badge {
  display: inline-flex;
  flex-direction: column;
  gap: 6px;
  align-items: flex-start;
  padding: 16px 18px;
  border-radius: 18px;
  background: var(--panel-strong);
  border: 1px solid #dcc7aa;
}

.sign-badge p {
  margin: 0;
  font-size: 1.2rem;
  font-weight: 700;
}

.sign-badge span {
  color: var(--text-soft);
  font-size: 0.92rem;
}

.message-block {
  padding: 4px 0;
}

.headline {
  margin: 6px 0 8px;
  font-size: clamp(1.4rem, 4vw, 1.9rem);
  line-height: 1.25;
  color: var(--ink);
}

.daily-grid,
.pillars-grid,
.insight-grid,
.score-grid,
.detail-grid {
  display: grid;
  gap: 16px;
}

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

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

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

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

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

.daily-card,
.pillar-item,
.score-item,
.detail-item {
  padding: 14px;
  border-radius: 16px;
  background: rgba(255, 252, 247, 0.96);
  border: 1px solid #e2d5c4;
}

.score-item span {
  color: var(--text-soft);
  font-size: 0.86rem;
}

.score-item strong {
  font-size: 1.08rem;
  font-weight: 700;
  color: var(--accent);
}

.score-item-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 8px;
}

.score-meter {
  position: relative;
  height: 10px;
  margin-top: 12px;
  border-radius: 999px;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(210, 191, 165, 0.55), rgba(210, 191, 165, 0.18));
}

.score-meter span {
  display: block;
  width: 0;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #c88b62, #8b3d2e);
  transition: width 500ms ease;
}

.daily-date-card {
  background:
    radial-gradient(circle at top left, rgba(199, 137, 99, 0.12), transparent 40%),
    rgba(255, 252, 247, 0.96);
}

.daily-date {
  margin: 8px 0 4px;
  font-size: 1.05rem;
  font-weight: 700;
}

.daily-theme {
  margin: 0;
  color: var(--sage);
  font-size: 1rem;
}

.pillars-section {
  display: grid;
  gap: 18px;
  padding: 18px;
  border-radius: 20px;
  border: 1px solid #e1d0b9;
  background:
    radial-gradient(circle at top right, rgba(199, 137, 99, 0.08), transparent 32%),
    rgba(251, 244, 234, 0.94);
}

.offer-panel,
.seo-panel {
  margin-top: 16px;
  padding: 18px 16px;
}

.omikuji-hero-banner {
  width: 100%;
  display: block;
  margin: 10px 0 14px;
  border-radius: 18px;
  border: 1px solid #dccdb9;
  box-shadow: var(--shadow);
  aspect-ratio: 16 / 5.2;
}

.omikuji-stage {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  align-items: center;
  justify-items: center;
}

.omikuji-box {
  position: relative;
  width: 156px;
  height: 194px;
  margin: 0 auto;
}

.omikuji-box-lid {
  position: absolute;
  top: 22px;
  left: 18px;
  right: 18px;
  height: 24px;
  border-radius: 12px;
  background: linear-gradient(180deg, #9d523d, #7c3d2c);
  box-shadow: 0 8px 16px rgba(97, 55, 32, 0.16);
}

.omikuji-box-body {
  position: absolute;
  inset: 38px 8px 0;
  border-radius: 22px;
  background: linear-gradient(180deg, #b76c4f, #8b3d2e);
  box-shadow: inset 0 0 0 1px rgba(255, 247, 240, 0.14);
}

.omikuji-slip {
  position: absolute;
  left: 50%;
  top: 64px;
  width: 82px;
  height: 116px;
  transform: translateX(-50%);
  border-radius: 12px;
  background: #fffdf8;
  border: 1px solid #dbcbb6;
  box-shadow: 0 12px 26px rgba(73, 52, 30, 0.12);
  display: grid;
  place-items: center;
  overflow: hidden;
}

.omikuji-slip::before {
  content: "";
  position: absolute;
  top: 12px;
  left: 50%;
  width: 1px;
  height: calc(100% - 24px);
  background: rgba(139, 61, 46, 0.08);
  transform: translateX(-50%);
}

.omikuji-slip span {
  position: relative;
  z-index: 1;
  font-family: "Noto Serif JP", serif;
  font-size: 1.35rem;
  color: var(--accent);
  writing-mode: vertical-rl;
  letter-spacing: 0.12em;
}

.omikuji-box.is-drawing .omikuji-slip {
  animation: omikuji-draw 780ms cubic-bezier(0.2, 0.8, 0.22, 1);
}

.omikuji-card {
  padding: 15px;
  border-radius: 18px;
  border: 1px solid #e0d3c1;
  background: rgba(255, 252, 247, 0.96);
}

.omikuji-lead {
  margin: 10px 0 0;
  color: var(--text-soft);
  line-height: 1.68;
  font-size: 0.88rem;
}

.omikuji-points {
  display: grid;
  gap: 8px;
  margin: 12px 0 0;
  padding-left: 18px;
  color: var(--text-soft);
  line-height: 1.65;
  font-size: 0.84rem;
}

.omikuji-card .cta-button {
  margin-top: 14px;
}

.mini-kicker,
.plan-name {
  margin: 0;
  letter-spacing: 0.08em;
  color: var(--accent);
  font-size: 0.74rem;
}

.fine-print {
  margin: 12px 0 0;
  color: var(--text-soft);
  font-size: 0.84rem;
}

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

.pricing-card {
  padding: 24px;
}

.price {
  margin: 14px 0 10px;
  font-family: "Noto Serif JP", serif;
  font-size: 3rem;
  line-height: 0.95;
}

.emphasized {
  background:
    radial-gradient(circle at top left, rgba(105, 115, 91, 0.1), transparent 40%),
    rgba(252, 247, 240, 0.98);
  border-color: rgba(105, 115, 91, 0.2);
}

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

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

.faq-item {
  padding: 22px;
}

.seo-grid {
  grid-template-columns: 1fr;
  align-items: start;
  max-width: 680px;
  margin-left: auto;
  margin-right: auto;
}

.seo-card {
  padding: 13px;
  background:
    radial-gradient(circle at top right, rgba(105, 115, 91, 0.08), transparent 35%),
    rgba(255, 252, 247, 0.96);
}

.compact-copy p:not(.mini-kicker) {
  font-size: 0.86rem;
  line-height: 1.62;
}

.card-thumb {
  width: 116px;
  max-width: 100%;
  aspect-ratio: 1 / 1;
  display: block;
  margin-bottom: 10px;
  border-radius: 14px;
  border: 1px solid #dfd1be;
  background: #fffaf4;
}

.card-art {
  background-image: url("./assets/generated-icons/article/source.png");
  background-repeat: no-repeat;
  background-size: 300% 200%;
}

.card-art-daily {
  background-position: left top;
}

.card-art-shichu {
  background-position: center top;
}

.card-art-love {
  background-position: right top;
}

.card-art-work {
  background-position: left bottom;
}

.card-art-compatibility {
  background-position: center bottom;
}

.card-art-reconciliation {
  background-position: right bottom;
}

.seo-card:nth-child(2),
.seo-card:nth-child(5) {
  transform: none;
}

.site-footer {
  padding: 22px 8px 0;
  text-align: center;
  border-top: 1px solid #d7cab7;
  margin-top: 28px;
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 12px;
}

.footer-links a,
.article-links a {
  color: var(--accent);
  text-decoration: none;
}

.footer-copy {
  margin: 0;
  color: var(--text-soft);
  line-height: 1.7;
  font-size: 0.86rem;
}

.mobile-only {
  display: none;
}

.mobile-sticky-cta {
  position: fixed;
  left: 12px;
  right: 12px;
  bottom: 12px;
  z-index: 20;
  padding: 10px;
  border-radius: 18px;
  background: rgba(255, 248, 238, 0.92);
  border: 1px solid rgba(214, 200, 177, 0.92);
  box-shadow: 0 12px 24px rgba(77, 58, 34, 0.14);
  backdrop-filter: blur(10px);
}

.mobile-sticky-cta .cta-button {
  width: 100%;
}

.result-page-shell {
  width: min(860px, calc(100% - 28px));
}

.result-page-hero {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  align-items: start;
  padding: 18px 20px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background:
    linear-gradient(180deg, rgba(255, 251, 245, 0.98), rgba(245, 237, 225, 0.94));
  box-shadow: var(--shadow);
}

.result-page-copy {
  display: grid;
  gap: 8px;
}

.result-page-copy h1 {
  margin: 0;
  font-family: "Noto Serif JP", serif;
  font-size: clamp(1.65rem, 4vw, 2.35rem);
  line-height: 1.25;
  color: var(--ink);
}

.result-page-meta {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.result-page-meta span {
  padding: 8px 12px;
  border-radius: 999px;
  background: #fffaf3;
  border: 1px solid #ddd0bf;
  color: var(--text-soft);
  font-size: 0.86rem;
}

.result-stage {
  display: grid;
  gap: 18px;
  margin-top: 14px;
}

.result-hero-card {
  padding: 18px 18px 22px;
}

.result-fortune-strip {
  margin-top: 16px;
}

.result-summary-banner {
  width: 100%;
  display: block;
  margin-top: 16px;
  border-radius: 20px;
  border: 1px solid #d6c1a6;
  box-shadow: var(--shadow);
}

.quick-line-bar {
  display: grid;
  gap: 10px;
  margin-top: 14px;
  padding: 14px 16px;
  border-radius: 18px;
  border: 1px solid #dcc8ae;
  background: rgba(255, 250, 242, 0.96);
}

.quick-line-bar p {
  margin: 0;
  color: var(--ink);
  font-weight: 700;
  line-height: 1.8;
}

.quick-line-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.quick-line-tags span {
  padding: 7px 11px;
  border-radius: 999px;
  border: 1px solid #dcc7aa;
  background: rgba(255, 252, 247, 0.96);
  color: var(--text-soft);
  font-size: 0.82rem;
}

.result-balance-card,
.free-reading-panel,
.result-insight-card {
  border-radius: 18px;
  border: 1px solid #e0cfb8;
  background: rgba(255, 250, 243, 0.97);
}

.result-balance-card {
  margin-top: 16px;
  padding: 18px 18px 16px;
  background:
    radial-gradient(circle at top right, rgba(199, 137, 99, 0.08), transparent 38%),
    rgba(255, 250, 243, 0.98);
}

.result-balance-head h3 {
  margin: 6px 0 0;
  font-family: "Noto Serif JP", serif;
  font-size: 1.05rem;
  color: var(--ink);
}

.result-balance-copy {
  margin: 10px 0 0;
  color: var(--text-soft);
  line-height: 1.8;
}

.result-score-list {
  display: grid;
  gap: 12px;
  margin-top: 14px;
}

.result-score-row {
  display: grid;
  gap: 8px;
  padding-top: 12px;
  border-top: 1px solid rgba(224, 207, 184, 0.82);
}

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

.result-score-main {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 14px;
}

.result-score-main span {
  color: var(--ink);
  font-size: 0.92rem;
  font-weight: 700;
}

.result-score-main strong {
  color: var(--accent);
  font-size: 1.02rem;
}

.score-note {
  margin: 0;
  color: var(--text-soft);
  font-size: 0.82rem;
  line-height: 1.7;
}

.free-reading-panel {
  display: grid;
  gap: 12px;
  margin-top: 16px;
}

.free-reading-card {
  padding: 16px;
  border-radius: 18px;
}

.free-reading-main-card {
  background:
    radial-gradient(circle at top right, rgba(199, 137, 99, 0.12), transparent 40%),
    rgba(255, 250, 243, 0.98);
}

.free-reading-sub-card {
  background: rgba(255, 250, 243, 0.92);
}

.free-reading-card h3 {
  margin: 6px 0 8px;
  font-family: "Noto Serif JP", serif;
  font-size: 1.06rem;
  color: var(--ink);
}

.free-reading-card p:last-child {
  margin: 0;
  color: var(--text-soft);
  line-height: 1.8;
}

.today-deep-free {
  display: grid;
  gap: 12px;
  margin-top: 14px;
}

.today-deep-card {
  padding: 18px;
  border-radius: 18px;
  border: 1px solid #e1d0b9;
  background:
    radial-gradient(circle at top right, rgba(199, 137, 99, 0.08), transparent 38%),
    rgba(255, 251, 245, 0.95);
}

.today-deep-card h3 {
  margin: 6px 0 8px;
  font-family: "Noto Serif JP", serif;
  font-size: 1.02rem;
  color: var(--ink);
}

.today-deep-card p:last-child {
  margin: 0;
  color: var(--text-soft);
  line-height: 1.9;
}

.result-locked-tail {
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid #eadbc9;
}

.today-next-links {
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid #eadbc9;
}

.today-next-grid {
  display: grid;
  gap: 12px;
  margin-top: 14px;
}

.today-next-card {
  display: block;
  padding: 18px;
  border-radius: 18px;
  border: 1px solid #e1d0b9;
  background:
    radial-gradient(circle at top right, rgba(199, 137, 99, 0.08), transparent 38%),
    rgba(255, 251, 245, 0.95);
  text-decoration: none;
  color: inherit;
  transition: transform 140ms ease, box-shadow 140ms ease;
}

.today-next-card:hover {
  transform: translateY(-1px);
  box-shadow: var(--shadow);
}

.today-next-card h4 {
  margin: 6px 0 8px;
  font-family: "Noto Serif JP", serif;
  font-size: 1.02rem;
  color: var(--ink);
}

.today-next-card p:last-child {
  margin: 0;
  color: var(--text-soft);
  line-height: 1.8;
}

.result-subfocus {
  display: inline-flex;
  align-items: center;
  margin: 10px 0 0;
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid #dcc7aa;
  background: rgba(255, 252, 247, 0.96);
  color: var(--accent);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.03em;
}

.result-theme-banner {
  display: block;
  width: 100%;
  margin-top: 0;
  border-radius: 18px;
  border: 1px solid #dcc7aa;
  box-shadow: var(--shadow);
}

.result-banner-copy {
  margin-top: 14px;
}

.result-banner-copy h2 {
  margin: 6px 0 0;
  font-family: "Noto Serif JP", serif;
  font-size: clamp(1.65rem, 4.3vw, 2.45rem);
  line-height: 1.28;
  color: var(--ink);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.premium-preview {
  position: relative;
  margin-top: 16px;
  overflow: hidden;
  border-radius: 22px;
  border: 1px solid #e1d0b9;
  background:
    radial-gradient(circle at top right, rgba(199, 137, 99, 0.08), transparent 32%),
    rgba(251, 244, 234, 0.94);
}

.premium-preview.theme-today-followup .premium-hidden-zone {
  min-height: 540px;
}

.premium-preview.theme-today-followup .premium-hidden-content {
  padding-top: 18px;
}

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

.premium-hidden-zone {
  position: relative;
  min-height: 520px;
  overflow: hidden;
}

.premium-hidden-content {
  display: grid;
  gap: 18px;
  padding: 24px 24px 156px;
}

.pillar-note,
.detail-note {
  margin: 8px 0 0;
  color: var(--text-soft);
  font-size: 0.82rem;
  line-height: 1.6;
}

.premium-mosaic-tail {
  position: absolute;
  inset: 0 0 0 0;
  padding: 232px 24px 24px;
  background:
    linear-gradient(180deg, rgba(251, 244, 234, 0) 0%, rgba(251, 244, 234, 0) 36%, rgba(251, 244, 234, 0.04) 48%, rgba(251, 244, 234, 0.16) 64%, rgba(251, 244, 234, 0.42) 82%, rgba(251, 244, 234, 0.58) 100%);
  backdrop-filter: blur(6px);
}

.mosaic-tail-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  filter: blur(3px);
  transform: scale(1.01);
  opacity: 0.78;
}

.mosaic-card {
  min-height: 110px;
  padding: 14px;
  border-radius: 18px;
  border: 1px solid rgba(214, 193, 166, 0.85);
  background: rgba(255, 250, 242, 0.92);
  display: grid;
  gap: 10px;
}

.mosaic-card span {
  display: block;
  height: 14px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(98, 82, 109, 0.18), rgba(183, 151, 123, 0.32));
}

.mosaic-card span.wide {
  width: 82%;
}

.premium-lock-overlay {
  position: absolute;
  left: 0;
  right: 0;
  top: 56%;
  display: grid;
  justify-items: center;
  gap: 10px;
  padding: 0 22px;
  transform: translateY(-50%);
  background: none;
}

.cta-image-button {
  display: block;
  width: min(100%, 560px);
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.cta-image-button img {
  display: block;
  width: 100%;
  border-radius: 20px;
  box-shadow: var(--shadow);
}


.premium-lock-simple {
  margin: 0;
  padding: 7px 16px;
  border-radius: 999px;
  border: 1px solid #dcc5a4;
  background: rgba(255, 249, 240, 0.96);
  color: var(--accent);
  font-size: 0.94rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-align: center;
  box-shadow: 0 10px 24px rgba(77, 58, 34, 0.12);
}

.premium-lock-link {
  text-decoration: none;
}

.compact-hero {
  padding-bottom: 26px;
}

.article-hero-banner {
  position: relative;
  display: grid;
  grid-template-columns: 180px minmax(0, 1fr);
  align-items: center;
  gap: 18px;
  width: min(100%, 720px);
  margin: 2px auto 8px;
  padding: 14px 18px;
  border-radius: 22px;
  border: 1px solid rgba(204, 179, 142, 0.9);
  background:
    radial-gradient(circle at 82% 24%, rgba(255, 255, 255, 0.72), transparent 24%),
    linear-gradient(135deg, rgba(255, 245, 231, 0.98), rgba(246, 233, 215, 0.92));
  box-shadow: 0 14px 28px rgba(77, 58, 34, 0.1);
  overflow: hidden;
}

.article-page-banner {
  width: min(100%, 720px);
  margin: 2px auto 8px;
}

.article-banner-hero {
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  overflow: visible;
}

.article-banner-hero::before,
.article-banner-hero::after {
  display: none;
}

.article-page-banner-hero {
  margin: 0 auto 12px;
  border-radius: 22px;
}

.article-banner-copy {
  max-width: 42rem;
  margin-top: 0;
}

.article-hero-banner-character {
  grid-template-columns: 220px minmax(0, 1fr);
  width: min(100%, 760px);
  min-height: 230px;
  padding: 22px 24px;
  border-radius: 26px;
  border: 1px solid rgba(212, 190, 198, 0.9);
  background:
    radial-gradient(circle at 86% 18%, rgba(255, 255, 255, 0.82), transparent 26%),
    linear-gradient(135deg, rgba(255, 244, 239, 0.98), rgba(241, 229, 246, 0.92));
  box-shadow: 0 18px 32px rgba(77, 58, 34, 0.12);
}

.article-hero-banner-character::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 10px;
  background: linear-gradient(90deg, #d8949e, #c4b2e9);
  opacity: 0.92;
}

.article-hero-duo {
  position: relative;
  height: 100%;
  min-height: 176px;
}

.article-hero-character {
  position: absolute;
  bottom: 0;
  width: 148px;
  height: 148px;
  object-fit: cover;
  border-radius: 24px;
  border: 1px solid rgba(220, 205, 185, 0.95);
  background: rgba(255, 250, 243, 0.86);
  box-shadow: 0 14px 26px rgba(77, 58, 34, 0.14);
}

.article-hero-character-left {
  left: 6px;
  z-index: 1;
}

.article-hero-character-right {
  right: 12px;
  bottom: 10px;
}

.article-hero-copy-group {
  position: relative;
  z-index: 1;
  text-align: left;
}

.article-hero-title {
  margin: 0;
  font-family: "Noto Serif JP", serif;
  font-size: clamp(2rem, 5vw, 2.9rem);
  line-height: 1.12;
  color: var(--ink);
}

.article-hero-summary {
  margin: 10px 0 0;
  color: var(--text-soft);
  font-size: 1rem;
  line-height: 1.75;
}

.article-hero-chips {
  justify-content: flex-start;
  margin-top: 14px;
}

.article-hero-banner-compatibility {
  grid-template-columns: 1fr;
  min-height: 0;
  padding: 0;
  background: transparent;
}

.article-hero-banner::after {
  content: "";
  position: absolute;
  right: 16px;
  bottom: 14px;
  width: 86px;
  height: 86px;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(199, 137, 99, 0.16), transparent 68%);
  pointer-events: none;
}

.article-hero-banner-art {
  width: 164px;
  height: 112px;
  border-radius: 18px;
  border: 1px solid rgba(219, 200, 176, 0.96);
  background-color: #fff8ef;
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.62),
    0 10px 18px rgba(84, 62, 38, 0.08);
}

.article-hero-banner-image {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 192px;
  object-fit: cover;
}

.article-hero-banner-art-compatibility {
  background-image: url("./assets/generated-icons/rank/source.png");
  background-repeat: no-repeat;
  background-size: 300% 200%;
  background-position: center bottom;
}

.article-hero-banner-compatibility .article-hero-banner-text {
  display: none;
}

.article-hero-banner-art-daily,
.article-hero-banner-art-love,
.article-hero-banner-art-work,
.article-hero-banner-art-shichu,
.article-hero-banner-art-reconciliation {
  background-image: url("./assets/generated-icons/rank/source.png");
  background-repeat: no-repeat;
  background-size: 300% 200%;
}

.article-hero-banner-art-daily {
  background-position: left top;
}

.article-hero-banner-art-shichu {
  background-position: center top;
}

.article-hero-banner-art-love {
  background-position: right top;
}

.article-hero-banner-art-work {
  background-position: left bottom;
}

.article-hero-banner-art-reconciliation {
  background-position: right bottom;
}

.article-hero-banner-text {
  position: relative;
  z-index: 1;
  text-align: left;
}

.article-hero-banner-kicker {
  margin: 0 0 6px;
  color: var(--accent);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
}

.article-hero-banner-text h1 {
  margin: 0;
  font-size: clamp(1.7rem, 4vw, 2.4rem);
  line-height: 1.18;
}

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

.action-row {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 18px;
}

.article-shell {
  width: min(860px, calc(100% - 32px));
}

.article-panel {
  padding: 22px 22px 24px;
}

.article-panel h2 {
  margin-top: 22px;
}

.article-panel h3 {
  margin-top: 24px;
  font-family: "Noto Serif JP", serif;
  font-size: 1.7rem;
  font-weight: 600;
}

.article-panel p,
.article-panel li {
  color: var(--text-soft);
  line-height: 1.75;
  font-size: 0.96rem;
}

.article-panel ul,
.article-panel ol {
  padding-left: 20px;
}

.article-links {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 24px;
}

.member-status-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 18px;
}

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

.member-status-card {
  margin-top: 18px;
  padding: 18px 18px 20px;
  border: 1px solid rgba(191, 155, 121, 0.42);
  border-radius: 22px;
  background: rgba(255, 250, 244, 0.74);
}

.member-status-card .label {
  margin-bottom: 10px;
}

.member-status-detail {
  margin: 12px 0 0;
  color: var(--text-soft);
  font-size: 0.92rem;
  line-height: 1.72;
}

.member-quick-link {
  display: block;
  padding: 18px 18px 20px;
  border: 1px solid rgba(191, 155, 121, 0.5);
  border-radius: 22px;
  background: rgba(255, 250, 244, 0.72);
  text-decoration: none;
  transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease;
}

.member-quick-link:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 26px rgba(116, 87, 54, 0.12);
  border-color: rgba(154, 77, 58, 0.44);
}

.member-quick-link-label {
  display: block;
  color: var(--ink);
  font-family: "Noto Serif JP", serif;
  font-size: 1.2rem;
  font-weight: 600;
}

.member-quick-link-note {
  display: block;
  margin-top: 8px;
  color: var(--text-soft);
  font-size: 0.92rem;
  line-height: 1.7;
}

.member-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 999px;
  font-size: 0.92rem;
  font-weight: 700;
  color: #fffaf5;
  background: var(--accent);
}

.member-badge.pending {
  background: var(--accent-soft);
}

.member-badge.paid {
  background: var(--sage);
}

.member-badge.canceled {
  background: #9f6c5f;
}

.member-inline-note {
  margin-top: 18px;
  padding: 14px 16px;
  border-radius: 18px;
  background: rgba(255, 249, 241, 0.74);
  color: var(--text-soft);
  font-size: 0.94rem;
  line-height: 1.75;
}

.member-support-links {
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
  margin: 16px 0 0;
  color: var(--text-soft);
  font-size: 0.9rem;
}

.member-support-links a {
  color: var(--text-soft);
  text-decoration: none;
}

.member-support-links a:hover {
  color: var(--accent);
}

.section-head h3 {
  margin: 8px 0 0;
  font-size: 1.35rem;
  font-weight: 600;
  line-height: 1.5;
  color: var(--ink);
}

.pillar-item strong {
  display: block;
  margin-top: 10px;
  font-size: 1.45rem;
  color: var(--accent);
}

.detail-item p:last-child {
  margin-bottom: 0;
  font-size: 1rem;
  line-height: 1.8;
}

.flow-note {
  margin-top: 16px;
}

@keyframes rise-in {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes card-glow {
  from {
    opacity: 0;
    transform: scale(0.98);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes omikuji-draw {
  0% {
    transform: translateX(-50%) translateY(34px) rotate(2deg);
    opacity: 0.2;
  }
  45% {
    transform: translateX(-50%) translateY(-8px) rotate(-1deg);
    opacity: 1;
  }
  100% {
    transform: translateX(-50%) translateY(0) rotate(0deg);
    opacity: 1;
  }
}

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

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

  .quick-line-bar {
    align-items: stretch;
  }

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

  .portal-strip {
    grid-template-columns: 1fr;
  }

  .trend-ribbon {
    grid-template-columns: 1fr;
  }

  .compact-head {
    align-items: center;
    flex-direction: column;
  }

  .feature-banners {
    grid-template-columns: 1fr;
    grid-template-areas:
      "main"
      "side-a"
      "side-b"
      "wide";
  }

  .feature-banner-large,
  .feature-banner-wide {
    grid-row: auto;
  }

  .hero {
    padding: 18px 16px 16px;
    min-height: 0;
  }

  .hero-site-banner-wrap {
    max-width: min(100%, 500px);
  }

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

  .input-panel-wide {
    max-width: none;
  }

  .offer-grid,
  .pricing-grid,
  .faq-list,
  .seo-grid,
  .member-status-grid,
  .member-quick-links,
  .mini-feature-grid,
  .omikuji-stage,
  .fortune-strip,
  .daily-grid,
  .ai-grid,
  .insight-grid,
  .premium-detail-grid {
    grid-template-columns: 1fr;
  }

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

  .offer-card:nth-child(2),
  .seo-card:nth-child(2),
  .seo-card:nth-child(5) {
    transform: none;
  }
}

@media (max-width: 640px) {
  .page-shell {
    width: min(100% - 20px, 780px);
    padding-top: 14px;
    padding-bottom: 120px;
  }

  .hero-gallery {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .fortune-nav {
    justify-content: center;
    padding-bottom: 0;
  }

  .fortune-nav a {
    flex: 0 1 auto;
    white-space: normal;
    padding: 8px 11px;
  }

  .portal-strip {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .trend-ribbon {
    gap: 10px;
    overflow: visible;
    grid-template-columns: 1fr;
    padding-bottom: 0;
  }

  .portal-section,
  .feature-section {
    margin-top: 14px;
  }

  .feature-banners {
    grid-template-columns: 1fr;
    grid-template-areas:
      "main"
      "side-a"
      "side-b"
      "wide";
    gap: 12px;
  }

  .hero {
    padding: 16px 12px 14px;
  }

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

  .hero::before {
    left: auto;
  }

  .hero-site-banner-wrap {
    max-width: 100%;
  }

  .hero-points,
  .benefit-points {
    gap: 6px;
  }

  .hero-copy,
  .panel-copy,
  .overview,
  .empty-copy {
    font-size: 0.86rem;
    line-height: 1.65;
  }

  .article-hero-banner {
    grid-template-columns: 1fr;
    gap: 12px;
    padding: 14px;
    text-align: center;
  }

  .article-hero-banner-character {
    grid-template-columns: 1fr;
    gap: 14px;
    min-height: 0;
    padding: 18px 16px 16px;
  }

  .article-hero-duo {
    min-height: 128px;
    width: min(100%, 280px);
    margin: 0 auto;
  }

  .article-hero-character {
    width: 112px;
    height: 112px;
  }

  .article-hero-character-left {
    left: 18px;
  }

  .article-hero-character-right {
    right: 18px;
    bottom: 6px;
  }

  .article-hero-copy-group {
    text-align: center;
  }

  .article-hero-summary {
    font-size: 0.9rem;
    line-height: 1.65;
  }

  .article-hero-chips {
    justify-content: center;
  }

  .article-hero-banner-compatibility {
    min-height: 0;
    padding: 0;
  }

  .article-hero-banner-image {
    min-height: 168px;
  }

  .article-hero-banner-art {
    width: min(100%, 280px);
    height: 156px;
    margin: 0 auto;
  }

  .article-hero-banner-text {
    text-align: center;
  }

  .article-hero-banner-compatibility .article-hero-banner-text {
    display: none;
  }

  .panel-inline-note {
    font-size: 0.78rem;
  }

  .mini-feature-card {
    grid-template-columns: 36px 1fr;
    padding: 8px;
  }

  .mini-art {
    width: 36px;
    height: 36px;
  }

  .portal-card {
    grid-template-columns: 66px 1fr;
    gap: 9px;
    padding: 9px;
  }

  .portal-art {
    width: 58px;
    height: 58px;
  }

  .feature-banner-wide {
    grid-column: auto;
  }

  .banner-tall,
  .omikuji-hero-banner {
    min-height: 0;
  }

  .visual-link-card span {
    left: 12px;
    right: 12px;
    bottom: 12px;
    min-height: 40px;
    padding: 9px 12px;
    font-size: 0.84rem;
  }

  .omikuji-box {
    width: 136px;
    height: 172px;
  }

  .omikuji-box-lid {
    left: 14px;
    right: 14px;
  }

  .omikuji-slip {
    width: 70px;
    height: 100px;
  }

  .input-panel,
  .result-panel {
    padding: 16px 13px;
    border-radius: 22px;
  }

  .result-page-hero,
  .result-hero-card {
    padding: 18px 16px;
  }

  .offer-panel,
  .seo-panel,
  .article-panel {
    padding: 16px 13px;
    border-radius: 22px;
  }

  .result-badges {
    gap: 6px;
  }

  .result-badges span {
    font-size: 0.78rem;
    padding: 6px 9px;
  }

  .cta-chips span {
    font-size: 0.8rem;
  }

  .result-card {
    min-height: 340px;
    padding: 6px;
  }

  .result-tease-grid {
    grid-template-columns: 1fr;
  }

  .seo-card {
    padding: 12px;
  }

  .mobile-only {
    display: block;
  }

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

  .hero-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .fortune-strip,
  .daily-grid,
  .pillars-grid,
  .insight-grid,
  .benefit-points,
  .offer-grid,
  .pricing-grid,
  .ai-grid,
  .faq-list,
  .score-grid,
  .detail-grid {
    grid-template-columns: 1fr;
  }
}
