/* sci-sound（音：たいこ・わゴム・糸電話）。S-039 の 色。字は 16px 以上 */
.sd { font-size: 1.05rem; }
.sd [hidden] { display: none !important; }
.sd-guess { background: #fff8e6; border: 2px solid var(--orange, #f59e0b); border-radius: 12px; padding: 8px 12px 10px; margin-bottom: 8px; }
.sd-ask { font-weight: 700; margin: 0 0 6px; font-size: 1.1rem; }
.sd-gb, .sd-pick { display: flex; flex-wrap: wrap; gap: 8px; }
.sd-pick { margin-bottom: 8px; }
.sd-g, .sd-b, .sd-it { 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; }
.sd-it { min-height: 46px; padding: 2px 12px; font-size: 1rem; }
.sd-it[aria-pressed="true"] { background: #fff4dc; border-color: #ea580c; }
.sd-g:disabled { opacity: .45; cursor: default; }
.sd-g[aria-pressed="true"] { opacity: 1; background: #eaf1ff; border-color: #2563eb; }
.sd-svg { width: 100%; height: auto; display: block; margin: 4px 0; user-select: none; -webkit-user-select: none; touch-action: none; border-radius: 14px; box-shadow: 0 2px 8px rgba(0, 0, 0, .08); }
.sd-acts { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin: 8px 0 10px; }
.sd-go { min-height: 54px; padding: 6px 22px; border: 0; border-radius: 14px; background: var(--teal-d, #0f8a72); color: #fff; font-weight: 700; font-size: 1.1rem; cursor: pointer; box-shadow: 0 3px 0 #0a6553; }
.sd-go:active { transform: translateY(2px); box-shadow: 0 1px 0 #0a6553; }
.sd-read { background: #f3f6ff; border-radius: 12px; padding: 8px 14px; min-height: 56px; }
.sd-read p { margin: 4px 0; }
.sd-res { font-weight: 700; color: var(--teal-d, #0f8a72); }
.sd-res.ng { color: #c2410c; }
.sd-note { font-size: 1rem; color: var(--sub, #4b5563); }
.sd-sum { font-weight: 700; color: #0f5f50; background: #e7f6f1; border-radius: 10px; padding: 6px 10px; }
.sd-rec { margin-top: 10px; }
.sd-tbl { width: 100%; border-collapse: separate; border-spacing: 0; border: 2px solid #e5e7eb; border-radius: 12px; overflow: hidden; }
.sd-tbl th, .sd-tbl td { padding: 6px 8px; text-align: center; border-bottom: 1px solid #eef0f3; }
.sd-tbl th { background: #f6f7f9; font-size: .95rem; }
.sd-tbl tr:last-child td { border-bottom: 0; }
.sd-bar { display: inline-block; height: 14px; border-radius: 7px; vertical-align: middle; }
/* SVG */
.sd-lab { font-size: 20px; font-weight: 700; fill: #374151; paint-order: stroke; stroke: #fff; stroke-width: 4px; stroke-linejoin: round; }
.sd-sm { font-size: 16px; font-weight: 700; fill: #4b5563; paint-order: stroke; stroke: #fff; stroke-width: 3px; stroke-linejoin: round; }
.sd-q { font-size: 34px; font-weight: 800; fill: #2563eb; paint-order: stroke; stroke: #fff; stroke-width: 5px; pointer-events: none; }
.sd-ol { stroke: #333; stroke-width: 2; stroke-linejoin: round; }
.sd-ol1 { stroke: #333; stroke-width: 1.4; stroke-linejoin: round; }
.sd-sh { fill: #333; opacity: .12; }
.sd-mf { transition: y .15s, height .15s; }
.sd-grab { cursor: grab; }
@media (prefers-reduced-motion: reduce) { .sd-mf { transition: none; } }
.sd-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 10px; }
.sd-tab { min-height: 46px; padding: 2px 16px; border: 2px solid var(--line, #e5e7eb); background: #fff; border-radius: 999px; font-weight: 700; font-size: 1rem; color: var(--ink, #1f2937); cursor: pointer; }
.sd-tab[aria-pressed="true"] { background: var(--ink, #1f2937); color: #fff; border-color: var(--ink, #1f2937); }
.sd-bar { background: linear-gradient(90deg, #fecaca, #dc2626); }
.sd-wv path { stroke: #4f7f99; stroke-width: 2.6; stroke-linecap: round; }
.sd-snd { margin: 10px 0 0; display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; }
.sd-mute { min-height: 44px; padding: 2px 14px; border: 2px solid #94a3b8; background: #fff; border-radius: 999px; font-weight: 700; font-size: .95rem; color: #374151; cursor: pointer; }
.sd-mute[aria-pressed="true"] { border-color: #0f8a72; color: #0f8a72; }
.sd-cap { font-size: .95rem; color: #6b7280; }
