/* Cal and Ad use scaled, read-only excerpts of the real app, not mock controls. */
#introFeatureVisual[hidden]{display:none!important}
#introFeatureVisual{width:min(100%,950px);height:100%;min-height:0;display:grid;grid-template-columns:minmax(0,.72fr) minmax(0,1.6fr);align-items:center;gap:clamp(4px,1.6vw,12px)}
#introStage[data-side="right"] #introFeatureVisual{grid-template-columns:minmax(0,1.6fr) minmax(0,.72fr)}
#introStage[data-side="right"] #introFeatureJudge{grid-column:2;grid-row:1}#introStage[data-side="right"] #introFeatureCard{grid-column:1;grid-row:1}
#introFeatureJudge{width:100%;height:100%;max-height:clamp(120px,60dvh,540px);min-height:0;object-fit:contain;object-position:center bottom;filter:drop-shadow(0 4px 8px #05162383)}
#introFeatureCard{width:100%;height:100%;min-height:0;min-width:0;overflow:hidden;display:flex;align-items:center;justify-content:center;box-sizing:border-box;background:none;padding:2px}
.intro-real-screen{position:relative;flex:none;overflow:hidden;border-radius:9px;box-shadow:0 5px 18px #05182f99;background:#103b2e}
.intro-real-frame{position:absolute;inset:0;border:0;display:block;transform-origin:top left;pointer-events:none}
.intro-install-icon{width:min(85%,170px);height:auto;max-height:100%;object-fit:contain;border-radius:22px}
#introStage .intro-dialogue{font-size:clamp(16px,4.7vw,30px);height:calc(5.12em + 1.5rem + 6px);min-height:0;overflow:auto}
@media(max-height:570px){#introStage .intro-dialogue{font-size:15px;height:calc(5.12em + 1.5rem + 6px)}}
@media(max-width:360px){#introStage .intro-dialogue{font-size:clamp(14px,4.5vw,16px)}#introFeatureVisual{gap:4px}}

/* Preserve spoken sentence breaks while keeping the navigation anchored. */
#introJudgeSpeech{white-space:pre-line}
#introStage[data-long-speech="true"] .intro-dialogue{height:calc(9em + 1.5rem + 6px)}
#introStage:not([data-long-speech="true"]) .intro-dialogue{height:calc(6.4em + 1.5rem + 6px)}
