/* WinIntel skin for Silktide Consent Manager v2.0.1. The upstream stylesheet is shipped unmodified beside this file.
   Uses the site's own tokens (site.css :root): square corners, hairline borders, gold focus, Syne / Plus Jakarta Sans / JetBrains Mono. */

#stcm-wrapper{
  --fontFamily:var(--sans,system-ui,sans-serif);
  --primaryColor:var(--purple-soft,#ae9aff);
  --backgroundColor:#0c0713;
  --textColor:var(--paper,#f4f2fa);
  font-family:var(--sans,system-ui,sans-serif);
  -webkit-font-smoothing:antialiased;
}

/* Upstream branding and floating icon are replaced by the footer "Cookie preferences" control. */
#stcm-wrapper .stcm-logo,
#stcm-wrapper .stcm-credit-link,
#stcm-wrapper #stcm-icon{display:none!important}

/* ---------- shared panel ---------- */
#stcm-wrapper #stcm-banner,
#stcm-wrapper #stcm-modal{
  box-sizing:border-box;
  color:var(--paper,#f4f2fa);
  background:linear-gradient(180deg,rgba(24,13,42,.985),rgba(12,7,19,.99));
  border:1px solid var(--line-strong,rgba(255,255,255,.18));
  border-radius:0;
  box-shadow:inset 0 1px 0 rgba(216,188,104,.55),0 40px 80px -30px #000,0 0 0 1px rgba(124,92,255,.14);
  -webkit-backdrop-filter:blur(18px) saturate(140%);
  backdrop-filter:blur(18px) saturate(140%);
  overscroll-behavior:contain;
}

/* ---------- banner ---------- */
#stcm-wrapper #stcm-banner{
  position:fixed;
  top:auto;right:auto;
  left:20px;bottom:20px;
  width:min(468px,calc(100vw - 40px));
  max-width:none;
  max-height:calc(100vh - 40px);
  max-height:calc(100dvh - 40px);
  padding:22px 24px 12px;
  opacity:1;transform:none;
  animation:wi-consent-rise .6s var(--ease,ease) .2s both;
}
#stcm-wrapper #stcm-banner.stcm-pos-bottom-left{left:20px;bottom:20px;top:auto;right:auto}
#stcm-wrapper #stcm-banner:focus{outline:none;border-radius:0}

#stcm-wrapper #stcm-banner .wi-eyebrow{
  display:flex;align-items:center;gap:10px;
  margin:0 0 12px;
  font:500 10.5px/1 var(--mono,monospace);letter-spacing:.24em;text-transform:uppercase;
  color:var(--dim,#aaa5bd);
}
#stcm-wrapper #stcm-banner .wi-eyebrow i{display:inline-block;width:8px;height:8px;background:var(--purple,#7c5cff);flex:none}
#stcm-wrapper #stcm-banner .wi-title{
  margin:0 0 10px;
  font:700 21px/1.15 var(--display,var(--sans));letter-spacing:-.01em;
  color:var(--paper,#f4f2fa);
}
#stcm-wrapper #stcm-banner p{
  margin:0;
  font:400 13.5px/1.62 var(--sans,system-ui,sans-serif);
  color:var(--dim,#aaa5bd);
}
#stcm-wrapper #stcm-banner p.wi-eyebrow{margin:0 0 12px;font:500 10.5px/1 var(--mono,monospace)}

#stcm-wrapper a:not(.stcm-logo):not(.stcm-credit-link){
  display:inline;
  color:var(--purple-soft,#ae9aff);
  text-decoration:underline;text-underline-offset:3px;text-decoration-thickness:1px;
  background:none;
}
#stcm-wrapper #stcm-banner a:not(.stcm-logo){background:none;display:inline}
#stcm-wrapper a:not(.stcm-logo):not(.stcm-credit-link):hover{color:#fff;cursor:pointer}

#stcm-wrapper #stcm-banner .stcm-actions{
  display:grid;grid-template-columns:1fr 1fr;gap:10px;
  margin-top:18px;
  flex-direction:initial;align-items:stretch;
}
#stcm-wrapper #stcm-banner .stcm-actions-row{
  grid-column:1/-1;display:flex;justify-content:flex-start;gap:0;
}

/* Accept and reject share one style, size and weight on purpose. */
#stcm-wrapper .stcm-button,
#stcm-wrapper .stcm-button-primary{
  display:inline-flex;align-items:center;justify-content:center;
  min-height:46px;padding:11px 14px;
  font:600 13px/1.25 var(--sans,system-ui,sans-serif);letter-spacing:.02em;text-align:center;text-decoration:none;
  color:#fff;
  background:linear-gradient(135deg,var(--purple-deep,#4a1782),var(--purple-mid,#6a45e0));
  border:1px solid rgba(174,154,255,.35);border-radius:0;
  box-shadow:0 18px 40px -22px rgba(124,92,255,.8);
  cursor:pointer;
  transition:background .3s var(--ease,ease),border-color .3s var(--ease,ease);
}
#stcm-wrapper .stcm-button:hover,
#stcm-wrapper .stcm-button-primary:hover{
  background:linear-gradient(135deg,#5b1fa0,var(--purple,#7c5cff));
  border-color:rgba(174,154,255,.7);color:#fff;
}

#stcm-wrapper #stcm-banner .stcm-preferences-button{
  display:inline-flex;align-items:center;gap:0;
  min-height:44px;padding:8px 2px;margin:0;
  font:600 13px/1.2 var(--sans,system-ui,sans-serif);
  color:var(--purple-soft,#ae9aff);
  background:none;border:0;border-radius:0;
  text-decoration:underline;text-underline-offset:4px;text-decoration-thickness:1px;
  cursor:pointer;
}
#stcm-wrapper #stcm-banner .stcm-preferences-button span{text-decoration:inherit;white-space:normal}
#stcm-wrapper #stcm-banner .stcm-preferences-button:hover,
#stcm-wrapper #stcm-banner .stcm-preferences-button span:hover{color:#fff}

/* ---------- focus: site convention (2px gold, 3px offset) ---------- */
#stcm-wrapper #stcm-banner button:focus,
#stcm-wrapper #stcm-modal button:focus,
#stcm-wrapper a:focus,
#stcm-wrapper #stcm-modal .stcm-toggle:focus-within{outline:none;box-shadow:none}
#stcm-wrapper #stcm-banner button:focus-visible,
#stcm-wrapper #stcm-modal button:focus-visible,
#stcm-wrapper a:focus-visible{outline:2px solid var(--gold,#d8bc68);outline-offset:3px;border-radius:0}
#stcm-wrapper #stcm-modal .stcm-toggle:has(input:focus-visible){outline:2px solid var(--gold,#d8bc68);outline-offset:3px;border-radius:0}

/* ---------- preferences dialog ---------- */
#stcm-wrapper #stcm-modal{
  width:min(680px,calc(100vw - 32px));
  max-width:none;
  max-height:calc(100vh - 32px);
  max-height:calc(100dvh - 32px);
  padding:26px 30px 24px;
  opacity:1;transform:none;
  animation:wi-consent-rise .45s var(--ease,ease) both;
}
#stcm-wrapper #stcm-modal header{margin-bottom:16px;gap:16px}
#stcm-wrapper #stcm-modal h1{
  font:700 22px/1.15 var(--display,var(--sans));letter-spacing:-.01em;
  color:var(--paper,#f4f2fa);margin:0;
}
#stcm-wrapper #stcm-modal .stcm-modal-close{
  flex:none;display:inline-flex;align-items:center;justify-content:center;
  width:44px;height:44px;padding:0;
  color:var(--paper,#f4f2fa);background:transparent;
  border:1px solid var(--line-strong,rgba(255,255,255,.18));border-radius:0;
  cursor:pointer;transition:background .25s,border-color .25s;
}
#stcm-wrapper #stcm-modal .stcm-modal-close:hover{background:rgba(255,255,255,.06);border-color:rgba(255,255,255,.45)}
#stcm-wrapper #stcm-modal .stcm-modal-close svg{width:14px;height:14px;fill:currentColor}
#stcm-wrapper #stcm-modal p{
  margin:0 0 12px;
  font:400 14px/1.65 var(--sans,system-ui,sans-serif);
  color:var(--dim,#aaa5bd);opacity:1;
}
#stcm-wrapper #stcm-modal p:last-of-type{margin:0}
#stcm-wrapper #stcm-modal code{font:500 12.5px var(--mono,monospace);color:var(--paper,#f4f2fa);background:rgba(255,255,255,.07);padding:1px 5px}

#stcm-wrapper #stcm-modal section{margin-top:22px;flex:1 1 auto}
#stcm-wrapper #stcm-modal fieldset{
  margin:0;padding:18px 0 0;border:0;
  border-top:1px solid var(--line,rgba(255,255,255,.085));
}
#stcm-wrapper #stcm-modal legend{
  float:left;width:100%;padding:0;margin:0 0 10px;
  font:500 11px/1.3 var(--mono,monospace);letter-spacing:.2em;text-transform:uppercase;
  color:var(--purple-soft,#ae9aff);
}
#stcm-wrapper #stcm-modal legend + *{clear:both}
#stcm-wrapper #stcm-modal .stcm-consent-row{display:flex;justify-content:space-between;align-items:flex-start;gap:24px}
#stcm-wrapper #stcm-modal .stcm-consent-description p{margin:0}

/* Switch: square, labelled On / Off so state never depends on colour alone */
#stcm-wrapper #stcm-modal .stcm-toggle{flex:none;position:relative;display:inline-block;width:78px;height:36px;cursor:pointer}
#stcm-wrapper #stcm-modal .stcm-toggle input{opacity:0;position:absolute;inset:0;width:100%;height:100%;margin:0;cursor:pointer}
#stcm-wrapper #stcm-modal .stcm-toggle-track{
  display:block;position:relative;width:78px;height:36px;
  background:#1b1230;border:1px solid rgba(255,255,255,.45);border-radius:0;box-sizing:border-box;
  transition:background .25s,border-color .25s;
}
#stcm-wrapper #stcm-modal .stcm-toggle-thumb{
  position:absolute;top:5px;left:5px;width:24px;height:24px;border-radius:0;
  background:var(--dim,#aaa5bd);transition:left .2s var(--ease,ease),background .2s;
}
#stcm-wrapper #stcm-modal .stcm-toggle-off,
#stcm-wrapper #stcm-modal .stcm-toggle-on{
  position:absolute;top:50%;transform:translateY(-50%);
  font:500 10px/1 var(--mono,monospace);letter-spacing:.14em;text-transform:uppercase;
  transition:opacity .2s;pointer-events:none;
}
#stcm-wrapper #stcm-modal .stcm-toggle-off{right:9px;left:auto;color:var(--dim,#aaa5bd);opacity:1}
#stcm-wrapper #stcm-modal .stcm-toggle-on{left:11px;right:auto;color:#fff;opacity:0}
#stcm-wrapper #stcm-modal .stcm-toggle input:checked + .stcm-toggle-track{
  background:linear-gradient(135deg,var(--purple-deep,#4a1782),var(--purple-mid,#6a45e0));
  border-color:rgba(174,154,255,.75);
}
#stcm-wrapper #stcm-modal .stcm-toggle input:checked ~ .stcm-toggle-thumb{left:calc(100% - 29px);background:var(--gold,#d8bc68)}
#stcm-wrapper #stcm-modal .stcm-toggle input:checked ~ .stcm-toggle-off{opacity:0;right:9px}
#stcm-wrapper #stcm-modal .stcm-toggle input:checked ~ .stcm-toggle-on{opacity:1;left:11px;right:auto}

#stcm-wrapper #stcm-modal footer{
  display:grid;grid-template-columns:1fr 1fr;gap:10px;
  margin-top:24px;padding-top:20px;
  border-top:1px solid var(--line,rgba(255,255,255,.085));
  flex-direction:initial;align-items:stretch;
}

/* ---------- backdrop: invisible and click-through for the banner, a scrim only behind the dialog ---------- */
#stcm-wrapper #stcm-backdrop{
  position:fixed;inset:0;width:auto;height:auto;
  background:rgba(7,6,12,0);
  -webkit-backdrop-filter:none;backdrop-filter:none;
  pointer-events:none;
  transition:background .35s var(--ease,ease);
}
html.wi-consent-modal #stcm-wrapper #stcm-backdrop{
  background:rgba(7,6,12,.74);
  -webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px);
  pointer-events:auto;
}

/* Keep the end of the page reachable while the banner is showing. */
html.wi-consent-banner body{padding-bottom:calc(var(--wi-consent-h,0px) + 28px)}

/* Footer and Cookie Notice trigger */
.footer-stat .wi-consent-link{
  appearance:none;-webkit-appearance:none;
  background:none;border:0;padding:0;margin:0;
  font:inherit;letter-spacing:inherit;text-transform:inherit;
  color:var(--dim,#aaa5bd);cursor:pointer;text-decoration:none;
}
.footer-stat .wi-consent-link:hover{color:#fff}
html.no-js [data-wi-consent-open]{display:none}

@keyframes wi-consent-rise{from{opacity:0;transform:translateY(14px)}to{opacity:1;transform:none}}

/* ---------- small screens ---------- */
@media(max-width:560px){
  #stcm-wrapper #stcm-banner,
  #stcm-wrapper #stcm-banner.stcm-pos-bottom-left{
    left:10px;right:10px;
    bottom:10px;bottom:max(10px,env(safe-area-inset-bottom));
    width:auto;
    max-height:calc(100vh - 20px);max-height:calc(100dvh - 20px);
    padding:18px 18px 8px;
    overflow:auto;
  }
  #stcm-wrapper #stcm-banner .wi-title{font-size:19px}
  #stcm-wrapper #stcm-banner p{font-size:13px}
  #stcm-wrapper .stcm-button,#stcm-wrapper .stcm-button-primary{font-size:12.5px;padding:10px 8px;min-height:48px}
  #stcm-wrapper #stcm-banner .stcm-actions{margin-top:14px}
  #stcm-wrapper #stcm-modal{
    width:calc(100vw - 20px);
    max-height:calc(100vh - 20px);max-height:calc(100dvh - 20px);
    padding:20px 18px 18px;
  }
  #stcm-wrapper #stcm-modal h1{font-size:19px}
  #stcm-wrapper #stcm-modal .stcm-consent-row{gap:16px}
  #stcm-wrapper #stcm-modal footer{grid-template-columns:1fr}
}

/* ---------- reduced motion: show everything immediately ---------- */
@media(prefers-reduced-motion:reduce){
  #stcm-wrapper #stcm-banner,
  #stcm-wrapper #stcm-modal{animation:none;opacity:1;transform:none}
  #stcm-wrapper *{transition:none!important}
  #stcm-wrapper #stcm-backdrop{transition:none}
}

@media(forced-colors:active){
  #stcm-wrapper #stcm-banner,#stcm-wrapper #stcm-modal{border:1px solid CanvasText;box-shadow:none}
  #stcm-wrapper .stcm-button,#stcm-wrapper .stcm-button-primary{border:1px solid ButtonText}
}
