/* ═══════════════════════════════════════════════════════════════════════
   CREATOR SPACE — desktop page (Intel Desk dock, section 5)
   Standalone stylesheet for #swCsPage (markup + logic: window.swCs in
   app.html). Every class is sw-cs-* and every rule is scoped under
   #swCsPage, so nothing here depends on — or can leak into — the mobile
   .m-cs-* / .m-fed-* styles. Only the app's global design tokens (colours,
   fonts, borders from :root) are shared, each with a fallback.
   ═══════════════════════════════════════════════════════════════════════ */

#swCreatorRoot { width: 100%; }

#swCsPage {
  --cs-violet: var(--aeon-violet, #8b5cf6);
  --cs-violet-hi: #a78bfa;
  --cs-red: var(--red, #f43f5e);
  --cs-amber: var(--amber, #f59e0b);
  --cs-text: var(--text, #e8ebef);
  --cs-text2: var(--text2, #94a3b8);
  --cs-text3: var(--text3, #64748b);
  --cs-line: var(--border2, #1b2230);
  --cs-line-soft: var(--border, #131a26);
  --cs-mono: var(--mono, 'JetBrains Mono', monospace);
  --cs-hdr: var(--hdr, 'Inter', sans-serif);
  --cs-panel: rgba(255,255,255,.028);
  --cs-panel-hi: rgba(255,255,255,.055);
  --cs-cta: linear-gradient(135deg, #7142f5, #5530d8);

  box-sizing: border-box;
  width: 100%;
  max-width: none;
  margin: 0;                 /* left-aligned in the Intel Desk content area */
  padding: 28px 24px 56px;
  color: var(--cs-text);
  font-family: var(--cs-hdr);
}
#swCsPage *, #swCsPage *::before, #swCsPage *::after { box-sizing: border-box; }
#swCsPage button { font: inherit; }

/* ── Top bar: title (left) + search (right) ───────────────────────── */
#swCsPage .sw-cs-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 24px; margin-bottom: 18px; }
#swCsPage .sw-cs-head { display: flex; align-items: stretch; gap: 14px; min-width: 0; }
#swCsPage .sw-cs-head-bar { width: 3px; border-radius: 3px; background: linear-gradient(180deg, #6d8dff, var(--cs-violet)); box-shadow: 0 0 12px rgba(109,141,255,.55); }
#swCsPage .sw-cs-header-title { display: flex; align-items: center; gap: 10px; font-size: 18px; font-weight: 800; letter-spacing: .02em; color: var(--cs-text); line-height: 1.1; }
#swCsPage .sw-cs-beta {
  font-family: var(--cs-mono); font-size: 10px; font-weight: 700; letter-spacing: .08em;
  color: var(--cs-violet-hi); background: rgba(139,92,246,.14); border: 1px solid rgba(139,92,246,.45); border-radius: 4px; padding: 3px 7px;
}
#swCsPage .sw-cs-sub { margin-top: 6px; font-size: 14px; color: var(--cs-text2); }

#swCsPage .sw-cs-search {
  flex: 0 1 345px; min-width: 220px; height: 42px; display: flex; align-items: center; gap: 10px; padding: 0 12px 0 14px; cursor: text;
  background: var(--cs-panel); border: 1px solid var(--cs-line); border-radius: 10px; color: var(--cs-text3); transition: border-color .12s, background .12s;
}
#swCsPage .sw-cs-search:focus-within { border-color: rgba(139,92,246,.6); background: var(--cs-panel-hi); color: var(--cs-text2); }
#swCsPage .sw-cs-search input { flex: 1; min-width: 0; background: none; border: 0; outline: 0; color: var(--cs-text); font-size: 13.5px; font-family: inherit; }
#swCsPage .sw-cs-search input::placeholder { color: var(--cs-text3); }
#swCsPage .sw-cs-search kbd {
  flex-shrink: 0; padding: 3px 7px; border-radius: 5px; background: rgba(255,255,255,.06); border: 1px solid var(--cs-line);
  font-family: var(--cs-mono); font-size: 10.5px; color: var(--cs-text3);
}

/* ── Toolbar: view tabs + category pills ──────────────────────────── */
#swCsPage .sw-cs-toolbar { display: flex; align-items: center; gap: 22px; margin-bottom: 18px; flex-wrap: wrap; }
#swCsPage .sw-cs-view-tabs {
  flex: 0 1 730px; min-width: 360px; display: grid; grid-auto-flow: column; grid-auto-columns: 1fr;
  background: var(--cs-panel); border: 1px solid var(--cs-line); border-radius: 10px; overflow: hidden;
}
#swCsPage .sw-cs-view-tab {
  position: relative; height: 46px; display: flex; align-items: center; justify-content: center; gap: 10px;
  background: none; border: 0; border-right: 1px solid var(--cs-line-soft); cursor: pointer; white-space: nowrap;
  color: var(--cs-text2); font-family: var(--cs-mono); font-size: 12px; font-weight: 600; letter-spacing: .1em; transition: background .12s, color .12s;
}
#swCsPage .sw-cs-view-tab:last-child { border-right: 0; }
#swCsPage .sw-cs-view-tab:hover { color: var(--cs-text); background: rgba(255,255,255,.025); }
#swCsPage .sw-cs-view-tab.active { color: var(--cs-violet-hi); background: linear-gradient(180deg, rgba(139,92,246,.14), rgba(139,92,246,.05)); }
#swCsPage .sw-cs-view-tab.active::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--cs-violet); box-shadow: 0 0 10px rgba(139,92,246,.8); }
#swCsPage .sw-cs-view-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--cs-red); animation: swCsPulse 1.3s ease-in-out infinite; }
#swCsPage .sw-cs-view-count { font-size: 12px; color: var(--cs-text2); }
#swCsPage .sw-cs-view-count:empty { display: none; }

#swCsPage .sw-cs-tabs { flex: 1; min-width: 0; display: flex; flex-wrap: wrap; gap: 10px; }
#swCsPage .sw-cs-tab {
  height: 38px; padding: 0 18px; border-radius: 8px; cursor: pointer; white-space: nowrap;
  background: var(--cs-panel); border: 1px solid var(--cs-line); color: var(--cs-text2);
  font-family: var(--cs-mono); font-size: 11.5px; font-weight: 600; letter-spacing: .08em; transition: background .12s, border-color .12s, color .12s;
}
#swCsPage .sw-cs-tab:hover { background: var(--cs-panel-hi); color: var(--cs-text); }
#swCsPage .sw-cs-tab.active { background: rgba(139,92,246,.16); border-color: rgba(139,92,246,.65); color: var(--cs-violet-hi); }

/* ── Shared bits ──────────────────────────────────────────────────── */
#swCsPage button, #swCsPage [role="button"] { cursor: pointer; }
#swCsPage .sw-cs-hero:focus-visible, #swCsPage .sw-cs-grid-card:focus-visible, #swCsPage .sw-cs-card:focus-visible,
#swCsPage .sw-cs-up-row:focus-visible, #swCsPage button:focus-visible { outline: 2px solid var(--cs-violet); outline-offset: 2px; }

#swCsPage .sw-cs-avatar {
  position: relative; overflow: hidden; flex-shrink: 0; width: 42px; height: 42px; border-radius: 50%; border: 1px solid;
  display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 16px;
}
#swCsPage .sw-cs-avatar--sm { width: 38px; height: 38px; font-size: 15px; }
#swCsPage .sw-cs-avatar--md { width: 54px; height: 54px; font-size: 20px; }
#swCsPage .sw-cs-avatar--lg { width: 62px; height: 62px; font-size: 24px; }
#swCsPage .sw-cs-avatar img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
#swCsPage .sw-cs-name-row { display: flex; align-items: center; gap: 6px; }
#swCsPage .sw-cs-name { font-size: 15px; font-weight: 700; color: var(--cs-text); }
#swCsPage .sw-cs-verified { color: var(--cs-violet-hi); flex-shrink: 0; }
#swCsPage .sw-cs-live-row { display: flex; align-items: center; gap: 10px; }

#swCsPage .sw-cs-status-badge {
  display: inline-flex; align-items: center; gap: 6px; height: 26px; border-radius: 5px; padding: 0 9px;
  font-family: var(--cs-mono); font-size: 11px; font-weight: 700; letter-spacing: .06em; white-space: nowrap;
}
#swCsPage .sw-cs-status-badge--live { color: #ff5d73; background: rgba(244,63,94,.10); border: 1px solid rgba(244,63,94,.5); }
#swCsPage .sw-cs-status-badge--vod { color: var(--cs-text2); background: rgba(255,255,255,.06); border: 1px solid var(--cs-line); }
#swCsPage .sw-cs-status-badge--offline, #swCsPage .sw-cs-status-badge--loading { color: var(--cs-text3); background: var(--cs-panel); border: 1px solid var(--cs-line-soft); }
#swCsPage .sw-cs-live-dot { width: 6px; height: 6px; border-radius: 50%; background: #ff5d73; animation: swCsPulse 1.3s ease-in-out infinite; }
#swCsPage .sw-cs-viewers { font-family: var(--cs-mono); font-size: 11.5px; color: var(--cs-text3); }

#swCsPage .sw-cs-tags { display: flex; flex-wrap: wrap; gap: 8px; }
#swCsPage .sw-cs-tag {
  padding: 4px 11px; border-radius: 5px; white-space: nowrap; background: rgba(255,255,255,.05); border: 1px solid var(--cs-line);
  font-family: var(--cs-mono); font-size: 11px; font-weight: 600; letter-spacing: .04em; color: var(--cs-text2);
}
#swCsPage .sw-cs-chip {
  padding: 3px 8px; border-radius: 4px; white-space: nowrap; background: rgba(255,255,255,.05); border: 1px solid var(--cs-line);
  font-family: var(--cs-mono); font-size: 10px; font-weight: 600; letter-spacing: .06em; color: var(--cs-text2);
}

#swCsPage .sw-cs-thumb { position: relative; flex-shrink: 0; width: 176px; min-height: 100px; align-self: stretch; border-radius: 8px; overflow: hidden; }
#swCsPage .sw-cs-thumb-poster { position: absolute; inset: 0; border: 1px solid; border-radius: 8px; display: flex; align-items: center; justify-content: center; }
#swCsPage .sw-cs-thumb img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

#swCsPage .sw-cs-follow-btn {
  flex-shrink: 0; width: 32px; height: 32px; display: flex; align-items: center; justify-content: center;
  background: transparent; border: 0; border-radius: 8px; color: var(--cs-text2); transition: color .12s, background .12s;
}
#swCsPage .sw-cs-follow-btn:hover { color: var(--cs-text); background: rgba(255,255,255,.07); }
#swCsPage .sw-cs-follow-btn.on { color: var(--cs-violet-hi); }
#swCsPage .sw-cs-icon-btn {
  width: 50px; height: 50px; flex-shrink: 0; display: flex; align-items: center; justify-content: center;
  background: var(--cs-panel); border: 1px solid var(--cs-line); border-radius: 9px; color: var(--cs-text2); transition: background .12s, color .12s, border-color .12s;
}
#swCsPage .sw-cs-icon-btn:hover { background: var(--cs-panel-hi); color: var(--cs-text); border-color: rgba(139,92,246,.45); }
#swCsPage .sw-cs-icon-btn.on { color: var(--cs-violet-hi); border-color: rgba(139,92,246,.55); background: rgba(139,92,246,.12); }
#swCsPage .sw-cs-icon-btn.done { color: #34d399; }

/* ── Hero (top pick) — compact: details | video | live market reaction ─ */
#swCsPage .sw-cs-hero {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 40%); gap: 22px; align-items: stretch; margin-bottom: 20px; padding: 16px 20px 16px 24px;
  background: radial-gradient(ellipse at 0% 0%, rgba(139,92,246,.10), transparent 55%), var(--cs-panel);
  border: 1px solid rgb(139 92 246 / 20%); border-radius: 14px; box-shadow: 0 0 0 1px rgba(139,92,246,.05), 0 14px 34px rgba(0,0,0,.35); transition: box-shadow .16s, border-color .16s;
}
#swCsPage .sw-cs-hero--mr { grid-template-columns: minmax(0, 1fr) minmax(0, 35%) minmax(0, 17%); }
#swCsPage .sw-cs-hero:hover { border-color: rgba(139,92,246,.75); box-shadow: 0 0 0 1px rgba(139,92,246,.18), 0 16px 40px rgba(0,0,0,.5); }
#swCsPage .sw-cs-hero-body { min-width: 0; display: flex; flex-direction: column; align-items: flex-start; justify-content: center; }
#swCsPage .sw-cs-hero-id { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 12px; margin: 10px 0 12px; }
#swCsPage .sw-cs-hero-id .sw-cs-avatar { width: 46px; height: 46px; font-size: 18px; }
#swCsPage .sw-cs-hero .sw-cs-status-badge { height: 24px; }
#swCsPage .sw-cs-hero-id .sw-cs-name { font-size: 17px; }
#swCsPage .sw-cs-hero-id .sw-cs-tag { padding: 3px 9px; font-size: 10.5px; }
#swCsPage .sw-cs-card-info { min-width: 0; }
#swCsPage .sw-cs-hero-title { font-size: 26px; font-weight: 800; line-height: 1.1; color: var(--cs-text); text-transform: uppercase; letter-spacing: -.005em;
  /* Capped at two lines so a long headline can never stretch the card. */
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
#swCsPage .sw-cs-hero-desc { margin: 4px 0 10px; font-size: 15px; line-height: 1.3; color: var(--cs-text2); }
#swCsPage .sw-cs-hero-actions { display: flex; align-items: center; gap: 10px; margin-top: 12px; }
#swCsPage .sw-cs-hero-cta {
  height: 42px; min-width: 220px; display: flex; align-items: center; justify-content: center; gap: 10px; padding: 0 26px;
  background: var(--cs-cta); border: 1px solid rgba(167,139,250,.7); border-radius: 9px; color: #fff;
  font-family: var(--cs-mono); font-size: 12.5px; font-weight: 700; letter-spacing: .1em; box-shadow: 0 0 22px rgba(113,66,245,.28); transition: filter .12s, box-shadow .16s;
}
#swCsPage .sw-cs-hero-cta:hover { filter: brightness(1.12); box-shadow: 0 0 30px rgba(113,66,245,.5); }
#swCsPage .sw-cs-hero-actions .sw-cs-icon-btn { width: 42px; height: 42px; }

/* AEON Context strip — ties the video to the market intelligence side of the platform */
#swCsPage .sw-cs-ctx {
  align-self: stretch; display: flex; align-items: center; gap: 12px; min-height: 36px; padding: 4px 8px 4px 12px; cursor: default;
  background: rgba(8,10,22,.55); border: 1px solid var(--cs-line); border-radius: 8px;
}
#swCsPage .sw-cs-ctx-label { display: inline-flex; align-items: center; gap: 7px; flex-shrink: 0; padding-right: 12px; border-right: 1px solid var(--cs-line); color: var(--cs-text2); font-family: var(--cs-mono); font-size: 10.5px; font-weight: 600; letter-spacing: .1em; }
#swCsPage .sw-cs-ctx-label svg { color: var(--cs-violet-hi); }
#swCsPage .sw-cs-ctx-chips { flex: 1; min-width: 0; display: flex; flex-wrap: wrap; gap: 6px; }
#swCsPage .sw-cs-ctx-chip { padding: 4px 10px; border-radius: 5px; white-space: nowrap; background: rgba(255,255,255,.05); border: 1px solid var(--cs-line-soft); color: var(--cs-text2); font-family: var(--cs-mono); font-size: 10.5px; font-weight: 600; letter-spacing: .06em; }
#swCsPage .sw-cs-ctx-chip--asset { color: var(--cs-violet-hi); border-color: rgba(139,92,246,.4); background: rgba(139,92,246,.12); }
#swCsPage .sw-cs-ctx-link { flex-shrink: 0; display: inline-flex; align-items: center; gap: 6px; padding: 6px 8px; background: none; border: 0; border-radius: 6px; color: var(--cs-text2); font-family: var(--cs-mono); font-size: 10.5px; font-weight: 600; letter-spacing: .08em; white-space: nowrap; transition: color .12s, background .12s; }
#swCsPage .sw-cs-ctx-link:hover { color: var(--cs-violet-hi); background: rgba(139,92,246,.1); }

/* Video: dark gradient + a small, understated play control */
#swCsPage .sw-cs-hero-media { position: relative; width: 100%; align-self: center; aspect-ratio: 16 / 9; border-radius: 10px; overflow: hidden; background: #000; }
#swCsPage .sw-cs-hero-media .sw-cs-thumb { position: absolute; inset: 0; width: 100%; height: 100%; border-radius: 0; }
#swCsPage .sw-cs-media-fade { position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(to top, rgba(4,6,14,.82) 0%, rgba(4,6,14,.18) 38%, rgba(4,6,14,0) 62%), linear-gradient(to right, rgba(4,6,14,.38), rgba(4,6,14,0) 32%); }
#swCsPage .sw-cs-media-tag { position: absolute; top: 10px; right: 10px; z-index: 2; padding: 4px 10px; border-radius: 4px; font-family: var(--cs-mono); font-size: 10.5px; font-weight: 700; letter-spacing: .08em; color: #fff; }
#swCsPage .sw-cs-media-tag--live { background: #e11d48; box-shadow: 0 0 14px rgba(225,29,72,.5); }
#swCsPage .sw-cs-media-play {
  position: absolute; left: 14px; bottom: 14px; z-index: 2; width: 36px; height: 36px; display: flex; align-items: center; justify-content: center;
  border-radius: 50%; color: #fff; background: rgba(8,10,20,.5); border: 1px solid rgba(255,255,255,.3); backdrop-filter: blur(4px); opacity: .9; transition: background .16s, border-color .16s, opacity .16s;
}
#swCsPage .sw-cs-media-play svg { width: 12px; height: 12px; margin-left: 2px; }
#swCsPage .sw-cs-hero:hover .sw-cs-media-play { opacity: 1; background: rgba(113,66,245,.65); border-color: rgba(196,181,253,.7); }

/* Live market reaction — visually separate from the creator's content */
#swCsPage .sw-cs-mr { min-width: 0; display: flex; flex-direction: column; gap: 8px; padding: 0 0 0 20px; border-left: 1px solid var(--cs-line); cursor: default; }
#swCsPage .sw-cs-mr-head { display: flex; align-items: center; gap: 7px; }
#swCsPage .sw-cs-mr-title { font-family: var(--cs-mono); font-size: 10px; font-weight: 600; letter-spacing: .1em; color: var(--cs-text2); white-space: nowrap; }
#swCsPage .sw-cs-mr-info { width: 14px; height: 14px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid var(--cs-text3); border-radius: 50%; color: var(--cs-text3); font-size: 9px; font-style: italic; font-family: serif; cursor: help; }
#swCsPage .sw-cs-mr-open { margin-left: auto; width: 28px; height: 28px; display: flex; align-items: center; justify-content: center; background: var(--cs-panel); border: 1px solid var(--cs-line); border-radius: 7px; color: var(--cs-text2); transition: color .12s, border-color .12s; }
#swCsPage .sw-cs-mr-open:hover { color: var(--cs-violet-hi); border-color: rgba(139,92,246,.5); }
#swCsPage .sw-cs-mr-price { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 8px; }
#swCsPage .sw-cs-mr-price b { font-family: var(--cs-mono); font-size: 13px; font-weight: 700; color: var(--cs-text); }
#swCsPage .sw-cs-mr-val { font-family: var(--cs-mono); font-size: 14px; font-weight: 700; color: var(--cs-text); }
#swCsPage .sw-cs-mr-chg { font-family: var(--cs-mono); font-size: 12.5px; font-weight: 700; }
#swCsPage .sw-cs-mr-skel { font-family: var(--cs-mono); font-size: 11px; color: var(--cs-text3); }
#swCsPage .up { color: #22c55e; }
#swCsPage .down { color: #ef4444; }
#swCsPage .sw-cs-mr-chart { flex: 1 1 auto; min-height: 64px; }
#swCsPage .sw-cs-mr-chart svg { width: 100%; height: 100%; display: block; }
#swCsPage .sw-cs-mr-chart--skel { border-radius: 6px; background: repeating-linear-gradient(90deg, rgba(255,255,255,.04) 0 6px, transparent 6px 12px); opacity: .6; }
#swCsPage .sw-cs-mr-tabs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
#swCsPage .sw-cs-mr-tab { height: 28px; border-radius: 6px; background: var(--cs-panel); border: 1px solid var(--cs-line); color: var(--cs-text2); font-family: var(--cs-mono); font-size: 11px; font-weight: 600; transition: background .12s, color .12s; }
#swCsPage .sw-cs-mr-tab:hover { color: var(--cs-text); background: var(--cs-panel-hi); }
#swCsPage .sw-cs-mr-tab.active { color: var(--cs-text); background: rgba(139,92,246,.2); border-color: rgba(139,92,246,.5); }
#swCsPage .sw-cs-mr-note { margin-top: auto; padding: 9px 11px; border-radius: 7px; background: rgba(255,255,255,.035); border: 1px solid var(--cs-line-soft); font-size: 12px; line-height: 1.4; color: var(--cs-text2); }

/* ── Section headings ─────────────────────────────────────────────── */
#swCsPage .sw-cs-sec-head { display: flex; align-items: center; justify-content: space-between; margin: 0 0 12px; }
#swCsPage .sw-cs-section-label { font-family: var(--cs-mono); font-size: 12px; font-weight: 600; letter-spacing: .14em; color: var(--cs-text3); }
#swCsPage .sw-cs-viewall { background: none; border: 0; padding: 0; color: var(--cs-violet-hi); font-size: 13px; font-weight: 500; }
#swCsPage .sw-cs-viewall:hover { text-decoration: underline; }

/* ── More creators grid ───────────────────────────────────────────── */
#swCsPage .sw-cs-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 14px; margin-bottom: 30px; }
@media (max-width: 1500px) { #swCsPage .sw-cs-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (max-width: 1180px) { #swCsPage .sw-cs-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 820px)  { #swCsPage .sw-cs-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
#swCsPage .sw-cs-grid-card {
  display: flex; flex-direction: column; align-items: center; text-align: center; padding: 12px 16px 16px;
  background: var(--cs-panel); border: 1px solid var(--cs-line); border-radius: 12px; transition: background .12s, border-color .12s, transform .12s;
}
#swCsPage .sw-cs-grid-card:hover { background: var(--cs-panel-hi); border-color: rgba(139,92,246,.45); transform: translateY(-1px); }
#swCsPage .sw-cs-gc-top { align-self: stretch; display: flex; align-items: center; justify-content: space-between; margin-bottom: 4px; min-height: 32px; }
#swCsPage .sw-cs-grid-card .sw-cs-name-row { justify-content: center; margin-top: 10px; }
#swCsPage .sw-cs-grid-card .sw-cs-blurb { margin: 6px 0 12px; font-size: 13px; line-height: 1.4; color: var(--cs-text2); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 2.8em; }
#swCsPage .sw-cs-grid-card .sw-cs-tags { justify-content: center; margin-bottom: 14px; }
#swCsPage .sw-cs-grid-card .sw-cs-tag { font-size: 10px; padding: 3px 9px; }
#swCsPage .sw-cs-gc-cta {
  margin-top: auto; width: 100%; height: 36px; display: flex; align-items: center; justify-content: center; gap: 8px;
  background: var(--cs-cta); border: 1px solid rgba(167,139,250,.55); border-radius: 6px; color: #fff;
  font-family: var(--cs-mono); font-size: 11.5px; font-weight: 700; letter-spacing: .08em; transition: filter .12s;
}
#swCsPage .sw-cs-gc-cta:hover { filter: brightness(1.15); }
#swCsPage .sw-cs-gc-cta svg { width: 9px; height: 9px; }

/* Market strip inside a creator card */
#swCsPage .sw-cs-gc-mkt { align-self: stretch; display: flex; align-items: center; gap: 10px; margin: 0 0 12px; padding: 8px 12px; background: rgba(0,0,0,.28); border: 1px solid var(--cs-line-soft); border-radius: 6px; font-family: var(--cs-mono); font-size: 10.5px; }
#swCsPage .sw-cs-gc-mkt-l { flex-shrink: 0; color: var(--cs-text2); font-weight: 600; letter-spacing: .04em; white-space: nowrap; }
#swCsPage .sw-cs-gc-spark { flex: 1; min-width: 28px; height: 24px; }
#swCsPage .sw-cs-gc-spark svg { width: 100%; height: 100%; display: block; }
#swCsPage .sw-cs-gc-mkt-r { flex-shrink: 0; display: flex; align-items: center; gap: 8px; }
#swCsPage .sw-cs-gc-mkt-r b { color: var(--cs-text2); font-weight: 600; }
#swCsPage .sw-cs-gc-mkt-r i { font-style: normal; font-weight: 700; }
#swCsPage .sw-cs-gc-mkt-r i:not(.up):not(.down) { color: var(--cs-text3); }

/* ── Flat search list ─────────────────────────────────────────────── */
#swCsPage .sw-cs-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(420px, 1fr)); gap: 14px; }
#swCsPage .sw-cs-card { position: relative; padding: 14px; background: var(--cs-panel); border: 1px solid var(--cs-line); border-radius: 12px; transition: background .12s, border-color .12s; }
#swCsPage .sw-cs-card:hover { background: var(--cs-panel-hi); border-color: rgba(139,92,246,.45); }
#swCsPage .sw-cs-card .sw-cs-follow-btn { position: absolute; top: 8px; right: 8px; z-index: 2; }
#swCsPage .sw-cs-card-main { display: flex; align-items: stretch; gap: 14px; }
#swCsPage .sw-cs-card-left { flex: 1; min-width: 0; display: flex; flex-direction: column; padding-right: 30px; }
#swCsPage .sw-cs-card-top { display: flex; align-items: center; gap: 12px; }
#swCsPage .sw-cs-card .sw-cs-live-row { margin-top: 6px; }
#swCsPage .sw-cs-card .sw-cs-blurb { flex: 1; margin: 10px 0 12px; font-size: 13px; line-height: 1.45; color: var(--cs-text2); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

/* ── Empty state ──────────────────────────────────────────────────── */
#swCsPage .sw-cs-empty { padding: 30px 0 36px; text-align: left; font-size: 15px; line-height: 1.7; color: var(--cs-text3); }
#swCsPage .sw-cs-empty--sm { padding: 12px 0 8px; font-size: 13.5px; }
#swCsPage .sw-cs-empty-action { display: inline-block; margin-top: 8px; padding: 0; background: none; border: 0; color: var(--cs-violet-hi); font-family: var(--cs-mono); font-size: 13px; font-weight: 700; }
#swCsPage .sw-cs-empty-action:hover { text-decoration: underline; }

/* ── Upcoming streams ─────────────────────────────────────────────── */
#swCsPage .sw-cs-up-list { background: var(--cs-panel); border: 1px solid var(--cs-line); border-radius: 12px; overflow: hidden; }
#swCsPage .sw-cs-up-row {
  display: grid; grid-template-columns: minmax(220px, 300px) minmax(0, 1fr) 110px 86px 190px; align-items: center; gap: 16px;
  padding: 12px 24px 12px 20px; border-bottom: 1px solid var(--cs-line-soft); transition: background .12s;
}
#swCsPage .sw-cs-up-row:last-child { border-bottom: 0; }
#swCsPage .sw-cs-up-row[data-act]:hover { background: rgba(255,255,255,.03); }
#swCsPage .sw-cs-up-who { display: flex; align-items: center; gap: 10px; min-width: 0; }
#swCsPage .sw-cs-up-name { font-size: 15px; font-weight: 700; color: var(--cs-text); white-space: nowrap; }
#swCsPage .sw-cs-up-title { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 13.5px; color: var(--cs-text2); }
#swCsPage .sw-cs-up-date { display: flex; align-items: center; gap: 8px; font-size: 13.5px; color: var(--cs-text2); }
#swCsPage .sw-cs-up-time { font-size: 14px; font-weight: 500; color: var(--cs-text); }
#swCsPage .sw-cs-remind {
  height: 38px; display: flex; align-items: center; justify-content: center; gap: 9px; background: var(--cs-panel); border: 1px solid var(--cs-line); border-radius: 7px;
  color: var(--cs-text); font-family: var(--cs-mono); font-size: 11px; font-weight: 600; letter-spacing: .06em; transition: background .12s, border-color .12s, color .12s; white-space: nowrap;
}
#swCsPage .sw-cs-remind:hover { background: var(--cs-panel-hi); border-color: rgba(139,92,246,.5); }
#swCsPage .sw-cs-remind.done { color: #34d399; border-color: rgba(52,211,153,.4); }

/* ── Autoplay toggle ──────────────────────────────────────────────── */
#swCsPage .sw-cs-toggle-row {
  display: flex; align-items: center; justify-content: space-between; gap: 16px; max-width: 420px;
  margin-top: 8px; padding-top: 16px; border-top: 1px solid var(--cs-line-soft); font-size: 13px; color: var(--cs-text3); cursor: pointer;
}
#swCsPage .sw-cs-toggle-row--inline { margin-top: 6px; max-width: none; }
#swCsPage .sw-cs-toggle-row input[type="checkbox"] {
  appearance: none; -webkit-appearance: none; flex-shrink: 0; position: relative; width: 38px; height: 22px; margin: 0; cursor: pointer;
  background: rgba(255,255,255,.08); border: 1px solid var(--cs-line); border-radius: 999px; transition: background .15s, border-color .15s;
}
#swCsPage .sw-cs-toggle-row input[type="checkbox"]::after { content: ''; position: absolute; top: 2px; left: 2px; width: 16px; height: 16px; border-radius: 50%; background: var(--cs-text2); transition: transform .15s, background .15s; }
#swCsPage .sw-cs-toggle-row input[type="checkbox"]:checked { background: rgba(139,92,246,.35); border-color: rgba(139,92,246,.7); }
#swCsPage .sw-cs-toggle-row input[type="checkbox"]:checked::after { transform: translateX(16px); background: #fff; }

/* ── Player view ──────────────────────────────────────────────────── */
#swCsPage #swCsPlayerView { max-width: 960px; margin: 6px 0 0; }
#swCsPage .sw-cs-player-back { display: flex; align-items: center; gap: 7px; padding: 0 0 16px; background: none; border: 0; color: var(--cs-text2); font-family: var(--cs-mono); font-size: 11.5px; font-weight: 700; letter-spacing: .08em; transition: color .12s; }
#swCsPage .sw-cs-player-back:hover { color: var(--cs-text); }
#swCsPage .sw-cs-player-head { display: flex; align-items: center; gap: 14px; margin-bottom: 14px; }
#swCsPage .sw-cs-player { position: relative; width: 100%; aspect-ratio: 16 / 9; margin-bottom: 14px; border-radius: 10px; overflow: hidden; background: #000; }
#swCsPage .sw-cs-player iframe { width: 100%; height: 100%; border: 0; }
#swCsPage .sw-cs-player--placeholder { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; padding: 24px; text-align: center; color: var(--cs-text3); font-size: 13px; background: radial-gradient(circle at 50% 40%, rgba(255,255,255,.05), transparent 70%); }
#swCsPage .sw-cs-player--placeholder svg { opacity: .35; }
#swCsPage .sw-cs-player-link { padding: 8px 14px; border: 1px solid rgba(139,92,246,.4); border-radius: 6px; text-decoration: none; color: var(--cs-violet-hi); font-family: var(--cs-mono); font-size: 11px; letter-spacing: .08em; }
#swCsPage .sw-cs-player-link:hover { background: rgba(139,92,246,.1); }
#swCsPage .sw-cs-player-tag { display: inline-block; margin-bottom: 12px; padding: 5px 10px; border-radius: 4px; font-family: var(--cs-mono); font-size: 10.5px; font-weight: 700; letter-spacing: .08em; color: var(--cs-text3); background: rgba(255,255,255,.04); border: 1px solid var(--cs-line); }
#swCsPage .sw-cs-player-tag--live { color: #ff5d73; background: rgba(244,63,94,.10); border-color: rgba(244,63,94,.4); }
#swCsPage .sw-cs-player-note { margin-top: 4px; font-size: 12.5px; color: var(--cs-text3); }
#swCsPage .sw-cs-player-note a { color: var(--cs-violet-hi); text-decoration: none; }
#swCsPage .sw-cs-player-note a:hover { text-decoration: underline; }

#swCsPage .sw-cs-fed-pill { display: inline-block; margin-bottom: 12px; padding: 5px 10px; border-radius: 4px; font-family: var(--cs-mono); font-size: 10.5px; font-weight: 700; letter-spacing: .1em; }
#swCsPage .sw-cs-fed-pill--upcoming { color: var(--cs-amber); background: rgba(245,158,11,.1); border: 1px solid rgba(245,158,11,.3); }
#swCsPage .sw-cs-fed-pill--live { color: #ff5d73; background: rgba(244,63,94,.10); border: 1px solid rgba(244,63,94,.4); }
#swCsPage .sw-cs-fed-pill--idle { color: var(--cs-text3); background: rgba(255,255,255,.04); border: 1px solid var(--cs-line-soft); }
#swCsPage .sw-cs-fed-title { margin-bottom: 4px; font-size: 20px; font-weight: 700; color: var(--cs-text); }
#swCsPage .sw-cs-fed-when { margin-bottom: 12px; font-size: 13px; color: var(--cs-text2); }
#swCsPage .sw-cs-fed-blurb { margin-bottom: 18px; font-size: 14px; line-height: 1.55; color: var(--cs-text2); }
#swCsPage .sw-cs-fed-countdown { margin-bottom: 18px; padding: 20px 0; text-align: center; border: 1px dashed var(--cs-line); border-radius: 10px; }
#swCsPage .sw-cs-fed-countdown-label { margin-bottom: 6px; font-family: var(--cs-mono); font-size: 9.5px; letter-spacing: .18em; color: var(--cs-text3); }
#swCsPage .sw-cs-fed-countdown-val { font-size: 28px; font-weight: 800; color: var(--cs-text); }

/* ── Narrower desktop windows ─────────────────────────────────────── */
@media (max-width: 1400px) {
  #swCsPage .sw-cs-hero--mr { grid-template-columns: minmax(0, 1fr) minmax(0, 38%); }
  #swCsPage .sw-cs-hero--mr .sw-cs-mr { grid-column: 1 / -1; padding: 14px 0 0; border-left: 0; border-top: 1px solid var(--cs-line); display: grid; grid-template-columns: minmax(0,1.1fr) minmax(0,1fr) minmax(0,1.2fr); gap: 8px 20px; align-items: center; }
  #swCsPage .sw-cs-hero--mr .sw-cs-mr-head { grid-column: 1 / -1; }
  #swCsPage .sw-cs-hero--mr .sw-cs-mr-note { margin-top: 0; }
  #swCsPage .sw-cs-hero--mr .sw-cs-mr-chart { flex: none; height: 64px; }
}
@media (max-width: 1200px) {
  #swCsPage .sw-cs-hero, #swCsPage .sw-cs-hero--mr { grid-template-columns: 1fr; }
  #swCsPage .sw-cs-hero-media { order: -1; }
  #swCsPage .sw-cs-up-row { grid-template-columns: minmax(180px, 240px) minmax(0, 1fr) 100px 80px 170px; gap: 12px; }
}
@media (max-width: 900px) {
  #swCsPage .sw-cs-top { flex-direction: column; }
  #swCsPage .sw-cs-search { flex: none; width: 100%; }
  #swCsPage .sw-cs-view-tabs { flex: 1 1 100%; min-width: 0; }
  #swCsPage .sw-cs-list { grid-template-columns: 1fr; }
  #swCsPage .sw-cs-up-row { grid-template-columns: 1fr auto; }
  #swCsPage .sw-cs-up-title { grid-column: 1 / -1; order: 3; white-space: normal; }
  #swCsPage .sw-cs-up-date, #swCsPage .sw-cs-up-time, #swCsPage .sw-cs-remind { grid-column: auto; }
}

@keyframes swCsPulse { 0%, 100% { box-shadow: 0 0 0 0 rgba(255,93,115,.45); } 50% { box-shadow: 0 0 0 6px rgba(255,93,115,0); } }
@media (prefers-reduced-motion: reduce) {
  #swCsPage .sw-cs-live-dot, #swCsPage .sw-cs-view-dot { animation: none; }
  #swCsPage .sw-cs-grid-card, #swCsPage .sw-cs-media-play { transition: none; }
}
