:root {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color-scheme: dark;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  padding: 0;
  background: radial-gradient(circle at top, #141326 0, #050510 50%, #020208 100%);
  color: #f5f5f5;
}
.app {
  max-width: 480px;
  margin: 0 auto;
  padding: 16px;
}
header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
}
header h1 {
  font-size: 22px;
  margin: 0;
}
#userName {
  font-size: 13px;
  opacity: .85;
}
.tier-badge {
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 12px;
  background: linear-gradient(115deg, #f97316, #facc15);
  color: #000;
  font-weight: 600;
}
.card {
  background: radial-gradient(circle at top, rgba(88, 28, 135, 0.6), #050510 55%);
  border-radius: 22px;
  padding: 12px;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.6);
  margin-bottom: 18px;
  border: 1px solid rgba(255, 255, 255, 0.06);
}
.media-wrapper {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  background: #111321;
}
.main-photo {
  width: 100%;
  height: 320px;
  object-fit: cover;
  display: block;
}
.media-gradient {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 38%;
  background: linear-gradient(to top, rgba(0,0,0,0.95), transparent);
}
.video-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  padding: 6px 9px;
  border-radius: 999px;
  background: rgba(0,0,0,0.6);
  font-size: 11px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.video-badge span {
  font-size: 13px;
}
.media-index {
  position: absolute;
  bottom: 10px;
  right: 14px;
  font-size: 11px;
  padding: 4px 8px;
  border-radius: 999px;
  background: rgba(0,0,0,0.7);
}
.main-info {
  margin-top: 10px;
  display: flex;
  justify-content: space-between;
  align-items: baseline;
}
.name-age {
  font-size: 20px;
  font-weight: 600;
}
.city {
  font-size: 13px;
  opacity: .85;
  margin-top: 2px;
}
.headline {
  font-size: 13px;
  opacity: .9;
  margin-top: 6px;
}
.pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 8px;
}
.pill {
  font-size: 11px;
  padding: 4px 9px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
}
.thumb-strip {
  display: flex;
  gap: 6px;
  margin-top: 10px;
}
.thumb {
  width: 48px;
  height: 64px;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.12);
  opacity: .7;
}
.thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.thumb.active {
  opacity: 1;
  border-color: #f97316;
}
.actions-main {
  display: flex;
  justify-content: center;
  gap: 18px;
  margin-top: 16px;
}
.actions-main .round-btn {
  width: 62px;
  height: 62px;
  border-radius: 50%;
  border: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  cursor: pointer;
  box-shadow: 0 12px 22px rgba(0,0,0,0.6);
}
.btn-dislike {
  background: radial-gradient(circle at top, #1f2937, #020617);
  color: #e5e7eb;
}
.btn-like {
  background: radial-gradient(circle at top, #22c55e, #15803d);
  color: #022c22;
}
.btn-superlike {
  background: radial-gradient(circle at top, #38bdf8, #0ea5e9);
  color: #e0f2fe;
}
.actions-secondary {
  display: flex;
  justify-content: space-between;
  margin-top: 10px;
  font-size: 11px;
  opacity: .85;
}
.actions-secondary button {
  background: none;
  border: none;
  color: #e5e7eb;
  padding: 4px 0;
  cursor: pointer;
  font-size: 11px;
}
nav {
  display: flex;
  justify-content: space-around;
  margin-top: 8px;
  padding-top: 8px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 13px;
}
nav button {
  flex: 1;
  background: none;
  border: none;
  color: #9ca3af;
  padding: 8px 4px;
  cursor: pointer;
}
nav button.active {
  color: #fff;
  border-bottom: 2px solid #f97316;
}
.field {
  display: flex;
  flex-direction: column;
  margin-bottom: 10px;
  font-size: 14px;
}
.field label {
  margin-bottom: 4px;
  opacity: .85;
}
.field input,
.field select,
.field textarea {
  border-radius: 10px;
  border: 1px solid #333;
  background: #0f101a;
  color: #f5f5f5;
  padding: 8px 10px;
  font-size: 14px;
}
textarea {
  resize: vertical;
}
.status {
  font-size: 12px;
  margin-top: 6px;
  opacity: .85;
}
.row {
  display: flex;
  gap: 8px;
}
.row .field {
  flex: 1;
}
.section-title {
  font-size: 13px;
  font-weight: 600;
  margin: 10px 0 4px;
  opacity: .9;
}
.checkbox-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 12px;
}
.checkbox-row label {
  display: flex;
  align-items: center;
  gap: 4px;
  opacity: .9;
}
.checkbox-row input {
  width: 14px;
  height: 14px;
}
.hint {
  font-size: 11px;
  opacity: .75;
  line-height: 1.5;
  margin-top: 4px;
}
.btn-primary {
  border-radius: 999px;
  border: none;
  padding: 10px 18px;
  font-size: 14px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: linear-gradient(115deg, #f97316, #facc15);
  color: #111827;
  font-weight: 600;
}
.btn-small {
  padding: 6px 12px;
  font-size: 13px;
  border-radius: 999px;
  border: none;
  background: #f97316;
  color: #000;
  cursor: pointer;
}
.empty-card {
  text-align: center;
  padding: 30px 10px;
}
.empty-card p {
  margin-bottom: 12px;
}
