.stnql-wrap {
  --bg: #fefefc;
  --bg-soft: #f8fbf3;
  --surface: #ffffff;
  --text: #2f4a28;
  --muted: #5f7a56;
  --accent: #84b179;
  --border: rgba(132, 177, 121, 0.22);
  --shadow: 0 14px 30px rgba(80, 114, 72, 0.1);
  width: min(1100px, 92%);
  margin: 18px auto;
  font-family: "Cairo", sans-serif;
  color: var(--text);
}

.stnql-hero,
.stnql-section,
.stnql-video-card {
  background: linear-gradient(135deg, var(--bg), var(--bg-soft));
  border: 1px solid var(--border);
  border-radius: 18px;
  box-shadow: var(--shadow);
}

.stnql-hero { padding: 24px; }
.stnql-hero h2,
.stnql-video-card h2 { margin: 0 0 8px; font-size: clamp(1.35rem, 2.6vw, 2rem); }
.stnql-hero p,
.stnql-video-card p { margin: 0; color: var(--muted); }

.stnql-section { margin-top: 14px; padding: 16px; }
.stnql-list { display: grid; gap: 10px; }

.stnql-item {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 10px;
  align-items: center;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: #fff;
  padding: 10px;
}

.stnql-no {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-weight: 800;
  background: rgba(162, 203, 139, 0.5);
}

.stnql-item h4 { margin: 0; }

.stnql-btn,
.stnql-btn:link,
.stnql-btn:visited,
.stnql-btn:hover,
.stnql-btn:focus,
.stnql-btn:active {
  text-decoration: none !important;
  color: #fff;
  background: linear-gradient(135deg, var(--accent), #6f9a65);
  border-radius: 999px;
  padding: 8px 12px;
  font-size: 0.9rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  box-sizing: border-box;
}

.stnql-btn-disabled {
  opacity: 0.6;
  pointer-events: none;
  cursor: not-allowed;
}

.stnql-empty {
  border: 1px dashed var(--border);
  border-radius: 12px;
  padding: 14px;
  color: var(--muted);
  background: #fff;
}

.stnql-video-card { padding: 18px; }
.stnql-video-wrap {
  margin-top: 12px;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--border);
  background: #000;
  aspect-ratio: 16 / 9;
}

.stnql-video-wrap iframe { width: 100%; height: 100%; border: 0; }
.stnql-actions { margin-top: 12px; display: flex; gap: 8px; flex-wrap: wrap; }

@media (max-width: 760px) {
  .stnql-item {
    grid-template-columns: auto 1fr;
    grid-template-areas:
      "no title"
      "btn btn";
  }

  .stnql-no { grid-area: no; }
  .stnql-item > div { grid-area: title; }
  .stnql-btn { grid-area: btn; width: 100%; }
}