/* Dolleris.lt 55: two-platform responsive header & footer-safe floating music bar.
   Loaded after core, active theme and FM assets. Applies to Dino and Horror. */

/* Names are visible on mobile too, regardless of the old core breakpoint. */
.site-header .header-actions .live-chip b{display:inline!important;line-height:1.15;white-space:nowrap;color:#f4f8f6;font-weight:800}
.site-header .header-actions .live-chip{filter:none;opacity:1;text-decoration:none}
.site-header .header-actions .live-chip .chip-live-badge{flex:none;border-radius:6px}
.site-header .header-actions .live-chip i{flex:none;display:block;margin-left:auto;width:9px;height:9px;min-width:9px}
.site-header .header-actions .live-chip.is-offline i{background:#919b9a;box-shadow:0 0 0 3px rgba(145,155,154,.12)}
.site-header .header-inner>.header-paypal{position:relative;flex:none}

/* The floating bar does not steal the final footer links. Only create space if
   MP3 tracks actually loaded; no empty gap for visitors without songs. */
body.dfm-has-tracks .site-footer{margin-bottom:calc(128px + env(safe-area-inset-bottom,0px))!important}

@media(max-width:780px){
 .site-header{box-sizing:border-box;width:calc(100% - 20px);overflow:visible}
 .site-header .header-inner{box-sizing:border-box;display:grid!important;grid-template-columns:minmax(0,1fr) auto;grid-template-rows:auto auto;height:auto!important;min-height:0!important;gap:10px 10px;padding:11px 12px 12px!important;align-items:center}
 .site-header .header-inner>.brand{grid-column:1;grid-row:1;min-width:0;width:max-content;max-width:100%;margin:0;justify-self:start;align-self:center}
 .site-header .header-inner>.header-paypal{grid-column:2;grid-row:1;display:inline-flex!important;justify-self:end;align-self:center;justify-content:center;align-items:center;box-sizing:border-box;width:44px!important;min-width:44px!important;max-width:44px!important;height:40px!important;min-height:40px!important;padding:0!important;margin:0!important;line-height:1!important;font-size:0!important;flex:none!important;border-radius:10px}
 .site-header .header-inner>.header-paypal .service-icon{width:24px!important;height:24px!important;min-width:24px!important;flex:none!important;margin:0!important}
 .site-header .header-inner>.header-paypal>span{display:none!important}
 .site-header .header-inner>.header-actions{grid-column:1/-1;grid-row:2;min-width:0;width:100%!important;margin:0!important;display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;justify-content:stretch;align-items:stretch}
 .site-header .header-actions .live-chip{width:100%;min-width:0;max-width:none;box-sizing:border-box;display:flex!important;align-items:center!important;justify-content:flex-start!important;flex:none!important;gap:7px;padding:8px 10px!important;height:41px;min-height:41px!important;margin:0!important;overflow:hidden;border-radius:10px}
 .site-header .header-actions .live-chip b{display:inline!important;font-size:12px!important;min-width:0;line-height:1.2!important}
 .site-header .header-actions .live-chip>.chip-live-badge{padding:3px 5px!important;font-size:9px!important;letter-spacing:.03em}
 .site-header .header-actions .live-chip>.service-icon,.site-header .header-actions .live-chip>svg.service-icon{display:block;width:19px!important;height:19px!important;flex:0 0 19px!important}
 .site-header .header-actions .live-chip i{margin-left:auto;flex:0 0 8px;width:8px;height:8px;min-width:8px}
 /* Header may never clip action row regardless of which visual theme is active. */
 .site-header{min-height:0!important}
}
@media(max-width:340px){
 .site-header .header-inner{padding-left:8px!important;padding-right:8px!important}
 .site-header .header-inner>.header-actions{gap:6px}
 .site-header .header-actions .live-chip{padding-inline:7px!important;gap:5px}
 .site-header .header-actions .live-chip b{font-size:11px!important}
 .site-header .header-actions .live-chip>.service-icon,.site-header .header-actions .live-chip>svg.service-icon{width:17px!important;height:17px!important;flex-basis:17px!important}
 .site-header .header-actions .live-chip.is-live i{display:none}
}
