/* RCM_APP_28.1.3.50.7 — canonical application header. No version-stacked override layers. */
.admin-global-nav{display:none!important;height:0!important;min-height:0!important;margin:0!important;padding:0!important}
.global-layout-container{padding-top:0!important}
.rcm-app-header{position:relative;z-index:120;display:block;width:100%;margin:0;padding:0}

/* Brand / ad / share row */
.top-share-header{
    width:100%;height:56px;max-height:56px;display:grid;
    grid-template-columns:max-content minmax(0,1fr) max-content;grid-template-rows:56px;
    gap:6px;align-items:end;margin:0;padding:0;overflow:hidden;
}
.top-share-header>.rcm-header-logo-cell,
.top-share-header>.top-share-ad,
.top-share-header>.page-share-qr-stack{min-width:0;margin:0;padding:0}
.top-share-header>.rcm-header-logo-cell{width:max-content;max-width:100%;justify-self:start;align-self:end}
.top-share-header>.top-share-ad{width:100%;height:56px;max-height:56px}
.top-share-header>.page-share-qr-stack{width:max-content;justify-self:end;align-self:end}

.brand-logo-button{
    display:flex;align-items:center;justify-content:center;width:max-content;max-width:100%;height:50px;max-height:50px;
    padding:2px;border:1px solid #334155;border-radius:10px;background:#0b1220;box-shadow:0 2px 7px rgba(0,0,0,.28);
    overflow:hidden;cursor:pointer;touch-action:manipulation;
}
.brand-logo-button:hover{border-color:#60a5fa}
.brand-logo-button:active{transform:translateY(1px)}
.brand-logo-button .logo{display:block;width:auto;height:46px;max-height:46px;object-fit:contain;margin:0}

.top-share-ad{display:flex;min-height:0;align-items:end}
.top-share-ad .ad-banner-728x90{
    width:100%;max-width:none;height:54px;max-height:54px;margin:0;padding:0;border-radius:9px;overflow:hidden;
}

.page-share-qr-stack{display:flex;flex-direction:column;align-items:flex-end;justify-content:flex-end;gap:0;min-height:0}
.page-share-qr-button{
    width:50px;height:50px;min-width:50px;min-height:50px;max-width:50px;max-height:50px;margin:0;padding:2px;
    border:1px solid #475569;border-radius:10px;background:#111827;color:#fff;display:flex;align-items:center;justify-content:center;
    cursor:pointer;overflow:hidden;touch-action:manipulation;
}
.page-share-qr-button:hover,.page-share-qr-button:active{border-color:#7ab8ff;background:#172033}
.page-share-qr-button img:not(.page-share-vip-badge),
.page-share-vip-badge{display:block;width:44px;height:44px;max-width:44px;max-height:44px}
.page-share-qr-button img:not(.page-share-vip-badge){aspect-ratio:1/1;background:#fff;border-radius:4px}
.page-share-vip-badge{border-radius:5px;object-fit:cover}

/* Account/status row */
.header-user-line{
    position:relative;z-index:125;width:auto;min-height:44px;max-height:44px;display:grid;align-items:center;
    margin:1px 0 0;padding:0 1px;line-height:1;overflow:visible;
}
.header-user-line:not(.is-guest){grid-template-columns:minmax(72px,1fr) auto 40px 32px;column-gap:5px}
.header-user-line.is-guest{grid-template-columns:minmax(0,1fr) 40px 32px;gap:4px}
.header-user-left{min-width:0;width:100%;display:flex;align-items:center;overflow:hidden}

.header-beta-slot,
.header-user-line.is-guest .header-beta-slot-guest{
    position:relative;inset:auto;transform:none;width:40px;min-width:40px;height:36px;min-height:36px;
    justify-self:end;margin:0;z-index:150;
}
.header-user-line .header-beta-slot [data-rcm-drag-panel="1"] .rcm-beta-panel-body,
.header-user-line.is-guest .header-beta-slot-guest [data-rcm-drag-panel="1"] .rcm-beta-panel-body{
    left:auto!important;right:0!important;transform:translateY(-6px)!important;width:min(220px,calc(100vw - 18px))!important;
    max-width:calc(100vw - 18px)!important;
}
.header-user-line .header-beta-slot [data-rcm-drag-panel="1"].is-expanded .rcm-beta-panel-body,
.header-user-line.is-guest .header-beta-slot-guest [data-rcm-drag-panel="1"].is-expanded .rcm-beta-panel-body{transform:translateY(0)!important}

.header-user-profile-link.header-account-button{
    display:flex;align-items:center;width:100%;max-width:100%;min-width:0;min-height:34px;margin:2px 0;padding:4px 9px;
    border:2px solid #34d399;border-radius:9px;background:#064e3b;color:#ecfdf5;box-shadow:0 2px 8px rgba(16,185,129,.22);
    font-size:14px;font-weight:950;line-height:1;text-decoration:none;overflow:hidden;touch-action:manipulation;
}
.header-user-profile-link.header-account-button:hover,
.header-user-profile-link.header-account-button:active{border-color:#a7f3d0;background:#047857;color:#fff;text-decoration:none}
.header-user-profile-link.header-account-button.is-unverified{border-color:#ef4444;background:#7f1d1d;color:#fff1f2;box-shadow:0 2px 8px rgba(239,68,68,.28)}
.header-user-profile-link.header-account-button.is-unverified:hover,
.header-user-profile-link.header-account-button.is-unverified:active{border-color:#fecaca;background:#991b1b;color:#fff}
.header-signup-button{justify-content:center;white-space:nowrap}

.header-account-marquee{display:block;width:100%;min-width:0;overflow:hidden;white-space:nowrap}
.header-account-marquee-track{display:flex;align-items:center;width:max-content;min-width:max-content;gap:12px;transform:translateX(0)}
.header-account-name{display:inline-block;flex:0 0 auto;white-space:nowrap}
.header-account-name-clone{display:none}
.header-account-marquee.is-overflowing .header-account-name-clone{display:inline-block}
.header-account-marquee.is-overflowing .header-account-marquee-track{
    animation:rcm-account-name-marquee var(--rcm-account-marquee-duration,10s) linear infinite;will-change:transform;
}
@keyframes rcm-account-name-marquee{
    0%,12%{transform:translateX(0)}
    88%,100%{transform:translateX(calc(-1 * var(--rcm-account-marquee-distance,0px)))}
}


.header-alerts-button{
    display:inline-flex;align-items:center;justify-content:center;gap:5px;min-width:48px;max-width:max-content;min-height:34px;
    padding:4px 9px;margin:2px 0;border:2px solid #60a5fa;border-radius:9px;background:#172554;color:#fff;
    font-size:13px;font-weight:950;line-height:1;text-decoration:none;white-space:nowrap;touch-action:manipulation;
    box-shadow:0 2px 8px rgba(37,99,235,.24);
}
.header-alerts-button:hover,.header-alerts-button:active{background:#1d4ed8;border-color:#bfdbfe}
.header-alerts-icon{font-size:15px;line-height:1}
.header-alerts-count{
    display:inline-flex;align-items:center;justify-content:center;min-width:23px;height:23px;padding:0 6px;border-radius:999px;
    background:#020617;color:#facc15;font-size:12px;font-weight:1000;line-height:1;
}

.rcm-header-kill-switch{
    position:relative;inset:auto;justify-self:end;width:32px;height:32px;min-width:32px;min-height:32px;padding:0;margin:0;
    border:2px solid #ef4444;border-radius:999px;background:#16090b;color:#fecaca;display:flex;align-items:center;justify-content:center;
    font:900 23px/1 Arial,sans-serif;cursor:pointer;touch-action:manipulation;z-index:156;box-shadow:0 2px 8px rgba(0,0,0,.35);
}
.rcm-header-kill-switch:hover,.rcm-header-kill-switch:active{background:#7f1d1d;color:#fff;border-color:#fca5a5}

/* Main entity tabs. RCM_APP_28.6.3 (Luis): real tabs, not buttons -- rounded tops
   standing on one baseline; the active tab is taller and joins the line below it
   (blue on a list, green on a card, as before). */
.unified-nav-row{
    position:relative;z-index:20;width:100%;min-height:0;margin:0 0 6px;padding:4px 0 0;border-bottom:2px solid #334155;background:#05070d;
}
.header-nav-left{width:100%;display:grid;grid-template-columns:repeat(5,minmax(0,1fr));align-items:end;gap:3px;margin:0;padding:0 2px}
.header-nav-left .nav-button{
    position:relative;width:100%;min-width:0;min-height:34px;display:inline-flex;align-items:center;justify-content:center;padding:5px 6px;margin:0 0 -2px;
    border:1px solid #334155;border-bottom:2px solid #334155;border-radius:9px 9px 0 0;background:#111827;color:#cbd5e1;font-size:14px;font-weight:900;line-height:1;
    text-decoration:none;white-space:nowrap;cursor:pointer;touch-action:manipulation;-webkit-user-select:none;user-select:none;
}
.header-nav-left .nav-button:hover,.header-nav-left .nav-button:active{background:#1e293b;color:#fff}
.header-nav-left .nav-button.is-active{min-height:40px;background:#1d4ed8;color:#fff;border-color:#93c5fd;border-bottom-color:#1d4ed8;box-shadow:0 -2px 8px rgba(37,99,235,.35);z-index:1}
.header-nav-left .nav-button.is-active:hover,.header-nav-left .nav-button.is-active:active{background:#2563eb;border-bottom-color:#2563eb}
.header-nav-left .nav-button.is-active.is-detail-active{background:#16a34a;border-color:#86efac;border-bottom-color:#16a34a;box-shadow:0 -2px 8px rgba(22,163,74,.35)}
.header-nav-left .nav-button.is-active.is-detail-active:hover,
.header-nav-left .nav-button.is-active.is-detail-active:active{background:#22c55e;border-bottom-color:#22c55e}
.header-nav-left .nav-button .rcm-tab-label{pointer-events:none;white-space:nowrap}
.header-nav-left .nav-button.is-rcm-reset-armed{box-shadow:inset 0 0 0 2px rgba(250,204,21,.9)}
/* RCM_APP_28.7.0: Fans / Artists for verified accounts only -- still tappable (the bouncer), muted grey. */
.header-nav-left .nav-button.is-locked,.header-nav-left .nav-button.is-locked.is-active,.header-nav-left .nav-button.is-locked.is-active.is-detail-active{background:#262c37;color:#8a94a6;border-color:#3a4252;border-bottom-color:#3a4252;box-shadow:none}
.header-nav-left .nav-button.is-locked:hover,.header-nav-left .nav-button.is-locked:active{background:#303746;color:#aab3c2}

.calendar-event.is-share-selected{border-color:#60a5fa!important;box-shadow:0 0 0 2px rgba(96,165,250,.55) inset,0 0 12px rgba(96,165,250,.22)!important}
.rcm-share-host{font-size:13px}

@media(max-width:600px){
    .header-alerts-button{width:48px;min-width:48px;padding:3px 4px;gap:3px}
    .header-alerts-label{display:none}
}
@media(max-width:460px){
    .rcm-app-header{padding-top:calc(env(safe-area-inset-top,0px) + 6px)}
    .top-share-header{height:54px;max-height:54px;grid-template-rows:54px;gap:5px}
    .top-share-header>.top-share-ad{height:54px;max-height:54px}
    .top-share-ad .ad-banner-728x90{height:50px;max-height:50px}
    .brand-logo-button{height:48px;max-height:48px}
    .brand-logo-button .logo{height:44px;max-height:44px}
    .page-share-qr-button{width:46px;height:46px;min-width:46px;min-height:46px;max-width:46px;max-height:46px}
    .page-share-qr-button img:not(.page-share-vip-badge),.page-share-vip-badge{width:40px;height:40px;max-width:40px;max-height:40px}
    .unified-nav-row{padding:3px 0 0;margin:0 0 5px}
    .header-nav-left{gap:2px;padding:0 1px}
    .header-nav-left .nav-button{min-height:30px;padding:3px;font-size:12px;border-radius:8px 8px 0 0}
    .header-nav-left .nav-button.is-active{min-height:36px}
    .header-alerts-count{min-width:20px;height:20px;padding:0 5px;font-size:11px}
}
@media(max-width:390px){
    .header-user-line:not(.is-guest){grid-template-columns:minmax(58px,1fr) 44px 38px 30px;column-gap:3px}
}
@media(prefers-reduced-motion:reduce){
    .header-account-marquee.is-overflowing .header-account-marquee-track{animation:none}
    .header-account-marquee.is-overflowing .header-account-name-clone{display:none}
    .header-account-marquee.is-overflowing .header-account-name:first-child{max-width:100%;overflow:hidden;text-overflow:ellipsis}
}
