/* 今日の運勢 — 東洋/西洋テーマ・サイト枠整合（Noto Sans JP は HTML の link で読み込み） */

/* body には fortune-page クラスのみ（タブ切替用）。見た目はメインカラムだけ変更し、サイドバーは structure.css 共通のまま */
.fortune-page {
  --t-card: rgba(255, 255, 255, 0.97);
  --t-text: #1a1d26;
  --t-muted: #5e6678;
  --t-line: rgba(255, 255, 255, 0.22);
  --t-accent-e: #e8c547;
  --t-accent-w: #a89cff;
  --t-accent: var(--t-accent-e);
  --t-bg-e: linear-gradient(155deg, #12080a 0%, #4a1528 38%, #1c1218 70%, #0f0f18 100%);
  --t-bg-w: linear-gradient(155deg, #0a0c22 0%, #2a2268 42%, #12102a 100%);
  /* コンテンツ幅：モバイルは .l_content いっぱい（PC は 768px+ で同様に 100%） */
  --today-col: 100%;
  --today-s-1: 0.35rem;
  --today-s-2: 0.65rem;
  --today-s-3: 0.95rem;
  --today-red: var(--color-accent, #c62828);
  --today-shadow-card: 0 4px 20px rgba(26, 50, 90, 0.12);
}

/* 暗い背景はメインカラムのみ（ナビ・フッターは structure.css 共通のまま） */
.fortune-page .l_container_main {
  position: relative;
  font-family: 'Noto Sans JP', 'Hiragino Sans', sans-serif;
  font-size: 1.5rem;
  line-height: 1.7;
  color: #f5f5f7;
  background: transparent;
}

.fortune-page .l_container_main::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: var(--t-bg-e);
  background-attachment: fixed;
  pointer-events: none;
}

.fortune-page.today-focus-western .l_container_main::before {
  background: var(--t-bg-w);
}

.fortune-page.today-focus-western {
  --t-accent: var(--t-accent-w);
}

.fortune-page .l_content.today-content {
  overflow: visible;
}

/* メインコンテンツ：.l_content（PC 約968px）いっぱいに各セクションを揃える */
.fortune-page .today-content > .today-masthead,
.fortune-page .today-content > .today-trust-line,
.fortune-page .today-content > #todayInputs,
.fortune-page .today-content > #todayActions,
.fortune-page .today-content > #todaySummary,
.fortune-page .today-content > #todayDetail,
.fortune-page .today-content > .today-guide,
.fortune-page .today-content > .today-privacy-box {
  width: 100%;
  max-width: var(--today-col);
  margin-left: auto;
  margin-right: auto;
  box-sizing: border-box;
}

/* パンくず：ページ下部・共通の白帯・青リンク */
.fortune-page .l_container_main > .m_breadcrumbWrap {
  color: #333;
}

.fortune-page .l_container_main > .m_breadcrumbWrap .m_breadcrumb li {
  color: #333;
}

.fortune-page .l_container_main > .m_breadcrumbWrap .m_breadcrumb a {
  color: #0084c8;
}

/* パンくずは module.css 共通（白帯・青リンク）— today 用の上書きなし */

.today-masthead {
  text-align: center;
  padding: var(--today-s-1) 0 0.35rem;
}

.today-masthead-title {
  font-size: clamp(2.2rem, 5vw, 2.8rem);
  font-weight: 900;
  margin: 0;
  color: #fff;
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.35);
}

.fortune-page-lead {
  margin: 0.35rem 0 0;
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.35rem;
  line-height: 1.55;
  max-width: var(--today-col);
  margin-left: auto;
  margin-right: auto;
}

.fortune-page-lead strong {
  color: #fff;
  font-weight: 800;
}

.today-flow-steps {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.35rem 0.5rem;
  margin: 0.65rem auto 0;
  padding: 0;
  max-width: var(--today-col);
  list-style: none;
  font-size: 1.2rem;
  color: rgba(255, 255, 255, 0.88);
}

.today-flow-steps li {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.35rem 0.65rem;
  background: rgba(0, 0, 0, 0.2);
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.18);
}

.today-flow-step-num {
  font-weight: 900;
  color: var(--t-accent);
}

.today-trust-line {
  margin: 0 auto var(--today-s-2);
  padding: 0.5rem 0.75rem;
  font-size: 1.15rem;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.92);
  text-align: center;
  background: rgba(0, 0, 0, 0.22);
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.today-trust-line strong {
  color: #fff;
  font-weight: 800;
}

.today-summary {
  margin: 0 auto var(--today-s-2);
}

.today-summary[hidden] {
  display: none !important;
}

.today-detail {
  margin: 0 auto var(--today-s-2);
}

.today-detail[hidden] {
  display: none !important;
}

.today-detail-panel {
  padding: var(--today-s-2) var(--today-s-2) 0.85rem;
  border: 1px solid var(--color-border, #d8e2ef);
  border-top-width: 3px;
  border-top-color: rgba(232, 197, 71, 0.85);
  box-shadow: var(--today-shadow-card);
  background: var(--color-surface, #fff);
}

.fortune-page.today-focus-western .today-detail-panel {
  border-color: rgba(168, 156, 255, 0.5);
}

.today-detail-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.35rem;
}

.today-detail-title {
  margin: 0;
  flex: 1;
  font-size: 1.5rem;
  font-weight: 900;
  line-height: 1.35;
  color: var(--t-text);
}

.today-detail-close {
  flex-shrink: 0;
  padding: 0.55rem 1rem;
  border: 2px solid #c5d0e2;
  border-radius: 12px;
  background: #f7f9fc;
  font-size: 1.2rem;
  font-weight: 800;
  color: #3d4658;
  cursor: pointer;
  font-family: inherit;
}

.today-detail-close:hover {
  border-color: var(--t-accent);
  color: #1a1d26;
}

.today-detail-lead {
  margin: 0 0 0.85rem;
  font-size: 1.2rem;
  color: var(--t-muted);
  line-height: 1.5;
}

.today-detail-body {
  margin-bottom: 0.5rem;
}

.today-detail-traditions {
  margin-top: 0.85rem;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.today-detail-tradition {
  border: 2px solid #e0e6ef;
  border-radius: 14px;
  background: #fafbfd;
  overflow: hidden;
}

.today-detail-tradition--eastern {
  border-color: rgba(232, 197, 71, 0.55);
}

.today-detail-tradition--western {
  border-color: rgba(168, 156, 255, 0.45);
}

.today-detail-tradition.is-focused,
.today-detail-tradition[open].is-focused {
  box-shadow: 0 0 0 2px rgba(232, 197, 71, 0.28);
}

.today-detail-tradition--eastern.is-focused,
.today-detail-tradition--eastern[open].is-focused {
  border-color: rgba(155, 27, 48, 0.5);
  box-shadow: 0 0 0 2px rgba(232, 197, 71, 0.35);
}

.today-detail-tradition--western.is-focused,
.today-detail-tradition--western[open].is-focused {
  border-color: rgba(91, 75, 183, 0.5);
  box-shadow: 0 0 0 2px rgba(168, 156, 255, 0.35);
}

.today-detail-tradition > summary {
  list-style: none;
  cursor: pointer;
  padding: 0.85rem 1rem;
  font-size: 1.35rem;
  font-weight: 900;
  color: var(--t-text);
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.today-detail-tradition > summary::-webkit-details-marker {
  display: none;
}

.today-detail-tradition > summary::before {
  content: '▸';
  font-size: 1rem;
  color: var(--t-muted);
  transition: transform 0.15s ease;
}

.today-detail-tradition[open] > summary::before {
  transform: rotate(90deg);
}

.today-detail-tradition-body {
  padding: 0 0.85rem 0.9rem;
  border-top: 1px dashed #e0e6ef;
}

.today-detail-compare-top {
  margin-top: 0.5rem;
}

.today-detail-compare-top .today-compare {
  margin-top: 0;
}

.today-detail-prompt {
  margin-top: 0.75rem;
}

.today-detail-accordions {
  margin-top: 0.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.today-detail-accordion {
  border: 1px solid #e0e6ef;
  border-radius: 12px;
  background: #fafbfd;
  overflow: hidden;
}

.today-detail-accordion > summary {
  list-style: none;
  cursor: pointer;
  padding: 0.75rem 1rem;
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--t-text);
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.today-detail-accordion > summary::-webkit-details-marker {
  display: none;
}

.today-detail-accordion > summary::before {
  content: '▸';
  font-size: 1rem;
  color: var(--t-muted);
  transition: transform 0.15s ease;
}

.today-detail-accordion[open] > summary::before {
  transform: rotate(90deg);
}

.today-detail-accordion-body {
  padding: 0 1rem 0.85rem;
  border-top: 1px dashed #e0e6ef;
}

.today-detail-accordion-body .today-result-summary {
  margin: 0.65rem 0 0;
}

.today-detail-accordion-body .today-breakdown-inner--flat {
  border-top: none;
  padding-top: 0.35rem;
  margin-top: 0;
}

.today-detail-accordion-body .today-compare {
  margin-top: 0.55rem;
}

.today-detail-accordion-body .today-lottery-hint {
  margin-top: 0.55rem;
}

.today-result--panel .today-result-rank-block {
  margin-bottom: 0.25rem;
}

.today-detail-note {
  margin: 1rem 0 0;
  font-size: 1.2rem;
  color: var(--t-muted);
  text-align: center;
  line-height: 1.45;
}

.today-detail-cta {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  margin-top: 1rem;
}

.today-detail-cta .today-btn {
  width: 100%;
  text-align: center;
}

.today-inline-card {
  background: var(--t-card);
  color: var(--t-text);
  border-radius: 16px;
  padding: 0.9rem 1rem 0.85rem;
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.3);
  border: 2px solid rgba(232, 197, 71, 0.5);
}

.fortune-page.today-focus-western .today-inline-card {
  border-color: rgba(168, 156, 255, 0.5);
}

.today-inline-card-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
  font-size: 1.2rem;
  color: var(--t-muted);
}

.today-inline-card-tradition {
  font-weight: 900;
  color: #9b1b30;
}

.fortune-page.today-focus-western .today-inline-card-tradition {
  color: #5b4bb7;
}

.today-inline-card-rank {
  margin: 0;
  font-size: 1.65rem;
  font-weight: 900;
}

.today-inline-card-summary {
  margin: 0.35rem 0 0.5rem;
  font-size: 1.3rem;
  color: var(--t-muted);
  line-height: 1.45;
}

.today-inline-card-note {
  margin: 0 0 0.5rem;
  font-size: 1.15rem;
  color: var(--t-muted);
  line-height: 1.4;
}

.today-summary-pillars {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
  align-items: stretch;
}

.today-summary-pillar {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.15rem;
  min-height: 5.5rem;
  padding: 0.6rem 0.55rem;
  border-radius: 12px;
  background: #fff;
  border: 2px solid #e0e6ef;
  text-align: center;
  font-size: 1.15rem;
  line-height: 1.35;
  font-family: inherit;
  color: inherit;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  transition:
    border-color 0.15s ease,
    background 0.15s ease,
    box-shadow 0.15s ease;
}

.today-summary-pillar:hover {
  border-color: #c5cad4;
  background: #fafbfd;
}

.today-summary-pillar:focus-visible {
  outline: 3px solid rgba(198, 40, 40, 0.45);
  outline-offset: 2px;
}

.today-summary-pillar--eastern {
  background: #fffdfb;
  border-color: rgba(155, 27, 48, 0.22);
}

.today-summary-pillar--western {
  background: #faf9ff;
  border-color: rgba(91, 75, 183, 0.22);
}

.today-summary-pillar--eastern.is-active {
  border-color: var(--today-red);
  background: #fff8f6;
  box-shadow: 0 0 0 1px rgba(198, 40, 40, 0.12);
}

.today-summary-pillar--western.is-active {
  border-color: #5b4bb7;
  background: #f7f5ff;
  box-shadow: 0 0 0 1px rgba(91, 75, 183, 0.12);
}

.today-summary-pillar.is-unjudged {
  cursor: pointer;
  border-style: dashed;
  border-color: #d0d6e0;
  background: #fafbfc;
  opacity: 0.92;
}

.today-summary-pillar.is-unjudged:hover,
.today-summary-pillar.is-unjudged:focus-visible {
  border-color: #a8b0c0;
  background: #fff;
  opacity: 1;
}

.today-summary-pillar-label {
  display: block;
  font-weight: 800;
  color: var(--t-muted);
  font-size: 1.05rem;
}

.today-summary-pillar-hint {
  display: block;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--t-muted);
}

.today-summary-pillar-rank {
  display: block;
  margin: 0.1rem 0;
  font-weight: 800;
}

.today-summary-pillar-rank--muted,
.today-summary-pillar-score--muted {
  color: var(--t-muted);
  font-weight: 700;
}

.today-summary-pillar-score {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 0.1rem;
  margin-top: 0.15rem;
  font-weight: 900;
  color: var(--t-text);
  line-height: 1.1;
}

.today-summary-pillar-score-num {
  font-size: clamp(2.85rem, 9vw, 3.6rem);
  font-weight: 900;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.02em;
}

.today-summary-pillar-score-unit {
  font-size: 1.45rem;
  font-weight: 800;
  color: var(--t-muted);
}

.today-summary-pillar--eastern .today-summary-pillar-score-num {
  color: var(--today-red);
}

.today-summary-pillar--western .today-summary-pillar-score-num {
  color: #5b4bb7;
}

.today-summary-pillar-score--muted {
  font-size: 1.1rem;
  display: block;
}

.today-inline-loading {
  background: var(--t-card);
  color: var(--t-text);
  border-radius: var(--radius-lg, 16px);
  padding: var(--today-s-2);
  text-align: center;
  box-shadow: var(--today-shadow-card);
  border: 1px solid var(--color-border, #d8e2ef);
  border-top: 3px solid rgba(232, 197, 71, 0.55);
}

.fortune-page.today-focus-western .today-inline-loading {
  border-color: rgba(168, 156, 255, 0.45);
}

.today-inline-loading-spinner {
  width: 2.4rem;
  height: 2.4rem;
  margin: 0 auto 0.65rem;
  border: 3px solid #e8ecf2;
  border-top-color: var(--t-accent);
  border-radius: 50%;
  animation: today-inline-spin 0.9s linear infinite;
}

@keyframes today-inline-spin {
  to {
    transform: rotate(360deg);
  }
}

@media (prefers-reduced-motion: reduce) {
  .today-inline-loading-spinner {
    animation: none;
    border-top-color: #c5d0e2;
  }
}

.today-inline-loading-title {
  margin: 0;
  font-size: 1.4rem;
  font-weight: 900;
}

.today-inline-loading-sub {
  margin: 0.35rem 0 0;
  font-size: 1.2rem;
  color: var(--t-muted);
}

.today-inline-card-btn {
  width: 100%;
  min-height: 44px;
  padding: 0.75rem 1rem;
  border: 2px solid var(--color-accent, #c62828);
  border-radius: var(--radius-md, 12px);
  background: var(--color-surface, #fff);
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--color-accent, #c62828);
  cursor: pointer;
  font-family: inherit;
  box-shadow: var(--shadow-sm, 0 1px 3px rgba(26, 50, 90, 0.06));
  transition:
    background 0.15s ease,
    color 0.15s ease,
    border-color 0.15s ease;
}

.today-inline-card-btn:hover {
  background: var(--color-accent-soft, #ffebee);
  border-color: #b71c1c;
  color: #b71c1c;
}

.today-inline-card-btn:focus-visible {
  outline: 3px solid var(--color-brand-light, #227be7);
  outline-offset: 2px;
}

.today-inline-card-btn[hidden] {
  display: none !important;
}

.today-inline-card-note[hidden] {
  display: none !important;
}

.today-guide-version {
  margin: 0.75rem 0 0;
  font-size: 1.15rem;
  color: var(--t-muted);
  font-family: ui-monospace, Consolas, monospace;
}

.today-yesterday-diff {
  margin: 0 0 0.65rem;
  font-size: 1.25rem;
  font-weight: 800;
  color: #3d4658;
}

.today-yesterday-diff--up {
  color: #1a7a45;
}

.today-yesterday-diff--down {
  color: #9b5c1a;
}

.today-yesterday-diff--flat {
  color: var(--t-muted);
}

.today-breakdown--visible {
  margin: 0.85rem 0 0;
}

.today-breakdown--visible .today-result-section-title {
  margin: 0 0 0.5rem;
}

.today-breakdown--visible .today-breakdown-inner {
  border-top: none;
  padding-top: 0;
  margin-top: 0;
}

.today-breakdown-inner {
  margin-top: 0.5rem;
  padding-top: 0.35rem;
  border-top: 1px dashed #e0e6ef;
}

.today-factor-note {
  margin: 0 0 0.65rem;
  font-size: 1.2rem;
  color: var(--t-muted);
  line-height: 1.45;
}

.today-breakdown-accuracy {
  margin: 0.5rem 0 0;
  font-size: 1.2rem;
  color: var(--t-muted);
  line-height: 1.5;
}

.today-pillar-list {
  margin: 0.5rem 0;
  padding-left: 1.1rem;
  font-size: 1.2rem;
}

.today-pillar-src {
  color: var(--t-muted);
  font-weight: 600;
}

.today-compare {
  margin: 1rem 0 0;
}

.today-compare-heading {
  margin: 0 0 0.55rem;
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--t-text);
}

.today-compare-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.65rem;
}

.today-compare-item {
  padding: 0.75rem 0.85rem;
  border-radius: 10px;
  background: #f7f8fb;
  border: 1px solid #e8ecf2;
  text-align: center;
  font-size: 1.2rem;
}

.today-compare-item strong {
  display: block;
  font-size: 1.55rem;
  margin: 0.2rem 0;
}

.today-compare-label {
  font-weight: 800;
  color: var(--t-muted);
}

.today-compare--prompt {
  display: block;
  margin-top: 0.85rem;
  padding: 0.75rem 0.9rem;
  background: #f4f6f9;
  border-radius: 10px;
}

.today-compare-text {
  margin: 0;
  font-size: 1.25rem;
  line-height: 1.55;
}

.today-compare-link {
  display: inline;
  margin: 0;
  padding: 0;
  border: none;
  background: none;
  color: #1a5fb4;
  font-size: inherit;
  font-weight: 800;
  text-decoration: underline;
  cursor: pointer;
  font-family: inherit;
}

.fortune-page .l_content.today-content {
  padding-bottom: var(--space-section, 1.75rem);
}

.today-inputs {
  margin-bottom: var(--today-s-2);
}

.today-inputs.today-card {
  border-top: 3px solid var(--today-red);
  padding-top: calc(var(--today-s-2) + 0.15rem);
}

.today-inputs-lead {
  margin: 0 0 0.85rem;
  font-size: 1.25rem;
  line-height: 1.5;
  color: var(--t-text);
}

.today-field-note {
  margin: 0.45rem 0 0;
  font-size: 1.2rem;
  color: var(--t-muted);
  line-height: 1.5;
}

.today-actions {
  margin: 0 auto var(--today-s-2);
  max-width: 28rem;
  text-align: center;
}

.today-btn-judge {
  width: 100%;
  min-height: 44px;
  margin: 0 auto;
  display: block;
  padding: 0.85rem 1.25rem;
  font-size: 1.4rem;
  font-weight: 900;
  letter-spacing: 0.04em;
  border: none;
  border-radius: var(--radius-md, 12px);
  cursor: pointer;
  font-family: inherit;
  color: #fff;
  background: var(--color-accent, #c62828);
  box-shadow: 0 4px 16px rgba(198, 40, 40, 0.28);
  transition:
    background 0.15s ease,
    box-shadow 0.15s ease,
    transform 0.15s ease;
}

.today-btn-judge:hover {
  background: #b71c1c;
  box-shadow: 0 6px 20px rgba(198, 40, 40, 0.34);
  transform: translateY(-1px);
}

.today-btn-judge:focus-visible {
  outline: 3px solid #fff;
  outline-offset: 2px;
  box-shadow:
    0 0 0 3px var(--color-accent, #c62828),
    0 4px 16px rgba(198, 40, 40, 0.28);
}

.today-btn-judge:active {
  transform: translateY(0);
  box-shadow: 0 2px 10px rgba(198, 40, 40, 0.22);
}

.today-guide.seo-summary-box {
  margin: 0 0 var(--space-section, 1.75rem);
  padding: 1.25rem 1.5rem;
}

.today-guide.seo-summary-box .today-guide-title {
  margin: 0 0 0.85rem;
  padding-bottom: 0;
  font-size: clamp(1.4rem, 2.5vw, 1.75rem);
  font-weight: 700;
  color: var(--color-brand, #1a5fb4);
  border-bottom: none;
  letter-spacing: normal;
}

.today-guide-columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.65rem;
  margin-top: 0.5rem;
}

.today-guide-col {
  padding: 0.85rem 0.9rem;
  border-radius: var(--radius-md, 12px);
  border: 1px solid var(--color-border, #d8e2ef);
  background: var(--color-surface, #fff);
  box-shadow: var(--shadow-sm, 0 1px 3px rgba(26, 50, 90, 0.06));
}

.today-guide-col--eastern {
  border-color: rgba(155, 27, 48, 0.2);
  background: #fffdfb;
}

.today-guide-col--western {
  border-color: rgba(91, 75, 183, 0.2);
  background: #faf9ff;
}

.today-guide-col-title {
  margin: 0 0 0.35rem;
  font-size: var(--text-lg, 1.5rem);
  font-weight: 700;
  color: var(--color-accent, #c62828);
}

.today-guide-col--western .today-guide-col-title {
  color: var(--color-brand, #1a5fb4);
}

.today-guide-col-lead {
  margin: 0 0 0.55rem;
  font-size: var(--text-base, 1.4rem);
  line-height: 1.7;
  color: var(--color-text-muted, #5c6370);
}

.today-guide-title {
  margin: 0 0 0.55rem;
  padding-bottom: 0.55rem;
  font-size: 1.5rem;
  font-weight: 900;
  color: var(--t-text);
  border-bottom: 2px solid #e8ecf2;
  letter-spacing: 0.02em;
}

.today-guide.seo-summary-box .today-guide-note {
  margin-top: 0.75rem;
  background: var(--color-surface, #fff);
  border-left: 3px solid var(--color-border, #d8e2ef);
  color: var(--color-text-muted, #5c6370);
}

.today-guide-lead {
  margin: 0.65rem 0 0.9rem;
  font-size: 1.3rem;
  color: var(--t-muted);
  line-height: 1.6;
}

.today-guide-lead strong {
  color: #9b1b30;
  font-weight: 700;
}

.fortune-page.today-focus-western .today-guide-lead strong {
  color: #5b4bb7;
}

.today-guide-steps {
  margin: 0 0 0.75rem;
  padding: 0;
  list-style: none;
  counter-reset: today-guide-step;
}

.today-guide-steps > li {
  counter-increment: today-guide-step;
  padding: 0.7rem 0.8rem 0.7rem 2.35rem;
  margin-bottom: 0.5rem;
  background: #f7f8fb;
  border-radius: 10px;
  border: 1px solid #e8ecf2;
  position: relative;
}

.today-guide-steps > li::before {
  content: counter(today-guide-step);
  position: absolute;
  left: 0.7rem;
  top: 0.72rem;
  width: 1.5rem;
  height: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  font-weight: 900;
  color: #fff;
  background: #9b1b30;
  border-radius: 50%;
  line-height: 1;
}

.fortune-page.today-focus-western .today-guide-steps > li::before {
  background: #5b4bb7;
}

.today-guide-steps h3 {
  margin: 0 0 0.35rem;
  font-size: 1.3rem;
  font-weight: 800;
  color: #9b1b30;
  line-height: 1.35;
}

.fortune-page.today-focus-western .today-guide-steps h3 {
  color: #5b4bb7;
}

.today-guide-steps > li > p {
  margin: 0;
  font-size: 1.25rem;
  color: var(--t-text);
  line-height: 1.55;
}

.today-guide-points {
  margin: 0;
  padding: 0 0 0 1rem;
  list-style: disc;
  font-size: var(--text-base, 1.4rem);
  color: var(--color-text, #1a1a2e);
  line-height: 1.7;
}

.today-guide-points li + li {
  margin-top: 0.2rem;
}

.today-guide-points strong {
  font-weight: 700;
  color: #1a1d26;
}

.today-guide-points .today-req,
.today-guide-points .today-opt {
  font-size: 1.15rem;
}

.today-guide-points-note {
  list-style: none;
  margin-left: -1rem;
  color: var(--t-muted);
  font-size: 1.2rem;
}

.today-guide-note {
  margin: 0;
  padding: 0.6rem 0.7rem;
  font-size: 1.2rem;
  color: var(--t-muted);
  line-height: 1.5;
  background: #f0f3f8;
  border-radius: 8px;
  border-left: 3px solid #c5cdd8;
}

.fortune-page.today-focus-western .today-guide-note {
  border-left-color: #b8b0e8;
}

.today-card {
  background: var(--t-card);
  color: var(--t-text);
  border-radius: var(--radius-lg, 16px);
  padding: var(--today-s-2) var(--today-s-2);
  margin-bottom: var(--today-s-2);
  box-shadow: var(--today-shadow-card);
  border: 1px solid var(--color-border, #d8e2ef);
  transition: box-shadow 0.2s ease, border-color 0.2s ease;
}

.today-card:hover {
  box-shadow: 0 6px 24px rgba(26, 50, 90, 0.14);
}

.today-field--eastern-name {
  margin-bottom: 0;
  padding-top: 0.35rem;
  border-top: 1px dashed #e8ecf2;
}

.today-field--eastern-name input[type='text'] {
  font-size: 1.55rem;
  letter-spacing: 0.06em;
  border-color: rgba(155, 27, 48, 0.25);
  background: #fff;
}

.today-field--eastern-name input[type='text']:focus {
  border-color: var(--today-red);
  box-shadow: 0 0 0 3px rgba(198, 40, 40, 0.2);
}

.today-form-title,
.today-result-title {
  font-size: 1.5rem;
  font-weight: 900;
  margin: 0 0 0.75rem;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--t-text);
}

.today-field label {
  display: block;
  font-weight: 800;
  font-size: 1.5rem;
  margin-bottom: 0.45rem;
  color: var(--t-text);
}

.today-req { color: var(--today-red); font-size: 1.35rem; font-weight: 800; }
.today-opt { color: var(--t-muted); font-size: 1.35rem; font-weight: 600; }

.today-field {
  margin-bottom: 0.85rem;
}

.today-field:last-child {
  margin-bottom: 0;
}

.today-field input[type='time'],
.today-field input[type='text'] {
  width: 100%;
  padding: 0.95rem 1rem;
  font-size: 1.5rem;
  border: 2px solid #dde3ec;
  border-radius: 10px;
  box-sizing: border-box;
  background: #fff;
  color: var(--t-text);
}

.today-field--birth-date .today-input-birth-date {
  width: 100%;
  max-width: 14rem;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.03em;
}

.today-field input:focus {
  outline: none;
  border-color: var(--t-accent);
  box-shadow: 0 0 0 3px rgba(232, 197, 71, 0.25);
}

.today-focus-western .today-field input:focus {
  box-shadow: 0 0 0 3px rgba(168, 156, 255, 0.3);
}

.today-fieldset {
  border: 1px solid #e0e6ef;
  border-radius: 12px;
  padding: 0.85rem 1rem 0.55rem;
  margin: 0 0 1rem;
  background: #f9fafb;
}

.today-fieldset legend {
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--t-muted);
  padding: 0 0.3rem;
}

.today-field-hint {
  margin: 0.4rem 0 0;
  font-size: 1.3rem;
  color: var(--t-muted);
  line-height: 1.5;
}


.today-field-error {
  margin: 0.4rem 0 0;
  font-size: 1.25rem;
  font-weight: 700;
  color: #c41e3a;
}

.today-check {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  margin-top: 0.65rem;
  font-size: 1.35rem;
  color: var(--t-muted);
  cursor: pointer;
}

.today-profile-saved {
  margin: 0.45rem 0 0;
  text-align: center;
  color: #8fe8a8;
  font-weight: 800;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.4);
}

/* ── ⓘ 説明（ホバー＋クリック・最前面） ── */
.today-info {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.65rem;
  height: 1.65rem;
  padding: 0;
  border: none;
  background: transparent;
  cursor: help;
  flex-shrink: 0;
  z-index: 50;
}

.today-info-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 1.45rem;
  height: 1.45rem;
  font-size: 1.2rem;
  font-weight: 900;
  color: var(--t-muted);
  border: 2px solid #c5cdd8;
  border-radius: 50%;
  background: #fff;
  line-height: 1;
}

.today-info-tip {
  position: absolute;
  left: 50%;
  bottom: calc(100% + 10px);
  transform: translateX(-50%);
  width: max-content;
  max-width: min(300px, 85vw);
  padding: 0.75rem 0.9rem;
  font-size: 1.2rem;
  font-weight: 600;
  line-height: 1.55;
  text-align: left;
  color: #fff;
  background: #1e2430;
  border-radius: 10px;
  box-shadow: 0 10px 32px rgba(0, 0, 0, 0.35);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.15s, visibility 0.15s;
  z-index: 10050;
}

.today-info-tip::after {
  content: '';
  position: absolute;
  top: 100%;
  left: 50%;
  margin-left: -6px;
  border: 6px solid transparent;
  border-top-color: #1e2430;
}

.today-info:hover .today-info-tip,
.today-info:focus .today-info-tip,
.today-info.is-open .today-info-tip {
  opacity: 1;
  visibility: visible;
}

.today-info--result .today-info-tip {
  left: auto;
  right: 0;
  transform: none;
}

.today-info--result .today-info-tip::after {
  left: auto;
  right: 12px;
  margin-left: 0;
}

.today-disclaimer {
  color: rgba(255, 255, 255, 0.75);
  font-size: 1.25rem;
  margin-top: 0.75rem;
}

.today-loading,
.today-empty {
  text-align: center;
  padding: 1.5rem;
  color: var(--t-muted);
}

/* ── 判定結果 ── */
.today-result {
  color: var(--t-text);
}

.today-result-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem 0.75rem;
  align-items: center;
  margin-bottom: 1rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid #e8ecf2;
  font-family: ui-monospace, Consolas, monospace;
  font-size: 1.2rem;
  color: var(--t-muted);
}

.today-engine {
  font-weight: 800;
  color: #9b1b30;
}

.today-focus-western .today-engine {
  color: #5b4bb7;
}

.today-result-rank-block {
  margin-bottom: 0.85rem;
  padding-bottom: 0.85rem;
  border-bottom: 1px solid #e8ecf2;
}

.today-result-rank-caption {
  margin: 0 0 0.45rem;
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--t-muted);
  letter-spacing: 0.04em;
}

.today-result-main {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0;
}

.today-result-rank-body {
  flex: 1;
  min-width: 0;
}

.today-result-summary-block {
  margin-bottom: 0.85rem;
  padding-bottom: 0.85rem;
  border-bottom: 1px solid #e8ecf2;
}

.today-result-section-title {
  margin: 0 0 0.4rem;
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--t-muted);
}

.today-result-hint-block {
  margin-top: 0.85rem;
}

.today-result-tier-title {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--t-muted);
}

.fortune-page.today-focus-western .today-result-tier-title {
  color: #5b4db8;
}

.today-result-rank {
  margin: 0.35rem 0;
  font-size: clamp(2.35rem, 6vw, 2.85rem);
  font-weight: 900;
  line-height: 1.2;
}

.today-result-score {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.2rem 0.35rem;
  margin: 0.5rem 0 0;
  font-size: 1.35rem;
  font-weight: 800;
  color: #3d4658;
  line-height: 1.15;
}

.today-result-score-label {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--t-muted);
}

.today-result-score-num {
  font-size: clamp(3.5rem, 11vw, 4.5rem);
  font-weight: 900;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.03em;
  color: var(--today-red);
  line-height: 1;
}

.today-focus-western .today-result-score-num {
  color: #5b4bb7;
}

.today-result-score-unit {
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--t-muted);
}

.today-result-summary {
  margin: 0;
  font-size: 1.4rem;
  font-weight: 700;
  line-height: 1.5;
  color: var(--today-red);
}

.today-focus-western .today-result-summary {
  color: #5b4bb7;
}

.today-result-date {
  margin: 0;
  font-size: 1.35rem;
  font-weight: 700;
  color: #3d4658;
}

.today-gauge-wrap {
  position: relative;
  display: grid;
  place-items: center;
  width: clamp(156px, 36vw, 176px);
  height: clamp(156px, 36vw, 176px);
  flex-shrink: 0;
  filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.1));
}

.today-gauge {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
}

.today-gauge-bg {
  fill: none;
  stroke: #eef1f6;
  stroke-width: 9;
}

.today-gauge-fill {
  fill: none;
  stroke-width: 9;
  stroke-linecap: round;
  transform: rotate(-90deg);
  transform-origin: 50% 50%;
  transition: stroke-dashoffset 1.1s cubic-bezier(0.4, 0, 0.2, 1);
}

.today-gauge-num {
  position: relative;
  z-index: 1;
  margin: 0;
  padding: 0;
  max-width: 92%;
  text-align: center;
  font-size: clamp(3.5rem, 11vw, 4rem);
  font-weight: 900;
  line-height: 1;
  color: var(--t-text);
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.03em;
  pointer-events: none;
}

.today-result-note {
  font-size: 1.3rem;
  color: var(--t-muted);
  background: #f4f6f9;
  padding: 0.55rem 0.7rem;
  border-radius: 8px;
  margin-bottom: 0.75rem;
}

.today-result-bullets {
  margin: 0 0 1rem;
  padding-left: 1.2rem;
  font-size: 1.35rem;
}

.today-breakdown summary {
  font-weight: 800;
  color: var(--t-muted);
  cursor: pointer;
  padding: 0.4rem 0;
}

.today-factor-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 0.5rem;
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
}

.today-factor-label {
  flex: 1;
  min-width: 0;
}

.today-factor-score {
  flex-shrink: 0;
  font-size: 1.35rem;
  color: var(--t-text);
}

.today-factor-score strong {
  font-weight: 900;
}

.today-factor-bar {
  height: 8px;
  background: #eef1f6;
  border-radius: 4px;
  overflow: hidden;
  margin-bottom: 0.55rem;
}

.today-factor-bar span {
  display: block;
  height: 100%;
  width: 0;
  background: #9b1b30;
  border-radius: 4px;
  transition: width 0.9s ease-out;
}

.today-focus-western .today-factor-bar span {
  background: #5b4bb7;
}

.today-result-daily {
  margin: 0 0 0.85rem;
  padding: 0.65rem 0.75rem;
  font-size: 1.35rem;
  color: #4a5568;
  line-height: 1.5;
  background: #f7f8fb;
  border-radius: 10px;
}

.today-lottery-daily .today-text-line {
  margin: 0;
  font-size: inherit;
  font-weight: inherit;
  color: inherit;
  line-height: inherit;
}

.today-result-methods {
  margin: 0.65rem 0 0;
  font-size: 1.3rem;
  color: #3d4658;
  line-height: 1.5;
}

.today-result-methods-label {
  display: inline-block;
  margin-right: 0.35rem;
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--t-muted);
}

.today-breakdown-intro {
  margin: 0 0 0.65rem;
  font-size: 1.2rem;
  color: var(--t-muted);
  line-height: 1.45;
}

.today-result-hint,
.today-lottery-hint {
  margin: 0.85rem 0 0;
  padding: 0.9rem 1rem;
  background: #eef4ff;
  border-radius: 12px;
  border-left: 4px solid #1a5fb4;
  line-break: strict;
  word-break: normal;
  overflow-wrap: anywhere;
  max-width: 42rem;
}

.today-lottery-hint .today-text-line {
  margin: 0 0 0.55em;
  font-size: 1.35rem;
  font-weight: 700;
  color: #1a3d6b;
  line-height: 1.65;
}

.today-lottery-hint .today-text-line:last-child {
  margin-bottom: 0;
}

.today-lottery-hint .today-disclaimer {
  margin-top: 0.65em;
  padding-top: 0.55em;
  border-top: 1px dashed rgba(26, 95, 180, 0.22);
  font-size: 1.15rem;
  font-weight: 600;
  color: #3d5a7a;
  line-height: 1.6;
}

.today-lottery-hint--combined {
  margin: 0;
  padding: 0;
  background: transparent;
  border: none;
  border-radius: 0;
  max-width: none;
}

.today-hint-perspective {
  margin-bottom: 0.75rem;
  padding: 0.85rem 0.95rem;
  border-radius: 12px;
  border: 1px solid #e0e6ef;
  background: #fff;
}

.today-hint-perspective--eastern {
  border-color: rgba(155, 27, 48, 0.22);
  border-left: 4px solid var(--today-red);
  background: #fffdfb;
}

.today-hint-perspective--western {
  border-color: rgba(91, 75, 183, 0.22);
  border-left: 4px solid #5b4bb7;
  background: #faf9ff;
}

.today-hint-perspective:last-of-type {
  margin-bottom: 0.65rem;
}

.today-hint-perspective-title {
  margin: 0 0 0.45rem;
  font-size: 1.15rem;
  font-weight: 900;
  letter-spacing: 0.04em;
}

.today-hint-perspective--eastern .today-hint-perspective-title {
  color: #9b1b30;
}

.today-hint-perspective--western .today-hint-perspective-title {
  color: #5b4bb7;
}

.today-hint-perspective .today-text-line:first-child {
  font-weight: 800;
  color: #1a1d26;
}

.today-hint-perspective--eastern .today-text-line:first-child {
  color: #7a1528;
}

.today-hint-perspective--western .today-text-line:first-child {
  color: #4a3d8f;
}

.today-lottery-hint--combined .today-hint-perspective .today-text-line {
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1.7;
}

.today-hint-perspective .today-text-line {
  line-height: 1.7;
}

.today-detail-accordion--hint-shared {
  margin-top: 0.75rem;
}

.today-cta-lead {
  line-break: strict;
  word-break: normal;
  max-width: 42rem;
}

.today-cta-lead .today-text-line {
  margin: 0 0 0.45em;
  font-size: 1.2rem;
  font-weight: inherit;
  color: var(--t-muted);
  line-height: 1.6;
}

.today-cta-lead .today-text-line:last-child {
  margin-bottom: 0;
}

.today-disclaimer-block {
  line-break: strict;
  word-break: normal;
  max-width: 42rem;
}

.today-disclaimer-block .today-disclaimer {
  margin: 0;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--t-muted);
  line-height: 1.55;
  text-align: center;
}

.today-funnel-reasons .today-text-line {
  margin: 0 0 0.35em;
  font-size: inherit;
  font-weight: inherit;
  color: inherit;
  line-height: inherit;
}

.today-funnel-reasons .today-text-line:last-child {
  margin-bottom: 0;
}

/* ── 判定ライトボックス ── */
.today-modal {
  position: fixed;
  inset: 0;
  z-index: 10200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.today-modal[hidden] {
  display: none !important;
}

.today-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(8, 10, 18, 0.72);
  backdrop-filter: blur(6px);
}

.today-modal-dialog {
  position: relative;
  width: min(500px, 100%);
  max-height: min(92vh, 720px);
  overflow-y: auto;
  background: #fff;
  color: var(--t-text, #1a1d26);
  font-size: 1.4rem;
  border-radius: 16px;
  padding: 1.65rem 1.4rem 1.25rem;
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.38);
  animation: today-modal-in 0.28s ease;
}

.today-modal.is-judging .today-modal-dialog {
  min-height: 280px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

@keyframes today-modal-in {
  from {
    opacity: 0;
    transform: translateY(12px) scale(0.97);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.today-modal-close {
  position: absolute;
  top: 0.65rem;
  right: 0.65rem;
  width: 2.25rem;
  height: 2.25rem;
  border: none;
  border-radius: 50%;
  background: #eef1f6;
  color: #3d4658;
  font-size: 1.35rem;
  line-height: 1;
  cursor: pointer;
}

.today-modal-title {
  margin: 0 2.5rem 0.35rem 0;
  font-size: 1.6rem;
  font-weight: 900;
  line-height: 1.35;
}

.today-modal-lead {
  margin: 0 2.5rem 0.85rem 0;
  font-size: 1.25rem;
  color: var(--t-muted);
  line-height: 1.45;
}

.today-modal.is-judging .today-modal-title {
  text-align: center;
  margin-right: 0;
}

.today-modal-loading {
  text-align: center;
  padding: 2rem 1rem 2.5rem;
  color: var(--t-text, #1a1d26);
}

.today-modal-spinner {
  width: 56px;
  height: 56px;
  margin: 0 auto 1.25rem;
  border: 5px solid #e8ecf2;
  border-top-color: #9b1b30;
  border-radius: 50%;
  animation: today-spin 0.85s linear infinite;
}

.fortune-page.today-focus-western .today-modal-spinner {
  border-top-color: #6b4ce6;
}

@keyframes today-spin {
  to {
    transform: rotate(360deg);
  }
}

.today-modal-loading-title {
  margin: 0 0 0.5rem;
  font-size: 1.65rem;
  font-weight: 900;
  letter-spacing: 0.12em;
}

.today-modal-loading-sub {
  margin: 0;
  font-size: 1.35rem;
  color: #5e6678;
  line-height: 1.55;
}

/* 鑑定結果（モーダル内は読みやすく大きめ） */
.today-modal-body .today-result-date {
  font-size: 1.4rem;
}

.today-modal-body .today-result-daily {
  font-size: 1.35rem;
}

.today-modal-body .today-result-rank-block {
  padding-bottom: 1rem;
  margin-bottom: 1rem;
}

.today-modal-body .today-result-main {
  align-items: center;
  gap: 1.15rem;
}

.today-modal-body .today-result-rank {
  font-size: clamp(2.5rem, 7vw, 3rem);
}

.today-modal-body .today-result-tier-title {
  font-size: 1.45rem;
}

.today-modal-body .today-result-score-num {
  font-size: clamp(3.75rem, 12vw, 4.75rem);
}

.today-modal-body .today-result-score-unit {
  font-size: 1.85rem;
}

.today-modal-body .today-result-summary {
  font-size: 1.4rem;
  color: #9b1b30;
}

.fortune-page.today-focus-western .today-modal-body .today-result-summary {
  color: #5b4bb7;
}

.today-modal-body .today-result-methods {
  font-size: 1.35rem;
}

.today-modal-body .today-lottery-hint .today-text-line {
  font-size: 1.4rem;
}

.today-modal-body .today-lottery-hint .today-disclaimer {
  font-size: 1.2rem;
}

.today-modal-body .today-gauge-wrap {
  width: clamp(172px, 40vw, 192px);
  height: clamp(172px, 40vw, 192px);
}

.today-modal-body .today-gauge-num {
  font-size: clamp(4rem, 12vw, 5rem);
}

.today-detail-tradition-body .today-gauge-wrap {
  width: clamp(148px, 34vw, 168px);
  height: clamp(148px, 34vw, 168px);
}

.today-detail-tradition-body .today-gauge-num {
  font-size: clamp(3.25rem, 10vw, 3.85rem);
}

.today-detail-tradition--eastern .today-gauge-num {
  color: var(--today-red);
}

.today-detail-tradition--western .today-gauge-num {
  color: #5b4bb7;
}

.today-detail-tradition-body .today-result-score-num {
  font-size: clamp(3.25rem, 9.5vw, 4rem);
}

.today-detail-tradition-body .today-result-rank {
  font-size: clamp(2.1rem, 5.5vw, 2.55rem);
}

.today-modal-body .today-empty {
  font-size: 1.4rem;
  padding: 1.5rem 0;
}

.today-modal-body .today-detail-traditions {
  margin-top: 0.35rem;
}

.today-modal-body .today-detail-tradition summary {
  font-size: 1.25rem;
  font-weight: 800;
}

.today-modal-cta {
  margin-top: 1.15rem;
  padding-top: 1.1rem;
  border-top: 1px solid #e8ecf2;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.today-modal-share {
  margin-top: 1.25rem;
  padding-top: 1.15rem;
  border-top: 1px solid #e8ecf2;
}

.today-modal-share-title {
  margin: 0 0 0.35rem;
  font-size: 1.4rem;
  font-weight: 900;
  color: #1a1d26;
  text-align: center;
}

.today-share-format-note {
  margin: 0 0 0.65rem;
  font-size: 1.15rem;
  line-height: 1.5;
  color: #64748b;
  text-align: center;
}

.today-modal-share-lead {
  margin: 0 0 0.85rem;
  font-size: 1.2rem;
  color: var(--t-muted);
  text-align: center;
  line-height: 1.45;
}

.today-share-chip {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 3.25rem;
  padding: 0.75rem 1rem;
  border: none;
  border-radius: 12px;
  font-size: 1.35rem;
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
  box-sizing: border-box;
  transition: transform 0.15s ease, filter 0.15s ease;
}

.today-share-chip:hover {
  filter: brightness(1.06);
  transform: translateY(-1px);
}

.today-share-primary {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 0.65rem;
}

@media (max-width: 360px) {
  .today-share-primary .today-share-chip {
    font-size: 1.2rem;
    padding: 0.65rem 0.5rem;
  }
}

.today-share-secondary {
  margin-top: 0.65rem;
}

.today-share-hint {
  margin: 0.4rem 0 0.75rem;
  font-size: 1.1rem;
  color: var(--t-muted);
  text-align: center;
  line-height: 1.45;
}

.today-share-hint:last-child {
  margin-bottom: 0;
}

.today-share-hint--x-image {
  margin-top: 0.35rem;
  margin-bottom: 0.25rem;
  font-size: 1.05rem;
  color: #64748b;
}

.today-share-hint--minor {
  margin-top: 0.15rem;
  margin-bottom: 0.5rem;
  font-size: 1rem;
  color: #94a3b8;
}

.today-share-hint strong {
  font-weight: 800;
  color: #475569;
}

.today-share-hint-detail {
  margin-top: 0.4rem;
  font-size: 1rem;
  text-align: left;
}

.today-share-hint-detail summary {
  cursor: pointer;
  color: #64748b;
  font-weight: 600;
}

.today-share-hint-detail p {
  margin: 0.35rem 0 0;
  font-size: 0.95rem;
  color: #94a3b8;
}

.today-share-chip--copy {
  background: #fff;
  color: #1a5fb4;
  border: 2px solid #b8d4f0;
  box-shadow: none;
}

.today-share-chip--image {
  background: #fff;
  color: #5b21b6;
  border: 2px solid #d8b4fe;
  box-shadow: none;
}

.today-share-chip--copy.is-copied {
  background: #f0fdf4;
  color: #15803d;
  border-color: #86efac;
  box-shadow: none;
  transform: none;
  cursor: default;
}

.today-share-chip--copy.is-copied:hover {
  filter: none;
  transform: none;
}

.today-share-chip--x {
  background: #0f1419;
  color: #fff;
}

.today-privacy-box.seo-summary-box {
  margin: 0 0 var(--space-section, 1.75rem);
  padding: 1.25rem 1.5rem;
}

.today-privacy-title {
  margin: 0 0 0.65rem;
  font-size: clamp(1.35rem, 2.5vw, 1.6rem);
  font-weight: 700;
  color: var(--color-brand, #1a5fb4);
}

.today-privacy-lead {
  margin: 0 0 1rem;
  font-size: var(--text-base, 1.4rem);
  line-height: 1.7;
  color: var(--color-text, #1a1a2e);
}

.today-privacy-lead strong {
  color: var(--color-text, #1a1a2e);
  font-weight: 700;
}

.today-privacy-clear-btn {
  display: block;
  width: 100%;
  max-width: 22rem;
  margin: 0 auto;
  padding: 0.75rem 1.25rem;
  border: 2px solid var(--color-accent, #c62828);
  border-radius: var(--radius-md, 12px);
  background: var(--color-surface, #fff);
  color: var(--color-accent, #c62828);
  font-size: var(--text-base, 1.4rem);
  font-weight: 700;
  cursor: pointer;
  font-family: var(--font-sans, inherit);
  text-align: center;
  transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.today-privacy-clear-btn:hover {
  background: var(--color-accent-soft, #ffebee);
  border-color: var(--color-accent, #c62828);
  color: var(--color-accent, #c62828);
}

.today-privacy-clear-btn:focus-visible {
  outline: 3px solid #227be7;
  outline-offset: 2px;
}

.today-share-chip--line {
  background: #06c755;
  color: #fff;
}

.today-modal-note {
  margin: 1rem 0 0;
  padding-bottom: 0;
  font-size: 1.25rem;
  color: #6b7280;
  text-align: center;
  line-height: 1.45;
}

body.today-modal-open {
  overflow: hidden;
}

.today-btn {
  display: block;
  text-align: center;
  padding: 1rem 1.1rem;
  border-radius: 12px;
  font-size: 1.4rem;
  font-weight: 800;
  text-decoration: none;
  transition: transform 0.15s ease, filter 0.15s ease, box-shadow 0.15s ease;
}

.today-btn:hover {
  filter: brightness(1.05);
  transform: translateY(-1px);
}

/* 本編へ — サイトのアクセント赤（コピーの青枠と役割分担） */
.today-btn--lottery {
  background: #c62828;
  color: #fff;
  border: none;
  box-shadow: 0 4px 14px rgba(198, 40, 40, 0.22);
}

.today-btn--lottery:hover {
  background: #b71c1c;
  filter: none;
}

.today-btn--ghost {
  width: 100%;
  cursor: pointer;
  font-family: inherit;
  background: #fff;
  color: #3d4658;
  border: 2px solid #d5dce8;
  box-shadow: 0 2px 8px rgba(26, 40, 80, 0.06);
}

/* ── 結果→AI番号生成の導線（倫理的CTA） ── */
.today-funnel {
  margin-top: 0.25rem;
  padding: 0.9rem 1rem;
  border-radius: 16px;
  background: linear-gradient(145deg, #ffffff 0%, #f7fbff 55%, #fff7f7 100%);
  border: 1px solid rgba(26, 95, 180, 0.18);
  box-shadow: 0 6px 22px rgba(26, 50, 90, 0.08);
  color: var(--t-text);
}

.today-funnel-title {
  margin: 0;
  font-size: 1.35rem;
  font-weight: 900;
  color: var(--color-brand, #1a5fb4);
  line-height: 1.35;
}

.today-funnel-lead {
  margin: 0.45rem 0 0.6rem;
}

.today-funnel-reasons {
  margin: 0 0 0.75rem;
  padding-left: 1.1rem;
  font-size: 1.2rem;
  color: #334155;
  line-height: 1.55;
}

.today-funnel-reasons li + li {
  margin-top: 0.25rem;
}

.today-funnel-btn {
  display: block;
  width: 100%;
  min-height: 44px;
  padding: 0.95rem 1rem;
  border-radius: 12px;
  background: linear-gradient(180deg, var(--color-brand-light, #227be7) 0%, var(--color-brand, #1a5fb4) 100%);
  color: #fff;
  font-size: 1.35rem;
  font-weight: 900;
  text-decoration: none;
  text-align: center;
  box-shadow: 0 6px 18px rgba(26, 95, 180, 0.22);
}

.today-funnel-btn:hover {
  filter: brightness(1.05);
  transform: translateY(-1px);
}

.today-funnel-note {
  margin: 0.6rem 0 0;
}

.today-toast {
  position: fixed;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  background: #1e2430;
  color: #fff;
  padding: 0.85rem 1.35rem;
  border-radius: 10px;
  z-index: 10100;
  font-weight: 700;
}

/* ── TOP: 今日の運勢（index #todayHomeWidget） ── */
.today-home-section {
  --today-home-red: var(--color-accent, #c62828);
  --today-home-red-soft: var(--color-accent-soft, #ffebee);
  position: relative;
  margin-bottom: var(--space-section, 1.75rem);
  padding: 1.2rem 1.35rem 1.35rem;
  background: linear-gradient(145deg, #fff 0%, #fff8f6 42%, #f5f9ff 100%);
  border: 1px solid rgba(198, 40, 40, 0.14);
  border-radius: var(--radius-lg, 16px);
  box-shadow: 0 8px 28px rgba(198, 40, 40, 0.08), 0 4px 16px rgba(26, 91, 180, 0.06);
  overflow: hidden;
}

.today-home-section::before {
  content: '';
  position: absolute;
  top: -40%;
  right: -8%;
  width: min(220px, 55vw);
  height: min(220px, 55vw);
  background: radial-gradient(circle, rgba(232, 197, 71, 0.22) 0%, transparent 68%);
  pointer-events: none;
}

.today-home-section::after {
  content: '';
  position: absolute;
  bottom: -35%;
  left: -6%;
  width: min(180px, 45vw);
  height: min(180px, 45vw);
  background: radial-gradient(circle, rgba(168, 156, 255, 0.18) 0%, transparent 70%);
  pointer-events: none;
}

.today-home-section .today-home-head,
.today-home-section .today-home-features,
.today-home-section .today-home-widget,
.today-home-section .today-home-cta {
  position: relative;
  z-index: 1;
}

.today-home-section .today-home-head {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 0.85rem;
}

.today-home-section .today-home-icon {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 12px;
  color: #b8860b;
  background: linear-gradient(145deg, #fff9e8 0%, #ffe8b8 100%);
  border: 1px solid rgba(200, 160, 40, 0.35);
  box-shadow: 0 3px 10px rgba(184, 134, 11, 0.15);
}

.today-home-section .today-home-icon svg {
  display: block;
}

.today-home-section .today-home-titles {
  flex: 1;
  min-width: 0;
}

.today-home-section .today-home-title {
  margin: 0;
  font-size: clamp(1.55rem, 3.2vw, 1.9rem);
  font-weight: 900;
  line-height: 1.3;
  letter-spacing: 0.02em;
  color: var(--today-home-red);
}

.today-home-section .today-home-tagline {
  margin: 0.25rem 0 0;
  font-size: clamp(1.15rem, 2.4vw, 1.3rem);
  font-weight: 700;
  line-height: 1.45;
  color: var(--color-text-muted, #5c6370);
}

.today-home-section .today-home-badge {
  flex-shrink: 0;
  align-self: flex-start;
  padding: 0.35rem 0.75rem;
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  color: #fff;
  background: linear-gradient(135deg, #d32f2f 0%, var(--today-home-red) 100%);
  border-radius: 999px;
  box-shadow: 0 3px 10px rgba(198, 40, 40, 0.28);
}

.today-home-section .today-home-features {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin: 0 0 1rem;
  padding: 0;
  list-style: none;
}

.today-home-section .today-home-features li {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.4rem 0.75rem;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--color-text, #1a1a2e);
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid var(--color-border, #d8e2ef);
  border-radius: 999px;
  box-shadow: 0 1px 4px rgba(26, 50, 90, 0.05);
}

.today-home-section .today-home-feature-icon {
  font-size: 1rem;
  line-height: 1;
}

.today-home-section .today-home-widget {
  margin: 0;
}

.today-home-section .today-home-cta {
  margin: 0.85rem 0 0;
  text-align: center;
  font-size: 1.25rem;
  font-weight: 700;
}

.today-home-section .today-home-cta a {
  color: var(--today-home-red, #c62828);
  text-decoration: underline;
  text-underline-offset: 0.15em;
}

.today-home-section .today-home-cta a:hover {
  opacity: 0.88;
}

.today-home-section .today-widget {
  display: grid;
  grid-template-columns: 1fr auto;
  grid-template-rows: auto auto;
  align-items: center;
  gap: 0.35rem 0.85rem;
  padding: 1.1rem 1.25rem;
  background: #fff;
  border-radius: 14px;
  text-decoration: none;
  color: inherit;
  font-size: 1.35rem;
  font-weight: 700;
  border: 2px solid rgba(198, 40, 40, 0.22);
  box-shadow: 0 6px 22px rgba(198, 40, 40, 0.1);
  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease,
    transform 0.2s ease;
}

.today-home-section .today-widget:hover {
  border-color: rgba(198, 40, 40, 0.45);
  box-shadow: 0 10px 28px rgba(198, 40, 40, 0.14);
  transform: translateY(-2px);
}

.today-home-section .today-widget:focus-visible {
  outline: 3px solid rgba(198, 40, 40, 0.45);
  outline-offset: 3px;
}

.today-home-section .today-widget-label {
  grid-column: 1;
  grid-row: 1;
  font-weight: 900;
  font-size: 1.4rem;
  color: var(--color-text, #1a1a2e);
}

.today-home-section .today-widget-meta {
  grid-column: 1;
  grid-row: 2;
  font-size: 1.15rem;
  font-weight: 600;
  line-height: 1.45;
  color: var(--color-text-muted, #5c6370);
}

.today-home-section .today-widget-score,
.today-home-section .today-widget-cta {
  grid-column: 2;
  grid-row: 1 / span 2;
  text-align: right;
  align-self: center;
}

.today-home-section .today-widget-score {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--color-text, #1a1a2e);
}

.today-home-section .today-widget-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.55rem 1rem;
  font-size: 1.15rem;
  font-weight: 800;
  color: #fff;
  white-space: nowrap;
  background: linear-gradient(135deg, #d32f2f 0%, var(--today-home-red) 100%);
  border-radius: 999px;
  box-shadow: 0 4px 12px rgba(198, 40, 40, 0.25);
}

.today-home-section .today-widget strong {
  font-size: 1.65rem;
  font-weight: 900;
  color: var(--today-home-red);
}

/* 未登録・空状態 */
.today-home-section .today-widget--empty {
  grid-template-columns: 1fr;
  grid-template-rows: auto auto auto;
  gap: 0.5rem;
  padding: 1.25rem 1.35rem;
  background: linear-gradient(160deg, #fff 0%, #fff5f5 55%, #faf8ff 100%);
  border-style: dashed;
  border-color: rgba(198, 40, 40, 0.35);
}

.today-home-section .today-widget--empty .today-widget-label {
  font-size: clamp(1.35rem, 3vw, 1.55rem);
  color: var(--today-home-red);
}

.today-home-section .today-widget--empty .today-widget-meta {
  max-width: 36rem;
}

.today-home-section .today-widget--empty .today-widget-cta {
  grid-column: 1;
  grid-row: 3;
  justify-self: start;
  margin-top: 0.25rem;
}

.today-home-section .today-widget--empty:hover .today-widget-cta {
  filter: brightness(1.06);
}

/* 単一柱プレビュー */
.today-home-section .today-widget:not(.today-widget--dual):not(.today-widget--empty) .today-widget-cta {
  grid-row: 1 / span 2;
}

/* 二柱プレビュー */
.today-home-section .today-widget--dual {
  grid-template-columns: 1fr auto;
  grid-template-rows: auto auto auto;
  gap: 0.4rem 0.75rem;
  padding: 1.15rem 1.25rem 1.2rem;
}

.today-home-section .today-widget--dual .today-widget-label {
  color: var(--today-home-red);
}

.today-home-section .today-widget--dual .today-widget-cta {
  grid-column: 2;
  grid-row: 1;
  align-self: start;
}

.today-home-section .today-widget--dual .today-widget-dual {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
  margin-top: 0.15rem;
}

.today-home-section .today-widget-pillar {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.2rem;
  padding: 0.85rem 0.65rem;
  border-radius: 12px;
  text-align: center;
  font-size: 1.1rem;
  font-weight: 700;
  line-height: 1.35;
  border: 2px solid #e8ecf2;
  background: #f7f8fb;
  box-shadow: 0 2px 8px rgba(26, 50, 90, 0.06);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.today-home-section .today-widget:hover .today-widget-pillar {
  box-shadow: 0 4px 14px rgba(26, 50, 90, 0.1);
}

.today-home-section .today-widget-pillar--eastern {
  border-color: rgba(200, 160, 40, 0.5);
  background: linear-gradient(165deg, #fffdf5 0%, #f7f0e0 100%);
}

.today-home-section .today-widget-pillar--western {
  border-color: rgba(120, 100, 200, 0.45);
  background: linear-gradient(165deg, #faf9ff 0%, #eeebf8 100%);
}

.today-home-section .today-widget-pillar-label {
  font-size: 1rem;
  font-weight: 800;
  color: #5e6678;
  letter-spacing: 0.02em;
}

.today-home-section .today-widget-pillar--eastern .today-widget-pillar-label {
  color: #9b1b30;
}

.today-home-section .today-widget-pillar--western .today-widget-pillar-label {
  color: #5b4bb7;
}

.today-home-section .today-widget-pillar-rank {
  font-size: 1.15rem;
  font-weight: 800;
}

.today-home-section .today-widget-pillar-points {
  font-size: 1.75rem;
  font-weight: 900;
  color: #1a1d26;
  line-height: 1.2;
}

.today-home-section .today-widget-pillar--great .today-widget-pillar-points { color: #9b1b30; }
.today-home-section .today-widget-pillar--good .today-widget-pillar-points { color: #1a5fb4; }
.today-home-section .today-widget-pillar--neutral .today-widget-pillar-points { color: #3d4556; }
.today-home-section .today-widget-pillar--caution .today-widget-pillar-points { color: #6b4e12; }

/* 非トップページ用（将来・他ページ） */
.today-home-widget { margin: 1.15rem 0 1.35rem; }

.today-widget {
  display: grid;
  grid-template-columns: 1fr auto;
  grid-template-rows: auto auto;
  align-items: center;
  gap: 0.25rem 0.75rem;
  padding: 1.15rem 1.35rem;
  background: #fff;
  border-radius: 14px;
  text-decoration: none;
  color: inherit;
  font-size: 1.35rem;
  font-weight: 700;
  border: 2px solid var(--today-accent, #227be7);
}

.today-widget-label {
  grid-column: 1;
  grid-row: 1;
  font-weight: 900;
  font-size: 1.45rem;
}

.today-widget-meta {
  grid-column: 1;
  grid-row: 2;
  font-size: 1.2rem;
  font-weight: 600;
  color: #5e6678;
}

.today-widget-score,
.today-widget-cta {
  grid-column: 2;
  grid-row: 1 / span 2;
  text-align: right;
  font-size: 1.35rem;
  align-self: center;
}

.today-widget-cta {
  font-weight: 800;
  color: #1a5fb4;
  white-space: nowrap;
}

.today-widget strong {
  font-size: 1.75rem;
  font-weight: 900;
}

.today-widget--dual {
  grid-template-rows: auto auto auto;
}

.today-widget--dual .today-widget-cta {
  grid-column: 2;
  grid-row: 1;
  align-self: start;
}

.today-widget--dual .today-widget-dual {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.65rem;
  margin-top: 0.35rem;
}

.today-widget-pillar {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.15rem;
  padding: 0.7rem 0.55rem;
  border-radius: 10px;
  text-align: center;
  font-size: 1.15rem;
  font-weight: 700;
  line-height: 1.35;
  border: 1px solid #e8ecf2;
  background: #f7f8fb;
}

.today-widget-pillar--eastern {
  border-color: rgba(200, 160, 40, 0.45);
  background: linear-gradient(165deg, #fffdf5 0%, #f7f0e0 100%);
}

.today-widget-pillar--western {
  border-color: rgba(120, 100, 200, 0.4);
  background: linear-gradient(165deg, #faf9ff 0%, #eeebf8 100%);
}

.today-widget-pillar-label {
  font-size: 1.05rem;
  font-weight: 800;
  color: #5e6678;
}

.today-widget-pillar-rank {
  font-size: 1.2rem;
  font-weight: 800;
}

.today-widget-pillar-points {
  font-size: 1.65rem;
  font-weight: 900;
  color: #1a1d26;
}

.today-widget-pillar--great .today-widget-pillar-points { color: #9b1b30; }
.today-widget-pillar--good .today-widget-pillar-points { color: #1a5fb4; }
.today-widget-pillar--neutral .today-widget-pillar-points { color: #3d4556; }
.today-widget-pillar--caution .today-widget-pillar-points { color: #6b4e12; }

/* ── PC（768px〜）：.l_content 全幅・フォーム2列・入力のみ幅制限 ── */
@media (min-width: 768px) {
  .fortune-page {
    --today-col: 100%;
  }

  .today-masthead-title {
    font-size: 2.6rem;
  }

  .fortune-page-lead,
  .today-flow-steps {
    max-width: none;
  }

  #todayInputs .today-form {
    display: grid;
    grid-template-columns: 1fr 1fr;
    column-gap: var(--today-s-3);
    row-gap: var(--today-s-2);
    align-items: start;
  }

  #todayInputs .today-field--eastern-name {
    grid-column: 1 / -1;
    border-top: none;
    padding-top: 0;
  }

  #todayInputs .today-field:nth-child(1),
  #todayInputs .today-field:nth-child(2) {
    margin-bottom: 0;
  }

  #todayInputs .today-field input[type='time'],
  #todayInputs .today-field input[type='text'] {
    max-width: 20rem;
  }

  #todayInputs .today-field--birth-date .today-input-birth-date {
    max-width: 14rem;
  }

  #todayInputs .today-field--eastern-name input[type='text'] {
    max-width: 24rem;
  }

  .today-summary-pillars,
  .today-inline-card,
  .today-detail-panel {
    width: 100%;
    max-width: none;
  }

  .today-privacy-clear-btn {
    width: auto;
    min-width: 16rem;
    display: block;
  }

  .today-card {
    padding: var(--today-s-3);
  }
}

@media (min-width: 1024px) {
  .fortune-page .today-content > .today-masthead,
  .fortune-page .today-content > .today-trust-line,
  .fortune-page .today-content > #todayInputs,
  .fortune-page .today-content > #todayActions,
  .fortune-page .today-content > #todaySummary,
  .fortune-page .today-content > #todayDetail,
  .fortune-page .today-content > .today-guide,
  .fortune-page .today-content > .today-privacy-box {
    max-width: 100%;
  }
}

@media (max-width: 767px) {
  .today-guide-columns {
    grid-template-columns: 1fr;
    gap: 0.55rem;
  }

  .today-btn-judge {
    max-width: none;
  }

  .today-home-section {
    padding: 1rem 1rem 1.15rem;
  }

  .today-home-section .today-home-head {
    flex-wrap: wrap;
    gap: 0.55rem 0.65rem;
  }

  .today-home-section .today-home-badge {
    margin-left: auto;
  }

  .today-home-section .today-home-features li {
    font-size: 1.05rem;
    padding: 0.35rem 0.65rem;
  }

  .today-home-section .today-widget {
    padding: 1rem 1.05rem;
  }

  .today-home-section .today-widget--dual .today-widget-dual,
  .today-widget--dual .today-widget-dual {
    gap: 0.5rem;
  }

  .today-home-section .today-widget-pillar,
  .today-widget-pillar {
    padding: 0.65rem 0.4rem;
    font-size: 1.05rem;
  }

  .today-home-section .today-widget-pillar-points,
  .today-widget-pillar-points {
    font-size: 1.45rem;
  }

  .today-home-section .today-widget--empty .today-widget-cta {
    width: 100%;
    justify-content: center;
  }

  .today-home-section .today-widget-score,
  .today-home-section .today-widget-cta {
    grid-column: 1;
    grid-row: auto;
    text-align: left;
  }

  .today-home-section .today-widget:not(.today-widget--dual):not(.today-widget--empty) {
    grid-template-columns: 1fr;
    grid-template-rows: auto auto auto auto;
  }

  .today-home-section .today-widget:not(.today-widget--dual):not(.today-widget--empty) .today-widget-score {
    grid-row: 3;
  }

  .today-home-section .today-widget:not(.today-widget--dual):not(.today-widget--empty) .today-widget-cta {
    grid-row: 4;
    justify-self: start;
    margin-top: 0.15rem;
  }

  .today-home-section .today-widget--dual .today-widget-cta {
    grid-column: 1;
    grid-row: 3;
    justify-self: start;
    margin-top: 0.15rem;
  }

  .today-home-section .today-widget--dual .today-widget-dual {
    grid-row: 4;
  }

  .today-info-tip {
    left: auto;
    right: 0;
    transform: none;
    max-width: 260px;
  }
}

@media (max-width: 420px) {
  .today-result-main {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 0.85rem;
  }

  .today-result-rank-body {
    width: 100%;
  }

  .today-result-score {
    justify-content: center;
  }

  .today-gauge-wrap {
    margin-inline: auto;
  }
}

@media (prefers-reduced-motion: reduce) {
  .today-gauge-fill,
  .today-factor-bar span,
  .today-modal-dialog,
  .today-home-section .today-widget,
  .today-home-section .today-widget-pillar {
    transition: none;
    animation: none;
  }

  .today-home-section .today-widget:hover {
    transform: none;
  }

  .today-modal-spinner {
    animation: none;
    border-top-color: #9b1b30;
  }
}

/* ── UX改善（fortune ページ） ── */
.today-fortune-date {
  margin: 0 0 0.65rem;
  font-size: 1.05rem;
  font-weight: 700;
  color: #5a2030;
  text-align: center;
}

.today-field-hint-dynamic {
  margin: 0.35rem 0 0;
  font-size: 0.92rem;
  color: #666;
  line-height: 1.5;
}

.today-compare-note {
  margin: 0 0 0.55rem;
  font-size: 0.92rem;
  color: #666;
  line-height: 1.55;
}

.today-modal-brief-hints {
  margin: 0.85rem 0;
}

.today-modal-brief-hint {
  margin: 0 0 0.55rem;
  font-size: 1.05rem;
  line-height: 1.6;
}

.today-modal-brief-next {
  margin: 0.75rem 0;
  font-size: 0.95rem;
  color: #666;
  line-height: 1.55;
}

.today-modal-brief-btn {
  width: 100%;
  margin-top: 0.35rem;
}

.today-summary-guide {
  margin: 0 0 0.65rem;
  padding: 0.55rem 0.75rem;
  font-size: 0.92rem;
  line-height: 1.55;
  color: #555;
  background: #f8f4f0;
  border-radius: 8px;
}

.today-share-line-note {
  margin: 0.55rem 0 0;
  font-size: 0.9rem;
  color: #666;
  text-align: center;
}

.today-share-line-link {
  color: #06c755;
  font-weight: 700;
  text-decoration: underline;
}

.today-share-primary .today-share-chip--image {
  background: #f3f0ff;
  color: #4a3d8f;
}

details.today-guide,
details.today-privacy-box {
  margin-top: 1rem;
}

details.today-guide > summary,
details.today-privacy-box > summary {
  cursor: pointer;
  list-style: none;
}

details.today-guide > summary::-webkit-details-marker,
details.today-privacy-box > summary::-webkit-details-marker {
  display: none;
}

details.today-guide > summary::before,
details.today-privacy-box > summary::before {
  content: '▶ ';
  font-size: 0.85em;
  color: #888;
}

details.today-guide[open] > summary::before,
details.today-privacy-box[open] > summary::before {
  content: '▼ ';
}

.today-privacy-clear-link {
  display: inline-block;
  margin-top: 0.65rem;
  padding: 0;
  border: none;
  background: none;
  color: #888;
  font-size: 0.9rem;
  text-decoration: underline;
  cursor: pointer;
}

.today-privacy-clear-link:hover {
  color: #555;
}

.today-funnel-lottery-advice {
  margin: 0.65rem 0 0.85rem;
  padding-left: 1.2rem;
  color: #555;
  font-size: 0.98rem;
  line-height: 1.55;
}

.today-fortune-sub {
  padding: 1rem 1.1rem;
  margin-bottom: 1rem;
}

.today-fortune-sub-title {
  margin: 0 0 0.45rem;
  font-size: 1.15rem;
  font-weight: 800;
}

.today-fortune-sub-lead {
  margin: 0 0 0.65rem;
  font-size: 0.95rem;
  line-height: 1.55;
  color: #555;
}

.today-fortune-sub-links {
  margin: 0;
  padding: 0;
  list-style: none;
}

.today-fortune-sub-links li + li {
  margin-top: 0.4rem;
}

.today-fortune-sub-links a {
  font-weight: 700;
  color: var(--today-red, #c62828);
  text-decoration: none;
}

.today-fortune-sub-links a:hover {
  text-decoration: underline;
}

/* 占いページではサイドバーの「無料AI占い」誘導は非表示（ページ自体が占いのため） */
.fortune-page .today-home-section,
.fortune-page #todayHomeSpSlot,
.fortune-page #todayHomeSpSlot .today-home-section {
  display: none !important;
}
