/* Camera preparation only; broadcast, feed, messaging and story viewers are outside this scope. */
body.gm26-capture-page{background:#09090c!important;overflow:hidden!important;margin:0!important;padding:0!important}
body.gm26-capture-page>.topbar,body.gm26-capture-page>.bottom-nav,body.gm26-capture-page .desktop-app-menu{display:none!important}
.gm26-live{position:fixed!important;inset:0!important;width:min(100%,620px)!important;max-width:none!important;height:100dvh!important;min-height:0!important;margin:0 auto!important;padding:0!important;border:0!important;border-radius:0!important;color:#fff!important;background:#141419!important;overflow:hidden!important;font:14px/1.4 Arial,system-ui,sans-serif!important}
.gm26-live *{box-sizing:border-box}.gm26-live [hidden]{display:none!important}
.gm26-live> .ls-heading,.gm26-live>.ls-progress,.gm26-live .ls-step-footer,.gm26-live .ls-preview-top,.gm26-live #cameraState,.gm26-live .ls-step[data-step="2"],.gm26-live .ls-step[data-step="3"]{display:none!important}
.gm26-live .ls-step[data-step="1"]{display:block!important}.gm26-live #liveStudioForm{position:relative;width:100%;height:100%;isolation:isolate;margin:0}
.gm26-live .ls-preview,.gm26-live #liveStudioPreview{position:absolute!important;inset:0!important;border-radius:0!important;width:100%!important;height:100%!important;aspect-ratio:auto!important;background:#15151a!important;box-shadow:none!important}
.gm26-live #localVideo,.gm26-live #liveCoverPreview{width:100%!important;height:100%!important;object-fit:cover!important;background:transparent!important}
.gm26-live #liveStudioForm:after{content:'';position:absolute;inset:0;z-index:1;pointer-events:none;background:linear-gradient(#0007,transparent 29%,transparent 47%,#0009 77%,#09090c 100%)}
.gm26-live .ls-preview-message{inset:30% 14% 40%!important;background:#19191de8!important;color:#fff!important;z-index:2!important}
.gm26-header{position:absolute;left:16px;right:16px;top:calc(12px + env(safe-area-inset-top));display:flex;align-items:center;justify-content:center;height:38px;z-index:4}
.gm26-brand{font-size:22px;font-style:italic;font-weight:700;color:#fff;position:relative}.gm26-brand:after{content:'';position:absolute;width:47%;height:3px;right:0;bottom:-3px;background:linear-gradient(90deg,#009e60 0 33%,#ffdb25 33% 66%,#1688d4 66%)}
.gm26-close{position:absolute;left:0;display:grid;place-items:center;width:44px;height:44px;color:#fff;text-decoration:none}
.gm26-title{position:absolute;top:calc(65px + env(safe-area-inset-top));left:24%;right:24%;z-index:4}
.gm26-live .gm26-title #lsTitle{display:block;width:100%;height:42px;margin:0;padding:8px;border:1px solid #ffffff35;border-radius:13px;background:#ffffff26;color:#fff;text-align:center;font:16px Arial,sans-serif}
.gm26-title input::placeholder{color:#dedee2}.gm26-title input:focus-visible{outline:2px solid #fff;outline-offset:3px}
.gm26-hint{position:absolute;top:calc(114px + env(safe-area-inset-top));left:15%;right:15%;margin:0;padding:8px 5px;z-index:3;background:#0005;border-radius:16px;text-align:center;font-size:13px;color:#eee}
.gm26-tools{position:absolute;bottom:calc(181px + env(safe-area-inset-bottom));left:9%;right:9%;z-index:4}.gm26-tools-primary,.gm26-tools-secondary{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:6px}.gm26-tools-secondary{grid-template-columns:repeat(2,minmax(0,1fr));width:66%;margin:16px auto 0}
.gm26-tool{display:flex!important;flex-direction:column;align-items:center;justify-content:center;gap:5px;min-width:0;min-height:44px;padding:3px!important;border:0!important;border-radius:0!important;background:transparent!important;color:inherit!important;font:12px Arial,sans-serif!important;box-shadow:none!important;cursor:pointer}
.gm26-tool svg,.gm26-close svg{display:block;width:26px;height:26px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}.gm26-tool:focus-visible,.gm26-close:focus-visible{outline:2px solid currentColor!important;outline-offset:3px}
.gm26-live .gm26-launch{position:absolute;left:14%;right:14%;bottom:calc(111px + env(safe-area-inset-bottom));height:53px;border:0;border-radius:40px;background:#ff1e56;color:white;z-index:4;font:700 21px Arial,sans-serif;cursor:pointer}
.gm26-launch:disabled{opacity:.6}.gm26-bottom{position:absolute;left:8%;right:8%;bottom:calc(63px + env(safe-area-inset-bottom));display:flex;align-items:center;justify-content:center;gap:8px;z-index:4}.gm26-bottom .gm26-tool{flex-direction:row!important;font-size:12px!important;gap:7px}.gm26-bottom .gm26-tool:first-child{padding-right:14px!important;border-right:1px solid #ffffff50!important}.gm26-bottom svg{width:20px;height:20px}
.gm26-tabs,.gm26-story-tabs{position:absolute;left:0;right:0;bottom:calc(14px + env(safe-area-inset-bottom));display:flex;justify-content:center;gap:30px;z-index:4;color:#9b9b9e;font-size:13px;font-weight:700}.gm26-tabs a,.gm26-story-tabs a{color:inherit;text-decoration:none}.gm26-tabs .active,.gm26-story-tabs .active{color:#fff;position:relative}.gm26-tabs .active:after,.gm26-story-tabs .active:after{content:'';position:absolute;height:3px;background:#fff;bottom:-9px;left:0;right:0;border-radius:4px}
.gm26-live>.ls-alert,.gm26-live #lsNotice:not([hidden]),.gm26-live .gm26-status{position:absolute!important;left:8%;right:8%;top:calc(160px + env(safe-area-inset-top));z-index:8;background:#242428ed!important;color:#fff!important;padding:10px!important;border:1px solid #ffffff38;border-radius:12px;margin:0;font-size:13px}
.gm26-sheet{position:fixed;inset:auto 0 0;width:min(100%,620px);max-width:100%;max-height:74dvh;margin:0 auto;padding:0 0 env(safe-area-inset-bottom);border:0;border-radius:20px 20px 0 0;background:#202024;color:#fff;font:14px/1.5 Arial,sans-serif;overscroll-behavior:contain;box-shadow:0 -8px 40px #0005}
.gm26-sheet::backdrop{background:#0004}.gm26-sheet>header{position:sticky;top:0;z-index:2;display:flex;align-items:center;justify-content:space-between;padding:8px 16px;background:#202024;border-bottom:1px solid #ffffff12}.gm26-sheet>header>b{font-size:15px}.gm26-sheet-body{padding:16px;overflow-wrap:anywhere}.gm26-sheet-body .gm26-status{position:static!important;border:0!important;background:transparent!important;padding:10px 0!important;margin:0!important;font-size:13px;color:#e3e3e8}
.gm26-sheet .ls-controls{background:#202024;color:#fff;margin-bottom:12px}.gm26-sheet .ls-field,.gm26-sheet .ls-options-title,.gm26-sheet .ls-switch-row,.gm26-sheet .ls-layout{color:#fff!important}.gm26-sheet .ls-options,.gm26-sheet .ls-switch-row,.gm26-sheet .ls-layout{background:#2c2c30!important;border-color:#444!important}.gm26-sheet .ls-modes{background:#2c2c30;border:0}.gm26-sheet .ls-modes span{color:#ddd}.gm26-sheet .ls-modes input:checked+span{background:#ff1e56}.gm26-sheet .ls-setting-note{color:#ccc}.gm26-sheet .ls-filters{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:15px;overflow:visible}.gm26-sheet .ls-filters button{color:#eee;min-width:0}.gm26-sheet .ls-filter-heading h2{color:#fff}.gm26-sheet .ls-filters i{width:54px;height:60px}.gm26-sheet input,.gm26-sheet select{font-size:16px!important}.gm26-lenses{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}.gm26-lens{display:flex;flex-direction:column;align-items:center;gap:6px;min-width:0;background:transparent;color:#fff;border:0;padding:3px;font:12px Arial,sans-serif}.gm26-lens img,.gm26-lens svg{width:50px;height:50px;object-fit:cover;border-radius:10px;fill:none;stroke:currentColor;stroke-width:1.5}.gm26-lens[aria-pressed=true]{outline:2px solid #ff1e56;border-radius:10px}.gm26-lens span{overflow-wrap:anywhere}
/* The Story camera stays owned by the established capture and upload modules. */
.gm26-story.gm-studio{background:#101014!important}.gm26-story .gm-studio-shell{background:#101014!important;border-radius:0!important;max-width:620px!important;position:relative!important}.gm26-story .gm-studio-stage{background:#17171b!important}.gm26-story .gm-studio-header{background:transparent!important;color:#fff!important;z-index:5}.gm26-story .gm-studio-header b{font-style:italic}.gm26-story .gm-studio-bottom{background:linear-gradient(transparent,#101014)!important;color:#fff!important;padding-bottom:65px!important}.gm26-story .gm-studio-side{color:#fff!important}.gm26-story .gm-studio-shutter{background:#fff!important;border:4px solid #ffffff70!important;box-shadow:0 0 0 3px #17171b,0 0 0 5px #fff!important}.gm26-story.is-recording .gm-studio-shutter{background:#ff1e56!important}.gm26-story .gm-studio-sheet{background:#242428!important;color:#fff!important}.gm26-story .gm-studio-sheet button,.gm26-story .gm-studio-sheet b,.gm26-story .gm-studio-sheet label{color:#fff!important}.gm26-story .gm-studio-tabs button[aria-pressed=true]{background:#ff1e56!important}.gm26-story-return{font:12px Arial,sans-serif!important}.gm26-story-tabs{bottom:calc(20px + env(safe-area-inset-bottom))}
@media(max-height:650px){.gm26-hint{display:none}.gm26-tools{bottom:calc(154px + env(safe-area-inset-bottom))}.gm26-tools-secondary{margin-top:5px}.gm26-launch{bottom:calc(93px + env(safe-area-inset-bottom))!important;height:46px!important}.gm26-bottom{bottom:calc(48px + env(safe-area-inset-bottom))}.gm26-tabs{bottom:calc(8px + env(safe-area-inset-bottom))}}
@media(max-width:360px){.gm26-live .gm26-launch{left:10%;right:10%}.gm26-tools{left:5%;right:5%}.gm26-tool{font-size:11px!important}.gm26-bottom{left:3%;right:3%}.gm26-bottom .gm26-tool{font-size:11px!important}.gm26-tabs{gap:25px}}
@media(prefers-reduced-motion:reduce){.gm26-live *,.gm26-story *{scroll-behavior:auto!important;transition:none!important;animation:none!important}}
.gm26-tools-secondary{grid-template-columns:repeat(3,minmax(0,1fr));width:82%}.gm26-tool:disabled{opacity:.45;cursor:default}.gm26-header-tools{position:absolute;right:0;display:flex;align-items:center;gap:12px}.gm26-header-tools>a{display:grid;place-items:center;min-width:32px;height:44px;color:#fff}.gm26-header-tools svg{width:25px;height:25px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}.gm26-header-tools .gm26-tool span{display:none}.gm26-header-tools .gm26-tool{min-width:32px}
@media(max-width:360px){.gm26-header{left:10px;right:10px}.gm26-brand{font-size:18px}.gm26-header-tools{gap:5px}.gm26-header-tools>a,.gm26-header-tools .gm26-tool{min-width:28px}.gm26-header-tools svg{width:22px;height:22px}}

@media(max-width:360px){.gm26-live .gm26-launch{font-size:18px}}
/* V27 — translucent filter sheets, countdown, and scoped removal of the top strip. */
.gm26-sheet{background:rgb(20 20 24 / 28%)!important;backdrop-filter:blur(16px);-webkit-backdrop-filter:blur(16px);box-shadow:0 -6px 30px #0002}
.gm26-sheet>header{background:rgb(20 20 24 / 12%)!important}.gm26-sheet::backdrop{background:transparent!important}.gm26-sheet-body{background:transparent!important}
.gm26-snap .gm26-lenses,.gm26-snap .gm26-lens{background:transparent!important}.gm26-snap .gm26-status{color:white!important;text-shadow:0 1px 4px #000}
body.gm26-capture-page .gm-live-snap-studio-settings{display:none!important}
body.gm26-capture-page header.gm-brand-header,body.gm26-story-page:has(.gm-studio:not([hidden])) header.gm-brand-header{display:none!important}
body.gm26-capture-page header.gm-brand-header::after,body.gm26-story-page header.gm-brand-header::after,body.gm27-live-page header.gm-brand-header::after{display:none!important;content:none!important}
body.gm27-live-page .gm-live-snap-dialog{background:rgb(20 20 24 / 28%)!important;color:#fff!important;backdrop-filter:blur(16px);-webkit-backdrop-filter:blur(16px)}
body.gm27-live-page .gm-live-snap-dialog::backdrop{background:transparent!important}
body.gm27-live-page .gm-live-snap-dialog>header,body.gm27-live-page .gm-live-snap-controls,body.gm27-live-page .gm-live-snap-grid{background:transparent!important;color:#fff!important}
body.gm27-live-page .gm-live-snap-status,body.gm27-live-page .gm-live-snap-dialog header b{color:#fff!important;text-shadow:0 1px 4px #000}
.gm27-countdown{position:absolute;inset:0;z-index:50;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:18px;background:#0002;color:#fff;text-align:center}
.gm27-countdown[hidden]{display:none!important}.gm27-countdown-number{display:block;font:700 clamp(90px,24vw,150px)/1 Arial,sans-serif;text-shadow:0 4px 25px #0008;font-variant-numeric:tabular-nums}
.gm27-countdown p{font:16px/1.4 Arial,sans-serif;text-shadow:0 1px 5px #000}.gm27-countdown-cancel{min-height:44px;padding:10px 24px;border:1px solid #ffffff80;border-radius:30px;background:#0004;color:#fff;font:16px Arial,sans-serif;cursor:pointer}
.gm27-leaving .gm27-countdown{background:#0001}.gm27-handoff-holder{position:relative}.gm27-handoff{position:absolute;inset:0;z-index:6;overflow:hidden;pointer-events:none;background:#111;opacity:1;transition:opacity 220ms ease-out}
.gm27-handoff img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}.gm27-handoff span{position:absolute;left:15%;right:15%;top:18%;padding:10px 16px;border-radius:25px;background:#0005;color:#fff;text-align:center;font:14px/1.5 Arial,sans-serif}.gm27-handoff-ready{opacity:0}
@media(prefers-reduced-motion:reduce){.gm27-handoff{transition:none}}
/* User-requested fixed black top bar; an observed spacer preserves the original flow. */
html.gm-ui-v21 header.gm-brand-header.gm27-header-fixed,header.gm-brand-header.gm27-header-fixed{position:fixed!important;inset:0 0 auto!important;width:100%!important;max-width:none!important;margin:0!important;z-index:100!important;transform:none!important;transition:none!important;background:#080909!important;color:#fff!important}
header.gm-brand-header.gm27-header-fixed::after{display:none!important;content:none!important}
.gm27-header-spacer{width:100%;flex:none;pointer-events:none}
.gm26-live .gm26-header{position:fixed!important;left:50%!important;right:auto!important;top:0!important;transform:translateX(-50%);width:min(100%,620px);height:calc(56px + env(safe-area-inset-top));padding:env(safe-area-inset-top) 16px 0;background:#080909;z-index:10}
.gm26-live .gm26-header .gm26-close{left:12px}.gm26-live .gm26-header-tools{right:12px}
/* Restore the thin Gabon tricolor under the fixed black header. */
html body header.gm-brand-header.gm27-header-fixed::after,
html.gm-ui-v21 body header.gm-brand-header::after,
html body .gm26-live .gm26-header::after{
 content:""!important;display:block!important;position:absolute!important;
 inset:auto 0 0!important;height:4px!important;pointer-events:none!important;
 background:linear-gradient(90deg,#009e60 0 33.333%,#fcd116 33.333% 66.666%,#1670d5 66.666%)!important;
 z-index:1;
}
/* Header spacing: keep native buttons and routes, reserve clear 44px touch targets. */
html.gm-ui-v21 body header.gm-brand-header{
 box-sizing:border-box!important;height:72px!important;min-height:72px!important;
 padding-left:16px!important;padding-right:16px!important;column-gap:18px!important;
 align-items:center!important;justify-content:space-between!important;overflow:visible!important;
}
html.gm-ui-v21 body header.gm-brand-header .gm-brand-anchor{flex:0 1 auto!important;min-width:0!important;max-width:calc(100% - 230px)}
html.gm-ui-v21 body header.gm-brand-header :is(.top-actions,.landing-actions){
 display:flex!important;align-items:center!important;justify-content:flex-end!important;
 gap:12px!important;flex:0 0 auto!important;min-width:0!important;margin:0!important;padding:0!important;overflow:visible!important;
}
html.gm-ui-v21 body header.gm-brand-header :is(.page-exit-btn,.notification-bell,.mobile-menu-btn,.top-avatar){
 position:relative!important;inset:auto!important;display:flex!important;align-items:center!important;justify-content:center!important;
 width:44px!important;min-width:44px!important;height:44px!important;min-height:44px!important;
 flex:0 0 44px!important;margin:0!important;padding:0!important;transform:none!important;color:#fff!important;font-size:22px!important;
}
html.gm-ui-v21 body header.gm-brand-header .top-avatar img{width:34px!important;height:34px!important;object-fit:cover!important;display:block!important}
html.gm-ui-v21 body header.gm-brand-header .gm-brand-bell>svg:not(.gm-ui-icon):not(.gm-brand-action-icon){display:none!important}
html.gm-ui-v21 body header.gm-brand-header .gm-brand-bell :is(svg.gm-ui-icon,svg.gm-brand-action-icon){display:block!important;width:22px!important;height:22px!important;fill:none!important;stroke:#fff!important;flex:none!important}
html.gm-ui-v21 body header.gm-brand-header .gm-brand-bell :is([data-notification-count],.notification-count){
 top:-3px!important;right:-2px!important;left:auto!important;bottom:auto!important;min-width:23px!important;height:19px!important;
 padding:0 4px!important;line-height:15px!important;font-size:10px!important;white-space:nowrap!important;z-index:2!important;
}
@media(max-width:760px){
 html.gm-ui-v21 body header.gm-brand-header{padding-left:12px!important;padding-right:12px!important;column-gap:12px!important}
 html.gm-ui-v21 body header.gm-brand-header :is(.top-actions,.landing-actions){gap:10px!important}
 html.gm-ui-v21 body header.gm-brand-header .gm-brand-anchor{max-width:calc(100% - 218px)}
 html.gm-ui-v21 body header.gm-brand-header .gm-brand-panther{width:26px!important;flex-basis:26px!important;height:28px!important}
 html.gm-ui-v21 body header.gm-brand-header .gm-brand-name{font-size:14px!important;letter-spacing:-.35px!important}
}
@media(max-width:380px) and (min-width:360px){
 html.gm-ui-v21 body header.gm-brand-header{padding-left:10px!important;padding-right:10px!important;column-gap:8px!important}
 html.gm-ui-v21 body header.gm-brand-header :is(.top-actions,.landing-actions){gap:8px!important}
 html.gm-ui-v21 body header.gm-brand-header .gm-brand-anchor{max-width:calc(100% - 208px)}
 html.gm-ui-v21 body header.gm-brand-header .gm-brand-name{font-size:13px!important}
 html.gm-ui-v21 body header.gm-brand-header .gm-brand-panther{width:24px!important;flex-basis:24px!important}
}
@media(max-width:359px){
 html.gm-ui-v21 body header.gm-brand-header{height:auto!important;min-height:110px!important;padding:10px 12px 12px!important;flex-wrap:wrap!important;justify-content:center!important;row-gap:8px!important}
 html.gm-ui-v21 body header.gm-brand-header .gm-brand-anchor{flex:1 1 100%!important;max-width:none!important;display:flex!important;justify-content:center!important}
 html.gm-ui-v21 body header.gm-brand-header :is(.top-actions,.landing-actions){justify-content:center!important;gap:14px!important}
 html.gm-ui-v21 body header.gm-brand-header .gm-brand-name{font-size:14px!important}
}
/* Apply the same fixed black chrome to native headers on every application page. */
html.gm-ui-v21 body header.topbar.gm27-header-fixed,
html.gm-ui-v21 body header.public-topbar.gm27-header-fixed{
 position:fixed!important;inset:0 0 auto!important;margin:0!important;width:100%!important;max-width:none!important;
 z-index:100!important;transform:none!important;transition:none!important;background:#080909!important;color:#fff!important;
}
html.gm-ui-v21 body header.topbar.gm27-header-fixed::after,
html.gm-ui-v21 body header.public-topbar.gm27-header-fixed::after{
 content:""!important;display:block!important;position:absolute!important;inset:auto 0 0!important;height:4px!important;
 background:linear-gradient(90deg,#009e60 0 33.333%,#fcd116 33.333% 66.666%,#1670d5 66.666%)!important;
 pointer-events:none!important;z-index:1;
}
