/* High contrast on the member site and the landing page (Ben, Nov 1: one switch in Settings → Display, on every EVEX
   site). The server puts class "hc" on <html> when the account (or this browser's evex_hc cookie) has it on. Same rules
   as the tools' high contrast: black background, white text, bright meaning colors, 2px borders, bigger small text,
   no glows, blurs or see-through panels. Written as plain CSS because the member site's security policy blocks the
   tools' script-built twin stylesheets. */
html.hc{--bg:#000;--bg2:#000;--panel:#000;--panel2:#000;--line:#bdbdbd;--line2:#bdbdbd;--text:#fff;--soft:#fff;--muted:#e8e8e8;
  --cyan:#ffe600;--gold:#ffe600;--amber:#ffe600;--violet:#c4aaff;--green:#00ff80;--red:#ff5c5c;
  background:#000!important;color-scheme:dark}
html.hc body{background:#000!important;color:#fff}
html.hc .aurora,html.hc .intro,html.hc .sheen{display:none!important}
html.hc *,html.hc *::before,html.hc *::after{text-shadow:none!important;backdrop-filter:none!important;-webkit-backdrop-filter:none!important;animation:none!important;transition:none!important}
html.hc img,html.hc svg{filter:none!important}

/* panels: solid black, a clear 2px border, no shadows */
html.hc .card,html.hc .lv-card,html.hc .lv-hero,html.hc .tile,html.hc .gp,html.hc .lk,html.hc .pl-box,html.hc .top,html.hc header,
html.hc .codes,html.hc .subs li,html.hc .keys li,html.hc details,html.hc .faq-item,html.hc .lp-day,html.hc .rr{
  background:#000!important;border:2px solid #bdbdbd!important;box-shadow:none!important}
html.hc .top,html.hc header{border-width:0 0 2px!important}
html.hc .card::before,html.hc .pl-box::before,html.hc .gp::before{display:none!important}
html.hc .lv-frame,html.hc .pl-frame{box-shadow:none!important;border:2px solid #bdbdbd}

/* text: white; small print no smaller than 13px */
html.hc h1,html.hc h2,html.hc h3,html.hc h4,html.hc p,html.hc li,html.hc dt,html.hc dd,html.hc label,html.hc td,html.hc th,
html.hc small,html.hc .sub,html.hc .help,html.hc .muted,html.hc .lv-sec-head p,html.hc .lv-card p,html.hc .lv-info p{color:#fff!important}
html.hc .help,html.hc .muted,html.hc small,html.hc .lv-card p:last-child{font-size:max(13px,1em)!important}
html.hc .eyebrow,html.hc .lv-k,html.hc .lv-eb,html.hc .pl-k,html.hc .mich{color:#ffe600!important}   /* wide Michroma labels keep their size (no clipping) */
html.hc .eve-name{background:none!important;-webkit-background-clip:border-box!important;background-clip:border-box!important;
  color:#ffe600!important;-webkit-text-fill-color:#ffe600!important}

/* links and focus: yellow, underlined, a thick focus ring */
html.hc a{color:#ffe600!important;text-decoration:underline;text-underline-offset:3px}
html.hc :focus-visible{outline:3px solid #ffe600!important;outline-offset:3px}

/* buttons: solid yellow with black text; secondary = white outline */
html.hc .btn,html.hc .btn-gold,html.hc .pl-btn,html.hc button[type=submit]:not(.tog):not(.ghost):not(.btn-glass){
  background:#ffe600!important;color:#000!important;border:2px solid #ffe600!important;box-shadow:none!important;text-decoration:none!important}
html.hc .btn.ghost,html.hc .btn-glass,html.hc .btn-line,html.hc .navlink,html.hc .pl-x,html.hc .learn-cta{
  background:#000!important;color:#fff!important;border:2px solid #fff!important;box-shadow:none!important;text-decoration:none!important}
html.hc .navlink.on,html.hc .navlink[aria-current]{background:#fff!important;color:#000!important}
html.hc .btn.danger{color:#ff5c5c!important;border-color:#ff5c5c!important;background:#000!important}
html.hc .pl-btn svg path{fill:#000}

/* forms */
html.hc input,html.hc select,html.hc textarea{background:#000!important;color:#fff!important;border:2px solid #fff!important;box-shadow:none!important}
html.hc input::placeholder{color:#bdbdbd}
html.hc .tog{background:#ffe600!important;border:2px solid #ffe600!important}
html.hc .tog.off{background:#000!important;border:2px solid #fff!important}
html.hc .tog::after,html.hc .tog::before{background:#000!important}
html.hc .tog.off::after,html.hc .tog.off::before{background:#fff!important}

/* status words keep their meaning, as bright as possible on black */
html.hc .okb,html.hc .pill.ok,html.hc .ok{color:#00ff80!important;border-color:#00ff80!important}
html.hc .warnb,html.hc .warn{color:#ffe600!important;border-color:#ffe600!important}
html.hc .red,html.hc .err,html.hc .danger{color:#ff5c5c!important;border-color:#ff5c5c!important}
html.hc .mini,html.hc .pill,html.hc .chip-soon,html.hc .tagc,html.hc .lab{background:#000!important;border:2px solid currentColor!important}
html.hc .note{background:#000!important;color:#fff!important;border:2px solid #ffe600!important}

/* the video player */
html.hc .pl-modal::backdrop{background:#000;backdrop-filter:none}
html.hc .pl-len{background:#000!important;border:1px solid #fff;color:#fff!important}
html.hc .pl-thumb::after{display:none}
