/* 一目で分かる層（glance.js。site-next-v8）。色は next.css の :root の変数だけ。外の字・画像は読まない。375px を基準に、横にはみ出さない */

/* 状態のバッジ：記号＋短い語（色だけに頼らない。記号の形でも分かる） */
.gbs { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.gb { display: inline-flex; align-items: center; gap: 4px; font-size: 13px; font-weight: 700; line-height: 1.2; padding: 5px 9px; border-radius: 999px; border: 1px solid transparent; }
.gb i { font-style: normal; font-size: 14px; }
.gb-ng { color: var(--ng); background: var(--ng-soft); border-color: var(--ng); }
.gb-wip { color: var(--wip); background: var(--wip-soft); border-style: dashed; border-color: var(--wip); }
.gb-ok { color: var(--ok); background: var(--ok-soft); }
.gb-fact { color: var(--fact); background: var(--fact-soft); }
.gb-sh { color: var(--shadow); background: var(--shadow-soft); border-style: dashed; border-color: var(--shadow); }
.gb-hot { color: var(--accent-ink); background: var(--accent); }

/* 時刻の段のバー：ハロン棒のように点を線でつなぐ。過ぎた段は線を塗り、いまの段はテラコッタの丸、届いた判断は ✓ */
div.stages { display: block; margin: 12px 0 4px; }
ol.rail { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); }
ol.rail li { position: relative; text-align: center; font-size: 11px; color: var(--ink3); padding-top: 18px; }
ol.rail li::before { content: ''; position: absolute; top: 7px; left: -50%; right: 50%; height: 3px; background: var(--viz-edge); }
ol.rail li:first-child::before { display: none; }
ol.rail li.past::before, ol.rail li.now::before { background: var(--viz-main); }
ol.rail .dot { position: absolute; top: 2px; left: 50%; width: 13px; height: 13px; margin-left: -6.5px; border-radius: 50%; background: var(--paper); border: 2px solid var(--viz-todo); box-sizing: border-box; }
ol.rail li.past .dot { background: var(--viz-main); border-color: var(--viz-main); }
ol.rail li.now .dot { width: 17px; height: 17px; top: 0; margin-left: -8.5px; background: var(--paper); border: 5px solid var(--viz-main); }
ol.rail li.now .lb { color: var(--ink); font-weight: 800; }
ol.rail li.past .lb { color: var(--ink2); }
ol.rail .dk { display: block; font-size: 10px; font-weight: 700; color: var(--viz-ok); min-height: 14px; }
.jline2 { margin: 8px 0 2px; font-size: 14px; font-weight: 700; }

/* ⓘ で開く説明（小さな丸。開くと下に説明） */
details.info { display: inline; }
details.info > summary { display: inline-grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; border: 1px solid var(--line); background: var(--paper2); color: var(--ink2); font-size: 14px; font-weight: 700; cursor: pointer; list-style: none; vertical-align: middle; }
details.info > summary::-webkit-details-marker { display: none; }
details.info[open] > summary { background: var(--accent-soft); border-color: var(--accent); color: var(--accent); }
details.info > .ib { display: block; margin: 6px 0 2px; padding: 8px 10px; border-radius: 10px; background: var(--paper2); border: 1px solid var(--line); font-size: 12.5px; color: var(--ink2); font-weight: 400; }
details.info > .ib p { margin: 0 0 6px; }
details.info > .ib p:last-child { margin-bottom: 0; }
.ihead { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.ihead > details.info { margin-left: auto; }
.ihead > details.info[open] { flex-basis: 100%; margin-left: 0; text-align: right; }
.ihead > details.info[open] > .ib { text-align: left; }

/* ① 見立ての横棒（全長＝100%） */
.pbars { display: grid; gap: 5px; margin: 4px 0 6px; }
.pb { display: grid; grid-template-columns: 16px 24px minmax(0, 6.5em) minmax(0, 1fr) 3.4em; gap: 6px; align-items: center; font-size: 13px; }
.pb .pm { font-weight: 800; text-align: center; }
.pb .no { margin: 0; }
.pb .pn { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--ink2); font-size: 12px; }
.pt, .gt { position: relative; display: block; height: 10px; border-radius: 5px; background: var(--viz-track); border: 1px solid var(--viz-edge); overflow: hidden; }
.pt i, .gt i { display: block; height: 100%; background: var(--viz-sub); border-radius: 4px 0 0 4px; }
.pb:first-child .pt i { background: var(--viz-main); }
.pb b { text-align: right; font-size: 13px; }

/* ② 買い方ナビのゲージ */
.ng { margin: 8px 0 4px; padding: 10px 12px; border-radius: 12px; background: var(--paper2); border: 1px solid var(--line); }
.ntk { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 8px; font-size: 16px; margin-bottom: 6px; }
.nk { display: inline-grid; place-items: center; min-width: 28px; height: 24px; padding: 0 5px; border-radius: 6px; background: var(--ink); color: var(--paper); font-size: 12px; font-weight: 800; }
.nodds { font-size: 12px; color: var(--ink2); }
.gg { display: grid; grid-template-columns: 3.2em minmax(0, 1fr) 4.2em; gap: 8px; align-items: center; font-size: 12px; margin: 3px 0; }
.gg .gl { color: var(--ink2); }
.gg b { text-align: right; font-size: 13px; }
.gg .gt { height: 12px; overflow: visible; }
.gg .gt i { background: var(--viz-main); }
.gg.ret .gt i { background: var(--viz-ref); }
.gg.ret.over .gt i { background: repeating-linear-gradient(135deg, var(--viz-ref) 0 4px, var(--viz-sub) 4px 7px); }
.gg .gt s { position: absolute; top: -4px; bottom: -4px; width: 2px; margin-left: -1px; background: var(--viz-base); }
.gk { margin: 4px 0 0; font-size: 11px; color: var(--ink3); }

/* ⚠ 控えたほうがよい券 */
.avoid { display: grid; grid-template-columns: 20px minmax(0, 1fr); gap: 6px; align-items: start; margin: 8px 0; padding: 7px 9px; border-radius: 10px; background: var(--wip-soft); font-size: 12.5px; }
.avoid.ok0 { background: var(--paper2); }
.avoid .aw { font-size: 15px; line-height: 1.3; text-align: center; color: var(--wip); }
.avoid.ok0 .aw { color: var(--ok); }

ul.why2 { list-style: none; margin: 6px 0; padding: 0; font-size: 13px; }
ul.why2 li { display: grid; grid-template-columns: 18px minmax(0, 1fr); gap: 4px; }
ul.why2 li i { font-style: normal; color: var(--ng); font-weight: 700; }
ul.why2 li.mut { display: block; padding-left: 22px; }
.ihead > .avoid { flex: 1 1 0; min-width: 0; }

/* ---------- 最初の1画面（v9：A と B のミックス）。上の1行 → 段のバー → 次にすること → 見立ての横棒 → 3帯のカード＋⚠ ---------- */
.rhead.hc h1, .rhead.hc .meta { padding-right: 0; }
.rhead h1 { font-size: 17px; line-height: 1.3; margin: 0; }
.rhead .meta { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; font-size: 12.5px; }
.cdp { display: inline-flex; align-items: baseline; gap: 4px; padding: 2px 9px; border-radius: 999px; background: var(--accent-soft); color: var(--ink); font-size: 11.5px; }
.cdp b { font-size: 14px; }
.rhead > .cdp { margin-top: 4px; }
.jtop2 { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin: 8px 0 0; }
.jtop2 > details.info { margin-left: auto; }
.jtop2 > details.info[open] { flex-basis: 100%; margin-left: 0; }
.jtop2 .gb { font-size: 12.5px; padding: 4px 8px; }
div.stages { margin: 8px 0 2px; }
ol.rail li { padding-top: 16px; }
ol.rail .dk { min-height: 0; line-height: 1.2; }

/* 次にすること（生成りの上の淡いテラコッタ）。買う／見送るは同じ大きさで並べる（見送りを弱くしない） */
.card.nxt { background: var(--accent-soft); border-color: var(--accent); padding: 10px 12px; margin: 6px 0 10px; }
.nxt .nh { margin: 0; display: flex; justify-content: space-between; align-items: baseline; gap: 8px; font-size: 12px; color: var(--ink2); }
.nxt .nd { font-size: 12px; color: var(--ink); }
.nxt .nd b { font-size: 14px; }
.nxt .nt { margin: 0 0 6px; font-size: 15px; font-weight: 800; display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 8px; }
.nxt .nt small { font-size: 11px; font-weight: 400; color: var(--ink2); }
.nxt .nt .nd { margin-left: auto; font-weight: 400; }
.nopt { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 8px; }
.no2 { display: grid; align-content: start; gap: 1px; min-width: 0; padding: 6px 9px; border-radius: 10px; background: var(--paper); border: 1px solid var(--line); font-size: 12.5px; }
.no2 .nl { font-size: 11.5px; font-weight: 700; color: var(--ink2); }
.no2 .gl2 { font-weight: 700; font-family: var(--mono); }
.no2 .gf b, .no2 .nn b { font-size: 15px; }
.no2 small { font-size: 10.5px; }
.no2 .nw { color: var(--ng); font-size: 12px; }
.nxt ul.why2 { margin: 0 0 6px; font-size: 12.5px; }

/* 推奨カード：詰める */
.card.rec { padding: 10px 12px; }
.rec .ihead h2 { margin: 0; font-size: 14px; }
.rec .row3 { padding: 6px 0; gap: 6px; }
.rec .row3 .b { font-size: 10.5px; padding: 2px 5px; }
.pbars { gap: 3px; margin: 3px 0 2px; }
.pb { font-size: 12.5px; }
.rec .sk { margin-top: 2px; font-size: 12px; }

/* 3帯のカード（横に3枚。選んだ帯を枠で強調。文字でも「選択中」が分かるよう aria-pressed と太字） */
.bcards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; margin: 4px 0 2px; }
.bc { display: grid; gap: 0; align-content: start; text-align: left; min-height: 52px; padding: 5px 8px; border: 1px solid var(--line); border-radius: 12px; background: var(--paper); color: var(--ink); cursor: pointer; font-size: 13px; line-height: 1.3; min-width: 0; }
.bc .bl { font-size: 11px; color: var(--ink2); }
.bc b.mono { font-size: 13px; overflow-wrap: anywhere; }
.bc > span { display: grid; }
.bc .bg { display: block; font-size: 11px; color: var(--ink2); }
.bc .bg small { font-size: 10px; }
.bc .bg b { font-size: 12.5px; color: var(--ink); }
.bc[aria-pressed="true"] { border: 2px solid var(--accent); padding: 4px 7px; background: var(--paper); }
.bc[aria-pressed="true"] .bl { color: var(--accent); font-weight: 800; }
.rec .avoid { margin: 6px 0 4px; padding: 6px 8px; font-size: 12px; }

/* 判断の時系列（B。畳む） */
details.tlw { background: var(--paper); border: 1px solid var(--line); border-radius: 14px; padding: 8px 12px; margin: 0 0 10px; }
details.tlw > summary { font-weight: 700; color: var(--ink); }
ol.tline { list-style: none; margin: 6px 0; padding: 0; }
ol.tline li { display: grid; grid-template-columns: 3.2em 14px minmax(0, 1fr); gap: 8px; align-items: start; padding: 5px 0; font-size: 13px; }
ol.tline .td { width: 12px; height: 12px; margin-top: 4px; border-radius: 50%; border: 2px solid var(--viz-main); box-sizing: border-box; }
ol.tline li.dn .td { background: var(--viz-main); }
ol.tline .tt { color: var(--ink2); font-size: 12px; }

.rhead .meta { margin-top: 2px; }
.views > .rhead:first-child, #v-race > .rhead { margin-top: -4px; }
.pb { grid-template-columns: 16px 22px minmax(0, 6.5em) minmax(0, 1fr) 3.2em; }
.pb .no { min-width: 20px; height: 19px; font-size: 11.5px; }
.rec .row3 > div > b:first-child { font-size: 13px; }
.rec .row3 .seg, .rec .row3 .bcards { margin-top: 4px; }

ol.rail .dk { display: inline; margin-left: 1px; font-size: 11px; }
ol.rail li.got .dot { box-shadow: 0 0 0 2px var(--paper), 0 0 0 3.5px var(--viz-ok); }
.nxt .nt .nd { white-space: nowrap; }
.bc .bg { white-space: nowrap; }
.card.nxt { margin-bottom: 8px; }
.jtop2 { margin-top: 6px; }
.rec .avoid small { font-size: 10.5px; }
.rec .avoid { line-height: 1.45; }
.rec > .ihead { margin-bottom: 2px; }
.rec .row3:first-of-type { padding-top: 2px; }
.no2 .gf, .no2 .nn { line-height: 1.35; }
.pb { line-height: 1.25; }
.pb .no { height: 17px; min-width: 19px; font-size: 11px; }
.pbars { gap: 2px; }
.card.rec { padding-top: 6px; }
.rec > .ihead details.info > summary { width: 24px; height: 24px; font-size: 13px; }
.jtop2 details.info > summary { width: 24px; height: 24px; font-size: 13px; }
.rhead h1 { font-size: 16.5px; }
.jtop2 { margin-top: 4px; }
div.stages { margin-top: 6px; }

/* ---------- v10（narrative_2026-10-24.md の方針を v9 に当てる） ---------- */
/* 1. 強調は「次にすること」と選んだ帯だけ。推奨カードの枠は中立の線 */
.card.rec { border-color: var(--line); }
/* 2. 確率と戻りの目安は本文と同じ大きさ */
.bc .bv { display: block; font-size: 13px; color: var(--ink2); white-space: nowrap; }
.bc .bv b { font-size: 14px; color: var(--ink); }
.pb b { font-size: 14px; }
/* 4. 番号の列をやめ、見出しの前に番号を置いて本文を全幅に */
.rec .row3 { display: block; }
.rec .row3 > .rn { float: left; margin-right: 5px; line-height: 1.6; }
.rec .row3 > div { min-width: 0; }
/* 5. 動きは操作に答えるときだけ（帯を押す）。自動で繰り返す動きは使わない */
.bc { transition: border-color .15s ease-out, background-color .15s ease-out, transform .12s ease-out; }
.bc:active { transform: scale(.97); }
.gmap button, .gb { transition: background-color .15s ease-out; }
@media (prefers-reduced-motion: reduce) {
  .bc, .gmap button, .gb { transition: none; }
  .bc:active { transform: none; }
}

/* ---------- v11：見つからない画面・読み方と注意を ⓘ で開く・決めた記録と規律・本物の締切の強さ・当たったときの払戻 ---------- */
.nf { padding: 32px 4px; text-align: center; }
.nf p { margin: 0 0 12px; font-size: 15px; }
.nfb { min-height: 44px; padding: 8px 20px; font-size: 15px; }
details.notes > summary { cursor: pointer; font-weight: 700; font-size: 14px; color: var(--ink2); list-style: none; }
details.notes > summary::-webkit-details-marker { display: none; }
details.notes[open] > summary { margin-bottom: 8px; color: var(--ink); }

/* 買う／見送ると決めた：2つは同じ大きさ・同じ見た目・同じ動き */
.dc { width: 100%; margin-top: 4px; min-height: 40px; border: 1px solid var(--line); border-radius: 12px; background: var(--paper); color: var(--ink); font-size: 14px; font-weight: 700; cursor: pointer; transition: background-color .15s ease-out, border-color .15s ease-out, transform .12s ease-out; }
.dc[aria-pressed="true"] { border: 2px solid var(--ink2); background: var(--paper2); }
.dc[aria-pressed="true"]::before { content: '✓ '; }
.dc:disabled { opacity: .6; cursor: default; }
.dc.just { animation: dcPick .36s ease-out 1; }
@keyframes dcPick { 0% { transform: scale(1); } 40% { transform: scale(.95); } 100% { transform: scale(1); } }
.nxt .dch { display: flex; flex-wrap: nowrap; gap: 6px; align-items: baseline; margin: 5px 0 0; font-size: 11.5px; color: var(--ink2); white-space: nowrap; overflow: hidden; }
.no2 { display: flex; flex-direction: column; align-items: stretch; }
.no2 .dc { margin-top: auto; }
.no2 > .dc { margin-top: auto; }
.no2 > :nth-last-child(2) { margin-bottom: 4px; }
.dsc { margin-left: auto; }

/* 本物の締切までの残り時間（発走・時刻の段の締切だけ）：10分以内で太く、3分以内でテラコッタと大きめ */
[data-cd][data-lvl="warm"] { font-weight: 800; }
[data-cd][data-lvl="hot"] { color: var(--time, var(--accent)); font-size: 1.15em; font-weight: 800; }
[data-cd] { transition: color .3s ease-out, font-size .3s ease-out; }

/* 当たったときの払戻・およそ何回に1回・戻りの目安：同じ大きさで並べる */
.pay { display: grid; grid-template-columns: repeat(auto-fit, minmax(0, 1fr)); gap: 6px; margin: 6px 0 2px; }
.pay span { display: grid; padding: 6px 8px; border-radius: 10px; background: var(--paper2); border: 1px solid var(--line); font-size: 12px; color: var(--ink2); }
.pay b { font-size: 16px; color: var(--ink); }
.pay small { font-size: 10.5px; }

@media (prefers-reduced-motion: reduce) {
  .dc, [data-cd] { transition: none; }
  .dc.just { animation: none; }
}
.no2 { position: relative; }
.no2 .nlr { position: absolute; top: 7px; right: 8px; font-size: 10px; }

/* ---------- v12（2026-10-24 ユーザーの声「色味・デザインを少し改善。字を読みやすく」）：端末の字のまま、太さ・字詰め・数字の幅をそろえる ---------- */
body { font-weight: 500; font-feature-settings: "palt"; letter-spacing: .01em; line-height: 1.6; }
h1, h2, .nxt .nt, .rhead h1 { font-weight: 800; letter-spacing: .02em; }
.rhead h1 { font-weight: 900; }
b, strong { font-weight: 800; }
.mono, .num { font-family: var(--sans); font-variant-numeric: tabular-nums; font-feature-settings: "palt", "tnum"; letter-spacing: 0; }
.hint, .mut, .meta { color: var(--ink2); }
.hint { font-size: 12.5px; }
.card { border-color: var(--line); box-shadow: 0 1px 0 var(--line); }

/* 強調のテラコッタは「勝負どころ」の枠と残り時間だけ。ほかの図は墨の濃淡 */
.card.nxt { background: var(--paper); border: 3px solid var(--accent); border-radius: 16px; }
.cdp { background: var(--accent); color: var(--accent-ink); }
.cdp b { color: var(--accent-ink); }
ol.rail li.past::before, ol.rail li.now::before { background: var(--viz-sub); }
ol.rail li.past .dot { background: var(--viz-sub); border-color: var(--viz-sub); }
ol.rail li.now .dot { border-color: var(--ink); }
.gg .gt i { background: var(--viz-sub); }
.bc[aria-pressed="true"] { border-color: var(--ink); }
.bc[aria-pressed="true"] .bl { color: var(--ink); }
.gb-hot { background: var(--ink); color: var(--paper); }

/* 買う／見送ると決めた：同じ重さ（どちらも濃い地に白い字）。見送りは深い緑 */
.dc { font-size: 14.5px; font-weight: 800; }
.dc[data-decide="buy"] { background: var(--paper); border: 2px solid var(--buy); color: var(--buy); }
.dc[data-decide="skip"] { background: var(--paper); border: 2px solid var(--keep); color: var(--keep); }
.dc[data-decide="buy"][aria-pressed="true"] { background: var(--buy); color: var(--buy-ink); }
.dc[data-decide="skip"][aria-pressed="true"] { background: var(--keep); color: var(--keep-ink); }
.no2 > b { color: var(--keep); }

/* ◎○▲ を札の形に（白い札＋下の帯。帯の塗りが勝率。全長＝100%） */
.pbars.tags { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; margin: 4px 0 2px; }
.tg { position: relative; display: grid; justify-items: center; gap: 0; padding: 6px 4px 12px; border: 1px solid var(--line); border-radius: 10px; background: var(--paper); overflow: hidden; text-align: center; min-width: 0; }
.tg .tm { font-size: 19px; font-weight: 900; line-height: 1.15; }
.tg .tn { font-size: 12px; color: var(--ink2); max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tg .tp { font-size: 15px; font-weight: 800; }
.tg .tb { position: absolute; left: 0; right: 0; bottom: 0; height: 6px; background: var(--viz-track); }
.tg .tb i { display: block; height: 100%; background: var(--viz-sub); }
.tg:first-child .tb i { background: var(--ink); }

/* 小さな字を本文に近づける（12px 未満を減らす） */
.no2 .nl, .bc .bl, .nxt .dch, .rail li, ol.rail li { font-size: 12px; }
.no2 small, .no2 .nlr, .pay small, .rec .avoid small { font-size: 11px; }
.tg { padding: 4px 4px 10px; }
.tg .tm { font-size: 18px; line-height: 1.1; }
.tg .tn { line-height: 1.3; }
.tg .tp { line-height: 1.25; }

/* ---------- v13（2026-10-24 ユーザー指示「理性と感覚の対決」）：感覚＝暖色（テラコッタ）・理性＝寒色（セージの青緑）。明るい地のまま ---------- */
.nxt, .first { --sense: #A94F29; --sense-soft: #F7E9E0; --sense-ink: #FFFFFF; --reason: #2F5A6B; --reason-soft: #E6EEF0; --reason-ink: #FFFFFF; }
.duel { display: grid; grid-template-columns: minmax(0, 1fr); gap: 8px; }
@media (min-width: 600px) { .duel { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } }
.side { position: relative; padding: 8px 10px 10px; border-radius: 12px; min-width: 0; }
.side p { margin: 2px 0; }
.side .sh2 { display: inline-block; font-size: 12px; font-weight: 900; letter-spacing: .1em; padding: 1px 8px; border-radius: 999px; }
.sense { background: var(--sense-soft); border: 1.5px solid var(--sense); }
.sense .sh2 { background: var(--sense); color: var(--sense-ink); }
.reason { background: var(--reason-soft); border: 1.5px solid var(--reason); }
.reason .sh2 { background: var(--reason); color: var(--reason-ink); }
.spay { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 6px; }
.spay small { font-size: 12px; color: var(--ink2); }
.spay .sbig { font-size: 34px; line-height: 1.1; font-weight: 900; color: var(--sense); }
.sst { font-size: 13px; }
.sline { color: var(--ink); }
.gut { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 4px; }
.gut button { min-width: 40px; min-height: 36px; border-radius: 10px; border: 1px solid var(--sense); background: var(--paper); color: var(--ink); font-weight: 800; font-size: 14px; cursor: pointer; }
.gut button[aria-pressed="true"] { background: var(--sense); color: var(--sense-ink); }
.smv { font-size: 12.5px; }
.rrow { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 6px; font-size: 14px; }
.rrow small { font-size: 12px; color: var(--ink2); }
.rrow b { font-size: 20px; font-weight: 900; color: var(--reason); }
.ten { display: inline-flex; gap: 3px; margin-left: 4px; vertical-align: middle; }
.ten i { width: 10px; height: 10px; border-radius: 50%; border: 1.5px solid var(--reason); box-sizing: border-box; }
.ten i.on { background: var(--reason); }
.rgo { display: grid; gap: 1px; font-size: 13px; margin-top: 4px; }
.rgo .nl { font-size: 12px; color: var(--ink2); font-weight: 700; }
.rprom { font-size: 13px; border-top: 1px dashed var(--reason); padding-top: 4px; margin-top: 4px !important; }
.rprom small { display: block; font-size: 12px; color: var(--ink2); }
/* ボタン3つ（同じ大きさ・同じ動き） */
.dc3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; margin-top: 8px; }
.dc3 .dc { margin: 0; min-height: 46px; font-size: 13.5px; padding: 4px; line-height: 1.25; }
.dc[data-decide="gut"] { background: var(--paper); border: 2px solid var(--sense); color: var(--sense); }
.dc[data-decide="reason"] { background: var(--paper); border: 2px solid var(--reason); color: var(--reason); }
.dc[data-decide="gut"][aria-pressed="true"] { background: var(--sense); color: var(--sense-ink); }
.dc[data-decide="reason"][aria-pressed="true"] { background: var(--reason); color: var(--reason-ink); }
/* 1-3：締切が近い＝感覚が強くなる時間（残り時間と急な変動の印。止める確認の画面は出さない） */
.gzt { margin: 0 0 6px; font-size: 13px; font-weight: 800; color: var(--sense); }
.nxt.gz .sense { border-width: 2.5px; box-shadow: 0 0 0 3px var(--sense-soft); }
.nxt.gz .sbig { font-size: 38px; }
@media (prefers-reduced-motion: no-preference) { .nxt.gz .sense { transition: box-shadow .3s ease-out; } }
/* v13：組み合わせ券で 100円以上の戻りの目安は数字を出さず、短い文で控える */
.hid { font-size: 11.5px !important; font-weight: 600; line-height: 1.4; white-space: normal !important; color: var(--ink2) !important; }
.bc .bv .hid { display: block; }
.gg b.hid { text-align: left; }

/* ---------- v21（2026-10-25 ユーザー決定「A」）：「あなたはどちら？」の2択。① 堅め（理性）＝左／② 広め（感覚）＝右。複勝（帯A）は設定で出すときだけ小さく ---------- */
.side .stk { font-size: 15px; font-weight: 800; margin: 4px 0 2px; overflow-wrap: anywhere; }
.side .stk small { font-size: 12px; font-weight: 600; color: var(--ink2); }
.side .orig { font-size: 12px; color: var(--ink2); margin: 2px 0; }
.side .orig small { font-size: 11.5px; }
.side .orig .mono { font-size: 12.5px; color: var(--ink); }
.nxt .hint.two { margin: 6px 0 0; font-size: 12px; }
.tcs { display: grid; grid-template-columns: minmax(0, 1fr); gap: 8px; margin-top: 6px; }
@media (min-width: 600px) { .tcs { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } }
.tc { min-width: 0; padding: 6px 8px 8px; border: 1px solid var(--line); border-radius: 12px; background: var(--paper); }
.tc .tch { margin: 0 0 2px; font-size: 14px; }
.tc .tch small { font-size: 12px; color: var(--ink2); }
.tc.firm { border-color: #2F5A6B; }
.tc.wide { border-color: #A94F29; }
.tc.place { margin-top: 8px; padding: 4px 8px; background: transparent; }
.tc.place .tch, .tc.place .plc { font-size: 12px; margin: 2px 0; color: var(--ink2); }
.tc.place .plc { overflow-wrap: anywhere; }
.menu-p [data-place-set][aria-pressed="true"]::before { content: "✓ "; font-weight: 900; margin-right: 4px; }
.menu-p [data-place-set][aria-pressed="false"]::before { content: ""; display: inline-block; width: 1.2em; }
/* v22（A2）：買い方ナビの看板（券種ごとの控除率の差・極端な大穴を避ける・見送れば損は0円）。強調の色は使わない */
.kanban { margin: 6px 0 0; font-size: 13px; font-weight: 700; color: var(--ink); }
.hint.refx { margin: 2px 0 0; }
/* v23（A3）：1レースの最初の1画面は3つだけ（① あなたの印 ② 市場の見立て ③ 買い方の型と見送る）。390px で1画面に収める */
.card.first { padding: 10px 12px; margin: 6px 0 10px; }
.first .fb + .fb { border-top: 1px solid var(--line); margin-top: 8px; padding-top: 8px; }
.first .ihead { display: flex; align-items: flex-start; justify-content: space-between; gap: 6px; }
.first .fh { margin: 0; font-size: 14.5px; font-weight: 800; min-width: 0; }
.first .fh small { font-size: 11px; font-weight: 500; color: var(--ink2); }
.first .fn { display: inline-block; min-width: 1.4em; }
.first .gut { margin-top: 5px; }
.first .gut button { min-width: 44px; min-height: 36px; }
.first .faim { display: block; width: 100%; box-sizing: border-box; margin-top: 6px; min-height: 36px; padding: 6px 10px; border: 1px solid var(--line); border-radius: 10px; background: var(--paper); color: var(--ink); font: inherit; font-size: 14px; }
.first .pbars { margin: 4px 0 0; }
.first .fts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; margin-top: 5px; }
.first .ft { border: 1px solid var(--line); border-radius: 10px; padding: 6px 8px; min-width: 0; }
.first .ft.firm { border-left: 4px solid var(--reason); }
.first .ft.wide { border-left: 4px solid var(--sense); }
.first .ft p { margin: 0; }
.first .fth { font-size: 12px; font-weight: 800; color: var(--ink2); }
.first .ftk { font-size: 14px; font-weight: 800; overflow-wrap: anywhere; }
.first .ftl { font-size: 12px; color: var(--ink2); }
.first .ftl b { color: var(--ink); }
.first .fav { margin-top: 4px; font-size: 12px; }
.first .dc3 { margin-top: 6px; }
.first .fch { margin: 4px 0 0; font-size: 12px; color: var(--ink2); }
.card.own.nxt { background: var(--paper); border-color: var(--line); }
.foot .ver { margin-top: 6px; }
.foot .ver summary { cursor: pointer; list-style: none; display: inline-block; min-width: 32px; min-height: 32px; line-height: 32px; color: var(--ink2); }
.foot .ver summary::-webkit-details-marker { display: none; }
.first .fk { margin: 0; font-size: 11px; color: var(--ink2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
/* v25（A5）：研究の欄（比べ・差分・置き換え・動きの印・材料）。既定で閉じる */
details.labsec > summary small { display: block; font-weight: 500; font-size: 11.5px; color: var(--ink2); margin-top: 2px; }
details.labsec > .card, details.labsec > details.card { margin: 10px 0 0; }
.card.h22 p { margin: 4px 0 0; }
