/* ============================================================================
   GUNDAM HUD THEME  ::  "MOBILE SUIT" personal homepage skin
   Inspired by UC (ν Gundam) / SEED / 00 (GN particles & Trans-Am)
   Loaded after main.css so these rules win on equal specificity.
   ========================================================================== */

:root {
  /* Deep space */
  --g-space-0: #04060d;
  --g-space-1: #070b16;
  --g-space-2: #0c1322;
  --g-panel:   rgba(10, 16, 30, 0.72);
  --g-panel-solid: #0a1020;

  /* E.F.S.F. / Federation white */
  --g-white: #eef3fb;
  --g-text:  #c4d2e8;
  --g-dim:   #7e8db0;
  --g-dim2:  #6c7c9c;

  /* ν Gundam: blue + yellow + Psycoframe green */
  --g-blue:   #2d6cff;
  --g-blue-2: #1b3fb8;
  --g-yellow: #ffcf3f;
  --g-psyco:  #59ff8d;

  /* 00: GN particle cyan-green */
  --g-gn:     #2ff3cf;
  --g-gn-2:   #7cffd6;

  /* Char / SEED / Trans-Am red */
  --g-red:    #ff3b46;
  --g-red-2:  #e8112d;

  /* Active accent (switched by Trans-Am mode) */
  --g-accent:   var(--g-gn);
  --g-accent-2: var(--g-blue);
  --g-accent-soft: rgba(47, 243, 207, 0.16);

  --g-clip: polygon(0 14px, 14px 0, 100% 0, 100% calc(100% - 14px), calc(100% - 14px) 100%, 0 100%);
}

/* ----- Trans-Am mode: everything goes red/hot ----- */
body.trans-am {
  --g-accent: var(--g-red);
  --g-accent-2: var(--g-yellow);
  --g-accent-soft: rgba(255, 59, 70, 0.18);
  --g-gn: #ff5560;
  --g-gn-2: #ff9aa2;
  --g-blue: #ff3b46;
}

/* ==========================================================================
   GLOBAL CANVAS
   ========================================================================== */
html { scroll-behavior: smooth; }

body {
  background-color: var(--g-space-0);
  background-image:
    radial-gradient(1200px 700px at 80% -10%, rgba(45, 108, 255, 0.12), transparent 60%),
    radial-gradient(1000px 600px at 0% 100%, rgba(47, 243, 207, 0.09), transparent 55%),
    linear-gradient(180deg, rgba(4,6,13,0.74), rgba(4,6,13,0.88)),
    url("../../images/space-bg.jpg");
  background-size: auto, auto, auto, cover;
  background-position: center, center, center, center;
  background-attachment: fixed, fixed, fixed, fixed;
  background-repeat: no-repeat;
  color: var(--g-text);
  font-family: "Rajdhani", "Trebuchet MS", Helvetica, sans-serif;
  font-size: 17px;
  letter-spacing: 0.2px;
  -webkit-font-smoothing: antialiased;
}

body.trans-am {
  background-image:
    radial-gradient(1200px 700px at 80% -10%, rgba(255, 59, 70, 0.22), transparent 60%),
    radial-gradient(1000px 600px at 0% 100%, rgba(255, 207, 63, 0.12), transparent 55%),
    linear-gradient(180deg, rgba(22,7,9,0.78), rgba(10,2,4,0.90)),
    url("../../images/space-bg.jpg");
  background-size: auto, auto, auto, cover;
  background-position: center, center, center, center;
  background-attachment: fixed, fixed, fixed, fixed;
  background-repeat: no-repeat;
}

/* faint engineering grid overlay across the whole page */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background-image:
    linear-gradient(rgba(120, 160, 255, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(120, 160, 255, 0.045) 1px, transparent 1px);
  background-size: 46px 46px;
  mask-image: radial-gradient(circle at 50% 40%, #000 0%, transparent 85%);
}

/* moving scanline sweep */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 9990;
  background: linear-gradient(to bottom, transparent 0%, rgba(47, 243, 207, 0.05) 50%, transparent 100%);
  background-size: 100% 6px;
  opacity: 0.5;
  animation: gScan 8s linear infinite;
}
@keyframes gScan { from { background-position: 0 -100vh; } to { background-position: 0 100vh; } }

/* particle / star canvas injected by JS */
#gundam-bg {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

#main, .masthead { position: relative; z-index: 2; }

::selection { background: var(--g-accent); color: #04060d; }

/* Custom scrollbar = mech rail */
* { scrollbar-color: var(--g-accent) var(--g-space-1); scrollbar-width: thin; }
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: var(--g-space-1); }
::-webkit-scrollbar-thumb {
  background: linear-gradient(var(--g-accent), var(--g-accent-2));
  border-radius: 0;
  border: 2px solid var(--g-space-1);
}

/* ==========================================================================
   HUD VIEWPORT FRAME (corner brackets + edge ticks)
   ========================================================================== */
.hud-frame { position: fixed; inset: 0; pointer-events: none; z-index: 9980; }
.hud-corner {
  position: absolute; width: 38px; height: 38px;
  border: 2px solid var(--g-accent);
  opacity: 0.65;
  filter: drop-shadow(0 0 6px var(--g-accent));
}
.hud-corner.tl { top: 12px; left: 12px; border-right: none; border-bottom: none; }
.hud-corner.tr { top: 12px; right: 12px; border-left: none; border-bottom: none; }
.hud-corner.bl { bottom: 12px; left: 12px; border-right: none; border-top: none; }
.hud-corner.br { bottom: 12px; right: 12px; border-left: none; border-top: none; }

.hud-readout {
  position: fixed; bottom: 14px; left: 50%; transform: translateX(-50%);
  z-index: 9981; pointer-events: none;
  font-family: "Share Tech Mono", monospace;
  font-size: 11px; letter-spacing: 2px;
  color: var(--g-accent);
  text-shadow: 0 0 8px var(--g-accent);
  opacity: 0.75; white-space: nowrap;
}
@media (max-width: 768px) { .hud-corner { width: 22px; height: 22px; } .hud-readout { display: none; } }

/* ==========================================================================
   MASTHEAD  ->  cockpit command bar
   ========================================================================== */
.masthead {
  background: linear-gradient(180deg, rgba(8, 12, 24, 0.96), rgba(8, 12, 24, 0.82)) !important;
  border-bottom: 1px solid rgba(47, 243, 207, 0.35) !important;
  box-shadow: 0 2px 24px rgba(0, 0, 0, 0.6), 0 0 0 1px rgba(45, 108, 255, 0.08) inset;
  backdrop-filter: blur(10px);
  z-index: 9970 !important;
}
.masthead::before {
  content: "E.F.S.F. // CELESTIAL BEING  ::  PILOT TERMINAL";
  display: block;
  font-family: "Share Tech Mono", monospace;
  font-size: 10px; letter-spacing: 3px;
  color: var(--g-accent);
  opacity: 0.8;
  padding: 4px 14px 0;
  text-shadow: 0 0 8px var(--g-accent);
}
.masthead__menu-item a,
.greedy-nav a {
  color: var(--g-text) !important;
  font-family: "Rajdhani", sans-serif;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  font-size: 0.92em;
  padding: 4px 12px;
  position: relative;
  transition: all 0.18s ease-in-out;
  clip-path: polygon(8px 0, 100% 0, calc(100% - 8px) 100%, 0 100%);
}
.greedy-nav { background: transparent !important; }
.masthead__menu-item--lg a, .masthead__menu-home-item a { color: var(--g-accent) !important; }
.masthead__menu-item a:hover,
.greedy-nav a:hover {
  color: #04060d !important;
  background: var(--g-accent);
  box-shadow: 0 0 16px var(--g-accent);
  text-shadow: none;
}
.greedy-nav .visible-links li::before { display: none; }
.greedy-nav button { background: var(--g-accent) !important; }
.greedy-nav .navicon,
.greedy-nav .navicon::before,
.greedy-nav .navicon::after { background: #04060d !important; }
.greedy-nav .hidden-links {
  background: var(--g-panel-solid) !important;
  border: 1px solid var(--g-accent);
  box-shadow: 0 0 20px rgba(0,0,0,0.6);
}
.greedy-nav .hidden-links::before { border-bottom-color: var(--g-accent) !important; }

/* ==========================================================================
   MAIN LAYOUT
   ========================================================================== */
#main { animation: gFadeIn 0.6s both; }

/* ==========================================================================
   HERO  ::  VCLab-style full-bleed banner with background image
   Drop your own (rights-cleared) wallpaper at  images/hero-bg.jpg
   and it will automatically replace the cosmic default.
   ========================================================================== */
/* hero is relocated by JS to sit above the two-column #main (full width) */
.hero {
  position: relative;
  width: 100%;
  margin: 0 0 1.5em;
  min-height: 80vh;
  display: flex; align-items: center;
  overflow: hidden;
  border-bottom: 1px solid color-mix(in srgb, var(--g-accent) 45%, transparent);
}
.hero__bg {
  position: absolute; inset: 0; z-index: 0;
  background-image:
    url("../../images/hero-bg.jpg"),
    radial-gradient(ellipse at 72% 18%, rgba(45,108,255,0.40), transparent 55%),
    radial-gradient(ellipse at 18% 88%, rgba(47,243,207,0.30), transparent 55%),
    radial-gradient(ellipse at 50% 50%, rgba(18,28,58,0.65), #04060d 80%),
    linear-gradient(180deg, #060a16, #04060d);
  background-size: cover, auto, auto, auto, auto;
  background-position: center, center, center, center, center;
  background-repeat: no-repeat;
  filter: saturate(1.05);
  transform: scale(1.04);
  animation: heroDrift 26s ease-in-out infinite alternate;
}
@keyframes heroDrift { from { transform: scale(1.04) translate(0,0); } to { transform: scale(1.12) translate(-1.5%, -1%); } }
/* darken for legibility + scanline */
.hero__bg::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(4,6,13,0.45) 0%, rgba(4,6,13,0.25) 40%, rgba(4,6,13,0.92) 100%),
    linear-gradient(90deg, rgba(4,6,13,0.55), transparent 45%);
}
body.trans-am .hero__bg { filter: saturate(1.1) hue-rotate(-12deg) brightness(0.92); }
body.trans-am .hero__bg::after { background: linear-gradient(180deg, rgba(20,2,6,0.5), rgba(60,4,10,0.35) 40%, rgba(8,2,4,0.94) 100%); }

/* engineering grid sweep on top of the image */
.hero__grid {
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background-image:
    linear-gradient(rgba(120,160,255,0.10) 1px, transparent 1px),
    linear-gradient(90deg, rgba(120,160,255,0.10) 1px, transparent 1px);
  background-size: 54px 54px;
  mask-image: radial-gradient(circle at 50% 60%, #000 0%, transparent 78%);
  -webkit-mask-image: radial-gradient(circle at 50% 60%, #000 0%, transparent 78%);
}
.hero__inner {
  position: relative; z-index: 2;
  padding: 0 1.4em;
  max-width: 1100px; margin: 0 auto; width: 100%;
  animation: gFadeIn 0.8s both; animation-delay: 0.15s;
}
.hero__tag {
  font-family: "Share Tech Mono", monospace;
  font-size: 12px; letter-spacing: 4px;
  color: var(--g-accent);
  text-shadow: 0 0 10px var(--g-accent);
  margin-bottom: 14px;
  padding-left: 4px;
}
.hero__title {
  font-family: "Orbitron", sans-serif;
  font-weight: 900;
  font-size: clamp(2.6rem, 8vw, 6rem);
  line-height: 0.98;
  color: var(--g-white);
  letter-spacing: 2px;
  text-shadow: 0 0 30px color-mix(in srgb, var(--g-accent) 55%, transparent), 0 4px 30px rgba(0,0,0,0.6);
  margin: 0;
}
.hero__title::before {
  content: ""; display: inline-block;
  width: 14px; height: clamp(2.4rem, 7vw, 5rem);
  background: var(--g-accent);
  box-shadow: 0 0 18px var(--g-accent);
  margin-right: 18px; vertical-align: -0.12em;
}
.hero__sub {
  font-family: "Rajdhani", sans-serif;
  font-weight: 600;
  font-size: clamp(0.95rem, 2vw, 1.3rem);
  color: var(--g-text);
  letter-spacing: 0.5px;
  margin-top: 18px; padding-left: 4px;
  text-shadow: 0 2px 12px rgba(0,0,0,0.7);
}
.hero__scroll {
  font-family: "Share Tech Mono", monospace;
  font-size: 11px; letter-spacing: 3px;
  color: var(--g-accent);
  margin-top: 34px; padding-left: 4px;
  opacity: 0.85;
  animation: heroBob 1.8s ease-in-out infinite;
}
@keyframes heroBob { 0%,100% { transform: translateY(0); opacity: 0.85; } 50% { transform: translateY(6px); opacity: 0.45; } }

@media (max-width: 768px) {
  .hero { min-height: 60vh; margin-bottom: 1.6em; }
}
@media (prefers-reduced-motion: reduce) {
  .hero__bg, .hero__scroll { animation: none !important; }
}

/* ==========================================================================
   SIDEBAR  ->  PILOT DATA PANEL
   ========================================================================== */
.sidebar { color: var(--g-text); }

.author__avatar {
  position: relative;
  display: inline-block;
}
.sidebar .author__avatar { display: block; }
.author__avatar img {
  border: 2px solid var(--g-accent) !important;
  border-radius: 0 !important;
  padding: 6px !important;
  background: rgba(8, 12, 24, 0.6);
  clip-path: polygon(50% 0, 93% 25%, 93% 75%, 50% 100%, 7% 75%, 7% 25%);
  box-shadow: 0 0 22px rgba(47, 243, 207, 0.35);
  max-width: 190px !important;
  transition: filter 0.3s, transform 0.3s;
}
.author__avatar img:hover { filter: brightness(1.12) saturate(1.2); transform: scale(1.02); }

/* rotating targeting reticle around avatar */
.author__avatar::after {
  content: "";
  position: absolute;
  inset: -10px;
  border: 1px dashed rgba(47, 243, 207, 0.5);
  border-radius: 50%;
  animation: gSpin 16s linear infinite;
  pointer-events: none;
}
@media (max-width: 925px) { .author__avatar::after { display: none; } }

.author__name {
  color: var(--g-white) !important;
  font-family: "Orbitron", sans-serif !important;
  font-weight: 800;
  letter-spacing: 1.5px;
  text-shadow: 0 0 14px var(--g-accent-soft);
  position: relative;
}
.sidebar .author__name { font-family: "Orbitron", sans-serif !important; font-size: 1.35em; }
.author__name::before {
  content: "▰ PILOT";
  display: block;
  font-family: "Share Tech Mono", monospace;
  font-size: 9px; letter-spacing: 3px;
  color: var(--g-accent);
  margin-bottom: 4px;
  text-shadow: 0 0 8px var(--g-accent);
}

.author__bio {
  color: var(--g-gn-2) !important;
  font-family: "Share Tech Mono", monospace;
  font-size: 0.8em !important;
  letter-spacing: 1px;
}
.author__bio::before { content: "// "; opacity: 0.7; }

.sidebar .author__urls-wrapper { width: 100%; }

/* description / location lines in profile */
.author__urls.social-icons > li {
  color: var(--g-text);
  font-family: "Rajdhani", sans-serif;
}
.author__urls.social-icons > li div { color: var(--g-dim) !important; }

/* social links -> HUD command buttons */
.author__urls a {
  color: var(--g-text) !important;
  font-family: "Rajdhani", sans-serif;
  font-weight: 600;
  letter-spacing: 0.5px;
  border: 1px solid rgba(120, 160, 255, 0.25);
  background: rgba(12, 19, 34, 0.6);
  padding: 6px 10px !important;
  margin-bottom: 7px !important;
  clip-path: polygon(0 0, calc(100% - 9px) 0, 100% 9px, 100% 100%, 9px 100%, 0 calc(100% - 9px));
  transition: all 0.18s ease;
}
.author__urls a:hover {
  color: #04060d !important;
  background: var(--g-accent);
  border-color: var(--g-accent);
  box-shadow: 0 0 16px var(--g-accent-soft);
  text-decoration: none !important;
  transform: translateX(3px);
}
.author__urls a i { color: var(--g-accent); transition: color 0.18s; }
.author__urls a:hover i { color: #04060d; }

/* ==========================================================================
   PAGE CONTENT
   ========================================================================== */
.page__content { color: var(--g-text); overflow-wrap: break-word; word-wrap: break-word; }
.page__content p, .page__content li, .page__content dl { font-size: 1em; line-height: 1.7; }
.page__content img { max-width: 100%; height: auto; }

.page__content strong, .page__content b { color: var(--g-white); }

/* Intro paragraph: highlight pilot name (first bold) */
.page__content > p:first-of-type strong:first-child {
  color: var(--g-accent);
  font-family: "Orbitron", sans-serif;
  text-shadow: 0 0 12px var(--g-accent-soft);
}

/* links -> GN glow */
.page__content a {
  color: var(--g-gn-2) !important;
  text-decoration: none !important;
  border-bottom: 1px solid rgba(47, 243, 207, 0.4);
  transition: all 0.16s ease;
  text-shadow: 0 0 8px rgba(47, 243, 207, 0.25);
}
.page__content a:hover {
  color: var(--g-white) !important;
  border-bottom-color: var(--g-accent);
  background: var(--g-accent-soft);
}

/* ----- Section headers (h1 with emoji) -> armor panel banners ----- */
.page__content h1 {
  color: var(--g-white) !important;
  font-family: "Orbitron", sans-serif !important;
  font-weight: 800;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  font-size: 1.5em;
  margin-top: 1.6em !important;
  padding: 14px 18px 14px 24px !important;
  border: none !important;
  border-bottom: none !important;
  position: relative;
  background:
    linear-gradient(90deg, rgba(45, 108, 255, 0.18), rgba(47, 243, 207, 0.06) 50%, transparent);
  clip-path: polygon(0 0, calc(100% - 18px) 0, 100% 18px, 100% 100%, 0 100%);
  overflow: hidden;
}
.page__content h1::before {
  content: "";
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 6px;
  background: var(--g-accent);
  box-shadow: 0 0 14px var(--g-accent);
}
.page__content h1::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--g-accent), transparent 70%);
  box-shadow: 0 0 12px var(--g-accent-soft);
}

/* ==========================================================================
   NEWS  ->  terminal feed log
   ========================================================================== */
.page__content #news + h1 + ul,
.page__content ul {
  list-style: none;
}
/* generic content lists styled as logs only inside content sections */
.page__content > ul {
  list-style: none;
  padding-left: 0;
  border-left: 2px solid rgba(47, 243, 207, 0.25);
  margin-left: 6px;
}
.page__content > ul > li {
  position: relative;
  padding: 7px 0 7px 26px;
  font-family: "Rajdhani", sans-serif;
  border-bottom: 1px dashed rgba(120, 160, 255, 0.12);
}
.page__content > ul > li::before {
  content: "▸";
  position: absolute;
  left: 8px; top: 7px;
  color: var(--g-accent);
  text-shadow: 0 0 8px var(--g-accent);
}
.page__content > ul > li em {
  font-style: normal;
  font-family: "Share Tech Mono", monospace;
  color: var(--g-yellow);
  font-size: 0.85em;
  letter-spacing: 0.5px;
}

/* ==========================================================================
   PUBLICATION CARDS  ->  mobile-suit armor cards
   ========================================================================== */
.paper-box {
  border: 1px solid rgba(120, 160, 255, 0.22) !important;
  border-bottom: 1px solid rgba(120, 160, 255, 0.22) !important;
  background:
    linear-gradient(135deg, rgba(12, 19, 34, 0.85), rgba(7, 11, 22, 0.92));
  margin: 1.4em 0 !important;
  padding: 1.6em !important;
  position: relative;
  clip-path: var(--g-clip);
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
  overflow: hidden;
}
.paper-box::before {
  /* top edge accent line */
  content: "";
  position: absolute;
  top: 0; left: 14px; right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--g-accent), transparent 60%);
  opacity: 0.7;
}
.paper-box::after {
  /* corner classification tick */
  content: "";
  position: absolute;
  right: 10px; bottom: 10px;
  width: 16px; height: 16px;
  border-right: 2px solid var(--g-accent);
  border-bottom: 2px solid var(--g-accent);
  opacity: 0.55;
}
.paper-box:hover {
  transform: translateY(-4px);
  border-color: var(--g-accent) !important;
  box-shadow: 0 10px 36px rgba(0, 0, 0, 0.55), 0 0 26px var(--g-accent-soft);
}

.paper-box-image img {
  box-shadow: 0 0 0 1px rgba(47, 243, 207, 0.4), 0 6px 20px rgba(0, 0, 0, 0.5) !important;
  border-radius: 0 !important;
  filter: saturate(1.05);
  transition: filter 0.25s, transform 0.25s;
}
.paper-box:hover .paper-box-image img { filter: saturate(1.25) brightness(1.05); }

.paper-box-text { color: var(--g-text); }
.paper-box-text a {
  font-family: "Rajdhani", sans-serif;
  font-weight: 700;
  font-size: 1.12em;
  color: var(--g-white) !important;
  border-bottom: none !important;
  display: inline-block;
  margin-bottom: 0.3em;
}
.paper-box-text a:hover { color: var(--g-accent) !important; background: transparent; }

/* badge -> classification / unit tag */
.badge {
  background: linear-gradient(135deg, var(--g-accent), var(--g-accent-2)) !important;
  color: #04060d !important;
  font-family: "Share Tech Mono", monospace !important;
  font-weight: 700;
  letter-spacing: 1px;
  padding: 4px 12px !important;
  clip-path: polygon(0 0, 100% 0, calc(100% - 8px) 100%, 0 100%);
  box-shadow: 0 0 14px var(--g-accent-soft);
  text-transform: uppercase;
}

/* ==========================================================================
   GOOGLE SCHOLAR badge img + misc imgs
   ========================================================================== */
.page__content img[src*="shields"] { filter: drop-shadow(0 0 6px var(--g-accent-soft)); }

/* ==========================================================================
   MOBILE SUIT ARCHIVE  ->  official PV hangar (lite YouTube embeds)
   ========================================================================== */
.ms-intro {
  font-family: "Share Tech Mono", monospace !important;
  font-size: 0.82em !important;
  color: var(--g-dim) !important;
  letter-spacing: 0.5px;
  margin-top: 0.4em !important;
}
.ms-intro a { color: var(--g-accent) !important; }

.ms-archive {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.2em;
  margin: 1.4em 0 0.6em;
}
@media (max-width: 900px) { .ms-archive { grid-template-columns: 1fr; max-width: 520px; } }

.ms-card {
  position: relative;
  background: linear-gradient(160deg, rgba(12, 19, 34, 0.92), rgba(7, 11, 22, 0.96));
  border: 1px solid rgba(120, 160, 255, 0.22);
  clip-path: polygon(0 0, calc(100% - 16px) 0, 100% 16px, 100% 100%, 16px 100%, 0 calc(100% - 16px));
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
  overflow: hidden;
  /* per-card accent (overridden per series below) */
  --ms-accent: var(--g-accent);
}
.ms-card:hover {
  transform: translateY(-5px);
  border-color: var(--ms-accent);
  box-shadow: 0 12px 34px rgba(0,0,0,0.55), 0 0 24px color-mix(in srgb, var(--ms-accent) 40%, transparent);
}

/* series colours */
.ms-card.ms-uc   { --ms-accent: var(--g-yellow); }
.ms-card.ms-seed { --ms-accent: var(--g-red); }
.ms-card.ms-00   { --ms-accent: var(--g-gn); }
body.trans-am .ms-card { --ms-accent: var(--g-red); }

.ms-media {
  position: relative;
  aspect-ratio: 16 / 9;
  background: #04060d;
  cursor: pointer;
  overflow: hidden;
  border-bottom: 1px solid color-mix(in srgb, var(--ms-accent) 50%, transparent);
}
.ms-thumb {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover; object-position: center;
  display: block;
  filter: saturate(1.05) contrast(1.03);
  transition: transform 0.4s ease, filter 0.3s ease;
}
.ms-card:hover .ms-thumb { transform: scale(1.06); filter: saturate(1.2) contrast(1.06) brightness(1.05); }
.ms-media::after {
  content: "";
  position: absolute; inset: 0; z-index: 2;
  background: linear-gradient(180deg, rgba(4,6,13,0.05), rgba(4,6,13,0.55));
  transition: background 0.2s;
}
.ms-card:hover .ms-media::after { background: linear-gradient(180deg, rgba(4,6,13,0), rgba(4,6,13,0.3)); }

/* HUD corner ticks on the cover */
.ms-corner {
  position: absolute; z-index: 3;
  width: 18px; height: 18px;
  border: 2px solid var(--ms-accent);
  opacity: 0.85;
  filter: drop-shadow(0 0 5px var(--ms-accent));
  transition: all 0.2s ease;
}
.ms-corner.tl { top: 8px; left: 8px; border-right: none; border-bottom: none; }
.ms-corner.br { bottom: 8px; right: 8px; border-left: none; border-top: none; }
.ms-card:hover .ms-corner { width: 24px; height: 24px; }

/* moving scan line over the cover */
.ms-scan {
  position: absolute; left: 0; right: 0; top: 0; height: 2px;
  background: var(--ms-accent);
  box-shadow: 0 0 12px var(--ms-accent);
  opacity: 0.7; z-index: 3;
  animation: msScan 3.2s linear infinite;
}
@keyframes msScan { 0% { top: 0; } 50% { top: calc(100% - 2px); } 100% { top: 0; } }

.ms-play {
  position: absolute; z-index: 4;
  left: 50%; top: 50%; transform: translate(-50%, -50%);
  width: 54px; height: 54px;
  border: 2px solid var(--ms-accent);
  background: rgba(4, 6, 13, 0.6);
  border-radius: 50%;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: 0 0 18px color-mix(in srgb, var(--ms-accent) 45%, transparent);
}
.ms-play::before {
  content: "";
  position: absolute; left: 53%; top: 50%; transform: translate(-50%, -50%);
  width: 0; height: 0;
  border-style: solid;
  border-width: 9px 0 9px 15px;
  border-color: transparent transparent transparent var(--ms-accent);
}
.ms-play::after {
  content: "";
  position: absolute; inset: -7px;
  border: 1px solid var(--ms-accent);
  border-radius: 50%;
  opacity: 0.6;
  animation: msPulse 2.2s ease-out infinite;
}
@keyframes msPulse { 0% { transform: scale(1); opacity: 0.6; } 100% { transform: scale(1.55); opacity: 0; } }
.ms-card:hover .ms-play { background: var(--ms-accent); transform: translate(-50%, -50%) scale(1.08); box-shadow: 0 0 26px var(--ms-accent); }
.ms-card:hover .ms-play::before { border-left-color: #04060d; }

.ms-media iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; z-index: 5; }

.ms-info { padding: 0.9em 1em 1.1em; }
.ms-tag {
  display: inline-block;
  font-family: "Share Tech Mono", monospace;
  font-size: 0.66em; letter-spacing: 1.5px;
  color: #04060d;
  background: var(--ms-accent);
  padding: 2px 8px;
  clip-path: polygon(0 0, 100% 0, calc(100% - 6px) 100%, 0 100%);
  box-shadow: 0 0 12px color-mix(in srgb, var(--ms-accent) 40%, transparent);
}
.ms-name {
  font-family: "Orbitron", sans-serif !important;
  font-weight: 800;
  color: var(--g-white) !important;
  margin: 0.5em 0 0.3em !important;
  letter-spacing: 1px;
  font-size: 1.15em;
  text-shadow: 0 0 14px color-mix(in srgb, var(--ms-accent) 35%, transparent);
}
.ms-desc {
  font-size: 0.82em !important;
  color: var(--g-text) !important;
  line-height: 1.55 !important;
  margin: 0 0 0.7em !important;
}
.ms-link {
  font-family: "Rajdhani", sans-serif;
  font-weight: 700;
  font-size: 0.8em;
  letter-spacing: 1px;
  color: var(--ms-accent) !important;
  border-bottom: none !important;
  text-shadow: none !important;
}
.ms-link:hover { color: var(--g-white) !important; background: transparent !important; }

/* image-gallery variant: media is an <a> link to full-res, kill default link chrome */
a.ms-media { display: block; }
.ms-card a, a.ms-media {
  border-bottom: none !important;
  text-shadow: none !important;
  background: transparent !important;
}
.ms-card a:hover { background: transparent !important; }

/* era divider label (U.C. / C.E. / A.D.) */
.ms-era {
  --era: var(--g-accent);
  display: flex; align-items: center; gap: 12px;
  font-family: "Orbitron", sans-serif;
  font-weight: 800; letter-spacing: 2px; text-transform: uppercase;
  font-size: 1.02em; color: var(--g-white);
  margin: 1.8em 0 0.2em;
  padding: 8px 4px 8px 16px;
  position: relative;
}
.ms-era::before {
  content: ""; position: absolute; left: 0; top: 50%; transform: translateY(-50%);
  width: 6px; height: 70%;
  background: var(--era); box-shadow: 0 0 12px var(--era);
}
.ms-era::after {
  content: ""; flex: 1 1 auto; height: 1px;
  background: linear-gradient(90deg, color-mix(in srgb, var(--era) 60%, transparent), transparent);
}
.ms-era span {
  font-family: "Share Tech Mono", monospace;
  font-size: 0.85em; letter-spacing: 3px;
  color: #04060d; background: var(--era);
  padding: 2px 9px; margin-right: 2px;
  clip-path: polygon(0 0, 100% 0, calc(100% - 7px) 100%, 0 100%);
  box-shadow: 0 0 14px color-mix(in srgb, var(--era) 45%, transparent);
}
.ms-era em {
  font-family: "Share Tech Mono", monospace;
  font-style: normal; font-weight: 400;
  font-size: 0.66em; letter-spacing: 1px; color: var(--g-dim);
}
.ms-era-uc   { --era: var(--g-yellow); }
.ms-era-seed { --era: var(--g-red); }
.ms-era-00   { --era: var(--g-gn); }
body.trans-am .ms-era { --era: var(--g-red); }

/* Zeon / Char machines: red accent even outside Trans-Am */
.ms-card.ms-zeon { --ms-accent: var(--g-red); }

/* credits / copyright note under the gallery */
.ms-credits {
  font-family: "Share Tech Mono", monospace !important;
  font-size: 0.72em !important;
  color: var(--g-dim2) !important;
  letter-spacing: 0.4px;
  margin: 1.1em 0 0 !important;
  opacity: 0.8;
}

/* ==========================================================================
   TRANS-AM toggle button
   ========================================================================== */
#trans-am-btn {
  position: fixed;
  right: 18px; bottom: 18px;
  z-index: 9985;
  font-family: "Orbitron", sans-serif;
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 1.5px;
  color: var(--g-accent);
  background: rgba(8, 12, 24, 0.85);
  border: 1px solid var(--g-accent);
  padding: 10px 14px;
  cursor: pointer;
  clip-path: polygon(10px 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%, 0 10px);
  box-shadow: 0 0 16px var(--g-accent-soft);
  transition: all 0.2s ease;
  backdrop-filter: blur(6px);
}
#trans-am-btn:hover { background: var(--g-accent); color: #04060d; box-shadow: 0 0 26px var(--g-accent); }
#trans-am-btn .dot {
  display: inline-block; width: 7px; height: 7px; border-radius: 50%;
  background: var(--g-accent); margin-right: 6px; vertical-align: middle;
  box-shadow: 0 0 8px var(--g-accent);
  animation: gPulse 1.6s ease-in-out infinite;
}
#trans-am-btn:hover .dot { background: #04060d; box-shadow: none; }
body.trans-am #trans-am-btn { animation: gShake 0.5s; }
@media (max-width: 600px) { #trans-am-btn { font-size: 9px; padding: 8px 10px; } }

/* ==========================================================================
   BOOT SEQUENCE overlay
   ========================================================================== */
#gundam-boot {
  position: fixed; inset: 0; z-index: 99999;
  background: radial-gradient(circle at 50% 50%, #06121a, #02040a 80%);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  font-family: "Share Tech Mono", monospace;
  color: var(--g-gn);
  transition: opacity 0.6s ease;
}
#gundam-boot .boot-ring {
  width: 120px; height: 120px; border-radius: 50%;
  border: 2px solid rgba(47, 243, 207, 0.25);
  border-top-color: var(--g-gn);
  border-right-color: var(--g-blue);
  animation: gSpin 1.1s linear infinite;
  margin-bottom: 26px;
  box-shadow: 0 0 30px rgba(47, 243, 207, 0.4);
}
#gundam-boot .boot-title {
  font-family: "Orbitron", sans-serif;
  font-size: 1.6em; font-weight: 800; letter-spacing: 4px;
  color: var(--g-white);
  text-shadow: 0 0 18px var(--g-gn);
  margin-bottom: 16px;
}
#gundam-boot .boot-lines { font-size: 13px; line-height: 1.9; min-height: 120px; text-align: left; letter-spacing: 1px; }
#gundam-boot .boot-lines .ok { color: var(--g-yellow); }
#gundam-boot .boot-skip { margin-top: 22px; font-size: 11px; color: var(--g-dim); letter-spacing: 2px; }
#gundam-boot.hide { opacity: 0; pointer-events: none; }

/* ==========================================================================
   REVEAL animations on scroll
   ========================================================================== */
.g-reveal { opacity: 0; transform: translateY(22px); transition: opacity 0.6s ease, transform 0.6s ease; }
.g-reveal.in { opacity: 1; transform: none; }

/* ==========================================================================
   KEYFRAMES
   ========================================================================== */
@keyframes gSpin { to { transform: rotate(360deg); } }
@keyframes gFadeIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
@keyframes gPulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.3; } }
@keyframes gShake { 0%,100%{transform:translate(0,0);} 25%{transform:translate(-2px,1px);} 50%{transform:translate(2px,-1px);} 75%{transform:translate(-1px,2px);} }

/* ==========================================================================
   REDUCED MOTION
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
  body::after, .author__avatar::after, #trans-am-btn .dot,
  #gundam-boot .boot-ring { animation: none !important; }
  .g-reveal { opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
}

/* ==========================================================================
   FOOTER (if present)
   ========================================================================== */
.page__footer, footer {
  background: transparent !important;
  color: var(--g-dim) !important;
  border-top: 1px solid rgba(47, 243, 207, 0.2);
}
.page__footer a { color: var(--g-accent) !important; }

/* ==========================================================================
   COCKPIT DASHBOARD  ::  mobile-suit panoramic cockpit instrument console
   ========================================================================== */
/* the old floating button is superseded by the console TRANS-AM lever */
#trans-am-btn { display: none !important; }

/* leave room so content never hides under the console */
#main { padding-bottom: 132px; }
@media (max-width: 600px) { #main { padding-bottom: 150px; } }

#cockpit {
  position: fixed; inset: 0;
  z-index: 9970;
  pointer-events: none;
  font-family: "Share Tech Mono", monospace;
}

/* central targeting reticle (subtle; flares during Trans-Am) */
.cp-reticle {
  position: absolute; left: 50%; top: 46%;
  width: 220px; height: 220px;
  transform: translate(-50%, -50%);
  opacity: 0.12;
  transition: opacity 0.5s ease;
}
.cp-reticle::before, .cp-reticle::after {
  content: ""; position: absolute; left: 50%; top: 50%;
  transform: translate(-50%, -50%);
  border: 1px solid var(--g-accent);
  border-radius: 50%;
}
.cp-reticle::before { width: 100%; height: 100%; border-style: dashed; animation: gSpin 30s linear infinite; }
.cp-reticle::after { width: 36%; height: 36%; }
.cp-reticle b {
  position: absolute; left: 50%; top: 50%; width: 70%; height: 1px;
  background: linear-gradient(90deg, transparent, var(--g-accent), transparent);
  transform: translate(-50%, -50%);
}
.cp-reticle b.v { width: 1px; height: 70%; background: linear-gradient(180deg, transparent, var(--g-accent), transparent); }
body.trans-am .cp-reticle { opacity: 0.4; }
@media (max-width: 900px) { .cp-reticle { display: none; } }

/* ---- bottom console ---- */
.cp-console {
  position: absolute; left: 0; right: 0; bottom: 0;
  height: 104px;
  display: flex; align-items: center; gap: 12px;
  padding: 0 16px;
  background:
    linear-gradient(180deg, rgba(8,12,24,0.25), rgba(5,8,16,0.97) 42%);
  border-top: 1px solid color-mix(in srgb, var(--g-accent) 60%, transparent);
  box-shadow: 0 -8px 34px rgba(0,0,0,0.65), 0 1px 0 color-mix(in srgb, var(--g-accent) 30%, transparent) inset;
  -webkit-backdrop-filter: blur(9px); backdrop-filter: blur(9px);
  pointer-events: auto;
  overflow: hidden;
  transition: border-color 0.35s ease, box-shadow 0.35s ease;
  clip-path: polygon(0 14px, 26px 0, calc(100% - 26px) 0, 100% 14px, 100% 100%, 0 100%);
}
body.trans-am .cp-console {
  border-top-color: var(--g-red);
  box-shadow: 0 -8px 40px rgba(255,30,45,0.45), 0 1px 0 rgba(255,80,90,0.4) inset;
}
@media (max-width: 600px) { .cp-console { height: 78px; gap: 6px; padding: 0 8px; } }

.cp-panel {
  height: 80px;
  display: flex; flex-direction: column; justify-content: center; align-items: center;
  gap: 4px; padding: 6px 12px;
  border: 1px solid rgba(120,160,255,0.18);
  background: rgba(10,16,30,0.55);
  clip-path: polygon(0 0, calc(100% - 9px) 0, 100% 9px, 100% 100%, 9px 100%, 0 calc(100% - 9px));
  flex: 0 0 auto;
}
.cp-label { font-size: 9px; letter-spacing: 2px; color: var(--g-dim); white-space: nowrap; }
.cp-readout { font-size: 12px; color: var(--g-accent); text-shadow: 0 0 8px var(--g-accent); white-space: nowrap; }

/* circular GN-output gauge */
.cp-gauge { position: relative; width: 50px; height: 50px; }
.cp-gauge .ring {
  width: 100%; height: 100%; border-radius: 50%;
  background: conic-gradient(var(--g-accent) calc(var(--val, 60) * 1%), rgba(255,255,255,0.07) 0);
  -webkit-mask: radial-gradient(transparent 55%, #000 57%);
          mask: radial-gradient(transparent 55%, #000 57%);
  transition: background 0.7s ease;
  filter: drop-shadow(0 0 6px var(--g-accent));
}
.cp-gauge .num { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; font-size: 11px; color: var(--g-white); }

/* particle energy bars */
.cp-bars { display: flex; gap: 3px; align-items: flex-end; height: 44px; }
.cp-bars i {
  width: 6px; display: block; align-self: flex-end;
  background: linear-gradient(var(--g-accent), color-mix(in srgb, var(--g-accent) 40%, transparent));
  box-shadow: 0 0 6px var(--g-accent);
  animation: cpBar 1.3s ease-in-out infinite;
}
.cp-bars i:nth-child(2) { animation-delay: .18s; }
.cp-bars i:nth-child(3) { animation-delay: .36s; }
.cp-bars i:nth-child(4) { animation-delay: .54s; }
.cp-bars i:nth-child(5) { animation-delay: .72s; }
@keyframes cpBar { 0%, 100% { height: 28%; } 50% { height: 100%; } }
body.trans-am .cp-bars i { animation-duration: 0.5s; }

/* radar scope */
.cp-radar {
  position: relative; width: 58px; height: 58px; border-radius: 50%;
  border: 1px solid color-mix(in srgb, var(--g-accent) 50%, transparent);
  overflow: hidden;
  background:
    radial-gradient(circle, transparent 58%, color-mix(in srgb, var(--g-accent) 10%, transparent)),
    repeating-radial-gradient(circle, rgba(120,160,255,0.10) 0 1px, transparent 1px 9px);
}
.cp-radar::before {
  content: ""; position: absolute; inset: 0;
  background: conic-gradient(from 0deg, color-mix(in srgb, var(--g-accent) 60%, transparent), transparent 32%);
  animation: gSpin 2.6s linear infinite;
}
body.trans-am .cp-radar::before { animation-duration: 0.9s; }
.cp-radar .blip { position: absolute; width: 5px; height: 5px; border-radius: 50%; background: var(--g-accent); box-shadow: 0 0 8px var(--g-accent); animation: gPulse 1.6s ease-in-out infinite; }
.cp-radar .blip.b1 { left: 60%; top: 35%; }
.cp-radar .blip.b2 { left: 32%; top: 62%; animation-delay: .6s; }

/* warning lamps */
.cp-lamps { display: flex; gap: 9px; }
.cp-lamp { width: 13px; height: 13px; border-radius: 50%; background: #1a2640; box-shadow: inset 0 0 5px #000, 0 0 0 1px rgba(120,160,255,0.2); }
.cp-lamp.on { background: var(--c); box-shadow: 0 0 12px var(--c), inset 0 0 4px rgba(255,255,255,0.4); animation: cpBlink 1.5s steps(1) infinite; }
@keyframes cpBlink { 50% { opacity: 0.3; } }
body.trans-am .cp-lamp { background: var(--g-red) !important; box-shadow: 0 0 14px var(--g-red) !important; animation: cpBlink 0.4s steps(1) infinite; }

/* central TRANS-AM lever */
.cp-transam { margin: 0 auto; text-align: center; pointer-events: auto; flex: 0 0 auto; }
.cp-transam button {
  font-family: "Orbitron", sans-serif; font-weight: 800; letter-spacing: 3px; font-size: 13px;
  color: var(--g-accent); background: rgba(8,12,24,0.7);
  border: 1px solid var(--g-accent); padding: 11px 22px; cursor: pointer;
  clip-path: polygon(12px 0, 100% 0, calc(100% - 12px) 100%, 0 100%);
  box-shadow: 0 0 16px var(--g-accent-soft); transition: all 0.2s ease;
  text-shadow: 0 0 10px var(--g-accent);
}
.cp-transam button:hover { background: var(--g-accent); color: #04060d; box-shadow: 0 0 28px var(--g-accent); text-shadow: none; }
body.trans-am .cp-transam button { color: #04060d; background: var(--g-red); border-color: var(--g-red); box-shadow: 0 0 26px var(--g-red); text-shadow: none; animation: cpBlink 0.6s steps(1) infinite; }
.cp-transam .st { display: block; font-family: "Share Tech Mono", monospace; font-size: 8px; letter-spacing: 2px; margin-top: 5px; color: var(--g-dim); }
body.trans-am .cp-transam .st { color: var(--g-red); }

/* system message ticker */
.cp-ticker {
  flex: 1 1 auto; min-width: 40px; overflow: hidden; white-space: nowrap;
  font-size: 11px; letter-spacing: 1px; color: var(--g-accent);
  text-shadow: 0 0 6px var(--g-accent);
  -webkit-mask: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
          mask: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.cp-ticker span { display: inline-block; padding-left: 100%; animation: cpTick 18s linear infinite; }
@keyframes cpTick { to { transform: translateX(-100%); } }
body.trans-am .cp-ticker span { animation-duration: 7s; }

@media (max-width: 1100px) { .cp-hide-lg { display: none !important; } }
@media (max-width: 820px)  { .cp-hide-md { display: none !important; } }
@media (max-width: 600px)  {
  .cp-hide-sm { display: none !important; }
  .cp-panel { height: 60px; padding: 4px 8px; }
  .cp-transam button { padding: 9px 16px; font-size: 11px; }
  .cp-console { justify-content: center; gap: 16px; }
  .cp-transam { margin: 0; }
}

/* ==========================================================================
   TRANS-AM activation BURST + sustained aura
   ========================================================================== */
#trans-am-aura {
  position: fixed; inset: 0; z-index: 9968; pointer-events: none;
  opacity: 0; transition: opacity 0.8s ease;
  box-shadow: inset 0 0 200px 24px rgba(255, 30, 50, 0.42);
  background: radial-gradient(ellipse at 50% 48%, transparent 58%, rgba(120, 0, 12, 0.30) 100%);
}
body.trans-am #trans-am-aura { opacity: 1; animation: taAura 2.4s ease-in-out infinite; }
@keyframes taAura { 0%, 100% { opacity: 0.6; } 50% { opacity: 0.95; } }

body.trans-am::after {
  background: linear-gradient(to bottom, transparent, rgba(255, 45, 60, 0.09) 50%, transparent) !important;
  background-size: 100% 5px !important;
  animation-duration: 3s !important;
  opacity: 0.85 !important;
}

#trans-am-fx { position: fixed; inset: 0; z-index: 99998; pointer-events: none; overflow: hidden; }
#trans-am-fx .ta-flash {
  position: absolute; inset: 0;
  background: radial-gradient(circle at 50% 48%, rgba(255,120,130,0.95), rgba(230,12,40,0.55) 38%, rgba(120,0,12,0) 72%);
  animation: taFlash 1.0s ease-out forwards;
}
@keyframes taFlash { 0% { opacity: 0; } 10% { opacity: 1; } 100% { opacity: 0; } }
#trans-am-fx .ta-ring {
  position: absolute; left: 50%; top: 48%;
  width: 44px; height: 44px; border: 3px solid rgba(255,120,130,0.95);
  border-radius: 50%; transform: translate(-50%, -50%) scale(0);
  box-shadow: 0 0 40px rgba(255,60,75,0.9);
  animation: taRing 1.3s ease-out forwards;
}
#trans-am-fx .ta-ring.r2 { animation-delay: 0.16s; border-color: rgba(255,200,120,0.85); }
#trans-am-fx .ta-ring.r3 { animation-delay: 0.34s; border-color: rgba(255,255,255,0.7); }
@keyframes taRing { 0% { transform: translate(-50%, -50%) scale(0); opacity: 1; } 100% { transform: translate(-50%, -50%) scale(40); opacity: 0; } }
#trans-am-fx .ta-text {
  position: absolute; left: 0; right: 0; top: 40%; text-align: center;
  font-family: "Orbitron", sans-serif; font-weight: 900;
  letter-spacing: 10px; font-size: clamp(2.2rem, 10vw, 6.5rem);
  color: #fff; text-shadow: 0 0 30px #ff2b3a, 0 0 70px #ff2b3a, 0 0 12px #fff;
  animation: taText 1.9s cubic-bezier(.16,.85,.2,1) forwards;
}
#trans-am-fx .ta-sub {
  display: block; font-size: 0.2em; letter-spacing: 8px; margin-top: 0.4em;
  color: #ffd0d4; text-shadow: 0 0 16px #ff2b3a;
}
@keyframes taText {
  0% { opacity: 0; transform: scale(1.7); letter-spacing: 42px; filter: blur(10px); }
  18% { opacity: 1; transform: scale(1); letter-spacing: 10px; filter: blur(0); }
  72% { opacity: 1; }
  100% { opacity: 0; transform: scale(1.06); }
}
body.ta-shake #main, body.ta-shake .masthead, body.ta-shake #cockpit {
  animation: taShake 0.6s ease-in-out;
}
@keyframes taShake {
  10% { transform: translate(-4px, 2px); } 20% { transform: translate(5px, -3px); }
  30% { transform: translate(-6px, 1px); } 40% { transform: translate(4px, 4px); }
  50% { transform: translate(-3px, -2px); } 60% { transform: translate(5px, 1px); }
  70% { transform: translate(-4px, -1px); } 80% { transform: translate(3px, 2px); }
  100% { transform: translate(0, 0); }
}

@media (prefers-reduced-motion: reduce) {
  .cp-bars i, .cp-radar::before, .cp-lamp.on, .cp-ticker span,
  #trans-am-aura, .cp-reticle::before { animation: none !important; }
}
