:root {
  --sccc-wine: #81221d;
  --sccc-wine-dark: #681a17;
  --sccc-blue: #2a4d5a;
  --sccc-ink: #202326;
  --sccc-muted: #687178;
  --sccc-paper: #f7f4ee;
  --sccc-line: rgba(32, 35, 38, .16);
  --sccc-title: Optima, "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
  --sccc-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

#sc-cookie-layer,
#sc-cookie-layer * { box-sizing: border-box; }
#sc-cookie-layer { position: fixed; inset: 0; z-index: 2147483000; color: var(--sccc-ink); background: transparent; pointer-events: none; font-family: var(--sccc-sans); }
#sc-cookie-layer[hidden] { display: none !important; }
.sccc-dialog { position: absolute; left: 24px; bottom: 24px; width: min(390px, calc(100% - 48px)); pointer-events: auto; border: 1px solid rgba(32, 35, 38, .17); border-top: 4px solid var(--sccc-wine); border-radius: 0; background: var(--sccc-paper); box-shadow: 0 18px 46px rgba(23, 28, 31, .22); }
.sccc-main { padding: 22px 22px 20px; }
.sccc-brand { min-height: 30px; margin: 0 0 9px; padding-left: 30px; color: var(--sccc-wine); font-size: 11px; font-weight: 800; letter-spacing: .14em; line-height: 30px; text-transform: uppercase; }
.sccc-dialog h2 { margin: 0 0 8px; padding-right: 28px; font-family: var(--sccc-title); font-size: 24px; font-weight: 400; line-height: 1.2; }
.sccc-dialog h2:focus { outline: none; }
.sccc-dialog p { margin: 0; color: #566066; font-size: 13px; line-height: 1.5; }
.sccc-dialog a { color: var(--sccc-wine); text-underline-offset: 3px; }
.sccc-actions { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; margin-top: 16px; }
.sccc-btn { min-height: 44px; padding: 11px 16px; border: 1px solid var(--sccc-wine); border-radius: 0; cursor: pointer; font: 700 13px/1.2 var(--sccc-sans); }
.sccc-primary { color: #fff; background: var(--sccc-wine); }
.sccc-primary:hover, .sccc-primary:focus { background: var(--sccc-wine-dark); }
.sccc-outline { color: var(--sccc-wine); background: transparent; }
.sccc-soft { border-color: #bbb4aa; color: var(--sccc-ink); background: #fff; }
.sccc-btn:focus-visible, .sccc-close:focus-visible, .sccc-switch:focus-visible, .sccc-review:focus-visible { outline: 3px solid rgba(42, 77, 90, .38); outline-offset: 2px; }
.sccc-close { position: absolute; top: 12px; left: 11px; width: 34px; height: 34px; padding: 0; border: 0; border-radius: 0; color: #687178; background: transparent; cursor: pointer; font: 400 19px/1 var(--sccc-sans); }
.sccc-close:hover, .sccc-close:focus { color: var(--sccc-wine); background: transparent; }
.sccc-preferences { top: 50%; left: 50%; bottom: auto; width: min(610px, calc(100% - 40px)); max-height: calc(100% - 40px); overflow: auto; transform: translate(-50%, -50%); }
.sccc-pref-head { padding: 25px 28px 19px; border-bottom: 1px solid var(--sccc-line); }
.sccc-pref-list { padding: 4px 28px; }
.sccc-pref-row { display: grid; grid-template-columns: 1fr auto; gap: 20px; align-items: center; padding: 20px 0; border-bottom: 1px solid var(--sccc-line); }
.sccc-pref-row h3 { margin: 0 0 5px; font-size: 15px; }
.sccc-pref-row p { font-size: 12.5px; }
.sccc-always { color: var(--sccc-blue); font-size: 12px; font-weight: 800; }
.sccc-switch { position: relative; width: 46px; height: 24px; border: 1px solid #9a9fa2; border-radius: 0; background: #fff; cursor: pointer; }
.sccc-switch::after { content: ""; position: absolute; top: 3px; left: 3px; width: 16px; height: 16px; background: #777f83; transition: left .18s; }
.sccc-switch[aria-checked="true"] { border-color: var(--sccc-wine); background: var(--sccc-wine); }
.sccc-switch[aria-checked="true"]::after { left: 25px; background: #fff; }
.sccc-pref-actions { display: flex; justify-content: flex-end; gap: 8px; padding: 18px 28px 24px; }
.sccc-review { display: inline; padding: 0; border: 0; border-bottom: 1px solid currentColor; border-radius: 0; color: inherit; background: transparent; cursor: pointer; font: inherit; }

.sc-youtube-consent { display: grid; place-items: center; width: 100%; max-width: 100%; aspect-ratio: var(--sc-video-ratio, 16 / 9); margin: 1.5em auto; overflow: hidden; border: 1px solid rgba(42, 77, 90, .22); background: linear-gradient(145deg, #18252b, #2a4d5a); color: #fff; }
.sc-youtube-consent__inner { width: min(560px, calc(100% - 36px)); padding: 28px; text-align: center; }
.sc-youtube-consent__inner strong { display: block; margin: 10px 0 8px; color: #fff; font: 400 clamp(20px, 3vw, 30px)/1.25 var(--sccc-title); }
.sc-youtube-consent__inner p { margin: 0 auto 17px; color: rgba(255, 255, 255, .76); font-size: 13px; line-height: 1.55; }
.sc-youtube-consent__icon { display: inline-block; width: 48px; height: 34px; border-radius: 8px; background: #9e2a23; position: relative; }
.sc-youtube-consent__icon::after { content: ""; position: absolute; top: 9px; left: 20px; border-top: 8px solid transparent; border-bottom: 8px solid transparent; border-left: 12px solid #fff; }
.sc-youtube-consent__button { min-height: 44px; padding: 11px 18px; border: 1px solid #fff; border-radius: 0; color: #18252b; background: #fff; cursor: pointer; font-size: 13px; font-weight: 800; }
.sc-youtube-consent__button:hover, .sc-youtube-consent__button:focus { background: #f7f4ee; }
.sc-youtube-consent iframe { width: 100%; height: 100%; border: 0; }

@media (max-width: 640px) {
  .sccc-dialog { left: 12px; bottom: 12px; width: calc(100% - 24px); max-height: calc(100% - 24px); overflow: auto; }
  .sccc-main { padding: 22px 20px 18px; }
  .sccc-dialog h2 { font-size: 23px; }
  .sccc-dialog p { font-size: 13px; }
  .sccc-actions { grid-template-columns: 1fr; }
  .sccc-btn { width: 100%; }
  .sccc-preferences { left: 50%; transform: translate(-50%, -50%); }
  .sccc-pref-head, .sccc-pref-list { padding-left: 20px; padding-right: 20px; }
  .sccc-pref-actions { display: grid; padding: 16px 20px 20px; }
  .sc-youtube-consent__inner { padding: 20px 12px; }
}

@media (prefers-reduced-motion: reduce) {
  .sccc-switch::after { transition: none; }
}
