/* Presentation-only polish. Placement and combat values are unchanged. */
/* Keep dialogue in one flowing card; feedback can never create another column. */
#lesson-panel #lesson-portrait{left:0;bottom:0;width:min(390px,32%);height:auto;max-height:calc(100% - 12px);aspect-ratio:9/10;object-fit:contain;object-position:center bottom}
#lesson-panel .lesson-copy,#lesson-panel.responding .lesson-copy{left:34%;right:14px;bottom:16px!important;top:auto;width:auto;max-width:630px;max-height:calc(100% - 32px);overflow-y:auto;overscroll-behavior:contain;box-sizing:border-box;padding:18px;border:3px solid #fff;border-radius:12px;background:#21172ff5;box-shadow:5px 5px 0 #100b1c;display:flex;flex-direction:column;gap:12px}
#lesson-panel .lesson-copy::before,#lesson-panel .lesson-copy::after{display:none}
#lesson-panel #lesson-speaker{position:static;align-self:flex-start;transform:none;padding:4px 12px;border-radius:4px;font-size:18px}
#lesson-panel #lesson-text,#lesson-panel.responding #lesson-text{white-space:normal;max-width:none;font-size:clamp(16px,2.3cqw,21px);line-height:1.35;flex:none}
#lesson-panel #lesson-note{margin:0}
#lesson-panel #lesson-choices{position:static;display:flex;flex-direction:column;width:100%;gap:8px;flex:none}
#lesson-panel .lesson-choice{min-width:0;min-height:44px;padding:11px 14px;background:#fff;color:#17152a;border:2px solid #d6cce8;border-radius:7px;font-size:16px;line-height:1.3}
#lesson-panel .lesson-choice::before,#lesson-panel .lesson-choice::after{display:none}
#lesson-panel .lesson-choice.answered{background:#216247;color:#fff}
#lesson-panel .lesson-choice.incorrect{background:#8c2038;color:#fff}
#lesson-panel .lesson-choice[hidden]{display:none!important}
#lesson-panel #lesson-feedback{display:block;margin:0;padding:12px;border:2px solid #e994a7;border-radius:8px;background:#67243a;font-size:16px;grid-row:auto!important;white-space:pre-line;flex:none}
#lesson-panel #lesson-feedback:empty{display:none}
#lesson-panel #lesson-feedback.correct-feedback{background:#194f3b;border-color:#79d6ad}
#lesson-panel #lesson-feedback::before,#lesson-panel #lesson-feedback::after{display:none}
#lesson-panel .lesson-actions{margin:0;flex:none}
#lesson-panel #lesson-continue{padding:10px 16px;border-radius:6px;background:#ffda49;color:#24162f;min-height:24px}
#lesson-panel.villain-briefing .lesson-copy{border-color:var(--villain-color,#e46b8b)}
@media(max-width:600px){#lesson-panel #lesson-portrait{width:30%;height:auto}#lesson-panel .lesson-copy,#lesson-panel.responding .lesson-copy{left:32%;right:6px;bottom:6px!important;max-height:calc(100% - 12px);padding:10px;gap:8px}#lesson-panel #lesson-speaker{font-size:16px}#lesson-panel .lesson-choice{font-size:15px;padding:9px}#lesson-panel #lesson-feedback{font-size:15px}}
#battle-frame .battle-hud .hope-badge b,#battle-frame .battle-hud .faith-badge b{font-size:clamp(32px,4cqw,43px)!important}
#battle-frame .battle-hud .hope-badge .hud-icon{font-size:36px!important}
#lesson-panel #lesson-portrait.bibleman-facing-right{transform:scaleX(-1);transform-origin:center}
#lesson-panel #lesson-feedback .energy-reward{display:block;width:fit-content;margin-top:10px;padding:8px 12px;border:2px solid #fff4b1;border-radius:7px;background:#ffda49;color:#24162f;font:900 clamp(22px,3cqw,30px)/1.05 var(--display-font),Barlow,Arial,sans-serif;letter-spacing:.02em;text-shadow:0 1px #fff7c2;box-shadow:3px 3px 0 #142c28}
#lesson-panel #lesson-feedback{font-weight:750;line-height:1.4}
#board #boss-health{top:76px;width:min(540px,calc(100% - 28px));padding:12px 15px;gap:12px;border:2px solid #ae93d1;border-radius:12px;background:linear-gradient(135deg,#30213e,#171526);box-shadow:0 5px 0 #0b1019,0 10px 24px #0005;align-items:center}
#board #boss-health[hidden]{display:none!important}
#board #boss-health img{width:48px;height:60px;border-radius:8px;background:#44334e;object-fit:contain}
#board #boss-health strong{font:800 20px/1.2 Barlow,Arial,sans-serif;color:#fff4d4;margin-bottom:7px}
#board #boss-health .boss-track{height:16px;border:2px solid #131120;border-radius:8px;overflow:hidden;background:#514256}
#board #boss-health .boss-track i{display:block;height:100%;background:linear-gradient(#ff8cae,#e94278);border-radius:5px;box-shadow:inset 0 2px #ffffff50}
#board #boss-health .boss-mechanic{font:600 14px/1.3 Barlow,Arial,sans-serif;color:#ddd5ed;margin-top:7px}
#board #boss-health>span{font:800 16px/1.2 Barlow,Arial,sans-serif;color:#fff;white-space:nowrap;font-variant-numeric:tabular-nums}
#board .pause-indicator{padding:14px 27px;border:3px solid #ffda49;border-radius:10px;background:#261936f5;color:#ffdf65;font:900 clamp(24px,4cqw,36px)/1 var(--display-font),Barlow,Arial,sans-serif;letter-spacing:.06em;text-transform:uppercase;box-shadow:5px 5px 0 #100e1c}
#battle-frame .battle-hud .hope-badge,#battle-frame .battle-hud .faith-badge{padding:7px 10px;gap:7px;border:1px solid #f9df8e80;border-radius:9px;background:#20182eda;box-shadow:0 3px 0 #0d101c}
#battle-frame .battle-hud .hope-badge b,#battle-frame .battle-hud .faith-badge b{font:900 clamp(29px,4cqw,43px)/1.05 var(--display-font),Barlow,Arial,sans-serif;color:#fff6de;text-shadow:2px 2px 0 #171326}
#battle-frame .battle-hud .hope-badge .hud-icon,#battle-frame .battle-hud .faith-badge .hud-icon{display:grid!important;width:36px;height:36px;font-size:32px;flex:none}
#battle-frame .battle-hud .faith-badge .hud-icon img{width:36px;height:36px}
#hero-shop .hero-purpose,#hero-shop .purchase-abilities,#hero-shop .branch-summary,#hero-shop .shortcut-note{font:700 16px/1.5 Barlow,Arial,sans-serif!important;color:#f6efdf!important;font-style:normal!important}
#hero-shop .current-coverage{font:800 15px/1.3 Barlow,Arial,sans-serif;color:#fff0a1}
#hero-shop .compact-portrait{background:radial-gradient(ellipse at 50% 35%,#70579b,#2e244b 75%);box-shadow:inset 0 0 0 2px #b79bd138}
#hero-shop .kid-stats{display:grid;gap:8px;margin:10px 0}
#hero-shop .kid-stat{display:grid;grid-template-columns:96px minmax(75px,1fr);gap:7px;align-items:center}
#hero-shop .kid-stat-label{font:800 14px/1.15 Barlow,Arial,sans-serif;color:#fff2cf}
#hero-shop .kid-stat-track{display:grid;grid-template-columns:repeat(8,1fr);gap:2px;height:17px;padding:2px;border:1px solid #afabc0;border-radius:8px;background:#10131e;overflow:hidden}
#hero-shop .kid-stat-track i{background:#343342;min-width:0}
#hero-shop .kid-stat-track i.on{background:var(--stat-color);box-shadow:inset 0 3px #ffffff40}
#hero-shop .kid-stat-value{font:600 12px Barlow,Arial,sans-serif;color:#d7d2e2;grid-column:2}
@media(max-width:600px){#board #boss-health{top:66px;padding:8px;gap:7px}#board #boss-health strong{font-size:16px}#board #boss-health img{width:32px;height:44px}#board #boss-health>span{font-size:13px}#board #boss-health .boss-mechanic{font-size:12px}#battle-frame .battle-hud .hope-badge,#battle-frame .battle-hud .faith-badge{padding:5px;gap:4px}#battle-frame .battle-hud .hope-badge b,#battle-frame .battle-hud .faith-badge b{font-size:29px}#battle-frame .battle-hud .hope-badge .hud-icon,#battle-frame .battle-hud .faith-badge .hud-icon{width:27px;height:27px;font-size:25px}#hero-shop .kid-stat{grid-template-columns:80px minmax(65px,1fr)}#hero-shop .kid-stat-label{font-size:13px}}
