/* MilkyWay LIVE v78 — immersive vertical broadcast experience.
   Original Galaxy Glass identity with familiar short-form live interaction patterns. */
#mwLiveStage:not([hidden]){background:#02040b!important;color:#fff!important;isolation:isolate}
#mwLiveStage:not([hidden]) #mwLiveMedia,
#mwLiveStage:not([hidden]) #mwLiveGrid,
#mwLiveStage:not([hidden]) #mwLiveAudioStage{position:absolute!important;inset:0!important;width:100%!important;height:100%!important}
#mwLiveStage:not([hidden]) #mwLiveMedia video,
#mwLiveStage:not([hidden]) #mwLiveGrid video{width:100%!important;height:100%!important;object-fit:cover!important;object-position:center center!important;background:#02040b}
#mwLiveStage:not([hidden]) .mw-stage-grid{z-index:0}
#mwLiveStage:not([hidden]) .mw-live-media{z-index:0}
#mwLiveStage:not([hidden])::before{content:"MILKYWAY LIVE";position:absolute;z-index:2;left:50%;top:46%;transform:translate(-50%,-50%) rotate(-24deg);white-space:nowrap;pointer-events:none;color:rgba(255,255,255,.12);font-size:clamp(1.3rem,5vw,3.4rem);font-weight:950;letter-spacing:.24em;text-shadow:0 1px 18px rgba(0,0,0,.22)}
#mwLiveStage:not([hidden])::after{z-index:3;height:58%;background:linear-gradient(180deg,rgba(0,0,0,.48) 0%,transparent 23%,transparent 47%,rgba(0,0,0,.24) 64%,rgba(0,0,0,.78) 100%);pointer-events:none}
#mwLiveStage:not([hidden]) .mw-live-title-overlay{position:absolute;z-index:7;left:14px;right:82px;bottom:calc(70px + env(safe-area-inset-bottom,0px) + 54px);color:#fff;font-size:.9rem;font-weight:750;line-height:1.35;text-shadow:0 2px 10px rgba(0,0,0,.75);overflow-wrap:anywhere;pointer-events:none;max-width:calc(100% - 110px)}
#mwLiveStage:not([hidden]) .mw-live-title-overlay[hidden]{display:none!important}
#mwLiveStage:not([hidden]) .mw-live-stage-tag{display:inline-flex!important;align-items:center;gap:6px;position:fixed!important;z-index:12!important;top:calc(74px + env(safe-area-inset-top,0px))!important;left:14px!important;right:auto!important;border-radius:7px!important;padding:4px 8px!important;background:linear-gradient(135deg,#ff315d,#e11d48)!important;color:#fff!important;font-size:.62rem!important;font-weight:950!important;letter-spacing:.12em!important;box-shadow:0 5px 18px rgba(225,29,72,.28)}
#mwLiveStage:not([hidden]) .mw-live-stage-tag::before{content:"";width:6px;height:6px;border-radius:50%;background:#fff;box-shadow:0 0 9px #fff;animation:mw77-live-pulse 1.25s ease-in-out infinite}
#mwLivePage[data-view="stage"] .mw-live-top{z-index:14!important;left:0!important;right:0!important;padding:calc(12px + env(safe-area-inset-top,0px)) 12px 12px!important;background:linear-gradient(180deg,rgba(0,0,0,.58),transparent)!important;pointer-events:none}
#mwLivePage[data-view="stage"] .mw-live-top>*{pointer-events:auto}
#mwLivePage[data-view="stage"] .mwx-host-chip{max-width:min(72vw,430px)!important;min-height:48px;padding:5px 9px 5px 5px!important;gap:9px!important;border:1px solid rgba(255,255,255,.22)!important;background:rgba(10,13,25,.48)!important;backdrop-filter:blur(16px) saturate(145%);box-shadow:0 7px 24px rgba(0,0,0,.2)}
#mwLivePage[data-view="stage"] .mwx-host-chip .mw-live-avatar{width:38px!important;height:38px!important;border:2px solid #f4c64e!important}
#mwLivePage[data-view="stage"] .mw-live-host strong{font-size:.84rem!important;color:#fff!important}
#mwLivePage[data-view="stage"] .mw-live-status{font-size:.66rem!important;color:rgba(255,255,255,.82)!important}
#mwLivePage[data-view="stage"] #mwLiveFollowHost{min-height:29px!important;padding:3px 11px!important;background:#f4c64e!important;color:#17120a!important;font-weight:900!important;border-radius:999px!important;box-shadow:0 3px 12px rgba(244,198,78,.2)}
#mwLivePage[data-view="stage"] .mw-live-count{min-height:36px!important;padding:5px 10px!important;border:1px solid rgba(255,255,255,.2)!important;background:rgba(10,13,25,.48)!important;color:#fff!important;backdrop-filter:blur(14px);font-weight:800!important}
#mwLivePage[data-view="stage"] .mw-live-exit{min-width:38px!important;width:38px!important;height:38px!important;min-height:38px!important;padding:0!important;border:1px solid rgba(255,255,255,.22)!important;background:rgba(10,13,25,.48)!important;color:#fff!important;font-size:1.25rem!important;backdrop-filter:blur(14px)}
#mwLiveStage:not([hidden]) .mw-live-comments{z-index:9!important;left:12px!important;right:76px!important;bottom:calc(70px + env(safe-area-inset-bottom,0px) + 58px)!important;max-width:min(76vw,440px)!important;max-height:min(31vh,270px)!important;gap:7px!important;padding-top:24px!important;mask-image:linear-gradient(180deg,transparent 0%,#000 18%)!important;-webkit-mask-image:linear-gradient(180deg,transparent 0%,#000 18%)!important}
#mwLiveStage:not([hidden]) .mw-live-comment{width:fit-content;max-width:100%;padding:5px 10px 5px 5px!important;border-radius:18px!important;background:rgba(4,7,15,.48)!important;border:1px solid rgba(255,255,255,.08)!important;backdrop-filter:blur(9px);box-shadow:0 3px 14px rgba(0,0,0,.12);font-size:.78rem!important}
#mwLiveStage:not([hidden]) .mw-live-comment b{color:#f7d879!important;font-size:.68rem!important}
#mwLiveStage:not([hidden]) .mw-live-comment span{color:#fff!important}
#mwLiveStage:not([hidden]) .mw-live-system{background:rgba(244,198,78,.17)!important;border-color:rgba(244,198,78,.2)!important;color:#ffe7a1!important}
#mwLiveStage:not([hidden]) .mw-live-actions{position:fixed!important;z-index:15!important;right:10px!important;bottom:calc(112px + env(safe-area-inset-bottom,0px))!important;max-height:calc(100dvh - 250px - env(safe-area-inset-top,0px) - env(safe-area-inset-bottom,0px))!important;overflow:visible!important;gap:13px!important;padding:0!important}
#mwLiveStage:not([hidden]) .mw-live-actions>button{width:48px!important;height:48px!important;min-height:48px!important;padding:10px!important;border-radius:50%!important;background:rgba(8,11,22,.52)!important;border:1px solid rgba(255,255,255,.28)!important;color:#fff!important;backdrop-filter:blur(15px) saturate(150%);box-shadow:0 5px 18px rgba(0,0,0,.22)}
#mwLiveStage:not([hidden]) .mw-live-actions>button svg{width:22px!important;height:22px!important}
#mwLiveStage:not([hidden]) .mw-live-actions .mwx-like{width:54px!important;height:54px!important;background:linear-gradient(145deg,#ff426e,#e11d48)!important;border:0!important;box-shadow:0 8px 24px rgba(225,29,72,.35)!important}
#mwLiveStage:not([hidden]) .mw-live-actions .mwx-like svg{fill:#fff!important}
#mwLiveStage[data-role="host"] .mw-live-actions .mwg-live-gift{display:none!important}
#mwLiveStage:not([hidden]) .mw-live-actions .mwg-live-gift{display:grid!important;place-items:center!important;color:#f7d879!important;border-color:rgba(247,216,121,.55)!important;background:rgba(29,22,12,.58)!important}
#mwLiveStage:not([hidden]) .mw-live-actions .mwg-live-gift .mwg-glyph{width:24px;height:24px;fill:currentColor;stroke:currentColor;stroke-width:1.1}
#mwLiveStage:not([hidden]) .mwx-hearts{z-index:8!important;right:62px!important;bottom:calc(100px + env(safe-area-inset-bottom,0px))!important;width:78px!important;height:56vh!important}
#mwLiveStage:not([hidden]) .mwx-heart{filter:drop-shadow(0 3px 8px rgba(0,0,0,.4))}
#mwLiveStage:not([hidden]) .mwx-bar{position:fixed!important;z-index:16!important;left:0!important;right:0!important;bottom:0!important;display:flex!important;align-items:center!important;padding:8px 12px calc(12px + env(safe-area-inset-bottom,0px))!important;background:linear-gradient(180deg,transparent,rgba(0,0,0,.72))!important}
#mwLiveStage:not([hidden]) .mw-live-compose{min-height:48px!important;padding:4px 5px 4px 15px!important;border:1px solid rgba(255,255,255,.25)!important;background:rgba(7,10,20,.55)!important;backdrop-filter:blur(16px)!important}
#mwLiveStage:not([hidden]) .mw-live-compose input{min-height:38px!important;color:#fff!important;font-size:15px!important}
#mwLiveStage:not([hidden]) .mw-live-compose input::placeholder{color:rgba(255,255,255,.7)!important}
#mwLiveStage:not([hidden]) .mw-live-compose button{background:#f4c64e!important;color:#211900!important}
#mwLiveStage:not([hidden]) #mwLiveEndBtn{background:rgba(225,29,72,.86)!important;border-color:rgba(255,255,255,.24)!important}
#mwLiveStage:not([hidden]) .mwx-taskbar{z-index:17!important}
#mwLiveStage:not([hidden]) .mw-live-settings{z-index:30!important}
#mwLiveStage:not([hidden]) #mwLiveSheetBackdrop{z-index:29!important}
#mwLiveStage[data-mode="audio"]::before{opacity:.16;top:40%;font-size:clamp(1.5rem,7vw,4rem)}
#mwLiveStage[data-mode="audio"] #mwLiveAudioStage{background:radial-gradient(ellipse at 50% 35%,rgba(70,89,160,.82),#070b18 65%,#02040b)!important}
#mwLiveStage[data-mode="audio"] #mwLiveAudioOrbit{filter:drop-shadow(0 0 28px rgba(130,155,255,.45))}
#mwLiveStage[data-typing="true"] .mw-live-actions{visibility:hidden!important}
@keyframes mw77-live-pulse{50%{opacity:.45;transform:scale(.82)}}
@media(max-width:380px){#mwLivePage[data-view="stage"] .mwx-host-chip{max-width:65vw!important}#mwLiveStage:not([hidden]) .mw-live-actions{right:7px!important;gap:9px!important}#mwLiveStage:not([hidden]) .mw-live-actions>button{width:43px!important;height:43px!important;min-height:43px!important}#mwLiveStage:not([hidden]) .mw-live-actions .mwx-like{width:49px!important;height:49px!important}}
@media(min-width:700px){#mwLiveStage:not([hidden]) .mw-live-comments{max-width:420px!important}#mwLiveStage:not([hidden]) .mw-live-actions{right:max(24px,calc((100vw - 900px)/2))!important}#mwLiveStage:not([hidden]) .mw-live-title-overlay{left:max(24px,calc((100vw - 900px)/2))!important}}

/* MilkyWay stage chrome: keep the broadcast immersive while giving the host and audience clear control zones. */
#mwLivePage[data-view="stage"] .mw-live-shell{width:100%;max-width:none;min-height:100dvh}
#mwLivePage[data-view="stage"] .mw-live-top{left:50%!important;right:auto!important;z-index:920!important;width:min(100%,980px)!important;padding:calc(16px + env(safe-area-inset-top,0px)) clamp(14px,3vw,26px) 12px!important;background:linear-gradient(180deg,rgba(3,8,22,.58),transparent)!important;transform:translateX(-50%)!important}
#mwLivePage[data-view="stage"] .mwx-host-chip{max-width:min(58vw,390px)!important;background:rgba(6,15,32,.7)!important;border-color:rgba(125,211,252,.24)!important;box-shadow:0 10px 30px rgba(0,0,0,.2),inset 0 1px rgba(255,255,255,.12)}
#mwLivePage[data-view="stage"] .mw-live-count,#mwLivePage[data-view="stage"] .mw-live-exit{min-height:42px!important;border:1px solid rgba(255,255,255,.2)!important;background:rgba(6,15,32,.68)!important;box-shadow:0 8px 24px rgba(0,0,0,.18);backdrop-filter:blur(12px)}
#mwLivePage[data-view="stage"] .mw-live-exit{width:42px!important;height:42px!important;min-width:42px!important;padding:0!important;border-radius:50%!important;font-size:1.35rem!important}
#mwLiveStage:not([hidden]) .mwx-brand-watermark{position:absolute;z-index:2;left:clamp(14px,4vw,30px);bottom:calc(112px + env(safe-area-inset-bottom,0px));display:block!important;width:clamp(58px,10vw,82px);opacity:.58;filter:drop-shadow(0 2px 9px rgba(0,0,0,.65));pointer-events:none}
#mwLiveStage:not([hidden]) .mwx-brand-watermark img{display:block;width:100%;height:auto}
#mwLiveStage:not([hidden])::before{content:none!important;display:none!important}
#mwLiveStage:not([hidden]) .mw-live-stage-tag,#mwLiveStage:not([hidden]) #mwLiveEndBtn{display:none!important}
#mwLiveStage:not([hidden]) #mwLiveAudioStage{background:radial-gradient(ellipse at 50% 34%,rgba(61,156,255,.24),transparent 42%),radial-gradient(ellipse at 50% 100%,rgba(244,198,78,.1),transparent 50%),#071326!important;color:#f8fafc!important}
#mwLiveStage:not([hidden]) #mwLiveAudioStage h2{color:#f8fafc!important}
#mwLiveStage:not([hidden]) #mwLiveAudioStage p{color:rgba(226,232,240,.78)!important}
#mwLiveStage:not([hidden]) .mw-live-actions{right:max(14px,calc((100vw - 940px)/2 + 14px))!important;bottom:calc(120px + env(safe-area-inset-bottom,0px))!important;z-index:10;gap:clamp(8px,1.3vh,12px);max-height:calc(100dvh - 300px - env(safe-area-inset-top,0px) - env(safe-area-inset-bottom,0px));padding:4px}
#mwLiveStage:not([hidden]) .mw-live-actions button{width:46px!important;height:46px!important;min-height:46px!important;border-color:rgba(125,211,252,.24)!important;background:rgba(7,18,38,.76)!important;box-shadow:0 6px 20px rgba(0,0,0,.24),inset 0 1px rgba(255,255,255,.12)}
#mwLiveStage:not([hidden]) .mw-live-actions .mwx-like{width:50px!important;height:50px!important;color:#fff;background:linear-gradient(145deg,#38bdf8,#2563eb)!important;box-shadow:0 8px 24px rgba(37,99,235,.35)}
#mwLiveStage:not([hidden]) .mw-live-actions #mwLiveRequest[data-pending="true"]{background:linear-gradient(135deg,#fde68a,#f59e0b)!important;color:#1a1400!important}
#mwLivePage[data-view="stage"] .mwx-bar{z-index:17!important;gap:9px!important;padding:10px clamp(14px,3vw,26px) calc(12px + env(safe-area-inset-bottom,0px))!important;background:linear-gradient(0deg,rgba(3,8,22,.94),rgba(3,8,22,.58) 68%,transparent)!important}
#mwLivePage[data-view="stage"] .mw-live-compose{width:min(100%,680px);margin-inline:auto;padding:4px 5px 4px 16px;border-color:rgba(125,211,252,.24);background:rgba(7,18,38,.78)}
#mwLivePage[data-view="stage"] .mw-live-compose button{background:linear-gradient(135deg,#67e8f9,#38bdf8)!important;color:#082f49!important}
#mwLivePage[data-view="stage"] .mwx-taskbar{width:min(100%,680px);margin-inline:auto;border-color:rgba(125,211,252,.22);background:rgba(10,22,44,.78);box-shadow:0 10px 28px rgba(0,0,0,.22),inset 0 1px rgba(255,255,255,.1)}
#mwLivePage[data-view="stage"] .mwx-taskbar>button{min-height:48px!important}
#mwLivePage[data-view="stage"] .mwx-taskbar>button[aria-expanded="true"],#mwLivePage[data-view="stage"] .mwx-taskbar #mwLiveSound[aria-pressed="true"]{color:#fde68a!important;background:rgba(250,204,21,.14)!important}
#mwLiveStage:not([hidden]) .mw-live-comments{left:clamp(14px,4vw,30px);right:76px;max-width:min(420px,calc(100% - 104px));text-shadow:0 1px 5px rgba(0,0,0,.82)}
#mwLiveStage:not([hidden]) .mw-live-comment{border:1px solid rgba(255,255,255,.1);border-radius:14px;background:rgba(5,13,28,.46);backdrop-filter:blur(8px)}
#mwLiveStage:not([hidden]) .mw-live-title-overlay{left:clamp(14px,4vw,30px);right:78px;max-width:calc(100% - 108px);padding:8px 11px;border:1px solid rgba(125,211,252,.2);border-radius:14px;background:rgba(5,13,28,.48);backdrop-filter:blur(8px)}
@media(max-height:640px){#mwLiveStage:not([hidden]) .mwx-brand-watermark{width:50px;bottom:calc(92px + env(safe-area-inset-bottom,0px))}#mwLiveStage:not([hidden]) .mw-live-actions{max-height:calc(100dvh - 230px - env(safe-area-inset-top,0px) - env(safe-area-inset-bottom,0px))}#mwLiveStage:not([hidden]) .mw-live-actions button{width:40px!important;height:40px!important;min-height:40px!important}#mwLivePage[data-view="stage"] .mwx-taskbar>button{min-height:42px!important}}
@media(prefers-reduced-transparency:reduce){#mwLivePage[data-view="stage"] .mw-live-count,#mwLivePage[data-view="stage"] .mw-live-exit,#mwLivePage[data-view="stage"] .mw-live-compose,#mwLivePage[data-view="stage"] .mwx-taskbar,#mwLiveStage:not([hidden]) .mw-live-comment,#mwLiveStage:not([hidden]) .mw-live-title-overlay{backdrop-filter:none;background:rgba(5,13,28,.94)}}
@media(prefers-reduced-motion:reduce){#mwLiveStage:not([hidden]) .mw-live-stage-tag::before{animation:none!important}}
/* Modern back control: glass pill with a chevron, matching the short-form LIVE chrome */
#mwLivePage.mw-live-page .mw-live-exit[data-action="close"]{display:inline-flex!important;align-items:center;justify-content:center;gap:6px;width:auto!important;min-width:44px!important;height:40px!important;min-height:40px!important;padding:0 16px 0 10px!important;border:1px solid rgba(255,255,255,.22)!important;border-radius:999px!important;background:linear-gradient(180deg,rgba(255,255,255,.16),rgba(255,255,255,.06)),rgba(8,12,24,.62)!important;color:#fff!important;font:700 .86rem/1 inherit!important;letter-spacing:.01em;box-shadow:0 6px 20px rgba(0,0,0,.28),inset 0 1px 0 rgba(255,255,255,.18)!important;-webkit-backdrop-filter:blur(16px) saturate(1.4);backdrop-filter:blur(16px) saturate(1.4);transition:transform .15s ease,background-color .15s ease}
#mwLivePage.mw-live-page .mw-live-exit[data-action="close"]::before{content:"";width:18px;height:18px;flex:none;background:currentColor;-webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m15 5-7 7 7 7'/%3E%3C/svg%3E") center/contain no-repeat;mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m15 5-7 7 7 7'/%3E%3C/svg%3E") center/contain no-repeat}
#mwLivePage.mw-live-page .mw-live-exit[data-action="close"]:active{transform:scale(.95)}
#mwLivePage.mw-live-page .mw-live-exit[data-action="close"]:focus-visible{outline:2px solid #f4c64e;outline-offset:2px}
#mwLivePage.mw-live-page[data-view="stage"] .mw-live-exit[data-action="close"]{background:linear-gradient(180deg,rgba(255,80,110,.5),rgba(255,40,80,.32)),rgba(8,12,24,.62)!important;border-color:rgba(255,120,145,.5)!important}
