/* hyakunin-isshu 固有の微調整のみ（hk-）。共通スタイルは /_shared/shirugear.css。 */
.hk-tabs { display: flex; gap: 6px; margin-bottom: 12px; }
.hk-tab { flex: 1; padding: 10px; border: 1px solid var(--sg-border); border-radius: 10px; background: var(--sg-surface); color: var(--sg-fg); font-weight: 600; cursor: pointer; }
.hk-tab.is-active { background: var(--sg-primary); border-color: var(--sg-primary); color: #fff; }
.hk-status { display: flex; justify-content: space-between; font-weight: 600; margin-bottom: 8px; font-variant-numeric: tabular-nums; }
.hk-reader { min-height: 5.2em; padding: 12px 14px; border: 1px solid var(--sg-border); border-radius: 12px; background: var(--sg-surface); }
.hk-kana { margin: 0; font-size: 1.25rem; letter-spacing: 0.08em; line-height: 1.6; min-height: 1.6em; word-break: break-all; }
.hk-kanji { margin: 4px 0 0; color: var(--sg-muted); font-size: 0.95rem; min-height: 1.4em; }
.hk-cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-top: 12px; }
.hk-card {
  writing-mode: vertical-rl;
  text-orientation: upright;
  height: 11.2em;
  padding: 8px 4px;
  border: 2px solid #c9a96e;
  border-radius: 6px;
  background: #fffaf0;
  color: #222;
  font-size: 0.86rem;
  line-height: 1.25;
  letter-spacing: 0.02em;
  font-family: "Hiragino Mincho ProN", "Yu Mincho", serif;
  cursor: pointer;
  overflow: hidden;
  white-space: pre-line;
}
.hk-card:hover:not(:disabled) { border-color: var(--sg-primary); }
.hk-card.is-right { border-color: #2f9e44; background: #ebfbee; box-shadow: 0 0 0 2px #2f9e44; }
.hk-card.is-wrong { border-color: #e03131; background: #fff5f5; opacity: 0.8; }
.hk-card:disabled { cursor: default; }
.hk-answer { margin-top: 12px; padding: 12px 14px; border: 1px solid var(--sg-border); border-radius: 12px; background: var(--sg-surface); }
.hk-verdict { margin: 0 0 6px; font-weight: 700; }
.hk-verdict.is-ok { color: #2f9e44; }
.hk-verdict.is-ng { color: #e03131; }
.hk-poem { margin: 0 0 4px; line-height: 1.7; }
.hk-meta { margin: 0 0 10px; color: var(--sg-muted); font-size: 0.88rem; }
.hk-end-title { margin: 0; color: var(--sg-muted); }
.hk-end-score { margin: 4px 0; font-size: 1.8rem; font-weight: 800; font-variant-numeric: tabular-nums; }
.hk-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.hk-chip { padding: 5px 12px; border: 1px solid var(--sg-border); border-radius: 999px; background: var(--sg-surface); color: var(--sg-fg); font-size: 0.85rem; cursor: pointer; }
.hk-chip.is-active { background: var(--sg-primary); border-color: var(--sg-primary); color: #fff; }
.hk-list { list-style: none; margin: 10px 0 0; padding: 0; }
.hk-item { padding: 10px 0; border-top: 1px solid var(--sg-border); }
.hk-item__head { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.hk-item__n { font-weight: 700; color: var(--sg-muted); min-width: 2em; font-variant-numeric: tabular-nums; }
.hk-item__km { padding: 0 8px; border-radius: 6px; background: color-mix(in srgb, var(--sg-primary) 14%, transparent); color: var(--sg-primary); font-weight: 700; }
.hk-item__a { font-size: 0.85rem; color: var(--sg-muted); }
.hk-item__poem { margin: 4px 0 0; line-height: 1.7; }
@media (max-width: 360px) { .hk-card { font-size: 0.78rem; } }
