/* Wind on the bridge: three tiles in the harbour conditions page's grid
   (partials/flags-card.njk, assets/js/flags-card.js), styled as the
   station cards are by the page stylesheet; here only what is theirs: the
   camera's view, the confidence chips, which differ by form as well as
   colour (solid, dashed, struck through) so they read in sunlight, and the
   six hour chart's band and lines. The flags' wedge on the harbour map is
   drawn by the page script and styled in its stylesheet with the
   stations'. A page stylesheet, outside site.css's budget. */
.flags { margin: 0; }
.flags-grid { margin-top: .5rem; }
.flags-view { min-width: 0; }
.flags-img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; background: var(--canvas-2); border: 1px solid var(--canvas-2); }
.flags-noimg { margin: 0; aspect-ratio: 16 / 9; display: flex; align-items: center; justify-content: center; text-align: center; padding: 1rem; font-size: .9rem; color: var(--slate); background: var(--canvas); border: 1px dashed var(--canvas-2); }
.flags-img[hidden], .flags-noimg[hidden] { display: none; }
[data-flags-img-age] { font-variant-numeric: tabular-nums; }
.flags.is-image-stale .flags-img { opacity: .55; }
.flags.is-image-stale [data-flags-img-age] { color: var(--brass-ink); }
.flags-conf strong { display: inline-block; padding: 0 .4rem; margin-right: .5rem; border-radius: 2px; border: 1px solid var(--navy-2); color: var(--navy); font-weight: 600; font-size: .85rem; }
.flags-conf .is-good { background: var(--navy-2); color: #FFF; }
.flags-conf .is-fair { border-style: dashed; }
.flags-conf .is-none, .flags-conf .is-poor { border-color: var(--canvas-2); color: var(--slate); background: var(--canvas); text-decoration: line-through; }
.flags.is-stale .flags-tile-reading { border-top-color: var(--brass); }
.flags.is-stale .flags-tile-reading [data-flags-meta] { color: var(--brass-ink); }
.obs-spark .flags-band { fill: var(--navy-2); fill-opacity: .12; stroke: none; }
.flags-line-good { stroke: var(--navy-2); stroke-width: 2; }
.flags-line-fair { stroke: var(--navy-2); stroke-width: 2; stroke-opacity: .5; }
.flags-line-poor { stroke: var(--navy-2); stroke-width: 1.5; stroke-opacity: .5; stroke-dasharray: 3 3; }
.flags-key { display: inline-block; width: 1.1rem; height: 0; border-top: 2px solid var(--navy-2); vertical-align: middle; margin: 0 .2rem 0 .1rem; }
.flags-key-fair { opacity: .5; }
.flags-key-poor { border-top-style: dashed; opacity: .5; }
