#liveFrame { position: fixed; inset: 0; width: 100%; height: 100%; border: 0; z-index: 9; background: #030507; visibility: hidden; pointer-events: none; }
#liveTransitionUi .transition-controls { top: auto; bottom: 18px; left: auto; right: 18px; flex-direction:column; align-items:stretch; }
#liveTransitionUi .transition-controls button { border-radius: 6px; }
#liveTransitionUi .transition-controls button { display:inline-flex; align-items:center; justify-content:flex-start; gap:8px; min-height:40px; color:#edf4f2; background:rgba(15,18,23,.95); border-color:rgba(185,231,223,.25); box-shadow:0 3px 15px #0005; transition:color .2s,border-color .2s,box-shadow .2s; }
#liveTransitionUi .transition-controls button svg { width:16px; height:16px; flex:none; fill:none; stroke:#b9e7df; stroke-width:1.6; stroke-linecap:round; stroke-linejoin:round; }
#liveTransitionUi .transition-controls button:hover, #liveTransitionUi .transition-controls button:focus-visible { color:#fff; border-color:#b9e7df; box-shadow:0 0 14px #8fd4c655; }
#transitionSmoke { position: fixed; inset: 0; width: 100%; height: 100%; z-index: 12; pointer-events: none; }
#skullEnter { position: fixed; z-index: 4; background: transparent; border: 0; padding: 0; pointer-events: none; outline: none; box-shadow: none; }
#skullEnter:focus-visible { outline: none; box-shadow: none; }
.skull-clickable #wormhole { cursor: pointer; }
.transition-instruction { position: fixed; bottom: 82px; left: 0; right: 0; z-index: 4; text-align: center; pointer-events: none; opacity: 0; transform: translateY(2vh); transition: opacity 1s; }
.transition-instruction span { display: block; color: #fff2dc; font-size: 11px; letter-spacing: .25em; text-shadow: 0 2px 15px #180b2d; animation: live-entry-breathe 3.2s ease-in-out infinite; }
.transition-instruction small { display: block; margin-top: 9px; font-size: 9px; letter-spacing: .10em; color: #eadff2a1; }
.transition-ready .transition-instruction { opacity: 1; }
@keyframes live-entry-breathe { 0%, 100% { opacity: .32; text-shadow: 0 2px 12px #180b2d; } 50% { opacity: 1; text-shadow: 0 0 24px #fff4ff, 0 0 38px #e9c8ffdf, 0 2px 15px #180b2d; } }
.transition-running .topbar, .transition-running .footer, .transition-running .transition-instruction { opacity: 0; pointer-events: none; transition: opacity .25s; }
.live-revealed #liveFrame { visibility: visible; pointer-events: auto; }
.transition-running #liveFrame { pointer-events: none; }
.live-revealed #wormhole, .live-revealed #wormholeCharacter, .live-revealed #exitVeil, .live-revealed .shade, .live-revealed .topbar, .live-revealed .footer { visibility: hidden; }
.transition-running { cursor: progress; }
.transition-controls { position: fixed; z-index: 15; top: 12px; right: 14px; display: flex; gap: 8px; }
.transition-controls button, .transition-controls a { color: #b7cbd0; background: #081117c9; border: 1px solid #bfe3e42a; border-radius: 20px; padding: 8px 12px; font-size: 10px; backdrop-filter: blur(12px); }
.transition-controls button:hover, .transition-controls a:hover { color: #f0ffff; border-color: #c6ffff80; }
.transition-error { position: fixed; bottom: 110px; left: 20px; right: 20px; z-index: 14; margin: 0; text-align: center; font-size: 12px; line-height: 1.8; color: #ffe1b8; }
.smoke-fallback #transitionSmoke { background: radial-gradient(ellipse at 50% 45%, #46404b, #080a10 78%); }
@media (max-width: 600px) { .transition-instruction { bottom: 108px; } .transition-controls { top: auto; bottom: 18px; right: 18px; } }
@media (max-width: 600px) { #liveTransitionUi .transition-controls { left: auto; right: 10px; bottom: 10px; gap: 6px; } #liveTransitionUi .transition-controls button { padding: 8px; font-size: 9px; } }
@media (prefers-reduced-motion: reduce) { .transition-instruction span { animation: none; opacity: 1; } }
