/*
 * Boca Raton Inlet Webcam - weather.v1.0.css
 * Live weather station section (cumulus/realtime.txt), drawn by js/boca.v1.0.js.
 * Uses the colours of style.v3.0.css. Erdman Video Systems, Inc. - November 2026
 *
 * Contrast: --text / --muted on #ffffff and --sky-50 pass 4.5:1 (see style.v3.0.css);
 * chart lines #1559a8 (6.9:1) and #b3261e (6.5:1) on #ffffff pass 3:1 for graphics.
 */

.wx-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
	gap: 10px;
	margin: 0 0 16px;
	padding: 0;
}
.wx-grid > div {
	background: var(--sky-50);
	border: 1px solid var(--border);
	border-radius: var(--radius);
	padding: 10px 12px;
}
.wx-grid dt {
	font-size: 0.85em;
	color: var(--muted);
}
.wx-grid dd {
	margin: 2px 0 0;
	font-size: 1.25em;
	font-weight: bold;
	color: var(--text);
}

.wx-charts {
	display: grid;
	grid-template-columns: 2fr 1fr;
	gap: 16px;
	align-items: start;
}
@media (max-width: 700px) {
	.wx-charts { grid-template-columns: 1fr; }
}
.wx-chart {
	margin: 0;
	background: #ffffff;
	border: 1px solid var(--border);
	border-radius: var(--radius);
	padding: 10px 12px;
}
.wx-chart figcaption {
	font-weight: bold;
	margin-bottom: 6px;
}
.wx-chart svg {
	display: block;
	width: 100%;
	height: auto;
}
#wx-compass { max-width: 220px; margin: 0 auto; }

.wx-grid-line { stroke: var(--border); stroke-width: 1; }
.wx-axis { font-size: 12px; fill: var(--muted); font-family: Tahoma, Verdana, sans-serif; }
.wx-line-now, .wx-line-avg { fill: none; stroke-width: 2.5; }
.wx-line-now { stroke: #1559a8; }
.wx-line-avg { stroke: #b3261e; stroke-dasharray: 6 4; }
.wx-line-now.dot { fill: #1559a8; stroke: none; }
.wx-line-avg.dot { fill: #b3261e; stroke: none; }

.wx-legend { margin: 6px 0 0; font-size: 0.9em; color: var(--muted); }
.wx-key { display: inline-block; width: 22px; height: 0; vertical-align: middle; margin-right: 6px; border-top: 3px solid #1559a8; }
.wx-key-avg { border-top: 3px dashed #b3261e; }

.wx-ring { fill: var(--sky-50); stroke: var(--navy-800); stroke-width: 2; }
.wx-ticks line { stroke: var(--navy-800); stroke-width: 2; }
.wx-cardinal { font-size: 16px; font-weight: bold; fill: var(--navy-800); font-family: Tahoma, Verdana, sans-serif; }
.wx-bearing { font-size: 18px; font-weight: bold; fill: var(--text); font-family: Tahoma, Verdana, sans-serif; }
.wx-arrow { transform-origin: 100px 100px; transition: transform 1s ease-in-out; }
.wx-arrow polygon { fill: #b3261e; }
.wx-arrow line { stroke: #b3261e; stroke-width: 4; }
.wx-arrow[hidden] { display: none; }
@media (prefers-reduced-motion: reduce) {
	.wx-arrow { transition: none; }
}

.wx-more { margin-top: 16px; }
.wx-more summary {
	cursor: pointer;
	font-weight: bold;
	color: var(--link);
	padding: 6px 0;
}
.wx-more summary:focus-visible { outline: 3px solid var(--focus-light); outline-offset: 2px; }
.wx-more iframe {
	display: block;
	width: 100%;
	height: 950px;
	border: 1px solid var(--border);
	border-radius: var(--radius);
	background: #ffffff;
}
@media (max-width: 700px) {
	.wx-more iframe { height: 70vh; }
}
