/* Govee Thermo Display — frontend card
   Scandinavian-minimal. Accent color is driven entirely by the temperature
   band; everything else stays quiet so the reading is the signature element. */

.govee-thermo {
	--gt-accent: #3a3f47;
	--gt-tint: rgba(58, 63, 71, 0.06);
	--gt-ink: #1f2329;
	--gt-muted: #6b7280;

	display: flex;
	align-items: center;
	gap: 18px;
	max-width: 360px;
	padding: 18px 22px;
	border: 1px solid rgba(0, 0, 0, 0.07);
	border-left: 4px solid var(--gt-accent);
	border-radius: 14px;
	background: #fff;
	background-image: linear-gradient(110deg, var(--gt-tint), transparent 55%);
	box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04), 0 8px 24px rgba(0, 0, 0, 0.04);
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
	color: var(--gt-ink);
	line-height: 1.2;
}

.govee-thermo .gt-icon {
	flex: 0 0 auto;
	color: var(--gt-accent);
	display: flex;
}

.govee-thermo .gt-body {
	flex: 1 1 auto;
	min-width: 0;
}

.govee-thermo .gt-title {
	font-size: 13px;
	font-weight: 600;
	letter-spacing: 0.02em;
	text-transform: uppercase;
	color: var(--gt-muted);
	margin-bottom: 2px;
}

.govee-thermo .gt-temp {
	font-size: 40px;
	font-weight: 700;
	letter-spacing: -0.02em;
	color: var(--gt-accent);
}

.govee-thermo .gt-unit {
	font-size: 18px;
	font-weight: 600;
	margin-left: 3px;
	color: var(--gt-muted);
	vertical-align: super;
}

.govee-thermo .gt-meta {
	display: flex;
	align-items: center;
	gap: 10px;
	margin-top: 6px;
	flex-wrap: wrap;
}

.govee-thermo .gt-pill {
	display: inline-block;
	padding: 2px 10px;
	border-radius: 999px;
	font-size: 12px;
	font-weight: 600;
	color: var(--gt-accent);
	background: var(--gt-tint);
}

.govee-thermo .gt-hum {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	font-size: 13px;
	font-weight: 500;
	color: var(--gt-muted);
}

.govee-thermo .gt-hum svg {
	color: #3b82f6;
}

.govee-thermo .gt-foot {
	margin-top: 8px;
	font-size: 11px;
	color: var(--gt-muted);
}

.govee-thermo .gt-foot--warn {
	color: #b32d2e;
	font-weight: 600;
}

.govee-thermo-grid {
	display: flex;
	flex-wrap: wrap;
	gap: 16px;
	align-items: stretch;
}

.govee-thermo-grid .govee-thermo {
	flex: 1 1 280px;
	max-width: 360px;
}

.govee-thermo--empty {
	display: block;
	max-width: 360px;
	padding: 14px 18px;
	border: 1px dashed rgba(0, 0, 0, 0.15);
	border-radius: 12px;
	color: #6b7280;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
	font-size: 14px;
}

/* Temperature bands — cold blues through warm reds. */
.govee-thermo.gt-cold2 { --gt-accent: #1d4ed8; --gt-tint: rgba(29, 78, 216, 0.08); }
.govee-thermo.gt-cold1 { --gt-accent: #2563eb; --gt-tint: rgba(37, 99, 235, 0.08); }
.govee-thermo.gt-cool  { --gt-accent: #0891b2; --gt-tint: rgba(8, 145, 178, 0.08); }
.govee-thermo.gt-nice  { --gt-accent: #16a34a; --gt-tint: rgba(22, 163, 74, 0.08); }
.govee-thermo.gt-warm  { --gt-accent: #ea580c; --gt-tint: rgba(234, 88, 12, 0.08); }
.govee-thermo.gt-hot   { --gt-accent: #dc2626; --gt-tint: rgba(220, 38, 38, 0.09); }

@media (max-width: 480px) {
	.govee-thermo { max-width: 100%; }
	.govee-thermo .gt-temp { font-size: 34px; }
}
