dialog.esm-track-detail[open]{
  --ink:#251d34;--dim:#60586d;--accent:#624486;
  position:fixed;inset:0;box-sizing:border-box;width:100%;max-width:none;height:100%;height:100dvh;max-height:none;
  margin:0;border:0;border-radius:0;padding:0;overflow:auto;color:var(--ink);color-scheme:light;
  background:radial-gradient(ellipse at 6% 104%,#a9d9ce 0,transparent 45%),
    radial-gradient(ellipse at 99% 98%,#bdaed6 0,transparent 47%),linear-gradient(#faf9fc 10%,#f8f6fa 66%,#e2d9ec);
  font-family:inherit;overscroll-behavior:contain;
}
.esm-track-detail::backdrop,.esm-track-options::backdrop{background:#1c142b72}
.esm-track-page,.esm-track-page *,.esm-track-options,.esm-track-options *{box-sizing:border-box}
.esm-track-page{
  max-width:570px;min-height:100%;margin:0 auto;
  display:grid;grid-template-rows:auto 1fr auto;gap:clamp(2px,1.1dvh,12px);
  padding:max(8px,env(safe-area-inset-top)) max(18px,env(safe-area-inset-right)) max(12px,env(safe-area-inset-bottom)) max(18px,env(safe-area-inset-left));
}
.esm-track-tools,.esm-track-tools-end,.esm-track-actions,.esm-track-nav,.esm-track-times,.esm-track-options-body header{display:flex;align-items:center}
.esm-track-tools,.esm-track-times,.esm-track-options-body header{justify-content:space-between}
.esm-track-tools-end{gap:5px}
.esm-track-detail .esm-track-control,.esm-track-options .esm-track-control,
.esm-track-slot>button.esm-work-stable-heart,.esm-track-slot>.esm-selected-playlist{
  display:inline-flex;align-items:center;justify-content:center;gap:5px;position:relative;
  width:auto;min-width:44px;height:44px;min-height:44px;padding:0 8px;border:none;border-radius:50%;
  background:transparent;box-shadow:none;color:inherit;cursor:pointer;-webkit-tap-highlight-color:transparent;
}
.esm-track-detail .esm-track-icon,.esm-track-options .esm-track-icon{
  display:block;flex:none;width:23px;height:23px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round;
}
.esm-track-detail .esm-track-icon.solid{stroke:currentColor;stroke-width:1.15;fill:currentColor}
.esm-track-detail button:focus-visible,.esm-track-options :is(button,input,select):focus-visible,.esm-track-range:focus-visible{
  outline:2px solid #6a4494;outline-offset:2px;
}
.esm-track-detail button:disabled,.esm-track-options button:disabled{opacity:.45;cursor:default}
.esm-track-detail button:active:not(:disabled),.esm-track-options button:active:not(:disabled){background:#6b4c8719}
.esm-track-hero{display:flex;flex-direction:column;align-items:center;justify-content:flex-start;min-width:0;padding:clamp(4px,1.7dvh,20px) 0 0}
.esm-track-cover{
  width:min(100%,49dvh,440px);aspect-ratio:1;flex:none;overflow:hidden;background:#e7e0eb;
  border-radius:clamp(18px,5vw,29px);box-shadow:0 6px 23px #3d284b12,0 0 0 1px #4937550a;
}
.esm-track-cover img{display:block;width:100%;height:100%;object-fit:cover}
.esm-track-byline{text-align:center;max-width:100%;min-width:0;margin:clamp(12px,2.8dvh,30px) auto 0;padding:0 4px}
.esm-track-byline h2,.esm-track-byline p{
  margin:0;overflow:hidden;display:-webkit-box;-webkit-box-orient:vertical;overflow-wrap:anywhere;
}
.esm-track-byline h2{font-size:clamp(1.24rem,4.7vw,1.85rem);line-height:1.25;font-weight:680;letter-spacing:-.035em;-webkit-line-clamp:2;color:var(--ink)}
.esm-track-byline p{font-size:clamp(.85rem,3.3vw,1rem);line-height:1.4;color:var(--dim);margin-top:6px;-webkit-line-clamp:2}
.esm-track-bottom{width:min(100%,460px);min-width:0;margin:auto auto 0}
.esm-track-actions,.esm-track-nav{display:grid;align-items:center;justify-items:center}
.esm-track-actions{grid-template-columns:repeat(3,1fr);margin-bottom:clamp(0px,1.3dvh,16px)}
.esm-track-actions>:first-child,.esm-track-nav>:first-child{justify-self:start}
.esm-track-actions>:last-child,.esm-track-nav>:last-child{justify-self:end}
.esm-track-slot{display:flex;align-items:center;min-height:44px}
.esm-track-slot .esm-heart-count:not([hidden]){color:inherit;font:600 .72rem/1.1 system-ui;font-variant-numeric:tabular-nums}
.esm-track-slot>button[aria-pressed=true]{color:#89416e}
.esm-track-slot>button[aria-pressed=true] .esm-track-icon{fill:currentColor}
.esm-track-range{
  --fill:0%;display:block;appearance:none;-webkit-appearance:none;cursor:pointer;touch-action:pan-y;
  width:100%;height:26px;border:0;border-radius:0;margin:0;padding:0;background:transparent;
}
.esm-track-range::-webkit-slider-runnable-track{
  height:4px;border-radius:4px;background:linear-gradient(to right,#584267 0 var(--fill),#5f50752d var(--fill) 100%);
}
.esm-track-range::-moz-range-track{height:4px;border-radius:4px;background:#5f50752d}
.esm-track-range::-moz-range-progress{height:4px;border-radius:4px;background:#584267}
.esm-track-range::-webkit-slider-thumb{
  appearance:none;-webkit-appearance:none;width:15px;height:15px;border:0;border-radius:50%;background:#50395f;margin-top:-5.5px;
}
.esm-track-range::-moz-range-thumb{width:15px;height:15px;border:0;border-radius:50%;background:#50395f}
.esm-track-range:disabled{opacity:.5;cursor:default}
.esm-track-times{font:500 .75rem/1.3 system-ui,sans-serif;color:#4d4358;font-variant-numeric:tabular-nums}
.esm-track-nav{grid-template-columns:1fr 1fr 1.3fr 1fr 1fr;margin-top:clamp(6px,1.8dvh,23px)}
.esm-track-detail .esm-track-primary{background:#32223f;color:#fff;min-width:56px;height:56px;min-height:56px;box-shadow:0 3px 8px #34204416}
.esm-track-detail .esm-track-primary:active:not(:disabled){background:#493651}
.esm-track-primary .esm-track-icon{width:25px;height:25px}
.esm-track-control[aria-pressed=true]{color:var(--accent)}
.esm-track-nav .esm-track-control[aria-pressed=true]::after{
  content:'';position:absolute;bottom:2px;width:4px;height:4px;border-radius:50%;background:currentColor;
}
.esm-track-control[data-mode="1"]::before{
  content:'1';position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);font:700 8px/1 system-ui;
}
.esm-track-status{margin:5px 0 0;min-height:1.15em;text-align:center;color:var(--dim);font-size:.75rem;line-height:1.35}
dialog.esm-track-options[open]{
  position:fixed;inset:auto 0 0;box-sizing:border-box;display:block;width:min(100%,460px);height:auto;max-width:none;max-height:85dvh;
  overflow:auto;margin:0 auto;border:0;border-radius:22px 22px 0 0;padding:0;color:#251d34;color-scheme:light;background:#faf8fb;
}
.esm-track-options-body{padding:12px 20px max(20px,env(safe-area-inset-bottom))}
.esm-track-options-body h3{margin:0;font-family:inherit;font-size:1.1rem;font-weight:650;line-height:1.3}
.esm-track-volume,.esm-track-speed{display:flex;align-items:center;gap:12px;min-height:48px}
.esm-track-volume .esm-track-range{flex:1;min-width:0}
.esm-track-volume output{min-width:38px;text-align:end;font-variant-numeric:tabular-nums;font-size:.85rem}
.esm-track-speed{justify-content:space-between}
.esm-track-speed select{min-width:76px;min-height:44px;padding:0 8px;border:1px solid #c7becd;border-radius:10px;background:#fff;color:inherit;font:inherit}
.esm-track-options .esm-track-settings-link{display:block;width:100%;margin-top:12px;min-height:44px;padding:10px;border:0;border-radius:12px;background:#eae3f0;color:inherit;font:inherit;cursor:pointer}
.esm-track-instruction{color:#60586d;font-size:.85rem;margin:10px 0 0}
@media(max-height:630px) and (orientation:portrait){
  .esm-track-page{gap:2px}.esm-track-hero{padding-top:0}.esm-track-cover{width:min(100%,40dvh)}
  .esm-track-byline{margin-top:10px}.esm-track-nav{margin-top:3px}.esm-track-actions{margin-bottom:0}
}
@media(min-aspect-ratio:4/3) and (min-width:550px){
  .esm-track-page{max-width:1050px;grid-template-columns:minmax(0,1.1fr) minmax(0,1fr);grid-template-rows:auto 1fr;column-gap:clamp(24px,5vw,72px);padding-inline:clamp(20px,4vw,48px)}
  .esm-track-tools{grid-column:1/-1}.esm-track-hero{align-self:center;justify-content:center;padding:0}
  .esm-track-cover{width:min(100%,53dvh,410px)}.esm-track-byline{margin-top:12px}
  .esm-track-bottom{align-self:center;margin:0 auto}.esm-track-actions{margin-bottom:18px}
}
@media(forced-colors:active){
  .esm-track-detail,.esm-track-options{background:Canvas!important;color:CanvasText!important}
  .esm-track-range{appearance:auto}.esm-track-control:focus-visible{outline:2px solid Highlight}
}
