:root {
  --ads-ink: #0f172a;
  --ads-muted: #64748b;
  --ads-line: #e2e8f0;
  --ads-bg: #f8fafc;
  --ads-card: #fff;
  --ads-accent: #0f766e;
  --ads-accent-2: #14b8a6;
  --ads-warn: #b45309;
}

* { box-sizing: border-box; }
body.zuto-ads {
  margin: 0;
  font-family: Inter, "Segoe UI", sans-serif;
  background: var(--ads-bg);
  color: var(--ads-ink);
}

.ads-shell { max-width: 1080px; margin: 0 auto; padding: 16px; }
.ads-top {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px;
  align-items: center; margin-bottom: 16px;
}
.ads-brand { display: flex; gap: 10px; align-items: center; }
.ads-brand strong { font-size: 1.2rem; }
.ads-brand span { display: block; color: var(--ads-muted); font-size: 0.82rem; }
.ads-nav { display: flex; flex-wrap: wrap; gap: 8px; }
.ads-nav a, .ads-btn {
  border: 1px solid var(--ads-line); background: #fff; color: var(--ads-ink);
  border-radius: 999px; padding: 8px 14px; text-decoration: none; font-weight: 650;
  font-size: 0.88rem; cursor: pointer;
}
.ads-btn-primary, .ads-nav a.is-active {
  background: linear-gradient(135deg, var(--ads-accent), var(--ads-accent-2));
  color: #fff; border-color: transparent;
}
.ads-card {
  background: var(--ads-card); border: 1px solid var(--ads-line);
  border-radius: 16px; padding: 18px; margin-bottom: 16px;
}
.ads-card h1, .ads-card h2 { margin: 0 0 8px; }
.ads-help { color: var(--ads-muted); line-height: 1.55; margin: 0 0 16px; }
.ads-steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(92px, 1fr)); gap: 8px; margin-bottom: 16px; }
.ads-step {
  border: 1px solid var(--ads-line); border-radius: 12px; padding: 8px;
  font-size: 0.75rem; text-align: center; color: var(--ads-muted);
}
.ads-step.is-on { border-color: var(--ads-accent); color: var(--ads-accent); font-weight: 700; }
.ads-field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 12px; }
.ads-field label { font-weight: 650; font-size: 0.88rem; }
.ads-field input, .ads-field select, .ads-field textarea {
  border: 1px solid var(--ads-line); border-radius: 10px; padding: 10px 12px; font: inherit;
}
.ads-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 12px; }
.ads-chip {
  border: 1px solid var(--ads-line); border-radius: 12px; padding: 12px; cursor: pointer; background: #fff;
}
.ads-chip.is-on { border-color: var(--ads-accent); box-shadow: 0 0 0 2px color-mix(in srgb, var(--ads-accent) 18%, transparent); }
.ads-sponsored {
  display: inline-flex; align-items: center; gap: 6px; font-size: 0.72rem; font-weight: 800;
  letter-spacing: 0.04em; text-transform: uppercase; color: var(--ads-warn);
}
.ads-preview-frame {
  border: 1px dashed var(--ads-line); border-radius: 16px; padding: 14px; background: #0b1220; color: #e2e8f0;
}
.ads-ad-card {
  background: #111827; color: #e2e8f0; border: 1px solid rgba(255,255,255,0.08); border-radius: 14px; padding: 14px;
}
.ads-ad-card h3 { margin: 6px 0; }
.ads-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.ads-loc-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 10px; }
.ads-loc-status, .ads-status { color: var(--ads-muted); font-size: 0.85rem; }
.ads-table { width: 100%; border-collapse: collapse; font-size: 0.9rem; }
.ads-table th, .ads-table td { border-bottom: 1px solid var(--ads-line); padding: 8px; text-align: left; }
.ads-video-stage {
  position: relative; background: #020617; border-radius: 16px; overflow: hidden;
  min-height: 360px; aspect-ratio: 16 / 9;
}
.ads-video-stage video { width: 100%; height: 100%; object-fit: cover; display: block; }
.ads-preview-player {
  position: relative; min-height: 280px; border-radius: 14px; overflow: hidden;
  background: #042f2e;
}
.ads-preview-player video {
  width: 100%; height: 100%; object-fit: cover; display: block; min-height: 280px;
}
.ads-preview-picture {
  position: absolute; inset: auto 0 10px; text-align: center;
  color: rgba(255,255,255,.78); font-weight: 700; letter-spacing: 0.04em; pointer-events: none;
}
.ads-preview-player .zuto-ad-overlay { position: absolute; }
.ads-hidden { display: none !important; }
@media (max-width: 640px) {
  .ads-shell { padding: 12px; }
}
