#session-dialog {
  box-sizing: border-box;
  width: min(31rem, calc(100% - 2rem));
  max-height: calc(100vh - 2rem);
  max-height: calc(100dvh - 2rem);
  margin: auto;
  padding: 0;
  overflow: auto;
  overscroll-behavior: contain;
  color-scheme: dark;
  color: #eef8fc;
  background: #0a1a2a;
  border: 1px solid #526878;
  border-radius: 1.5rem;
  box-shadow: 0 1.5rem 6rem #0108159e;
  font-family: inherit;
}
#session-dialog::backdrop {
  background: rgb(2 9 19 / 72%);
  -webkit-backdrop-filter: blur(7px);
  backdrop-filter: blur(7px);
}
body:has(#session-dialog[open]) { overflow: hidden; }
#session-dialog :focus-visible {
  outline: 3px solid #a6eaff;
  outline-offset: 3px;
}
.llp-card { line-height: 1.45; }
.llp-art {
  position: relative;
  isolation: isolate;
  height: clamp(10.75rem, 30vh, 14rem);
  overflow: hidden;
  background: #0e2438;
}
.llp-cover, .llp-art::after {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.llp-cover { object-fit: cover; object-position: 50% 56%; }
.llp-art::after {
  z-index: 0;
  content: '';
  background: linear-gradient(0deg, #0a1a2a 0%, rgb(7 20 31 / 72%) 25%, rgb(7 20 31 / 15%) 72%);
}
.llp-heading {
  position: absolute;
  z-index: 1;
  inset: auto 1.75rem .2rem;
}
.llp-length {
  color: #d8edf6;
  font-size: .9rem;
  font-variant-numeric: tabular-nums;
}
#preview-session-title {
  margin: .25rem 0 0;
  color: #fff;
  font: inherit;
  font-weight: 650;
  font-size: clamp(1.85rem, 6vw, 2.5rem);
  line-height: 1.08;
  letter-spacing: -.045em;
  text-wrap: balance;
}
.llp-body { padding: 1rem 1.75rem 1.65rem; }
#preview-session-description {
  margin: 0 0 1.65rem;
  color: #c0d2dd;
  max-width: 43ch;
  font-size: 1rem;
  line-height: 1.5;
}
.llp-editions { margin: -.5rem 0 1.2rem; padding: 0; border: 0; }
.llp-editions[hidden], .llp-credit[hidden] { display: none; }
.llp-editions legend { margin: 0 0 .45rem; padding: 0; color: #c1d5e0; font-size: .88rem; }
.llp-options { display: flex; gap: .4rem; }
.llp-options label { position: relative; display: inline-flex; }
.llp-options input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.llp-options span {
  display: inline-grid; min-height: 44px; place-items: center; padding: .35rem .85rem; cursor: pointer;
  border: 1px solid #4d6b7e; border-radius: .7rem; color: #d0e4ed; font-size: .91rem;
}
.llp-options :checked + span { border-color: #a8dfed; background: #bceaf7; color: #092435; font-weight: 650; }
.llp-options :focus-visible + span { outline: 3px solid #a6eaff; outline-offset: 3px; }
.llp-credit { margin: 1rem 0 0; padding-top: .8rem; border-top: 1px solid #334d5e; color: #bacdd7; font-size: .82rem; }
.llp-credit p { margin: 0; }
.llp-credit a { text-decoration: underline; color: #c7edfd; text-underline-offset: .15em; }
.llp-preview-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: .5rem;
}
.llp-kind { color: #ecf7fc; font-size: .95rem; font-weight: 580; }
.llp-times { color: #bfd3df; font-size: .86rem; font-variant-numeric: tabular-nums; }
.llp-elapsed { color: #ecf8fd; }
.llp-seek { position: relative; min-height: 48px; margin: .65rem 0 1rem; border-radius: .4rem; }
.llp-seek:focus-within { outline: 2px solid #a6eaff; outline-offset: 4px; }
.llp-wave { width: 100%; height: 48px; display: block; }
#session-dialog .llp-range {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
  opacity: 0;
  cursor: pointer;
  touch-action: pan-y;
}
.llp-controls { display: flex; align-items: center; justify-content: center; gap: 1.15rem; }
.llp-card button {
  box-sizing: border-box;
  display: inline-grid;
  place-items: center;
  min-width: 44px;
  min-height: 44px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  font: inherit;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}
.llp-card button:active { filter: brightness(.86); }
.llp-card .llp-close {
  position: absolute;
  z-index: 2;
  top: .75rem;
  right: .75rem;
  width: 44px;
  height: 44px;
  background: rgb(4 15 23 / 80%);
  color: #fff;
  border: 1px solid rgb(214 235 247 / 36%);
}
.llp-close span { position: relative; width: 16px; height: 16px; }
.llp-close span::before, .llp-close span::after {
  content: '';
  position: absolute;
  top: 7px;
  left: -1px;
  width: 18px;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
  transform: rotate(45deg);
}
.llp-close span::after { transform: rotate(-45deg); }
.llp-card .llp-toggle { width: 56px; height: 56px; color: #09202d; background: #b9e7f5; }
.llp-card .llp-skip { width: 44px; height: 44px; color: #d3e5ed; background: transparent; }
.llp-card .llp-toggle span {
  width: 0;
  height: 0;
  box-sizing: content-box;
  border: solid transparent;
  border-width: 8px 0 8px 13px;
  border-left-color: currentColor;
  transform: translateX(1.5px);
}
.llp-card .llp-toggle.llp-playing span {
  width: 4px;
  height: 16px;
  border: solid currentColor;
  border-width: 0 4.5px;
  transform: none;
}
.llp-skip span { position: relative; display: block; width: 16px; height: 14px; }
.llp-skip span::before {
  content: '';
  position: absolute;
  inset: 0 auto auto 2px;
  width: 0;
  height: 0;
  border: solid transparent;
  border-width: 7px 0 7px 10px;
  border-left-color: currentColor;
}
.llp-skip span::after {
  content: '';
  position: absolute;
  inset: 0 1px 0 auto;
  width: 3px;
  border-radius: 1px;
  background: currentColor;
}
.llp-prev span { transform: scaleX(-1); }
.llp-error { margin: .9rem 0 0; text-align: center; color: #ffd6c7; font-size: .9rem; }
.llp-error:empty { display: none; }
@media (hover: hover) {
  .llp-card .llp-skip:hover { background: rgb(191 235 250 / 9%); }
  .llp-card .llp-toggle:hover { background: #d4f4ff; }
  .llp-card .llp-close:hover { background: #122a3b; }
}
@media (max-width: 25rem), (max-height: 32rem) {
  .llp-art { height: 9rem; }
  .llp-heading { left: 1.2rem; right: 1.2rem; }
  .llp-body { padding: .85rem 1.2rem 1.1rem; }
  #preview-session-description { margin-bottom: 1.1rem; }
  .llp-seek { margin-bottom: .6rem; }
}
@media (forced-colors: active) {
  .llp-wave { visibility: hidden; }
  #session-dialog .llp-range { opacity: 1; appearance: auto; }
  .llp-card button { border: 1px solid ButtonText; }
}
