/* Work gallery shares the viewer's container and uninterrupted cinematic background. */
.ap-library{padding:0 0 75px;background:transparent;border:0}.pm{padding-bottom:35px}.ap-library__head{border-top:1px solid #ffffff14;padding-top:29px;margin-bottom:22px;align-items:start}.ap-library__head .pp-label{margin:0 0 13px}.ap-library .ap-section__title{font-size:clamp(30px,3vw,40px);letter-spacing:-.045em;margin:0;color:#edf1f5}.wg-intro{font-size:13px;color:#8fa1b3;margin:12px 0 0;line-height:1.7}.ap-library__tabs,.ap-library__search{display:none!important}.wg-toolbar{display:flex;justify-content:space-between;align-items:center;gap:20px;margin-bottom:31px}#wg-filters{display:flex;gap:6px;flex-wrap:wrap}.wg-filter{display:flex;align-items:center;padding:10px 15px;border:1px solid #ffffff15;border-radius:999px;background:#ffffff02;color:#96a6b6;font:500 11px/1.4 Inter,sans-serif;cursor:pointer;transition:color .22s,background .22s,border-color .22s,transform .22s}.wg-filter[aria-pressed=true]{color:#9bceed;background:#ffffff08;border-color:#9bceed35}.wg-filter:hover{color:#c6e6f8;background:#ffffff07;transform:translateY(-2px)}.wg-search{display:flex;align-items:center;gap:10px;min-height:39px;min-width:215px;padding:0 13px;border:1px solid #ffffff1a;border-radius:999px;background:#05070a66;backdrop-filter:blur(20px);color:#8b9dad;transition:border-color .22s,box-shadow .22s}.wg-search:focus-within{border-color:#81bde250;box-shadow:0 0 15px #81bde20a}.wg-search input{background:none;border:0;outline:0;color:#d7e2ec;font:400 11px/1.5 Inter,sans-serif;width:100%;min-width:0}.wg-search input::placeholder{color:#8193a5}.ap-library__grid{display:block}.wg-row{margin-bottom:32px;min-width:0}.wg-row-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:13px;gap:15px}.wg-row-head>div:first-child{display:flex;align-items:baseline;gap:13px}.wg-row-head h3{font-size:18px;font-weight:550;letter-spacing:-.025em;margin:0;color:#dce4ed;transition:color .25s,transform .25s}.wg-row-head h3:hover{color:#b5ddf4;transform:translateY(-2px)}.wg-row-count{color:#71869a;font-size:9px;white-space:nowrap}.wg-row-arrows{display:flex;gap:7px}.wg-row-arrows[hidden]{display:none}.wg-row-arrows button{display:grid;place-items:center;width:30px;height:30px;border:1px solid #ffffff1a;border-radius:50%;background:#ffffff03;color:#a2adb9;font-size:18px;cursor:pointer;transition:color .2s,border-color .2s,background .2s}.wg-row-arrows button:hover{color:#9bceed;border-color:#81bde244;background:#ffffff08}.wg-row-arrows button:disabled{opacity:.3;cursor:default}.wg-track{display:grid;grid-auto-flow:column;grid-auto-columns:calc((100% - 32px)/3);gap:16px;overflow-x:auto;scroll-snap-type:x mandatory;scroll-padding-inline:0;scrollbar-width:none;padding:5px 0 10px;overscroll-behavior-x:contain}.wg-track::-webkit-scrollbar{display:none}.wg-row--films .wg-track{grid-auto-columns:calc((100% - 16px)/2.5)}.wg-card{min-width:0;scroll-snap-align:start;border:1px solid #ffffff17;border-radius:16px;overflow:hidden;background:linear-gradient(145deg,#ffffff05,transparent 52%),#05070a7a;box-shadow:inset 0 1px 0 #ffffff05;transition:transform .3s cubic-bezier(.2,.7,.2,1),border-color .3s,box-shadow .3s}.wg-card-art{display:block;position:relative;width:100%;aspect-ratio:16/9;padding:0;border:0;background:#020304;overflow:hidden;cursor:pointer}.wg-card-art>img{display:block;width:100%;height:100%;object-fit:contain;transition:transform .3s cubic-bezier(.2,.7,.2,1)}.wg-card-play{position:absolute;right:14px;bottom:13px;display:grid;place-items:center;width:35px;height:35px;border:1px solid #ffffff2b;border-radius:50%;background:#05070a80;backdrop-filter:blur(16px);color:#c6e6f8;font-size:17px;transition:background .25s,color .25s}.wg-card-body{padding:15px 17px 18px}.wg-card-meta{display:flex;justify-content:space-between;gap:8px;color:#819fb5;font-size:8px;letter-spacing:.1em;text-transform:uppercase}.wg-card h4{font-size:16px;font-weight:550;letter-spacing:-.025em;margin:9px 0 0;line-height:1.4;color:#dce4ed}.wg-current{visibility:hidden;color:#9bceed}.wg-card.is-selected{border-color:#81bde23d}.wg-card.is-selected .wg-current{visibility:visible}.wg-explore{display:inline-block;color:#a2b8cb;font-size:11px;margin-top:13px;text-decoration:none}.wg-explore:hover{color:#9bceed}.wg-card:hover{transform:translateY(-3px);border-color:#81bde23d;box-shadow:0 12px 28px #0003}.wg-card:hover .wg-card-art img{transform:scale(1.025)}.ap-library button:focus-visible,.ap-library a:focus-visible{outline:2px solid #9bceed;outline-offset:-3px}.ap-library__empty{font-size:13px;border:1px solid #ffffff15;border-radius:14px;background:#ffffff02}.ap-library__empty[hidden]{display:none}
@media(max-width:900px){.wg-track{grid-auto-columns:calc((100% - 16px)/2)}.wg-row--films .wg-track{grid-auto-columns:65%}.wg-toolbar{align-items:start;flex-direction:column;gap:15px}.wg-search{min-width:0;width:min(100%,340px)}}
@media(max-width:550px){.pm{padding-bottom:20px}.ap-library__head{padding-top:24px}.wg-row{margin-bottom:25px}.wg-track,.wg-row--films .wg-track{grid-auto-columns:83%;gap:12px}.wg-card-body{padding:13px 14px 15px}.wg-card h4{font-size:15px}.wg-row-head h3{font-size:16px}.wg-row-count{font-size:8px}.wg-filter{padding:9px 12px;font-size:10px}.wg-toolbar{margin-bottom:24px}.wg-search{width:100%}.wg-search input{font-size:16px}.wg-row-arrows button{width:29px;height:29px}.ap-library{padding-bottom:45px}}
@media(prefers-reduced-motion:reduce){.wg-card,.wg-card-art img,.wg-filter,.wg-row-head h3{transition:none}.wg-card:hover,.wg-card:hover .wg-card-art img,.wg-filter:hover,.wg-row-head h3:hover{transform:none}}

/* Give the local library search a clearer, still neutral resting presence. */
.wg-search{min-width:260px;min-height:43px;border-color:#ffffff2b;background:linear-gradient(145deg,#ffffff05,transparent 52%),#05070a66}
.wg-search:focus-within{border-color:#81bde270;box-shadow:0 0 15px #81bde212}
@media(max-width:900px){.wg-search{min-width:0}}

/* Transparent chipbag hero stays on black, matching the collection artwork. */
.wg-card[data-media-id="chipbag"] .wg-card-art,.wg-card[data-media-id="chipbag"] .wg-card-art img{background:#000}

/* One Explore treatment for the player and library; separate from the watch action. */
.ap .site-explore-pill{display:inline-flex;align-items:center;justify-content:center;gap:7px;flex-shrink:0;min-height:34px;margin:0;padding:8px 12px;border:1px solid #ffffff20;border-radius:999px;background:#ffffff02;color:#a2adb9;text-decoration:none;white-space:nowrap;font:500 11px/1.4 Inter,sans-serif;transition:color .22s,background .22s,border-color .22s,transform .22s,box-shadow .22s}
.ap .site-explore-pill i{font-size:13px;color:inherit}
.ap .site-explore-pill:hover,.ap .site-explore-pill:focus-visible{color:#b5ddf4;background:#81bde20b;border-color:#9bceed66;transform:translateY(-2px);box-shadow:0 4px 14px #0002}
.wg-card-meta{justify-content:flex-start;align-items:center;gap:8px}.wg-current::before{content:'·';padding-right:8px;color:#71869a}
.wg-card-title-row{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:9px;min-height:34px}.wg-card-title-row h4{margin:0;min-width:0;flex:1;overflow-wrap:break-word}.wg-card-title-row .wg-explore{margin:0}
.pm-explore-bar{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:17px 4px 15px}.pm-explore-bar[hidden]{display:none!important}.pm-explore-bar>div{min-width:0}.pm-explore-bar>div>span{display:block;color:#8193a5;font-size:9px;line-height:1.5;text-transform:uppercase;letter-spacing:.12em;margin-bottom:5px}.pm-explore-bar strong{display:block;color:#d0dbe5;font-size:14px;line-height:1.5;font-weight:500}.pm-explore-bar .site-explore-pill{min-height:38px;padding:10px 17px}
@media(max-width:550px){.wg-card-title-row{gap:8px}.wg-card-title-row h4{font-size:14px}.wg-card-title-row .site-explore-pill{font-size:10px;padding:8px 10px}.pm-explore-bar{gap:12px;padding:14px 3px}.pm-explore-bar strong{font-size:13px}}
@media(prefers-reduced-motion:reduce){.ap .site-explore-pill{transition:none}.ap .site-explore-pill:hover,.ap .site-explore-pill:focus-visible{transform:none}}

/* Compact card footer: category and title form one stack, with Explore beside both. */
.wg-card-body{display:grid;grid-template-columns:minmax(0,1fr) auto;column-gap:12px;row-gap:4px;align-items:center;padding:12px 15px}
.wg-card-meta{grid-column:1;grid-row:1;line-height:1.35;align-self:end}
.wg-card-title-row{display:contents}
.wg-card-title-row h4{grid-column:1;grid-row:2;margin:0;align-self:start;line-height:1.35}
.wg-card-body .wg-card-title-row .site-explore-pill{grid-column:2;grid-row:1 / span 2;align-self:center;margin:0;min-height:32px;padding:7px 11px}
@media(max-width:550px){.wg-card-body{padding:11px 14px;column-gap:10px;row-gap:3px}.wg-card-body .wg-card-title-row .site-explore-pill{font-size:10px;padding:7px 10px}}

/* Balanced card spacing: one text stack with room to read, alongside Explore. */
.wg-card-body{padding:15px 17px 16px;column-gap:14px;row-gap:7px}
.wg-card-meta{line-height:1.45}
.wg-card-title-row h4{line-height:1.4}
@media(max-width:550px){.wg-card-body{padding:14px 15px 15px;column-gap:12px;row-gap:6px}}

/* A single title line keeps every library-card footer the same height. */
.wg-card-title-row h4{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.wg-card-body .wg-card-title-row .site-explore-pill{align-self:end}

/* Compact desktop Explore stays visible; touch layouts retain their approved size. */
@media (min-width:1025px) and (hover:hover) and (pointer:fine){
 .wg-card-body{grid-template-columns:minmax(0,1fr) 76px}
 .wg-card-body .wg-card-title-row .site-explore-pill{position:relative;justify-self:end;width:76px;height:30px;min-height:30px;box-sizing:border-box;padding:0;gap:0;overflow:hidden;font-size:10px;transition:width .2s ease,color .2s,background .2s,border-color .2s,transform .2s,box-shadow .2s}
 .wg-card-body .wg-explore i{position:absolute;right:8px;top:50%;transform:translateY(-50%);font-size:12px}
 .wg-card-body .wg-explore-label{position:absolute;right:27px;opacity:1;transform:translateX(0);transition:opacity .15s ease,transform .2s ease;pointer-events:none}
 .wg-card-body .wg-card-title-row .site-explore-pill:hover,.wg-card-body .wg-card-title-row .site-explore-pill:focus-visible{width:76px}
 .wg-card-body .wg-explore:hover .wg-explore-label,.wg-card-body .wg-explore:focus-visible .wg-explore-label{opacity:1;transform:translateX(0)}
}
@media(prefers-reduced-motion:reduce){.wg-card-body .wg-card-title-row .site-explore-pill,.wg-explore-label{transition:none!important}}

/* Give the play target its own quiet response, separate from the card lift. */
.wg-card-play{background:#0b1014;backdrop-filter:none;-webkit-backdrop-filter:none;color:#a2adb9;box-shadow:none;transition:background .2s,color .2s,border-color .2s,box-shadow .2s,transform .2s ease}
@media(hover:hover) and (pointer:fine){.wg-card-play:hover{transform:translateY(-2px);background:#172630;color:#b5ddf4;border-color:#9bceed80;box-shadow:0 0 14px #81bde22b}}
.wg-card-art:focus-visible .wg-card-play{background:#172630;color:#b5ddf4;border-color:#9bceed80;box-shadow:0 0 14px #81bde22b}
.wg-card-play i{pointer-events:none}
@media(prefers-reduced-motion:reduce){.wg-card-play{transition:none}.wg-card-play:hover{transform:none}}

/* Two hover levels: a quiet card acknowledgement, then full play-target feedback. */
@media(hover:hover) and (pointer:fine){
 .wg-card:hover .wg-card-play{background:#10191f;color:#aac1cd;border-color:#9bceed4f;box-shadow:0 0 14px #81bde213}
 .wg-card:hover .wg-card-play:hover{transform:translateY(-2px);background:#172630;color:#b5ddf4;border-color:#9bceed80;box-shadow:0 0 14px #81bde22b}
}
@media(prefers-reduced-motion:reduce){.wg-card:hover .wg-card-play:hover{transform:none}}
