* { box-sizing: border-box; }

:root {
  --bg: #0f1115;
  --card: #1a1d24;
  --accent: #ffcc00;
  --text: #f5f5f5;
  --muted: #9aa0aa;
  --danger: #ff5555;
}

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background: var(--bg);
  color: var(--text);
  min-height: 100vh;
}

header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  border-bottom: 1px solid #262a33;
}

header h1 {
  font-size: 18px;
  margin: 0;
}

.badge {
  background: var(--danger);
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  padding: 6px 10px;
  border-radius: 999px;
}

main {
  padding: 24px 20px 60px;
  max-width: 480px;
  margin: 0 auto;
}

.counter {
  text-align: center;
  font-size: 22px;
  font-weight: 700;
  color: var(--accent);
  margin: 40px 0 32px;
}

.big-btn {
  display: block;
  width: 100%;
  padding: 26px;
  font-size: 22px;
  font-weight: 700;
  border: none;
  border-radius: 16px;
  background: var(--accent);
  color: #1a1a1a;
  cursor: pointer;
  min-height: 72px;
}

.big-btn:active {
  transform: scale(0.98);
}

.secondary-btn {
  display: block;
  width: 100%;
  padding: 20px;
  font-size: 18px;
  font-weight: 600;
  border: 2px solid #3a3f4a;
  border-radius: 16px;
  background: transparent;
  color: var(--text);
  cursor: pointer;
  min-height: 64px;
}

.preview {
  width: 100%;
  border-radius: 12px;
  margin-bottom: 16px;
  max-height: 220px;
  object-fit: cover;
}

.status {
  text-align: center;
  color: var(--muted);
  font-size: 15px;
  min-height: 20px;
}

form {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

label {
  display: flex;
  flex-direction: column;
  font-size: 14px;
  font-weight: 600;
  color: var(--muted);
  gap: 6px;
}

input {
  font-size: 20px;
  padding: 16px 14px;
  border-radius: 12px;
  border: 2px solid #2e3340;
  background: var(--card);
  color: var(--text);
  min-height: 56px;
}

input:focus {
  outline: none;
  border-color: var(--accent);
}

.btn-row {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 12px;
  margin-top: 8px;
}
