/* Coordinates belong to the complete illustration, including on lesson image frames. */
.art-annotations { --art-accent: #384c86; --art-soft: #eef1fa; width: 100%; color: #28334e; }
.art-scene { position: relative; width: 100%; isolation: isolate; }
.art-annotations .art-scene .lesson-visual.large { width: 100%; height: auto !important; aspect-ratio: auto !important; min-height: 0 !important; max-height: none !important; }
.art-annotations .art-scene img { position: relative !important; display: block; width: 100%; height: auto !important; aspect-ratio: auto !important; max-height: none !important; object-fit: contain !important; }
.art-annotations .visual-fallback[aria-hidden="true"] { display: none; }
.art-overlay { position: absolute; inset: 0 auto auto 0; width: 100%; height: 100%; overflow: hidden; pointer-events: none; visibility: hidden; }
.art-ready .art-overlay { visibility: visible; }
.art-leaders { position: absolute; inset: 0; width: 100%; height: 100%; overflow: hidden; pointer-events: none; }
.art-leader { stroke: var(--art-accent); stroke-opacity: .7; stroke-width: 1px; vector-effect: non-scaling-stroke; }
.art-box { fill: #647ecb18; stroke: #384c8680; stroke-width: 1px; vector-effect: non-scaling-stroke; opacity: 0; transition: opacity .15s ease; }
.is-highlighted .art-box { opacity: 1; }
.art-annotations :is(.art-anchor,.art-label,.art-list-label,.art-speak) { box-sizing: border-box; font-family: inherit; cursor: pointer; touch-action: manipulation; }
.art-anchor { position: absolute; z-index: 2; display: block; width: 44px; height: 44px; min-height: 0; padding: 0; border: 0; border-radius: 50%; background: transparent; pointer-events: auto; }
.art-dot { position: absolute; left: 22px; top: 22px; display: grid; place-items: center; width: 13px; height: 13px; border: 2px solid #fff; border-radius: 50%; background: var(--art-accent); color: #fff; box-sizing: border-box; transform: translate(-50%,-50%); box-shadow: 0 0 0 1px #384c8680; }
.art-ready .art-dot { animation: art-dot-breathe 1.1s ease-out 1; }
.art-number { display: none; }
.art-label { position: absolute; z-index: 3; display: grid; gap: 2px; width: max-content; min-height: 58px; max-width: 176px; padding: 8px 11px; border: 1px solid #cdd4e7; border-radius: 10px; background: #ffffffed; color: #28334e; text-align: left; line-height: 1.35; white-space: normal; overflow-wrap: anywhere; box-shadow: 0 3px 12px #28334e12; pointer-events: auto; }
.art-label strong { font-size: 14px; font-weight: 700; }
.art-label .art-pinyin { font-size: 11px; color: #596780; }
.art-label .art-english { font-size: 11px; color: #455572; }
.art-annotations :is(.art-label,.art-list-label):is(:hover,[aria-expanded="true"]) { border-color: var(--art-accent); background: var(--art-soft); color: var(--art-accent); }
.art-anchor:is(:hover,[aria-expanded="true"]) .art-dot { box-shadow: 0 0 0 4px #384c8630; }
.art-annotations :is(.art-anchor,.art-label,.art-list-label,.art-speak):focus-visible { outline: 3px solid #667dbc; outline-offset: 2px; }
.art-mobile-list { display: none; list-style: none; padding: 10px; margin: 0; gap: 6px; }
.art-list-label { display: flex; align-items: center; gap: 9px; width: 100%; min-height: 44px; padding: 8px 10px; border: 1px solid #dce1ed; border-radius: 9px; background: #fff; color: #28334e; text-align: left; line-height: 1.5; }
.art-list-label strong { flex-shrink: 0; font-size: 14px; }
.art-list-label > [lang="en"] { min-width: 0; overflow-wrap: anywhere; font-size: 12px; color: #596780; }
.art-list-number { display: grid; place-items: center; flex: 0 0 24px; height: 24px; border-radius: 50%; background: var(--art-soft); color: var(--art-accent); font-size: 12px; font-weight: 700; }
.art-annotations .art-note { margin: 10px; padding: 14px 16px; border: 1px solid #dce1ed; border-left: 3px solid var(--art-accent); border-radius: 10px; background: #f5f7fc; color: #28334e; overflow-wrap: anywhere; }
.art-annotations .art-note[hidden] { display: none; }
.art-note-heading { display: flex; flex-wrap: wrap; align-items: baseline; gap: 5px 12px; }
.art-note-heading strong { font-size: 17px; }
.art-note-heading :is(small,.art-english) { font-size: 13px; color: #596780; }
.art-annotations .art-note p { margin: 8px 0 0; font-size: 14px; line-height: 1.75; color: #455572; }
.art-speak { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; margin-top: 10px; padding: 7px 12px; border: 1px solid #cdd4e7; border-radius: 8px; background: #fff; color: var(--art-accent); font-size: 13px; }
.art-speak .icon { width: 18px; height: 18px; }
.art-compact .art-label,.art-compact .art-leader { display: none; }
.art-compact .art-mobile-list { display: grid; }
.art-compact .art-dot { width: 26px; height: 26px; font-size: 12px; font-weight: 700; }
.art-compact .art-number { display: inline; }
.art-annotations:not(.art-ready) .art-mobile-list { display: none; }
@keyframes art-dot-breathe { 0%,100% { box-shadow: 0 0 0 1px #384c8680; } 50% { box-shadow: 0 0 0 7px #384c8620; } }
@media (max-width: 767px) {
 .art-label,.art-leader { display: none; }
 .art-mobile-list { display: grid; }
 .art-dot { width: 26px; height: 26px; font-size: 12px; font-weight: 700; }
 .art-number { display: inline; }
 .art-annotations .art-note { margin: 0 10px 10px; padding: 12px; }
}
@media (prefers-reduced-motion: reduce) { .art-ready .art-dot { animation: none; } .art-box { transition: none; } }
.reduce-motion .art-ready .art-dot { animation: none; }
.reduce-motion .art-box { transition: none; }
