/* Local-only notice; no fonts, images or external requests are introduced. */
.youtube-consent{
  box-sizing:border-box;width:min(560px,calc(100vw - 32px));max-width:calc(100vw - 32px);
  max-height:calc(100svh - 32px);margin:auto;padding:clamp(22px,4vw,36px);
  border:1px solid var(--line,#d8d1c6);border-radius:20px;
  background:var(--paper,#f4f1e9);color:var(--ink,#24231f);
  font-family:inherit;overflow:auto;box-shadow:0 24px 90px #24231f35;
}
.youtube-consent::backdrop{background:#25231fc2;backdrop-filter:blur(4px)}
.youtube-consent>h2{font-family:inherit;font-size:24px;font-weight:700;line-height:1.2;letter-spacing:-.025em;margin:0 0 12px}
.youtube-consent .youtube-consent-video{font-size:16px;font-weight:600;line-height:1.5;margin:0 0 18px;overflow-wrap:anywhere}
.youtube-consent .youtube-consent-notice{font-size:16px;font-weight:400;line-height:1.65;margin:0 0 16px}
.youtube-consent .youtube-consent-privacy{display:inline-block;font-size:14px;line-height:1.5;text-decoration:underline;text-underline-offset:4px;margin-bottom:24px}
.youtube-consent-actions{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:12px}
.youtube-consent-actions>button{min-height:46px;padding:12px 18px;border:1px solid var(--ink,#24231f);border-radius:999px;font:inherit;font-size:14px;font-weight:600;line-height:1.4;cursor:pointer;white-space:normal}
.youtube-consent .youtube-consent-cancel{background:transparent;color:var(--ink,#24231f)}
.youtube-consent .youtube-consent-load{background:var(--ink,#24231f);color:var(--paper,#f4f1e9)}
.youtube-consent :is(a,button):focus-visible{outline:3px solid var(--orange,#bd4b32);outline-offset:4px}
html:has(.youtube-consent[open]){overflow:hidden;scrollbar-gutter:stable}
@media(max-width:400px){.youtube-consent-actions{flex-direction:column-reverse}.youtube-consent-actions>button{width:100%}}
