/* ---- Dumb Playlists Widget.html line 117 ---- */
/* ── HOLY LOOK (2026-09-27, Chris) ─────────────────────────────────────────
     Restyled to match the three holy widgets (Archives, Store, Dumb Video):
     their one-row header + sticky bar, Barlow Condensed section titles, the
     spotlight card, the brown-glass tiles with a frosted play button, and the
     orange Barlow buttons. Tokens copied from Dumb Clubhouse Archives Widget. */
  #dpl-root, #dpl-modal {
    --card:linear-gradient(100deg, rgba(0,0,0,0.30), rgba(0,0,0,0.50) 60%), linear-gradient(rgba(6,5,4,0.74), rgba(6,5,4,0.74)), url(https://images.squarespace-cdn.com/content/5f257383d68fbe07dae9c644/fc1eaf2a-045d-4028-a23d-7314989c6ac2/Wood+Panel+3.jpg) center/cover no-repeat, #120e0b; --line:rgba(247,94,28,0.2); --line-hi:rgba(247,94,28,0.55);
    --ink:#fff; --ink-2:#d6cdc4; --dim:rgba(255,255,255,0.55); --dimmer:rgba(255,255,255,0.35);
    --orange:#F75E1C;
    font-family:'Poppins',-apple-system,BlinkMacSystemFont,sans-serif; color:var(--ink);
  }
  /* Same box as #archives-outer: 2000px max, 4vw gutter each side. */
  #dpl-root { max-width:2000px; width:calc(100% - 8vw); margin:0 auto; padding-bottom:40px; }
  @media (min-width:1025px) { #dpl-root { margin-top:12px; } }
  @media (min-width:769px) and (max-width:1024px) { #dpl-root { margin-top:31px; } }
  #dpl-root *, #dpl-modal * { box-sizing:border-box; }
  /* Every display:flex/grid rule below would otherwise out-specify the browser's
     default [hidden]{display:none}, so a hidden countdown or a hidden Next
     button stays on screen. One blanket rule instead of remembering to pair
     each one. */
  #dpl-root [hidden], #dpl-modal [hidden], #dpl-modal[hidden] { display:none !important; }
  #dpl-root button, #dpl-modal button { font-family:inherit; }
  #dpl-root p { margin:0; }
  /* /playlists opts into dumb-header-floats (a transparent, position:fixed nav
     with its spacer collapsed to 0), so the page top is NOT reserved for us --
     without this the header row renders underneath the nav. Same --h-full /
     --ann-h formula the site's own body padding uses. */
  html.dumb-header-floats #dpl-root { padding-top:calc(var(--h-full, 100px) + var(--ann-h, 0px) + 12px); margin-top:0; }
  @media (max-width:768px) {
    html.dumb-header-floats #dpl-root { padding-top:calc(71px + var(--ann-h, 0px)); }
  }
  .dpl-empty { color:var(--dim); font-size:15px; padding:28px 0; }
  .dpl-empty a { color:var(--orange); }

  /* ── Header: title | filters ── (identical sizes to the holy widgets) */
  #dpl-header { display:grid; grid-template-columns:auto minmax(0,1fr) auto; align-items:center; column-gap:24px; padding:14px 0 18px; }
  #dpl-header::after { content:''; width:0; }   /* 3rd column keeps the filters centred on the page */
  #dpl-header .holy-title {
    margin:0; padding:0; font-family:'Barlow Condensed','Poppins',sans-serif; font-size:34px; font-weight:700;
    text-transform:uppercase; letter-spacing:0.5px; line-height:1; color:#fff; white-space:nowrap;
  }
  #dpl-filters { display:flex; justify-content:center; flex-wrap:wrap; column-gap:6px; row-gap:4px; }
  .dpl-filter { font-family:'Poppins',sans-serif; font-size:11px; font-weight:500; color:rgba(255,255,255,0.5);
    padding:5px 10px; border-radius:20px; white-space:nowrap; text-decoration:none !important; transition:color .15s; cursor:pointer; }
  .dpl-filter:hover { color:rgba(255,255,255,0.85); }
  .dpl-filter.is-on { color:var(--orange); font-weight:600; }
  @media (max-width:768px) {
    #dpl-header { padding:8px 0 14px; column-gap:12px; }
    #dpl-header .holy-title { font-size:28px; }
    #dpl-filters { justify-content:flex-end; }
  }

  /* Sticky widget header -- same as the holy widgets: once scrolled, the site
     header slides away and this row pins in its place in a black bar. */
  html.holy-bar-ready #dumbHeader {
    transition:transform 0.3s cubic-bezier(.4,0,.2,1), height 0.35s cubic-bezier(.4,0,.2,1),
               background 0.35s cubic-bezier(.4,0,.2,1) !important;
  }
  html.holy-bar #dumbHeader { transform:translateY(-110%) !important; pointer-events:none; }
  html.holy-bar #dpl-header {
    position:fixed !important; top:0; left:var(--hb-l, 0); right:var(--hb-r, 0); z-index:10000;
    transition:padding 0.3s cubic-bezier(.4,0,.2,1);
    margin:0 !important; padding-top:10px !important; padding-bottom:10px !important; background:#000;
  }
  html.holy-bar #dpl-header::before {
    content:''; position:absolute; top:0; bottom:0; left:-100vmax; right:-100vmax;
    background:#000; z-index:-1; pointer-events:none;
  }
  html.holy-bar-out #dpl-header { position:relative; z-index:10000; }
  html.holy-bar-snap #dumbHeader, html.holy-bar-snap #dumbHeader::before, html.holy-bar-snap .dh-inner,
  html.holy-bar-snap .dh-logo img, html.holy-bar-snap .dumb-header-spacer, html.holy-bar-snap #dpl-header { transition:none !important; }

  /* ── Section titles ── */
  .dpl-sec-head { display:flex; align-items:baseline; justify-content:space-between; gap:12px; margin:0 0 14px; padding-top:6px; }   /* tight under the reel (Chris, 2026-09-27) */
  .dpl-sec-title { font-family:'Barlow Condensed','Poppins',sans-serif; font-size:30px; font-weight:700;
    text-transform:uppercase; letter-spacing:0.5px; line-height:1; color:#fff; margin:0; }
  @media (max-width:768px) { .dpl-sec-title { font-size:24px; } }

  /* ── Spotlight card (shelf's featured playlist + the detail hero) ── */
  .dpl-spot { display:grid; grid-template-columns:minmax(0,1.25fr) minmax(0,1fr); margin-top:10px;   /* = .ac-spot */
    border-radius:22px; overflow:hidden; border:1px solid rgba(247,94,28,0.45); color:#fff; text-decoration:none !important;
    background:linear-gradient(100deg, rgba(0,0,0,0.30), rgba(0,0,0,0.50) 60%), radial-gradient(120% 140% at 100% 0%, rgba(247,94,28,0.16) 0%, rgba(247,94,28,0) 60%), linear-gradient(rgba(6,5,4,0.74), rgba(6,5,4,0.74)), url(https://images.squarespace-cdn.com/content/5f257383d68fbe07dae9c644/fc1eaf2a-045d-4028-a23d-7314989c6ac2/Wood+Panel+3.jpg) center/cover no-repeat, #120e0b;
    box-shadow:0 24px 60px rgba(0,0,0,0.45); }
  a.dpl-spot:hover .dpl-btn { transform:translateY(-1px); box-shadow:0 8px 24px rgba(247,94,28,0.45); }
  .dpl-spot-media { position:relative; aspect-ratio:16/9; background:#0c0a09; overflow:hidden; align-self:stretch; min-height:100%; }
  .dpl-spot-media img { position:absolute; inset:0; width:100%; height:100%; object-fit:cover; display:block; }
  .dpl-spot-body { padding:34px 38px; display:flex; flex-direction:column; justify-content:center; gap:14px; min-width:0; }
  /* Slideshow eyebrow = the standard orange eyebrow, no shape behind it (Chris, 2026-10-05). */
.dpl-kicker { align-self: flex-start; padding: 0; border-radius: 0; background: none; color: #F75E1C; font-family: 'Barlow Condensed', 'Poppins', sans-serif; font-size: 16px; font-weight: 700; line-height: 1.2; letter-spacing: 0.12em; text-transform: uppercase; }
  .dpl-spot-name { font-family:'Barlow Condensed','Poppins',sans-serif; font-weight:700; text-transform:uppercase;
    font-size:clamp(28px,3vw,48px); line-height:0.95; margin:0; color:#fff; }
  .dpl-spot-meta { font-family:'Barlow Condensed','Poppins',sans-serif; font-weight:700; font-size:17px; letter-spacing:0.8px;
    text-transform:uppercase; color:rgba(255,255,255,0.72); line-height:1.1; }
  .dpl-spot-meta:empty { display:none; }
  .dpl-spot-desc { font-size:14px; line-height:1.6; color:rgba(255,255,255,0.7);
    display:-webkit-box; -webkit-line-clamp:4; -webkit-box-orient:vertical; overflow:hidden; }
  @media (min-width:1500px) {
    .dpl-spot-name { font-size:clamp(52px,3.8vw,76px); }
    .dpl-spot-desc { font-size:17px; -webkit-line-clamp:3; }
    .dpl-spot .dpl-btn { font-size:22px; padding:13px 28px; }
    .dpl-spot-body { gap:18px; }
  }
  @media (max-width:600px) {
    .dpl-spot { grid-template-columns:minmax(0,1fr); }
    /* align-self:start -- Safari sizes a STRETCHED grid item's width from its height,
       which shrank the 16:9 art to under half the card's width on iPhones (2026-10-07). */
    .dpl-spot-media { min-height:0; align-self:start; }
    .dpl-spot-body { padding:22px 20px 24px; }
    .dpl-spot-name { display:-webkit-box; -webkit-box-orient:vertical; -webkit-line-clamp:3; overflow:hidden; }
  }

  /* ── Buttons (holy: orange, 12px radius, Barlow caps) ── */
  .dpl-hero-acts { display:flex; flex-wrap:wrap; gap:10px; align-items:center; margin-top:4px; }
  .dpl-btn { display:inline-flex; align-items:center; gap:8px; background:var(--orange); color:#fff !important;
    border:none; border-radius:12px; padding:11px 24px; cursor:pointer; text-decoration:none !important;
    font-family:'Barlow Condensed','Poppins',sans-serif !important; font-weight:700; font-size:19px; letter-spacing:1px;
    text-transform:uppercase; line-height:1.1; transition:transform .15s, box-shadow .15s; }
  .dpl-btn:hover { transform:translateY(-1px); box-shadow:0 8px 24px rgba(247,94,28,0.45); }
  .dpl-btn:disabled { opacity:.45; cursor:not-allowed; transform:none; box-shadow:none; }
  .dpl-btn-ghost { background:rgba(0,0,0,0.35); border:1px solid rgba(255,255,255,0.18); }
  .dpl-btn-ghost:hover { border-color:rgba(247,94,28,0.55); box-shadow:none; }
  .dpl-locked { margin-top:4px; color:var(--ink-2); font-size:14px; background:rgba(247,94,28,.10);
    border:1px solid rgba(247,94,28,.30); border-radius:12px; padding:11px 13px; }
  .dpl-locked a { color:var(--orange); font-weight:600; }

  /* ── Tiles (holy .video-item) ── shelf cards and playlist items share them */
  .dpl-grid, .dpl-items { list-style:none; margin:0; padding:0; display:grid;
    grid-template-columns:repeat(auto-fill,minmax(300px,1fr)); gap:20px; }
  @media (max-width:600px) { .dpl-grid, .dpl-items { grid-template-columns:repeat(2,1fr); gap:12px; } }
  @media (max-width:480px) { .dpl-grid, .dpl-items { grid-template-columns:1fr; } }
  .dpl-items > li { display:flex; }
  .dpl-card, .dpl-item { display:flex; flex-direction:column; width:100%; position:relative; text-decoration:none !important; color:#fff;
    background:var(--card); border:1px solid var(--line); border-radius:16px; overflow:hidden;
    transition:transform .2s ease, box-shadow .2s ease, border-color .2s; }
  .dpl-card:hover, .dpl-item:hover { transform:translateY(-3px); box-shadow:0 16px 40px rgba(0,0,0,0.5); border-color:var(--line-hi); }
  .dpl-art, .dpl-poster { position:relative; aspect-ratio:16/9; background:rgba(255,255,255,0.04); overflow:hidden; flex-shrink:0; }
  .dpl-art img, .dpl-poster img { position:absolute; inset:0; width:100%; height:100%; object-fit:cover; display:block; }
  /* Stacked art: the next two thumbs peek beside the cover, so a playlist reads
     as a STACK of videos rather than one more episode tile. */
  .dpl-art .dpl-stack { position:absolute; right:0; top:0; bottom:0; width:34%; z-index:1;
    display:grid; grid-template-rows:1fr 1fr; gap:2px; border-left:2px solid #1e140a; background:#1e140a; }
  .dpl-art .dpl-stack img { position:static; width:100%; height:100%; }
  /* Frosted play button, same as the Archives tiles. */
  .dpl-play { position:absolute; top:50%; left:50%; z-index:3; transform:translate(-50%,-50%);
    width:40px; height:40px; border-radius:50%; display:flex; align-items:center; justify-content:center;
    background:rgba(255,255,255,0.12); border:1px solid rgba(255,255,255,0.18);
    -webkit-backdrop-filter:blur(10px); backdrop-filter:blur(10px); box-shadow:0 6px 18px rgba(0,0,0,0.45);
    transition:transform .2s ease; }
  .dpl-play svg { margin-left:3px; }
  /* Stacked edge (Chris, 2026-09-27, replaces the thumbnail mosaic): one clean
     cover with two thinner cards peeking above it, so a playlist still reads as
     a stack. The flipbook images sit over the cover and fade in on hover. */
  .dpl-art { background:transparent; padding:14px 24px 22px 14px; aspect-ratio:auto; }
  .dpl-art::before, .dpl-art::after { content:""; position:absolute; border-radius:10px; }
  /* two sheets behind the cover, stepped down and to the right */
  .dpl-art::before { left:30px; top:30px; right:8px; bottom:6px; background:#3a2616; border:1px solid rgba(247,94,28,.25); }
  .dpl-art::after { left:22px; top:22px; right:16px; bottom:14px; background:#5a3a20; border:1px solid rgba(247,94,28,.4); }
  .dpl-cover { position:relative; z-index:1; aspect-ratio:16/9; overflow:hidden; border-radius:10px; background:#0c0a09; box-shadow:0 6px 16px rgba(0,0,0,.45); }
  .dpl-cover img { position:absolute; inset:0; width:100%; height:100%; object-fit:cover; display:block; }
  .dpl-cover .dpl-flip { opacity:0; transition:opacity .45s ease; }
  .dpl-cover .dpl-flip.is-on { opacity:1; }
  .dpl-art .dpl-badge { top:24px; left:24px; } .dpl-art .dpl-lock { top:24px; right:34px; }
  .dpl-art .dpl-play { top:calc(50% - 4px); left:calc(50% - 5px); }
  .dpl-card:hover .dpl-play, .dpl-item:hover .dpl-play { transform:translate(-50%,-50%) scale(1.15); }
  /* Corner pills, the Archives' orange badge. */
  .dpl-badge, .dpl-ytbadge { position:absolute; top:10px; left:10px; z-index:3; background:var(--orange); color:#fff;
    font-family:'Barlow Condensed',sans-serif; font-weight:700; text-transform:uppercase; letter-spacing:.05em;
    font-size:12px; padding:3px 9px; border-radius:999px; line-height:1.3; box-shadow:0 2px 8px rgba(0,0,0,.35); }
  .dpl-ytbadge { background:#c4302b; }
  .dpl-lock { position:absolute; right:10px; top:10px; z-index:3; background:rgba(0,0,0,.72);
    font-family:'Barlow Condensed',sans-serif; font-weight:700; text-transform:uppercase; letter-spacing:.05em;
    font-size:12px; padding:3px 9px; border-radius:999px; line-height:1.3; color:var(--ink-2); }
  /* The index sits ON the art, outlined like the Archives' ranked rails. */
  .dpl-num { position:absolute; left:10px; bottom:4px; z-index:2;
    font-family:'Barlow Condensed',sans-serif; font-weight:700; font-size:56px; line-height:.85; letter-spacing:-2px;
    color:transparent; -webkit-text-stroke:2px rgba(247,94,28,0.9); text-shadow:0 2px 10px rgba(0,0,0,.5); }
  .dpl-poster::after { content:""; position:absolute; inset:0; pointer-events:none;
    background:linear-gradient(to top, rgba(11,8,6,.7) 0%, rgba(11,8,6,0) 45%); }
  .dpl-dur { position:absolute; right:8px; bottom:8px; z-index:3; background:rgba(0,0,0,.72);
    border-radius:5px; padding:2px 7px; font-size:11px; font-weight:600; color:#fff; }
  .dpl-info { padding:14px 16px 16px; display:flex; flex-direction:column; gap:8px; flex:1; }
  .dpl-meta { font-family:'Barlow Condensed', 'Poppins', sans-serif !important; font-size:14px; font-weight:700; letter-spacing:0.8px; line-height:1.2;
    text-transform:uppercase; color:var(--orange); margin:0; }   /* tile eyebrows in Barlow (Chris, 2026-09-27) */
  .dpl-cardtitle, .dpl-itemtitle { font-size:17px; font-weight:700; letter-spacing:-0.4px; line-height:1.35; color:#fff; margin:0;
    display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; overflow:hidden; }
  .dpl-cardblurb, .dpl-itemexcerpt { margin:0; font-size:12px; line-height:1.6; color:rgba(255,255,255,0.48);
    display:-webkit-box; -webkit-line-clamp:3; -webkit-box-orient:vertical; overflow:hidden; }
  .dpl-itemnote { color:var(--ink-2); font-size:12.5px; line-height:1.5; border-left:2px solid var(--orange); padding-left:9px; }

  /* ── Inline YouTube ── */
  .dpl-modal { position:fixed; inset:0; z-index:99999; background:rgba(0,0,0,.92);
    display:flex; align-items:center; justify-content:center; padding:20px; }
  .dpl-modal-inner { position:relative; width:min(1100px,100%); }
  .dpl-stage { position:relative; aspect-ratio:16/9; background:#000; border-radius:16px; overflow:hidden;
    border:1px solid var(--line); }
  .dpl-stage iframe { position:absolute; inset:0; width:100%; height:100%; border:0; }
  .dpl-close { position:absolute; right:-4px; top:-42px; background:transparent; border:none;
    color:#fff; font-size:22px; cursor:pointer; padding:6px 10px; }
  .dpl-embedfail { position:absolute; inset:0; display:flex; flex-direction:column; gap:14px;
    align-items:center; justify-content:center; text-align:center; padding:24px; }
  .dpl-embedfail p { color:var(--ink-2); font-size:16px; margin:0; }
  .dpl-modal-bar { display:flex; align-items:center; gap:14px; margin-top:14px; }
  .dpl-modal-meta { flex:1 1 auto; min-width:0; }
  .dpl-modal-eyebrow { font-size:10px; font-weight:700; letter-spacing:0.8px; text-transform:uppercase; color:var(--orange); }
  .dpl-modal-title { font-family:'Barlow Condensed','Poppins',sans-serif; font-weight:700; font-size:26px;
    text-transform:uppercase; line-height:1; margin-top:4px; }
  .dpl-countdown { display:flex; align-items:center; gap:14px; margin-top:12px; padding:11px 13px;
    background:var(--card); border:1px solid var(--line); border-radius:12px; position:relative; overflow:hidden; }
  .dpl-cd-bar { position:absolute; left:0; top:0; bottom:0; background:rgba(247,94,28,.16);
    transition:width .25s linear; }
  .dpl-cd-text { position:relative; flex:1 1 auto; min-width:0; font-size:14px; color:var(--ink-2);
    overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
  .dpl-cd-text b { color:var(--ink); }
  .dpl-countdown .dpl-btn { position:relative; font-size:16px; padding:8px 16px; }
  .dpl-modal-bar .dpl-btn { font-size:16px; padding:8px 16px; }

/* Full width like the holy widgets (2026-09-27, Chris): this page's Code Block
   is inset in its Squarespace grid, so break out to the viewport and keep the
   same 4vw gutter / 2000px cap as #archives-outer. */
#dpl-root{width:min(92vw,2000px) !important; max-width:none !important;
  margin-left:calc(50% - min(46vw,1000px)) !important; margin-right:0 !important;}

  /* ── Full-bleed reel (detail hero) -- the program pages' .dp-reel ── */
  .dpl-reel { position: relative; width: calc(100vw - var(--dpl-sbw, 0px)); margin-left: calc(50% - (100vw - var(--dpl-sbw, 0px)) / 2); min-height: clamp(300px, 55vh, 620px); padding-top: calc(var(--dpl-pull, 0px) + 28px); box-sizing: border-box;   /* grows for long titles; ~half the screen so the tiles below peek up (Chris, 2026-09-27) */
    background: #000; overflow: hidden; display: flex; flex-direction: column;
    margin-top: calc(-1 * var(--dpl-pull, 0px)); }   /* up under the Playlists bar, to the site header */
  /* The Playlists title/filters float over the top of the reel. */
  /* A playlist's own page has no Playlists title / filters (Chris, 2026-09-27):
     the reel IS the top of the page. */
  /* No section bar on /playlists (Chris, 2026-09-27): the mosaic runs up behind the site header. */
  .dpl-root.has-reel #dpl-header { display: none !important; }
  .dpl-reel-media { position: absolute; inset: 0; }
  .dpl-reel-media img, .dpl-reel-media video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
  .dpl-reel-media img { animation: dpl-pan 16s ease-in-out infinite alternate; }
  .dpl-reel-media .dpl-wall-tile img { position: static; animation: none; }
  .dpl-reel-media video { opacity: 0; transition: opacity .8s ease; }
  .dpl-reel-media video.is-on { opacity: 1; }
  @keyframes dpl-pan { from { transform: scale(1.04) translate(-1%, 0); } to { transform: scale(1.14) translate(1.5%, -1%); } }
  @media (prefers-reduced-motion: reduce) { .dpl-reel-media img { animation: none; } }
  .dpl-reel-shade { position: absolute; inset: 0; pointer-events: none;
    background: linear-gradient(180deg, rgba(0,0,0,.7) 0%, rgba(0,0,0,0) 22%),
                linear-gradient(90deg, rgba(0,0,0,.72) 0%, rgba(0,0,0,.25) 45%, rgba(0,0,0,0) 70%),
                linear-gradient(0deg, #000 0%, rgba(0,0,0,.85) 14%, rgba(0,0,0,0) 50%); }
  .dpl-reel-copy { position: relative; z-index: 2; margin: auto 0 0; width: 100%; padding: 0 4vw 30px; box-sizing: border-box;
    display: flex; flex-direction: column; gap: 14px; }
  .dpl-reel-copy > * { max-width: 760px; }
  .dpl-reel-copy > .dpl-reel-title { max-width: 1100px; }
  .dpl-reel-kick { align-self: flex-start; color: var(--orange); font: 700 16px/1.1 'Barlow Condensed', sans-serif;
    letter-spacing: .06em; text-transform: uppercase; text-shadow: 0 1px 10px rgba(0,0,0,.6); }
  .dpl-reel-title { font: 700 clamp(40px, 4.6vw, 76px)/.92 'Barlow Condensed', sans-serif; text-transform: uppercase; margin: 0;
    color: #fff; text-shadow: 0 2px 24px rgba(0,0,0,.6); text-wrap: balance; }
  /* Optical alignment: the big condensed caps carry ~.04em of left side-bearing,
     so the eyebrow above looked like it sat in the gutter (Chris, 2026-09-27). */
  .dpl-reel-title { margin-left: -0.04em !important; }
  .dpl-reel .dpl-spot-desc { color: rgba(255,255,255,.82); text-shadow: 0 1px 10px rgba(0,0,0,.6); font-size: 16px; }
  .dpl-reel .dpl-spot-meta { text-shadow: 0 1px 10px rgba(0,0,0,.6); }
  /* Short windows: shrink the copy so it still fits the half-height reel. */
  @media (min-width: 769px) and (max-height: 760px) {
    .dpl-reel-title { font-size: clamp(36px, 7vh, 64px); }
    .dpl-reel-copy { padding-bottom: 28px; gap: 8px; }
    .dpl-reel .dpl-spot-desc { font-size: 14px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
  }
  @media (max-width: 768px) {
    .dpl-reel { min-height: clamp(380px, 58vh, 520px); }   /* phones: portrait screen, keep room for the copy */
    .dpl-reel-copy { padding-bottom: 34px; }
    .dpl-reel-title { font-size: clamp(38px, 11vw, 60px); }
  }
  /* Shelf banner on tablets: no fixed 16:9 art -- with taller copy it made the
     art column wider than its slot and pushed the text off the card. */
  @media (min-width: 601px) { .dpl-spot-media { aspect-ratio: auto; min-height: 300px; } }

  /* ── Shelf marquee wall ── */
  .dpl-wall { position:relative; width:calc(100vw - var(--dpl-sbw, 0px)); margin:0 0 calc(-1 * var(--dpl-under)) calc(50% - (100vw - var(--dpl-sbw, 0px)) / 2);
    --dpl-under:300px;   /* how far the mosaic runs on down behind the slideshow (Chris, 2026-09-27) */
    height:calc(var(--dpl-pull, 0px) + 110px + var(--dpl-under)); overflow:hidden; background:#000;
    margin-top:calc(-1 * var(--dpl-pull, 0px)); }   /* up under the site header, like the detail reel */
  .dpl-wall[hidden] { display:none; }
  .dpl-wall-rows { pointer-events:none; position:absolute; inset:-6% 0; display:flex; flex-direction:column; justify-content:center; gap:12px;
    transform:rotate(-4deg) scale(1.08); }
  .dpl-wall-row { display:flex; gap:12px; width:max-content; height:calc(25% - 7px); }   /* 4 rows of small tiles (Chris, 2026-09-27) */
  .dpl-wall-row.is-l { animation:dpl-drift 450s linear infinite; }
  .dpl-wall-row.is-r { animation:dpl-drift 540s linear infinite reverse; }
  .dpl-wall-row.is-slow { animation-duration:630s; }
  @keyframes dpl-drift { from { transform:translateX(0); } to { transform:translateX(-50%); } }
  @media (prefers-reduced-motion: reduce) { .dpl-wall-row { animation:none !important; } }
  .dpl-wall-tile { display:block; height:100%; aspect-ratio:16/9; border-radius:8px; overflow:hidden; flex:none;
    filter:saturate(1.1) brightness(.75); transition:filter .25s, transform .25s; }
  .dpl-wall-tile img { width:100%; height:100%; object-fit:cover; display:block; }
  .dpl-wall-shade { position:absolute; inset:0; pointer-events:none;
    background: linear-gradient(180deg, rgba(0,0,0,.7) 0%, rgba(0,0,0,0) 22%),
                linear-gradient(90deg, rgba(0,0,0,.72) 0%, rgba(0,0,0,.25) 45%, rgba(0,0,0,0) 70%),
                linear-gradient(0deg, #000 0%, rgba(0,0,0,.85) 14%, rgba(0,0,0,0) 50%); }   /* the reel's shade */
  .dpl-wall-copy { position:absolute; left:0; bottom:calc(var(--dpl-under) + 22px); padding:0 4vw; display:flex; flex-direction:column; gap:14px; pointer-events:none; }
  .dpl-wall-tag { font:700 clamp(22px, 2.8vw, 44px)/1 'Barlow Condensed', sans-serif; text-transform:uppercase; color:#fff;
    text-shadow:0 2px 24px rgba(0,0,0,.7); }
  .dpl-wall-tag b { color:var(--orange); }

  /* ── Rails + promo banners: the Archives widget's .ac-rail / .ac-promo ── */
  .dpl-sec { padding:30px 0 0; }
  .dpl-sec .dpl-sec-head { padding-top:0; }
  #dpl-cards > .dpl-sec:first-child { padding-top:6px; }   /* the old 30px is for the detail page's lone heading */
  .dpl-sec-head { display:flex; align-items:baseline; justify-content:space-between; gap:12px; margin:0 0 14px; }
  .dpl-sec-title { font:700 30px/1 'Barlow Condensed', 'Poppins', sans-serif !important; text-transform:uppercase; letter-spacing:.5px; color:#fff;
    margin:0 !important; padding:0 !important; line-height:1 !important; }   /* sitewide h2 rules were adding ~30px */
  .dpl-rail { display:grid; grid-auto-flow:column; grid-auto-columns:300px; gap:18px; align-items:stretch;   /* the Archives rails' 300px cards */
    overflow-x:auto; overflow-y:hidden; scroll-snap-type:x proximity; overscroll-behavior-y:auto;
    margin:0 -4vw; padding:4px 4vw 16px; scroll-padding:0 4vw;
    -webkit-mask-image:linear-gradient(to right, transparent 0, #000 4vw, #000 calc(100% - 4vw), transparent 100%);
            mask-image:linear-gradient(to right, transparent 0, #000 4vw, #000 calc(100% - 4vw), transparent 100%);
    scrollbar-width:thin; scrollbar-color:rgba(247,94,28,0.4) transparent; }
  .dpl-rail > * { scroll-snap-align:start; }
  /* Rail cards read like the Archives cards: tighter stack, no blurb. */
  .dpl-rail .dpl-art { padding:10px 18px 16px 10px; }
  .dpl-rail .dpl-info { padding:10px 14px 14px; gap:6px; }
  .dpl-rail .dpl-cardblurb { display:none; }
  .dpl-promo, .dpl-promo * { box-sizing:border-box; }
  .dpl-promo { display:flex; align-items:center; gap:22px; margin-top:30px; padding:22px 26px; border-radius:18px;   /* = .ac-promo */
    border:1px solid rgba(247,94,28,0.55);
    background:linear-gradient(100deg, rgba(0,0,0,0.25), rgba(0,0,0,0.45) 60%), linear-gradient(rgba(6,5,4,0.8), rgba(6,5,4,0.8)), var(--pbg1, #1e140a) center/cover no-repeat; font-family:'Poppins', sans-serif; color:#fff; }
  .dpl-promo.dpl-link { background:linear-gradient(100deg, rgba(0,0,0,0.25), rgba(0,0,0,0.45) 60%), linear-gradient(rgba(6,5,4,0.8), rgba(6,5,4,0.8)), var(--pbg2, #1e140a) center/cover no-repeat; }
  .dpl-promo[hidden] { display:none; }
  .dpl-promo-text { flex:1; min-width:0; }
  .dpl-promo-title { font:700 clamp(34px, 4.2vw, 58px)/.95 'Barlow Condensed', 'Poppins', sans-serif; text-transform:uppercase; margin:0 0 16px !important; color:#fff; }   /* !important: a sitewide p rule zeroes it */
  .dpl-promo-sub { font-size:15px; line-height:1.55; color:rgba(255,255,255,0.75); margin:0 !important; max-width:760px; }
  .dpl-promo-tiers { display:flex; gap:10px; margin-top:20px; flex-wrap:wrap; }
  .dpl-promo-tier { padding:6px 12px; border-radius:10px; background:rgba(0,0,0,0.35); border:1px solid rgba(255,255,255,0.15);
    font:700 16px 'Barlow Condensed', 'Poppins', sans-serif; letter-spacing:.6px; text-transform:uppercase; }
  .dpl-promo-tier b { color:var(--orange); margin-right:6px; }
  .dpl-promo-cta { flex:0 0 auto; display:inline-block; background:var(--orange); color:#fff !important; padding:11px 22px; border-radius:12px;
    font:700 19px 'Barlow Condensed', 'Poppins', sans-serif; letter-spacing:1px; text-transform:uppercase; text-decoration:none !important;
    white-space:nowrap; transition:transform .15s, box-shadow .15s; }
  .dpl-promo-cta:hover { transform:translateY(-1px); box-shadow:0 8px 24px rgba(247,94,28,0.45); }
  .dpl-link-logos { display:flex; flex-wrap:wrap; gap:12px; margin-top:20px; }
  .dpl-link-logo { display:inline-flex; align-items:center; gap:10px; padding:9px 16px 9px 10px; border-radius:14px; background:rgba(0,0,0,0.4);
    border:1px solid rgba(255,255,255,0.15); font:700 20px/1 'Barlow Condensed', 'Poppins', sans-serif; letter-spacing:.6px; text-transform:uppercase; }
  .dpl-link-logo svg { width:30px; height:30px; flex:none; display:block; }
  @media (max-width:768px) {
    .dpl-sec-title { font-size:24px; }
    .dpl-rail { grid-auto-columns:min(78vw, 340px); gap:12px; }
    .dpl-promo { flex-direction:column; align-items:stretch; gap:18px; padding:24px 22px; }
    .dpl-promo-title { font-size:32px; }
    .dpl-promo-cta { text-align:center; }
    .dpl-link-logo { font-size:17px; }
    .dpl-link-logo svg { width:26px; height:26px; }
  }
  @media (max-width:768px) { .dpl-wall { --dpl-under:220px; height:calc(var(--dpl-pull, 0px) + 96px + var(--dpl-under)); } }
  @media (min-width:769px) and (max-height:760px) { .dpl-wall-copy { gap:8px; } .dpl-wall-stats { font-size:clamp(36px, 7vh, 64px); } }

  /* ── Featured slideshow: the holy .ac-spot-carousel, for playlists ── */
  .dpl-spot-carousel { position:relative; display:grid; margin:10px 0 48px; }   /* = .ac-spot-carousel */   /* = .ac-spot-carousel */
  .dpl-spot-carousel > .dpl-spot { grid-area:1 / 1; margin-top:0; height:100%; opacity:0; visibility:hidden;
    transition:opacity .6s ease, visibility 0s linear .6s; }
  .dpl-spot-carousel > .dpl-spot.is-active { opacity:1; visibility:visible; transition:opacity .6s ease, visibility 0s; }
  .dpl-spot-dots { position:absolute; left:0; right:0; bottom:-24px; display:flex; justify-content:center; gap:8px; }
  .dpl-spot-dots button { width:8px; height:8px; padding:0; border:none; border-radius:999px; cursor:pointer;
    background:rgba(255,255,255,.28); transition:width .25s, background .25s; }
  .dpl-spot-dots button[aria-current] { width:24px; background:var(--orange); }
  @media (prefers-reduced-motion: reduce) { .dpl-spot-carousel > .dpl-spot { transition:none; } }
  @media (min-width:769px) { .dpl-spot-carousel .dpl-spot-media { aspect-ratio:16/9; min-height:0; height:auto; align-self:center; } }

/* ── Card style (Chris 2026-10-09): no wood tile; the thumbnail stands alone and the text sits under it,
   like the Q&As with MST3K Alumni row. Playlist cards (grid and rails) and the videos inside a playlist.
   Every selector starts html:root on purpose: the site's Squarespace Custom CSS (Squarespace
   Injections/Dumb Website Custom CSS.css) pins tile text padding with !important (div.widget
   div.video-meta and friends), and the extra weight is what lets these rules win. Do not strip it.
   Generated by Widgets/card-style-retrofit.py; delete this block to get the tiles back. */
html:root .dpl-card, html:root .dpl-item { background: none !important; border: 0 !important; border-radius: 0 !important; box-shadow: none !important; overflow: visible !important; }
html:root .dpl-card:hover, html:root .dpl-item:hover { transform: none !important; box-shadow: none !important; }
html:root .dpl-item .dpl-poster { border-radius: 16px !important; overflow: hidden; border: 1px solid rgba(247,94,28,0.2); box-sizing: border-box; background-clip: padding-box; transition: transform .2s ease, border-color .2s ease; }
@media (hover: hover) { html:root .dpl-item:hover .dpl-poster { transform: translateY(-3px); border-color: rgba(247,94,28,0.55); } html:root .dpl-card:hover .dpl-art { transform: translateY(-3px); } }
html:root .dpl-card .dpl-info, html:root .dpl-item .dpl-info { padding: 10px 0 0 !important; }
html:root .dpl-card .dpl-info { gap: 4px !important; }
/* The stacked art (two sheets behind the cover) moves to the card's top-left corner
   now that there is no tile for it to sit inset on; pill, lock and play move with it. */
html:root .dpl-card .dpl-art { padding: 0 24px 22px 0; transition: transform .2s ease; }
html:root .dpl-card .dpl-art::before { left: 16px; top: 16px; }
html:root .dpl-card .dpl-art::after { left: 8px; top: 8px; }
html:root .dpl-card .dpl-art .dpl-badge { top: 10px; left: 10px; }
html:root .dpl-card .dpl-art .dpl-lock { top: 10px; }
html:root .dpl-card .dpl-art .dpl-play { top: calc(50% - 11px); left: calc(50% - 12px); }
html:root .dpl-rail .dpl-card .dpl-art { padding: 0 18px 16px 0; }
html:root .dpl-rail .dpl-card .dpl-art::before { left: 20px; top: 20px; }
html:root .dpl-rail .dpl-card .dpl-art::after { left: 12px; top: 12px; }
html:root .dpl-rail .dpl-card .dpl-art .dpl-badge { top: 14px; left: 14px; }
html:root .dpl-rail .dpl-card .dpl-art .dpl-lock { top: 14px; }
html:root .dpl-rail .dpl-card .dpl-art .dpl-play { top: calc(50% - 8px); left: calc(50% - 9px); }
html:root .dpl-grid, html:root .dpl-items { row-gap: 32px !important; }
@media (max-width: 600px) { html:root .dpl-grid, html:root .dpl-items { row-gap: 28px !important; } }
