/* Shared listening actions. Existing data attributes continue to own playback. */
:root{--omu-action-accent:var(--omu-primary, #6D3BE8);--omu-action-accent-hover:var(--omu-primary-hover, #5D32C5);--omu-action-dark:#252527;--omu-action-paper:#fff;--omu-action-border:#e3e3e8;--omu-action-focus:var(--omu-primary, #6D3BE8)}
html body .omu-listen-action,html body .omu-notification-trigger{
 display:inline-flex;align-items:center;justify-content:center;flex:none;position:relative;
 min-height:50px;padding:0 18px;gap:9px;border:1px solid transparent;border-radius:10px;
 font-family:inherit;font-size:13px;font-weight:650;line-height:1;white-space:nowrap;text-decoration:none;
 cursor:pointer;touch-action:manipulation;-webkit-tap-highlight-color:transparent;
 transition:background-color .18s ease,border-color .18s ease,transform .18s ease,box-shadow .18s ease;
}
html body :is(.omu-mobile-header-actions,.am-page-actions,.omu-header-actions,.artist-header-actions,.omu-desktop-listening-bar) .omu-listen-action.omu-listen-action--random{
 color:#fff!important;background:var(--omu-action-accent)!important;background-image:none!important;border-color:var(--omu-action-accent)!important;
 box-shadow:0 2px 5px rgba(var(--omu-primary-rgb, 109, 59, 232), 9%)!important;
}
html body :is(.omu-mobile-header-actions,.am-page-actions,.omu-header-actions,.artist-header-actions,.omu-desktop-listening-bar) .omu-listen-action.omu-listen-action--radio{
 color:#fff!important;background:var(--omu-action-dark)!important;background-image:none!important;border-color:var(--omu-action-dark)!important;
 box-shadow:0 2px 5px rgb(25 24 21 / 8%)!important;
}
html body :is(.omu-mobile-header-actions,.am-page-actions,.omu-header-actions,.artist-header-actions,.omu-desktop-listening-bar) .omu-notification-trigger{
 width:50px;height:50px;padding:0!important;min-width:50px;background:var(--omu-action-paper)!important;color:#62626a!important;
 border:1px solid var(--omu-action-border)!important;border-radius:10px!important;box-shadow:none!important;
}
html body .omu-listen-action svg{width:19px!important;height:19px!important;flex:none;stroke:currentColor!important;stroke-width:1.8!important;color:inherit!important}
html body .omu-notification-trigger svg{width:20px!important;height:20px!important;flex:none;stroke:currentColor!important;color:inherit!important}
html body .omu-listen-action__label,html body .omu-listen-action__wide{color:inherit!important;font:inherit}
html body .omu-notification-trigger [data-omu-notification-count]{position:absolute;top:3px;right:3px;display:grid;place-items:center;min-width:16px;height:16px;padding:0 4px;border:2px solid var(--omu-action-paper);border-radius:10px;background:var(--omu-action-accent);color:#fff;font-size:9px;font-weight:700;line-height:1;pointer-events:none;box-sizing:content-box}
html body .omu-notification-trigger [data-omu-notification-count][hidden]{display:none!important}
html body :is(.omu-mobile-header-actions,.am-page-actions,.omu-header-actions,.artist-header-actions,.omu-desktop-listening-bar) .omu-listen-action--random:hover{background:var(--omu-action-accent-hover)!important;border-color:var(--omu-action-accent-hover)!important;transform:translateY(-1px)}
html body :is(.omu-mobile-header-actions,.am-page-actions,.omu-header-actions,.artist-header-actions,.omu-desktop-listening-bar) .omu-listen-action--radio:hover{background:#3a3a40!important;border-color:#3a3a40!important;transform:translateY(-1px)}
html body :is(.omu-mobile-header-actions,.am-page-actions,.omu-header-actions,.artist-header-actions,.omu-desktop-listening-bar) .omu-notification-trigger:hover{background:#f7f7f9!important;border-color:#d8d8de!important}
html body .omu-listen-action:focus-visible,html body .omu-notification-trigger:focus-visible{outline:3px solid var(--omu-action-focus)!important;outline-offset:3px!important}
html body .omu-listen-action:active,html body .omu-notification-trigger:active{transform:scale(.97)!important}
html.omu-am body.omu-interface-v2 .am-home .am-page-head .am-page-actions{display:flex;align-items:center;gap:10px;flex-wrap:nowrap}
html.omu-am body.omu-interface-v2 .am-home .am-page-head .am-page-actions .omu-listen-action--random{padding-inline:20px;min-width:135px}
html.omu-am body.omu-interface-v2 .am-home .am-page-head .am-page-actions .omu-listen-action--radio{padding-inline:19px;min-width:108px}
@media(min-width:1024px){
 html body .omu-header-actions .omu-listen-action{min-height:44px;padding-inline:13px;font-size:12px}
 html body .omu-header-actions .omu-notification-trigger{width:44px;height:44px;min-width:44px;min-height:44px}
 html.omu-am body .am-sidebar__brand .am-brand img,
 html.omu-ams body .omu-workspace-brand>a>img{width:auto!important;height:44px!important;max-height:44px!important;max-width:120px!important;object-fit:contain;border-radius:0}
}
@media(max-width:1023px){
 html body .omu-unified-header .omu-mobile-header-actions{display:flex!important;align-items:center!important;flex-wrap:nowrap!important;gap:3px!important;min-width:0;margin-left:auto}
 html body.omu-interface-v2 .omu-unified-header{padding-left:12px!important;padding-right:12px!important;gap:7px!important}
 html body.omu-interface-v2 .omu-unified-header .omu-mobile-brand{width:88px;min-width:88px;min-height:44px;flex:none}
 html body.omu-interface-v2 .omu-unified-header .omu-mobile-brand img{display:block;width:88px!important;height:32px!important;max-height:40px!important;max-width:none;object-fit:contain}
 html body .omu-listen-action{min-height:44px;padding:0 8px;gap:5px;border-radius:8px;font-size:12px}
 html body .omu-listen-action svg{width:16px!important;height:16px!important}
 html body :is(.omu-mobile-header-actions,.artist-header-actions) .omu-notification-trigger{min-height:44px;min-width:44px;width:44px;height:44px;border-radius:8px!important}
 html body .omu-unified-header .omu-mobile-header-actions .omu-icon-button{flex:none;width:44px!important;height:44px!important;min-width:44px!important;padding:0!important;border-radius:8px!important}
 html body .omu-unified-header .omu-mobile-header-actions .omu-icon-button:hover{background:var(--omu-primary-soft, #F5F1FD)!important}
 html.omu-am body.omu-interface-v2 .am-home .am-page-head .am-page-actions{display:none!important}
}

/* Language control (flags): the current flag + code opens a list beside desktop playback; the menus show flag chips. */
html body .omu-language-control { display:inline-flex; flex:none; max-width:100%; min-height:44px; }
html body .omu-language-control .omu-lang-switcher-wrap { max-width:100%; }
html body .omu-menu-language { display:flex; align-items:center; justify-content:space-between; gap:16px; padding:16px 0; margin:0 0 12px; border-bottom:1px solid #e8e8ed; }
html body .omu-menu-language > :is(h3,span) { margin:0!important; color:#74747d!important; font-size:11px!important; line-height:1.6; font-weight:600; flex:none; }
html body .omu-menu-language .omu-language-control { min-height:0; justify-content:flex-end; }
html body .omu-menu-language .omu-lang-switcher-flags { justify-content:flex-end; }
@media(max-width:1023px) {
 html body .omu-language-control--desktop, html body .omu-mobile-header-actions [data-omu-lang-switcher], html body .artist-header-actions > [data-omu-lang-switcher] { display:none!important; }
}
@media(max-width:379px){
 html body .omu-listen-action__wide{display:none!important}
 html body .omu-unified-header .omu-mobile-header-actions{gap:2px!important}
 html body.omu-interface-v2 .omu-unified-header .omu-mobile-brand{width:80px;min-width:80px}
 html body.omu-interface-v2 .omu-unified-header .omu-mobile-brand img{width:80px!important;height:30px!important;max-height:38px!important}
}
@media(max-width:339px){
 html body.omu-interface-v2 .omu-unified-header .omu-mobile-brand{width:40px;min-width:40px}
 html body.omu-interface-v2 .omu-unified-header .omu-mobile-brand img{width:40px!important;height:36px!important;max-height:36px!important}
}
@media(prefers-reduced-motion:reduce){
 html body .omu-listen-action,html body .omu-notification-trigger{transition:none!important}
 html body .omu-listen-action:hover,html body .omu-listen-action:active,html body .omu-notification-trigger:active{transform:none!important}
}

/* Non-home v3 pages keep listening and notifications in the same desktop position. */
html body .omu-desktop-listening-bar{display:none!important}
@media(min-width:1024px){
 html:is(:not([data-omu-player-relay="1"]),[data-omu-player-relay="1"].omu-studio-shared,[data-omu-player-relay="1"].omu-studio-core) body.omu-interface-v2:has(.omu-desktop-listening-bar){padding-top:72px!important}
 html:is(:not([data-omu-player-relay="1"]),[data-omu-player-relay="1"].omu-studio-shared,[data-omu-player-relay="1"].omu-studio-core) body .omu-desktop-listening-bar{
  display:flex!important;position:fixed;top:0;left:var(--am-sidebar-w,240px);right:0;height:72px;
  align-items:center;justify-content:flex-end;gap:10px;padding:10px 32px;box-sizing:border-box;
  background:var(--omu-action-paper,#fff);border-bottom:1px solid var(--omu-action-border,#e3e3e8);z-index:40;
 }
 html:is(:not([data-omu-player-relay="1"]),[data-omu-player-relay="1"].omu-studio-shared,[data-omu-player-relay="1"].omu-studio-core) body .omu-desktop-listening-bar--studio{left:var(--omu-sidebar-width,224px)}
 html body .omu-desktop-listening-bar .omu-listen-action--random{min-width:135px}
 html body .omu-desktop-listening-bar .omu-listen-action--radio{min-width:108px}
}

html body #omuUnifiedPublicMenu .omu-menu-language{padding:0 0 18px;margin:0 0 20px;border-bottom:1px solid #e3e3e8;}
html body #omuUnifiedPublicMenu .omu-menu-language .omu-lang-flag-btn{min-height:44px;font-size:15px}

html body.omu-interface-v2 .omu-unified-header .omu-mobile-brand img{object-fit:contain!important;border-radius:0!important}

/* Global catalog search: the same GET form in home, shared desktop, and mobile headers. */
html body .omu-global-search{display:flex;align-items:center;gap:9px;min-width:200px;height:44px;margin:0;padding:0 6px 0 13px;border:1px solid #e6e6ec;border-radius:10px;background:#f6f6f8;color:#8b8b96;box-sizing:border-box;transition:border-color .15s,background-color .15s,box-shadow .15s}
.omu-global-search__label{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.omu-global-search__icon{flex:none;width:18px;height:18px}
html body.omu-interface-v2 form.omu-global-search input[id][name="q"][type="search"]{display:block;flex:1;min-width:0;width:100%;height:42px!important;min-height:0!important;margin:0!important;padding:0!important;border:0!important;border-radius:0!important;background:transparent!important;color:#35353f!important;font-family:inherit;font-size:13px!important;font-weight:400;line-height:1.5;outline:none!important;box-shadow:none!important}
html body .omu-global-search input::placeholder{color:#92929e;opacity:1}
html body .omu-global-search button{display:grid;place-items:center;flex:none;width:34px;height:34px;min-width:34px;min-height:34px;margin:0;padding:0;border:0;border-radius:6px;background:transparent;color:#888894;cursor:pointer;box-shadow:none}
html body .omu-global-search button:hover{background:#eaeaf0;color:var(--omu-primary-ink,#572fba)}
html body .omu-global-search button:focus-visible{outline:2px solid var(--omu-primary,#6d3be8);outline-offset:2px}
html body .omu-global-search:focus-within{border-color:var(--omu-primary,#6d3be8);background:#fff;box-shadow:0 0 0 3px var(--omu-primary-soft,#f5f1fd)}
@media(min-width:1024px){
 html.omu-am .am-page-head{position:relative;align-items:center}
 html body .am-page-head>.omu-global-search{flex:1;max-width:420px;margin-inline:auto}
 html body .omu-desktop-listening-bar{display:flex!important;position:fixed;top:0;left:var(--am-sidebar-w,240px);right:0;height:72px;align-items:center;justify-content:flex-end;gap:10px;padding:10px 32px;box-sizing:border-box;background:var(--omu-action-paper,#fff);border-bottom:1px solid var(--omu-action-border,#e3e3e8);z-index:40}
 html body.omu-interface-v2:has(.omu-desktop-listening-bar){padding-top:72px!important}
 html body .omu-desktop-listening-bar>.omu-global-search{flex:1;max-width:420px;margin-right:auto}
 html body .omu-unified-header>.omu-global-search{display:none}
}
@media(min-width:1280px){
 html body .am-page-head>.omu-global-search,html body .omu-desktop-listening-bar>.omu-global-search{position:absolute;left:calc(50% - var(--am-sidebar-w,240px)/2);transform:translateX(-50%);width:clamp(260px,calc(260px + (100vw - 1280px)/2),380px);max-width:380px;margin:0}
}
@media(min-width:1024px) and (max-width:1279px){
 html.omu-am .am-page-head>.am-date-time{display:none}
 html body .am-page-head>.omu-global-search{margin:0 auto 0 0}
 html body .omu-desktop-listening-bar{padding-inline:24px;gap:8px}
}
@media(max-width:1023px){
 html body.omu-interface-v2 .omu-unified-header{display:grid!important;grid-template-columns:auto minmax(0,1fr);grid-template-rows:44px 44px;height:112px!important;gap:6px 7px!important;align-items:center;padding-block:8px!important}
 html body.omu-interface-v2 .omu-unified-header>.omu-global-search{grid-column:1/-1;grid-row:2;width:100%;min-width:0;height:44px}
 html body.omu-interface-v2 form.omu-global-search input[id][name="q"][type="search"]{font-size:16px!important}
 html body.omu-interface-v2:has(.omu-unified-header){padding-top:112px!important}
 html body .am-page-head>.omu-global-search{display:none}
}
@media(max-width:339px){html body.omu-interface-v2 .omu-unified-header{padding-inline:8px!important}}
@media(prefers-reduced-motion:reduce){html body .omu-global-search{transition:none}}

html body #exploreCatalog{scroll-margin-top:96px}
@media(max-width:1023px){html body #exploreCatalog{scroll-margin-top:128px}}

/* 2026-10-12: the home header lost its date/time block; keep the actions on the right while the search sits absolute. */
html.omu-am .am-home .am-page-head>.am-page-actions{margin-left:auto}
