/* ===================== Scene-first layout: landscape framing and the card ↔ scene link =====================
   Linked after the other world-sf files on the coastal and rivers world pages. The card links the lesson's feature markers
   ("i") as well as its labels (sflink.js): the ring sits outside the marker's dot, and a strongly linked marker shows
   its name in amber like a strongly linked label. */
.w-sf .w-lring.feat::before{left:-15px;top:-15px;width:30px;height:30px}
.w-sf .w-lring.feat.strong::before{left:-18px;top:-18px;width:36px;height:36px}
.w-sf .w-feat.em-strong .t{box-shadow:0 0 0 2px #f2b23e,0 0 0 3.5px rgba(13,21,27,.45),0 4px 16px rgba(242,178,62,.4)}
.w-sf .w-feat.em-dim{opacity:.55}

/* ---------- phones: the lesson's readouts and small charts sit in the guide sheet, under the key idea (world.js) ---------- */
.w-sf:is([data-world=coast],[data-world=rivers]) .w-stage.sf .w-live .w-hudsheet{border:1px solid var(--sf-line);border-radius:12px;padding:9px 12px;font-size:12.5px;line-height:1.45;color:var(--sf-ink);background:rgba(255,255,255,.04)}
.w-sf:is([data-world=coast],[data-world=rivers]) .w-stage.sf .w-hudsheet .w-hudrow{gap:12px;align-items:baseline}
.w-sf:is([data-world=coast],[data-world=rivers]) .w-stage.sf .w-hudsheet .w-hudrow span{color:var(--sf-muted);flex:none;max-width:45%}
.w-sf:is([data-world=coast],[data-world=rivers]) .w-stage.sf .w-hudsheet .w-hudrow span:only-child{max-width:none}
.w-sf:is([data-world=coast],[data-world=rivers]) .w-stage.sf .w-hudsheet .w-hudrow b{color:var(--sf-ink);text-align:right;font-weight:650}
.w-sf:is([data-world=coast],[data-world=rivers]) .w-stage.sf .w-hudsheet b[style*=color]{filter:brightness(1.9) saturate(.85)}
.w-sf:is([data-world=coast],[data-world=rivers]) .w-stage.sf .w-hudsheet .w-energy{grid-template-columns:72px 1fr;color:var(--sf-ink)}
.w-sf:is([data-world=coast],[data-world=rivers]) .w-stage.sf .w-hudsheet .w-energy i{height:10px;background:linear-gradient(90deg,#7cc9da var(--e),rgba(255,255,255,.13) var(--e))}
.w-sf:is([data-world=coast],[data-world=rivers]) .w-stage.sf .w-hudsheet .w-energy i.hi{background:linear-gradient(90deg,#f0784a var(--e),rgba(255,255,255,.13) var(--e))}
.w-sf:is([data-world=coast],[data-world=rivers]) .w-stage.sf .w-hudsheet svg{display:block;max-width:100%;height:auto;margin:6px 0 4px;padding:4px;background:#f7f5ee;border-radius:8px;box-sizing:border-box}
.w-sf:is([data-world=coast],[data-world=rivers]) .w-stage.sf .w-hudsheet svg text{font-family:Arial,Helvetica,sans-serif}
/* the geology key: two rock types to a row, so it covers half as much of the strip of scene */
@media (max-width:720px){
 .w-sf:is([data-world=coast],[data-world=rivers]) .w-stage.sf .w-legend:not([hidden]){grid-template-columns:auto 1fr auto 1fr;gap:4px 7px;font-size:11px;padding:8px 10px;line-height:1.3}
}
/* long values (costs, sources) drop under their name rather than squeezing into a narrow column */
.w-sf:is([data-world=coast],[data-world=rivers]) .w-stage.sf .w-hudsheet .w-hudrow{flex-wrap:wrap}
.w-sf:is([data-world=coast],[data-world=rivers]) .w-stage.sf .w-hudsheet .w-hudrow b{flex:1 1 11em}
