/* Loaded before body: privacy never depends on a later account/SDK callback. */
html[data-streamer-mode="on"] [data-streamer-private],
html[data-streamer-mode="on"] [data-streamer-email],
html[data-streamer-mode="on"] .account-avatar,
html[data-streamer-mode="on"] [data-buyer-account],
html[data-streamer-mode="on"] [data-buyer-help],
html[data-streamer-mode="on"] [data-auth-status],
html[data-streamer-mode="on"] #account,
html[data-streamer-mode="on"] .settings,
html[data-streamer-mode="on"] #connection,
html[data-streamer-mode="on"] #subscriptions,
html[data-streamer-mode="on"] #history,
html[data-streamer-mode="on"] section.history,
html[data-streamer-mode="on"] .business-footer > p,
html[data-streamer-mode="on"] .site-business,
html[data-streamer-mode="on"] a[href^="mailto:"],
html[data-streamer-mode="on"] a[href^="tel:"],
html[data-streamer-mode="on"] #billing-form label:not(.payment-check),
html[data-streamer-mode="on"] #payment-form label:not(.payment-check),
html[data-streamer-mode="on"] #verify-form,
html[data-streamer-mode="on"] #payment-reference,
html[data-streamer-mode="on"] #payment-status,
html[data-streamer-mode="on"] #purchase-history,
html[data-streamer-mode="on"] #billing-status,
html[data-streamer-mode="on"] #paypal-ui,
html[data-streamer-mode="on"] .portone-ui-container,
html[data-streamer-mode="on"] #provider-code,
html[data-streamer-mode="on"] #auth-result,
html[data-streamer-mode="on"] iframe[src*="inicis" i],
html[data-streamer-mode="on"] iframe[src*="paypal" i],
html[data-streamer-mode="on"] iframe[title*="paypal" i] {
  display: none !important;
}
html[data-streamer-mode="on"] body:has(#billing-form) iframe,
html[data-streamer-mode="on"] body:has(#payment-form) iframe,
html[data-streamer-mode="on"] body:has(#paypal-ui) iframe { display: none !important; }
/* A renderer must replace account names before revealing the marked node. */
html[data-streamer-mode="on"] [data-streamer-name]:not([data-streamer-safe-name]) {
  visibility: hidden !important;
}
[data-streamer-only] { display: none; }
html[data-streamer-mode="on"] [data-streamer-only] {
  display: block;
  color: #52712b;
  background: #edf7dc;
  border: 1px solid #badb86;
  border-radius: 10px;
  padding: 12px 14px;
  font-size: 13px;
  line-height: 1.6;
}
html[data-streamer-mode="on"] .theme-dark-obsidian [data-streamer-only] {
  color: #dceacb; background: #293424; border-color: #657c53;
}
.btn-streamer-toggle {
  --streamer-ink: #70543a; --streamer-soft: #f5eee4;
  --streamer-border: #ddc9af; --streamer-icon-paper: #fffefa;
  --streamer-icon-peach: #ffd4ad; --streamer-shield: #f5eee4;
  --streamer-shield-ink: #70543a;
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  padding: 5px 9px; border: 1px solid var(--streamer-border); border-radius: 999px;
  background: var(--streamer-soft); color: var(--streamer-ink); font: inherit; font-size: 11px;
  font-weight: 700; white-space: nowrap; cursor: pointer;
}
.btn-streamer-toggle:hover { filter: brightness(.97); }
.btn-streamer-toggle:focus-visible { outline: 3px solid #829f5e; outline-offset: 3px; }
.btn-streamer-toggle .streamer-mode-icon { display: block; flex: 0 0 22px; width: 22px; height: 22px; overflow: visible; }
.btn-streamer-toggle .streamer-icon-camera { fill: var(--streamer-icon-paper); stroke: var(--streamer-ink); stroke-width: 1.4; }
.btn-streamer-toggle .streamer-icon-light { fill: var(--streamer-icon-peach); }
.btn-streamer-toggle .streamer-icon-shield { fill: var(--streamer-shield); stroke: var(--streamer-shield-ink); stroke-width: 1.4; }
.btn-streamer-toggle .streamer-icon-check { visibility: hidden; stroke: var(--streamer-shield-ink); stroke-width: 1.8; }
.btn-streamer-toggle .theme-toggle-track { flex: 0 0 28px; background: #d8cbb9; }
.btn-streamer-toggle .theme-toggle-thumb { box-shadow: 0 1px 2px #70543a33; }
.btn-streamer-toggle[aria-checked="true"] {
  --streamer-ink: #52712b; --streamer-soft: #edf7dc;
  --streamer-border: #badb86; --streamer-shield: #dceebc; --streamer-shield-ink: #52712b;
}
.btn-streamer-toggle[aria-checked="true"] .streamer-icon-check { visibility: visible; }
.btn-streamer-toggle[aria-checked="true"] .theme-toggle-track { background: #71934e; }
.btn-streamer-toggle[aria-checked="true"] .theme-toggle-thumb { transform: translateX(12px); }
.theme-dark-obsidian .btn-streamer-toggle {
  --streamer-ink: #ead5bd; --streamer-soft: #352f28; --streamer-border: #79634b;
  --streamer-icon-paper: #43382d; --streamer-shield: #43382d; --streamer-shield-ink: #ead5bd;
}
.theme-dark-obsidian .btn-streamer-toggle .theme-toggle-track { background: #7a6955; }
.theme-dark-obsidian .btn-streamer-toggle[aria-checked="true"] {
  --streamer-ink: #e1efcd; --streamer-soft: #2d3926; --streamer-border: #8ba86b;
  --streamer-shield: #415831; --streamer-shield-ink: #e1efcd;
}
.theme-dark-obsidian .btn-streamer-toggle[aria-checked="true"] .theme-toggle-track { background: #819f5d; }
@media (max-width: 1400px) { .nav-settings { gap: 6px; } }
@media (max-width: 520px) { .btn-streamer-toggle .streamer-mode-label { display: none; } }
dialog.streamer-privacy-dialog { width: min(420px,calc(100vw - 48px));box-sizing:border-box;padding:26px;border:1px solid #ddc9af;border-radius:18px;background:#fffefa;color:#70543a;box-shadow:0 20px 70px #493b2a33; }
dialog.streamer-privacy-dialog::backdrop { background:#28231c66;backdrop-filter:blur(3px); }
dialog.streamer-privacy-dialog h2 { margin:0 0 12px;font-size:18px;color:inherit; }
dialog.streamer-privacy-dialog p { margin:0 0 22px;font-size:14px;line-height:1.7;color:inherit; }
dialog.streamer-privacy-dialog button { width:100%;border:1px solid #badb86;border-radius:10px;padding:11px 16px;background:#edf7dc;color:#52712b;font-weight:700;cursor:pointer; }
.theme-dark-obsidian dialog.streamer-privacy-dialog { background:#352f28;border-color:#79634b;color:#ead5bd; }
.theme-dark-obsidian dialog.streamer-privacy-dialog button { background:#2d3926;border-color:#8ba86b;color:#e1efcd; }

dialog.streamer-start-dialog {
  --streamer-start-bg:#fffefa;--streamer-start-text:#443c48;
  --streamer-start-muted:#716574;--streamer-start-border:#dce4d3;
  --streamer-start-soft:#f0f4e9;--streamer-start-button:#e0ebd5;--streamer-start-button-text:#344c2e;
  box-sizing:border-box;width:min(480px,calc(100vw - 32px));max-height:calc(100vh - 40px);max-height:calc(100dvh - 40px);
  margin:auto;padding:25px;border:1px solid var(--streamer-start-border);border-radius:18px;
  background:var(--streamer-start-bg);color:var(--streamer-start-text);font:inherit;font-size:14px;line-height:1.65;
  box-shadow:0 20px 70px #283c2733;overflow:auto;
}
dialog.streamer-start-dialog::backdrop { background:#211b2b66;backdrop-filter:blur(3px); }
.streamer-start-dialog .streamer-start-header { display:flex;align-items:flex-start;justify-content:space-between;gap:16px;margin:0 0 15px; }
.streamer-start-dialog .streamer-start-header h2 { margin:0;color:inherit;font:inherit;font-size:19px;font-weight:750;line-height:1.4; }
.streamer-start-dialog p,.streamer-start-dialog li,
dialog.streamer-start-dialog p[data-streamer-start-intro],
dialog.streamer-start-dialog [data-streamer-start-items] li { color:var(--streamer-start-text);font:inherit;line-height:inherit; }
.streamer-start-dialog p { margin:0 0 14px; }
.streamer-start-dialog ul { margin:0 0 16px;padding-left:22px; }
.streamer-start-dialog li+li { margin-top:9px; }
dialog.streamer-start-dialog p.streamer-start-scope { color:var(--streamer-start-muted);font:inherit;font-size:12px;line-height:inherit; }
dialog.streamer-start-dialog p.streamer-start-keep { margin:0 0 18px;padding:10px 12px;border-radius:9px;background:var(--streamer-start-soft);color:var(--streamer-start-text);font:inherit;font-size:13px;line-height:inherit; }
.streamer-start-dialog button { box-sizing:border-box;font:inherit;cursor:pointer; }
.streamer-start-dialog button.streamer-start-close { flex:0 0 32px;width:32px;height:32px;padding:0;border:0;border-radius:8px;background:transparent;color:var(--streamer-start-muted);font-size:25px;line-height:1; }
.streamer-start-dialog button.streamer-start-close:hover { background:var(--streamer-start-soft); }
.streamer-start-dialog button.streamer-start-confirm { width:100%;padding:11px 16px;border:1px solid var(--streamer-start-border);border-radius:10px;background:var(--streamer-start-button);color:var(--streamer-start-button-text);font-weight:750; }
.streamer-start-dialog button:focus-visible { outline:3px solid #94ae7e;outline-offset:3px; }
.theme-dark-obsidian dialog.streamer-start-dialog {
  --streamer-start-bg:#25292b;--streamer-start-text:#eee9ef;--streamer-start-muted:#c4b8c9;
  --streamer-start-border:#52604b;--streamer-start-soft:#30392e;--streamer-start-button:#415338;--streamer-start-button-text:#edf6e6;
}
@media(max-width:480px) {
  dialog.streamer-start-dialog { padding:20px;max-height:calc(100vh - 24px);max-height:calc(100dvh - 24px);font-size:13px; }
  .streamer-start-dialog .streamer-start-header h2 { font-size:18px; }
}
