/* SpotlightX skin: "a flashlight at midnight". Deep violet night, the neon pink of the
   spotlight, a warm torch-yellow support. Layers on core.css (the family chrome); only token
   VALUES and SpotlightX's own components live here. */
:root {
  --sx-accent: #ff4fa3;
  --sx-accent2: #ffd76a;
  --sx-accent-hover: #ff6cb4;
  --sx-accent-ink: #2a0618;
  --sx-accent-soft: rgba(255, 79, 163, .16);
  --sx-bg: #0c0a16;
  --sx-bg-hi: #141024;
  --sx-bg-lo: #07060d;
  --sx-panel: #141024;
  --sx-panel2: #1b1630;
  --sx-surface: #161228;
  --sx-surface2: #1e1834;
  --sx-glow-1: rgba(255, 79, 163, .16);
  --sx-glow-2: rgba(255, 215, 106, .1);
  --sl-torch: #ffd76a;
}

/* --- landing ---------------------------------------------------------------- */
.sl-hero { display: grid; grid-template-columns: 1fr 1.1fr; gap: 28px; align-items: center; max-width: 1180px; margin: 0 auto; padding: 44px 18px 18px; }
.sl-hero h1 { font-size: clamp(34px, 5.4vw, 60px); line-height: 1.04; margin: 0 0 14px; letter-spacing: -.5px; }
.sl-hero h1 .hl { color: var(--sx-accent); }
.sl-hero p.lead { color: var(--sx-muted); font-size: clamp(16px, 2vw, 19px); line-height: 1.6; margin: 0 0 22px; max-width: 540px; }
.sl-hero .btns { display: flex; gap: 12px; flex-wrap: wrap; }
.sl-shot { position: relative; aspect-ratio: 16 / 9; width: 100%; border-radius: var(--sx-radius); overflow: hidden; border: 1px solid var(--sx-border); background: #05040b; box-shadow: var(--sx-shadow); }
.sl-shot iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
@media (max-width: 860px) { .sl-hero { grid-template-columns: 1fr; text-align: center; } .sl-hero .btns { justify-content: center; } .sl-hero p.lead { margin-inline: auto; } }
.sl-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 14px; max-width: 1180px; margin: 18px auto 40px; padding: 0 18px; }
.sl-card { background: var(--sx-panel); border: 1px solid var(--sx-border); border-radius: var(--sx-radius); padding: 18px; }
.sl-card .ico { font-size: 26px; margin-bottom: 8px; }
.sl-card h3 { margin: 0 0 6px; font-size: 16px; }
.sl-card p { margin: 0; color: var(--sx-muted); font-size: 14px; line-height: 1.55; }
.sl-card code, .sl-panel code { font-family: var(--sx-mono); color: var(--sx-accent); }

/* --- dashboard -------------------------------------------------------------- */
.sl-dash { display: grid; grid-template-columns: minmax(0, 1fr) 400px; gap: 18px; max-width: 1280px; margin: 0 auto; padding: 16px; }
@media (max-width: 1000px) { .sl-dash { grid-template-columns: 1fr; } }
.sl-stick { position: sticky; top: 12px; align-self: start; display: grid; gap: 14px; }
@media (max-width: 1000px) { .sl-stick { position: static; } }
.sl-panel { background: var(--sx-panel); border: 1px solid var(--sx-border); border-radius: var(--sx-radius); padding: 16px; }
.sl-panel h3 { margin: 0 0 10px; font-size: 16px; }
.sl-sub { color: var(--sx-muted); font-size: 13px; margin: 0 0 12px; line-height: 1.5; }
.sl-row { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.sl-copy { display: flex; gap: 8px; }
.sl-copy input { flex: 1; min-width: 0; font-family: var(--sx-mono); font-size: 12px; }
.sl-status { display: flex; gap: 10px; flex-wrap: wrap; margin: 10px 0 2px; }
.sl-chip { display: inline-flex; gap: 6px; align-items: center; padding: 5px 10px; border-radius: 99px; background: var(--sx-surface2); font-size: 13px; font-weight: 600; }
.sl-chip.live { background: var(--sx-accent-soft); color: var(--sx-accent); }
.sl-field { display: grid; gap: 6px; margin-bottom: 12px; }
.sl-field label { font-size: 13px; color: var(--sx-muted2); font-weight: 600; }
.sl-field .hint { font-size: 12px; color: var(--sx-muted); }
.sl-grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.sl-looks { display: grid; grid-template-columns: repeat(auto-fill, minmax(110px, 1fr)); gap: 10px; }
.sl-look { position: relative; border: 2px solid var(--sx-border); border-radius: var(--sx-radius-sm); background: #08060f; padding: 0; cursor: pointer; overflow: hidden; color: inherit; text-align: left; }
.sl-look canvas { display: block; width: 100%; aspect-ratio: 4 / 3; }
.sl-look span { display: block; padding: 6px 8px; font-size: 13px; font-weight: 700; }
.sl-look.on { border-color: var(--sx-accent); box-shadow: 0 0 0 3px var(--sx-accent-soft); }
.sl-look .tag { position: absolute; top: 6px; right: 6px; font-size: 11px; padding: 2px 7px; border-radius: 99px; background: rgba(0, 0, 0, .6); }
.sl-history { display: grid; gap: 6px; font-size: 13px; }
.sl-history div { display: flex; justify-content: space-between; gap: 10px; padding: 6px 0; border-bottom: 1px solid var(--sx-border); }
.sl-history div:last-child { border-bottom: 0; }
.sl-how ol { margin: 0; padding-left: 20px; line-height: 1.7; color: var(--sx-muted2); }
.sl-foot { grid-column: 1 / -1; text-align: center; color: var(--sx-muted); font-size: 12px; padding: 10px; }
[hidden] { display: none !important; }
@media (max-width: 520px) { .sl-grid2 { grid-template-columns: 1fr; } .sl-dash { padding: 10px; } }
:is(#app) .sx-btn { min-height: 40px; }
