/* sci-chisou（地層）。地層の 色は S-075、えらんだ 所＝オレンジ、正かい＝みどり。字は 16px 以上 */
.ch { font-size: 1.05rem; }
.ch-ask { font-weight: 700; font-size: 1.1rem; margin: 0 0 8px; background: #fff8e6; border: 2px solid var(--orange, #f59e0b); border-radius: 12px; padding: 8px 12px; min-height: 1.6em; }
.ch-sm { font-size: .95rem; font-weight: 400; color: var(--sub, #4b5563); }
.ch-stage { position: relative; }
.ch-svg { width: 100%; max-width: 520px; height: auto; display: block; margin: 0 auto; user-select: none; -webkit-user-select: none; touch-action: none; border-radius: 18px; box-shadow: 0 2px 8px rgba(0, 0, 0, .08); background: #fff; }
.ch-svg text { font-family: inherit; }
.ch-lab { font-size: 16px; font-weight: 800; fill: #374151; paint-order: stroke; stroke: #fff; stroke-width: 4px; stroke-linejoin: round; }
.ch-sm2 { font-size: 14px; font-weight: 700; fill: #4b5563; paint-order: stroke; stroke: #fff; stroke-width: 3px; stroke-linejoin: round; }
.ch-ml { font-size: 15px; font-weight: 800; fill: #1f2937; paint-order: stroke; stroke: #fff; stroke-width: 4px; stroke-linejoin: round; }
.ch-rank { font-size: 17px; font-weight: 800; fill: #0f8a72; paint-order: stroke; stroke: #fff; stroke-width: 4px; }
.ch-tag { font-size: 13px; font-weight: 800; fill: #1f2937; }
.ch-x { font-size: 13px; font-weight: 900; fill: #dc2626; }
.ch-okm { font-size: 13px; font-weight: 900; fill: #16a34a; }
.ch-mk.on circle:nth-child(2) { stroke: #f59e0b; stroke-width: 4; }
.ch-ring { animation: ch-pulse 1.2s ease-in-out infinite; }
@keyframes ch-pulse { 50% { opacity: .45; } }
.ch-ctl, .ch-gb { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 8px; margin: 10px 0; }
.ch-gb:empty { display: none; }
.ch-b, .ch-g { min-height: 50px; min-width: 50px; padding: 4px 14px; border: 2px solid var(--ink, #1f2937); background: #fff; border-radius: 12px; font-weight: 700; font-size: 1.05rem; color: var(--ink, #1f2937); cursor: pointer; }
.ch-b:disabled { opacity: .45; cursor: default; }
.ch-g { font-size: 1.1rem; }
.ch-g.on, .ch-tg.on { background: #e7f6f1; border-color: var(--teal-d, #0f8a72); color: var(--teal-d, #0f8a72); box-shadow: inset 0 0 0 2px var(--teal-d, #0f8a72); }
.ch-go { background: var(--teal-d, #0f8a72); border-color: var(--teal-d, #0f8a72); color: #fff; box-shadow: 0 3px 0 #0a6553; }
.ch-sl { display: flex; flex-direction: column; width: 100%; max-width: 440px; gap: 2px; font-weight: 700; }
.ch-sl input { width: 100%; height: 40px; accent-color: var(--teal-d, #0f8a72); }
.ch-sll { font-size: 1rem; }
.ch-ends { display: flex; justify-content: space-between; font-size: .9rem; color: var(--sub, #4b5563); font-weight: 400; }
.ch-read { background: #f3f6ff; border-radius: 12px; padding: 8px 14px; min-height: 56px; }
.ch-read p { margin: 4px 0; }
.ch-res { font-weight: 700; color: var(--teal-d, #0f8a72); }
.ch-res.ng { color: #c2410c; }
.ch-o { color: #c2410c; }
.ch-g2 { color: #2f7d32; }
.ch-ctl[hidden] { display: none; }
.ch-big { font-size: 18px; font-weight: 900; fill: #1f2937; }
.ch-sm3 { font-size: 11px; font-weight: 700; fill: #6b7280; }
.ch-lens { cursor: grab; outline: none; }
.ch-lens:focus-visible circle:nth-child(2) { stroke-width: 5; }
.ch-lay { cursor: pointer; outline: none; }
.ch-lay:hover rect:first-child, .ch-lay:focus-visible rect:first-child { stroke: #f28c28; stroke-width: 2.5; }
.ch-hl { transition: opacity .15s; }
.ch-g.ng { border-color: #dc2626; color: #dc2626; }
.ch-leg { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 14px; margin: 8px 0 0; font-size: .95rem; font-weight: 700; }
.ch-leg i { display: inline-block; width: 18px; height: 14px; border: 1.5px solid #333; border-radius: 3px; vertical-align: -2px; margin-right: 4px; }
.ch-leg i.fos { background: #f4ead2; border-radius: 9px 9px 3px 3px; }
.ch-sm3 { paint-order: stroke; stroke: #fff; stroke-width: 3px; stroke-linejoin: round; }
