/* One bottom player. The source browser grows above the fixed transport. */
#gmRadio,#gmAlbumPlayer,#gmFavorites { display:none!important; }
#gmUnifiedPlayer {
 --gmu-surface:#11100f;
 --gmu-row:#191715;
 --gmu-active:#30261a;
 --gmu-gold:#e6c889;
 --gmu-favorite-red:#ed6a70;
 --gmu-text:#f4f0e9;
 --gmu-secondary:#c2b9a9;
 --gmu-border:#65543b;
 position:fixed;
 inset-inline-end:clamp(12px, 2vw, 30px);
 bottom:var(--gmu-footer,45px);
 z-index:10010;
 width:min(418px,calc(100vw - 24px));
 max-height:calc(100vh - var(--gmu-top,76px) - var(--gmu-footer,45px));
 max-height:calc(var(--gmu-viewport-height,100dvh) - var(--gmu-top,76px) - var(--gmu-footer,45px));
 box-sizing:border-box;
 display:flex;
 flex-direction:column;
 background:var(--gmu-surface);
 color:var(--gmu-text);
 border:1px solid var(--gmu-border);
 border-radius:10px;
 box-shadow:0 -8px 32px #0008;
 overflow:hidden;
 font:14px/1.3 Inter,Arial,sans-serif;
}
#gmUnifiedPlayer [hidden] {display:none!important}
#gmUnifiedPlayer button {
 color:inherit;
 font:inherit;
 background:none;
 border:0;
 cursor:pointer;
 margin:0;
}
#gmUnifiedPlayer :focus-visible {outline:2px solid var(--gmu-gold);outline-offset:-2px}
#gmUnifiedPlayer button:disabled {opacity:.47;cursor:default}
#gmUnifiedPlayer svg {width:22px;height:22px;display:block}
#gmUnifiedPlayer .gmu-browser {
 display:flex;
 flex-direction:column;
 min-height:0;
 height:min(450px,48vh);
 height:min(450px,48dvh);
 border-bottom:1px solid var(--gmu-border);
 overflow:hidden;
}
#gmUnifiedPlayer .gmu-sources,#gmUnifiedPlayer .gmu-favorite-tabs {
 display:grid;
 grid-template-columns:repeat(3,minmax(0,1fr));
 gap:4px;
 padding:2px 6px 0;
 border-bottom:1px solid var(--gmu-border);
}
#gmUnifiedPlayer :is(.gmu-sources,.gmu-favorite-tabs) button {
 padding:6px 2px;
 min-height:36px;
 border-bottom:2px solid transparent;
 font-weight:600;
 font-size:clamp(11px,3.4vw,14px);
 overflow-wrap:anywhere;
}
#gmUnifiedPlayer .gmu-favorite-tabs button {font-weight:400;min-height:34px}
#gmUnifiedPlayer :is(.gmu-sources,.gmu-favorite-tabs) button[aria-pressed=true] {
 border-color:var(--gmu-gold);
 color:var(--gmu-gold);
}
#gmUnifiedPlayer .gmu-list {
 flex:1;
 min-height:0;
 overflow:auto;
 overscroll-behavior:contain;
 padding:8px;
 scrollbar-width:thin;
 scrollbar-color:var(--gmu-border) var(--gmu-surface);
}
#gmUnifiedPlayer .gmu-list h3 {font:600 15px/1.35 Georgia,serif;color:var(--gmu-gold);margin:6px 5px 9px}
#gmUnifiedPlayer .gmu-row {
 display:flex;
 align-items:center;
 gap:4px;
 margin-bottom:3px;
 border:1px solid #ffffff21;
 border-radius:4px;
 background:var(--gmu-row);
}
#gmUnifiedPlayer .gmu-row:has([aria-current=true]) {border-color:var(--gmu-border);background:var(--gmu-active)}
#gmUnifiedPlayer .gmu-row-action {
 flex:1;
 min-width:0;
 min-height:38px;
 padding:5px 7px;
 display:flex;
 gap:8px;
 align-items:center;
 text-align:start;
}
#gmUnifiedPlayer .gmu-row-action .gmu-row-meta {flex:1;min-width:0}
#gmUnifiedPlayer .gmu-row img,#gmUnifiedPlayer .gmu-cover {
 width:40px;
 height:40px;
 border:1px solid var(--gmu-border);
 border-radius:3px;
 object-fit:cover;
 flex:none;
}
#gmUnifiedPlayer .gmu-row strong,#gmUnifiedPlayer .gmu-track strong {font-weight:650;overflow-wrap:anywhere}
#gmUnifiedPlayer small {display:block;color:var(--gmu-secondary);margin-block-start:2px;overflow-wrap:anywhere}
#gmUnifiedPlayer .gmu-row .gm-lyrics-link {flex:none;margin:0;position:static}
#gmUnifiedPlayer .gmu-row .gm-lyrics-link span {display:none}
#gmUnifiedPlayer .gm-fav-heart {color:#fff;display:grid;place-items:center;flex:none;width:34px;height:34px;padding:5px}
#gmUnifiedPlayer .gm-fav-heart svg {width:19px;height:19px;fill:none;stroke:currentColor;stroke-width:1.8}
#gmUnifiedPlayer .gm-fav-heart[aria-pressed=true] {color:var(--gmu-favorite-red)}
#gmUnifiedPlayer .gm-fav-heart[aria-pressed=true] svg {fill:currentColor}
#gmUnifiedPlayer .gm-fav-heart[data-fav-type=albums]:not([aria-pressed=true]) svg,
#albumGrid .album-card .gm-fav-heart[data-fav-type=albums]:not([aria-pressed=true]) svg {
 stroke:#e6c889;
}
#gmUnifiedPlayer .gmu-back {min-height:34px;color:var(--gmu-gold);text-decoration:underline;text-underline-offset:3px}
@keyframes gmu-beat {from {transform:scaleY(.33)} to {transform:scaleY(1)}}
:root {
 --gm-expand-button-width:calc(44px - 3mm);
 --gm-media-switch-width:calc(44px - 1mm);
 --gm-player-button-height:34px;
}
#gmUnifiedPlayer .gmu-bar {
 --gmu-bar-inset:8px;
 --gmu-expand-size:var(--gm-player-button-height);
 --gmu-expand-width:var(--gm-expand-button-width);
 --gmu-switch-gap:3mm;
 position:relative;
 flex:none;
 padding:calc(3px + 2mm) var(--gmu-bar-inset) calc(1px + 2mm);
 background:linear-gradient(to bottom,#443023 0%,#302117 25%,#21150d 50%,#0d0805 76%,#000 100%);
 border-radius:0 0 9px 9px;
 box-shadow:inset 0 -1px #a8824b73,inset 0 -3px #33271a99;
}
#gmUnifiedPlayer:not(.gmu-open,.gmu-sliding-shut) {
 box-shadow:0 -8px 32px #0008,0 5px 8px -2px #000c;
}
#gmUnifiedPlayer .gmu-now {display:flex;align-items:center;gap:7px;min-height:48px}
#gmUnifiedPlayer .gmu-track {flex:1;min-width:0}
#gmUnifiedPlayer .gmu-track :is(strong,small) {display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
#gmUnifiedPlayer .gmu-track small {color:var(--gmu-gold)}
#gmUnifiedPlayer .gmu-icon {display:grid;place-items:center;min-height:40px;min-width:35px;padding:4px;flex:none}
#gmUnifiedPlayer .gmu-icon[data-icon=pause],#gmUnifiedPlayer .gmu-icon[aria-pressed=true] {color:var(--gmu-gold)}
#gmUnifiedPlayer .gmu-seek {direction:ltr;display:flex;align-items:center;gap:8px;height:14px;font:11px/14px Inter,Arial,sans-serif;color:var(--gmu-secondary);padding-inline:4px;margin-block-start:1mm;transform:translateY(1mm)}
#gmUnifiedPlayer .gmu-seek input {flex:1;width:0;height:14px;accent-color:var(--gmu-gold);margin:0}
#gmUnifiedPlayer .gmu-transport {display:flex;justify-content:space-around;padding-top:calc(6px + 1mm)}
#gmUnifiedPlayer .gmu-transport .gmu-icon {min-height:32px}
#gmUnifiedPlayer .gmu-transport .gmu-icon[data-icon=play] {color:#fff}
#gmUnifiedPlayer[dir=rtl] :is([data-icon=next],[data-icon=previous]) svg {transform:scaleX(-1)}
html body {padding-bottom:calc(var(--gm-footer-height,45px) + 95px + 7mm)!important}
body.gm140-locked #gmUnifiedPlayer,body:has(#lightbox.open) #gmUnifiedPlayer {visibility:hidden}
@media (max-width:900px){
 #gmUnifiedPlayer {inset-inline:8px;width:auto;max-width:540px;margin-inline:auto}
}

#gmUnifiedPlayer .gmu-track {padding:0;text-align:start;overflow:hidden}
#gmUnifiedPlayer .gmu-track:disabled {opacity:1}
#gmUnifiedPlayer .gmu-track:not(:disabled):hover strong {text-decoration:underline}
body:has(#albumModal.open) > footer {z-index:10011!important}

#gmUnifiedPlayer .gmu-favorite-tabs {grid-template-columns:repeat(2,minmax(0,1fr))}
#gmUnifiedPlayer .gmu-source-line {
 display:flex;align-items:center;justify-content:center;gap:5px;
 border-block:1px solid #a98b56;color:var(--gmu-gold);
 box-sizing:border-box;width:fit-content;max-width:100%;
 margin:1mm auto calc(2px + 1mm);margin-inline-start:0;padding:3px 5px;
 font-size:clamp(10px,3.1vw,13px);font-weight:600;
}
#gmUnifiedPlayer .gmu-source-line strong {color:#fff}
#gmUnifiedPlayer .gmu-source-symbol svg {width:16px;height:16px}
#gmUnifiedPlayer .gmu-cover-open {flex:none;padding:0;line-height:0}
#gmUnifiedPlayer .gmu-cover-open:hover .gmu-cover {border-color:#e7c777}
#gmUnifiedPlayer .gmu-song-row {border-color:#383838;background:#171717;border-radius:6px;padding-inline-end:5px}
#gmUnifiedPlayer .gmu-song-row:has([aria-current=true]) {border-color:#c3a467;background:#30291e}
#gmUnifiedPlayer .gmu-song-row .gmu-row-meta > strong {color:var(--gmu-favorite-red)}
#gmUnifiedPlayer .gmu-song-row .gmu-row-meta > small {color:var(--gmu-gold)}
#gmUnifiedPlayer .gmu-row-tools {
 display:flex;align-items:center;gap:calc(4px + 1mm);
 flex:none;
}
#gmUnifiedPlayer .gmu-row-tools > *, html body #gmAlbumTracks .gm-fav-row > :is(.gmu-album-video,.gmu-album-eq,.gm-song-share-btn,.gm-fav-heart,.gm-lyrics-link) {
 box-sizing:border-box;width:22px;min-width:22px;max-width:22px;margin-inline:0!important;
}
#gmUnifiedPlayer .gmu-row-tools > * {display:grid;place-items:center}
#gmUnifiedPlayer .gmu-row-tools > .gmu-eq {
 display:flex;justify-content:center;gap:1px;
}
#gmUnifiedPlayer .gmu-row-tools :is(.gmu-icon,.gm-fav-heart,.gm-lyrics-link) {
 min-width:22px;width:22px;height:30px;min-height:22px;padding:0;justify-content:center;
}
#gmUnifiedPlayer .gmu-row-tools .gm-lyrics-link {height:23px;border-radius:4px}
#gmUnifiedPlayer .gmu-row-tools .gm-lyrics-link svg {width:10px;height:13px}
#gmUnifiedPlayer .gmu-row-tools :is(.gm-fav-heart,.gmu-icon) svg {width:18px;height:18px}
:is(#gmUnifiedPlayer,#gmAlbumTracks) .gmu-eq {display:flex;align-items:center;justify-content:center;gap:1px;flex:0 0 22px}
:is(#gmUnifiedPlayer,#gmAlbumTracks) .gmu-eq i {
 display:block;width:3px;height:10px;background:#fff;border-radius:.5px;
 animation:gmu-beat .65s ease-in-out infinite alternate;
}
:is(#gmUnifiedPlayer,#gmAlbumTracks) .gmu-eq i:nth-child(2) {animation-duration:.48s;animation-delay:-.25s}
:is(#gmUnifiedPlayer,#gmAlbumTracks) .gmu-eq i:nth-child(3) {animation-duration:.81s;animation-delay:-.3s}
:is(#gmUnifiedPlayer,#gmAlbumTracks) .gmu-eq i:nth-child(4) {animation-duration:.56s;animation-delay:-.15s}
:is(#gmUnifiedPlayer,#gmAlbumTracks) .gmu-eq i:nth-child(5) {animation-duration:.73s;animation-delay:-.4s}
:is(#gmUnifiedPlayer,#gmAlbumTracks) .gmu-eq.gmu-paused i {animation-play-state:paused}
html body #gmAlbumTracks .gm-fav-row > .gmu-album-eq {order:3}
html body #albumModal[lang=he] #gmAlbumTracks .gm-fav-row > .gmu-album-eq {order:2}

#gmUnifiedPlayer .gmu-expand {
 color:#e7c777;min-height:32px;min-width:32px;
 border:1px solid #8a6e3e;border-radius:5px;
}
#gmUnifiedPlayer .gmu-expand::before,
html body .gmu-album-controls > button::before {
 content:"";position:absolute;top:-1px;bottom:-1px;left:50%;
 width:calc(var(--gm-expand-button-width) + 2px);
 border-radius:inherit;pointer-events:none;
 transform:translateX(-50%) scaleX(1.12);
 animation:gmu-expand-halo 1.8s ease-in-out infinite;
}
#gmUnifiedPlayer .gmu-expand svg {animation:gmu-arrows 1.8s ease-in-out infinite;--gmu-shift:-2px}
#gmUnifiedPlayer .gmu-expand[data-icon=down] svg {--gmu-shift:2px}
#gmUnifiedPlayer .gmu-transport .gmu-icon:active,
#gmUnifiedCover .gmu-cover-close:active {box-shadow:0 0 8px #dfba57;border-radius:5px}
@keyframes gmu-halo {
 0%,100% {box-shadow:0 0 3px 1px #f3cf6559}
 50% {box-shadow:0 0 8px 2px #f3cf65bf}
}
@keyframes gmu-expand-halo {
 0%,100% {box-shadow:0 0 4px 1px #f5d67263}
 50% {box-shadow:0 0 9px 2.5px #f5d672d4}
}
@keyframes gmu-arrows {
 0%,100% {transform:translateY(0);filter:drop-shadow(0 0 1px #ffda6b66)}
 50% {transform:translateY(var(--gmu-shift));filter:drop-shadow(0 0 3px #ffda6b)}
}
#gmUnifiedCover::backdrop {background:#000d}
#gmUnifiedCover button {cursor:pointer;color:inherit;font:inherit}
#gmUnifiedCover .gmu-cover-flip {display:block;margin:auto;background:none;border:0;padding:0}
#gmUnifiedCover .gmu-cover-sides[hidden] {display:none!important}
@media (prefers-reduced-motion:reduce) {
 #gmUnifiedPlayer .gmu-expand::before,html body .gmu-album-controls > button::before,
 #gmUnifiedPlayer .gmu-expand svg,:is(#gmUnifiedPlayer,#gmAlbumTracks) .gmu-eq i {animation:none}
}

html body #discography[hidden] {display:none!important}
#gmUnifiedPlayer {
 transition:transform .16s ease-in-out,visibility 0s;
}
#gmUnifiedPlayer.gmu-docked-away {
 transform:translateY(calc(100% + var(--gmu-footer,45px)));
 visibility:hidden;
 transition:transform .15s ease-in,visibility 0s .15s;
 pointer-events:none;
}
#gmUnifiedPlayer.gmu-open {
 height:calc(var(--gmu-viewport-height,100dvh) - var(--gmu-top,76px) - var(--gmu-footer,45px));
}
#gmUnifiedPlayer.gmu-open .gmu-browser {height:auto;flex:1}
#gmUnifiedPlayer .gmu-categories {
 display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:4px;
 padding:5px 7px;border-bottom:1px solid var(--gmu-border);
 animation:gmu-sub-enter .16s ease-out;
}
#gmUnifiedPlayer .gmu-categories button {min-height:35px;padding:4px;color:var(--gmu-gold);border-radius:4px;font-size:12px}
#gmUnifiedPlayer .gmu-categories button[aria-expanded=true] {background:var(--gmu-active);box-shadow:inset 0 -2px var(--gmu-gold)}
#gmUnifiedPlayer .gmu-views {
 display:flex;flex:none;align-items:center;justify-content:space-between;gap:3mm;
 padding:3mm;
 border-block-end:1px solid var(--gmu-border);
}
#gmUnifiedPlayer .gmu-section-intro {
 flex:1;min-width:0;margin:0;margin-inline-start:2mm;color:#fff;
 font-size:clamp(10px,2.8vw,12px);line-height:1.35;text-align:justify;
}
#gmUnifiedPlayer .gmu-section-intro strong {font-weight:700}
#gmUnifiedPlayer .gmu-layout-options {display:flex;flex:none;gap:5px}
#gmUnifiedPlayer .gmu-views + .gmu-list {padding-block-start:0}
#gmUnifiedPlayer .gmu-empty-favorites {grid-column:1/-1;margin:0}
#gmUnifiedPlayer .gmu-views .gmu-icon {min-height:30px;border:1px solid transparent;border-radius:4px}
#gmUnifiedPlayer .gmu-views .gmu-icon[aria-pressed=true] {border-color:var(--gmu-border);background:var(--gmu-active)}
#gmUnifiedPlayer .gmu-views svg {width:18px;height:18px}
@media (max-width:340px) {
 #gmUnifiedPlayer .gmu-views .gmu-icon {min-width:26px;padding-inline:2px}
}
#gmUnifiedPlayer .gmu-catalog-row {padding-inline-end:2mm}
#gmUnifiedPlayer .gmu-catalog-tools {display:flex;align-items:center;gap:2mm;flex:none}
#gmUnifiedPlayer .gmu-catalog-tools > * {width:24px;min-width:24px;height:28px;min-height:28px;padding:0}
#gmUnifiedPlayer .gmu-catalog-tools svg {width:22px;height:22px}
#gmUnifiedPlayer .gmu-catalog-row strong {color:#fff}
#gmUnifiedPlayer.gmu-is-playing .gmu-radio-catalog:not(.gmu-grid) [aria-current=true] .gmu-row-meta > strong {color:var(--gmu-gold)}
#gmUnifiedPlayer.gmu-is-playing .gmu-radio-catalog:not(.gmu-grid) [aria-current=true] .gmu-row-meta > small {color:#d6b56c}
#gmUnifiedPlayer:has(.gmu-favorite-tabs:not([hidden]) > [data-tab=albums][aria-pressed=true])
 .gmu-catalog-row:has(.gm-fav-heart[data-fav-type=albums]) .gmu-row-meta > strong,
#gmFavorites .gm-fav-item:has(> .gm-fav-heart[data-fav-type=albums]) .gm-fav-meta > strong {
 color:var(--gmu-gold,#e6c889);
}
#gmUnifiedPlayer .gmu-catalog-row:has(.gm-fav-heart[data-fav-type=albums]) .gmu-row-meta > small,
#albumGrid .album-card .album-card-year {
 color:#d6b56c;
}
#gmUnifiedPlayer .gmu-grid {
 display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px;align-content:start;
}
#gmUnifiedPlayer .gmu-grid :is(.gmu-catalog-row,.gmu-song-row) {
 flex-direction:column;justify-content:space-between;gap:3px;
 padding:4px;margin:0;min-width:0;
}
#gmUnifiedPlayer .gmu-grid .gmu-row-action {padding:0;width:100%;flex-direction:column;align-items:stretch;gap:3px;text-align:center;font-size:11px}
#gmUnifiedPlayer .gmu-grid .gmu-row-action img {width:100%;height:auto;aspect-ratio:1;object-fit:cover}
#gmUnifiedPlayer .gmu-grid .gmu-row-action small {font-size:10px}
#gmUnifiedPlayer :is(.gmu-grid .gmu-catalog-tools,.gmu-grid.gmu-favorites-catalog .gmu-row-tools) {
 min-height:21px;justify-content:center;max-width:100%;
}
#gmUnifiedPlayer .gmu-grid.gmu-favorites-catalog .gmu-row-tools {
 flex-wrap:wrap;gap:3mm;
}
#gmUnifiedPlayer :is(.gmu-grid .gmu-catalog-tools,.gmu-grid.gmu-favorites-catalog .gmu-row-tools) > * {
 width:17px;min-width:17px;height:20px;min-height:20px;
}
#gmUnifiedPlayer .gmu-grid.gmu-favorites-catalog .gmu-row-tools > * {padding:0}
#gmUnifiedPlayer :is(.gmu-grid .gmu-catalog-tools,.gmu-grid.gmu-favorites-catalog .gmu-row-tools) > :is(.gm-fav-heart,.gmu-share) svg,
#gmUnifiedPlayer .gmu-grid .gmu-catalog-tools svg {width:16px;height:16px}
@media (max-width:350px) {
 #gmUnifiedPlayer .gmu-grid.gmu-favorites-catalog:has(.gmu-song-row) {
  grid-template-columns:repeat(2,minmax(0,1fr));
 }
}
#albumModal.gmu-album-sheet.open {animation:gmu-sheet-in .24s ease-out both}
#albumModal.gmu-album-sheet.gmu-album-leaving {
 display:block!important;pointer-events:none;animation:gmu-sheet-out .24s ease-in both;
}
@keyframes gmu-sheet-in {from {transform:translateY(100%)} to {transform:none}}
@keyframes gmu-sheet-out {from {transform:none} to {transform:translateY(100%)}}
@keyframes gmu-sub-enter {from {transform:translateY(-5px);opacity:0} to {transform:none;opacity:1}}
@media (prefers-reduced-motion:reduce) {
 #gmUnifiedPlayer,#gmUnifiedPlayer.gmu-docked-away {transition:none}
 #albumModal.gmu-album-sheet.open,#albumModal.gmu-album-sheet.gmu-album-leaving,#gmUnifiedPlayer .gmu-categories {animation:none}
 #albumModal.gmu-album-sheet.gmu-album-leaving {display:none!important}
}
#gmUnifiedPlayer .gmu-radio-catalog.gmu-grid .gmu-catalog-row {
 display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:end;
}
#gmUnifiedPlayer .gmu-radio-catalog.gmu-grid .gmu-row-action {
 display:contents;
}
#gmUnifiedPlayer .gmu-radio-catalog.gmu-grid .gmu-row-cover {
 grid-column:1/-1;
}
#gmUnifiedPlayer .gmu-radio-catalog.gmu-grid .gmu-row-action > .gmu-row-meta {
 align-self:center;text-align:start;font-size:11px;
}
#gmUnifiedPlayer .gmu-radio-catalog.gmu-grid .gmu-catalog-tools {gap:4px}
#gmUnifiedPlayer .gmu-radio-catalog.gmu-grid .gmu-catalog-row:has(.gmu-row-action:focus-visible) {
 outline:2px solid var(--gmu-gold);outline-offset:-2px;
}

/* Keep the compact transport and track actions in both player positions. */
#gmUnifiedPlayer .gmu-actions {display:flex;align-items:center;gap:3mm;margin-inline-end:2mm}
#gmUnifiedPlayer .gmu-actions > :is(button,.gmu-eq) {width:22px;min-width:22px;flex:0 0 22px;padding:0}
#gmUnifiedPlayer .gmu-actions button svg {width:22px;height:22px}
#gmUnifiedPlayer .gmu-actions > .gm-fav-heart:not([aria-pressed=true]) svg {stroke:var(--gmu-gold)}
#gmUnifiedPlayer .gmu-now {gap:2mm}
#gmUnifiedPlayer .gmu-track {margin-inline-start:1mm}
#gmUnifiedPlayer .gmu-track a {display:block;color:inherit;text-decoration:none}
#gmUnifiedPlayer .gmu-track a[href] {color:#f26a68;text-decoration:underline;text-underline-offset:2px}
#gmUnifiedPlayer .gmu-track bdi {color:#fff}
#gmUnifiedPlayer .gmu-row-tools > .gmu-eq[hidden],
html body #gmAlbumTracks .gmu-album-eq[hidden] {display:none!important}
html body #gmAlbumTracks {overscroll-behavior-y:auto!important;touch-action:pan-y pinch-zoom!important}
#gmUnifiedPlayer .gmu-list {overscroll-behavior-y:auto;touch-action:manipulation}
#gmUnifiedPlayer :is(.gmu-sources,.gmu-categories,.gmu-favorite-tabs,.gmu-bar) {touch-action:pinch-zoom}
html body :is(.gm-share-btn,.gm-share-mini,.gm-song-share-btn,.gmu-share,[data-icon=share]) {
 background:transparent!important;box-shadow:none!important;border-color:transparent!important;
}
html body :is(.gm-share-btn,.gm-share-mini,.gm-song-share-btn) svg circle {fill:none!important;stroke:#fff!important}

#gmUnifiedCover {
 max-width:100vw;max-height:100dvh;margin:auto;padding:0;
 border:0;border-radius:0;background:transparent;overflow:visible;
}
#gmUnifiedCover .gmu-cover-frame {position:relative;padding:0}
#gmUnifiedCover .gmu-cover-viewport {max-width:100vw;touch-action:auto}
#gmUnifiedCover img {
 display:block;width:auto;height:auto;max-width:100vw;max-height:calc(100dvh - 112px);object-fit:contain;
}
#gmUnifiedCover .gmu-cover-sides {margin:4px 0 0}
#gmUnifiedCover .gmu-cover-sides button:not(.active) {background:#090b0a;color:#aaa;border-color:#47544d}
#gmUnifiedCover .gmu-cover-sides button.active {background:#d5d9d6;color:#080908;border-color:#47544d}
html body .gmu-float-control,html body #gmUnifiedCover .gmu-float-control {
 display:grid;place-items:center;width:34px;height:34px;min-width:34px;min-height:34px;
 padding:0;border:1px solid #8a6e3e;border-radius:5px;background:#17120c;color:#e7c777;
 box-shadow:0 0 4px #f3cf6580;animation:gmu-halo 1.8s ease-in-out infinite;
}
html body .gmu-float-control[hidden] {display:none!important}
html body .gmu-float-control svg {width:22px;height:22px;animation:gmu-arrows 1.8s ease-in-out infinite;--gmu-shift:-2px}
html body .gmu-float-control[data-icon=close] svg {animation:gmu-cross 1.8s ease-in-out infinite}
@keyframes gmu-cross {
 0%,100% {transform:rotate(0);filter:drop-shadow(0 0 1px #ffda6b66)}
 50% {transform:rotate(11deg);filter:drop-shadow(0 0 3px #ffda6b)}
}
#gmUnifiedCover .gmu-cover-close {position:absolute;right:4px;top:-39px;z-index:1}
html body #albumModal .album-modal-inner {
 margin-bottom:0!important;padding-bottom:0!important;
}
@media(prefers-reduced-motion:reduce) {
 html body .gmu-float-control,html body #gmUnifiedCover .gmu-float-control,html body .gmu-float-control svg,html body .gmu-float-control[data-icon=close] svg {animation:none}
}

#gmUnifiedPlayer :is(.gmu-expand,.gmu-video-switch) {position:absolute;top:5px;z-index:2}
#gmUnifiedPlayer .gmu-expand {
 inset-inline-end:var(--gmu-bar-inset);width:var(--gmu-expand-width);min-width:var(--gmu-expand-width);height:var(--gmu-expand-size);
}


/* Align the source lines with the cover and reserve room for the expand button. */
#gmUnifiedPlayer .gmu-source-slot {
 margin-inline-end:calc(var(--gmu-expand-width) + 5px);
 display:flow-root;
}
#gmUnifiedPlayer .gmu-source-line {position:relative;top:-.5mm;text-align:center}
#gmUnifiedPlayer .gmu-source-slot:has(> .gmu-source-line[hidden]) + .gmu-now {padding-top:24px}

.gmu-album-controls {
 position:fixed;inset:0;z-index:10012;pointer-events:none;
 --gmu-album-edge:calc(var(--gmu-control-inset,24px) + (var(--gm-expand-button-width) - 34px)/2);
}
.gmu-album-controls[hidden] {display:none!important}
html body .gmu-album-controls > :is(.album-close,.gmu-album-top) {
 position:absolute;right:var(--gmu-album-edge);left:auto;pointer-events:auto;
 box-shadow:none;animation:none;
}
html body:has(#albumModal[dir=rtl]) .gmu-album-controls > :is(.album-close,.gmu-album-top),
html[lang=he] body:has(#albumModal:not([dir])) .gmu-album-controls > :is(.album-close,.gmu-album-top) {
 left:var(--gmu-album-edge);right:auto;
}
body {--gmu-album-cover-top:18px}
html body .gmu-album-controls > .album-close {top:var(--gmu-album-cover-top)}
html body .gmu-album-controls > .gmu-album-top {
 bottom:var(--gmu-control-bottom,158px);border-radius:50%;
}
html body #gmAlbumTracks .gm-fav-row > .gm-fav-heart {
 display:grid!important;place-items:center;padding:0!important;color:#fff;
}
html body #gmAlbumTracks .gm-fav-row > :is(.gmu-album-video,.gm-fav-heart,.gm-song-share-btn) svg {
 width:20px!important;height:20px!important;
}
html body #albumModal #gmAlbumTracks .gm-fav-row > .gm-song-share-btn {
 position:static;transform:none;display:grid;place-items:center;padding:0!important;
}
html body #albumModal #gmAlbumTracks .gm-fav-row > .gm-song-share-btn svg :is(path,circle) {
 fill:none!important;stroke:#fff!important;stroke-width:1.8!important;
}
html body #gmAlbumTracks .gm-fav-row > .gm-fav-heart svg path {
 fill:none!important;stroke:#e6c889!important;stroke-width:1.8!important;
}
html body #gmAlbumTracks .gm-fav-row > .gm-fav-heart[aria-pressed=true] svg path {
 fill:#e54a50!important;stroke:#e54a50!important;
}

#gmUnifiedPlayer.gmu-sliding-shut .gmu-browser {height:auto;flex:1;pointer-events:none;overflow:hidden}
#gmUnifiedPlayer.gmu-open .gmu-browser {overflow:hidden}
#gmUnifiedPlayer .gmu-tools {
 display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0;
 margin:0;padding:0;flex:none;z-index:1;
}
#gmUnifiedPlayer .gmu-tools button {
 min-height:32px;font-size:12px;border:1px solid #8d7043;border-radius:0;padding:4px 3px;
 background:#927246;color:#fff2ce;text-decoration:none;font-weight:600;
}
#gmUnifiedPlayer .gmu-tools button + button {
 border-inline-start:0;background:#4c3722;
}
#gmUnifiedPlayer .gmu-backup-help {
 flex:none;max-height:min(29dvh,52%);overflow:auto;overscroll-behavior:contain;
 touch-action:pan-y pinch-zoom;
}
#gmUnifiedPlayer .gmu-backup-help > button {
 display:flex;align-items:center;justify-content:space-between;gap:8px;
 width:100%;min-height:36px;padding:5px 10px;text-align:start;
 color:#efdaaf;font-size:12px;
}
#gmUnifiedPlayer .gmu-backup-help > button > span:first-child {
 color:#edbd63;
 font-weight:700;
}
#gmUnifiedPlayer .gmu-help-arrow {
 flex:none;width:7px;height:7px;margin-inline:3px;
 border-right:1.5px solid currentColor;border-bottom:1.5px solid currentColor;
 transform:rotate(45deg) translateY(-2px);
}
#gmUnifiedPlayer [aria-expanded=true] > .gmu-help-arrow {transform:rotate(225deg) translateY(-2px)}
#gmUnifiedBackupInstructions {padding:1px 10px 8px;color:#e6dfd2;font-size:12px}
#gmUnifiedBackupInstructions p {text-align:start}
#gmUnifiedBackupInstructions p {display:grid;grid-template-columns:16px 1fr;gap:4px;margin:4px 0 7px}
#gmUnifiedBackupInstructions .gmu-help-stars {color:var(--gmu-gold);font-weight:600}
#gmUnifiedPlayer .gmu-help-arrow {color:var(--gmu-gold)}
#gmUnifiedPlayer .gmu-song-row .gmu-row-tools > :is(.gmu-icon,.gm-fav-heart) svg {width:19px;height:19px}
html body #albumModal {
 padding-top:var(--gmu-album-cover-top);
 padding-bottom:calc(var(--gmu-album-dock,0px) + 5mm);
}
html body #albumModal .album-modal-inner {margin-top:0;padding-top:0}
html body #albumModal #gmAlbumReviews {margin-bottom:0;padding-bottom:0}
html body #albumModal .album-art-panel {padding-top:0}
html body .gm-lyrics-dialog .gmu-lyrics-top {
 position:fixed;inset-inline-end:var(--gmu-control-inset,24px);
 bottom:var(--gmu-control-bottom,158px);border-radius:50%;z-index:2;
}

html body #albumLarge {touch-action:pan-y pinch-zoom}

/* Lock only the document viewport while an overlay is open. Its own scroll areas
   retain native scrolling and the album tracks can still scroll into the album. */
:is(html,body):has(:is(
 #albumModal.open,
 #albumModal.gmu-album-leaving,
 .gm-language-options:not([hidden]),
 .gm-more-wrap.open,
 #gm-install-dialog.open,
 #merchModal.open,
 #lightbox.open,
 .gm140-fullscreen.open,
 dialog[open]
)) {
 overflow:hidden!important;
 overscroll-behavior-y:none!important;
}
/* Keep native page zoom available while only the overlay scrolls with one finger. */
@media (pointer:coarse) {
 html:has(#navlinks.open,#gmUnifiedPlayer:is(.gmu-open,.gmu-sliding-shut)) :is(main,body > footer) {
  touch-action:pinch-zoom;
 }
}
html body :is(#navlinks.open,#albumModal,.gm-language-options,.gm-lyrics-dialog),
#gmUnifiedPlayer .gmu-list {
 overscroll-behavior-y:contain;
}
#gmUnifiedPlayer[dir=rtl] .gmu-song-row .gmu-row-meta > :is(strong,small) {text-align:right}
#gmUnifiedPlayer .gmu-list:not(.gmu-grid) .gmu-row-action {column-gap:3mm}
#gmUnifiedPlayer[dir=rtl] .gmu-track,
#gmUnifiedPlayer[dir=rtl] .gmu-track a {text-align:right}
#gmUnifiedCover .gmu-cover-flip[aria-disabled=false] {touch-action:pan-y pinch-zoom}

/* Keep fixed controls at the same horizontal position across scroll lock. */
html:has(#gmUnifiedPlayer) {scrollbar-gutter:stable}

html body #albumModal > .gm-album-language {
 position:absolute;top:calc(var(--gmu-album-cover-top) + 38px);
 inset-inline-end:var(--gmu-control-inset,24px);
 margin:0;padding:0;
}

#gmUnifiedPlayer .gmu-row-cover {position:relative;flex:none;line-height:0}
#gmUnifiedPlayer .gmu-row-cover img {display:block}
#gmUnifiedPlayer .gmu-grid .gmu-row-cover {width:100%}
#gmUnifiedPlayer .gmu-cover-eq {
 position:absolute;inset:12%;gap:0;justify-content:space-evenly;overflow:hidden;
 border-radius:3px;pointer-events:none;background:#0003;
}
#gmUnifiedPlayer .gmu-cover-eq i {
 width:9%;height:76%;box-shadow:0 0 3px #000;
}
#gmUnifiedPlayer .gmu-actions .gmu-current-eq {gap:1px}

#gmUnifiedPlayer .gmu-actions .gmu-current-eq i {height:17px}
#gmUnifiedPlayer .gmu-row-tools .gmu-eq i,
html body #gmAlbumTracks .gm-fav-row > .gmu-album-eq i {height:15px}
#gmUnifiedPlayer .gmu-catalog-tools > .gmu-catalog-list-eq {flex:0 0 24px}
#gmUnifiedPlayer .gmu-catalog-list-eq i {height:19px}
html body #albumModal #gmAlbumTracks .gm-fav-row {
 column-gap:calc(4px + 1mm)!important;
 min-width:0;max-width:100%;padding-inline-end:9px!important;
}
#gmUnifiedPlayer .gmu-catalog-tools {gap:3mm}
#gmUnifiedPlayer .gmu-radio-catalog.gmu-grid .gmu-catalog-tools {gap:calc(4px + 1mm)}

html body #albumModal,
html body #albumModal #gmAlbumTracks {
 scroll-behavior:auto;
 overflow-anchor:none;
}
html body #albumModal #gmAlbumTracks {
 max-height:min(calc(244px + var(--gm-album-grid-row-gap,18px)),var(--gmu-list-room,100vh));
 overflow-x:hidden;
}
html body #albumModal #gmAlbumTracks .gm-fav-row:is(.gm-eq-current,:has(> .gm-track-btn:is(.active,[aria-current=true],.gm-radio-linked-track,.gm-clip-linked-track,.gm-selected-linked-track))) {
 background:#30291e!important;
 border:1px solid #c3a467!important;
}
html body #albumModal #gmAlbumTracks .gm-fav-row:is(.gm-eq-current,:has(> .gm-track-btn:is(.active,[aria-current=true],.gm-radio-linked-track,.gm-clip-linked-track,.gm-selected-linked-track))) > .gm-track-btn {
 background:transparent!important;
 border:0!important;
 box-shadow:none!important;
 color:#e7c777!important;
}

/* Sweep light along the existing gold accents. */
@property --gmu-glint-angle {
 syntax:"<angle>";
 inherits:false;
 initial-value:0deg;
}
@keyframes gmu-glint-orbit {
 to {--gmu-glint-angle:360deg}
}
@keyframes gmu-glint-sweep {
 0%,12% {background-position:100% 0}
 78%,100% {background-position:0 0}
}
#gmUnifiedPlayer .gmu-views .gmu-icon[aria-pressed=true] {border-color:#a98749}
@media (prefers-reduced-motion:no-preference) {
 #gmUnifiedPlayer .gmu-views .gmu-icon[aria-pressed=true] {
  position:relative;
  isolation:isolate;
 }
 #gmUnifiedPlayer .gmu-views .gmu-icon[aria-pressed=true]::before,
 #gmUnifiedPlayer .gmu-views .gmu-icon[aria-pressed=true]::after {
  content:"";position:absolute;inset:-1px;border-radius:inherit;padding:1px;
  pointer-events:none;
  background:conic-gradient(from var(--gmu-glint-angle),transparent 4deg,#f5cd7e 24deg,transparent 44deg);
  opacity:.34;
  mask:linear-gradient(#000 0 0) content-box,linear-gradient(#000 0 0);
  mask-composite:exclude;
  animation:gmu-glint-orbit 2.8s linear infinite;
 }
 #gmUnifiedPlayer .gmu-views .gmu-icon[aria-pressed=true]::after {
  animation-direction:reverse;
  animation-delay:-1.4s;
 }
 #gmUnifiedPlayer :is(.gmu-source-line,.gmu-sources button[aria-pressed=true],
 .gmu-favorite-tabs button[aria-pressed=true],.gmu-categories button[aria-expanded=true]) {
  position:relative;
 }
 #gmUnifiedPlayer :is(.gmu-source-line,.gmu-sources button[aria-pressed=true],
 .gmu-favorite-tabs button[aria-pressed=true],.gmu-categories button[aria-expanded=true])::after,
 #gmUnifiedPlayer .gmu-source-line::before {
  content:"";position:absolute;inset-inline:0;bottom:-1px;height:2px;pointer-events:none;
  background:linear-gradient(100deg,transparent 43%,#f3cc75 48%,#fff9df 50%,#f3cc75 52%,transparent 57%) 100% 0 / 240% 100% no-repeat;
  animation:gmu-glint-sweep 2.8s linear infinite;
 }
 #gmUnifiedPlayer .gmu-source-line::before {top:-1px;bottom:auto}
 #gmUnifiedPlayer .gmu-source-line::after {animation-direction:reverse}
 #gmUnifiedPlayer .gmu-source-line::before,
 #gmUnifiedPlayer .gmu-source-line::after {
  height:1px;
  opacity:.48;
 }
 #gmUnifiedPlayer .gmu-categories button[aria-expanded=true]::after {
  inset-inline:3px;bottom:0;border-radius:2px;
 }
 @supports (background-clip:text) {
  #gmUnifiedPlayer .gmu-backup-help > button > span:first-child {
   background:linear-gradient(100deg,#edbd63 37%,#ffd786 44%,#fff3c4 50%,#ffd786 56%,#edbd63 63%) 100% 0 / 240% 100% no-repeat;
   background-clip:text;
   color:transparent;
   animation:gmu-glint-sweep 3.2s linear infinite;
  }
 }
}

/* One dimmed photo per source, across the entire open browser panel. */
#gmUnifiedBrowser {
 --gmu-photo-shade:rgba(17,16,15,calc(1 - var(--gm-photo-opacity)));
 background-image:linear-gradient(var(--gmu-photo-shade),var(--gmu-photo-shade)),var(--gmu-browser-photo,url("https://media.grafmitternacht.com/Images/assets/group/41374.png"));
 background-position:center 26%;
 background-repeat:no-repeat;
 background-size:cover;
}
#gmUnifiedBrowser:has(.gmu-sources [data-tab="albums"][aria-pressed="true"]) {
 --gmu-browser-photo:url("https://media.grafmitternacht.com/Images/assets/group/41370.png");
}
#gmUnifiedBrowser:has(.gmu-sources [data-tab="favorites"][aria-pressed="true"]) {
 position:relative;
 isolation:isolate;
 background-image:none;
}
#gmUnifiedBrowser:has(.gmu-sources [data-tab="favorites"][aria-pressed="true"])::before {
 content:"";
 position:absolute;
 inset:0;
 z-index:-1;
 pointer-events:none;
 background:url("https://media.grafmitternacht.com/Images/assets/group/Graf_Mitternacht_36.jpg") center 26% / cover no-repeat;
 filter:grayscale(1);
 opacity:var(--gm-photo-opacity);
}

#gmUnifiedPlayer .gmu-source-slot:has(.gmu-video-switch:not([hidden])) {
 margin-inline-end:calc(var(--gmu-expand-width) + var(--gmu-switch-gap) + var(--gm-media-switch-width) + 5px);
}
#gmUnifiedPlayer .gmu-video-switch {
 inset-inline-end:calc(var(--gmu-bar-inset) + var(--gmu-expand-width) + var(--gmu-switch-gap));
}
#gmUnifiedPlayer .gmu-video-switch,
#gm-video-catalog #gmvc-viewer #gmvc-return-song {
 appearance:none;
 box-sizing:border-box;
 display:grid;
 place-content:center;
 justify-items:center;
 gap:1px;
 width:var(--gm-media-switch-width);
 height:var(--gm-player-button-height);
 padding:2px;
 border:1px solid #8a6e3e;
 border-radius:5px;
 background:#080808;
 color:#e7c777;
 font:600 8px/1.05 Inter,Arial,sans-serif;
 cursor:pointer;
}
#gmUnifiedPlayer .gmu-video-switch svg,
#gm-video-catalog #gmvc-viewer #gmvc-return-song svg {
 display:block;
 width:16px;
 height:15px;
 fill:none;
 stroke:currentColor;
 stroke-width:1.8;
 stroke-linecap:round;
 stroke-linejoin:round;
}
#gmUnifiedPlayer .gmu-video-switch[hidden] {display:none}
#gmUnifiedPlayer .gmu-video-switch:focus-visible,
html body #gmAlbumTracks .gmu-album-video:focus-visible {outline:2px solid #e6c889;outline-offset:1px}
html body #albumModal #gmAlbumTracks .gm-fav-row > .gmu-album-video {
 order:1;
 display:grid;
 place-items:center;
 flex:0 0 22px;
 width:22px;
 height:24px;
 padding:0;
 border:0;
 background:transparent;
 color:#e6c889;
 cursor:pointer;
}
html body #albumModal #gmAlbumTracks .gm-track-btn,
html body #albumModal #gmAlbumTracks .gm-track-name {
 overflow-wrap:normal;
 word-break:normal;
 hyphens:none;
 white-space:normal;
}
html body #albumModal #gmAlbumTracks .gm-track-time-text {white-space:nowrap}

/* Leave room to scroll when either dialog is taller than the visible screen. */
:root {--gm-dialog-top:clamp(8px,calc(50dvh - 145px - 1cm),25dvh)}
#gm-video-catalog #gmvc-viewer:not(.is-theater) {
 --gm-dialog-inset:max(8px,calc(var(--gm-dialog-top) - 14mm));
}
#gmPlayerIconGuide,
#gm-video-catalog #gmvc-viewer:not(.is-theater) {
 position:fixed;
 inset:var(--gm-dialog-inset,var(--gm-dialog-top)) 0 auto;
 margin:0 auto;
 max-height:calc(100dvh - var(--gm-dialog-inset,var(--gm-dialog-top)) - 8px);
}

/* Brief preview of the player menu on the first visit. */
#gmUnifiedPlayer .gmu-first-visit-peek,.gmu-first-visit-arrows {
 --gmu-cue-rise:min(5cm,var(--gmu-cue-room));
}
#gmUnifiedPlayer .gmu-first-visit-peek {
 height:0;
 flex:none;
 overflow:hidden;
 pointer-events:none;
 animation:gmu-first-visit-peek 1950ms ease-in-out 3;
}
#gmUnifiedPlayer .gmu-first-visit-peek .gmu-sources {background:var(--gmu-surface)}
#gmUnifiedPlayer .gmu-first-visit-covers {
 display:grid;
 grid-template-columns:repeat(3,minmax(0,1fr));
 gap:6px;
 padding:6px 8px 0;
}
#gmUnifiedPlayer .gmu-first-visit-covers img {
 box-sizing:border-box;
 width:100%;
 aspect-ratio:1;
 object-fit:cover;
 border:1px solid var(--gmu-border);
 border-radius:5px;
}
@keyframes gmu-first-visit-peek {
 0%,100% {height:0}
 40%,58% {height:var(--gmu-cue-rise)}
}
.gmu-first-visit-arrows {
 position:fixed;
 top:var(--gmu-cue-top);
 left:var(--gmu-cue-left);
 width:var(--gmu-cue-width);
 padding-inline:4mm;
 box-sizing:border-box;
 display:flex;
 justify-content:space-between;
 pointer-events:none;
 z-index:10011;
 color:#e7c777;
}
.gmu-first-visit-arrows svg {
 width:12mm;
 height:17mm;
 opacity:0;
 filter:drop-shadow(0 2px 3px #000c) drop-shadow(0 0 4px #f4c96870);
 animation:gmu-first-visit-arrow 1950ms ease-in-out 3;
}
@keyframes gmu-first-visit-arrow {
 0% {opacity:0;transform:translateY(calc(-100% - 8px))}
 23% {opacity:.70}
 40% {transform:translateY(calc(-100% - var(--gmu-cue-rise) - 8px))}
 58% {transform:translateY(calc(-100% - var(--gmu-cue-rise) - 18px))}
 68% {opacity:.62}
 100% {opacity:0;transform:translateY(calc(-100% - max(27dvh,var(--gmu-cue-rise) + 30px)))}
}
@media (prefers-reduced-motion:reduce) {
 #gmUnifiedPlayer .gmu-first-visit-peek,.gmu-first-visit-arrows {display:none}
}
