/* Starting hand odds pages (/calculator/starting-hands/ and translations). Builds on calc.css tokens. */
.sh-opp { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.sh-opp-label { font-size: .9rem; font-weight: 800; margin-right: 4px; }
.sh-opp button { min-width: 44px; height: 44px; border-radius: 12px; border: 1.5px solid var(--edge); background: #fff; font: 800 1rem/1 "Noto Sans JP", sans-serif; color: var(--ink); cursor: pointer; }
.sh-opp button[aria-pressed="true"] { border: 2px solid var(--orange); background: var(--peach-2); color: var(--orange-ink); }
.sh-opp button:focus-visible, .sh-cell:focus-visible { outline: 2px solid var(--orange); outline-offset: 2px; }

.sh-grid-wrap { overflow-x: auto; }
.sh-grid { display: grid; grid-template-columns: repeat(13, minmax(0, 1fr)); gap: 2px; }
.sh-cell { aspect-ratio: 1; border: 0; border-radius: 4px; padding: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1px; cursor: pointer; font-family: "Noto Sans JP", sans-serif; color: var(--ink); line-height: 1; min-width: 0; }
.sh-cell b { font-size: clamp(.48rem, 2.25vw, .82rem); font-weight: 900; letter-spacing: -.04em; }
.sh-cell span { font-size: clamp(.45rem, 1.9vw, .66rem); font-variant-numeric: tabular-nums; opacity: .85; }
.sh-cell.dark { color: #fff; }
.sh-cell[aria-pressed="true"] { outline: 3px solid var(--ink); outline-offset: -1px; position: relative; z-index: 1; }
@media (max-width: 520px) { .sh-cell span { display: none; } }
.sh-legend { display: flex; flex-wrap: wrap; gap: 6px 16px; font-size: .82rem; color: var(--muted); align-items: center; }
.sh-scale { display: inline-flex; align-items: center; gap: 6px; }
.sh-scale i { display: inline-block; width: 90px; height: 10px; border-radius: 99px; background: linear-gradient(90deg, #f4efe8, #f8c9a6, #ec6a2c, #8f2e0b); }

.sh-detail { display: grid; gap: 12px; }
.sh-detail-head { display: flex; flex-wrap: wrap; gap: 6px 12px; align-items: baseline; }
.sh-detail-head h3 { margin: 0; font-size: 2rem; font-weight: 900; letter-spacing: -.02em; }
.sh-detail-head small { font-size: .9rem; color: var(--muted); font-weight: 700; }
.sh-text { margin: 0; font-size: .95rem; line-height: 1.75; background: var(--peach-2); border-radius: 10px; padding: 10px 12px; }
.sh-bars { display: grid; gap: 6px; }
.sh-bar { display: grid; grid-template-columns: 5.6em minmax(0, 1fr) 3.6em; gap: 8px; align-items: center; font-size: .86rem; }
.sh-bar .track { height: 12px; border-radius: 99px; background: var(--edge-soft); overflow: hidden; }
.sh-bar .fill { height: 100%; background: var(--orange); border-radius: 99px; }
.sh-bar b { text-align: right; font-variant-numeric: tabular-nums; }
.sh-bar.cur { font-weight: 900; color: var(--orange-ink); }
.sh-made { width: 100%; border-collapse: collapse; font-size: .88rem; font-variant-numeric: tabular-nums; }
.sh-made th, .sh-made td { padding: .45rem .3rem; border-bottom: 1px solid var(--edge-soft); }
.sh-made th { text-align: left; font-weight: 700; }
.sh-made td { text-align: right; }
.sh-h4 { margin: 4px 0 0; font-size: 1rem; font-weight: 900; }

.sh-article { display: grid; gap: 14px; }
.sh-article h2 { margin: 0; font-size: 1.45rem; font-weight: 900; }
.sh-article h3 { margin: 6px 0 0; font-size: 1.1rem; font-weight: 900; color: var(--orange-ink); }
.sh-article p { margin: 0; font-size: .98rem; line-height: 1.8; }
.sh-tier { border: 1px solid var(--edge); border-radius: 12px; padding: 12px 14px; display: grid; gap: 6px; background: #fff; }
.sh-tier h3 { margin: 0; color: var(--ink); display: flex; gap: 8px; align-items: baseline; flex-wrap: wrap; }
.sh-tier h3 small { font-size: .78rem; color: var(--muted); font-weight: 700; }
.sh-tier .hands { font-size: .9rem; font-weight: 700; letter-spacing: .01em; line-height: 1.9; word-spacing: .2em; }
.sh-facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 8px; }
.sh-fact { background: var(--peach-2); border-radius: 12px; padding: 12px; display: grid; gap: 2px; }
.sh-fact b { font-size: 1.6rem; font-weight: 900; color: var(--orange); font-variant-numeric: tabular-nums; line-height: 1.1; }
.sh-fact span { font-size: .84rem; }
.sh-faq { display: grid; gap: 0; border: 1px solid var(--edge); border-radius: 12px; overflow: hidden; background: #fff; }
.sh-faq details + details { border-top: 1px solid var(--edge); }
.sh-faq summary { list-style: none; cursor: pointer; padding: 14px 16px; font-weight: 800; display: flex; justify-content: space-between; gap: 10px; min-height: 44px; }
.sh-faq summary::-webkit-details-marker { display: none; }
.sh-faq summary::after { content: "+"; font-size: 1.4rem; font-weight: 400; line-height: 1; }
.sh-faq details[open] summary::after { content: "−"; color: var(--orange); }
.sh-faq .a { padding: 0 16px 14px; font-size: .95rem; line-height: 1.8; }
.sh-rank-wrap { overflow-x: auto; border: 1px solid var(--edge-soft); border-radius: 10px; max-height: 70vh; }
.sh-rank { border-collapse: collapse; width: 100%; font-size: .86rem; font-variant-numeric: tabular-nums; background: #fff; }
.sh-rank th, .sh-rank td { padding: .45rem .5rem; border-bottom: 1px solid var(--edge-soft); text-align: right; white-space: nowrap; }
.sh-rank thead th { position: sticky; top: 0; background: #f7f1ea; font-size: .78rem; z-index: 1; }
.sh-rank th[scope="row"], .sh-rank td.l { text-align: left; }
.sh-rank tbody th { font-weight: 900; }
.sh-rank a { color: var(--ink); text-decoration: none; }
