/* cookie notice + privacy settings (self-contained so it works on every page, including the studio) */
.sbs-cc-banner, .sbs-cc-modal, .sbs-cc-toast { --cc-bg: #12151d; --cc-bg2: #0c0e14; --cc-line: #2a3040; --cc-fg: #f3f5f9; --cc-muted: #a3abbd; --cc-accent: #ffd24a;
  font-family: Manrope, system-ui, -apple-system, "Segoe UI", sans-serif; color: var(--cc-fg); line-height: 1.5; text-transform: none; letter-spacing: normal; }
.sbs-cc-banner *, .sbs-cc-modal * { box-sizing: border-box; }
.sbs-cc-banner { position: fixed; z-index: 2147483000; left: 16px; right: 16px; bottom: max(16px, env(safe-area-inset-bottom)); max-width: 1080px; margin: 0 auto;
  display: flex; align-items: center; gap: 20px; padding: 18px 20px; border-radius: 18px; background: rgba(18, 21, 29, .97); border: 1px solid var(--cc-line);
  box-shadow: 0 24px 70px -20px rgba(0, 0, 0, .85); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); transform: translateY(20px); opacity: 0; transition: transform .35s ease, opacity .35s ease; }
.sbs-cc-banner.in { transform: none; opacity: 1; }
.sbs-cc-text { flex: 1; min-width: 0; }
.sbs-cc-title { display: block; font-size: 16px; margin-bottom: 4px; }
.sbs-cc-text p { margin: 0; font-size: 14px; color: var(--cc-muted); }
.sbs-cc-banner a, .sbs-cc-modal a { color: var(--cc-accent); text-decoration: underline; text-underline-offset: 2px; }
.sbs-cc-gpc { display: block; color: #6ee7a8; font-weight: 700; margin: 4px 0; }
.sbs-cc-btns { display: flex; gap: 8px; flex-wrap: wrap; justify-content: flex-end; flex: none; }
.sbs-cc-btn { font: inherit; font-size: 14px; font-weight: 800; padding: 10px 16px; border-radius: 999px; cursor: pointer; border: 1px solid var(--cc-line);
  background: rgba(255, 255, 255, .06); color: var(--cc-fg); min-width: 0; white-space: nowrap; transition: background .15s, border-color .15s; }
.sbs-cc-btn:hover { background: rgba(255, 255, 255, .12); border-color: #4a5268; }
.sbs-cc-btn:focus-visible, .sbs-cc-x:focus-visible, .sbs-cc-switch input:focus-visible + span { outline: 3px solid var(--cc-accent); outline-offset: 2px; }
.sbs-cc-btn.sbs-cc-primary { background: var(--cc-accent); border-color: var(--cc-accent); color: #111; }
.sbs-cc-btn.sbs-cc-primary:hover { background: #ffe07a; }
/* rejecting is as easy and as visible as accepting */
.sbs-cc-btn.sbs-cc-strong { background: #f3f5f9; border-color: #f3f5f9; color: #111; }
.sbs-cc-btn.sbs-cc-strong:hover { background: #fff; }
.sbs-cc-modal { position: fixed; inset: 0; z-index: 2147483001; background: rgba(3, 4, 7, .72); display: flex; align-items: center; justify-content: center; padding: 16px; }
.sbs-cc-card { width: min(640px, 100%); max-height: calc(100dvh - 32px); overflow: auto; background: var(--cc-bg); border: 1px solid var(--cc-line); border-radius: 20px; padding: 22px 22px 16px; box-shadow: 0 40px 100px -30px rgba(0, 0, 0, .9); }
.sbs-cc-head { display: flex; justify-content: space-between; align-items: center; }
.sbs-cc-head h2 { margin: 0; font-size: 21px; }
.sbs-cc-x { background: none; border: 0; color: var(--cc-muted); font-size: 28px; line-height: 1; cursor: pointer; padding: 0 4px; border-radius: 8px; }
.sbs-cc-intro { color: var(--cc-muted); font-size: 14px; margin: 8px 0 14px; }
.sbs-cc-cat { border: 1px solid var(--cc-line); background: var(--cc-bg2); border-radius: 14px; padding: 14px 16px; margin-bottom: 10px; }
.sbs-cc-cat-h { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.sbs-cc-cat-h b { font-size: 15px; }
.sbs-cc-cat p { margin: 6px 0 0; color: var(--cc-muted); font-size: 13.5px; }
.sbs-cc-tag { display: inline-block; margin-left: 8px; font-size: 11px; font-weight: 800; padding: 2px 8px; border-radius: 999px; background: rgba(110, 231, 168, .14); color: #6ee7a8; vertical-align: 1px; }
.sbs-cc-cat details { margin-top: 8px; font-size: 13px; color: var(--cc-muted); }
.sbs-cc-cat summary { cursor: pointer; color: var(--cc-fg); font-weight: 700; }
.sbs-cc-cat ul { margin: 6px 0 0; padding-left: 18px; }
.sbs-cc-cat li { margin: 4px 0; }
.sbs-cc-cat code { color: var(--cc-fg); font-size: 12px; }
.sbs-cc-cat i { display: block; font-style: normal; opacity: .8; }
.sbs-cc-switch { position: relative; width: 46px; height: 26px; flex: none; }
.sbs-cc-switch input { position: absolute; opacity: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; z-index: 1; }
.sbs-cc-switch input:disabled { cursor: not-allowed; }
.sbs-cc-switch span { position: absolute; inset: 0; border-radius: 999px; background: #3a4152; transition: background .2s; }
.sbs-cc-switch span::after { content: ""; position: absolute; top: 3px; left: 3px; width: 20px; height: 20px; border-radius: 50%; background: #fff; transition: transform .2s; }
.sbs-cc-switch input:checked + span { background: #22c55e; }
.sbs-cc-switch input:checked + span::after { transform: translateX(20px); }
.sbs-cc-switch input:disabled + span { opacity: .6; }
.sbs-cc-note { font-size: 13px; color: var(--cc-muted); padding: 12px 14px; border-radius: 12px; background: rgba(0, 102, 255, .08); border: 1px solid rgba(0, 102, 255, .3); margin: 4px 0 14px; }
.sbs-cc-note b { color: var(--cc-fg); }
.sbs-cc-foot { display: flex; gap: 8px; flex-wrap: wrap; justify-content: flex-end; }
.sbs-cc-links { font-size: 12.5px; color: var(--cc-muted); margin: 14px 0 0; text-align: center; }
.sbs-cc-toast { position: fixed; z-index: 2147483002; left: 50%; bottom: 24px; transform: translate(-50%, 20px); opacity: 0; pointer-events: none; background: #1d2230; border: 1px solid var(--cc-line);
  padding: 10px 16px; border-radius: 999px; font-size: 14px; font-weight: 700; transition: opacity .25s, transform .25s; }
.sbs-cc-toast.in { opacity: 1; transform: translate(-50%, 0); }
html.sbs-cc-lock { overflow: hidden; }
/* the "Your Privacy Choices" link */
.choices-link { white-space: nowrap; }
.ccpa-ico { width: 26px; height: 12px; vertical-align: -1px; margin-right: 5px; }
.legal-links { margin-top: 8px; font-size: 13px; }
@media (max-width: 760px) {
  .sbs-cc-banner { flex-direction: column; align-items: stretch; gap: 12px; padding: 16px; left: 10px; right: 10px; bottom: max(10px, env(safe-area-inset-bottom)); }
  .sbs-cc-btns { display: grid; grid-template-columns: 1fr 1fr; }
  .sbs-cc-btns [data-act="custom"] { grid-column: 1 / -1; grid-row: 2; }
  .sbs-cc-btn { white-space: normal; }
  .sbs-cc-foot { display: grid; grid-template-columns: 1fr 1fr; }
  .sbs-cc-foot .sbs-cc-primary { grid-column: 1 / -1; }
  .sbs-cc-modal { padding: 0; align-items: flex-end; }
  .sbs-cc-card { border-radius: 20px 20px 0 0; max-height: 92dvh; }
}
@media (prefers-reduced-motion: reduce) { .sbs-cc-banner, .sbs-cc-toast { transition: none; } }
