/* sci-scope（虫めがね・けんび鏡）。正かい＝みどり・まちがい＝赤。字は 16px 以上 */
.sc { font-size: 1.05rem; }
.sc [hidden] { display: none !important; }
.sc-guess { background: #fff8e6; border: 2px solid var(--orange, #f59e0b); border-radius: 12px; padding: 8px 12px 10px; margin-bottom: 8px; }
.sc-ask { font-weight: 700; margin: 0 0 6px; font-size: 1.1rem; }
.sc-gb { display: flex; flex-wrap: wrap; gap: 8px; }
.sc-g, .sc-b { min-height: 50px; min-width: 50px; padding: 4px 16px; border: 2px solid var(--ink, #1f2937); background: #fff; border-radius: 12px; font-weight: 700; font-size: 1.05rem; color: var(--ink, #1f2937); cursor: pointer; }
.sc-g:disabled { opacity: .45; cursor: default; }
.sc-g[aria-pressed="true"] { opacity: 1; background: #eaf1ff; border-color: #2563eb; }
.sc-fig { position: relative; max-width: 600px; margin: 4px auto; }
.sc-svg, .sc-svg2 { width: 100%; height: auto; display: block; user-select: none; -webkit-user-select: none; touch-action: manipulation; border-radius: 14px; box-shadow: 0 2px 8px rgba(0, 0, 0, .08); background: #fff; }
.sc-ctl { display: flex; flex-direction: column; gap: 6px; margin: 8px 0 4px; }
.sc-ctl:empty { display: none; }
.sc-sl, .sc-seg { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.sc-sl { flex-wrap: nowrap; }
.sc-sll { font-weight: 700; color: var(--sub, #4b5563); min-width: 3.2em; }
.sc-rng { flex: 1; min-width: 0; height: 44px; accent-color: var(--teal-d, #0f8a72); }
.sc-pm { min-width: 46px; min-height: 46px; border: 2px solid var(--ink, #1f2937); border-radius: 50%; background: #fff; font-size: 1.3rem; font-weight: 800; color: var(--ink, #1f2937); cursor: pointer; }
.sc-pm:disabled, .sc-rng:disabled { opacity: .35; cursor: default; }
.sc-tab { min-height: 46px; padding: 2px 14px; border: 2px solid var(--line, #e5e7eb); background: #fff; border-radius: 999px; font-weight: 700; font-size: 1rem; color: var(--ink, #1f2937); cursor: pointer; }
.sc-tab[aria-pressed="true"] { background: var(--ink, #1f2937); color: #fff; border-color: var(--ink, #1f2937); }
.sc-acts { display: flex; justify-content: center; margin: 8px 0; }
.sc-go { min-height: 52px; padding: 6px 16px; border: 0; border-radius: 14px; background: var(--teal-d, #0f8a72); color: #fff; font-weight: 700; font-size: 1.05rem; cursor: pointer; box-shadow: 0 3px 0 #0a6553; }
.sc-go:disabled { opacity: .45; cursor: default; }
.sc-go:active { transform: translateY(2px); box-shadow: 0 1px 0 #0a6553; }
.sc-read { background: #f3f6ff; border-radius: 12px; padding: 8px 14px; min-height: 56px; }
.sc-read p { margin: 4px 0; }
.sc-res { font-weight: 700; color: var(--teal-d, #0f8a72); }
.sc-res.ng { color: #c2410c; }
.sc-note { font-size: .95rem; color: var(--sub, #4b5563); }
/* SVG の 字 */
.sc-n2 { font-size: 21px; font-weight: 800; fill: #374151; }
.sc-n3 { font-size: 19px; font-weight: 700; fill: #4b5563; }
.sc-sl { font-weight: 700; color: var(--sub, #4b5563); min-width: 3.2em; }
.sc-row { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.sc-slr { flex-wrap: nowrap; }
.sc-row .sc-b { min-height: 50px; }
.sc-arw .sc-pm { border-radius: 12px; }
.sc-hit { position: absolute; touch-action: none; cursor: grab; }
.sc-warn { background: #fee2e2; border: 3px solid #dc2626; color: #991b1b; border-radius: 12px; padding: 8px 12px; margin-bottom: 8px; font-weight: 700; animation: sc-shake .4s 2; }
.sc-pre:empty { display: none; }
.sc-pic { display: block; width: 46%; max-width: 200px; margin: 0 auto 6px; }
.sc-cards { display: flex; flex-direction: column; gap: 8px; margin-bottom: 8px; }
.sc-card { display: flex; align-items: center; gap: 10px; text-align: left; min-height: 56px; padding: 8px 12px; border: 2px solid #cbd5e1; border-radius: 12px; background: #fff; font-size: 1.02rem; line-height: 1.7; color: var(--ink, #1f2937); cursor: pointer; box-shadow: 0 2px 0 #e2e8f0; }
.sc-card.ok { border-color: var(--teal-d, #0f8a72); background: #e7f7ef; opacity: 1; cursor: default; }
.sc-card.ng { border-color: #dc2626; animation: sc-shake .3s 2; }
.sc-no { flex: 0 0 34px; height: 34px; border-radius: 50%; border: 2px dashed #94a3b8; display: flex; align-items: center; justify-content: center; font-weight: 900; font-size: 1.1rem; color: #fff; }
.sc-card.ok .sc-no { background: var(--teal-d, #0f8a72); border: 0; }
.sc-ok { font-weight: 800; color: var(--teal-d, #0f8a72); }
.sc-go { display: block; margin-top: 6px; }
.sc-n { font-size: 17px; font-weight: 700; fill: #4b3a1c; }
.sc-n2 { font-size: 20px; font-weight: 800; fill: #374151; }
.sc-n3 { font-size: 24px; font-weight: 900; fill: #b45309; }
@keyframes sc-shake { 0%, 100% { transform: none; } 25% { transform: translateX(-4px); } 75% { transform: translateX(4px); } }
@media (prefers-reduced-motion: reduce) { .sc-warn, .sc-card.ng { animation: none; } }
.sc-ct { flex: 1; min-width: 0; }
