body {
  margin: 0;
  font-family: system-ui, sans-serif;
  color: #eee;
  background: #111 url("/background.png") no-repeat center center fixed;
  background-size: cover;
}

.wrap {
  max-width: 900px;
  margin: 24px auto;
  padding: 0 16px;
}

h1 {
  margin: 0 0 16px;
}

.card {
  background: #4B2E25;
  border: 1px solid #1d1c1c;
  border-radius: 12px;
  padding: 16px;
  margin: 16px 0;
}

button {
  padding: 10px 14px;
  border-radius: 8px;
  border: 1px solid #1d1c1c;
  background: #1E2900;
  color: #d3d3d3;
  cursor: pointer;
  transition: background 0.15s ease;
}

button:hover {
  background: #293D00;
}

table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 10px;
}

th,
td {
  text-align: left;
  padding: 10px;
  border-bottom: 1px solid #2a2a2a;
}

.row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.controls {
  display: flex;
  align-items: center;
  gap: 12px;
}

.switch {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  user-select: none;
  margin: 0;
}

.switch-text {
  font-size: 14px;
  opacity: 0.95;
}

.switch input {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

.slider {
  position: relative;
  width: 52px;
  height: 28px;
  background: #444;
  border: 1px solid #555;
  border-radius: 999px;
  transition: background 0.15s ease, border-color 0.15s ease;
}

.slider::before {
  content: "";
  position: absolute;
  width: 22px;
  height: 22px;
  left: 3px;
  top: 50%;
  transform: translateY(-50%);
  background: #eee;
  border-radius: 50%;
  transition: transform 0.15s ease;
}

.switch input:checked + .slider {
  background: #6b9aa0;
  border-color: #6b9aa0;
}

.switch input:checked + .slider::before {
  transform: translate(24px, -50%);
}

.switch input:focus-visible + .slider {
  outline: 2px solid #9fd3da;
  outline-offset: 2px;
}

.home-btn {
  position: fixed;
  top: 16px;
  left: 16px;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  text-decoration: none;
  background: rgba(27, 27, 27, 0.9);
  border: 1px solid #2a2a2a;
  border-radius: 10px;
  backdrop-filter: blur(6px);
  transition: background 0.15s ease, transform 0.15s ease;
  z-index: 1000;
}

.home-btn:hover {
  background: rgba(60, 60, 60, 0.95);
  transform: translateY(-1px);
}

.home-icon {
  width: 22px;
  height: 22px;
  fill: #eee;
}