/* Golf Network News · homepage: two new room tiles (Year in Review, The Bag Tag Wall) and the new wall order.
   Load after home.css. Uses the wall's own poster frame, type and hover (.poster). Art is lazy SVG; data is drawn by tiles.js. */

/* ---------- the wall order, by room rather than by position (so adding a tile never moves another) ----------
   Row 1: Year in Review (lead)
   Row 2: U.S. Open · The Open · PGA Championship · 2026: The Season
   Row 3: Champions Dinner · Ryder Cup · The Presidents Cup · What's in the Bag (the two team cups side by side)
   Row 4: U.S. Women's Open · The Women's Majors · The Solheim Cup · Prize money (quarters; the Solheim Cup's poster added 2026-11-06)
   Row 5: The Bag Tag Wall, full width (the amateur room's front door, directly above the band)
   Then the amateurs band, then Every ground · Every state (halves). Every row fills all 24 columns. */
.rooms>li:nth-child(n){grid-column:span 6;margin:0}
.rooms>li:has(>[data-room="year-in-review"]){grid-column:1/-1}
.rooms>li:has(>[data-room="us-open"]){grid-column:span 6;margin-top:50px}
.rooms>li:has(>[data-room="the-open"]){grid-column:span 7}
.rooms>li:has(>[data-room="pga"]){grid-column:span 5}
.rooms>li:has(>[data-room="season"]){grid-column:span 6;margin-top:30px}
.rooms>li:has(>[data-room="champions-dinner"]){grid-column:span 6;margin-top:70px}
.rooms>li:has(>[data-room="ryder-cup"]){grid-column:span 7;margin-top:20px}
.rooms>li:has(>[data-room="presidents-cup"]){grid-column:span 7;margin-top:52px}
.rooms>li:has(>[data-room="bag"]){grid-column:span 4}
.rooms>li:has(>[data-room="us-womens-open"]){grid-column:span 6;margin-top:10px}
.rooms>li:has(>[data-room="womens-majors"]){grid-column:span 6;margin-top:40px}
.rooms>li:has(>[data-room="solheim-cup"]){grid-column:span 6;margin-top:20px}
.rooms>li:has(>[data-room="prize-money"]){grid-column:span 6;margin-top:0}   /* moved up from after the band (index.html: its <li> now sits before The Bag Tag Wall) */
.rooms>li:has(>[data-room="bag-tag-wall"]){grid-column:1/-1;align-self:end;margin-bottom:-28px}
.rooms>li:has(>[data-group="amateurs"]){grid-column:1/-1;margin:8px calc(50% - 50cqw)}
.rooms>li:has(>[data-room="every-ground"]){grid-column:1/span 12}
.rooms>li:has(>[data-room="every-state"]){grid-column:13/span 12;margin-top:40px}

/* 2026: The Season, now a portrait slot beside the majors: the tile's own phone composition, at desktop */
@media (min-width:900px){
  .m-season{aspect-ratio:362/460;--band:0px}
  .m-season>.art,.m-season>.layer{top:auto;bottom:0;height:50%}
  .m-season .big{--bigsize:20cqi;left:5.5cqi;top:5cqi}
  .m-season .t{left:5.5cqi;right:5.5cqi;top:24cqi;width:auto}
  .m-season h2{font-size:clamp(22px,8.8cqi,32px)}
  .m-season p{font-size:clamp(12.5px,4.3cqi,15px)}
}

/* ---------- Year in Review: the lead tile. The year in giant lit numerals, a small globe, the season in orbit ---------- */
.m-yir{aspect-ratio:1376/560;background:#0A0E1E;color:#EEF0F6}
.m-yir .big{right:4cqi;top:7cqi;--bigsize:24.5cqi;letter-spacing:-.045em;color:#F1D79C;
  text-shadow:
    .12cqi .12cqi 0 #D9B46A,.24cqi .24cqi 0 #C79B52,.36cqi .36cqi 0 #B48643,.48cqi .48cqi 0 #9F7236,.6cqi .6cqi 0 #8A5F2B,
    .72cqi .72cqi 0 #754F22,.84cqi .84cqi 0 #61401B,.96cqi .96cqi 0 #4E3215,1.08cqi 1.08cqi 0 #3C2610,
    1.4cqi 1.8cqi 2.4cqi rgba(0,0,0,.6),0 0 6cqi rgba(255,206,130,.18)}
/* the globe sits in the counter of the year's 0, its orbit sweeping through the other numerals */
.m-yir .orb{position:absolute;z-index:3;left:39.1cqi;top:6.3cqi;width:40.4cqi;aspect-ratio:640/340;pointer-events:none}
.m-yir .orb>img,.m-yir .orb>svg{position:absolute;inset:0;width:100%;height:100%}
.m-yir .t{left:4cqi;bottom:4.4cqi;width:31cqi}
.m-yir .yr{color:#E9C27A}
.m-yir h2{font-size:clamp(28px,4.1cqi,58px);margin:1cqi 0 1.1cqi}
.m-yir p{font-size:clamp(13px,1.3cqi,18px);color:#D9DCE8;max-width:36ch}
.m-yir .t b{color:#F4E3BC}

/* ---------- The Bag Tag Wall: tags on a dark pegboard, one bag edge ---------- */
.m-btw{aspect-ratio:980/440;background:#2A2119;color:#F1E9D8}
.m-btw .yr{color:#E2B657}
.m-btw .t{left:3.4cqi;top:7cqi;width:26cqi}
.m-btw h2{font-size:clamp(24px,4cqi,40px);margin:2cqi 0 1.8cqi;line-height:1.02}
.m-btw p{font-size:clamp(12.5px,1.55cqi,16px);color:#E2D8C4}
.m-btw .t b{color:#F6E7C2}

/* data hooks not filled yet: a visible marker for the wiring pass (never shipped filled with a guess) */
.poster .ph{font:600 .78em var(--sans);font-style:normal;letter-spacing:.04em;padding:0 .35em;border:1px dashed currentColor;border-radius:3px;opacity:.85}

/* ---------- phone ---------- */
@media (max-width:899px){
  .rooms>li:nth-child(n){grid-column:span 12;margin:0}
  .rooms>li:has(>[data-room="us-open"]),.rooms>li:has(>[data-room="pga"]),.rooms>li:has(>[data-room="bag"]),.rooms>li:has(>[data-room="us-womens-open"]){grid-column:span 6}
  .rooms>li:has(>[data-group="amateurs"]){margin:24px -14px}
  .rooms>li:has(>[data-room="bag-tag-wall"]){margin-bottom:-12px}
  .m-yir{aspect-ratio:362/540}
  .m-yir .big{left:50%;right:auto;top:30cqi;transform:translateX(-50%);--bigsize:36cqi}
  .m-yir .orb{left:10.5cqi;top:28.9cqi;width:59cqi}
  .m-yir .t{left:6cqi;right:6cqi;bottom:6cqi;width:auto}
  .m-yir h2{font-size:30px;margin:8px 0}
  .m-yir p{font-size:14px}
  .m-btw{aspect-ratio:362/460}
  .m-btw .t{left:6cqi;right:6cqi;top:auto;bottom:6cqi;width:auto}
  .m-btw h2{font-size:28px;margin:8px 0}
  .m-btw p{font-size:13.5px}
}

/* the art sits in a <picture> (desktop and phone compositions); place it as the wall's own .art */
.m-yir>picture>.art,.m-btw>picture>.art{position:absolute;left:0;top:0;width:100%;height:100%;object-fit:cover}
.m-btw .layer.p{display:none}
@media (max-width:899px){.m-btw .layer.d{display:none}.m-btw .layer.p{display:block}}
