/* DevOps toys — hub grid, race lanes, gas LCD (extends site.css) */
.page-toys { max-width: 960px; margin: 0 auto; padding: 0.75rem; }
.toys-bezel { margin-bottom: 1rem; }
.toys-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(11rem, 1fr));
	gap: 0.55rem;
	margin: 0.75rem 0;
}
.toy-card {
	display: flex;
	flex-direction: column;
	gap: 0.25rem;
	padding: 0.65rem;
	border: 1px solid var(--bezel-hi);
	border-radius: 6px;
	background: #060908;
	color: var(--phos);
	text-decoration: none;
	min-height: 5.5rem;
}
.toy-card:hover, .toy-card:focus-visible {
	border-color: var(--phos-dim);
	outline: 2px solid var(--phos);
	outline-offset: 2px;
}
.toy-card-title { font-weight: 700; font-size: 0.82rem; }
.toy-card-desc { font-size: 0.68rem; color: var(--muted); }
.toy-card-soon { opacity: 0.65; }
.toys-soon { font-size: 0.62rem; color: var(--phos-warn); }
.toys-cta { margin-top: 1rem; display: flex; flex-wrap: wrap; gap: 0.4rem; }

.health-dot {
	display: inline-block;
	width: 0.55rem;
	height: 0.55rem;
	border-radius: 50%;
	margin-right: 0.25rem;
	vertical-align: middle;
}
.dot-up { background: var(--phos); }
.dot-warn { background: var(--phos-warn); }
.dot-down { background: var(--phos-down); }
.spark-cell { color: var(--phos-dim); width: 5.5rem; }
.spark, .gas-spark { color: var(--phos); vertical-align: middle; }

.race-row {
	display: grid;
	grid-template-columns: 6.5rem 1fr 5.5rem;
	gap: 0.35rem;
	align-items: center;
	margin-bottom: 0.45rem;
	font-size: 0.72rem;
}
.race-track {
	height: 0.65rem;
	background: #1a221c;
	border-radius: 3px;
	overflow: hidden;
	border: 1px solid var(--bezel-hi);
}
.race-bar {
	height: 100%;
	width: calc(var(--race-pct, 0) * 1%);
	background: linear-gradient(90deg, var(--phos-dim), var(--phos));
	border-radius: 2px;
}
.race-anim { transition: width 0.8s ease; }
.race-static { transition: none; }
.race-name { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.burn-lcd {
	font-size: 1.05rem;
	margin: 0.5rem 0;
	padding: 0.45rem;
	background: #060908;
	border: 1px solid var(--bezel-hi);
	border-radius: 4px;
}
.lcd-label { display: block; font-size: 0.65rem; color: var(--muted); }
.burn-thresh { font-size: 0.78rem; margin: 0.35rem 0; }
.alert-page { color: var(--phos-down); font-weight: 700; }
.alert-ticket { color: var(--phos-warn); font-weight: 700; }
.burn-sliders label { display: block; margin: 0.65rem 0; font-size: 0.78rem; color: var(--muted); }
.burn-sliders input[type="range"] { width: 100%; }

.gas-lcd-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(7rem, 1fr));
	gap: 0.5rem;
	margin: 0.75rem 0;
}
.gas-lcd {
	padding: 0.55rem;
	border: 1px solid var(--bezel-hi);
	border-radius: 6px;
	background: #060908;
	font-size: 1.35rem;
	font-weight: 700;
}
.gas-lcd span { display: block; font-size: 0.62rem; color: var(--muted); font-weight: 400; }
.gas-pulse { font-size: 0.85rem; margin-top: 0.5rem; }
.pulse-on { color: var(--phos); animation: gas-pulse 1.2s ease-in-out infinite; }

.badge-card { margin-bottom: 0.85rem; padding: 0.65rem; }
.badge-preview { min-height: 1.5rem; }
.badge-miss { opacity: 0.35; outline: 1px dashed var(--muted); }
.badge-card textarea { font-size: 0.68rem; margin: 0.35rem 0; }

.window-toggle { display: flex; gap: 0.35rem; flex-wrap: wrap; margin: 0.5rem 0; }

@media (prefers-reduced-motion: reduce) {
	.race-anim { transition: none; }
	.pulse-on { animation: none; }
}

@keyframes gas-pulse {
	0%, 100% { opacity: 1; }
	50% { opacity: 0.55; }
}
