/* /homophone/ section - syllable index + word sets (sec_homophones) */
.h-glyph {
  min-width: 96px; height: 96px; padding: 0 20px; border-radius: 12px;
  border: 1px solid var(--border); background: var(--card);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--phonetic); font-size: 2rem; font-weight: 700;
  color: var(--brand); flex: none;
}
.h-tone { font-size: .95rem; font-weight: 500; color: var(--muted); margin-left: 10px; }
.wchip a.wc { color: var(--ink); }
.wchip a.wc:hover { color: var(--brand); }
.wp .zy { color: var(--muted); font-weight: 400; }
.hplay { display: inline-flex; gap: 3px; margin-left: auto; }
.hplay .s-play { padding: 1px 7px; font-size: .62rem; }
.hsub {
  font-size: .82rem; font-weight: 700; color: var(--ink);
  margin: 22px 0 10px;
}
.hsets {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(270px, 1fr));
  gap: 10px;
}
.hset {
  background: var(--card); border: 1px solid var(--border);
  border-radius: 12px; padding: 13px 15px;
}
.hset-py {
  font-family: var(--phonetic); font-weight: 700; font-size: 1.02rem;
  color: var(--brand); margin-bottom: 8px; display: block;
}
a.hset-py:hover { text-decoration: underline; }
.hset-n { font-weight: 400; color: var(--muted); font-size: .8rem; }
.hset-g { font-size: .8rem; color: var(--muted); margin-top: 9px; line-height: 1.45; }
.hset-links { font-size: .76rem; color: var(--muted); margin-top: 7px; }
.hset-links a { color: var(--brand); }
.hbase {
  display: flex; gap: 10px; align-items: baseline; flex-wrap: wrap;
  padding: 7px 0; border-bottom: 1px dashed var(--border);
}
.hbase-n {
  font-family: var(--phonetic); font-weight: 700; width: 64px;
  flex: none; color: var(--ink);
}
.hrel-row {
  display: flex; gap: 10px; align-items: baseline; flex-wrap: wrap;
  padding: 6px 0; border-bottom: 1px dashed var(--border);
}
.hrel-row:last-of-type { border-bottom: 0; }
.hrel-py {
  font-family: var(--phonetic); font-weight: 600; width: 110px;
  flex: none; color: var(--brand);
}
@media (max-width: 560px) {
  .h-glyph { min-width: 72px; height: 72px; font-size: 1.5rem; }
  .hbase-n { width: 48px; }
  .hrel-py { width: 90px; }
}
