:root {
  color-scheme: dark;
  font-family: system-ui, sans-serif;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  display: grid;
  place-items: center;
  background: #111827;
  color: #f9fafb;
}

main {
  width: min(560px, calc(100% - 40px));
  padding: 32px;
  border: 1px solid #374151;
  border-radius: 18px;
  background: #1f2937;
  box-shadow: 0 20px 60px #0008;
}

h1 {
  margin: 0 0 10px;
  font-size: 28px;
}

p {
  color: #cbd5e1;
  line-height: 1.5;
}

label {
  display: flex;
  gap: 10px;
  align-items: center;
  margin: 20px 0;
  color: #e5e7eb;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

button {
  border: 0;
  border-radius: 10px;
  padding: 12px 18px;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

#start {
  background: #22c55e;
  color: #052e16;
}

#stop {
  background: #ef4444;
  color: white;
}

button:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

#status {
  min-height: 24px;
  margin-top: 20px;
  color: #93c5fd;
}

small {
  display: block;
  margin-top: 22px;
  color: #94a3b8;
}

.support-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 22px;
  color: #bfdbfe;
  font-size: 0.875rem;
  font-weight: 700;
  text-underline-offset: 0.25em;
}

.support-link:hover { color: #ffffff; }
.support-link:focus-visible { outline: 2px solid #93c5fd; outline-offset: 4px; border-radius: 4px; }
.support-link img { width: 24px; height: auto; }
