/* Liberty Law — Video page. One video per address, with the rest queued beside it. */
.lls-watch{
  background:radial-gradient(110% 100% at 90% 0%,rgba(185,24,24,.2) 0%,rgba(185,24,24,0) 55%),linear-gradient(180deg,#0d0d0f 0%,#161619 100%);
  padding-block:calc(var(--lls-head,88px) + clamp(1.5rem,3vw,2.5rem)) clamp(3rem,6vw,5rem);
}
.lls-watch__grid{display:grid;grid-template-columns:minmax(0,1fr) clamp(320px,28vw,400px);gap:clamp(1.5rem,2.5vw,2.5rem);margin-top:clamp(1.25rem,2vw,1.75rem)}
/* A single video has no queue: the player takes the row. */
.lls-watch__grid>:only-child{grid-column:1/-1}

/* Page heading above the player (the /media/ page). */
.lls-watch__intro{margin-top:clamp(1.5rem,3vw,2.25rem);margin-bottom:clamp(1.75rem,3vw,2.5rem)}
.lls-watch .lls-watch__intro p.lls-tag{color:#fff;margin-bottom:1.25rem}
.lls-watch .lls-watch__intro .lls-tag::before{background:var(--lls-red-on-photo)}
.lls-watch__h1{color:#fff;font-weight:700;letter-spacing:-.04em;line-height:.98;font-size:clamp(2.4rem,5vw,4.25rem);max-width:18ch;text-wrap:balance}
.lls-watch p.lls-watch__lede{margin-top:1.25rem;max-width:56ch}
.lls-watch .lls-watch__title a{color:inherit;text-decoration:none}
.lls-watch .lls-watch__title a:hover,.lls-watch .lls-watch__title a:focus-visible{text-decoration:underline;text-decoration-thickness:2px;text-underline-offset:5px}

/* Stage: landscape films fill it; portrait films stand in the middle over a
   soft copy of their own artwork, so the frame never shows empty black bars. */
.lls-watch__stage{position:relative;aspect-ratio:16/9;border-radius:18px;overflow:hidden;background:#000}
.lls-watch__stage[data-shape="tall"]{aspect-ratio:auto;height:clamp(420px,62vh,640px)}
.lls .lls-watch__bg{position:absolute;inset:-12%;width:124%;height:124%;max-width:none;object-fit:cover;filter:blur(44px) saturate(1.1);opacity:.5}
/* The row is given a size: a percentage height on the video needs one. */
.lls-watch__frame{position:absolute;inset:0;display:grid;grid-template:100%/100%;place-items:center}
/* Two classes and width:auto — inside an Elementor page `.elementor video`
   and `.elementor iframe` (0,1,1) set width:100%, which stretched a portrait
   film across the whole stage and hid the backdrop. */
.lls-watch .lls-watch__frame video{display:block;width:auto;height:100%;aspect-ratio:9/16;max-width:100%;background:#000}
.lls-watch__stage[data-shape="wide"] .lls-watch__frame video{width:100%;aspect-ratio:auto}
.lls-watch .lls-watch__frame>iframe{position:absolute;inset:0;width:100%;height:100%;border:0}
/* Instagram's reel embed is a white card; give it the portrait column only. */
.lls-watch__stage[data-shape="tall"] .lls-watch__frame>iframe{position:static;width:auto;height:100%;aspect-ratio:9/16;max-width:100%;background:#fff}
/* TikTok's embed draws its video at a fixed 325x578 in the top centre of the
   frame; the box is sized to that video and scaled to the stage with --s. */
.lls-watch__tt{position:relative;width:calc(325px*var(--s,1));height:calc(578px*var(--s,1));overflow:hidden;background:#000}
.lls-watch .lls-watch__tt iframe{position:absolute;top:0;left:-8px;width:341px;max-width:none;height:578px;border:0;transform:scale(var(--s,1));transform-origin:8px 0}

/* "Up next" card shown over the stage when a film ends. */
.lls-watch__next{position:absolute;inset:0;z-index:3;display:grid;place-items:center;padding:1.5rem;background:rgba(10,10,12,.86);text-align:center}
.lls-watch__next[hidden]{display:none}
.lls-watch__next p{font-size:.8125rem;font-weight:600;letter-spacing:.16em;text-transform:uppercase;color:var(--lls-red-on-dark)}
.lls-watch__next b{display:block;margin-top:.75rem;color:#fff;font-size:clamp(1.125rem,2vw,1.5rem);font-weight:700;line-height:1.2;letter-spacing:-.02em;max-width:22ch;text-wrap:balance}
.lls-watch__nextbtns{display:flex;flex-wrap:wrap;justify-content:center;gap:.75rem;margin-top:1.5rem}
.lls-watch .lls-watch__nextbtns .lls-pill{padding:.8rem 1.5rem;cursor:pointer;font-family:inherit}

.lls-watch__info{margin-top:clamp(1.5rem,2.4vw,2rem)}
.lls-watch .lls-watch__info p.lls-tag{margin-bottom:1rem}
.lls-watch__title{color:#fff;font-weight:700;letter-spacing:-.03em;line-height:1.08;font-size:clamp(1.75rem,2.9vw,2.75rem);max-width:22ch;text-wrap:balance}
.lls-watch__meta{display:flex;flex-wrap:wrap;align-items:center;gap:.35rem .9rem;margin-top:1rem;font-size:.875rem;line-height:1.4;color:rgba(255,255,255,.72)}
.lls-watch__meta li{display:flex;align-items:center;gap:.9rem}
.lls-watch__meta li + li::before{content:"";width:4px;height:4px;border-radius:50%;background:rgba(255,255,255,.4)}
.lls-watch .lls-watch__meta a{color:#fff;text-decoration:underline;text-underline-offset:3px}
.lls-watch__actions{display:flex;flex-wrap:wrap;gap:.75rem;margin-top:clamp(1.5rem,2.4vw,2rem)}
.lls-watch__actions [hidden]{display:none}
.lls-watch .lls-watch__copy{cursor:pointer;font-family:inherit}

/* Queue: as tall as the column beside it, scrolling inside its own frame. */
.lls-watch__side{position:relative;min-height:0}
.lls-queue{position:absolute;inset:0;display:flex;flex-direction:column;border:1px solid rgba(255,255,255,.14);border-radius:18px;background:rgba(255,255,255,.04);overflow:hidden}
.lls-queue__head{display:flex;align-items:center;justify-content:space-between;gap:1rem;padding:1rem 1.25rem;border-bottom:1px solid rgba(255,255,255,.14)}
.lls-queue__title{color:#fff;font-size:1rem;font-weight:600;line-height:1.3}
.lls-queue__title span{display:block;font-size:.75rem;font-weight:400;color:rgba(255,255,255,.6)}
.lls-queue__auto{display:flex;align-items:center;gap:.6rem;font-size:.75rem;font-weight:500;color:rgba(255,255,255,.72)}
/* Every state named: Hello's `button:hover,button:focus` is magenta. */
.lls-watch .lls-switch,.lls-watch .lls-switch:hover,.lls-watch .lls-switch:focus{position:relative;flex:none;width:42px;height:24px;padding:0;border:0;border-radius:999px;background:rgba(255,255,255,.22);cursor:pointer;transition:background .25s ease}
.lls-watch .lls-switch[aria-checked="true"]{background:var(--lls-red)}
.lls-switch::after{content:"";position:absolute;top:3px;left:3px;width:18px;height:18px;border-radius:50%;background:#fff;transition:transform .25s cubic-bezier(.2,.7,.25,1)}
.lls-switch[aria-checked="true"]::after{transform:translateX(18px)}
.lls-queue__list{flex:1;min-height:0;overflow-y:auto;overscroll-behavior:contain;padding:.5rem;scrollbar-width:thin;scrollbar-color:rgba(255,255,255,.3) transparent}
.lls-queue__item{position:relative;display:grid;grid-template-columns:76px minmax(0,1fr);gap:.9rem;align-items:center;padding:.6rem;border-radius:12px;text-decoration:none;transition:background .2s ease}
.lls-queue__item:hover,.lls-queue__item:focus-visible{background:rgba(255,255,255,.07)}
.lls-queue__item[aria-current="true"]{background:rgba(255,255,255,.1)}
.lls-queue__item[aria-current="true"]::before{content:"";position:absolute;left:0;top:14px;bottom:14px;width:3px;border-radius:3px;background:var(--lls-red-on-photo)}
.lls-queue__thumb{position:relative;display:block;aspect-ratio:4/5;border-radius:8px;overflow:hidden;background:#111}
.lls .lls-queue__thumb img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:50% 0}
.lls-queue__dur{position:absolute;right:4px;bottom:4px;padding:.1rem .35rem;border-radius:4px;background:rgba(0,0,0,.78);color:#fff;font-size:.6875rem;font-weight:600;line-height:1.4}
.lls-queue__text{display:block;min-width:0}
.lls-queue__outlet{display:block;font-size:.6875rem;font-weight:600;letter-spacing:.12em;text-transform:uppercase;line-height:1.4;color:var(--lls-red-on-dark)}
.lls-queue__name{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;margin-top:.25rem;color:#fff;font-size:.9375rem;font-weight:600;line-height:1.3;letter-spacing:-.01em}
.lls-queue__when{display:block;margin-top:.3rem;font-size:.75rem;line-height:1.4;color:rgba(255,255,255,.6)}
.lls-queue__more{display:none}

/* Write-up */
.lls-wtext__grid{display:grid;grid-template-columns:minmax(0,7fr) minmax(0,5fr);gap:clamp(2rem,5vw,5rem);align-items:start}
.lls-wtext p.lls-wtext__lede{margin-top:clamp(1.5rem,2.5vw,2rem);max-width:56ch}
.lls-wtext__body{margin-top:clamp(1.25rem,2vw,1.5rem);max-width:62ch}
.lls-wtext__body p + p{margin-top:1.25rem}
.lls-wtext .lls-wtext__body a{color:var(--lls-red);text-decoration:underline;text-underline-offset:3px}
.lls-wtext__sub{margin-top:clamp(2rem,3.5vw,2.75rem);color:var(--lls-ink);font-size:1.25rem;font-weight:700;letter-spacing:-.015em;line-height:1.25}
.lls-wtext__card{position:sticky;top:calc(var(--lls-head,88px) + 1.5rem);padding:clamp(1.75rem,3vw,2.5rem);border-radius:18px;background:var(--lls-mist);scroll-margin-top:calc(var(--lls-head,88px) + 1.5rem)}
.lls-wtext__card h3{color:var(--lls-ink);font-size:clamp(1.375rem,2vw,1.75rem);font-weight:700;letter-spacing:-.02em;line-height:1.15;text-wrap:balance}
.lls-wtext__card p.lls-wtext__note{margin-top:1rem;font-size:1rem;line-height:1.65}
.lls-wtext__btns{display:grid;gap:.75rem;margin-top:1.75rem}
.lls-wtext__btns .lls-pill{justify-content:center}
.lls-wtext__btns b{font-weight:700;margin-left:.2rem}

/* More videos */
.lls-wmore .lls-rail--media{margin-top:clamp(2rem,4vw,3rem)}

@media (max-width:1024px){
  .lls-watch__grid{grid-template-columns:minmax(0,1fr)}
  .lls-queue{position:static}
  .lls-queue__list{overflow:visible}
  .lls-queue:not(.is-open) .lls-queue__item:nth-child(n+6){display:none}
  .lls-queue__more{display:flex;justify-content:center;padding:.5rem 1rem 1.25rem}
  .lls-queue.is-open .lls-queue__more{display:none}
  .lls-watch .lls-queue__more .lls-pill{cursor:pointer;font-family:inherit;padding:.8rem 1.5rem}
}
@media (max-width:900px){
  .lls-wtext__grid{grid-template-columns:minmax(0,1fr)}
  .lls-wtext__card{position:static}
}
@media (max-width:767px){
  .lls-watch__stage{border-radius:14px}
  /* Portrait films: the stage takes the film's own shape, so no side strips. */
  .lls-watch__stage[data-shape="tall"]{height:auto;aspect-ratio:9/16;width:min(100%,calc(70vh*9/16));margin-inline:auto}
  .lls-watch__actions,.lls-watch__actions .lls-pill{width:100%;justify-content:center}
}
