* { box-sizing: border-box; }
body {
  margin: 0;
  font-family: "Georgia", "Times New Roman", Times, serif;
  background: #ffffff;
  color: #111827;
  line-height: 1.6;
}
header {
  position: sticky;
  top: 0;
  background: #fff;
  padding: 24px 32px;
  border-bottom: 1px solid #e6e6e6;
  z-index: 10;
}
h1 {
  margin: 0 0 6px 0;
  font-size: 32px;
  letter-spacing: -0.02em;
}
.controls { display: flex; gap: 12px; align-items: center; }
#status { 
  font-size: 13px; 
  color: #6b7280; 
  display: flex; 
  align-items: center; 
  gap: 6px; 
}
.live-dot {
  width: 8px;
  height: 8px;
  background: #ef4444;
  border-radius: 50%;
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.5;
    transform: scale(1.2);
  }
  100% {
    opacity: 1;
    transform: scale(1);
  }
}
button {
  padding: 8px 12px;
  background: #111827;
  color: white;
  border: none;
  border-radius: 6px;
  cursor: pointer;
}
button:hover { opacity: 0.95; }
main { padding: 32px; max-width: 900px; margin: 0 auto; }
ul { list-style: none; padding: 0; margin: 0; display: block; }
.news-item {
  padding: 22px 18px;
  border-bottom: 1px solid #f0f0f0;
}
.news-item .title { color: #0b1220; font-weight: 700; font-size: 20px; margin-bottom: 8px; }
.news-item .body { color: #374151; white-space: pre-wrap; margin-bottom: 10px; }
.meta { font-size: 13px; color: #6b7280; }

/* Admin */
.admin { max-width: 900px; margin: 24px auto; }
.admin form { display: grid; gap: 12px; margin-bottom: 20px; }
.field { display: grid; gap: 6px; }
label { font-size: 14px; color: #374151; }
input[type="text"], input[type="datetime-local"], textarea {
  width: 100%;
  padding: 10px 12px;
  background: #fff;
  color: #111827;
  border: 1px solid #e6e6e6;
  border-radius: 6px;
  box-shadow: none;
}
textarea { min-height: 120px; }
.table { width: 100%; border-collapse: collapse; margin-top: 12px; }
.table th, .table td { border-bottom: 1px solid #f3f4f6; padding: 12px 8px; }
.table th { background: #fff; text-align: left; font-weight: 700; color: #111827; }
.row-actions { display: flex; gap: 8px; }
