/* /forward の購入導線（2026-10-15 [CC] ROUND_2 R2-7。site-assets/forward-cta.js と対） */

/* 10/31 の締切の帯（index.html の .deadline-band と同じ見た目） */
.deadline-band { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 6px 16px; padding: 12px 20px; background: var(--card); border-bottom: 1px solid var(--border); border-left: 4px solid var(--accent); text-align: center; }
.deadline-band p { margin: 0; font-size: 14px; line-height: 1.6; color: var(--text); }
.deadline-band a { display: inline-flex; align-items: center; min-height: 44px; font-size: 14px; font-weight: 700; color: var(--accent); text-decoration: underline; white-space: nowrap; }
@media (max-width: 720px) { .deadline-band { padding: 10px 16px; } .deadline-band p { font-size: 13px; } }

/* 2つのボタン（カードの直下・要約表の中で共通） */
.sl-fwd-use-buttons { display: flex; flex-wrap: wrap; gap: 8px; }
.sl-fwd-use-buttons a { display: inline-flex; align-items: center; justify-content: center; min-height: 40px; padding: 8px 14px; border-radius: 8px; font-size: 13px; font-weight: 700; text-decoration: none; white-space: nowrap; }
.sl-fwd-use-ms { background: var(--accent); color: #fff !important; border: 1px solid var(--accent); }
.sl-fwd-use-ms * { color: #fff !important; }   /* ページ側の a span の色指定に負けないように */
.sl-fwd-use-buy { background: var(--card); color: var(--text) !important; border: 1px solid var(--border); }
.sl-fwd-use { margin-top: 14px; padding-top: 12px; border-top: 1px dashed var(--border); }
.sl-fwd-use-label { margin: 0 0 8px; font-size: 13px; font-weight: 700; color: var(--text); }

/* 先頭の要約表（PC は表、スマホはカード状） */
.sl-fwd-summary-table { width: 100%; border-collapse: collapse; font-size: 13px; background: var(--card); border: 1px solid var(--border); border-radius: 12px; overflow: hidden; }
.sl-fwd-summary-table th { text-align: left; padding: 10px; font-size: 12px; color: var(--text-muted); background: var(--raised); border-bottom: 1px solid var(--border); white-space: nowrap; }
.sl-fwd-summary-table td { padding: 10px; border-bottom: 1px solid var(--border); vertical-align: middle; color: var(--text); }
.sl-fwd-summary-table tr:last-child td { border-bottom: 0; }
.sl-fwd-s-name a { font-weight: 700; color: var(--text); text-decoration: underline; }
.sl-fwd-s-num { font-family: var(--font-mono); font-variant-numeric: tabular-nums; white-space: nowrap; }
.sl-fwd-s-num.is-neg { color: #b91c1c; }
:root[data-theme="dark"] .sl-fwd-s-num.is-neg { color: #fca5a5; }
.sl-fwd-s-act .sl-fwd-use-buttons a { min-height: 36px; padding: 6px 10px; font-size: 12px; }
@media (max-width: 760px) {
  .sl-fwd-summary-table, .sl-fwd-summary-table tbody { display: block; border: 0; background: transparent; }
  .sl-fwd-summary-table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .sl-fwd-summary-table tr { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 6px 10px; padding: 12px; margin-bottom: 10px; background: var(--card); border: 1px solid var(--border); border-radius: 12px; }
  .sl-fwd-summary-table td { display: block; padding: 0; border: 0; }
  .sl-fwd-summary-table td[data-label]::before { content: attr(data-label); display: block; font-size: 11px; font-weight: 700; color: var(--text-muted); }
  .sl-fwd-s-name { grid-column: 1 / -1; }
  .sl-fwd-s-name::before { display: none !important; }
  .sl-fwd-s-act { grid-column: 1 / -1; }
  .sl-fwd-s-act::before { display: none !important; }
}
