/* Mobile presentation only. Desktop keeps the original controls and drawers. */
#mobile-navigation,.mobile-gesture{display:none}
@media(max-width:700px){
 .desktop-gesture{display:none}.mobile-gesture{display:inline}
 main>#experience-dock,main>#audio-camera-stack,main>#director-open,main>#zoom-controls,.brand-tools>#moment-switch{display:none}
 .brand-tools{top:max(12px,env(safe-area-inset-top));left:max(12px,env(safe-area-inset-left));padding-right:52px;max-width:calc(100% - 24px)}
 .brand-tools .brand{height:48px;min-height:48px;padding:8px 12px;gap:8px}.brand-tools .brand h1{font-size:16px}.brand-logo{height:29px;width:24px}
 #guide-open{top:max(12px,env(safe-area-inset-top));right:max(12px,env(safe-area-inset-right));height:48px;width:48px}
 #mobile-navigation{display:block;position:fixed;right:max(16px,env(safe-area-inset-right));bottom:calc(18px + env(safe-area-inset-bottom));z-index:8}
 #mobile-controls{display:grid;place-items:center;width:60px;height:60px;padding:0;border-radius:20px;box-shadow:inset 0 1px 0 #ffffff35,0 8px 28px #00101f70}
 #mobile-controls svg{width:26px;height:26px}
 #mobile-menu{position:absolute;right:0;bottom:74px;width:min(312px,calc(100vw - 32px));display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;padding:10px;border-radius:22px;background:linear-gradient(135deg,#263b55f5,#10293ef5);box-shadow:0 18px 48px #0006}
 #mobile-menu[hidden]{display:none}#mobile-menu button{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:10px;min-height:88px;font-size:14px;line-height:1.3;border-radius:14px;padding:12px 8px;background:#c0ddff09;border-color:#d5eaff24}
 #mobile-menu svg{width:24px;height:24px}#mobile-menu [data-mobile-section=reception]{color:#ffdc52;background:#eabf2412;border-color:#eccc4f70}
 main>dialog.bottom-sheet,main>dialog.right-drawer.bottom-sheet{position:fixed;inset:auto 0 0;margin:0;width:100%;max-width:none;max-height:calc(100dvh - max(24px,env(safe-area-inset-top)));height:auto;min-height:0;padding:0 0 env(safe-area-inset-bottom);border:1px solid #cde5ff45;border-bottom:0;border-radius:24px 24px 0 0;background:linear-gradient(145deg,#223952,#0c2237 75%);color:#f1f6fc;box-shadow:0 -20px 70px #0005;overflow:hidden;transform:none;opacity:1;animation:sheet-in 220ms ease-out;transition:none;backdrop-filter:none;-webkit-backdrop-filter:none}
 main>dialog.bottom-sheet::backdrop{background:#020c18a6}
 main>dialog.bottom-sheet[open],main>#director-dialog.bottom-sheet[open],main>#guide-dialog.bottom-sheet[open]{display:flex;flex-direction:column}
 main>dialog.bottom-sheet::backdrop{backdrop-filter:none;-webkit-backdrop-filter:none}
 main>dialog.bottom-sheet>header{flex-shrink:0;position:relative;padding:28px 20px 16px;touch-action:none;border-bottom:1px solid #cde5ff1f}
 main>dialog.bottom-sheet>header::before{content:'';position:absolute;top:10px;left:calc(50% - 20px);width:40px;height:4px;border-radius:4px;background:#bad1e17a}
 main>dialog.bottom-sheet h2{font-size:20px;margin:0;line-height:1.3}
 main>dialog.bottom-sheet>header button{display:grid;place-items:center;flex-shrink:0;width:44px;min-height:44px;padding:0;font-size:28px;border-radius:14px}
 #mobile-sheet-notice{margin:16px 20px 0;color:#bcd2e6;font-size:14px;line-height:1.5}
 .mobile-sheet-body{min-height:0;overflow-y:auto;overscroll-behavior:contain;padding:20px 16px 24px;scrollbar-width:thin}
 #mobile-sheet :is(.tool-panel,#view-picker-options){position:static;transform:none;animation:none;width:100%;max-width:none;max-height:none;padding:0;margin:0;border:0;background:transparent;box-shadow:none;backdrop-filter:none;overflow:visible;opacity:1;visibility:visible;clip-path:none;pointer-events:auto}
 #mobile-sheet .effects-gallery,#mobile-sheet .telon-gallery,#mobile-sheet #view-picker-cards{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;padding:0;overflow:visible}
 #mobile-sheet :is(.effect-card,.telon-card,.view-preview){position:relative;display:block;isolation:isolate;clip-path:inset(0 round 14px);width:100%;min-width:0;height:132px;min-height:132px;max-height:none;margin:0;padding:0;overflow:hidden;border-radius:14px;border:1px solid #cfe5ff40;background:#16344d;text-align:left}
 #mobile-sheet :is(.effect-card,.telon-card,.view-preview)[aria-pressed=true]{border-color:#d7ecff;box-shadow:inset 0 0 0 1px #d7ecff}
 #mobile-sheet :is(.telon-card,.view-preview)>img{position:absolute;inset:0;width:100%;height:100%;border-radius:0;object-fit:cover;aspect-ratio:auto}
 #mobile-sheet .effect-preview{position:absolute;inset:0;background-image:url('./assets/effects-preview.png');background-size:300% 100%;background-repeat:no-repeat}
 #mobile-sheet .effect-smoke{background-position:0% 50%}#mobile-sheet .effect-papers{background-position:50% 50%}#mobile-sheet .effect-fireworks{background-position:100% 50%}
 #mobile-sheet :is(.dock-caption,.view-preview-label){position:absolute;inset:auto 0 0;padding:10px;background:#0b233bed;min-height:44px;color:#fff;font-size:14px;line-height:1.3;white-space:normal}
 #mobile-sheet .dock-caption{display:flex;flex-direction:column;gap:3px}#mobile-sheet .dock-caption strong{font-size:14px;font-weight:500}#mobile-sheet .dock-caption>span{font-size:12px;padding:0;color:#bfd3e6}
 #mobile-sheet .banner-hover{display:none}#mobile-sheet .banner-check{display:none;position:absolute;right:8px;top:8px;background:#0b233be6;border-radius:50%;width:24px;height:24px;place-items:center;padding:0}
 #mobile-sheet .telon-card[aria-pressed=true] .banner-check{display:grid}#mobile-sheet .telon-card[data-queued=true]{border-style:dashed}
 #mobile-sheet .banner-tabs{display:flex;gap:8px;margin:0 0 16px}#mobile-sheet .banner-tabs button{flex:1;min-height:44px;font-size:14px;padding:8px}
 #mobile-sheet .popular-section{border:0;margin:0;padding:0}#mobile-sheet .view-picker-strip{display:block}#mobile-sheet .view-scroll{display:none}
 #mobile-sheet .effects-tremor{margin-top:20px;padding-top:20px;border-top:1px solid #ffffff24}#mobile-sheet .effects-tremor strong{font-size:15px}#mobile-sheet .effects-tremor small{font-size:13px}
 #mobile-sheet #moment-switch{display:grid;grid-template-columns:1fr;gap:10px;height:auto;min-height:0;width:100%;padding:0;border:0;background:none;box-shadow:none;backdrop-filter:none}
 #mobile-sheet #moment-switch button{min-height:58px;border-radius:14px;font-size:16px;border:1px solid #cde5ff30;background:#c7e3ff08;text-align:left;padding:14px 18px}#mobile-sheet #moment-switch [aria-pressed=true]{background:#c7e3ff20;border-color:#cde5ff90}
 #mobile-sheet #audio-camera-stack{position:static;display:block;width:100%;max-width:none;pointer-events:auto}
 #mobile-sheet #chant-player{display:flex;flex-direction:column;width:100%;padding:0;background:none;border:0;box-shadow:none;backdrop-filter:none}
 #mobile-sheet #chant-list{position:static;order:2;width:100%;max-height:none;padding:0;margin-top:16px;border:0;background:none;box-shadow:none;overflow:visible}
 #mobile-sheet #chant-list button{font-size:15px;min-height:56px;padding:12px;border-radius:12px}#mobile-sheet #chant-track{display:none}
 #mobile-sheet .chant-transport{justify-content:center;padding:8px 0 16px;border-bottom:1px solid #cde5ff24}
 #mobile-sheet #chant-volume-popover{bottom:auto;top:calc(100% + 8px);z-index:4;right:0}
 #mobile-sheet #chant-status:not(.sr-only){order:3}
 main>#director-dialog.bottom-sheet{height:min(88dvh,850px)}
 main>#director-dialog.bottom-sheet .director-body{flex:1;min-height:0;overflow-y:auto;padding:0 16px 16px}
 main>#director-dialog.bottom-sheet .director-footer{flex-shrink:0;padding:12px 16px}
 main>#director-dialog.bottom-sheet .director-heading p{font-size:14px;margin-top:8px}main>#director-dialog.bottom-sheet .director-pov-note{display:none}
 main>#director-dialog.bottom-sheet .director-columns,main>#director-dialog.bottom-sheet .director-row{grid-template-columns:minmax(0,1fr) 64px 44px;gap:8px}
 main>#director-dialog.bottom-sheet .director-remove{width:44px;min-height:44px}
 main>#director-dialog.bottom-sheet .director-thumb{width:40px;height:38px}main>#director-dialog.bottom-sheet .director-action{gap:8px}main>#director-dialog.bottom-sheet input,main>#director-dialog.bottom-sheet select{font-size:16px}
 main>#guide-dialog.bottom-sheet{height:88dvh}main>#guide-dialog.bottom-sheet .guide-body{flex:1;min-height:0;padding:20px 16px}
 #director-hud,body:has(#experience-dock[data-open=true]) #director-hud{bottom:calc(94px + env(safe-area-inset-bottom));right:16px;max-width:calc(100vw - 32px)}
 #pov-hud{top:auto;bottom:calc(16px + env(safe-area-inset-bottom));max-height:calc(100dvh - 32px);overflow:visible}#pov-options{top:auto;bottom:calc(100% + 8px);max-height:55dvh}#pov-hud .pov-footer small{font-size:0}#pov-hud .pov-footer small::after{content:'Arrastrá para mirar';font-size:12px}
 @keyframes sheet-in{from{transform:translateY(32px);opacity:0}to{transform:translateY(0);opacity:1}}
}
