/* shagai (P0624) */
.sh-tool [hidden] { display: none; }
.sh-tool .controls label { font-weight: bold; margin-right: 4px; }
.sh-score { border-collapse: collapse; margin: 6px 0; }
.sh-score th, .sh-score td { padding: 4px 10px; border-bottom: 1px solid #E5E0D5; text-align: left; }
.sh-score tr.sh-turn th, .sh-score tr.sh-turn td { background: #FBF1E4; font-weight: bold; }
.sh-score tr.sh-turn th:before { content: "\25B6  "; color: #8A5A1F; }
.sh-row button.sh-throwbtn { min-height: 44px; padding: 0 18px; border: 2px solid #24334B; border-radius: 10px; background: #24334B; color: #FFFFFF; font: inherit; font-weight: bold; cursor: pointer; min-width: 9em; }
.sh-row button:disabled { opacity: .45; cursor: default; }
.sh-bones { display: flex; flex-wrap: wrap; gap: 8px; min-height: 74px; margin: 6px 0; }
.sh-body { fill: #F3E6C9; stroke: #8A5A1F; stroke-width: 3; }
.sh-hump { fill: #E2C48E; stroke: #8A5A1F; stroke-width: 2; }
.sh-hollow { fill: none; stroke: #8A5A1F; stroke-width: 3; stroke-linecap: round; }
.sh-s0 .sh-body { fill: #F0D9A8; }
.sh-s1 .sh-body { fill: #E9CFA0; }
.sh-s2 .sh-body { fill: #F7EEDD; }
.sh-s3 .sh-body { fill: #EFE5D3; }
.sh-letter { font-size: 12px; font-weight: bold; text-anchor: middle; fill: #24334B; }
.sh-trackwrap { overflow-x: auto; }
.sh-trackbox { width: 100%; min-width: 320px; height: auto; display: block; background: #E6EBD9; border-radius: 10px; }
.sh-tbone { fill: #F3E6C9; stroke: #8A5A1F; stroke-width: 2; }
.sh-home { fill: #BFD8E0; stroke: #24334B; stroke-width: 2; }
.sh-horse { stroke: #24334B; stroke-width: 2; }
.sh-h0 { fill: #B8433A; }
.sh-h1 { fill: #2E5E9E; }
.sh-h2 { fill: #3B7A3B; }
.sh-h3 { fill: #8A5A1F; }
.sh-hl { font-size: 13px; font-weight: bold; text-anchor: middle; fill: #FFFFFF; pointer-events: none; }
.sh-arrow { font-size: 12px; fill: #24334B; }
.sh-herds { display: flex; flex-wrap: wrap; gap: 12px; margin: 6px 0; }
.sh-herd { display: flex; align-items: center; gap: 6px; }
.sh-tables { display: flex; flex-wrap: wrap; gap: 18px; }
.sh-tables table { border-collapse: collapse; }
.sh-tables th, .sh-tables td { padding: 3px 8px; border-bottom: 1px solid #E5E0D5; text-align: left; }
.sh-log { color: #4A5568; font-size: .95em; }
