.klr-wrap { font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial; }
.klr-section-title { margin: 0 0 14px; font-size: 20px; font-weight: 800; }

.klr-datebar {
  display: flex; gap: 12px; align-items: center; justify-content: space-between;
  background: #ffffff; border: 1px solid #e5e7eb; border-radius: 14px; padding: 14px 16px; margin-bottom: 14px;
}
.klr-datebar input[type="date"] {
  padding: 10px 12px; border: 1px solid #d1d5db; border-radius: 10px; font-weight: 700;
}
.klr-lottery-pill {
  background: #ecfdf5; border: 1px solid #a7f3d0; padding: 10px 12px;
  border-radius: 999px; font-weight: 800;
}

.klr-card {
  display: grid; grid-template-columns: 30% 70%; gap: 16px;
  background: #fff; border: 1px solid #e5e7eb; border-radius: 18px; padding: 16px;
  box-shadow: 0 6px 20px rgba(0,0,0,0.06);
}

.klr-left { display: flex; flex-direction: column; gap: 12px; }
.klr-title { margin: 0; font-size: 22px; font-weight: 900; }

.klr-meta { display: grid; gap: 6px; }
.klr-meta div { display: flex; justify-content: space-between; background: #f9fafb; padding: 10px 12px; border-radius: 12px; }
.klr-meta span { color: #6b7280; font-weight: 700; }
.klr-meta strong { color: #111827; }

.klr-prizebox {
  background: #fffbeb; border: 1px dashed #fbbf24; border-radius: 14px; padding: 14px;
}
.klr-prize-label { color: #92400e; font-weight: 900; font-size: 12px; text-transform: uppercase; letter-spacing: 0.8px; }
.klr-prize-number { font-size: 22px; font-weight: 1000; color: #111827; margin-top: 6px; }

.klr-actions { display: grid; gap: 10px; margin-top: 4px; }
.klr-btn {
  display: inline-block; text-decoration: none; text-align: center;
  background: #16a34a; color: #fff; font-weight: 900; padding: 12px 14px; border-radius: 12px;
  border: 0; cursor: pointer;
}
.klr-btn:hover { filter: brightness(0.95); }
.klr-btn-outline { background: #ffffff; color: #111827; border: 1px solid #d1d5db; }

.klr-note { color: #6b7280; font-weight: 700; }

.klr-right {
  background: #f9fafb; border: 1px dashed #d1d5db; border-radius: 14px;
  display: flex; align-items: center; justify-content: center; padding: 10px; min-height: 360px;
}
.klr-right img { width: 100%; height: auto; border-radius: 12px; display: block; }
.klr-img-empty { color: #6b7280; font-weight: 800; text-align: center; padding: 20px; }

.klr-form {
  background: #fff; border: 1px solid #e5e7eb; border-radius: 16px; padding: 16px;
  box-shadow: 0 6px 20px rgba(0,0,0,0.06);
}
.klr-form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 12px; }
.klr-form input[type="text"], .klr-form input[type="date"], .klr-form input[type="file"] {
  width: 100%; padding: 10px 12px; border: 1px solid #d1d5db; border-radius: 12px;
}
.klr-help { color: #6b7280; font-size: 12px; font-weight: 700; margin-top: 6px; }
.klr-warning {
  background: #fff7ed; border: 1px solid #fdba74; color: #9a3412;
  border-radius: 12px; padding: 12px; font-weight: 900;
  display: flex; align-items: center;
}

@media (max-width: 768px) {
  .klr-card { grid-template-columns: 1fr; }
  .klr-right { min-height: 260px; }
  .klr-form-row { grid-template-columns: 1fr; }
  .klr-datebar { flex-direction: column; align-items: stretch; }
}
