/* FXCHS V2.75 – one size for every panel, no exposed page underneath. */
html.fxv2-js body.fxv2{
 --fxv275-panel-width:min(1390px,calc(100vw - 28px));
 --fxv275-panel-top:calc(var(--v2-header-height) + 7px);
 --fxv275-panel-bottom:var(--v2-footer-height);
}
html.fxv2-js body.fxv2 .fxv2-hybrid-panel,
html.fxv2-js body.fxv2 .fxv2-detail-panel{
 box-sizing:border-box!important;
 width:var(--fxv275-panel-width)!important;
 max-width:var(--fxv275-panel-width)!important;
 left:50%!important;right:auto!important;
 top:var(--fxv275-panel-top)!important;
 bottom:var(--fxv275-panel-bottom)!important;
 height:calc(100dvh - var(--v2-header-height) - var(--v2-footer-height) - 7px)!important;
 border-radius:var(--fxv270-round,26px)!important;
 clip-path:inset(0 round var(--fxv270-round,26px))!important;
 background:#f4f6f0!important;
 scrollbar-gutter:stable!important;
 transform:translate(calc(-50% + 120vw),0)!important;
 transition:transform .35s cubic-bezier(.22,.78,.3,1),visibility .35s!important;
}
html.fxv2-js body.fxv2 .fxv2-hybrid.is-sheet-open .fxv2-hybrid-panel,
html.fxv2-js body.fxv2 .fxv2-detail-panel.is-visible{
 transform:translate(-50%,0)!important;
 border-radius:var(--fxv270-round,26px)!important;
}
/* Underlying pages remain in the DOM for back navigation, but are not visible. */
html.fxv2-js body.fxv2.fxv256-detail-on .fxv2-hybrid.is-sheet-open .fxv2-hybrid-panel{
 visibility:hidden!important;pointer-events:none!important;
}
/* Old floating page arrows used to overlap forms and table headings. */
body.fxv2 .fxv270-panel-arrow{display:none!important}
/* Keep usable inline carousel controls inside their own card section. */
body.fxv2 .fxv266-rail-shell .fxv266-nav-arrow{z-index:5;top:50%}
/* Video stages must not inherit generic iframe height:auto rules. */
body.fxv2 :is(.fxv2-hybrid-panel,.fxv2-detail-panel) :is(.fxv2-video-stage,.fxv2-article-film .fxv2-video-stage),
body.fxv2 .fxv2-video-dialog-stage{
 position:relative!important;display:block!important;width:100%!important;
 aspect-ratio:16/9!important;height:auto!important;min-height:0!important;
 overflow:hidden!important;background:#060a08!important;
}
body.fxv2 :is(.fxv2-hybrid-panel,.fxv2-detail-panel) .fxv2-video-stage iframe,
body.fxv2 .fxv2-video-dialog-stage iframe{
 position:absolute!important;inset:0!important;width:100%!important;
 height:100%!important;max-height:none!important;aspect-ratio:auto!important;
 object-fit:contain!important;border:0!important;
}
body.fxv2 :is(.fxv2-hybrid-panel,.fxv2-detail-panel) .fxv2-feature-film,
body.fxv2 :is(.fxv2-hybrid-panel,.fxv2-detail-panel) .fxv2-article-film{
 max-width:100%!important;min-width:0!important;
}
body.fxv2 .fxv2-video-dialog{max-width:min(98vw,1500px)!important;max-height:98dvh!important}
/* Same native list / small / large cards for friends and network. */
body.fxv2 .fxv2-network-grid.fxv2-card-grid{max-width:100%;min-width:0}
body.fxv2 .fxv2-network-grid.fxv2-card-grid .fxv2-network-card{margin:0;min-width:0;padding:0;max-width:none}
body.fxv2 .fxv2-network-grid.fxv2-card-grid .fxv2-network-card .fxv2-card-link{display:flex;flex-direction:column;min-height:165px;text-decoration:none;color:inherit}
body.fxv2 .fxv2-network-grid.fxv2-card-grid .fxv2-network-card .fxv2-card-body{display:flex;flex-direction:column;gap:7px;flex:1;padding:17px}
body.fxv2 .fxv2-network-grid.fxv2-card-grid .fxv2-network-card .fxv2-card-body strong{overflow-wrap:anywhere}
body.fxv2 .fxv2-network-grid.fxv2-card-grid.is-v2-list{display:block!important;overflow:visible!important}
body.fxv2 .fxv2-network-grid.fxv2-card-grid.is-v2-list .fxv2-network-card .fxv2-card-link{display:grid!important;grid-template-columns:minmax(0,1fr) minmax(90px,18%) minmax(90px,12%)!important;align-items:center;min-height:68px!important}
body.fxv2 .fxv2-network-grid.fxv2-card-grid.is-v2-list .fxv2-network-card .fxv2-card-body{padding:12px 14px!important;display:flex!important;min-height:0!important}
body.fxv2 .fxv2-network-grid.fxv2-card-grid.is-v2-list .fxv2-network-card .fxv2-card-copy{display:none!important}
body.fxv2 .fxv2-network-grid.fxv2-card-grid.is-v2-list .fxv2-network-card .fxv2-card-col-category,
body.fxv2 .fxv2-network-grid.fxv2-card-grid.is-v2-list .fxv2-network-card .fxv2-card-col-date{display:block!important;font-size:12px;color:#375344;overflow-wrap:anywhere}
body.fxv2 .fxv2-network-grid.fxv2-card-grid:not(.is-v2-list) .fxv2-network-card .fxv2-card-col-category,
body.fxv2 .fxv2-network-grid.fxv2-card-grid:not(.is-v2-list) .fxv2-network-card .fxv2-card-col-date{display:none!important}
@media(max-width:760px){
 html.fxv2-js body.fxv2{--fxv275-panel-width:calc(100vw - 12px)}
 body.fxv2 .fxv2-network-grid.fxv2-card-grid.is-v2-list .fxv2-network-card .fxv2-card-link{grid-template-columns:minmax(0,1fr) minmax(60px,24%)!important}
 body.fxv2 .fxv2-network-grid.fxv2-card-grid.is-v2-list .fxv2-card-col-date{display:none!important}
}
@media(prefers-reduced-motion:reduce){html.fxv2-js body.fxv2 :is(.fxv2-hybrid-panel,.fxv2-detail-panel){transition:none!important}}
/* Screenshot regression: search text had nearly no contrast on a white field. */
body.fxv2 .fxv2-archive-search input[type="search"],
body.fxv2 .fxv2-hybrid-panel .fxv2-search input{
  color:#182a21!important;-webkit-text-fill-color:#182a21!important;
  background:#fff!important;border:1px solid #778d7f!important;
  caret-color:#173c2a!important;opacity:1!important;
}
body.fxv2 .fxv2-hybrid-panel .fxv2-search input::placeholder{color:#50675a!important;opacity:1!important}
/* A calmer, tighter category header; no 100px void above the list header. */
body.fxv2 .fxv2-hybrid-panel .fxv2-work-section>.fxv2-section-head{margin-bottom:6px!important}
body.fxv2 .fxv2-work-section>.fxv2-card-viewbar{margin:6px 0 7px!important;min-height:0!important}
body.fxv2 .fxv2-work-section>.fxv2-archive-tablehead{padding-top:5px!important;padding-bottom:5px!important}
body.fxv2 .fxv2-hybrid-panel .fxv2-network-section{padding:clamp(18px,2vw,28px);background:#f8faf5;border:1px solid #cbd9cb;border-radius:24px;margin-bottom:23px}
body.fxv2 .fxv2-network-section .fxv2-card-viewbar{margin:5px 0 8px!important}
body.fxv2 .fxv2-network-section .fxv2-archive-tablehead:has(+ .fxv2-network-grid.is-v2-list){grid-template-columns:minmax(0,1fr) minmax(90px,18%) minmax(90px,12%)!important;padding-left:14px!important}
body.fxv2 .fxv2-network-grid.fxv2-card-grid:not(.is-v2-list) .fxv2-network-card{border:1px solid #d4e0d4;border-radius:16px;background:#fcfdf9}
body.fxv2 .fxv2-network-grid.fxv2-card-grid .fxv2-network-video{font-size:12px;font-weight:800;display:block;margin:0 14px 13px}
@media(max-width:760px){body.fxv2 .fxv2-network-section .fxv2-archive-tablehead:has(+ .fxv2-network-grid.is-v2-list){grid-template-columns:minmax(0,1fr) minmax(60px,24%)!important}.fxv2-network-section .fxv2-archive-tablehead>span:nth-child(3){display:none!important}}
