:root {
  color-scheme: dark;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: #f5f7fb;
}
* { box-sizing: border-box; }
body { margin: 0; }
.admin-body { min-height: 100vh; background: #10151d; display: grid; place-items: center; padding: 28px; }
.panel {
  width: min(100%, 620px);
  padding: clamp(24px, 5vw, 42px);
  border: 1px solid #344153;
  border-radius: 20px;
  background: #19212c;
  box-shadow: 0 24px 80px #0007;
}
.eyebrow { color: #95a8c3; font-size: 12px; font-weight: 800; letter-spacing: .18em; }
h1 { margin: 8px 0 12px; font-size: clamp(26px, 4vw, 36px); }
.muted { color: #aab8ca; line-height: 1.55; }
label { display: block; margin: 26px 0 8px; color: #d7e0ec; font-size: 14px; }
input, select {
  display: block; width: 100%; min-height: 48px; padding: 10px 12px;
  border: 1px solid #48566b; border-radius: 10px; background: #101722; color: #fff;
  font: inherit;
}
button {
  min-height: 46px; margin-top: 16px; padding: 0 20px; border: 0; border-radius: 10px;
  background: #e8b45d; color: #231a0d; font: inherit; font-weight: 800; cursor: pointer;
}
button:hover { filter: brightness(1.08); }
.feedback, .error { min-height: 24px; margin-top: 18px; font-size: 14px; color: #a9d8b8; }
.error { color: #ff9e9e; }
.obs-link { display: inline-block; margin-top: 26px; color: #e8c27d; }
.admin-body a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible {
  outline: 3px solid #8db9ee; outline-offset: 3px;
}
.obs-body {
  min-height: 100vh; padding: 18px; background: transparent; color: #fff;
  font-family: Arial, sans-serif; text-shadow: 0 2px 4px #000;
}
.obs-status { font-size: 14px; opacity: .75; }
.obs-title { margin: 10px 0; font-size: 26px; }
.player-table { display: grid; grid-template-columns: repeat(5, minmax(120px, 1fr)); gap: 10px; }
.player-card {
  position: relative; min-height: 132px; padding: 10px; overflow: hidden;
  border: 1px solid #ffffff44; border-radius: 10px; background: #0c1016d9;
}
.player-card.dead { opacity: .56; }
.player-seat { color: #d1d9e3; font-size: 13px; }
.player-name { margin: 7px 0; font-size: 18px; font-weight: 800; overflow-wrap: anywhere; }
.player-role { color: #ffd98a; font-size: 14px; }
.player-death { margin-top: 8px; color: #ffaaaa; font-size: 12px; }
.player-role-image { float: right; width: 64px; height: 92px; margin: 0 0 6px 8px; border-radius: 5px; object-fit: cover; }
.night-panel { margin-top: 14px; padding: 12px; border-radius: 8px; background: #0c1016d9; }
.night-action { margin: 5px 0; font-size: 15px; }
@media (max-width: 760px) {
  .player-table { grid-template-columns: repeat(3, minmax(100px, 1fr)); }
}
