/* GB-PLAYER-ALIGN-22 — symmetric premium controls across all Dreamland players. */
:is(.radio-console .radio-controls.dl-premium-controls,.dl-video-actions.dl-premium-controls){
  display:flex;flex-flow:row nowrap;align-items:center;justify-content:center;
  gap:clamp(7px,1.45vw,16px);width:100%;margin-inline:auto;
}
:is(.radio-console .radio-controls.dl-premium-controls,.dl-video-actions.dl-premium-controls)>button{
  flex:0 0 auto;box-sizing:border-box;display:grid;place-items:center;
  width:clamp(40px,3.7vw,49px);height:clamp(40px,3.7vw,49px);
  min-width:0;min-height:0;margin:0;padding:0;border-radius:50%;
  border:1px solid #f2e7ff38;background:linear-gradient(140deg,#ffffff19,#ffffff0b);
  box-shadow:inset 0 1px 0 #ffffff2b,0 5px 18px #03091e35;
  backdrop-filter:blur(15px);-webkit-backdrop-filter:blur(15px);
  transition:transform .2s ease,box-shadow .2s ease,background .2s ease;
}
:is(.radio-console .radio-controls.dl-premium-controls,.dl-video-actions.dl-premium-controls)>button:is(.radio-main-play,.dl-video-primary){
  width:clamp(60px,5vw,73px);height:clamp(60px,5vw,73px);
  background:linear-gradient(135deg,#f1e8fa,#c9dff6);color:#192749;border:0;
  box-shadow:inset 0 2px 2px #ffffff95,0 10px 34px #a7ccf14d;
}
.dl-music-realm .realm-copy>.realm-player{
  display:grid;grid-template-columns:repeat(5,minmax(0,49px));
  justify-content:center;align-items:center;justify-items:center;
  column-gap:clamp(8px,1.1vw,13px);row-gap:13px;
  padding:19px clamp(10px,2vw,28px) 22px;border-radius:23px;
  background:linear-gradient(140deg,#ffffff1c,#ffffff08);
  border:1px solid #ffffff30;box-shadow:0 12px 44px #02091f26,inset 0 1px 0 #ffffff1f;
}
.dl-music-realm .realm-player .mini-track{
  grid-column:1/-1!important;grid-row:1!important;width:100%;
  margin:0 0 3px!important;text-align:center;justify-self:stretch;
}
.dl-music-realm .realm-player .mini-track-name{font-size:15px;line-height:1.4;font-weight:700;}
.dl-music-realm .realm-player .mini-track-status{font-size:11px;margin:4px 0 12px;}
.dl-music-realm .realm-player .mini-progress{height:4px;}
.dl-music-realm .realm-player>button{grid-row:2!important;grid-column:auto!important;
  width:46px;height:46px;min-width:0;min-height:0;margin:0;padding:0;
  display:grid;place-items:center;border-radius:50%;
  border:1px solid #f0e8ff3a;background:#ffffff13;color:#f6f2ff;
  box-shadow:inset 0 1px 0 #ffffff27,0 5px 18px #02071c34;
}
.dl-music-realm .realm-player>.mini-shuffle{grid-column:1!important}
.dl-music-realm .realm-player>.mini-prev{grid-column:2!important}
.dl-music-realm .realm-player>.mini-play{grid-column:3!important;
  width:60px;height:60px;border:0;
  background:linear-gradient(135deg,#f5ebff,#cae0f6);color:#172444;
  box-shadow:inset 0 1px 2px #fff9,0 11px 29px #b8dbff42;
}
.dl-music-realm .realm-player>.mini-next{grid-column:4!important}
.dl-music-realm .realm-player>.mini-loop{grid-column:5!important}
:is(.dl-music-realm .realm-player,.dl-premium-controls)>button[aria-pressed="true"]{
  background:linear-gradient(145deg,#d2dffb4d,#b6c8f73b);border-color:#e3efffb9;
  box-shadow:0 0 21px #c9e0ff38,inset 0 1px 0 #ffffff5c;
}
:is(.dl-music-realm .realm-player,.dl-premium-controls)>button:focus-visible{outline:2px solid #eaf6ff;outline-offset:3px}
:is(.dl-music-realm .realm-player,.dl-premium-controls)>button:hover{transform:translateY(-2px)}
/* Central song controls remain consistent on iPad and narrow phones. */
@media(max-width:560px){
 :is(.radio-console .radio-controls.dl-premium-controls,.dl-video-actions.dl-premium-controls){gap:clamp(5px,1.5vw,9px)}
 :is(.radio-console .radio-controls.dl-premium-controls,.dl-video-actions.dl-premium-controls)>button{width:40px;height:40px}
 :is(.radio-console .radio-controls.dl-premium-controls,.dl-video-actions.dl-premium-controls)>button:is(.radio-main-play,.dl-video-primary){width:58px;height:58px}
 .dl-music-realm .realm-copy>.realm-player{grid-template-columns:repeat(5,minmax(0,40px));column-gap:7px;}
 .dl-music-realm .realm-player>button{width:39px;height:39px}
 .dl-music-realm .realm-player>.mini-play{width:54px;height:54px}
}
@media(prefers-reduced-motion:reduce){:is(.dl-premium-controls,.dl-music-realm .realm-player)>button{transition:none}:is(.dl-premium-controls,.dl-music-realm .realm-player)>button:hover{transform:none}}
/* Persistent Build My Night player when Nightlight is minimized. */
#gb21-routine .gb22-inline-player[hidden]{display:none!important}
#gb21-routine .gb22-inline-player{padding:clamp(22px,3vw,34px);border:1px solid #d3e8ff54;border-radius:26px;
 background:linear-gradient(135deg,#223e67f0,#242d57dc 55%,#1b3b62d7);
 box-shadow:0 18px 62px #050d2f6b,inset 0 1px 0 #ffffff48;
 margin:4px 0 26px;backdrop-filter:blur(20px);-webkit-backdrop-filter:blur(20px);
}
#gb21-routine .gb22-player-heading{display:flex;justify-content:space-between;align-items:start;gap:15px;flex-wrap:wrap;}
#gb21-routine .gb22-overline{font-size:10px;font-weight:700;letter-spacing:.15em;color:#d4e5ff}
#gb21-routine .gb22-player-heading h4{font:500 clamp(25px,3vw,36px)/1.2 'Fraunces',Georgia,serif;margin:6px 0 4px;color:#fff}
#gb21-routine #gb22-stage{font-size:12px;color:#dfebfd;margin:0}
#gb21-routine .gb22-status{font-size:11px;font-weight:700;background:#ffffff19;border:1px solid #ffffff36;border-radius:999px;padding:8px 14px;color:#f5f9ff;}
#gb21-routine .gb22-playback-progress{height:5px;background:#ffffff2e;border-radius:99px;margin:22px 0 8px;overflow:hidden;}
#gb21-routine .gb22-playback-progress>span{display:block;height:100%;width:0;border-radius:99px;background:linear-gradient(90deg,#c9dfff,#e8e2ff);transition:width .35s linear}
#gb21-routine .gb22-player-time{display:flex;justify-content:space-between;gap:10px;color:#cfdff5;font-size:11px;font-variant-numeric:tabular-nums}
#gb21-routine .gb22-controls{display:grid;grid-template-columns:repeat(5,54px);gap:clamp(9px,1.4vw,17px);align-items:center;justify-items:center;justify-content:center;margin:25px 0 17px;}
#gb21-routine .gb22-controls>button{border:1px solid #eef5ff4a;background:#ffffff19;color:#f9fcff;border-radius:50%;width:48px;height:48px;padding:0;display:grid;place-items:center;box-shadow:inset 0 1px 0 #ffffff30,0 7px 20px #0004;transition:transform .18s ease,box-shadow .18s ease;}
#gb21-routine .gb22-controls>.gb22-main{width:67px;height:67px;background:linear-gradient(135deg,#f4edff,#c7e0fb);color:#1a2c4b;border:0;box-shadow:inset 0 2px 1px #fff9,0 10px 30px #bcd9ff5a;}
#gb21-routine .gb22-controls>button:focus-visible{outline:2px solid #fff;outline-offset:3px}
#gb21-routine .gb22-controls>button:hover{transform:translateY(-2px)}
#gb21-routine .gb22-controls>button[aria-pressed="true"]{background:#c8dcfb51;color:white;border-color:#dcecffbd;box-shadow:0 0 18px #bedcff50;}
#gb21-routine .gb22-controls>button:disabled{opacity:.35;cursor:not-allowed;}
#gb21-routine .gb22-player-actions{display:flex;justify-content:center;gap:12px;flex-wrap:wrap;}
#gb21-routine .gb22-player-actions>button{border-radius:999px;padding:12px 22px;min-height:44px;border:1px solid #f0f5ff55;background:#ffffff12;color:white;font-weight:700;font-size:12px}
#gb21-routine .gb22-player-actions>#gb22-nightlight{background:linear-gradient(115deg,#e7e8fa,#cdddf8);color:#1c2c4f;border:0;}
@media(max-width:560px){#gb21-routine .gb22-inline-player{padding:20px 14px}#gb21-routine .gb22-controls{grid-template-columns:repeat(5,minmax(0,43px));gap:clamp(4px,1.2vw,7px)}#gb21-routine .gb22-controls>button{width:40px;height:40px}#gb21-routine .gb22-controls>.gb22-main{width:55px;height:55px}#gb21-routine .gb22-player-actions>button{flex:1;padding:12px 10px;}}
@media(prefers-reduced-motion:reduce){#gb21-routine .gb22-controls>button{transition:none}#gb21-routine .gb22-playback-progress>span{transition:none}}

/* Lucide-style crisp vector masks for Build My Night. */
#gb21-routine .gb22-controls>button{font-size:0!important;line-height:0!important;}
#gb21-routine .gb22-controls>button::before{content:"";display:block;width:22px;height:22px;flex:none;background:currentColor;-webkit-mask-position:center;mask-position:center;-webkit-mask-repeat:no-repeat;mask-repeat:no-repeat;-webkit-mask-size:contain;mask-size:contain;}
#gb21-routine .gb22-controls>.gb22-main::before{width:26px;height:26px}
#gb21-routine #gb22-shuffle::before{-webkit-mask-image:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%222%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22m18%2014%204%204-4%204%22%2F%3E%3Cpath%20d%3D%22m18%202%204%204-4%204%22%2F%3E%3Cpath%20d%3D%22M2%2018h2.5c1.7%200%202.7-.9%203.6-2.1l7.7-11.8C16.7%202.9%2017.8%202%2019.5%202H22%22%2F%3E%3Cpath%20d%3D%22M2%206h2.5c1.7%200%202.7.9%203.6%202.1l1.1%201.7%22%2F%3E%3Cpath%20d%3D%22m15.2%2014.2.6%201.1c.9%201.5%202%202.7%203.7%202.7H22%22%2F%3E%3C%2Fsvg%3E");mask-image:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%222%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22m18%2014%204%204-4%204%22%2F%3E%3Cpath%20d%3D%22m18%202%204%204-4%204%22%2F%3E%3Cpath%20d%3D%22M2%2018h2.5c1.7%200%202.7-.9%203.6-2.1l7.7-11.8C16.7%202.9%2017.8%202%2019.5%202H22%22%2F%3E%3Cpath%20d%3D%22M2%206h2.5c1.7%200%202.7.9%203.6%202.1l1.1%201.7%22%2F%3E%3Cpath%20d%3D%22m15.2%2014.2.6%201.1c.9%201.5%202%202.7%203.7%202.7H22%22%2F%3E%3C%2Fsvg%3E")}
#gb21-routine #gb22-prev::before{-webkit-mask-image:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%222%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22m19%2020-10-8%2010-8v16Z%22%2F%3E%3Cpath%20d%3D%22M5%2019V5%22%2F%3E%3C%2Fsvg%3E");mask-image:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%222%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22m19%2020-10-8%2010-8v16Z%22%2F%3E%3Cpath%20d%3D%22M5%2019V5%22%2F%3E%3C%2Fsvg%3E")}
#gb21-routine #gb22-play::before{-webkit-mask-image:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%222%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22m7%204%2013%208-13%208V4Z%22%2F%3E%3C%2Fsvg%3E");mask-image:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%222%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22m7%204%2013%208-13%208V4Z%22%2F%3E%3C%2Fsvg%3E")}
#gb21-routine #gb22-play[aria-label="Pause bedtime routine"]::before{-webkit-mask-image:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%222%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Crect%20x%3D%226%22%20y%3D%225%22%20width%3D%224%22%20height%3D%2214%22%20rx%3D%221%22%2F%3E%3Crect%20x%3D%2214%22%20y%3D%225%22%20width%3D%224%22%20height%3D%2214%22%20rx%3D%221%22%2F%3E%3C%2Fsvg%3E");mask-image:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%222%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Crect%20x%3D%226%22%20y%3D%225%22%20width%3D%224%22%20height%3D%2214%22%20rx%3D%221%22%2F%3E%3Crect%20x%3D%2214%22%20y%3D%225%22%20width%3D%224%22%20height%3D%2214%22%20rx%3D%221%22%2F%3E%3C%2Fsvg%3E")}
#gb21-routine #gb22-next::before{-webkit-mask-image:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%222%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22m5%204%2010%208-10%208V4Z%22%2F%3E%3Cpath%20d%3D%22M19%205v14%22%2F%3E%3C%2Fsvg%3E");mask-image:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%222%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22m5%204%2010%208-10%208V4Z%22%2F%3E%3Cpath%20d%3D%22M19%205v14%22%2F%3E%3C%2Fsvg%3E")}
#gb21-routine #gb22-loop::before{-webkit-mask-image:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%222%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22m17%202%204%204-4%204%22%2F%3E%3Cpath%20d%3D%22M3%2011V9a3%203%200%200%201%203-3h18%22%2F%3E%3Cpath%20d%3D%22m7%2022-4-4%204-4%22%2F%3E%3Cpath%20d%3D%22M21%2013v2a3%203%200%200%201-3%203H3%22%2F%3E%3C%2Fsvg%3E");mask-image:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%222%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22m17%202%204%204-4%204%22%2F%3E%3Cpath%20d%3D%22M3%2011V9a3%203%200%200%201%203-3h18%22%2F%3E%3Cpath%20d%3D%22m7%2022-4-4%204-4%22%2F%3E%3Cpath%20d%3D%22M21%2013v2a3%203%200%200%201-3%203H3%22%2F%3E%3C%2Fsvg%3E")}
