/* ADCC lesson. All rules scoped under .adcc-* */

.adcc-sc { position: relative; width: 100%; display: flex; flex-direction: column; align-items: center; gap: 10px; }
.adcc-sc > svg { display: block; width: 100%; height: auto; overflow: visible; }
.adcc-note { font-size: 12.5px; color: var(--faint); text-align: center; line-height: 1.35; max-width: 320px; }
.adcc-hero { width: min(80%, 320px); }
.adcc-hero img { width: 100%; display: block; }
.adcc-t { fill: var(--text); font: 600 14px var(--sans); text-anchor: middle; }
.adcc-t.dim { fill: var(--dim); font-size: 13px; }
.adcc-t.sm { font-size: 13px; }

.adcc-knob { stroke: #0A0E1A; stroke-width: 1; stroke-linejoin: round; }
.adcc-knob.tri { fill: var(--gold); }
.adcc-knob.rnd { fill: #7FC8FF; }
.adcc-knob.sq { fill: var(--mint); }
.adcc-y { fill: none; stroke: #EAE3D7; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; vector-effect: non-scaling-stroke; }
.adcc-y.gold { stroke: var(--gold); }
.adcc-y.stub { stroke: var(--dim); }

.adcc-nk { fill: rgba(169,155,255,.16); stroke: var(--violet-bright); stroke-width: 2.5; transition: fill .2s, stroke .2s; }
.adcc-nuc { fill: rgba(169,155,255,.22); }
.adcc-grip { fill: none; stroke: var(--violet-bright); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; transition: stroke .25s; }
.adcc-grip.held { stroke: var(--gold); }
.adcc-intro .adcc-grip { animation: adcc-pulse 1.1s ease-in-out 3; }
@keyframes adcc-pulse { 50% { opacity: .35; } }
.firing .adcc-nk { fill: rgba(252,192,80,.22); stroke: var(--gold); }

.adcc-cancer { fill: rgba(216,85,95,.16); stroke: #D8555F; stroke-width: 2.5; }
.adcc-body { transition: opacity .3s; }
.adcc-hitr { fill: transparent; }
.adcc-tapme .adcc-tgt { cursor: pointer; }
.adcc-tapme .adcc-cancer { animation: adcc-pulse 1.2s ease-in-out 3; }
.adcc-hole { fill: #0A0E1A; stroke: var(--gold); stroke-width: 1.5; }
.adcc-drop { fill: var(--gold); }
.adcc-bleb { fill: rgba(216,85,95,.14); stroke: #D8555F; stroke-width: 1.5; animation: adcc-in .4s ease-out both; }
@keyframes adcc-in { from { opacity: 0; } }

.adcc-steps { display: flex; align-items: center; justify-content: center; gap: 3px; max-width: 100%; }
.adcc-step { white-space: nowrap; padding: 5px 8px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); font-size: 12.5px; font-weight: 700; color: var(--faint); transition: background .2s, color .2s; }
.adcc-step.done { color: var(--text); }
.adcc-step.on { background: var(--gold); border-color: var(--gold); color: #2A1B00; }
.adcc-arrow { font-style: normal; color: var(--faint); font-size: 12px; }

.adcc-words { display: grid; grid-template-columns: 1fr; gap: 8px; width: 100%; }
.adcc-words.two { grid-template-columns: 1fr 1fr; }
.adcc-words span { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 12px 10px; text-align: center; font-size: 14px; color: var(--dim); line-height: 1.3; }
.adcc-words b { display: block; font: 700 19px var(--serif); color: var(--gold); margin-bottom: 2px; }

.adcc-cell { fill: rgba(169,155,255,.14); stroke: var(--text); stroke-width: 2; }
.adcc-cb, .adcc-cy { transition: opacity .3s; }
.adcc-opts .choice { gap: 10px; }
.adcc-opt { flex: none; width: 36px; height: 40px; overflow: visible; }

.adcc-big { display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 28px 0; text-align: center; }
.adcc-big b { font: 700 46px var(--serif); color: var(--gold); line-height: 1; }
.adcc-big span { font-size: 14px; color: var(--dim); max-width: 270px; line-height: 1.35; }

@media (max-height: 700px) {
  .adcc-hero { width: min(62%, 240px); }
  .adcc-duel, .adcc-lym, .adcc-tips, .adcc-loose { max-height: 222px; }
  .adcc-opt { width: 30px; height: 32px; }
  .adcc-words span { padding: 8px 10px; }
  .adcc-big { padding: 12px 0; }
}
