/* Final visibility invariant outranks all authored display rules. */
html body [hidden],html body #artBoard [hidden],html body header[hidden],html body #settingsScreen[hidden],html body #parentHelp[hidden]{display:none!important}
html body main{width:100%;max-width:600px;margin-inline:auto;padding:12px;min-width:0}
#appHeader{justify-content:flex-end;margin:0 0 10px;min-height:58px}#appHeader #settings{margin-left:auto}
#artBoard{height:auto;min-height:0;aspect-ratio:auto;background:#fffdf6;overflow:visible;border:3px solid #b7d6c2;padding:12px;border-radius:26px}
#artBoard>section{width:100%;min-width:0;height:auto;max-width:100%;margin:0 0 14px;overflow:visible}
#artBoard[data-screen="home"]>#setup,#artBoard[data-screen="home"]>#familyHost,#artBoard[data-screen="home"]>#game,#artBoard[data-screen="home"]>#qa,#artBoard[data-screen="home"]>#replayScene,#artBoard[data-screen="home"]>#endScene{display:none!important}
#artBoard:not([data-screen="home"])>#homeScene{display:none!important}
#artBoard[data-screen="setup"]>#game,#artBoard[data-screen="setup"]>#qa,#artBoard[data-screen="setup"]>#replayScene,#artBoard[data-screen="setup"]>#endScene{display:none!important}
.scene-artwork{width:100%;height:57cqw;background:url('assets/approved-apricot-mint-background.png') center -41cqw / 100% auto no-repeat;flex:none;border-radius:18px;margin:8px 0 16px;pointer-events:none}
#familyHost{display:flex;flex-direction:column;height:auto;max-width:100%;padding:0!important}
#familyHost .host-caption{position:static;inset:auto;width:100%;max-width:100%;height:auto;margin:0;padding:14px;box-sizing:border-box;z-index:auto}
#familyHost .host-controls,#familyHost .host-help,#captionDetails{position:static;inset:auto;width:100%;max-width:100%;margin:8px 0;padding:0;z-index:auto}
#captionDetails #captionHint{position:static;inset:auto;width:auto;margin:0}#captionEn,#captionJa{max-width:100%;overflow-wrap:anywhere}
#homeScene{text-align:center}#homeScene h2{font-size:26px}#homeScene .primary,#setup>.primary{display:block;width:100%;min-height:64px;font-size:25px;margin:18px 0 8px;background:#edac61;color:#49382e;border:3px solid #76583e;border-radius:22px}
#setup,#qa,#replayScene,#endScene{height:auto;max-height:none;padding:0!important}#setup h2{position:static;margin:12px 0;font-size:25px;line-height:1.5}#setup .modes{position:static;margin:12px 0;grid-template-columns:repeat(2,minmax(0,1fr))}.mode{min-width:0;min-height:100px}#setup>label{display:none!important}
#game .topline{position:static;inset:auto;margin:0 0 12px}#game{padding:0!important}#game .call{width:100%;max-width:100%;min-height:0;padding:14px;margin:0 0 16px}#qa #practiceTarget{max-width:100%}
@media(max-width:380px){html body main{padding:6px}#artBoard{padding:10px}.mode strong{font-size:20px}.mode span{font-size:12px}#captionEn{font-size:21px}#captionJa{font-size:15px}}

#familyHost #captionHint{position:static;inset:auto;width:100%;background:none;margin:8px 0 0;padding:0;font-size:14px}#setup>h2,#qa>.question,#qa>label,#qa>p,#qa>small,#qa .stage-label{display:none!important}#participantPanel>.hint{display:none!important}.bubble-recovery{display:flex;flex-wrap:wrap;gap:8px;margin-top:12px}.bubble-recovery button{flex:1;min-height:52px}#qa .actions,#game .actions,#replayScene .actions{position:static;display:flex;flex-wrap:wrap;gap:10px}#setup .modes,#qa .actions,#game .actions{padding:10px;background:#fff9eb;border:2px solid #b7d6c2;border-radius:20px}#familyHost .host-caption{border-color:#76583e;border-radius:24px}#homeScene .scene-artwork{margin-top:0}
