:root {
  color-scheme: dark;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: #f4f8fb;
  background: #07100f;
}

* { box-sizing: border-box; }

body { margin: 0; min-width: 370px; background: radial-gradient(circle at 80% -10%, #0c4b43 0, transparent 42%), #07100f; }

main { padding: 18px; }

header { display: flex; align-items: center; gap: 11px; margin-bottom: 16px; }
header img { border-radius: 13px; box-shadow: 0 0 24px #00e0a644; }
h1 { margin: 1px 0 0; font-size: 19px; letter-spacing: -0.02em; }
.eyebrow { margin: 0; color: #65e4c1; font-size: 9px; font-weight: 800; letter-spacing: .18em; }
.preview { margin-left: auto; border: 1px solid #2c5a50; border-radius: 999px; padding: 4px 7px; color: #9dbbb4; font-size: 9px; font-weight: 800; letter-spacing: .08em; }

.hero { display: flex; align-items: center; gap: 12px; border: 1px solid #1a4e43; border-radius: 18px; padding: 15px; background: linear-gradient(145deg, #0d2b25cc, #0a1514cc); box-shadow: inset 0 1px #ffffff0c; }
.orb { width: 12px; height: 12px; border-radius: 50%; background: #18e0a7; box-shadow: 0 0 0 5px #18e0a71a, 0 0 20px #18e0a7; }
.status { margin: 0; font-size: 15px; font-weight: 750; }
.substatus { margin: 4px 0 0; color: #9cb7b0; font-size: 11px; }
.switch { margin-left: auto; }
.switch input { position: absolute; opacity: 0; }
.switch span { display: block; width: 44px; height: 25px; border-radius: 999px; background: #34413f; padding: 3px; cursor: pointer; transition: .18s ease; }
.switch span::after { content: ""; display: block; width: 19px; height: 19px; border-radius: 50%; background: white; transition: .18s ease; box-shadow: 0 2px 6px #0007; }
.switch input:checked + span { background: #00a77a; }
.switch input:checked + span::after { transform: translateX(19px); }

.controls { margin-top: 12px; border: 1px solid #203833; border-radius: 16px; overflow: hidden; background: #0b1715d9; }
.row { display: flex; align-items: center; gap: 12px; padding: 13px 14px; }
.row + .row { border-top: 1px solid #1b302c; }
.row span { flex: 1; }
.row strong { display: block; font-size: 13px; }
.row small { display: block; margin-top: 3px; color: #86a19b; font-size: 10px; }
.row input { accent-color: #18d8a2; width: 17px; height: 17px; }
.always-on { flex: none !important; border: 1px solid #28584d; border-radius: 999px; color: #74e4c4; padding: 3px 7px; font-size: 9px; font-weight: 850; letter-spacing: .08em; }
.message { min-height: 16px; margin: 9px 2px 0; color: #f5b95f; font-size: 10px; }
footer { display: flex; justify-content: space-between; margin-top: 7px; color: #78948d; font-size: 10px; }
footer a { color: #78dfc4; text-decoration: none; }
