/* FFF Gages: live conditions section. Tokens follow the FlyFishFinder gage page design. */
.fffg {
	--fffg-navy: #111f3d;
	--fffg-ink: #2a3142;
	--fffg-muted: #5b5b5b;
	--fffg-line: #dee2e7;
	--fffg-soft: #edeff2;
	--fffg-orange: #eb691e;
	--fffg-teal: #1c4a51;
	--fffg-green: #2e7d5b;
	--fffg-yellow: #eab308;
	--fffg-blue: #0080bb;
	--fffg-red: #cf252d;
	--fffg-shadow: 0 1px 2px rgba(17, 31, 61, .04), 0 6px 20px rgba(17, 31, 61, .05);
	--fffg-display: var(--display, Outfit, system-ui, sans-serif);
	--fffg-text: var(--text, Inter, system-ui, sans-serif);
	padding-top: var(--sec, 48px);
	color: var(--fffg-ink);
	font-family: var(--fffg-text);
	container-type: inline-size;
}
.fffg *, .fffg *::before, .fffg *::after { box-sizing: border-box; }
.fffg [hidden] { display: none !important; }
.fffg-wrap { width: 100%; max-width: var(--dw-container, 1200px); margin-inline: auto; padding-inline: var(--dw-gutter, 24px); display: flex; flex-direction: column; gap: 20px; }

.fffg-over { font-family: var(--fffg-text); font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--fffg-orange); }
.fffg-over--light { color: #b9d3d6; }
.fffg .fffg-title { margin: 6px 0 0; font-family: var(--fffg-display); font-weight: 700; font-size: clamp(24px, 3.2cqi, 34px); line-height: 1.12; letter-spacing: -.02em; color: var(--fffg-navy); text-wrap: balance; }
.fffg-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 12px; font-size: 14px; }
.fffg .fffg-chip { padding: 5px 10px; border-radius: 6px; background: var(--fffg-soft); color: var(--fffg-navy); font-weight: 600; letter-spacing: .04em; text-decoration: none; }
.fffg-chip:hover { color: var(--fffg-orange); }
.fffg-pill { display: inline-flex; align-items: center; gap: 8px; padding: 5px 12px; border-radius: 6px; border: 1px solid var(--fffg-line); background: #fff; font-weight: 600; color: var(--fffg-navy); }
.fffg-dot { width: 8px; height: 8px; flex: none; border-radius: 50%; background: currentColor; }
.fffg-pill .fffg-dot { background: var(--fffg-green); }
.fffg-pill--below .fffg-dot { background: var(--fffg-yellow); }
.fffg-pill--above .fffg-dot { background: var(--fffg-blue); }
.fffg-pill--off { border-color: rgba(207, 37, 45, .4); background: rgba(207, 37, 45, .08); }
.fffg-pill--off .fffg-dot { background: var(--fffg-red); }
.fffg-updated { display: inline-flex; align-items: center; gap: 8px; color: var(--fffg-muted); }
.fffg-live { width: 7px; height: 7px; border-radius: 50%; background: var(--fffg-green); box-shadow: 0 0 0 3px rgba(46, 125, 91, .25); }
.fffg-note { margin: 12px 0 0; max-width: 680px; font-size: 15px; color: var(--fffg-muted); }

.fffg-tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: clamp(12px, 1.6cqi, 20px); }
.fffg-tile, .fffg-card { background: #fff; border: 1px solid var(--fffg-line); border-radius: 12px; box-shadow: var(--fffg-shadow); }
.fffg-tile { padding: clamp(14px, 2cqi, 22px); display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.fffg-label { font-size: 12px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--fffg-muted); }
.fffg-big { display: flex; align-items: baseline; gap: 6px; }
.fffg-num { font-family: var(--fffg-display); font-weight: 700; font-size: clamp(34px, 4.2cqi, 48px); line-height: 1; letter-spacing: -.02em; color: var(--fffg-navy); font-variant-numeric: tabular-nums; }
.fffg-unit { font-size: 15px; font-weight: 600; color: var(--fffg-muted); }
.fffg-unit--caps { text-transform: uppercase; letter-spacing: .06em; color: var(--fffg-navy); }
.fffg-sub { font-size: 14px; line-height: 1.4; }
.fffg-sub--below strong { color: #8a6a00; }
.fffg-sub--normal strong { color: var(--fffg-green); }
.fffg-sub--above strong { color: #00618e; }
.fffg-small { font-size: 12px; line-height: 1.35; color: var(--fffg-muted); }

.fffg-bar { display: flex; flex-direction: column; gap: 6px; margin-top: auto; }
.fffg-bar__track { position: relative; display: flex; gap: 2px; height: 8px; }
.fffg-bar__track span:first-child { border-radius: 4px 0 0 4px; }
.fffg-bar__track span:nth-last-child(2) { border-radius: 0 4px 4px 0; }
.fffg-bar__track--flow span:nth-child(1) { flex: 25; background: var(--fffg-yellow); }
.fffg-bar__track--flow span:nth-child(2) { flex: 50; background: var(--fffg-green); opacity: .8; }
.fffg-bar__track--flow span:nth-child(3) { flex: 25; background: var(--fffg-blue); opacity: .75; }
.fffg-bar__track--temp span:nth-child(1) { flex: 13; background: var(--fffg-blue); opacity: .75; }
.fffg-bar__track--temp span:nth-child(2) { flex: 15; background: var(--fffg-green); opacity: .8; }
.fffg-bar__track--temp span:nth-child(3) { flex: 5; background: var(--fffg-yellow); }
.fffg-bar__track--temp span:nth-child(4) { flex: 7; background: var(--fffg-red); opacity: .8; }
.fffg-bar__track i { position: absolute; top: -4px; width: 4px; height: 16px; margin-left: -2px; border-radius: 2px; background: var(--fffg-navy); box-shadow: 0 0 0 2px #fff; }
.fffg-bar__keys { display: flex; justify-content: space-between; font-size: 11px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--fffg-muted); }

.fffg-temp { display: flex; align-items: center; gap: 8px; font-weight: 600; }
.fffg-temp--cold { color: #00618e; }
.fffg-temp--ideal { color: var(--fffg-green); }
.fffg-temp--warm { color: #8a6a00; }
.fffg-temp--stress { color: var(--fffg-red); }

.fffg-trend { display: flex; align-items: center; gap: 8px; font-family: var(--fffg-display); font-weight: 700; font-size: clamp(26px, 3.4cqi, 38px); line-height: 1; color: var(--fffg-navy); }
.fffg-trend svg { width: 30px; height: 30px; flex: none; fill: none; stroke: var(--fffg-orange); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.fffg-trend--rising svg { transform: rotate(-45deg); }
.fffg-trend--falling svg { transform: rotate(45deg); }
.fffg-spark { width: 100%; height: 32px; margin-top: auto; overflow: visible; }
.fffg-spark path { fill: none; stroke: var(--fffg-teal); stroke-width: 2; vector-effect: non-scaling-stroke; stroke-linejoin: round; }

.fffg-tiles--loading .fffg-tile { min-height: 150px; gap: 14px; }
.fffg-tiles--loading i { display: block; height: 12px; width: 40%; border-radius: 6px; background: var(--fffg-soft); }
.fffg-tiles--loading i:nth-child(2) { height: 40px; width: 65%; }
.fffg-tiles--loading i:nth-child(3) { width: 85%; }

.fffg-card { padding: clamp(16px, 2.6cqi, 28px); }
.fffg .fffg-card h3 { margin: 0; font-family: var(--fffg-display); font-weight: 700; font-size: clamp(19px, 2cqi, 23px); letter-spacing: -.02em; color: var(--fffg-navy); }
.fffg-offline p { margin: 8px 0 12px; max-width: 640px; }
.fffg-link { font-weight: 600; color: #c9530f; }

.fffg-chart { display: flex; flex-direction: column; gap: 16px; }
.fffg-chart__head { display: flex; flex-wrap: wrap; align-items: flex-start; justify-content: space-between; gap: 12px; }
.fffg-chart__controls { display: flex; flex-wrap: wrap; gap: 10px; }
.fffg-seg { display: flex; padding: 4px; gap: 4px; border-radius: 10px; background: var(--fffg-soft); }
.fffg-seg button { font: 600 14px/1 var(--fffg-text); border: 0; border-radius: 7px; padding: 8px 12px; min-height: 36px; cursor: pointer; background: transparent; color: var(--fffg-muted); }
.fffg-seg button[aria-selected="true"], .fffg-seg button[aria-pressed="true"] { background: #fff; color: var(--fffg-navy); box-shadow: 0 1px 3px rgba(17, 31, 61, .14); }
.fffg-seg button:focus-visible { outline: 2px solid var(--fffg-orange); outline-offset: 1px; }

.fffg-plot { position: relative; display: grid; grid-template-columns: 48px 1fr; grid-template-rows: clamp(200px, 28cqi, 300px) 18px; column-gap: 10px; row-gap: 8px; touch-action: pan-y; }
.fffg-plot__y, .fffg-plot__area, .fffg-plot__x { position: relative; }
.fffg-plot__x { grid-column: 2; }
.fffg-plot__y span { position: absolute; right: 0; transform: translateY(-50%); font-size: 12px; line-height: 1; color: var(--fffg-muted); font-variant-numeric: tabular-nums; }
.fffg-plot__x span { position: absolute; transform: translateX(-50%); font-size: 12px; line-height: 1; color: var(--fffg-muted); white-space: nowrap; }
.fffg-plot__grid { position: absolute; left: 0; right: 0; border-top: 1px dashed var(--fffg-line); }
.fffg-plot svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.fffg-plot .band { fill: rgba(28, 74, 81, .12); }
.fffg-plot .median { fill: none; stroke: var(--fffg-teal); stroke-width: 1.5; stroke-dasharray: 6 5; vector-effect: non-scaling-stroke; }
.fffg-plot .area { fill: rgba(235, 105, 30, .07); }
.fffg-plot .line { fill: none; stroke: var(--fffg-orange); stroke-width: 2.5; stroke-linejoin: round; vector-effect: non-scaling-stroke; }
.fffg-plot__last, .fffg-plot__dot { position: absolute; width: 12px; height: 12px; margin: -6px 0 0 -6px; border-radius: 50%; pointer-events: none; }
.fffg-plot__last { background: var(--fffg-orange); box-shadow: 0 0 0 4px rgba(235, 105, 30, .2); }
.fffg-plot__dot { background: #fff; border: 3px solid var(--fffg-orange); }
.fffg-plot__rule { position: absolute; top: 0; bottom: 0; width: 1px; background: var(--fffg-navy); opacity: .35; pointer-events: none; }
.fffg-plot__tip { position: absolute; transform: translateX(-50%); display: flex; flex-direction: column; gap: 2px; padding: 8px 12px; border-radius: 8px; background: var(--fffg-navy); color: #fff; box-shadow: 0 8px 24px rgba(17, 31, 61, .25); white-space: nowrap; pointer-events: none; z-index: 2; }
.fffg-plot__tip b { font-family: var(--fffg-display); font-size: 17px; line-height: 1.1; }
.fffg-plot__tip span { font-size: 12px; color: #9fb0cc; }
.fffg-plot__hit { position: absolute; inset: 0; cursor: crosshair; }
.fffg-legend { display: flex; flex-wrap: wrap; gap: 8px 20px; font-size: 13px; color: var(--fffg-muted); }
.fffg-legend span { display: inline-flex; align-items: center; gap: 8px; }
.fffg-legend i { display: inline-block; width: 18px; }
.fffg-legend .k-line { height: 3px; border-radius: 2px; background: var(--fffg-orange); }
.fffg-legend .k-band { height: 10px; border-radius: 3px; background: rgba(28, 74, 81, .16); }
.fffg-legend .k-med { border-top: 2px dashed var(--fffg-teal); }

.fffg-app { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px 32px; padding: clamp(22px, 3.4cqi, 40px); border-radius: 16px; color: var(--fffg-navy); background-color: var(--fffg-orange); background-image: repeating-radial-gradient(ellipse at 100% 0%, transparent 0 30px, rgba(255, 255, 255, .1) 30px 31px); box-shadow: 0 16px 48px rgba(235, 105, 30, .3); }
.fffg-app__text { flex: 1 1 380px; min-width: 0; }
.fffg .fffg-app h3 { margin: 0; font-family: var(--fffg-display); font-weight: 800; font-size: clamp(26px, 3.6cqi, 40px); line-height: 1.05; letter-spacing: -.025em; color: var(--fffg-navy); text-wrap: balance; }
.fffg-app p { margin: 10px 0 0; max-width: 520px; font-size: clamp(16px, 1.5cqi, 18px); line-height: 1.5; }
.fffg .fffg-app__btn { flex: 0 0 auto; display: inline-flex; align-items: center; justify-content: center; min-height: 56px; padding: 0 28px; border-radius: 10px; background: var(--fffg-navy); color: #fff; font-weight: 700; font-size: 17px; text-decoration: none; box-shadow: 0 10px 28px rgba(17, 31, 61, .35); transition: transform .15s ease; }
.fffg .fffg-app__btn:hover { color: #fff; transform: translateY(-2px); }

/* Hero */
.fffh { --fffh-navy: #111f3d; container-type: inline-size; color: #fff; font-family: var(--text, Inter, system-ui, sans-serif); background-color: var(--fffh-navy); background-image: url(topo.svg); background-size: 960px 600px; background-position: 62% 40%; }
.fffh *, .fffh *::before, .fffh *::after { box-sizing: border-box; }
.fffh-wrap { width: 100%; max-width: var(--dw-container, 1200px); margin-inline: auto; padding: clamp(24px, 4cqi, 52px) var(--dw-gutter, 24px) clamp(36px, 5.5cqi, 72px); display: flex; flex-direction: column; gap: clamp(20px, 2.6cqi, 32px); }
.fffh-crumb { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; font-size: 14px; color: #9fb0cc; }
.fffh-crumb a { color: #9fb0cc; text-decoration: none; }
.fffh-crumb a:hover { color: #fff; }
.fffh-crumb span { color: #fff; }
.fffh-crumb svg { fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.fffh-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(300px, 380px); align-items: center; gap: 32px clamp(32px, 5cqi, 72px); }
.fffh-main { min-width: 0; display: flex; flex-direction: column; gap: 16px; }
.fffh-over { font-size: 13px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: #eb691e; }
.fffh .fffh-title { margin: 0; font-family: var(--display, Outfit, system-ui, sans-serif); font-weight: 700; font-size: clamp(38px, 5.6cqi, 68px); line-height: 1.02; letter-spacing: -.03em; color: #fff; text-wrap: balance; }
.fffh-lead { margin: 0; max-width: 46ch; font-size: clamp(16px, 1.5cqi, 19px); line-height: 1.5; color: rgba(255, 255, 255, .82); }
.fffh-facts { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; font-size: 14px; }
.fffh-facts li { display: inline-flex; align-items: baseline; gap: 6px; padding: 7px 12px; border-radius: 8px; background: rgba(255, 255, 255, .08); color: rgba(255, 255, 255, .78); }
.fffh-facts b { font-family: var(--display, Outfit, system-ui, sans-serif); font-size: 16px; color: #fff; }
.fffh-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; margin-top: 8px; }
.fffh-cta > span { font-size: 14px; color: #c9d4e6; }
.fffh .fffh-btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 54px; padding: 0 26px; border-radius: 10px; background: #eb691e; color: #fff; font-weight: 700; font-size: 17px; text-decoration: none; box-shadow: 0 10px 28px rgba(235, 105, 30, .35); transition: background-color .15s ease, transform .15s ease; }
.fffh .fffh-btn:hover { background: #c9530f; color: #fff; transform: translateY(-1px); }
.fffh-btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }

/* App teaser card */
.fffh .fffh-card { display: flex; flex-direction: column; gap: 14px; padding: 20px 22px; border-radius: 16px; background: #fff; color: #111f3d; text-decoration: none; box-shadow: 0 24px 60px rgba(0, 0, 0, .35); transform: rotate(1.2deg); transition: transform .2s ease, box-shadow .2s ease; font-family: var(--display, Outfit, system-ui, sans-serif); }
.fffh .fffh-card:hover { color: #111f3d; transform: rotate(0) translateY(-3px); box-shadow: 0 28px 70px rgba(0, 0, 0, .42); }
.fffh-card__top { display: flex; align-items: center; justify-content: space-between; gap: 12px; font-family: var(--text, Inter, system-ui, sans-serif); font-size: 12px; font-weight: 600; color: #6b7383; }
.fffh-card__brand { display: inline-flex; align-items: center; gap: 8px; }
.fffh-card__logo { display: block; width: 24px; height: 24px; flex: none; }
.fffh-card__live { display: inline-flex; align-items: center; gap: 6px; color: #2e7d5b; }
.fffh-card__live i { width: 7px; height: 7px; border-radius: 50%; background: #2e7d5b; box-shadow: 0 0 0 3px rgba(46, 125, 91, .2); }
.fffh-card__name { font-weight: 700; font-size: 17px; line-height: 1.25; }
.fffh-card__flow { display: flex; align-items: baseline; flex-wrap: wrap; gap: 6px 10px; }
.fffh-card__flow b { font-size: 44px; line-height: 1; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.fffh-card__flow small { font-size: 15px; font-weight: 600; color: #6b7383; text-transform: uppercase; }
.fffh-card__pill { align-self: center; margin-left: auto; padding: 5px 10px; border-radius: 999px; font-family: var(--text, Inter, system-ui, sans-serif); font-size: 12px; font-weight: 700; background: #e6f4ec; color: #2e7d5b; }
.fffh-card__pill--below { background: #fdf3d3; color: #8a6a00; }
.fffh-card__pill--above { background: #e1f1f8; color: #00618e; }
.fffh-card__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; padding-top: 12px; border-top: 1px solid #e6e9ee; }
.fffh-card__grid > span, .fffh-card__lock > span:first-child { display: flex; flex-direction: column; gap: 2px; }
.fffh-card small { font-family: var(--text, Inter, system-ui, sans-serif); font-size: 11px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: #8a93a3; }
.fffh-card__grid b { font-size: 17px; }
.fffh-card__list { display: flex; flex-direction: column; gap: 8px; padding-top: 12px; border-top: 1px solid #e6e9ee; font-family: var(--text, Inter, system-ui, sans-serif); font-size: 15px; }
.fffh-card__list span::before { content: "✓"; margin-right: 8px; color: #2e7d5b; font-weight: 700; }
.fffh-card__lock { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 14px; border-radius: 12px; background: #f5f6f8; }
.fffh-card__blur { display: block; width: 116px; height: 22px; margin-top: 3px; border-radius: 999px; background: linear-gradient(90deg, #22c55e, #86efac); filter: blur(5px); opacity: .85; }
.fffh-card__premium { display: inline-flex; align-items: center; gap: 6px; padding: 6px 10px; border-radius: 8px; background: #111f3d; color: #fff; font-family: var(--text, Inter, system-ui, sans-serif); font-size: 12px; font-weight: 700; }
.fffh-card__premium svg { fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.fffh-card__open { display: inline-flex; align-items: center; gap: 6px; align-self: flex-end; font-weight: 700; font-size: 16px; color: #eb691e; }
.fffh-card__open svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }

@container (max-width: 760px) {
	.fffh-row { grid-template-columns: 1fr; }
	.fffh .fffh-card { transform: none; max-width: 420px; }
}
@container (max-width: 560px) {
	.fffh .fffh-btn { width: 100%; }
}

.fffg-near__head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 8px; }
.fffg-near__list { list-style: none; margin: 0; padding: 0; }
.fffg-near__list li { padding: 12px 0; border-top: 1px solid var(--fffg-line); }
.fffg .fffg-near__row { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; color: var(--fffg-navy); text-decoration: none; }
.fffg .fffg-near__row:hover .fffg-near__name > span { color: var(--fffg-orange); }
.fffg-near__name { display: flex; flex-direction: column; min-width: 0; line-height: 1.3; font-weight: 600; font-size: 15px; }
.fffg-near__name small { font-weight: 400; font-size: 12px; color: var(--fffg-muted); }
.fffg-near__val { flex: none; display: flex; flex-direction: column; align-items: flex-end; gap: 3px; text-align: right; }
.fffg-near__q { font-family: var(--fffg-display); font-weight: 700; font-size: 18px; line-height: 1.1; white-space: nowrap; font-variant-numeric: tabular-nums; }
.fffg-near__q small, .fffg-near__val > small { font-family: var(--fffg-text); font-size: 12px; font-weight: 600; color: var(--fffg-muted); }
.fffg-near__st { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 600; color: var(--fffg-ink); }
.fffg-near__st .fffg-dot { width: 7px; height: 7px; background: var(--fffg-green); }
.fffg-near__st--below .fffg-dot { background: var(--fffg-yellow); }
.fffg-near__st--above .fffg-dot { background: var(--fffg-blue); }
.fffg-near__extra { font-weight: 500 !important; }
.fffg .fffg-near__usgs { display: inline-block; margin-top: 2px; font-size: 12px; color: var(--fffg-muted); text-decoration: underline; text-decoration-color: var(--fffg-line); text-underline-offset: 3px; }
.fffg .fffg-near__usgs:hover { color: var(--fffg-orange); }
.fffg-near__empty { margin: 8px 0 0; }
.fffg .fffg-near__more { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 4px; padding-top: 14px; border-top: 1px solid var(--fffg-line); font-weight: 700; color: #c9530f; text-decoration: none; }
.fffg .fffg-near__more:hover { color: var(--fffg-orange); }
.fffg-near__more svg { width: 18px; height: 18px; flex: none; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }

.fffg-foot { margin: 0; font-size: 13px; color: var(--fffg-muted); }

@container (max-width: 560px) {
	.fffg-tiles { grid-template-columns: 1fr 1fr; }
	.fffg-plot { grid-template-columns: 36px 1fr; }
}
