.tg-row { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--space-6) var(--grid-gap); align-items: center; margin-top: var(--space-5); }
.tg-disc {
  --pig-gita: var(--p-gita-dk); --pig-uddhava: var(--p-uddhava-dk); --pig-ramayana: var(--p-ramayana-dk); --pig-vedic: var(--p-vedic-dk);
  --pig-chanakya: var(--p-chanakya-dk); --pig-vidura: var(--p-vidura-dk); --pig-krishna: var(--p-krishna-dk); --pig-slate: var(--p-slate-dk);
  width: 100%; max-width: 46rem; justify-self: center;
}
@media (min-width: 72rem) {
  .tg-row { grid-template-columns: repeat(12, minmax(0, 1fr)); }
  .tg-disc { grid-column: span 8; }
  .tg-words { grid-column: span 4; }
}
.tg .wheel-threads path.tg-tie-tagged { stroke: var(--s-sanskrit); }
.tg .wheel-threads path.tg-tie-map { stroke: var(--s-text); }
.tg .wheel-threads path.tg-tie-derived { stroke: var(--s-text); stroke-dasharray: 2 4; stroke-linecap: round; }
.tg .wheel-hub.tg-hub { stroke: var(--pig); stroke-width: 2.5; }
.tg .wheel-topic .tg-hit { fill: transparent; stroke: none; }
.tg .wheel-topic .tg-mark { stroke: var(--s-bg); stroke-width: 1.5; transition: opacity var(--duration-fast) var(--ease-out); }
.tg .tg-chapter .tg-mark { fill: none; stroke: var(--s-text); stroke-width: 4; stroke-linecap: round; }
.tg .tg-topic .tg-mark { fill: var(--s-sanskrit); }
.tg .tg-situation .tg-mark { fill: var(--s-text); }
.tg .tg-text .tg-mark { fill: var(--s-bg); stroke: var(--pig); stroke-width: 2.5; }
.tg .tg-text .tg-core { fill: var(--pig); stroke: none; }
.tg .wheel-topic:focus-visible .tg-hit { stroke: var(--s-focus); stroke-width: 2; }
.tg.is-picking .wheel-topic:not(.is-near):not(.is-pointed):not(:focus-visible) .tg-mark,
.tg.is-picking .wheel-topic:not(.is-near):not(.is-pointed):not(:focus-visible) .tg-core { opacity: 0.45; }
.tg-disc .wheel-readout { width: 20%; }
.tg-disc .wheel-readout-sa { max-width: 100%; overflow: hidden; }
.tg-disc .wheel-readout-count { text-wrap: balance; }
.tg-words { display: grid; gap: var(--space-5); align-content: start; }
.tg-group-title { font: 600 var(--text-sm)/1.3 var(--font-ui); letter-spacing: 0.02em; color: var(--s-muted); }
.tg-list { list-style: none; margin: var(--space-2) 0 0; padding: 0; display: grid; gap: var(--space-2); }
.tg-list li { font: 400 var(--text-md)/1.4 var(--font-ui); }
.tg-list a { font-weight: 600; }
.tg-fact { color: var(--s-faint); font-size: var(--text-sm); }
.tg-key { max-width: 34rem; font: 400 var(--text-sm)/1.5 var(--font-ui); color: var(--s-muted); text-wrap: pretty; }
.tg-fold { margin-top: var(--space-2); }
.tg-fold summary { font: 600 var(--text-sm)/1.4 var(--font-ui); color: var(--s-muted); }
.tg-fold .tg-list { margin-top: var(--space-2); }
.tg-go { display: inline-flex; align-items: center; gap: var(--space-2); font-weight: 600; }
.tg-go .ui-ic { width: 1.1em; height: 1.1em; }
@media (min-width: 44rem) and (max-width: 71.99rem) {
  .tg-words { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: var(--grid-gap); }
  .tg-key, .tg-more { grid-column: 1 / -1; }
}
@media (max-width: 43.99rem), (pointer: coarse) { .tg-how { display: none; } }
@media (pointer: coarse) {
  .tg-list a, .tg-go, .tg-fold summary { display: inline-flex; align-items: center; min-height: var(--target); }
}
@media (prefers-reduced-motion: reduce) {
  .tg .wheel-topic .tg-mark { transition: none; }
}
