[data-stable-caption]{box-sizing:border-box;overflow:hidden;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;transition:opacity 200ms ease;opacity:1}
[data-stable-caption][data-caption-visible=false]{opacity:0}
.studio .studio-voice-caption,.studio .studio-voice-caption[hidden]{display:-webkit-box!important;width:min(100%,36rem);height:3.5rem;min-height:3.5rem;max-height:3.5rem;line-height:1.4;padding:.35rem .65rem;margin:.25rem auto .75rem;flex:none}
.studio :is(#phase-label,#timing-cue,#power-phase-label){height:2.4em;min-height:2.4em;max-height:2.4em;line-height:1.2}
.studio :is(#timing-sub,#power-hint){height:3em;min-height:3em;max-height:3em;line-height:1.5}
.studio[data-words-visible=false] [data-stable-caption],body[data-words-visible=false] .wind-stage [data-stable-caption]{opacity:0!important}
#stage[data-mode=power] .power-breath-label,#stage[data-mode=power] .power-breath-label:empty{display:block!important;height:1.5em;min-height:1.5em}
#stage[data-mode=power] #power-timer,#stage[data-mode=power] #power-timer[hidden]{display:block!important;height:1.1em;min-height:1.1em}
#stage[data-mode=power] #power-timer[hidden]{opacity:0;visibility:hidden}
#stage[data-mode=power] #power-hint{height:3em;min-height:3em;max-height:3em}
#stage[data-mode=power] #timing-need,#stage[data-mode=power] #timing-need[hidden]{display:block!important;min-height:52px}
#stage[data-mode=power] #timing-need[hidden]{visibility:hidden;pointer-events:none}
.wind-stage #wind-cue{height:2.7em;min-height:2.7em;max-height:2.7em;line-height:1.35;flex:none;animation:none}
.wind-stage #wind-detail{height:3em;min-height:3em;max-height:3em;line-height:1.5;flex:none}
.wind-stage .wind-bottom{flex:none}

/* Preparation, the square and its countdown share the same reserved scene. */
#stage[data-mode=square][data-session] .studio-visual{height:416px;min-height:416px}
#stage[data-mode=square] #studio-timing{display:grid;grid-template-rows:24px 72px 220px 40px 60px;justify-items:center;align-items:center;height:416px;min-height:416px;padding:0}
#stage[data-mode=square] #timing-count,#stage[data-mode=square] #timing-count:empty{display:block!important;grid-row:1;margin:0;min-height:24px;height:24px}
#stage[data-mode=square] #timing-cue{grid-row:2;margin:0;width:100%;align-self:center}
#stage[data-mode=square] #timing-square,#stage[data-mode=square] #timing-square[hidden]{display:block!important;grid-row:3;margin:0;width:200px;height:200px}
#stage[data-mode=square] #timing-square[hidden]{visibility:hidden}
#stage[data-mode=square] #timing-phases{grid-row:4;margin:0}
#stage[data-mode=square] #timing-sub,#stage[data-mode=square] #timing-sub:empty{display:-webkit-box!important;grid-row:5;margin:0;width:100%;height:3em;min-height:3em}
#stage[data-mode=square] #timing-number{position:absolute;top:170px;inset-inline:0;margin:0;pointer-events:none}
#stage[data-mode=square] #studio-timing .act:empty{display:none}
@media(orientation:landscape) and (max-height:600px){
 #stage[data-mode=square][data-session] .studio-visual,#stage[data-mode=square] #studio-timing{height:300px;min-height:300px}
 #stage[data-mode=square] #studio-timing{grid-template-rows:24px 58px 132px 36px 50px}
 #stage[data-mode=square] #timing-square,#stage[data-mode=square] #timing-square[hidden]{width:120px;height:120px}
 #stage[data-mode=square] #timing-number{top:116px}
}
