/* Deliberately theme-isolated: all selectors scoped to our floating recognizer. */
#mg-rec-fab{position:fixed;right:max(18px,env(safe-area-inset-right));bottom:max(22px,env(safe-area-inset-bottom));z-index:900;display:flex;align-items:center;gap:9px;padding:13px 20px;border:1px solid #4b6680;border-radius:999px;background:#121c2a;color:#eaf5ff;box-shadow:0 12px 38px #0009;font:700 14px/1.2 system-ui;cursor:pointer}
#mg-rec-fab span:first-child{font-size:23px;color:#68e3ce}#mg-rec-fab:hover{background:#22364b}
.mg-rec-backdrop{position:fixed;inset:0;z-index:900;background:#060c17b8;border:0;width:100%;height:100%;cursor:default}
.mg-rec-panel{position:fixed;z-index:901;bottom:85px;right:18px;width:min(420px,calc(100vw - 28px));max-height:min(82dvh,740px);overflow:auto;border:1px solid #35495c;border-radius:22px;background:#101d2c;color:#f4f8fe;box-shadow:0 25px 100px #000a;padding:0;font:400 14px/1.5 system-ui;isolation:isolate}
.mg-rec-panel,.mg-rec-panel *{box-sizing:border-box}
.mg-rec-panel button,.mg-rec-panel input{font:inherit}
.mg-rec-panel button{cursor:pointer}
.mg-rec-panel h2,.mg-rec-panel h3,.mg-rec-panel p{margin:0}
.mg-rec-heading{display:flex;justify-content:space-between;align-items:flex-start;gap:12px;padding:22px 22px 6px}
.mg-rec-heading h2{font:750 25px/1.2 system-ui;color:#fff;margin:4px 0}
.mg-rec-kicker{font:700 10px/1.3 system-ui;letter-spacing:.14em;color:#77e2d5}
.mg-rec-heading [data-rec-close]{width:34px;height:34px;border-radius:50%;border:1px solid #456078;background:#24374a;color:#fff;font-size:25px;line-height:1}
.mg-rec-panel .recognition-shell{margin:0;padding:6px 22px 12px;max-width:none;text-align:left;border:0;background:transparent;box-shadow:none}
.mg-rec-panel .recognition-orb{display:none}
.mg-rec-panel .recognition-shell>p:first-of-type{color:#a9bbcd;font-size:13px}
.mg-rec-panel .recognition-controls{display:flex;gap:9px;flex-wrap:wrap;margin:15px 0}
.mg-rec-panel .recognition-controls button,.mg-rec-panel .recognition-file{border:1px solid #49617a;background:#21334a;color:#ecf4ff;border-radius:11px;padding:11px 14px;min-height:44px;font-weight:650}
.mg-rec-panel [data-rec-action=device]{background:#65dfc8;color:#10202b;border-color:#65dfc8}
.mg-rec-panel .recognition-file{position:relative;overflow:hidden;display:inline-flex;align-items:center}
.mg-rec-panel .recognition-file input{position:absolute;inset:0;opacity:0;width:100%;height:100%;cursor:pointer}
.mg-rec-panel .recognition-shell .small{font-size:11px;color:#9fb0c3}
.mg-rec-panel [data-rec-status]{margin:12px 0 5px;color:#cbe8f0;min-height:24px;font-weight:600}
.mg-rec-panel .recognition-results,.mg-rec-panel .recognition-history{margin:0 22px 16px;max-width:none}
.mg-rec-panel .recognition-result{background:#1b2d42;border:1px solid #3e5670;border-radius:14px;padding:16px}
.mg-rec-panel .recognition-result h2{font-size:21px;line-height:1.3;overflow-wrap:anywhere}
.mg-rec-panel .recognition-result>p:not(.mg-rec-kicker){color:#b2c9d9;margin:4px 0 12px}
.mg-rec-panel .song-services{display:flex;flex-wrap:wrap;gap:7px;margin:13px 0}
.mg-rec-panel .song-services a{display:inline-flex;gap:6px;align-items:center;padding:8px;border:1px solid #4b637b;border-radius:9px;background:#243a50;color:#fff;text-decoration:none;font-size:12px}
.mg-rec-panel .recognition-result .recognition-controls{margin:10px 0}
.mg-rec-panel .recognition-result .recognition-controls button{font-size:12px;padding:9px 11px}
.mg-rec-panel .recognition-history{border-top:1px solid #33485c;padding-top:11px}
.mg-rec-panel .recognition-history summary{cursor:pointer;color:#c0d4e5;font-size:12px;font-weight:650}
.mg-rec-panel .recognition-history [data-rec-history]{display:grid;grid-template-columns:1fr 1fr;gap:6px;margin:10px 0}
.mg-rec-panel .recognition-history-item{display:grid;text-align:left;gap:1px;border:1px solid #425a73;background:#1d3045;color:#fff;border-radius:9px;padding:8px;font-size:12px;min-width:0}
.mg-rec-panel .recognition-history-item span{color:#afc4d6}
.mg-rec-panel [data-rec-action=clear]{color:#c3d9e9;background:transparent;border:0;text-decoration:underline;font-size:12px}
#mg-rec-fab:focus-visible,.mg-rec-panel :focus-visible{outline:3px solid #8df1dd;outline-offset:3px}
@media(max-width:600px){#mg-rec-fab{bottom:max(18px,env(safe-area-inset-bottom));right:16px;padding:12px 15px}.mg-rec-panel{bottom:0;right:0;width:100%;max-height:90dvh;border-radius:20px 20px 0 0;padding-bottom:env(safe-area-inset-bottom)}.mg-rec-panel .recognition-controls{display:flex;flex-direction:row}.mg-rec-panel .recognition-history [data-rec-history]{grid-template-columns:1fr}}
@media(prefers-reduced-motion:no-preference){#mg-rec-fab{transition:transform .15s,background .15s}#mg-rec-fab:hover{transform:translateY(-2px)}}

/* Modern room — deep sage, minimal studio UI, restrained lime signal. */
body:not(.retro-experience):not(.munna-experience) #mg-rec-fab{
 background:linear-gradient(145deg,#d9ffa0,#bbec70);color:#172517;border:1px solid #dfffaa;
 box-shadow:0 0 0 4px #c9f76b1b,0 13px 38px #030b08a8;font-family:'Space Grotesk',system-ui,sans-serif;
}
body:not(.retro-experience):not(.munna-experience) #mg-rec-fab span:first-child{color:#243921}
body:not(.retro-experience):not(.munna-experience) #mg-rec-fab:hover{background:#ebffbd}
body:not(.retro-experience):not(.munna-experience) .mg-rec-panel{
 background:#171e19;border:1px solid #445648;color:#f3faef;
 box-shadow:0 24px 90px #030703c9,0 0 0 1px #b9ef6c16;
 font-family:'DM Sans',system-ui,sans-serif;
}
body:not(.retro-experience):not(.munna-experience) .mg-rec-heading h2{
 color:#f5fbf0;font-family:'Space Grotesk',system-ui,sans-serif;font-weight:750;letter-spacing:-.045em;
}
body:not(.retro-experience):not(.munna-experience) .mg-rec-kicker{color:#c9f76b}
body:not(.retro-experience):not(.munna-experience) .mg-rec-heading [data-rec-close]{background:#273529;border-color:#51634b}
body:not(.retro-experience):not(.munna-experience) .mg-rec-panel .recognition-shell>p:first-of-type,
body:not(.retro-experience):not(.munna-experience) .mg-rec-panel .recognition-shell .small{color:#b5c7b8}
body:not(.retro-experience):not(.munna-experience) .mg-rec-panel .recognition-controls button,
body:not(.retro-experience):not(.munna-experience) .mg-rec-panel .recognition-file{
 background:#27332a;color:#f1f8ed;border-color:#53634e;border-radius:12px;
}
body:not(.retro-experience):not(.munna-experience) .mg-rec-panel [data-rec-action=device]{
 background:#c9f76b;color:#1b2c16;border-color:#c9f76b;
}
body:not(.retro-experience):not(.munna-experience) .mg-rec-panel .recognition-result{
 background:linear-gradient(150deg,#2b3828,#222e23);border-color:#50684a;border-radius:15px;
}
body:not(.retro-experience):not(.munna-experience) .mg-rec-panel .song-services a,
body:not(.retro-experience):not(.munna-experience) .mg-rec-panel .recognition-history-item{
 background:#2d3b2d;color:#f3f8f0;border-color:#536c4f;
}
body:not(.retro-experience):not(.munna-experience) .mg-rec-panel [data-rec-status]{color:#dcf1c7}
body:not(.retro-experience):not(.munna-experience) .mg-rec-panel .recognition-history{border-top-color:#3b4d3e}

/* Retro — warm wooden receiver, brushed brass, analog tape/reel styling. */
body.retro-experience #mg-rec-fab{
 background:linear-gradient(180deg,#edc780,#b78645);border:2px solid #6d4726;border-radius:9px;
 color:#301e11;box-shadow:inset 0 2px #fff5bf88,inset 0 -3px #71451caa,0 12px 33px #080401b8;
 font:700 12px/1.25 'DM Mono',monospace;letter-spacing:.12em;text-transform:uppercase;
}
body.retro-experience #mg-rec-fab span:first-child{color:#5b3415}
body.retro-experience #mg-rec-fab:hover{background:#f7d9a2}
body.retro-experience .mg-rec-backdrop{background:#120b06c9}
body.retro-experience .mg-rec-panel{
 background:repeating-linear-gradient(0deg,#36291d 0 3px,#35281b 3px 4px);
 color:#f6e6c3;border:5px solid #a97b46;border-radius:11px;
 box-shadow:inset 0 0 0 2px #2b1b10,0 27px 78px #090402e8;
 font:13px/1.6 'DM Mono',monospace;
}
body.retro-experience .mg-rec-heading{
 border-bottom:2px solid #a07b4b;margin:0 17px;padding:19px 3px 14px;
}
body.retro-experience .mg-rec-heading h2{
 color:#f3d9a5;font:400 24px/1.3 'Rye',Georgia,serif;letter-spacing:.005em;
}
body.retro-experience .mg-rec-kicker{color:#e7b969;letter-spacing:.18em}
body.retro-experience .mg-rec-heading [data-rec-close]{
 border:2px solid #80623d;background:#211810;color:#e9cfa0;border-radius:5px;
}
body.retro-experience .mg-rec-panel .recognition-shell{padding-top:18px}
body.retro-experience .mg-rec-panel .recognition-orb{
 width:100%;height:66px;max-width:none;border-radius:7px;border:2px solid #92744b;
 display:flex;align-items:center;justify-content:center;margin:0 0 15px;
 background:radial-gradient(circle at 25% 50%,#e6c590 0 8px,#56402c 9px 17px,#231810 18px 21px,transparent 22px),
 radial-gradient(circle at 75% 50%,#e6c590 0 8px,#56402c 9px 17px,#231810 18px 21px,transparent 22px),
 linear-gradient(180deg,#b39061,#775939);
 color:#3c2b1c;font-size:14px;box-shadow:inset 0 0 0 6px #d2b78330;
}
body.retro-experience .mg-rec-panel .recognition-shell>p:first-of-type{color:#e4d2b2}
body.retro-experience .mg-rec-panel .recognition-shell .small{color:#c4b18e}
body.retro-experience .mg-rec-panel .recognition-controls button,
body.retro-experience .mg-rec-panel .recognition-file{
 border:2px solid #97754e;background:#463421;color:#f3dfb9;border-radius:4px;
 font:700 11px/1.4 'DM Mono',monospace;text-transform:uppercase;letter-spacing:.035em;
 box-shadow:inset 0 -3px #241509;
}
body.retro-experience .mg-rec-panel [data-rec-action=device]{
 background:linear-gradient(180deg,#f2cb85,#ca974e);color:#321e10;border-color:#ad7130;
}
body.retro-experience .mg-rec-panel [data-rec-status]{color:#f1cf91}
body.retro-experience .mg-rec-panel .recognition-result{
 border:2px solid #a47e4e;background:#2a1f15;border-radius:5px;padding:17px;
 box-shadow:inset 0 0 0 3px #403021;
}
body.retro-experience .mg-rec-panel .recognition-result h2{font:400 21px/1.4 'Rye',Georgia,serif;color:#f8e5bf}
body.retro-experience .mg-rec-panel .song-services a{
 background:#463420;color:#f3deae;border-color:#9c7a51;border-radius:4px;
}
body.retro-experience .mg-rec-panel .recognition-history{border-top:2px solid #947149}
body.retro-experience .mg-rec-panel .recognition-history summary{color:#ecd3a3}
body.retro-experience .mg-rec-panel .recognition-history-item{
 background:#342418;border-color:#816344;color:#f1d8a9;border-radius:4px;
}
body.retro-experience .mg-rec-panel .recognition-history-item span,
body.retro-experience .mg-rec-panel [data-rec-action=clear]{color:#d7bd8e}

/* Munna — nightclub control surface, cyan/violet LED strips and hardware controls. */
body.munna-experience #mg-rec-fab{
 background:linear-gradient(140deg,#161a32,#222746);color:#ecedff;
 border:1px solid #7b78e5;border-radius:14px;
 box-shadow:0 0 0 1px #2bcff42c,0 0 30px #7955ff48,0 13px 39px #020210bd;
 font:800 13px/1.3 'Bricolage Grotesque',system-ui,sans-serif;letter-spacing:.025em;
}
body.munna-experience #mg-rec-fab span:first-child{color:#4ce5ff}
body.munna-experience #mg-rec-fab:hover{background:#30335d}
body.munna-experience .mg-rec-backdrop{background:#070815c9}
body.munna-experience .mg-rec-panel{
 background:radial-gradient(circle at top right,#31255490,transparent 60%),linear-gradient(165deg,#161c32,#0a0d19);
 border:1px solid #6374ad;color:#f7f7ff;border-radius:20px;
 box-shadow:0 0 0 1px #5bd9ff22,0 0 75px #654cfa44,0 28px 100px #000e;
 font-family:'Bricolage Grotesque',system-ui,sans-serif;
}
body.munna-experience .mg-rec-panel::before{
 content:"";position:sticky;top:0;display:block;height:3px;
 background:linear-gradient(90deg,#49d9ff,#8667ff,#ff68b8);z-index:1;
}
body.munna-experience .mg-rec-heading h2{
 color:#fff;font:800 26px/1.2 'Bricolage Grotesque',system-ui,sans-serif;letter-spacing:-.02em;
}
body.munna-experience .mg-rec-kicker{color:#55e5ff}
body.munna-experience .mg-rec-heading [data-rec-close]{
 background:#232d4b;border-color:#5d688f;border-radius:10px;
}
body.munna-experience .mg-rec-panel .recognition-orb{
 width:100%;max-width:none;height:51px;display:grid;place-items:center;margin:0 0 12px;
 background:repeating-linear-gradient(90deg,transparent 0 15px,#49d9ff14 15px 20px),
 linear-gradient(90deg,#171b38,#242347);border:1px solid #4a4f9e;border-radius:9px;
 box-shadow:inset 0 0 18px #49d9ff1e;color:#5ee5ff;font-size:29px;
}
body.munna-experience .mg-rec-panel .recognition-shell>p:first-of-type{color:#c0c9e9}
body.munna-experience .mg-rec-panel .recognition-shell .small{color:#a9b6d3}
body.munna-experience .mg-rec-panel .recognition-controls button,
body.munna-experience .mg-rec-panel .recognition-file{
 background:#242b4c;border:1px solid #58649e;border-radius:10px;color:#f1f5ff;
 font:700 12px/1.4 'Bricolage Grotesque',system-ui,sans-serif;
}
body.munna-experience .mg-rec-panel [data-rec-action=device]{
 background:linear-gradient(135deg,#49d9ff,#8c83fa);color:#0b1630;border-color:#77eaff;
 box-shadow:0 3px 16px #49d9ff28;
}
body.munna-experience .mg-rec-panel [data-rec-status]{color:#7de7ff}
body.munna-experience .mg-rec-panel .recognition-result{
 background:linear-gradient(135deg,#23284b,#181c36);border:1px solid #606ba3;
 box-shadow:inset 0 0 0 1px #9c8eff16;border-radius:15px;
}
body.munna-experience .mg-rec-panel .recognition-result h2{color:#fff;font-weight:850}
body.munna-experience .mg-rec-panel .song-services a,
body.munna-experience .mg-rec-panel .recognition-history-item{
 background:#292f56;border-color:#626c9c;color:#fff;border-radius:9px;
}
body.munna-experience .mg-rec-panel .recognition-history{border-top-color:#525b8b}
body.munna-experience .mg-rec-panel .recognition-history summary,
body.munna-experience .mg-rec-panel [data-rec-action=clear]{color:#a8dfff}

/* Placement adapts to existing bottom previews, mini-Munna, mobile safe-area and fixed controls. */
body.has-preview #mg-rec-fab{bottom:calc(var(--preview-height,210px) + 22px + env(safe-area-inset-bottom))}
body.has-preview .mg-rec-panel{bottom:calc(var(--preview-height,210px) + 81px + env(safe-area-inset-bottom));max-height:min(65dvh,620px)}
body.munna-experience #mg-rec-fab{right:max(20px,env(safe-area-inset-right))}
body.munna-experience .mg-rec-panel{right:20px}
body.munna-experience .mg-rec-panel .recognition-shell{padding-top:13px}
/* Large screens reserve breathing room for the Munna dock; no overlay appears until requested. */
@media (min-width:901px){
 body.munna-experience #mg-rec-fab{bottom:24px}
 body.munna-experience.has-preview #mg-rec-fab{bottom:calc(var(--preview-height,210px) + 24px)}
}
@media (max-width:900px){
 #mg-rec-fab{right:14px;bottom:calc(18px + env(safe-area-inset-bottom));padding:12px 14px;min-height:48px}
 #mg-rec-fab span:last-child{font-size:12px}
 body.has-preview #mg-rec-fab{bottom:calc(var(--preview-height,210px) + 12px + env(safe-area-inset-bottom))}
 body.munna-experience #mg-rec-fab{right:14px}
 body.has-preview .mg-rec-panel{bottom:0;max-height:88dvh}
}
@media(max-width:600px){
 .mg-rec-panel{max-height:90dvh}
 body.retro-experience .mg-rec-panel,body.munna-experience .mg-rec-panel{right:0;bottom:0;width:100%;border-radius:16px 16px 0 0;padding-bottom:env(safe-area-inset-bottom)}
 body.has-preview .mg-rec-panel{bottom:0;max-height:91dvh}
 body.munna-experience #mg-rec-fab,body.retro-experience #mg-rec-fab{bottom:calc(18px + env(safe-area-inset-bottom))}
 body.munna-experience.has-preview #mg-rec-fab,body.retro-experience.has-preview #mg-rec-fab{bottom:calc(var(--preview-height,210px) + 12px + env(safe-area-inset-bottom))}
 body.munna-experience .mg-rec-panel{right:0}
 body.munna-experience.has-preview .mg-rec-panel{bottom:0}
 .mg-rec-panel .recognition-results,.mg-rec-panel .recognition-history{margin-inline:16px}
 .mg-rec-panel .mg-rec-heading{padding-inline:16px}
 .mg-rec-panel .recognition-shell{padding-inline:16px}
}
/* Input mode with hover absent should preserve 44px targets and keep the open sheet scrollable. */
@media(hover:none){
 #mg-rec-fab{min-height:48px}
 .mg-rec-panel .recognition-controls button,.mg-rec-panel .recognition-file,.mg-rec-panel .song-services a{min-height:44px}
}
@media(prefers-reduced-motion:reduce){
 #mg-rec-fab{transition:none!important}
}

/* Ensure the overlay remains modal above Munna's mini-walkway (z-index 1000). */
.mg-rec-backdrop{z-index:1800}.mg-rec-panel{z-index:1801}
#mg-rec-fab{z-index:1802}
body.has-preview .mg-rec-panel{max-height:min(85dvh,740px)}
.mg-rec-panel:focus-within{overscroll-behavior:contain}

/* Floating recognition shortcut — small circular control outside the room nav.
   Reserve real preview-player height as measured by ResizeObserver. */
#mg-rec-fab{
 position:fixed!important;top:auto!important;left:auto!important;
 right:max(16px,env(safe-area-inset-right))!important;
 bottom:calc(20px + env(safe-area-inset-bottom))!important;
 width:54px!important;height:54px!important;min-width:54px!important;min-height:54px!important;
 padding:0!important;border-radius:50%!important;gap:0!important;justify-content:center;
 z-index:1802!important;box-sizing:border-box;
}
#mg-rec-fab span:first-child{font-size:26px!important;line-height:1}
#mg-rec-fab span:last-child{position:absolute!important;width:1px;height:1px;padding:0;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
body.has-preview #mg-rec-fab{
 bottom:calc(var(--preview-height,210px) + 34px + env(safe-area-inset-bottom))!important;
}
@media(max-width:700px){
 #mg-rec-fab{
  right:max(14px,env(safe-area-inset-right))!important;
  bottom:calc(70px + env(safe-area-inset-bottom))!important;
  width:48px!important;height:48px!important;min-width:48px!important;min-height:48px!important;
 }
 body.has-preview #mg-rec-fab{
  bottom:calc(var(--preview-height,210px) + 30px + env(safe-area-inset-bottom))!important;
 }
}
/* Keep recognition sheet wholly within the viewport when a preview is open. */
body.has-preview .mg-rec-panel{
 max-height:min(85dvh,740px,calc(100dvh - var(--preview-height,210px) - 100px - env(safe-area-inset-bottom)))
}
@media(max-width:900px){
 .mg-rec-panel{
  position:fixed!important;top:auto!important;left:0!important;right:0!important;bottom:0!important;
  width:100%!important;max-width:100vw!important;
  max-height:min(90dvh,calc(100dvh - 12px))!important;
  overflow-y:auto!important;overscroll-behavior:contain;
  padding-bottom:max(12px,env(safe-area-inset-bottom));
 }
 .mg-rec-heading{position:sticky;top:0;z-index:5}
 .mg-rec-heading [data-rec-close]{flex:0 0 44px;min-width:44px;min-height:44px}
}

/* User-positioned floating control: viewport-constrained by recognition-position.mjs. */
#mg-rec-fab.mg-rec-user-placed{
 left:var(--mg-rec-x)!important;top:var(--mg-rec-y)!important;
 right:auto!important;bottom:auto!important;
 touch-action:none;user-select:none;-webkit-user-select:none;
}
#mg-rec-fab{touch-action:none;user-select:none;-webkit-user-select:none}
/* Keep the real native Files input visible and directly operable on iOS Safari. */
.mg-rec-panel .recognition-file[for="mg-rec-file-input"]{display:none}


/* Single-purpose recognition: compact controls with a directly operable native picker. */
.mg-rec-panel,.mg-rec-panel *{box-sizing:border-box}
.mg-rec-panel .mg-rec-intro{font-size:14px;line-height:1.5;margin:0 0 8px}
.mg-rec-panel .mg-rec-privacy{font-size:12px;line-height:1.5;opacity:.78;margin:0 0 16px}
.mg-rec-panel .recognition-controls{display:flex;flex-wrap:wrap;gap:8px;margin:12px 0}
.mg-rec-panel .recognition-controls [hidden]{display:none!important}
.mg-rec-panel .recognition-controls button{flex:1 1 145px;min-width:0;min-height:44px;padding:10px 12px}
.mg-rec-panel .mg-rec-upload{display:grid;gap:6px;min-width:0;margin:16px 0}
.mg-rec-panel .mg-rec-upload>label{font-size:12px;font-weight:700}
.mg-rec-panel .mg-rec-upload>span{font-size:11px;line-height:1.5;opacity:.72}
.mg-rec-panel .mg-rec-file-input{
 display:block;width:100%;max-width:100%;min-width:0;height:46px;padding:0;
 border:1px solid #53634e;border-radius:10px;background:#1c2920;color:#f1f8ed;
 font-family:inherit;font-size:13px;line-height:44px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;
}
.mg-rec-panel .mg-rec-file-input::file-selector-button{
 height:44px;min-height:44px;margin:0 10px 0 0;padding:0 12px;
 border:0;border-right:1px solid #53634e;border-radius:0;
 font-family:inherit;font-size:12px;font-weight:700;line-height:1.3;cursor:pointer;
}
body:not(.retro-experience):not(.munna-experience) .mg-rec-panel .mg-rec-file-input::file-selector-button{background:#c9f76b;color:#1b2c16}
body.retro-experience .mg-rec-panel .mg-rec-file-input{background:#22170f;color:#f3dfb9;border-color:#97754e;border-radius:4px;font-family:'DM Mono',monospace}
body.retro-experience .mg-rec-panel .mg-rec-file-input::file-selector-button{background:linear-gradient(#f2cb85,#ca974e);color:#321e10;border-color:#97754e}
body.munna-experience .mg-rec-panel{background:linear-gradient(145deg,#252f40,#141a26);border-color:#ffffff26;box-shadow:0 24px 80px #0009}
body.munna-experience .mg-rec-panel::before{background:linear-gradient(90deg,#ff8066,#f4c4aa)}
body.munna-experience .mg-rec-kicker,body.munna-experience .mg-rec-panel [data-rec-status]{color:#ffb49f}
body.munna-experience .mg-rec-panel [data-rec-action=device]{background:#303d50;color:#f4f0e9;border-color:#ffffff30;box-shadow:none}
body.munna-experience .mg-rec-panel [data-rec-action=record]{background:#ff8066;color:#1b1716;border-color:#ff8066}
body.munna-experience .mg-rec-panel .mg-rec-file-input{background:#171e2b;color:#f4f0e9;border-color:#ffffff30}
body.munna-experience .mg-rec-panel .mg-rec-file-input::file-selector-button{background:#303d50;color:#f4f0e9;border-color:#ffffff30}
.mg-rec-panel .mg-rec-file-input:focus-visible{outline:2px solid currentColor;outline-offset:3px}
.mg-rec-panel .mg-rec-help{font-size:12px;line-height:1.5;margin:12px 0}
.mg-rec-panel .mg-rec-help summary{cursor:pointer}
.mg-rec-panel .mg-rec-help p{margin:8px 0}
.mg-rec-panel .mg-rec-unavailable[hidden]{display:none!important}
.mg-rec-panel .mg-rec-unavailable{display:grid;gap:5px;padding:12px;border:1px solid #ca96526b;border-radius:8px;font-size:12px;line-height:1.5}
.mg-rec-panel [data-rec-status]{font-size:12px;line-height:1.5;overflow-wrap:anywhere}
.mg-rec-panel [data-rec-action]:disabled,.mg-rec-panel .mg-rec-file-input:disabled{opacity:.55;cursor:not-allowed}
.mg-rec-panel:not([hidden])~#mg-rec-fab{visibility:hidden!important;pointer-events:none!important}
@media(max-width:600px){
 .mg-rec-panel .recognition-controls button{flex:1 1 140px}
 .mg-rec-panel .recognition-shell{padding-top:8px}
 .mg-rec-panel .mg-rec-heading h2{font-size:22px}
 .mg-rec-panel .mg-rec-file-input{font-size:16px}
}
