
    :root {
        --text: #565656;
--links: #E5352E;
--titles: #CC516D;
--page-background: #F6F8FB;
--highlight: #bedead;
--boxes-background: #FFFFFF;
--boxes-border: #CBD2DB;
--section-titles: #BA0129;
--section-titles-background: #F6F8FB;
--header-background: #f5faf3;
--header-links: #728568;
--footer-background: #FFFFFF;
--footer-links: #E5352E;
--titles-h1-font-size: 2.2143rem;
--titles-h1-font-weight: 700;
--titles-h1-color: #CC516D;
--titles-h2-font-size: 1.5714rem;
--titles-h2-font-weight: 700;
--titles-h2-color: #CC516D;
--titles-h3-font-size: 1.2857rem;
--titles-h3-font-weight: 700;
--titles-h3-color: #CC516D;
--texts-primary-font-size: 1.1429rem;
--texts-primary-color: #565656;
--texts-secondary-font-size: 1.0000rem;
--texts-secondary-color: #565656;
--texts-link-color: #E5352E;
    }
    
/* ============================================================
   oldschool.css — Win95 / Geocities aesthetic
   Strategy: element selectors + ARIA roles + wildcard class
   attrs to punch through dynamic/hashed React class names.
   ============================================================ */


/* ================================================================
   1. TOKENS
   ================================================================ */
:root {
  --os-bg:         #008080;
  --os-win-bg:     #c0c0c0;
  --os-win-title:  #000080;
  --os-text:       #000000;
  --os-link:       #0000ee;
  --os-link-v:     #551a8b;
  --os-link-h:     #ee0000;
  --os-border-lt:  #ffffff;
  --os-border-dk:  #808080;
  --os-border-dkk: #404040;

  /* ---- Override Huwise/ODS CSS custom properties ---- */
  --ods-color-bg:                  #c0c0c0 !important;
  --ods-color-surface:             #c0c0c0 !important;
  --ods-color-primary:             #000080 !important;
  --ods-color-primary-hover:       #0000aa !important;
  --ods-color-text:                #000000 !important;
  --ods-color-link:                #0000ee !important;
  --ods-color-border:              #808080 !important;
  --ods-border-radius:             0       !important;
  --ods-border-radius-sm:          0       !important;
  --ods-border-radius-md:          0       !important;
  --ods-border-radius-lg:          0       !important;
  --ods-font-family:               "Arial","Helvetica",sans-serif !important;
}

/* ================================================================
   2. GLOBAL RESETS — kill rounded corners, shadows, transitions
   ================================================================ */
*,
*::before,
*::after {
  border-radius:  0 !important;
  box-shadow:     none !important;
  /* keep transitions short so the UI still feels interactive */
  transition-duration: 0s !important;
  animation-timing-function: step-start !important;
}

/* ================================================================
   3. PAGE BODY — teal desktop
   ================================================================ */
html, body {
  background-color: var(--os-bg) !important;
  background-image: repeating-linear-gradient(
    45deg,
    transparent        0px,  transparent        4px,
    rgba(0,0,0,.06)    4px,  rgba(0,0,0,.06)    8px
  ) !important;
  font-family: "Arial","Helvetica",sans-serif !important;
  font-size:   13px !important;
  color:       #000 !important;
  margin:      4px  !important;
}

/* ================================================================
   4. TYPOGRAPHY — kill custom fonts/colors coming from theme
   ================================================================ */
h1, h2, h3, h4, h5, h6,
[class*="title"], [class*="Title"],
[class*="heading"], [class*="Heading"] {
  font-family: "Arial","Helvetica",sans-serif !important;
  color:       #000000 !important;
  text-shadow: none !important;
}

p, span, li, td, th, label, figcaption,
[class*="text"], [class*="Text"],
[class*="description"], [class*="Description"] {
  font-family: "Arial","Helvetica",sans-serif !important;
  color:       #000000 !important;
}

/* ================================================================
   5. LINKS — classic browser defaults
   ================================================================ */
a, a:link {
  color:           #0000ee !important;
  text-decoration: underline !important;
}
a:visited { color: #551a8b !important; }
a:hover   { color: #ee0000 !important; }
a:active  { color: #ee0000 !important; }

/* ================================================================
   6. HEADER / NAV — Win95 toolbar
   ================================================================ */
header, [role="banner"],
nav, [role="navigation"],
.ods-front-header,
header[class*="header"], header[class*="Header"],
nav[class*="navbar"], nav[class*="NavBar"],
div[class*="topbar"], div[class*="TopBar"] {
  background:    var(--os-win-bg) !important;
  color:         #000 !important;
  border-bottom: 2px solid var(--os-border-dkk) !important;
  box-shadow:    none !important;
}

/* Brand / portal name */
.ods-front-header__portal-brand,
.ods-front-header__portal-brand:hover {
  background: linear-gradient(to right, #000080, #1084d0) !important;
  color:      #fff !important;
  text-decoration: none !important;
  padding: 4px 12px !important;
}

.ods-front-header__portal-brand__text {
  font-family: "VT323", monospace !important;
  font-size:   24px !important;
  color:       #fff !important;
  letter-spacing: 1px !important;
  line-height: 1 !important;
}

/* Nav links */
.ods-front-header__menu-item-link,
.ods-front-header__link {
  font-family: "Arial", sans-serif !important;
  font-size:   12px !important;
  font-weight: bold !important;
  color:       #000 !important;
  text-decoration: none !important;
  background:  var(--os-win-bg) !important;
  border:      none !important;
}

.ods-front-header__menu-item-link:hover {
  background:  #000080 !important;
  color:       #fff !important;
}

.ods-front-header__menu-item--active .ods-front-header__menu-item-link,
.ods-front-header__menu-item-link--active {
  border-top:  1px solid var(--os-border-dkk) !important;
  border-left: 1px solid var(--os-border-dkk) !important;
}

/* ================================================================
   7. MAIN CONTENT AREA — raised Win95 window
   ================================================================ */
main, [role="main"], #main {
  background:    var(--os-win-bg) !important;
  border-top:    2px solid var(--os-border-lt)  !important;
  border-left:   2px solid var(--os-border-lt)  !important;
  border-right:  2px solid var(--os-border-dkk) !important;
  border-bottom: 2px solid var(--os-border-dkk) !important;
  color:         #000 !important;
}

/* ================================================================
   8. BUTTONS — Win95 raised 3D buttons
   ================================================================ */
button,
[role="button"],
input[type="button"],
input[type="submit"],
input[type="reset"],
a[class*="button"], a[class*="Button"],
a[class*="btn"], a[class*="Btn"] {
  background:    var(--os-win-bg) !important;
  color:         #000 !important;
  border-top:    2px solid var(--os-border-lt)  !important;
  border-left:   2px solid var(--os-border-lt)  !important;
  border-right:  2px solid var(--os-border-dkk) !important;
  border-bottom: 2px solid var(--os-border-dkk) !important;
  border-radius: 0 !important;
  font-family:   "Arial", sans-serif !important;
  font-size:     12px !important;
  cursor:        pointer !important;
  padding:       3px 10px !important;
  text-decoration: none !important;
}

button:hover,
[role="button"]:hover,
a[class*="button"]:hover,
a[class*="Button"]:hover,
a[class*="btn"]:hover {
  background: #d4d0c8 !important;
  color:      #000 !important;
}

button:active,
[role="button"]:active,
a[class*="button"]:active,
a[class*="Button"]:active,
a[class*="btn"]:active {
  border-top:    2px solid var(--os-border-dkk) !important;
  border-left:   2px solid var(--os-border-dkk) !important;
  border-right:  2px solid var(--os-border-lt)  !important;
  border-bottom: 2px solid var(--os-border-lt)  !important;
}

/* ================================================================
   9. INPUTS / SEARCH — Win95 sunken fields
   ================================================================ */
input, textarea, select,
input[class*="input"], input[class*="Input"],
input[class*="search"], input[class*="Search"],
[role="searchbox"], [role="combobox"], [role="textbox"] {
  background:    #ffffff !important;
  color:         #000000 !important;
  border-top:    2px solid var(--os-border-dkk) !important;
  border-left:   2px solid var(--os-border-dkk) !important;
  border-right:  2px solid var(--os-border-lt)  !important;
  border-bottom: 2px solid var(--os-border-lt)  !important;
  border-radius: 0 !important;
  font-family:   "Arial", sans-serif !important;
  font-size:     12px !important;
  padding:       2px 4px !important;
  outline:       none !important;
}

input:focus, textarea:focus {
  outline: 1px dotted #000 !important;
}

/* ================================================================
   10. CARDS — Win95 raised panels
   ================================================================ */
[class*="card"],   [class*="Card"],
[class*="tile"],   [class*="Tile"],
[class*="result"], [class*="Result"],
article,
[role="article"],
[role="listitem"] {
  background:    var(--os-win-bg) !important;
  color:         #000 !important;
  border-top:    2px solid var(--os-border-lt)  !important;
  border-left:   2px solid var(--os-border-lt)  !important;
  border-right:  2px solid var(--os-border-dkk) !important;
  border-bottom: 2px solid var(--os-border-dkk) !important;
  border-radius: 0 !important;
  box-shadow:    none !important;
}

[class*="card"]:hover,   [class*="Card"]:hover,
[class*="tile"]:hover,   [class*="Tile"]:hover {
  border-top:    2px solid var(--os-border-dkk) !important;
  border-left:   2px solid var(--os-border-dkk) !important;
  border-right:  2px solid var(--os-border-lt)  !important;
  border-bottom: 2px solid var(--os-border-lt)  !important;
  background:    #d4d0c8 !important;
}

/* ================================================================
   11. SIDEBAR / FILTERS — inset sunken panel
   ================================================================ */
aside, [role="complementary"],
[class*="sidebar"], [class*="Sidebar"],
[class*="filter"],  [class*="Filter"],
[class*="facet"],   [class*="Facet"],
[class*="panel"],   [class*="Panel"] {
  background:    var(--os-win-bg) !important;
  border-top:    2px solid var(--os-border-dkk) !important;
  border-left:   2px solid var(--os-border-dkk) !important;
  border-right:  2px solid var(--os-border-lt)  !important;
  border-bottom: 2px solid var(--os-border-lt)  !important;
}

/* ================================================================
   12. MODALS / DIALOGS — Win95 dialog box
   ================================================================ */
dialog, [role="dialog"],
[class*="modal"], [class*="Modal"],
[class*="dialog"], [class*="Dialog"],
[class*="popup"], [class*="Popup"] {
  background:    var(--os-win-bg) !important;
  border-top:    2px solid var(--os-border-lt)  !important;
  border-left:   2px solid var(--os-border-lt)  !important;
  border-right:  2px solid var(--os-border-dkk) !important;
  border-bottom: 2px solid var(--os-border-dkk) !important;
  border-radius: 0 !important;
  box-shadow:    4px 4px 0 #000 !important;
}

/* ================================================================
   13. TABLES
   ================================================================ */
table {
  border-collapse: collapse !important;
  background:      var(--os-win-bg) !important;
}
th {
  background:  #000080 !important;
  color:       #fff !important;
  font-family: "Arial", sans-serif !important;
  font-size:   12px !important;
  padding:     3px 8px !important;
  text-align:  left !important;
}
td {
  padding:       2px 8px !important;
  border-bottom: 1px solid var(--os-border-dk) !important;
  font-family:   "Arial", sans-serif !important;
  font-size:     12px !important;
}
tr:nth-child(even) td { background: #d4d0c8 !important; }

/* ================================================================
   14. DROPDOWNS / MENUS
   ================================================================ */
ul[class*="dropdown"], div[class*="dropdown"],
ul[class*="menu"],     div[class*="menu"],
div[class*="popover"], div[class*="Popover"],
[role="listbox"],      [role="menu"] {
  background:    var(--os-win-bg) !important;
  border-top:    2px solid var(--os-border-lt)  !important;
  border-left:   2px solid var(--os-border-lt)  !important;
  border-right:  2px solid var(--os-border-dkk) !important;
  border-bottom: 2px solid var(--os-border-dkk) !important;
  border-radius: 0 !important;
  box-shadow:    2px 2px 0 #404040 !important;
}

[role="option"], [role="menuitem"] {
  font-family: "Arial", sans-serif !important;
  font-size:   12px !important;
  color:       #000 !important;
}

[role="option"]:hover,
[role="option"][aria-selected="true"],
[role="menuitem"]:hover {
  background: #000080 !important;
  color:      #fff !important;
}

/* ================================================================
   15. PAGINATION
   ================================================================ */
[class*="pagination"], [class*="Pagination"],
[class*="pager"],      [class*="Pager"] {
  background:    var(--os-win-bg) !important;
  border-top:    1px solid var(--os-border-dk) !important;
  border-radius: 0 !important;
  padding:       4px !important;
}

/* ================================================================
   16. CHIPS / TAGS / BADGES
   ================================================================ */
[class*="chip"],    [class*="Chip"],
[class*="tag"],     [class*="Tag"],
[class*="badge"],   [class*="Badge"] {
  background:    var(--os-win-bg) !important;
  color:         #000 !important;
  border:        1px solid var(--os-border-dk) !important;
  border-radius: 0 !important;
  font-family:   "Arial", sans-serif !important;
  font-size:     11px !important;
}

/* ================================================================
   17. THUMBNAILS / IMAGES
   ================================================================ */
[class*="thumbnail"], [class*="Thumbnail"],
[class*="preview"],   [class*="Preview"],
[class*="cover"],     [class*="Cover"] {
  border: 2px inset var(--os-border-dk) !important;
}

/* ================================================================
   18. FOOTER — Win95 status bar
   ================================================================ */
footer, [role="contentinfo"],
.ods-front-footer,
[class*="footer"], [class*="Footer"] {
  background:    var(--os-win-bg) !important;
  color:         #000 !important;
  border-top:    2px solid var(--os-border-dkk) !important;
  border-radius: 0 !important;
  font-family:   "Arial", sans-serif !important;
  font-size:     11px !important;
}

footer a, [role="contentinfo"] a,
.ods-front-footer a {
  color:           #0000ee !important;
  text-decoration: underline !important;
}

/* ================================================================
   19. SCROLLBARS (Chromium)
   ================================================================ */
::-webkit-scrollbar        { width: 16px; height: 16px; }
::-webkit-scrollbar-track { background: var(--os-win-bg); }
::-webkit-scrollbar-thumb {
  background:    var(--os-win-bg);
  border-top:    2px solid var(--os-border-lt);
  border-left:   2px solid var(--os-border-lt);
  border-right:  2px solid var(--os-border-dkk);
  border-bottom: 2px solid var(--os-border-dkk);
}
::-webkit-scrollbar-button {
  background:    var(--os-win-bg);
  border-top:    2px solid var(--os-border-lt);
  border-left:   2px solid var(--os-border-lt);
  border-right:  2px solid var(--os-border-dkk);
  border-bottom: 2px solid var(--os-border-dkk);
  display: block;
  height: 16px; width: 16px;
}

/* ================================================================
   20. UTILITY CLASSES (custom EJS pages)
   ================================================================ */

/* Raised panel */
.os-panel {
  background:    var(--os-win-bg);
  border-top:    2px solid var(--os-border-lt);
  border-left:   2px solid var(--os-border-lt);
  border-right:  2px solid var(--os-border-dkk);
  border-bottom: 2px solid var(--os-border-dkk);
  padding: 2px;
}

/* Window with title bar */
.os-window {
  background:    var(--os-win-bg);
  border-top:    2px solid var(--os-border-lt);
  border-left:   2px solid var(--os-border-lt);
  border-right:  2px solid var(--os-border-dkk);
  border-bottom: 2px solid var(--os-border-dkk);
  margin-bottom: 12px;
}

.os-window__titlebar {
  background: linear-gradient(to right, #000080, #1084d0);
  color:       #fff;
  font-family: "VT323", monospace;
  font-size:   18px;
  font-weight: bold;
  padding:     2px 6px;
  display:     flex;
  align-items: center;
  justify-content: space-between;
  user-select: none;
}

.os-window__titlebar-btns { display: flex; gap: 2px; }

.os-window__btn {
  display:     inline-block;
  width: 16px; height: 14px;
  background:    var(--os-win-bg);
  border-top:    1px solid var(--os-border-lt);
  border-left:   1px solid var(--os-border-lt);
  border-right:  1px solid var(--os-border-dkk);
  border-bottom: 1px solid var(--os-border-dkk);
  font-size:   9px;
  line-height: 14px;
  text-align:  center;
  cursor:      pointer;
  color:       #000;
}

.os-window__content { padding: 8px; }

/* Sunken inset */
.os-inset {
  border-top:    2px solid var(--os-border-dkk);
  border-left:   2px solid var(--os-border-dkk);
  border-right:  2px solid var(--os-border-lt);
  border-bottom: 2px solid var(--os-border-lt);
  background: #fff;
  padding: 4px;
}

/* Marquee */
.os-marquee {
  overflow:    hidden;
  white-space: nowrap;
  background:  #000;
  color:       #0f0;
  font-family: "VT323", monospace;
  font-size:   18px;
  padding:     2px 0;
}
.os-marquee__inner {
  display:   inline-block;
  animation: os-scroll 18s linear infinite;
}
@keyframes os-scroll {
  from { transform: translateX(100vw); }
  to   { transform: translateX(-100%); }
}

/* Blink */
.os-blink { animation: os-blink 1s step-start infinite; }
@keyframes os-blink {
  0%, 100% { opacity: 1; }
  50%      { opacity: 0; }
}

/* Badge */
.os-badge {
  display:       inline-block;
  background:    #000080;
  color:         #ffff00;
  font-family:   "VT323", monospace;
  font-size:     20px;
  padding:       2px 8px;
  border:        2px solid #ffff00;
  letter-spacing: 2px;
}

/* Pixel font */
.os-pixel {
  font-family: "Press Start 2P", monospace;
  font-size:   10px;
  line-height: 1.8;
}

/* Status bar */
.os-statusbar {
  background: var(--os-win-bg);
  border-top: 2px solid var(--os-border-dkk);
  font-size:  12px;
  padding:    2px 8px;
  display:    flex;
  gap:        4px;
}
.os-statusbar__cell {
  border-top:    1px solid var(--os-border-dkk);
  border-left:   1px solid var(--os-border-dkk);
  border-right:  1px solid var(--os-border-lt);
  border-bottom: 1px solid var(--os-border-lt);
  padding: 0 6px;
  flex: 1;
}

/* ================================================================
   21. GEOCITIES MODE — add class="os-geocities" to <body>
   ================================================================ */
body.os-geocities,
body.os-geocities * {
  font-family: "Comic Sans MS","Comic Sans",cursive !important;
}
body.os-geocities {
  background-color: #000033 !important;
  color:            #ffff00 !important;
}
body.os-geocities header,
body.os-geocities nav,
body.os-geocities [role="banner"],
body.os-geocities .ods-front-header {
  background: #000033 !important;
  border-color: #ff00ff !important;
}
body.os-geocities a { color: #ff00ff !important; }
body.os-geocities a:hover { color: #00ffff !important; }

/* ================================================================
   22. KITSCH — rainbows, blinks, sparkles
   ================================================================ */

/* ---- Rainbow text cycle (apply to headings automatically) 
@keyframes os-rainbow-text {
  0%   { color: #ff0000; }
  14%  { color: #ff7700; }
  28%  { color: #ffff00; }
  42%  { color: #00cc00; }
  57%  { color: #0000ff; }
  71%  { color: #8b00ff; }
  85%  { color: #ff00ff; }
  100% { color: #ff0000; }
}---- */

h1, h2, h3 {
  animation: os-rainbow-text 3s linear infinite !important;
}

/* ---- Rainbow animated border on cards ---- */
@keyframes os-rainbow-border {
  0%   { border-color: #ff0000 #800000 #800000 #ff0000; }
  16%  { border-color: #ff7700 #7a3900 #7a3900 #ff7700; }
  33%  { border-color: #ffff00 #808000 #808000 #ffff00; }
  50%  { border-color: #00cc00 #006600 #006600 #00cc00; }
  66%  { border-color: #0000ff #000080 #000080 #0000ff; }
  83%  { border-color: #ff00ff #800080 #800080 #ff00ff; }
  100% { border-color: #ff0000 #800000 #800000 #ff0000; }
}

[class*="card"],  [class*="Card"],
[class*="tile"],  [class*="Tile"],
article, [role="article"] {
  animation: os-rainbow-border 2s linear infinite !important;
}

/* ---- Body background: animated rainbow scanlines over the teal ---- */
@keyframes os-bg-pulse {
  0%   { background-color: #008080; }
  20%  { background-color: #006080; }
  40%  { background-color: #004080; }
  60%  { background-color: #200080; }
  80%  { background-color: #400060; }
  100% { background-color: #008080; }
}

html, body {
  animation: os-bg-pulse 8s linear infinite !important;
}

/* ---- Glowing pulse on active nav item (no blink) ---- */
@keyframes os-glow-pulse {
  0%,100% { text-shadow: 0 0 4px #000080, 0 0 8px #000080; }
  50%     { text-shadow: 0 0 2px #000080; }
}

.ods-front-header__menu-item--active
.ods-front-header__menu-item-link,
.ods-front-header__menu-item-link--active {
  animation: os-glow-pulse 2s ease-in-out infinite !important;
}

/* ---- Shimmer sweep on cards instead of blinking badge ---- */
@keyframes os-shimmer {
  0%   { background-position: -200% center; }
  100% { background-position:  200% center; }
}

[class*="card"]::after,
[class*="Card"]::after,
article::after {
  content:  "";
  display:  block;
  height:   2px;
  background: linear-gradient(
    90deg,
    transparent 0%,
    #ff0000 15%, #ff7700 30%, #ffff00 45%,
    #00cc00 55%, #0000ff 70%, #ff00ff 85%,
    transparent 100%
  );
  background-size: 200% auto;
  animation: os-shimmer 2s linear infinite;
}

/* ---- Rainbow scrolling banner at the very top of the page ---- */
body::before {
  content:"“Because unceasingly we are bombarded with pseudo-realities manufactured by very sophisticated people using very sophisticated electronic mechanisms. I do not distrust their motives; I distrust their power. They have a lot of it. And it is an astonishing power: that of creating whole universes, universes of the mind. I ought to know. I do the same thing” — Philip K. Dick";
  display:     block;
  white-space: nowrap;
  background:  #000000;
  color:       #00ff00;
  font-family: "VT323", monospace;
  font-size:   16px;
  width :4799px;
  font-weight: bold;
  letter-spacing: 2px;
  padding:     2px 0;
  animation:   os-scroll 25s linear infinite !important;
  position:    fixed;
  top:         0;
  left:        0;
  right:       0;
  z-index:     99999;
}

/* Push content down so the banner doesn't overlap the header */
body {
  padding-top: 24px !important;
}

/* ---- Rainbow footer text ---- */
.ods-front-footer,
footer,
[role="contentinfo"] {
  animation: os-rainbow-border 3s linear infinite !important;
  border-width: 3px !important;
}

/* ---- Spinning ★ cursor trail on the portal brand ---- */
@keyframes os-spin {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}

.ods-front-header__portal-brand::before {
  content:   "★";
  display:   inline-block;
  animation: os-spin 1.5s linear infinite;
  margin-right: 6px;
  color:     #ffff00;
}

/* ---- Rainbow EXPLOSION hover — 3rd nav item only ---- */
/* Two jagged starburst polygons that spin + scale from a tiny point,
   giving a chaotic debris/shrapnel feel rather than smooth waves. */

@keyframes os-boom-a {
  0%   { transform: scale(0.05) rotate(0deg);  opacity: 1;    }
  40%  { opacity: 0.9; }
  100% { transform: scale(3.8)  rotate(60deg); opacity: 0;    }
}

@keyframes os-boom-b {
  0%   { transform: scale(0.05) rotate(0deg);  opacity: 1;    }
  40%  { opacity: 0.9; }
  100% { transform: scale(4.5)  rotate(-50deg); opacity: 0;   }
}

.ods-front-header__menu,
.ods-front-header__menu-item:nth-child(3) {
  overflow: visible !important;
}

.ods-front-header__menu-item:nth-child(3)
.ods-front-header__menu-item-link {
  position:  relative !important;
  z-index:   1        !important;
  isolation: isolate  !important;
}

.ods-front-header__menu-item:nth-child(3)
.ods-front-header__menu-item-link:hover::before,
.ods-front-header__menu-item:nth-child(3)
.ods-front-header__menu-item-link:hover::after {
  content:        ""       !important;
  position:       absolute !important;
  inset:          -8px     !important;   /* bleed past the link bounds */
  pointer-events: none     !important;
  z-index:        -1       !important;
  border-radius:  0        !important;
}

/* First burst — 10-spike jagged shrapnel, clockwise spin */
.ods-front-header__menu-item:nth-child(3)
.ods-front-header__menu-item-link:hover::before {
  background: conic-gradient(
    #ff0000  0deg,  #ff7700  36deg,
    #ffff00  72deg, #00cc00 108deg,
    #0099ff 144deg, #8800ff 180deg,
    #ff00ff 216deg, #ff0055 252deg,
    #ff7700 288deg, #ff0000 360deg
  ) !important;
  clip-path: polygon(
    50%  0%,  63% 23%, 90%  8%,  77% 33%,
    100% 28%, 76% 50%, 98%  72%, 73% 65%,
    84%  96%, 57% 73%, 50% 100%, 43% 73%,
    16%  96%, 27% 65%, 2%  72%,  24% 50%,
    0%   28%, 23% 33%, 10%  8%,  37% 23%
  ) !important;
  animation: os-boom-a 0.5s cubic-bezier(0.1, 0.6, 0.3, 1) infinite !important;
}

/* Second burst — different spike layout, counter-clockwise, offset start */
.ods-front-header__menu-item:nth-child(3)
.ods-front-header__menu-item-link:hover::after {
  background: conic-gradient(
    #ffff00  0deg,  #00cc00  51deg,
    #0099ff 102deg, #8800ff 153deg,
    #ff00ff 204deg, #ff0000 255deg,
    #ff7700 306deg, #ffff00 360deg
  ) !important;
  clip-path: polygon(
    50%  3%,  61% 27%, 86%  6%,  71% 32%,
    98%  36%, 67% 52%, 93%  74%, 62% 67%,
    74%  99%, 51% 71%, 44% 100%, 32% 70%,
    18%  96%, 31% 62%, 1%   66%, 29% 48%,
    4%   25%, 34% 37%, 14%   9%, 38% 27%
  ) !important;
  animation: os-boom-b 0.5s 0.25s cubic-bezier(0.1, 0.6, 0.3, 1) infinite !important;
}

/* ---- Rainbow link hover (every link gets neon green glow) ---- */
a:hover {
  color:       #00ff00 !important;
  text-shadow: 0 0 4px #00ff00, 0 0 8px #00ff00 !important;
  text-decoration: underline !important;
}

/* ---- Utility: .os-rainbow — rainbow text on any element ---- 
.os-rainbow {
  animation: os-rainbow-text 2s linear infinite;
}*/

/* ---- Utility: .os-flash — red/yellow flash ---- */
@keyframes os-flash {
  0%, 49% { background: #ff0000; color: #ffff00; }
  50%, 100% { background: #ffff00; color: #ff0000; }
}
.os-flash {
  animation: os-flash 0.5s step-start infinite;
  font-family: "VT323", monospace;
  font-size: 18px;
  padding: 2px 8px;
  display: inline-block;
}

/* ---- Utility: .os-marquee-rainbow — green-on-black scrolling text ---- */
.os-marquee-rainbow {
  overflow:    hidden;
  white-space: nowrap;
  background:  #000;
  font-family: "VT323", monospace;
  font-size:   20px;
  padding:     3px 0;
}
.os-marquee-rainbow .os-marquee__inner {
  animation: os-scroll 20s linear infinite;
}

/* ================================================================
   23. UNHINGED EXTRAS
   ================================================================ */

/* ---- CRT scanlines — fixed overlay on the whole viewport ---- */
body::after {
  content:        ""       !important;
  position:       fixed    !important;
  inset:          0        !important;
  background: repeating-linear-gradient(
    0deg,
    transparent          0px,
    transparent          3px,
    rgba(0,0,0,.13)      3px,
    rgba(0,0,0,.13)      4px
  ) !important;
  pointer-events: none     !important;
  z-index:        99990    !important;
}

/* ---- Chromatic glitch on headings — sporadic, not constant ---- */
@keyframes os-glitch {
  0%,  87%, 100% { text-shadow: none; transform: none; }
  88%  { text-shadow: -4px 0 #ff0000,  4px 0 #00ffff; transform: skewX(-3deg) translateX(-3px); }
  90%  { text-shadow:  4px 0 #ff0000, -4px 0 #00ffff; transform: skewX( 3deg) translateX( 3px); }
  92%  { text-shadow: -2px 0 #00ff00,  2px 0 #ff00ff; transform: skewX(-1deg); }
  94%  { text-shadow: none; transform: skewX(1deg); }
}

h1, h2, h3 {
  animation:      os-rainbow-text 3s linear infinite,
                  os-glitch 5s step-end infinite  !important;
  text-transform: uppercase   !important;
  letter-spacing: 3px         !important;
  font-weight:    900         !important;
}

/* ---- Neon sign flicker on the portal brand name ---- */
@keyframes os-neon-flicker {
  0%,  18%,  22%,  25%,  53%,  57%,  100% {
    text-shadow:
      0 0  4px #fff,
      0 0 10px #fff,
      0 0 20px #ff00ff,
      0 0 40px #ff00ff,
      0 0 80px #ff00ff;
    opacity: 1;
  }
  20%,  24%,  55% {
    text-shadow: none;
    opacity: 0.6;
  }
}

.ods-front-header__portal-brand__text {
  animation: os-neon-flicker 4s infinite !important;
  color:      #fff !important;
}


/* ---- #main gently floats + rainbow border ---- */
@keyframes os-float {
  0%,  100% { transform: translateY(0px); }
  50%       { transform: translateY(-4px); }
}

#main {
  animation:    os-float 5s ease-in-out infinite,
                os-rainbow-border 2.5s linear infinite !important;
  border-width: 3px !important;
}

/* ---- Checkerboard on footer ---- */
.ods-front-footer, footer, [role="contentinfo"] {
  background-image: repeating-conic-gradient(
    #c0c0c0 0% 25%, #a8a8a8 0% 50%
  ) !important;
  background-size: 8px 8px !important;
}

/* ---- Spinning ✦ appended on all OTHER nav item hovers ---- */
.ods-front-header__menu-item:not(:nth-child(3))
.ods-front-header__menu-item-link:hover::after {
  content:  " ✦"     !important;
  display:  inline-block !important;
  color:    #ffff00   !important;
  animation: os-spin 0.4s linear infinite !important;
}

/* ---- Text selection: hot magenta ---- */
::selection {
  background: #ff00ff !important;
  color:      #ffff00 !important;
}

/* ---- Pixelated image rendering — everything looks like 1996 ---- */
img {
  image-rendering: pixelated !important;
}

/* ---- Fake visitor counter + era-appropriate disclaimer in footer ---- */
footer::before, #footer::before {
  content:     "[ YOU ARE VISITOR #001312 ]  ·  BEST VIEWED IN NETSCAPE OR LYNX  ·  © 1997 ALL LEFTS RESERVED" !important;
  display:     block   !important;
  width:       100%    !important;
  text-align:  center   !important;
  font-family: "VT323", monospace !important;
  font-size:   14px    !important;
  color:       #000080 !important;
  font-weight: bold    !important;
  letter-spacing: 1px  !important;
}

/* ---- Faster + rainbow-colored scrolling top banner ---- */
body::before {
  animation: os-scroll 18s linear infinite;
  font-size:      18px !important;
  letter-spacing:  2px !important;
  font-weight:    bold !important;
}

/* ---- Perspective tilt on the whole header on hover ---- */
header[role="banner"] {
  transition: transform 0.2s ease !important;
}
header[role="banner"]:hover {
  transform: perspective(600px) rotateX(2deg) !important;
}

/* ================================================================
   24. ANTI-NESTING — flatten nested card / panel / result elements
   Problem: [class*="card"] etc. match both a component's root AND
   all its inner sub-divs (card__header, card__body…), giving every
   layer its own 3D border and rainbow animation → Russian-doll boxes.
   Fix: :is() gives combined specificity 0,2,0 which beats the hover
   rule (0,1,1) and the animation rule (0,1,0) from sections 10–22.
   ================================================================ */

/* Shorthand used by both rules below */
/* ── Default state: strip all 3D borders, backgrounds, animations ── */
:is(
  [class*="card"],   [class*="Card"],
  [class*="tile"],   [class*="Tile"],
  [class*="result"], [class*="Result"],
  article, [role="article"], [role="listitem"],
  aside, [role="complementary"],
  [class*="sidebar"], [class*="Sidebar"],
  [class*="filter"],  [class*="Filter"],
  [class*="facet"],   [class*="Facet"],
  [class*="panel"],   [class*="Panel"]
)
:is(
  [class*="card"],   [class*="Card"],
  [class*="tile"],   [class*="Tile"],
  [class*="result"], [class*="Result"],
  article, [role="article"], [role="listitem"],
  aside, [role="complementary"],
  [class*="sidebar"], [class*="Sidebar"],
  [class*="filter"],  [class*="Filter"],
  [class*="facet"],   [class*="Facet"],
  [class*="panel"],   [class*="Panel"]
) {
  border-top:    none !important;
  border-right:  none !important;
  border-bottom: none !important;
  border-left:   none !important;
  box-shadow:    none !important;
  background:    inherit !important;
  animation:     none !important;
  margin:        0 !important;
}

/* ── Hover state: prevent the inverted-3D hover from re-appearing on nested cards ── */
:is(
  [class*="card"],   [class*="Card"],
  [class*="tile"],   [class*="Tile"],
  [class*="result"], [class*="Result"],
  article, [role="article"], [role="listitem"],
  aside, [role="complementary"],
  [class*="sidebar"], [class*="Sidebar"],
  [class*="filter"],  [class*="Filter"],
  [class*="facet"],   [class*="Facet"],
  [class*="panel"],   [class*="Panel"]
)
:is(
  [class*="card"],   [class*="Card"],
  [class*="tile"],   [class*="Tile"],
  [class*="result"], [class*="Result"],
  article, [role="article"], [role="listitem"],
  [class*="sidebar"], [class*="Sidebar"],
  [class*="filter"],  [class*="Filter"],
  [class*="facet"],   [class*="Facet"],
  [class*="panel"],   [class*="Panel"]
):hover {
  border-top:    none !important;
  border-right:  none !important;
  border-bottom: none !important;
  border-left:   none !important;
  background:    inherit !important;
  animation:     none !important;
}

/* ── ::after pseudo-element: kill the shimmer bar on nested cards ── */
:is(
  [class*="card"],   [class*="Card"],
  article, [role="article"]
)
:is([class*="card"], [class*="Card"], article, [role="article"])::after {
  content:   none !important;
  display:   none !important;
  animation: none !important;
}

/* ── Header anti-nesting: strip borders/box-shadow from nav and every
   ODS collapsible/responsive-menu div inside the header so only the outer
   header[role="banner"] border is visible. ── */
header[role="banner"] nav,
header[role="banner"] nav.ods-front-header,
header[role="banner"] [role="navigation"],
header[role="banner"] [class*="collapsible"],
header[role="banner"] [class*="responsive-menu"],
header[role="banner"] .ods-front-header {
  border-top:    none !important;
  border-right:  none !important;
  border-bottom: none !important;
  border-left:   none !important;
  box-shadow:    none !important;
  background:    var(--os-win-bg) !important;
  margin:        0 !important;
  padding:       0 !important;
}

/* ── Skip-to-content: hide the Angular widget and any rendered link inside ── */
ods-skip-to-content-link,
.ods-skip-to-content-link,
[class*="skip-to-content"],
[class*="skipToContent"],
[class*="skip-link"],
[href="#main"]:not(nav *),
[href="#content"]:not(nav *) {
  display: none !important;
}