/* ════════════════════════════════════════════════════════════
   PinInspect — HERO ADS EXTENSION (2026-11-19, owner markup
   order 21:07 PKT: ads in the two hero areas still empty).
   ADDITIVE companion to pi-gam7.css — loaded right after it by
   routes/publicPages.js (gamHeadTags) on public pages only.
   It styles ONLY the two new holders of this package (unit
   config: pi-gam13.js); every pre-existing slot keeps its
   current stylesheet untouched.

   The two slots (holders are static markup in
   public/index.html):
   - PI_Home_Left: sticky rail in the LEFT page margin, the
     exact mirror of PI_Home_Rail (pi-gam7.css). The content
     column (.dh-hero-in, 1440px) is centred inside
     .pi-hero-zone, so the left margin fits a rail on the same
     measured terms as the right: 160px from a 1840px viewport,
     300px from 2120px, always 24px clear of the column and
     >=8px clear of the viewport edge (rig-measured: at 1920
     the right spine sits at zone-centre +744px with its inner
     edge exactly 24px from the column; the left spine mirrors
     it with right:50% + margin-right:744px). The spine lives
     in .pi-rail-zone-left, an absolutely positioned strip
     inside .pi-hero-zone (exactly the hero zone's height),
     because .dhome-hero has overflow:hidden, which kills
     position:sticky for its descendants. The wrap is sticky
     inside the spine (top:16px), so it sticks while the hero
     zone scrolls and releases at the zone's bottom edge.
     The spine carries the rail's REAL width (160px, then
     300px) for the same reason as the right rail: the hero
     stylesheet guards every .pi-gam with max-width:100%
     !important, so a holder in a 0-width spine would clamp
     to 0px. Below 1840px the spine is display:none and the
     unit's GPT mapping is empty, so the slot is never
     requested. NOTE: the class is deliberately NOT
     .pi-rail-zone — pi-gam7.css positions that class on the
     right (left:50%), and this spine must not inherit it.
   - PI_Hero_Pocket: a 468x60 banner inside .piExactProduct
     directly under the showcase (browser) card, in the hero's
     right column. Measured space (rig, hero CTA filled): the
     card is 550px wide at every viewport >=1600 (542 @1440,
     528 @1366) — a 728x90 can never fit — and the free height
     under the card (copy-column height minus product height)
     is 144px @>=1600, 109 @1440, 100 @1366, but ZERO at
     <=1300 (narrower grid minimums make the product the tall
     column) and in the stacked <=1180 layout. The holder is
     therefore shown — and, via the empty [0] mapping row in
     pi-gam13.js, requested — only from a 1400px viewport up,
     where the height budget is >= ~106px against the holder's
     93px total (12px top margin + ~21px label + 60px box).
     The holder spans the product's content box, so its edges
     ARE the browser card's edges (the card fills the same
     content box; the product's 92px right padding sits
     outside both). The 468x60 creative centres in the box
     with equal slack, exactly like the hero leaderboards.
     On no-fill the holder collapses via .pi-gam-empty like
     every other slot and the hero returns to its exact
     current height; on phones it is never in the layout at
     all (display:none below 1400px, which covers every
     phone width).
   ════════════════════════════════════════════════════════════ */

/* ——— PI_Home_Left ———————————————————————————————————————
   Mirror of .pi-rail-zone / .pi-gam--home-rail in
   pi-gam7.css, flipped to the left margin. */
.pi-rail-zone-left { display: none; }
@media (min-width: 1840px) {
  .pi-rail-zone-left {
    display: block;
    position: absolute;
    top: 0;
    bottom: 0;
    /* spine's right edge sits at the zone centre minus
       744px; the 1440px column's left edge sits at centre
       minus 720px, so the rail stays 24px clear of the
       column at every width — the exact mirror of the
       right rail's left:50% + margin-left:744px. */
    right: 50%;
    margin-right: 744px;
    width: 160px;
    z-index: 5;
  }
  .pi-gam--home-left {
    position: sticky;
    top: 16px;
    margin: 0;
    padding: 0;
    clear: none;
  }
  .pi-gam--home-left .pi-gam-box { min-height: 600px; }
}
@media (min-width: 2120px) {
  .pi-rail-zone-left { width: 300px; }
}

/* ——— PI_Hero_Pocket —————————————————————————————————————
   Desktop-only and wide-desktop-only: hidden (and, via the
   empty mapping row, unrequested) below a 1400px viewport,
   which also covers the stacked <=1180px hero and all
   phone widths — the phone hero keeps exactly its three
   mobile slots. */
.pi-gam--hero-pocket { display: none; }
@media (min-width: 1400px) {
  .pi-gam--hero-pocket {
    display: block;
    margin: 12px 0 0;
    max-width: none;
    padding: 0;
    width: 100%;
  }
  .pi-gam--hero-pocket .pi-gam-box { min-height: 60px; }
}
