/* The same small pictures carry meaning in the lesson, matching game and reference. */
.vocabulary-picture { display: block; width: 112px; height: auto; max-width: 100%; flex-shrink: 0; margin-inline: auto; overflow: visible; }
.study-word.has-picture { display: grid; grid-template-columns: 64px minmax(0,1fr) 44px; gap: 10px; }
.study-word-picture { display: block; min-width: 0; }
.study-word-picture .vocabulary-picture { width: 64px; }
.study-word-copy { min-width: 0; }
.study-word.has-picture strong { font-size: clamp(18px,4.8vw,26px); }
.family-learning { margin: 18px 0 24px; padding: 20px 14px 16px; border: 1px solid #e5d9c5; border-radius: 25px; background: #fffcf5; color: var(--ink); }
.family-learning header { padding-inline: 3px; }
.family-learning-kicker { display: block; font-size: .69rem; font-weight: 900; letter-spacing: .07em; color: #8b6835; }
.family-learning h2 { margin: 6px 0 8px; font: 800 1.45rem/1.2 var(--font-display); }
.family-learning header p { margin: 0; color: var(--ink-2); font-size: .8125rem; line-height: 1.6; }
.family-tree { max-width: 440px; margin: 15px auto 0; }
.family-tree ul { display: grid; list-style: none; gap: 6px; padding: 0; margin: 0; }
.family-parents { grid-template-columns: repeat(2,minmax(0,1fr)); }
.family-children { grid-template-columns: repeat(3,minmax(0,1fr)); }
.family-person { display: flex; flex-direction: column; align-items: center; min-width: 0; padding: 5px 2px 8px; text-align: center; }
.family-person .vocabulary-picture { width: 100px; }
.family-person strong { display: block; max-width: 100%; padding-block: 3px; font: 700 clamp(11.5px,3.5vw,16px)/1.9 var(--font-tamil); white-space: nowrap; }
.family-person-role { display: block; max-width: 100%; font-size: .75rem; line-height: 1.4; font-weight: 800; overflow-wrap: break-word; }
.family-person small { margin-top: 4px; color: var(--ink-2); font-size: .6875rem; line-height: 1.5; }
.family-tree-links { display: block; width: 100%; height: 34px; color: #bcc5aa; }
.family-tree-links path { fill: none; stroke: currentColor; stroke-width: 2; vector-effect: non-scaling-stroke; stroke-linejoin: round; }
.family-person-me { border-radius: 18px; background: #fff1c8; box-shadow: inset 0 0 0 1px #eac879; }
.family-person-me .family-person-role { padding: 2px 10px; border-radius: 20px; background: #a96e20; color: #fff; }
.family-learning-note { margin: 14px 0 0; padding: 11px 12px; border-radius: 13px; background: #f1f4e7; color: #536142; font-size: .75rem; line-height: 1.6; }
html[data-theme=dark] .family-learning { background: #26342c; border-color: #50604b; }
html[data-theme=dark] .family-learning-kicker { color: #e7c785; }
html[data-theme=dark] .family-person-me { background: #4b4029; box-shadow: inset 0 0 0 1px #927741; }
html[data-theme=dark] .family-person-me .family-person-role { background: #dcaf60; color: #302413; }
html[data-theme=dark] .family-tree-links { color: #8b9e7a; }
html[data-theme=dark] .family-learning-note { background: #354431; color: #d0ddbf; }
html[data-theme=dark] .vocabulary-picture-halo { fill: #344a40; }
@media (max-width: 360px) {
  .study-word.has-picture { grid-template-columns: 48px minmax(0,1fr) 44px; gap: 7px; }
  .family-learning { padding-inline: 10px; }
  .family-tree ul { gap: 3px; }
  .family-person strong { font-size: clamp(11.5px,3.5vw,13px); }
  .family-person-role { font-size: .69rem; }
}

.vocabulary-game-art { display: inline-block; width: 1em; height: 1em; flex-shrink: 0; vertical-align: middle; pointer-events: none; }

.feed-monster.vocabulary-game-art { display:block; width:100%; height:auto; }
.kid-harvest-tree.vocabulary-game-art { width:100%; height:90px; }
.kid-harvest-basket .vocabulary-game-art { width:100%; height:auto; }
.kid-river-bank > span .vocabulary-picture { width:40px; height:40px; margin:0; }
