/* Extracted from pages/kana/advanced/hentaigana/index.html; edit the source CSS file directly. */
:root {
  --ak-accent: var(--shu);
  --ak-accent-light: var(--shu-light);
  --ak-accent-ghost: var(--shu-ghost);
}
/* Gojuon sound filter */
.hg-sound-filter {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin-bottom: var(--space-3);
}
.hg-sound-btn {
  width: 44px;
  height: 44px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--ink-3);
  font-family: var(--font-display);
  font-size: 18px;
  color: var(--text-faint);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--dur-fast) var(--ease);
}
.hg-sound-btn:hover {
  border-color: var(--shu);
  color: var(--shu-light);
}
.hg-sound-btn.active {
  background: var(--shu-ghost);
  border-color: var(--shu);
  color: var(--shu-light);
  font-weight: 700;
}
.hg-count-badge {
  font-size: 9px;
  font-family: var(--font-mono);
  background: var(--shu);
  color: #fff;
  border-radius: var(--radius-full);
  padding: 1px 5px;
  vertical-align: super;
  margin-left: 1px;
}

/* Unicode range note */
.hg-unicode-note {
  background: var(--shu-ghost);
  border: 1px solid var(--shu-dim);
  border-radius: var(--radius-md);
  padding: var(--space-2) var(--space-3);
  font-size: 12px;
  font-family: var(--font-mono);
  color: var(--shu-light);
  margin-bottom: var(--space-2);
}

/* Detail layout */
.hg-source-display {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  background: var(--ink-3);
  border-radius: var(--radius-md);
  padding: var(--space-3);
  text-align: center;
}
.hg-source-kanji {
  font-family: var(--font-display);
  font-size: 48px;
  color: var(--gold-light);
  line-height: 1;
}
.hg-source-label {
  font-size: 11px;
  font-family: var(--font-mono);
  color: var(--text-ghost);
}

/* Variation gallery in detail */
.hg-variation-row {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  align-items: flex-end;
}
.hg-var-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  padding: 8px;
  background: var(--ink-3);
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  min-width: 54px;
  text-align: center;
  cursor: pointer;
  transition: all var(--dur-fast) var(--ease);
}
.hg-var-item:hover {
  border-color: var(--shu);
}
.hg-var-item.current {
  border-color: var(--shu);
  background: var(--shu-ghost);
}
.hg-var-glyph {
  font-size: 28px;
  line-height: 1;
  color: var(--shu-light);
}
.hg-var-code {
  font-size: 9px;
  font-family: var(--font-mono);
  color: var(--text-ghost);
}

/* Restaurant examples */
.hg-restaurant-banner {
  background: linear-gradient(135deg, var(--shu-dim), var(--ink-3));
  border: 1px solid var(--shu-dim);
  border-radius: var(--radius-lg);
  padding: var(--space-4);
  text-align: center;
}
.hg-restaurant-text {
  font-family: var(--font-display);
  font-size: 36px;
  color: var(--shu-light);
  letter-spacing: 0.1em;
  line-height: 1.4;
}
