/* P01 Watch · cinema-first surface, owned as a cohesive layout.
 * The prior Watch stylesheet retains compatibility for shared components.
 * This module owns the poster-first library, native filter disclosure and
 * single in-page detail workflow. No storage or playback-route changes. */
body.surface-watch .vf-watch-cinema{
  width:min(100%,1320px);margin:0 auto;min-width:0;
}
body.surface-watch .vf-watch-cinema .vf-watch-topnav{
  justify-content:flex-start;padding:2px 0 12px;border-bottom:1px solid var(--ws-line);
}
body.surface-watch .vf-watch-cinema .vf-watch-section-links{gap:4px}
body.surface-watch .vf-watch-cinema .vf-watch-section-links a{
  min-height:43px;padding:8px 15px;font-size:14px;border-radius:9px;
}
body.surface-watch .vf-watch-cinema .vf-watch-content{gap:19px}
body.surface-watch .vf-watch-cinema .vf-watch-hero{
  padding:15px 0 5px!important;min-height:0;gap:20px;
  border:0!important;background:transparent!important;box-shadow:none!important;
}
body.surface-watch .vf-watch-cinema .vf-watch-hero h1{
  margin:5px 0 8px;font-size:clamp(27px,2.5vw,34px)!important;
}
body.surface-watch .vf-watch-cinema .vf-watch-hero p{
  font-size:14px!important;line-height:1.6!important;
}
body.surface-watch .vf-watch-cinema .vf-watch-maintenance{
  justify-self:end;width:min(100%,340px);border-color:transparent;
  background:transparent;
}
body.surface-watch .vf-watch-cinema .vf-watch-maintenance>summary{
  min-height:32px;padding:4px 8px;font-size:12px;
}
body.surface-watch .vf-watch-cinema .vf-watch-toolbar{
  display:grid;grid-template-columns:minmax(0,1fr) auto;
  align-items:start;gap:12px;
}
body.surface-watch .vf-watch-cinema .vf-watch-refine{min-width:0}
body.surface-watch .vf-watch-cinema .vf-watch-refine>summary{
  min-height:42px;display:inline-flex;align-items:center;gap:10px;
  padding:9px 14px;border:1px solid var(--ws-line);border-radius:9px;
  background:var(--ws-panel);color:var(--ws-strong);font-size:14px;
  font-weight:750;cursor:pointer;list-style:none;
}
body.surface-watch .vf-watch-cinema .vf-watch-refine>summary::-webkit-details-marker{display:none}
body.surface-watch .vf-watch-cinema .vf-watch-refine>summary::after{
  content:'⌄';font-size:18px;color:var(--ws-muted);margin-left:2px;
}
body.surface-watch .vf-watch-cinema .vf-watch-refine[open]>summary{
  border-color:var(--ws-teal);color:var(--ws-teal);
}
body.surface-watch .vf-watch-cinema .vf-watch-refine[open]>summary::after{transform:rotate(180deg)}
body.surface-watch .vf-watch-cinema .vf-watch-refine>summary small{
  color:var(--ws-muted);font-size:12px;font-weight:500;
  max-width:300px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;
}
body.surface-watch .vf-watch-cinema .vf-watch-filter-stack{
  margin-top:10px;padding:13px 17px!important;
  border:1px solid var(--ws-line)!important;border-radius:11px!important;
  background:var(--ws-panel)!important;
}
body.surface-watch .vf-watch-cinema .vf-watch-filter-group{
  grid-template-columns:80px minmax(0,1fr)!important;
  padding:9px 0!important;gap:12px!important;
}
body.surface-watch .vf-watch-cinema .vf-watch-filter-label{
  font-size:12px!important;padding-top:10px!important;
}
body.surface-watch .vf-watch-cinema .vf-watch-statuses a,
body.surface-watch .vf-watch-cinema .vf-watch-facets a{
  min-height:36px!important;font-size:12.5px!important;padding:6px 11px!important;
}
body.surface-watch .vf-watch-cinema .vf-watch-toolbar-actions{
  display:flex;align-items:center;justify-content:flex-end;flex-wrap:wrap;gap:12px;
}
body.surface-watch .vf-watch-cinema .vf-watch-clear-filters{
  display:inline-flex;align-items:center;min-height:42px;padding:8px 4px;
  color:var(--ws-teal);font-size:13px;font-weight:700;text-decoration:none;
}
body.surface-watch .vf-watch-cinema .vf-watch-clear-filters:hover{text-decoration:underline}
body.surface-watch .vf-watch-cinema .vf-watch-sort-control{
  display:flex;align-items:center;gap:9px;min-height:42px;
  color:var(--ws-muted);font-size:13px;font-weight:600;
}
body.surface-watch .vf-watch-cinema .vf-watch-sort-control select{
  min-height:42px;min-width:132px;padding:7px 10px;border:1px solid var(--ws-line);
  border-radius:9px;background:var(--ws-panel);color:var(--ws-strong);
  font-size:13px;
}
body.surface-watch .vf-watch-cinema .vf-watch-library-section{gap:11px}
body.surface-watch .vf-watch-cinema .vf-watch-library-section>header{
  margin:0;padding:4px 0 13px;border-bottom:1px solid var(--ws-line);
}
body.surface-watch .vf-watch-cinema .vf-watch-library-section>header h2{
  font-size:21px!important;margin:3px 0 4px!important;
}
body.surface-watch .vf-watch-cinema .vf-watch-library-section>header p{
  font-size:12.5px!important;margin:0;
}
/* Fixed poster sizing: sparse libraries must not stretch a lone film to a
 * giant quarter-width card. Auto-fill keeps the same scan size as titles grow. */
body.surface-watch .vf-watch-cinema .vf-watch-library-grid{
  display:grid!important;
  grid-template-columns:repeat(auto-fill,minmax(160px,190px))!important;
  justify-content:start!important;
  gap:26px 20px!important;align-items:start;
}
body.surface-watch .vf-watch-cinema .vf-watch-cinema-card{
  display:grid!important;grid-template-columns:minmax(0,1fr)!important;
  grid-template-rows:auto auto!important;align-content:start;
  gap:0!important;min-height:0!important;padding:0!important;
  border:0!important;border-radius:0!important;background:transparent!important;
  overflow:visible!important;box-shadow:none!important;
}
body.surface-watch .vf-watch-cinema .vf-watch-cinema-card:hover{
  border:0!important;background:transparent!important;
}
body.surface-watch .vf-watch-cinema .vf-watch-poster-wrap{
  position:relative;min-width:0;aspect-ratio:2/3;
}
body.surface-watch .vf-watch-cinema .vf-watch-poster-open{
  position:relative!important;inset:auto!important;z-index:1;
  display:block;width:100%;height:100%;padding:0;
  appearance:none;border:0;border-radius:12px;
  background:var(--ws-soft-2);cursor:pointer;overflow:hidden;
  box-shadow:0 3px 14px rgba(18,35,28,.07);
}
body.surface-watch .vf-watch-cinema .vf-watch-poster-open .vf-watch-poster{
  width:100%!important;height:100%!important;aspect-ratio:2/3;
  border:0!important;border-radius:12px!important;
  pointer-events:none;
}
body.surface-watch .vf-watch-cinema .vf-watch-poster-open .vf-watch-poster img{
  display:block;width:100%;height:100%;object-fit:cover;
  transition:transform .18s ease;
}
body.surface-watch .vf-watch-cinema .vf-watch-poster-open:hover .vf-watch-poster img{
  transform:scale(1.025);
}
body.surface-watch .vf-watch-cinema .vf-watch-poster-cta{
  position:absolute;left:0;right:0;bottom:0;padding:25px 12px 11px;
  background:linear-gradient(transparent,rgba(7,20,14,.8));color:white;
  font-size:13px;font-weight:750;text-align:center;
  opacity:0;transition:opacity .18s ease;pointer-events:none;
}
body.surface-watch .vf-watch-cinema .vf-watch-poster-open:hover .vf-watch-poster-cta,
body.surface-watch .vf-watch-cinema .vf-watch-poster-open:focus-visible .vf-watch-poster-cta{
  opacity:1;
}
body.surface-watch .vf-watch-cinema .vf-watch-poster-badges{
  position:absolute;z-index:2;left:9px;top:9px;bottom:auto;right:auto;
  display:inline-flex;flex-wrap:wrap;align-items:center;gap:0;
  max-width:calc(100% - 18px);padding:2px 3px;border-radius:8px;
  background:rgba(11,34,24,.86);box-shadow:0 2px 9px rgba(0,0,0,.18);
  pointer-events:none;
}
body.surface-watch .vf-watch-cinema .vf-watch-poster-badges>*{
  font-size:12px!important;line-height:1.35;
  padding:3px 6px!important;border:0!important;
  border-radius:0!important;background:transparent!important;
  color:#fff!important;font-weight:700;
  box-shadow:none!important;
}
body.surface-watch .vf-watch-cinema .vf-watch-poster-badges>*+*{
  border-left:1px solid rgba(255,255,255,.4)!important;
}
body.surface-watch .vf-watch-cinema .vf-watch-cinema-card .vf-watch-copy{
  padding:10px 1px 0!important;min-height:0!important;pointer-events:auto;
}
body.surface-watch .vf-watch-cinema .vf-watch-cinema-card .vf-watch-copy>strong{
  display:-webkit-box!important;-webkit-line-clamp:2;
  -webkit-box-orient:vertical;white-space:normal!important;
  overflow:hidden;text-overflow:ellipsis;min-height:0!important;
  color:var(--ws-strong);font-size:16px!important;line-height:1.42!important;
}
body.surface-watch .vf-watch-cinema .vf-watch-title-open{
  all:unset;display:inline;cursor:pointer;font:inherit;color:inherit;
  line-height:inherit;text-align:left;
}
body.surface-watch .vf-watch-cinema .vf-watch-title-open:hover{
  text-decoration:underline;text-decoration-thickness:1px;text-underline-offset:3px;
}
body.surface-watch .vf-watch-cinema .vf-watch-cinema-card .vf-watch-copy>small{
  display:block!important;min-height:0!important;margin-top:4px!important;
  color:var(--ws-muted)!important;font-size:14px!important;line-height:1.5!important;
  white-space:nowrap!important;overflow:hidden;text-overflow:ellipsis;
}
body.surface-watch .vf-watch-cinema .vf-watch-card-operation-hooks[hidden],
body.surface-watch .vf-watch-detail-dialog [hidden]{
  display:none!important;
}
body.surface-watch .vf-watch-cinema .vf-watch-recent-list{
  max-width:100%;gap:15px;
}
body.surface-watch .vf-watch-cinema.vf-watch-view-recent .vf-watch-cinema-card{
  grid-template-columns:90px minmax(0,1fr)!important;grid-template-rows:auto!important;
  padding:10px!important;gap:15px!important;border:1px solid var(--ws-line)!important;
  border-radius:11px!important;background:var(--ws-panel)!important;
  min-height:0!important;
}
body.surface-watch .vf-watch-cinema.vf-watch-view-recent .vf-watch-poster-wrap{
  grid-column:1;grid-row:1;align-self:start;width:90px;
}
body.surface-watch .vf-watch-cinema.vf-watch-view-recent .vf-watch-copy{
  grid-column:2;grid-row:1;padding:4px 0!important;
}
body.surface-watch .vf-watch-cinema .vf-watch-recent-time{
  font-size:12px;margin-bottom:9px;color:var(--ws-muted);
}
body.surface-watch .vf-watch-detail-dialog{
  overflow-y:auto;max-height:calc(100dvh - 32px);
}
body.surface-watch .vf-watch-detail-dialog .vf-watch-detail-body{
  gap:0;padding:27px 26px 24px;
}
body.surface-watch .vf-watch-detail-dialog .vf-watch-detail-source{
  margin-top:18px;padding-top:16px;border-top:1px solid var(--ws-line);
}
body.surface-watch .vf-watch-detail-dialog .vf-watch-detail-actions{
  display:flex;flex-wrap:wrap;gap:9px;margin-top:16px;
}
body.surface-watch .vf-watch-detail-dialog .vf-watch-detail-actions>a{
  background:var(--ws-teal);border-color:var(--ws-teal);color:#fff;
}
body.surface-watch .vf-watch-detail-dialog .vf-watch-detail-owner{
  display:flex;flex-wrap:wrap;align-items:center;gap:8px;
  margin-top:12px;
}
body.surface-watch .vf-watch-detail-dialog .vf-watch-detail-owner>button,
body.surface-watch .vf-watch-detail-dialog .vf-watch-detail-extra button{
  min-height:38px;padding:8px 12px;border:1px solid var(--ws-line);
  border-radius:8px;background:var(--ws-panel);color:var(--ws-strong);
  font-size:13px;font-weight:650;cursor:pointer;
}
body.surface-watch .vf-watch-detail-dialog .vf-watch-detail-extra{
  width:100%;margin-top:4px;border-top:1px solid var(--ws-line);
}
body.surface-watch .vf-watch-detail-dialog .vf-watch-detail-extra>summary{
  padding:11px 0;color:var(--ws-muted);font-size:12.5px;cursor:pointer;
}
body.surface-watch .vf-watch-detail-dialog .vf-watch-detail-extra>div{
  display:flex;flex-wrap:wrap;gap:8px;padding:0 0 9px;
}
body.surface-watch .vf-watch-detail-dialog .vf-watch-detail-extra .vf-watch-detail-danger{
  color:#a33b32;border-color:color-mix(in srgb,#a33b32 30%,var(--ws-line));
}
body.surface-watch .vf-watch-cinema :is(button,a,select,summary):focus-visible,
body.surface-watch .vf-watch-detail-dialog :is(button,a,summary):focus-visible{
  outline:2px solid var(--ws-teal);outline-offset:3px;
}
body.surface-watch .vf-watch-cinema .vf-subject-pagination{
  display:flex;justify-content:center;align-items:center;flex-wrap:wrap;gap:7px;
}
body.surface-watch .vf-watch-cinema .vf-subject-pagination a[rel]{
  padding-inline:12px;
}
body.surface-watch .vf-watch-cinema .vf-watch-page-ellipsis{
  display:inline-flex;align-items:center;justify-content:center;min-width:28px;
  color:var(--ws-muted);font-size:14px;
}
@media(max-width:899px){
  body.surface-watch .vf-watch-cinema .vf-watch-library-grid{
    grid-template-columns:repeat(auto-fill,minmax(148px,190px))!important;
    gap:20px 13px!important;
  }
  body.surface-watch .vf-watch-cinema .vf-watch-toolbar{
    grid-template-columns:1fr;gap:8px;
  }
  body.surface-watch .vf-watch-cinema .vf-watch-toolbar-actions{justify-content:flex-start}
  body.surface-watch .vf-watch-cinema .vf-watch-sort-control{
    justify-content:flex-start;
  }
  body.surface-watch .vf-watch-cinema .vf-watch-filter-group{
    grid-template-columns:1fr!important;gap:5px!important;
  }
  body.surface-watch .vf-watch-cinema .vf-watch-filter-label{padding-top:0!important}
}
@media(max-width:520px){
  body.surface-watch .vf-watch-cinema .vf-watch-library-grid{
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
  }
  body.surface-watch .vf-watch-cinema .vf-watch-topnav{padding-bottom:8px}
  body.surface-watch .vf-watch-cinema .vf-watch-section-links a{
    min-height:40px;padding:7px 11px;font-size:13px;
  }
  body.surface-watch .vf-watch-cinema .vf-watch-hero{
    padding:8px 0 0!important;
  }
  body.surface-watch .vf-watch-cinema .vf-watch-refine>summary small{display:none}
  body.surface-watch .vf-watch-cinema .vf-watch-cinema-card .vf-watch-copy>strong{
    font-size:14px!important;
  }
  body.surface-watch .vf-watch-cinema .vf-watch-cinema-card .vf-watch-copy>small{
    font-size:13px!important;
  }
  body.surface-watch .vf-watch-detail-dialog .vf-watch-detail-shell{
    grid-template-columns:1fr;
  }
  body.surface-watch .vf-watch-detail-dialog .vf-watch-detail-poster{
    display:none;
  }
}
@media(prefers-reduced-motion:reduce){
  body.surface-watch .vf-watch-cinema .vf-watch-poster-open .vf-watch-poster img,
  body.surface-watch .vf-watch-cinema .vf-watch-poster-cta{transition:none}
}
/* Owner V2.47.459 screenshot closure — first film row above the fold.
 * Reuse the same hero, maintenance and browse controls; no new navigation. */
body.surface-watch .vf-watch-cinema .vf-watch-content{gap:9px}
body.surface-watch .vf-watch-cinema .vf-watch-overview{
  display:flex;align-items:center;justify-content:space-between;gap:12px;min-width:0;
}
body.surface-watch .vf-watch-cinema .vf-watch-overview>.vf-watch-hero{
  flex:1 1 auto;min-width:0;padding:0!important;
}
body.surface-watch .vf-watch-cinema.vf-watch-view-library .vf-watch-hero>div:first-child>span,
body.surface-watch .vf-watch-cinema.vf-watch-view-library .vf-watch-hero p{display:none!important}
body.surface-watch .vf-watch-cinema.vf-watch-view-library .vf-watch-hero h1{
  margin:0!important;font-size:clamp(25px,2.3vw,31px)!important;
}
body.surface-watch .vf-watch-cinema .vf-watch-overview>.vf-watch-maintenance{
  flex:0 1 290px;max-width:290px;min-width:245px;width:auto;justify-self:auto;
}
body.surface-watch .vf-watch-cinema .vf-watch-overview>.vf-watch-maintenance>summary{
  min-height:40px;padding:5px 9px;font-size:12px;
}
body.surface-watch .vf-watch-cinema .vf-watch-library-section>header{
  padding:0 0 7px!important;
}
body.surface-watch .vf-watch-cinema .vf-watch-library-section>header h2{
  display:flex;flex-wrap:wrap;align-items:baseline;gap:9px;
}
body.surface-watch .vf-watch-cinema .vf-watch-heading-count{
  color:var(--ws-muted);font-size:14px;font-weight:550;white-space:nowrap;
}
body.surface-watch .vf-watch-cinema .vf-watch-library-section>header h2{
  font-size:19px!important;
}
/* Missing and failed images share one deliberate, legible poster treatment.
 * Empty poster is not an empty white card; it remains a detail-dialog button. */
body.surface-watch .vf-watch-cinema .vf-watch-poster-open .vf-watch-poster.is-fallback{
  display:flex!important;flex-direction:column;align-items:center;justify-content:center;
  gap:10px;padding:22px!important;
  background:linear-gradient(155deg,#eaf5ee 0%,#d8e9df 58%,#c7e0d2 100%)!important;
  color:#156445;box-shadow:inset 0 0 0 1px rgba(14,104,64,.09);
}
body.surface-watch .vf-watch-cinema .vf-watch-poster-open .vf-watch-poster.is-fallback::before{
  content:'VF WATCH';font-size:11px;font-weight:750;letter-spacing:.18em;opacity:.6;
}
body.surface-watch .vf-watch-cinema .vf-watch-poster-open .vf-watch-poster.is-fallback::after{
  content:'暂无海报';font-size:13px;font-weight:650;letter-spacing:.03em;opacity:.85;
}
body.surface-watch .vf-watch-cinema .vf-watch-poster-open .vf-watch-poster-fallback{
  display:flex!important;align-items:center;justify-content:center;
  width:75px!important;height:75px!important;min-width:75px;border-radius:19px!important;
  border:1px solid rgba(18,128,77,.15)!important;background:rgba(255,255,255,.5)!important;
  color:#15764c!important;font-size:35px!important;font-weight:800;
  line-height:1!important;box-shadow:none!important;
}
@media(max-width:1100px){
  body.surface-watch .vf-watch-cinema .vf-watch-overview{flex-wrap:wrap;gap:10px}
  body.surface-watch .vf-watch-cinema .vf-watch-overview>.vf-watch-maintenance{
    flex:1 1 100%;max-width:none;min-width:0;
  }
}

/* R3: recovery actions belong to the cinematic library, not a detached admin page. */
body.surface-watch .vf-watch-cinema .vf-watch-empty strong{font-size:17px;line-height:1.4}
body.surface-watch .vf-watch-cinema .vf-watch-empty p{font-size:13.5px;line-height:1.6}
body.surface-watch .vf-watch-cinema .vf-watch-empty button[data-open-add]{
  min-height:40px;margin-top:14px;padding:0 15px;
  border:1px solid var(--ws-teal);border-radius:8px;
  background:var(--ws-teal);color:#fff;
  font:inherit;font-size:13px;font-weight:720;cursor:pointer;
}
body.surface-watch .vf-watch-cinema .vf-watch-empty a{min-height:40px;font-size:13px;padding:0 15px}
body.surface-watch .vf-watch-cinema .vf-watch-empty button[data-open-add]:focus-visible{
  outline:2px solid var(--ws-strong);outline-offset:3px
}

/* Watch: contextual filter dismissal and an explicit random-order refresh.
 * The controls stay in this page; no extra management surface is introduced. */
body.surface-watch .vf-watch-cinema .vf-watch-active-filters{
  display:flex;flex-wrap:wrap;align-items:center;gap:7px;margin-top:9px;
}
body.surface-watch .vf-watch-cinema .vf-watch-active-filters a{
  min-height:34px;max-width:100%;display:inline-flex;align-items:center;gap:9px;
  padding:6px 10px;border:1px solid color-mix(in srgb,var(--ws-teal) 22%,var(--ws-line));
  border-radius:7px;background:var(--ws-teal-soft);color:var(--ws-teal);
  font-size:12px;font-weight:650;text-decoration:none;
}
body.surface-watch .vf-watch-cinema .vf-watch-active-filters a span:first-child{
  min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;
}
body.surface-watch .vf-watch-cinema .vf-watch-active-filters a span:last-child{
  flex:0 0 auto;font-size:17px;line-height:1;
}
body.surface-watch .vf-watch-cinema .vf-watch-shuffle-refresh{
  min-height:42px;padding:7px 10px;display:inline-flex;align-items:center;
  border:1px solid var(--ws-line);border-radius:9px;background:var(--ws-panel);
  color:var(--ws-teal);font-size:13px;font-weight:700;text-decoration:none;
}
body.surface-watch .vf-watch-cinema .vf-watch-shuffle-refresh:hover,
body.surface-watch .vf-watch-cinema .vf-watch-active-filters a:hover{
  border-color:var(--ws-teal);background:color-mix(in srgb,var(--ws-teal-soft) 75%,var(--ws-panel));
}
body.surface-watch .vf-watch-cinema .vf-watch-shuffle-refresh:focus-visible,
body.surface-watch .vf-watch-cinema .vf-watch-active-filters a:focus-visible{
  outline:2px solid var(--ws-teal);outline-offset:3px;
}
