* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  background: #FBEAF0;
  min-height: 100vh;
}

.phone-bg {
  max-width: 480px;
  margin: 0 auto;
  padding: 24px 20px 40px;
  min-height: 100vh;
}

.header {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-bottom: 18px;
}

.crown {
  font-size: 22px;
  color: #993556;
}

.header-title {
  font-size: 18px;
  font-weight: 600;
  color: #72243E;
}

.dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-bottom: 20px;
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #F0C4D6;
}

.dot.done {
  background: #D4537E;
}

.badge {
  align-self: center;
  display: block;
  text-align: center;
  font-size: 14px;
  font-weight: 600;
  padding: 10px 16px;
  border-radius: 20px;
  margin-bottom: 20px;
  background: #F4C0D1;
  color: #72243E;
  transition: background 0.3s, color 0.3s;
}

.badge.outer {
  background: #FAC775;
  color: #633806;
}

.badge.inner {
  background: #C0DD97;
  color: #27500A;
}

.card {
  background: #FFFFFF;
  border-radius: 16px;
  padding: 18px 16px;
  font-size: 15px;
  line-height: 1.7;
  color: #4A148C;
  text-align: center;
  margin-bottom: 16px;
  white-space: pre-line;
}

.card-title {
  font-weight: 700;
  color: #C2185B;
  font-size: 16px;
  margin-bottom: 10px;
  display: block;
}

.card.old {
  opacity: 0.65;
}

.actions {
  position: sticky;
  bottom: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding-top: 12px;
  background: linear-gradient(to top, #FBEAF0 60%, transparent);
}

.btn-primary {
  height: 48px;
  border-radius: 24px;
  border: none;
  font-size: 15px;
  font-weight: 700;
  background: #D4537E;
  color: #FFFFFF;
  opacity: 0.4;
}

.btn-primary.active {
  opacity: 1;
}

.btn-secondary {
  height: 40px;
  border-radius: 20px;
  border: 1.5px solid #ED93B1;
  background: transparent;
  font-size: 13px;
  color: #993556;
  opacity: 0.3;
}

.btn-secondary.active {
  opacity: 1;
}

.finished-banner {
  margin-top: 20px;
  background: #FFFFFF;
  border-radius: 16px;
  padding: 20px;
  text-align: center;
  color: #72243E;
  font-weight: 600;
  line-height: 1.8;
}

.admin-hint {
  text-align: center;
  margin-top: 30px;
  color: #F0C4D6;
  font-size: 10px;
  user-select: none;
}

.photo-challenge {
  background: #FFFFFF;
  border-radius: 16px;
  padding: 18px 16px;
  text-align: center;
  margin-bottom: 16px;
}

.challenge-label {
  font-size: 12px;
  font-weight: 700;
  color: #993556;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin: 0 0 8px;
}

.challenge-text {
  font-size: 15px;
  color: #4A148C;
  line-height: 1.6;
  margin: 0 0 16px;
}

.upload-status {
  margin-top: 12px;
  font-size: 13px;
  font-weight: 600;
  min-height: 18px;
}

.upload-status.ok {
  color: #27500A;
}

.upload-status.warn {
  color: #854F0B;
}

.upload-status.err {
  color: #A32D2D;
}
