.privacy-console { width: min(42rem, calc(100% - 2rem)); max-height: calc(100svh - 2rem); padding: 0; overflow: auto; border: 1px solid rgb(112 165 255 / 40%); background: #07090e; color: #f2f4f8; box-shadow: 0 2rem 8rem #000; }
.privacy-console::backdrop { background: rgb(1 2 5 / 82%); backdrop-filter: blur(10px); }
.privacy-console__panel { display: grid; }
.privacy-console header { display: flex; min-height: 4.5rem; align-items: center; justify-content: space-between; gap: 1rem; padding: 1rem; border-bottom: 1px solid rgb(112 165 255 / 18%); }
.privacy-console header div { display: grid; gap: 0.35rem; }
.privacy-console header span { color: var(--privacy-accent, #70a5ff); font: 800 0.52rem/1 ui-monospace, monospace; letter-spacing: 0.1em; }
.privacy-console h2 { font: 900 1.55rem/1 var(--font-display); text-transform: uppercase; }
.privacy-console header button { display: grid; width: 2.75rem; height: 2.75rem; place-items: center; border: 1px solid rgb(255 255 255 / 16%); background: transparent; color: #aeb7c7; font-size: 1.4rem; cursor: pointer; }
.privacy-console__intro { padding: 1rem; color: #9da5b4; font-size: 0.88rem; line-height: 1.55; }
.privacy-console__channels { display: grid; margin: 0 1rem; border: 1px solid rgb(255 255 255 / 10%); }
.privacy-console__channels article { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 1rem; align-items: center; padding: 1rem; border-bottom: 1px solid rgb(255 255 255 / 9%); }
.privacy-console__channels article:last-child { border-bottom: 0; }
.privacy-console__channels div { display: grid; gap: 0.35rem; }
.privacy-console__channels span { color: #dce2ec; font: 800 0.68rem/1 ui-monospace, monospace; text-transform: uppercase; }
.privacy-console__channels p { color: #818a9a; font-size: 0.75rem; }
.privacy-console__channels strong { color: var(--signal); font: 800 0.58rem/1 ui-monospace, monospace; text-transform: uppercase; }
.privacy-console__channels .privacy-console__offline { color: #70798a; }
.privacy-console__switch { display: grid; min-width: 5.5rem; justify-items: end; gap: 0.45rem; cursor: pointer; }
.privacy-console__switch input { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }
.privacy-console__switch i { position: relative; width: 3.25rem; height: 1.6rem; border: 1px solid rgb(255 255 255 / 18%); background: #11151d; transition: border-color 180ms ease, background 180ms ease; }
.privacy-console__switch i span { position: absolute; top: 0.25rem; left: 0.25rem; width: 0.98rem; height: 0.98rem; background: #657084; transition: transform 180ms ease, background 180ms ease; }
.privacy-console__switch input:focus-visible + i { outline: 2px solid #fff; outline-offset: 3px; }
.privacy-console__switch input:checked + i { border-color: rgb(172 255 32 / 65%); background: rgb(172 255 32 / 10%); }
.privacy-console__switch input:checked + i span { transform: translateX(1.65rem); background: var(--signal); box-shadow: 0 0 1rem rgb(172 255 32 / 45%); }
.privacy-console__switch b { color: #70798a; font: 800 0.58rem/1 ui-monospace, monospace; text-transform: uppercase; }
.privacy-console[data-analytics-state="on"] .privacy-console__switch b { color: var(--signal); }
.privacy-console__status { padding: 0.8rem 1rem 0; color: #697285; font: 700 0.54rem/1.3 ui-monospace, monospace; text-transform: uppercase; }
.privacy-console footer { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1rem; }
.privacy-console footer a { color: #98a5bc; font: 700 0.62rem/1 ui-monospace, monospace; text-transform: uppercase; }
.privacy-console footer button { min-height: 2.75rem; padding: 0.7rem 0.9rem; background: var(--privacy-accent, #70a5ff); color: #030811; font: 900 0.62rem/1 ui-monospace, monospace; text-transform: uppercase; cursor: pointer; }

@media (max-width: 38rem) {
    .privacy-console__channels article { grid-template-columns: 1fr; }
    .privacy-console footer { align-items: stretch; flex-direction: column; }
    .privacy-console footer button { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
    .privacy-console { scroll-behavior: auto; }
}
