/* Evan's TF Collection — Cybertronian UI Master Frame
   New metallic/recessed visual system based on the Cybertronian UI
   style guide. This replaces the previous thin neon-line treatment. */

:root{
  --cyber-color:#2b91e8;
  --cyber-bright:#66c7ff;
  --cyber-glow:rgba(43,145,232,.45);
  --cyber-soft:rgba(43,145,232,.16);
  --metal-dark:#151a20;
  --metal-mid:#5e6872;
  --metal-light:#b8c1c8;
  --panel:#050a0f;
  --panel-2:#0a1118;
}

body[data-cyber-theme="autobots"]{
  --cyber-color:#d51f28;
  --cyber-bright:#ff4a4f;
  --cyber-glow:rgba(255,35,42,.50);
  --cyber-soft:rgba(255,35,42,.15);
}
body[data-cyber-theme="decepticons"]{
  --cyber-color:#8736c8;
  --cyber-bright:#c56cff;
  --cyber-glow:rgba(155,55,255,.50);
  --cyber-soft:rgba(155,55,255,.15);
}
body[data-cyber-theme="masterpiece"]{
  --cyber-color:#d39b18;
  --cyber-bright:#ffd65b;
  --cyber-glow:rgba(255,190,35,.45);
  --cyber-soft:rgba(255,190,35,.14);
}
body[data-cyber-theme="third-party"]{
  --cyber-color:#11aebe;
  --cyber-bright:#4deaff;
  --cyber-glow:rgba(0,220,245,.48);
  --cyber-soft:rgba(0,220,245,.14);
}
body[data-cyber-theme="primes"]{
  --cyber-color:#237fcf;
  --cyber-bright:#63c7ff;
  --cyber-glow:rgba(35,145,235,.48);
  --cyber-soft:rgba(35,145,235,.14);
}
body[data-cyber-theme="contact"]{
  --cyber-color:#286bb0;
  --cyber-bright:#62aef0;
  --cyber-glow:rgba(40,110,185,.42);
  --cyber-soft:rgba(40,110,185,.13);
}

/* ============================================================
   MASTER CYBERTRONIAN FRAME
   ============================================================ */

.collection-heading,
.collection-card,
.card,
.collection-info,
.detail-panel,
.contact-shell,
.contact-panel,
.collection-placeholder,
.notes,
.info-notes,
.filters{
  --frame-cut:18px;
  position:relative;
  isolation:isolate;
  border:0!important;
  border-radius:0!important;
  background:
    linear-gradient(145deg,rgba(24,30,36,.98),rgba(6,10,14,.98)) padding-box!important;
  box-shadow:
    0 14px 28px rgba(0,0,0,.72),
    0 0 20px var(--cyber-soft),
    inset 0 0 0 1px rgba(255,255,255,.05)!important;
  clip-path:polygon(
    var(--frame-cut) 0,
    calc(100% - var(--frame-cut)) 0,
    100% var(--frame-cut),
    100% calc(100% - var(--frame-cut)),
    calc(100% - var(--frame-cut)) 100%,
    var(--frame-cut) 100%,
    0 calc(100% - var(--frame-cut)),
    0 var(--frame-cut)
  );
}

/* Thick metallic outer shell. */
.collection-heading::before,
.collection-card::before,
.card::before,
.collection-info::before,
.detail-panel::before,
.contact-shell::before,
.contact-panel::before,
.collection-placeholder::before,
.notes::before,
.info-notes::before,
.filters::before{
  content:"";
  position:absolute;
  z-index:0;
  inset:0;
  pointer-events:none;
  clip-path:inherit;
  background:
    /* faction illumination */
    linear-gradient(90deg,
      transparent 0 7%,
      var(--cyber-color) 7.4% 8%,
      transparent 8.5% 91.5%,
      var(--cyber-color) 92% 92.6%,
      transparent 93%),
    /* steel face */
    linear-gradient(180deg,
      var(--metal-light) 0%,
      #707a83 8%,
      var(--metal-dark) 18%,
      #2b3239 48%,
      #090d12 82%,
      #6c757d 94%,
      #c1c8cd 100%);
  box-shadow:
    0 0 7px var(--cyber-color),
    0 0 18px var(--cyber-glow);
}

/* Recess the actual content area, leaving a substantial metal rim. */
.collection-heading::after,
.collection-card::after,
.card::after,
.collection-info::after,
.detail-panel::after,
.contact-shell::after,
.contact-panel::after,
.collection-placeholder::after,
.notes::after,
.info-notes::after,
.filters::after{
  content:"";
  position:absolute;
  z-index:1;
  inset:10px;
  pointer-events:none;
  clip-path:polygon(
    10px 0,
    calc(100% - 10px) 0,
    100% 10px,
    100% calc(100% - 10px),
    calc(100% - 10px) 100%,
    10px 100%,
    0 calc(100% - 10px),
    0 10px
  );
  background:
    linear-gradient(135deg,rgba(255,255,255,.035),transparent 20%),
    linear-gradient(180deg,var(--panel-2),var(--panel));
  box-shadow:
    inset 0 0 0 1px rgba(0,0,0,.95),
    inset 0 0 24px rgba(0,0,0,.72);
}

/* Content always sits above the recessed panel. */
.collection-heading>*,
.collection-card>*,
.card>*,
.collection-info>*,
.detail-panel>*,
.contact-shell>*,
.contact-panel>*,
.collection-placeholder>*,
.notes>*,
.info-notes>*,
.filters>*{
  position:relative;
  z-index:3;
}

/* Mechanical accent plates along the top/bottom edges. */
.collection-info,
.detail-panel{
  --frame-cut:28px;
}

.collection-info > .info-main,
.detail-panel > .detail-top{
  position:relative;
}

.collection-info > .info-main::before,
.detail-panel > .detail-top::before{
  content:"";
  position:absolute;
  z-index:-1;
  top:-8px;
  left:8%;
  width:20%;
  height:5px;
  background:linear-gradient(90deg,transparent,var(--metal-light),var(--cyber-bright),var(--metal-dark));
  box-shadow:
    0 0 5px var(--cyber-color),
    0 0 12px var(--cyber-glow);
}

/* Inner image/display frames get their own recessed mechanical treatment. */
.info-image,
.detail-main-image{
  position:relative;
  background:
    radial-gradient(circle at 50% 35%,rgba(255,255,255,.035),transparent 38%),
    linear-gradient(180deg,#0b1219,#03070b)!important;
  border:0!important;
  box-shadow:
    inset 0 0 0 2px #202a32,
    inset 0 0 0 4px #070b10,
    inset 0 0 22px rgba(0,0,0,.88)!important;
  clip-path:polygon(15px 0,calc(100% - 15px) 0,100% 15px,100% calc(100% - 15px),calc(100% - 15px) 100%,15px 100%,0 calc(100% - 15px),0 15px);
}

.info-image::after,
.detail-main-image::after{
  content:"";
  position:absolute;
  inset:4px;
  z-index:2;
  pointer-events:none;
  border:1px solid color-mix(in srgb,var(--cyber-color) 55%,transparent);
  clip-path:inherit;
  box-shadow:0 0 10px var(--cyber-soft);
}

.info-image img,
.detail-main-image img{
  position:relative;
  z-index:3;
  background:transparent!important;
  border:0!important;
  box-shadow:none!important;
}

/* Thumbnail frames. */
.info-thumbs button,
.info-thumbs div,
.detail-thumbs button{
  position:relative;
  background:linear-gradient(180deg,#161d24,#05090d)!important;
  border:2px solid #56616b!important;
  box-shadow:
    inset 0 0 0 1px rgba(255,255,255,.08),
    0 0 8px var(--cyber-soft)!important;
  clip-path:polygon(9px 0,calc(100% - 9px) 0,100% 9px,100% calc(100% - 9px),calc(100% - 9px) 100%,9px 100%,0 calc(100% - 9px),0 9px);
}

.info-thumbs button::before,
.detail-thumbs button::before{
  content:"";
  position:absolute;
  inset:-2px;
  z-index:1;
  pointer-events:none;
  border:1px solid var(--cyber-color);
  clip-path:inherit;
  opacity:.75;
}

.info-thumbs img,
.detail-thumbs img{
  position:relative;
  z-index:2;
  background:transparent!important;
  border:0!important;
  box-shadow:none!important;
  mix-blend-mode:screen;
}

/* Faction-colored controls. */
.collection-button,
.view-details-button,
.detail-navigation button,
.info-navigation button,
.send-button,
.filters button,
.card button{
  border:1px solid var(--cyber-color)!important;
  box-shadow:
    inset 0 0 0 1px rgba(255,255,255,.05),
    0 4px 10px rgba(0,0,0,.85),
    0 0 10px var(--cyber-soft)!important;
}

.collection-button:hover,
.view-details-button:hover,
.detail-navigation button:hover,
.info-navigation button:hover,
.send-button:hover,
.filters button:hover,
.card button:hover{
  box-shadow:
    inset 0 0 0 1px rgba(255,255,255,.08),
    0 5px 12px rgba(0,0,0,.9),
    0 0 20px var(--cyber-glow)!important;
}

.detail-title,
.info-title{
  border-bottom:1px solid color-mix(in srgb,var(--cyber-color) 72%,transparent)!important;
}

.detail-title img,
.info-title img,
.tab-icon img{
  filter:
    drop-shadow(0 0 5px var(--cyber-color))
    drop-shadow(0 0 11px var(--cyber-glow));
}

/* Information panels must flow with the page. */
.collection-info,
.detail-panel{
  position:relative!important;
  top:auto!important;
  height:auto!important;
  min-height:0!important;
  max-height:none!important;
  overflow:visible!important;
  align-self:start!important;
}

/* No information-window close X. */
.close-details,
#infoClose{
  display:none!important;
}

@media(max-width:700px){
  .collection-heading,
  .collection-card,
  .card,
  .collection-info,
  .detail-panel,
  .contact-shell,
  .contact-panel,
  .collection-placeholder,
  .notes,
  .info-notes,
  .filters{
    --frame-cut:12px;
  }

  .collection-info,
  .detail-panel{
    --frame-cut:18px;
  }
}

/* ============================================================
   REMOVE LEGACY NEON FRAME LAYERS
   The new metallic system must not have the old SVG circuitry
   showing through on image/preview areas.
   ============================================================ */

.preview-window::before,
.info-image::before,
.detail-main-image::before{
  content:none!important;
  display:none!important;
}

/* Preview/image windows are now recessed metallic modules,
   matching the reference style guide. */
.preview-window,
.info-image,
.detail-main-image{
  background:
    linear-gradient(145deg,#273039 0%,#0b1117 12%,#03070b 50%,#111920 88%,#2b343b 100%)!important;
  border:2px solid #5c6871!important;
  box-shadow:
    inset 0 0 0 1px rgba(210,220,226,.16),
    inset 0 0 0 4px #090e13,
    inset 0 0 22px rgba(0,0,0,.88),
    0 0 8px var(--cyber-soft)!important;
}

/* A restrained illuminated inner edge replaces the old neon
   circuitry while retaining the collection's faction identity. */
.preview-window::after,
.info-image::after,
.detail-main-image::after{
  content:""!important;
  display:block!important;
  position:absolute!important;
  inset:5px!important;
  z-index:2!important;
  pointer-events:none!important;
  border:1px solid color-mix(in srgb,var(--cyber-color) 72%,#ffffff 10%)!important;
  box-shadow:
    inset 0 0 0 1px rgba(255,255,255,.035),
    0 0 7px var(--cyber-soft)!important;
  clip-path:polygon(
    9px 0,calc(100% - 9px) 0,100% 9px,
    100% calc(100% - 9px),calc(100% - 9px) 100%,
    9px 100%,0 calc(100% - 9px),0 9px
  );
}

/* Collection preview cards should read as metallic modules,
   not neon outlined boxes. */
.collection-card{
  background:
    linear-gradient(145deg,#303941 0%,#11171d 9%,#05090d 22%,#090e13 78%,#2a333a 100%)!important;
}

.card{
  background:
    linear-gradient(145deg,#303941 0%,#11171d 9%,#05090d 22%,#090e13 78%,#2a333a 100%)!important;
}

/* Remove any legacy glow-heavy image treatment. */
.card-image{
  background:transparent!important;
  border:0!important;
  box-shadow:none!important;
  mix-blend-mode:normal!important;
}

/* ============================================================
   FINAL LEGACY-FRAME OVERRIDES
   Page-specific legacy rules are more specific than the master
   system, so these deliberately target the nested modules.
   ============================================================ */

body .collection-card .preview-window::before,
body .preview-window::before,
body .info-image::before,
body .detail-main-image::before{
  content:none!important;
  display:none!important;
  -webkit-mask:none!important;
  mask:none!important;
  background:none!important;
  filter:none!important;
}

body .collection-card .preview-window::after,
body .preview-window::after{
  content:""!important;
  display:block!important;
  position:absolute!important;
  inset:5px!important;
  z-index:2!important;
  background:transparent!important;
  border:1px solid color-mix(in srgb,var(--cyber-color) 72%,#ffffff 10%)!important;
  box-shadow:
    inset 0 0 0 1px rgba(255,255,255,.035),
    0 0 7px var(--cyber-soft)!important;
  -webkit-mask:none!important;
  mask:none!important;
  clip-path:polygon(
    9px 0,calc(100% - 9px) 0,100% 9px,
    100% calc(100% - 9px),calc(100% - 9px) 100%,
    9px 100%,0 calc(100% - 9px),0 9px
  )!important;
}

body .collection-card .preview-window{
  background:
    linear-gradient(145deg,#273039 0%,#0b1117 12%,#03070b 50%,#111920 88%,#2b343b 100%)!important;
  border:2px solid #5c6871!important;
  box-shadow:
    inset 0 0 0 1px rgba(210,220,226,.16),
    inset 0 0 0 4px #090e13,
    inset 0 0 22px rgba(0,0,0,.88),
    0 0 8px var(--cyber-soft)!important;
}

body .collection-card .preview-window img{
  position:relative!important;
  z-index:3!important;
  border:0!important;
  box-shadow:none!important;
  background:transparent!important;
  mix-blend-mode:normal!important;
}

body .info-image img,
body .detail-main-image img{
  mix-blend-mode:normal!important;
}

/* ============================================================
   METALLIC HARDWARE PASS
   Make the frame read as physical Cybertronian hardware rather
   than a thin border around a web panel.
   ============================================================ */

.collection-heading,
.collection-card,
.card,
.collection-info,
.detail-panel,
.contact-shell,
.contact-panel,
.collection-placeholder,
.notes,
.info-notes,
.filters{
  border:0!important;
  box-shadow:
    0 16px 30px rgba(0,0,0,.78),
    0 0 14px var(--cyber-soft),
    inset 0 0 0 1px rgba(220,230,235,.08)!important;
}

/* Metallic shell: multiple highlights, dark bevels and faction
   lighting are layered into the outer hardware. */
.collection-heading::before,
.collection-card::before,
.card::before,
.collection-info::before,
.detail-panel::before,
.contact-shell::before,
.contact-panel::before,
.collection-placeholder::before,
.notes::before,
.info-notes::before,
.filters::before{
  background:
    radial-gradient(ellipse at 18% 7%,rgba(255,255,255,.55) 0 2px,transparent 3px),
    radial-gradient(ellipse at 82% 7%,rgba(255,255,255,.42) 0 2px,transparent 3px),
    radial-gradient(ellipse at 18% 93%,rgba(255,255,255,.35) 0 2px,transparent 3px),
    radial-gradient(ellipse at 82% 93%,rgba(255,255,255,.35) 0 2px,transparent 3px),
    linear-gradient(180deg,
      #d2d8dc 0%,
      #8b969e 5%,
      #3f4951 11%,
      #151c22 19%,
      #59656d 22%,
      #20282f 27%,
      #0a0f14 73%,
      #303a42 78%,
      #11171c 86%,
      #7c878f 94%,
      #c5cbd0 100%)!important;
  box-shadow:
    0 0 7px var(--cyber-color),
    0 0 18px var(--cyber-glow),
    inset 0 2px 0 rgba(255,255,255,.22),
    inset 0 -2px 0 rgba(0,0,0,.75)!important;
}

/* Recessed panel: deeper than before, creating the physical
   "screen set into machinery" appearance from the reference. */
.collection-heading::after,
.collection-card::after,
.card::after,
.collection-info::after,
.detail-panel::after,
.contact-shell::after,
.contact-panel::after,
.collection-placeholder::after,
.notes::after,
.info-notes::after,
.filters::after{
  inset:12px!important;
  background:
    linear-gradient(135deg,rgba(255,255,255,.045),transparent 18%),
    linear-gradient(180deg,#111920 0%,#060b10 34%,#020508 100%)!important;
  box-shadow:
    inset 0 2px 0 rgba(255,255,255,.025),
    inset 0 0 28px rgba(0,0,0,.95),
    0 0 0 1px rgba(0,0,0,.9)!important;
}

/* Mechanical top/bottom rail highlights. */
.collection-heading,
.collection-card,
.card,
.collection-info,
.detail-panel{
  background-image:
    linear-gradient(90deg,
      transparent 0 7%,
      rgba(255,255,255,.14) 7.5%,
      transparent 8% 92%,
      rgba(255,255,255,.12) 92.5%,
      transparent 93%)!important;
}

/* Main information image: substantial inner hardware bezel. */
.info-image,
.detail-main-image,
.preview-window{
  border:3px solid #4f5a63!important;
  box-shadow:
    inset 0 0 0 2px #a0a9ae,
    inset 0 0 0 4px #151c22,
    inset 0 0 0 6px #05090d,
    inset 0 0 30px rgba(0,0,0,.95),
    0 0 9px var(--cyber-soft)!important;
}

/* Subtle faction light catches on the bezel. */
.info-image::after,
.detail-main-image::after,
.preview-window::after{
  inset:4px!important;
  border:1px solid color-mix(in srgb,var(--cyber-color) 78%,white 8%)!important;
  box-shadow:
    0 0 5px var(--cyber-color),
    inset 0 0 7px var(--cyber-soft)!important;
}



/* ============================================================
   CYBERTRONIAN NAVIGATION CHASSIS — OCT 2026
   Shared across the home page and every collection page.
   Artwork stays in HTML; these plates remain responsive and
   interactive, with active faction lighting driven by CSS.
   ============================================================ */

:root {
  --nav-metal-edge: #aab4bd;
  --nav-metal-mid: #4c5964;
  --nav-metal-dark: #111820;
  --nav-inner: #060b11;
  --nav-active: var(--cyber-color);
  --nav-active-glow: var(--cyber-glow);
}

/* Shared hammer-like outer chassis. */
body .topbar,
body .site-header.unified-header {
  position: relative !important;
  z-index: 1000 !important;
  isolation: isolate;
  display: flex !important;
  align-items: stretch !important;
  gap: 0 !important;
  width: calc(100% - 28px) !important;
  max-width: 1900px;
  min-height: 112px !important;
  margin: 14px auto 28px !important;
  padding: 8px 12px 8px 10px !important;
  overflow: visible !important;
  border: 0 !important;
  border-radius: 0 !important;
  background:
    linear-gradient(180deg, #d0d6da 0%, #737f88 4%, #242d35 10%, #10171e 17%, #414c55 22%, #111820 29%, #080d12 76%, #2b343c 84%, #818b92 94%, #c4cbd0 100%) !important;
  box-shadow:
    0 12px 24px rgba(0,0,0,.8),
    0 0 14px var(--nav-active-glow),
    inset 0 2px 0 rgba(255,255,255,.28),
    inset 0 -3px 0 rgba(0,0,0,.9) !important;
  clip-path: polygon(20px 0, 29% 0, 31% 8px, 68% 8px, 70% 0, calc(100% - 24px) 0, 100% 24px, 100% calc(100% - 18px), calc(100% - 18px) 100%, 25% 100%, 23% calc(100% - 7px), 5% calc(100% - 7px), 0 calc(100% - 24px), 0 22px);
}

body .topbar::before,
body .site-header.unified-header::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 5px;
  pointer-events: none;
  background:
    repeating-linear-gradient(115deg, transparent 0 22px, rgba(255,255,255,.025) 23px 25px, transparent 26px 46px),
    linear-gradient(180deg, #202a33, #080d12 45%, #202a32);
  clip-path: polygon(16px 0, 29% 0, 31% 7px, 68% 7px, 70% 0, calc(100% - 20px) 0, 100% 20px, 100% calc(100% - 14px), calc(100% - 14px) 100%, 25% 100%, 23% calc(100% - 6px), 5% calc(100% - 6px), 0 calc(100% - 20px), 0 18px);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.06);
}

/* Large, overhanging logo plate: the left-side hammer head. */
body .topbar .site-logo,
body .site-header.unified-header .brand {
  position: relative !important;
  z-index: 4 !important;
  flex: 0 0 25% !important;
  width: 25% !important;
  min-width: 190px;
  max-width: 390px;
  min-height: 104px !important;
  margin: -2px 10px -17px -3px !important;
  padding: 9px 18px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  overflow: visible !important;
  background:
    linear-gradient(145deg, #d5dbe0 0%, #5b6670 5%, #171f27 12%, #303a43 20%, #0b1117 30%, #05090e 68%, #5c6871 88%, #c1c9ce 96%, #3a444d 100%) !important;
  clip-path: polygon(14px 0, 76% 0, 87% 12%, 100% 50%, 88% 87%, 77% 100%, 14px 100%, 0 84%, 0 16%);
  filter: drop-shadow(0 7px 5px rgba(0,0,0,.9)) drop-shadow(0 0 8px var(--nav-active-glow));
}

body .topbar .site-logo::before,
body .site-header.unified-header .brand::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 5px;
  background:
    linear-gradient(135deg, rgba(255,255,255,.09), transparent 28%),
    linear-gradient(180deg, #202a32, #060b10 60%, #1c252d);
  clip-path: polygon(11px 0, 76% 0, 86% 12%, 100% 50%, 87% 87%, 76% 100%, 11px 100%, 0 84%, 0 16%);
}

body .topbar .site-logo img,
body .site-header.unified-header .brand img {
  display: block !important;
  width: min(100%, 260px) !important;
  max-width: 100% !important;
  max-height: 96px !important;
  height: auto !important;
  object-fit: contain !important;
  filter: drop-shadow(0 3px 3px #000) drop-shadow(0 0 5px var(--nav-active-glow));
}

/* Six separate mechanical navigation plates. */
body .topbar .main-nav,
body .site-header.unified-header .main-nav {
  position: relative;
  z-index: 2;
  flex: 1 1 75% !important;
  width: 75%;
  min-width: 0;
  display: grid !important;
  grid-template-columns: repeat(6, minmax(0, 1fr)) !important;
  align-items: stretch !important;
  gap: 5px !important;
  padding: 7px 4px !important;
  background: transparent !important;
}

body .topbar .nav-item,
body .site-header.unified-header .nav-item {
  --tab-color: #9eabb5;
  --tab-glow: rgba(158,171,181,.3);
  position: relative !important;
  z-index: 0;
  min-width: 0 !important;
  min-height: 82px !important;
  padding: 8px 5px !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 5px !important;
  overflow: hidden !important;
  color: #f5f8fb !important;
  text-align: center !important;
  text-decoration: none !important;
  background: linear-gradient(180deg, #303a43 0%, #121920 12%, #070c11 55%, #1b242c 91%, #525e67 100%) !important;
  border: 0 !important;
  clip-path: polygon(12px 0, calc(100% - 12px) 0, 100% 12px, 100% calc(100% - 12px), calc(100% - 12px) 100%, 12px 100%, 0 calc(100% - 12px), 0 12px) !important;
  box-shadow: none !important;
  filter: drop-shadow(0 3px 3px rgba(0,0,0,.8));
  transform: none !important;
  transition: background .2s ease, filter .2s ease;
}

body .topbar .nav-item::before,
body .site-header.unified-header .nav-item::before {
  content: "" !important;
  position: absolute !important;
  z-index: -1 !important;
  inset: 2px !important;
  background:
    linear-gradient(145deg, rgba(255,255,255,.075), transparent 24%),
    linear-gradient(180deg, #171f26, #05090e 62%, #10171d) !important;
  -webkit-mask: none !important;
  mask: none !important;
  clip-path: polygon(10px 0, calc(100% - 10px) 0, 100% 10px, 100% calc(100% - 10px), calc(100% - 10px) 100%, 10px 100%, 0 calc(100% - 10px), 0 10px);
  filter: none !important;
  pointer-events: none;
}

body .topbar .nav-item::after,
body .site-header.unified-header .nav-item::after {
  content: "" !important;
  position: absolute !important;
  z-index: -1 !important;
  left: 14%;
  right: 14%;
  bottom: 3px;
  height: 3px;
  inset: auto 14% 3px !important;
  background: var(--tab-color) !important;
  box-shadow: 0 0 5px var(--tab-color), 0 0 12px var(--tab-glow) !important;
  clip-path: none !important;
  opacity: .68;
  transition: opacity .2s ease, height .2s ease;
  pointer-events: none;
}

body .topbar .nav-item img,
body .site-header.unified-header .nav-item img {
  position: relative !important;
  z-index: 2 !important;
  width: clamp(25px, 3vw, 42px) !important;
  height: clamp(25px, 3vw, 42px) !important;
  min-width: 0 !important;
  min-height: 0 !important;
  max-width: 42px !important;
  max-height: 42px !important;
  flex: 0 0 auto !important;
  object-fit: contain !important;
  filter: drop-shadow(0 1px 2px #000) drop-shadow(0 0 4px var(--tab-glow)) !important;
}

body .topbar .nav-item span,
body .site-header.unified-header .nav-item span {
  position: relative !important;
  z-index: 2 !important;
  display: block;
  max-width: 100%;
  white-space: normal !important;
  font-family: "Orbitron", Arial, sans-serif !important;
  font-size: clamp(9px, .82vw, 14px) !important;
  line-height: 1.15 !important;
  font-weight: 800 !important;
  letter-spacing: .3px !important;
  text-shadow: 0 2px 3px #000 !important;
}

body .topbar .nav-item.autobots,
body .site-header .nav-item.autobots { --tab-color: #ff302f; --tab-glow: rgba(255,48,47,.65); }
body .topbar .nav-item.decepticons,
body .site-header .nav-item.decepticons { --tab-color: #a94cff; --tab-glow: rgba(169,76,255,.65); }
body .topbar .nav-item.masterpiece,
body .site-header .nav-item.masterpiece { --tab-color: #00d5f5; --tab-glow: rgba(0,213,245,.65); }
body .topbar .nav-item.third-party,
body .site-header .nav-item.third-party { --tab-color: #55d86a; --tab-glow: rgba(85,216,106,.65); }
body .topbar .nav-item.primes,
body .site-header .nav-item.primes { --tab-color: #ffc34c; --tab-glow: rgba(255,195,76,.65); }
body .topbar .nav-item.contact,
body .site-header .nav-item.contact { --tab-color: #bdc8d5; --tab-glow: rgba(189,200,213,.5); }

body .topbar .nav-item:hover,
body .topbar .nav-item.active,
body .site-header .nav-item:hover,
body .site-header .nav-item.active {
  background: linear-gradient(180deg, color-mix(in srgb, var(--tab-color) 35%, #313a43), color-mix(in srgb, var(--tab-color) 18%, #080c11) 38%, #070b10 72%, color-mix(in srgb, var(--tab-color) 30%, #1a222a)) !important;
  filter: drop-shadow(0 0 6px var(--tab-glow)) drop-shadow(0 4px 3px rgba(0,0,0,.9));
}

body .topbar .nav-item:hover::after,
body .topbar .nav-item.active::after,
body .site-header .nav-item:hover::after,
body .site-header .nav-item.active::after {
  height: 4px;
  opacity: 1;
}

/* On the selected collection page, lift the active plate slightly
   like a mechanical tab, while keeping all six positions aligned. */
body .topbar .nav-item.active,
body .site-header .nav-item.active {
  transform: translateY(-4px) !important;
  border-top: 2px solid var(--tab-color) !important;
}

/* Small screens: retain the same design language without crushing labels. */
@media (max-width: 900px) {
  body .topbar,
  body .site-header.unified-header {
    min-height: 96px !important;
    width: calc(100% - 16px) !important;
    padding: 7px !important;
  }

  body .topbar .site-logo,
  body .site-header.unified-header .brand {
    flex-basis: 21% !important;
    width: 21% !important;
    min-width: 118px;
    margin-right: 5px !important;
  }

  body .topbar .nav-item,
  body .site-header.unified-header .nav-item {
    min-height: 72px !important;
    padding: 5px 2px !important;
  }

  body .topbar .nav-item span,
  body .site-header.unified-header .nav-item span {
    font-size: clamp(7px, 1.05vw, 10px) !important;
  }
}

@media (max-width: 620px) {
  body .topbar,
  body .site-header.unified-header {
    width: calc(100% - 12px) !important;
    min-height: 0 !important;
    flex-wrap: wrap !important;
    margin: 7px auto 18px !important;
    padding: 6px !important;
  }

  body .topbar .site-logo,
  body .site-header.unified-header .brand {
    flex: 0 0 100% !important;
    width: 100% !important;
    max-width: none !important;
    min-width: 0 !important;
    min-height: 66px !important;
    margin: 0 0 5px !important;
    clip-path: polygon(12px 0, calc(100% - 12px) 0, 100% 12px, 100% calc(100% - 12px), calc(100% - 12px) 100%, 12px 100%, 0 calc(100% - 12px), 0 12px);
  }

  body .topbar .site-logo img,
  body .site-header.unified-header .brand img {
    width: auto !important;
    max-height: 62px !important;
  }

  body .topbar .main-nav,
  body .site-header.unified-header .main-nav {
    flex: 0 0 100% !important;
    width: 100% !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 4px !important;
    padding: 3px 0 !important;
  }

  body .topbar .nav-item,
  body .site-header.unified-header .nav-item {
    min-height: 60px !important;
    gap: 3px !important;
  }

  body .topbar .nav-item img,
  body .site-header.unified-header .nav-item img {
    width: 25px !important;
    height: 25px !important;
  }

  body .topbar .nav-item span,
  body .site-header.unified-header .nav-item span {
    font-size: 8px !important;
  }

  body .topbar .nav-item.active,
  body .site-header .nav-item.active {
    transform: none !important;
  }
}


/* ============================================================
   BATTLE-WORN CYBERTRONIAN NAVIGATION FINISH
   Scraped edges, worn steel, scoring, rivets and heat discoloration.
   ============================================================ */

body .topbar,
body .site-header.unified-header {
  background:
    radial-gradient(ellipse at 12% 16%, rgba(255,255,255,.18), transparent 13%),
    radial-gradient(ellipse at 72% 82%, rgba(218,112,45,.16), transparent 20%),
    repeating-linear-gradient(167deg, transparent 0 13px, rgba(0,0,0,.22) 14px, transparent 16px 27px),
    repeating-linear-gradient(12deg, transparent 0 31px, rgba(221,229,234,.09) 32px, transparent 33px 49px),
    linear-gradient(180deg,#b7bdc1 0%,#6b747b 3%,#222a30 8%,#4e5355 12%,#171e24 18%,#343b40 23%,#0a0f14 34%,#151b20 70%,#373d41 81%,#171d21 88%,#7c858a 95%,#c0c5c8 100%) !important;
  box-shadow:
    0 13px 25px rgba(0,0,0,.9),
    0 0 14px var(--nav-active-glow),
    inset 0 2px 0 rgba(255,255,255,.32),
    inset 0 -4px 0 rgba(0,0,0,.95) !important;
}

body .topbar::after,
body .site-header.unified-header::after {
  content: "";
  position: absolute;
  z-index: 1;
  inset: 4px;
  pointer-events: none;
  opacity: .82;
  background:
    radial-gradient(circle at 2.4% 24%, #c8cdd0 0 2px, #20272c 2.7px 4px, transparent 4.5px),
    radial-gradient(circle at 2.4% 76%, #c8cdd0 0 2px, #20272c 2.7px 4px, transparent 4.5px),
    radial-gradient(circle at 97.6% 24%, #c8cdd0 0 2px, #20272c 2.7px 4px, transparent 4.5px),
    radial-gradient(circle at 97.6% 76%, #c8cdd0 0 2px, #20272c 2.7px 4px, transparent 4.5px),
    repeating-linear-gradient(112deg, transparent 0 39px, rgba(0,0,0,.75) 40px 41px, rgba(255,255,255,.22) 42px, transparent 43px 67px),
    repeating-linear-gradient(4deg, transparent 0 54px, rgba(255,255,255,.13) 55px, transparent 56px 82px);
  mix-blend-mode: screen;
}

body .topbar .site-logo,
body .site-header.unified-header .brand {
  background:
    radial-gradient(ellipse at 18% 15%, rgba(255,255,255,.23), transparent 22%),
    repeating-linear-gradient(118deg, transparent 0 19px, rgba(0,0,0,.5) 20px 22px, transparent 23px 36px),
    linear-gradient(145deg,#bfc5c8 0%,#555e65 5%,#171e24 11%,#4b5052 17%,#161c22 26%,#080c11 67%,#343b40 79%,#a4aaad 89%,#4c5459 94%,#171d22 100%) !important;
}

body .topbar .site-logo::after,
body .site-header.unified-header .brand::after {
  content: "";
  position: absolute;
  inset: 7px;
  pointer-events: none;
  background:
    radial-gradient(circle at 8% 15%, #d1d5d7 0 2px, #20272d 2.8px 4px, transparent 4.5px),
    radial-gradient(circle at 8% 85%, #d1d5d7 0 2px, #20272d 2.8px 4px, transparent 4.5px),
    repeating-linear-gradient(165deg, transparent 0 25px, rgba(255,255,255,.18) 26px, rgba(0,0,0,.55) 27px, transparent 29px 44px);
  opacity: .85;
  clip-path: inherit;
}

body .topbar .nav-item,
body .site-header.unified-header .nav-item {
  background:
    radial-gradient(ellipse at 18% 7%, rgba(255,255,255,.2), transparent 20%),
    repeating-linear-gradient(155deg, transparent 0 22px, rgba(255,255,255,.055) 23px, rgba(0,0,0,.45) 24px, transparent 26px 43px),
    linear-gradient(180deg,#687179 0%,#292f35 5%,#10161c 15%,#05090e 54%,#171e24 83%,#4c555b 94%,#20272d 100%) !important;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.26),
    inset 0 -2px 0 rgba(0,0,0,.95),
    0 3px 4px rgba(0,0,0,.9) !important;
}

body .topbar .nav-item::before,
body .site-header.unified-header .nav-item::before {
  background:
    radial-gradient(circle at 8% 14%, #aeb6bb 0 1.5px, #080d11 2.5px, transparent 3.5px),
    radial-gradient(circle at 92% 86%, #aeb6bb 0 1.5px, #080d11 2.5px, transparent 3.5px),
    repeating-linear-gradient(108deg, transparent 0 31px, rgba(255,255,255,.11) 32px, rgba(0,0,0,.7) 33px, transparent 35px 57px),
    linear-gradient(145deg,rgba(255,255,255,.09),transparent 24%),
    linear-gradient(180deg,#20272e,#05090d 62%,#171e24) !important;
}

body .topbar .nav-item.active,
body .site-header .nav-item.active {
  background:
    radial-gradient(ellipse at 50% 0%, color-mix(in srgb, var(--tab-color) 35%, transparent), transparent 65%),
    repeating-linear-gradient(155deg, transparent 0 22px, rgba(255,255,255,.065) 23px, rgba(0,0,0,.5) 24px, transparent 26px 43px),
    linear-gradient(180deg,#687179 0%,#292f35 5%,#10161c 15%,#05090e 54%,#171e24 83%,#4c555b 94%,#20272d 100%) !important;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.28),
    inset 0 -2px 0 rgba(0,0,0,.95),
    0 0 12px var(--tab-glow) !important;
}

@media (prefers-reduced-motion: reduce) {
  body .topbar .nav-item,
  body .site-header .nav-item { transition: none !important; }
}


/* EXPANDING MENU: battle-damaged lower control deck */
.nav-expansion[hidden] { display: none !important; }
.nav-expansion {
  position: relative;
  z-index: 900;
  width: calc(100% - 42px);
  max-width: 1880px;
  margin: -24px auto 28px;
  min-height: 150px;
  display: grid;
  grid-template-columns: 100px minmax(0,1fr) 42px;
  align-items: stretch;
  gap: 18px;
  padding: 16px 18px;
  color: #f5f7fa;
  border: 0;
  background:
    radial-gradient(ellipse at 15% 50%, color-mix(in srgb,var(--cyber-color) 28%,transparent),transparent 48%),
    repeating-linear-gradient(165deg,transparent 0 23px,rgba(255,255,255,.07) 24px,rgba(0,0,0,.55) 25px,transparent 27px 45px),
    linear-gradient(180deg,#8b949a 0%,#353d43 5%,#11171d 13%,#05090e 58%,#1b2228 84%,#737c82 96%,#252c32 100%);
  box-shadow: 0 13px 24px rgba(0,0,0,.82), inset 0 1px 0 rgba(255,255,255,.28), inset 0 -3px 0 rgba(0,0,0,.9), 0 0 18px var(--cyber-soft);
  clip-path: polygon(18px 0,calc(100% - 34px) 0,100% 25px,100% calc(100% - 16px),calc(100% - 16px) 100%,18px 100%,0 calc(100% - 18px),0 18px);
  animation: navDeckDeploy .28s ease-out both;
}
.nav-expansion::before {
  content:"";
  position:absolute;
  inset:6px;
  z-index:0;
  pointer-events:none;
  background:
    radial-gradient(circle at 1.5% 18%,#c4c9cc 0 2px,#1a2025 3px 4px,transparent 5px),
    radial-gradient(circle at 1.5% 82%,#c4c9cc 0 2px,#1a2025 3px 4px,transparent 5px),
    repeating-linear-gradient(112deg,transparent 0 39px,rgba(255,255,255,.09) 40px,rgba(0,0,0,.65) 41px,transparent 43px 67px);
}
.nav-expansion-emblem {
  z-index:1;
  display:grid;
  place-items:center;
  align-self:stretch;
  font-size:48px;
  color:var(--cyber-bright);
  text-shadow:0 0 8px var(--cyber-color),0 0 22px var(--cyber-glow);
  border-right:2px solid color-mix(in srgb,var(--cyber-color) 65%,#7d858b);
}
.nav-expansion-content { position:relative; z-index:1; min-width:0; }
.nav-expansion-kicker {
  margin:0 0 4px;
  font-size:10px;
  letter-spacing:3px;
  color:var(--cyber-bright);
}
.nav-expansion-title {
  margin:0 0 14px;
  font-size:clamp(17px,2vw,25px);
  letter-spacing:2px;
  text-shadow:0 2px 3px #000;
}
.nav-expansion-links {
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:10px;
}
.nav-expansion-links a {
  display:flex;
  align-items:center;
  justify-content:center;
  min-height:42px;
  padding:8px 12px;
  color:#f4f6f8;
  text-decoration:none;
  text-align:center;
  font-size:clamp(9px,.9vw,13px);
  font-weight:800;
  letter-spacing:.6px;
  background:
    repeating-linear-gradient(155deg,transparent 0 18px,rgba(255,255,255,.06) 19px,rgba(0,0,0,.5) 20px,transparent 22px 37px),
    linear-gradient(180deg,#333c43,#090e13 45%,#20282e);
  border:1px solid #6b747a;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.18),0 3px 7px #000,0 0 8px var(--cyber-soft);
  clip-path:polygon(9px 0,calc(100% - 9px) 0,100% 9px,100% calc(100% - 9px),calc(100% - 9px) 100%,9px 100%,0 calc(100% - 9px),0 9px);
}
.nav-expansion-links a:hover,
.nav-expansion-links a:focus-visible {
  outline:none;
  border-color:var(--cyber-bright);
  box-shadow:inset 0 0 0 1px var(--cyber-color),0 0 15px var(--cyber-glow);
  background-color:var(--cyber-soft);
}
.nav-expansion-close {
  position:relative;
  z-index:2;
  align-self:start;
  width:36px;
  height:36px;
  color:#f6f8fa;
  font-size:25px;
  background:linear-gradient(#555f67,#11171d);
  border:1px solid #89939a;
  cursor:pointer;
}
@keyframes navDeckDeploy {
  from { opacity:0; transform:translateY(-8px); }
  to { opacity:1; transform:translateY(0); }
}
@media(max-width:620px) {
  .nav-expansion { width:calc(100% - 16px); margin:-14px auto 20px; grid-template-columns:44px minmax(0,1fr) 30px; gap:9px; padding:12px 9px; }
  .nav-expansion-emblem { font-size:27px; }
  .nav-expansion-links { grid-template-columns:1fr; gap:7px; }
  .nav-expansion-links a { min-height:38px; }
  .nav-expansion-close { width:28px; height:28px; font-size:20px; }
}
@media(prefers-reduced-motion:reduce) { .nav-expansion { animation:none; } }


/* NAV REVISION: clean logo plate and overlay expansion */
body .topbar .site-logo,
body .site-header.unified-header .brand {
  background:
    radial-gradient(ellipse at 18% 15%, rgba(255,255,255,.17), transparent 22%),
    linear-gradient(145deg,#bfc5c8 0%,#555e65 5%,#171e24 11%,#343c42 18%,#161c22 26%,#080c11 67%,#343b40 79%,#a4aaad 89%,#4c5459 94%,#171d22 100%) !important;
}

/* Remove the diagonal wear-stripe overlays from the logo plate only. */
body .topbar .site-logo::after,
body .site-header.unified-header .brand::after {
  content: none !important;
  display: none !important;
}
body .topbar .site-logo::before,
body .site-header.unified-header .brand::before {
  background:
    linear-gradient(135deg,rgba(255,255,255,.07),transparent 28%),
    linear-gradient(180deg,#202a32,#060b10 60%,#1c252d) !important;
}

/* The expansion panel overlays the page instead of pushing content down.
   JavaScript positions it immediately beneath the navigation chassis. */
.nav-expansion {
  position: absolute !important;
  z-index: 2000 !important;
  margin: 0 !important;
  width: auto;
  max-width: none;
}


/* FULL WEATHERING PASS: layered armour, scratches, hardware, grime,
   varied metal finishes and recessed energy seams. */
body .topbar,
body .site-header.unified-header {
  border-top:1px solid rgba(244,248,250,.72)!important;
  outline:1px solid rgba(0,0,0,.92);
  background:
    radial-gradient(ellipse at 8% 4%,rgba(255,255,255,.38),transparent 9%),
    radial-gradient(ellipse at 94% 95%,rgba(0,0,0,.95),transparent 24%),
    /* Removed the legacy 25% / 75% vertical stripe gradient. */
    repeating-linear-gradient(176deg,transparent 0 38px,rgba(0,0,0,.6) 39px,rgba(230,235,238,.2) 40px,transparent 42px 63px),
    linear-gradient(180deg,#c0c6ca 0%,#6a747c 3%,#252d34 7%,#4a5157 11%,#151c22 17%,#313940 23%,#080d12 35%,#161d23 68%,#353d43 79%,#11171c 87%,#747d83 95%,#b9c0c4 100%)!important;
  box-shadow:0 14px 26px rgba(0,0,0,.92),inset 0 2px 0 rgba(255,255,255,.48),inset 0 -4px 0 rgba(0,0,0,.98),inset 0 0 0 2px rgba(0,0,0,.7),0 0 12px var(--nav-active-glow)!important;
}

/* Outer frame: exposed edges, scoring, grime and recessed fasteners. */
body .topbar::after,
body .site-header.unified-header::after {
  opacity:.95!important;
  background:
    radial-gradient(circle at 2.2% 24%,#d9dee1 0 2px,#343b40 2.8px 4.2px,transparent 4.8px),
    radial-gradient(circle at 2.2% 76%,#d9dee1 0 2px,#343b40 2.8px 4.2px,transparent 4.8px),
    radial-gradient(circle at 97.8% 24%,#d9dee1 0 2px,#343b40 2.8px 4.2px,transparent 4.8px),
    radial-gradient(circle at 97.8% 76%,#d9dee1 0 2px,#343b40 2.8px 4.2px,transparent 4.8px),
    radial-gradient(ellipse at 13% 9%,rgba(238,242,244,.45),transparent 10%),
    radial-gradient(ellipse at 64% 91%,rgba(0,0,0,.85),transparent 19%),
    repeating-linear-gradient(112deg,transparent 0 31px,rgba(0,0,0,.92) 32px 33px,rgba(236,241,243,.48) 34px,transparent 35px 58px),
    repeating-linear-gradient(4deg,transparent 0 53px,rgba(255,255,255,.2) 54px,rgba(0,0,0,.7) 55px,transparent 57px 81px)!important;
}

/* Interlocking tab plates: bevels, rubbed corners and irregular metal grain. */
body .topbar .nav-item,
body .site-header.unified-header .nav-item {
  border:1px solid rgba(177,187,194,.46)!important;
  background:
    radial-gradient(ellipse at 12% 0%,rgba(245,248,250,.3),transparent 21%),
    radial-gradient(ellipse at 88% 100%,rgba(0,0,0,.95),transparent 30%),
    linear-gradient(135deg,transparent 0 12%,rgba(255,255,255,.08) 12.2%,transparent 13% 79%,rgba(0,0,0,.7) 80%,transparent 81%),
    repeating-linear-gradient(157deg,transparent 0 29px,rgba(255,255,255,.1) 30px,rgba(0,0,0,.65) 31px,transparent 33px 51px),
    linear-gradient(180deg,#a6afb5 0%,#4c565e 4%,#20272d 10%,#0a0f14 28%,#11171c 63%,#30383f 84%,#626c73 94%,#161c22 100%)!important;
  box-shadow:inset 0 2px 0 rgba(255,255,255,.34),inset 0 -3px 0 rgba(0,0,0,.98),inset 2px 0 0 rgba(255,255,255,.09),0 4px 5px rgba(0,0,0,.95)!important;
}
body .topbar .nav-item::before,
body .site-header.unified-header .nav-item::before {
  background:
    radial-gradient(circle at 7% 13%,#d6dcdf 0 1.3px,#222a30 2px 3.1px,transparent 3.7px),
    radial-gradient(circle at 93% 13%,#d6dcdf 0 1.3px,#222a30 2px 3.1px,transparent 3.7px),
    radial-gradient(circle at 7% 87%,#d6dcdf 0 1.3px,#222a30 2px 3.1px,transparent 3.7px),
    radial-gradient(circle at 93% 87%,#d6dcdf 0 1.3px,#222a30 2px 3.1px,transparent 3.7px),
    linear-gradient(132deg,transparent 0 19%,rgba(0,0,0,.9) 19.3%,rgba(255,255,255,.27) 19.7%,transparent 20.2% 70%,rgba(0,0,0,.8) 70.4%,rgba(255,255,255,.19) 70.8%,transparent 71.3%),
    repeating-linear-gradient(108deg,transparent 0 37px,rgba(255,255,255,.1) 38px,rgba(0,0,0,.85) 39px,transparent 41px 61px),
    linear-gradient(145deg,rgba(255,255,255,.08),transparent 24%),
    linear-gradient(180deg,#20272e,#05090d 62%,#171e24)!important;
  opacity:.96;
}

/* Logo plate stays free of diagonal stripes, with layered bevels and bolts. */
body .topbar .site-logo,
body .site-header.unified-header .brand {
  border:1px solid rgba(214,222,226,.55)!important;
  background:
    radial-gradient(ellipse at 18% 8%,rgba(255,255,255,.28),transparent 20%),
    radial-gradient(ellipse at 88% 93%,rgba(0,0,0,.9),transparent 25%),
    linear-gradient(145deg,#d0d5d8 0%,#69737a 4%,#232b32 9%,#535b61 14%,#171e24 22%,#080d12 68%,#343c42 79%,#b1b8bc 89%,#4b545a 94%,#171d22 100%)!important;
  box-shadow:inset 0 2px 0 rgba(255,255,255,.3),inset 0 -3px 0 rgba(0,0,0,.95),0 8px 9px rgba(0,0,0,.95),0 0 9px var(--nav-active-glow)!important;
}
body .topbar .site-logo::before,
body .site-header.unified-header .brand::before {
  background:
    radial-gradient(circle at 7% 13%,#d7dcdf 0 1.6px,#20272d 2.4px 3.6px,transparent 4.1px),
    radial-gradient(circle at 7% 87%,#d7dcdf 0 1.6px,#20272d 2.4px 3.6px,transparent 4.1px),
    linear-gradient(135deg,rgba(255,255,255,.09),transparent 28%),
    linear-gradient(180deg,#202a32,#060b10 60%,#1c252d)!important;
}

/* Dark grime, rubbed edges and stronger contrast at icons and labels. */
body .topbar .nav-item span {text-shadow:0 2px 3px #000,0 0 2px rgba(0,0,0,.9)!important}
body .topbar .nav-item img {filter:drop-shadow(0 2px 2px #000) drop-shadow(0 0 4px var(--tab-glow))!important}
body .topbar .nav-item:hover,
body .topbar .nav-item.active,
body .site-header .nav-item:hover,
body .site-header .nav-item.active {
  border-color:color-mix(in srgb,var(--tab-color) 70%,#b6c0c7)!important;
  box-shadow:inset 0 2px 0 rgba(255,255,255,.3),inset 0 -3px 0 rgba(0,0,0,.98),inset 0 0 16px color-mix(in srgb,var(--tab-color) 12%,transparent),0 0 13px var(--tab-glow),0 4px 5px rgba(0,0,0,.95)!important;
}

/* Dark recessed navigation bed: each tab sits into the chassis. */
body .topbar .main-nav,
body .site-header.unified-header .main-nav {
  background:radial-gradient(ellipse at 50% 0%,rgba(255,255,255,.08),transparent 55%),linear-gradient(180deg,rgba(0,0,0,.78),rgba(0,0,0,.15) 25%,rgba(0,0,0,.8))!important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.15),inset 0 -2px 0 rgba(0,0,0,.95);
}

/* Energy appears to leak from beneath the plate edges. */
body .topbar .nav-item::after,
body .site-header.unified-header .nav-item::after {
  height:3px!important;bottom:3px!important;left:13%!important;right:13%!important;
  background:linear-gradient(90deg,transparent,var(--tab-color) 15% 85%,transparent)!important;
  box-shadow:0 0 3px var(--tab-color),0 0 8px var(--tab-glow),0 -2px 4px color-mix(in srgb,var(--tab-color) 22%,transparent)!important;
  opacity:.86;
}
body .topbar .nav-item.active::after,
body .topbar .nav-item:hover::after,
body .site-header .nav-item.active::after,
body .site-header .nav-item:hover::after {height:4px!important;opacity:1}

/* Expanded menu receives the same scraped-steel treatment. */
.nav-expansion {
  border:1px solid rgba(202,211,216,.5)!important;
  background:
    radial-gradient(ellipse at 12% 0%,rgba(255,255,255,.22),transparent 17%),
    radial-gradient(ellipse at 91% 100%,rgba(0,0,0,.95),transparent 24%),
    radial-gradient(ellipse at 15% 50%,color-mix(in srgb,var(--cyber-color) 24%,transparent),transparent 48%),
    repeating-linear-gradient(165deg,transparent 0 31px,rgba(255,255,255,.08) 32px,rgba(0,0,0,.75) 33px,transparent 35px 54px),
    linear-gradient(180deg,#b1b8bc 0%,#454e55 4%,#161c22 12%,#05090e 58%,#252d33 83%,#7e878d 96%,#20272d 100%)!important;
  box-shadow:0 14px 27px rgba(0,0,0,.95),inset 0 2px 0 rgba(255,255,255,.35),inset 0 -4px 0 rgba(0,0,0,.98),0 0 18px var(--cyber-soft)!important;
}
.nav-expansion::before {
  background:
    radial-gradient(circle at 1.5% 18%,#d5dadd 0 2px,#20272d 3px 4px,transparent 5px),
    radial-gradient(circle at 1.5% 82%,#d5dadd 0 2px,#20272d 3px 4px,transparent 5px),
    radial-gradient(circle at 98.5% 18%,#d5dadd 0 2px,#20272d 3px 4px,transparent 5px),
    radial-gradient(circle at 98.5% 82%,#d5dadd 0 2px,#20272d 3px 4px,transparent 5px),
    repeating-linear-gradient(112deg,transparent 0 39px,rgba(255,255,255,.12) 40px,rgba(0,0,0,.8) 41px,transparent 43px 67px)!important;
}
.nav-expansion-links a {
  border-color:#929ba1!important;
  background:
    radial-gradient(ellipse at 15% 0%,rgba(255,255,255,.2),transparent 30%),
    repeating-linear-gradient(155deg,transparent 0 21px,rgba(255,255,255,.08) 22px,rgba(0,0,0,.7) 23px,transparent 25px 42px),
    linear-gradient(180deg,#656e74 0%,#22292f 8%,#070b10 48%,#151b21 82%,#555e64 100%)!important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.28),inset 0 -2px 0 rgba(0,0,0,.98),0 4px 8px rgba(0,0,0,.95),0 0 8px var(--cyber-soft)!important;
}


/* New custom-generated navigation logo plate artwork. */
body .topbar .site-logo img,
body .site-header.unified-header .brand img {
  width: min(100%, 370px) !important;
  max-width: 100% !important;
  max-height: 108px !important;
  height: auto !important;
  object-fit: contain !important;
  filter: drop-shadow(0 3px 3px rgba(0,0,0,.9)) drop-shadow(0 0 5px var(--nav-active-glow)) !important;
}
@media (max-width: 900px) {
  body .topbar .site-logo img,
  body .site-header.unified-header .brand img { max-height: 94px !important; }
}
@media (max-width: 620px) {
  body .topbar .site-logo img,
  body .site-header.unified-header .brand img {
    max-height: 62px !important;
    width: auto !important;
  }
}


/* CUSTOM TRANSPARENT NAVIGATION CHASSIS ARTWORK
   The chassis image supplies the weathered metal frame; the separate
   navigation logo remains layered above its empty left-side bay. */
body .topbar,
body .site-header.unified-header {
  background-color: transparent !important;
  background-image: url("images/decorative%20elements/navigation-bar-chassis_result.webp?v=7789ccf54e") !important;
  background-repeat: no-repeat !important;
  background-position: center center !important;
  background-size: 100% 100% !important;
  border: 0 !important;
  outline: 0 !important;
  box-shadow: 0 10px 22px rgba(0,0,0,.6) !important;
  clip-path: none !important;
}

body .topbar::before,
body .site-header.unified-header::before,
body .topbar::after,
body .site-header.unified-header::after {
  content: none !important;
  display: none !important;
}

/* Remove the CSS-drawn logo plaque: the uploaded logo artwork supplies it. */
body .topbar .site-logo,
body .site-header.unified-header .brand {
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  clip-path: none !important;
  filter: none !important;
}
body .topbar .site-logo::before,
body .topbar .site-logo::after,
body .site-header.unified-header .brand::before,
body .site-header.unified-header .brand::after {
  content: none !important;
  display: none !important;
}

@media (max-width: 620px) {
  body .topbar,
  body .site-header.unified-header {
    background-size: 100% 100% !important;
  }
}


/* CHASSIS SCALE TUNING: enlarge artwork to fill the navigation rail. */
body .topbar,
body .site-header.unified-header {
  background-size: 100% 155% !important;
  background-position: center center !important;
  min-height: 126px !important;
}
@media (max-width: 900px) {
  body .topbar,
  body .site-header.unified-header {
    background-size: 100% 150% !important;
    min-height: 112px !important;
  }
}
@media (max-width: 620px) {
  body .topbar,
  body .site-header.unified-header {
    background-size: 100% 145% !important;
    min-height: 0 !important;
  }
}


/* Fine alignment pass: reduce vertical chassis zoom while retaining full width. */
body .topbar,
body .site-header.unified-header {
  background-size: 100% 125% !important;
  background-position: center center !important;
  min-height: 126px !important;
}
body .topbar .site-logo,
body .site-header.unified-header .brand {
  align-self: center !important;
  min-height: 104px !important;
  margin-top: -1px !important;
  margin-bottom: -10px !important;
}
body .topbar .main-nav,
body .site-header.unified-header .main-nav {
  align-self: center !important;
  padding-top: 7px !important;
  padding-bottom: 7px !important;
}
@media (max-width: 900px) {
  body .topbar,
  body .site-header.unified-header {
    background-size: 100% 125% !important;
    min-height: 112px !important;
  }
}
@media (max-width: 620px) {
  body .topbar,
  body .site-header.unified-header {
    background-size: 100% 120% !important;
    min-height: 0 !important;
  }
  body .topbar .site-logo,
  body .site-header.unified-header .brand {
    min-height: 66px !important;
    margin: 0 0 5px !important;
  }
}


/* Chassis-to-logo fit: enlarge the left mounting opening while keeping
   its center aligned with the navigation logo bay. Anchor at the left
   edge so scaling does not shift the opening away from the logo. */
body .topbar,
body .site-header.unified-header {
  background-size: 108% 130% !important;
  background-position: left center !important;
}
@media (max-width: 900px) {
  body .topbar,
  body .site-header.unified-header {
    background-size: 106% 126% !important;
    background-position: left center !important;
  }
}
@media (max-width: 620px) {
  body .topbar,
  body .site-header.unified-header {
    background-size: 104% 120% !important;
    background-position: left center !important;
  }
}


/* RESET after visual testing: scale the chassis as a single, undistorted
   asset and size the logo independently inside its left mounting bay.
   Stretching the entire background also shifts the bay relative to tabs. */
body .site-header.unified-header {
  background-size: 100% 100% !important;
  background-position: center center !important;
  min-height: 126px !important;
  padding-left: 8px !important;
  padding-right: 8px !important;
  gap: 0 !important;
}
body .site-header.unified-header .brand {
  flex: 0 0 390px !important;
  width: 390px !important;
  min-width: 0 !important;
  min-height: 108px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  margin: 0 !important;
  padding: 0 !important;
}
body .site-header.unified-header .brand img {
  width: 330px !important;
  max-width: 100% !important;
  max-height: 100px !important;
  height: auto !important;
  object-fit: contain !important;
}
body .site-header.unified-header .main-nav {
  flex: 1 1 0 !important;
  min-width: 0 !important;
}
@media (max-width: 1100px) {
  body .site-header.unified-header .brand {
    flex-basis: 34% !important;
    width: 34% !important;
  }
  body .site-header.unified-header .brand img {
    width: 92% !important;
    max-height: 92px !important;
  }
}
@media (max-width: 620px) {
  body .site-header.unified-header {
    background-size: 100% 100% !important;
    min-height: 0 !important;
  }
  body .site-header.unified-header .brand {
    flex-basis: 34% !important;
    width: 34% !important;
    min-height: 66px !important;
  }
  body .site-header.unified-header .brand img {
    width: 96% !important;
    max-height: 62px !important;
  }
}


/* Double the visible height of the chassis artwork without changing its
   width or the logo/tab layout. The image is intentionally oversized and
   vertically centred so the armour has more presence behind the controls. */
body .site-header.unified-header {
  background-size: 100% 200% !important;
  background-position: center center !important;
  min-height: 150px !important;
}
@media (max-width: 1100px) {
  body .site-header.unified-header {
    background-size: 100% 200% !important;
    min-height: 136px !important;
  }
}
@media (max-width: 620px) {
  body .site-header.unified-header {
    background-size: 100% 200% !important;
    min-height: 0 !important;
  }
}


/* Chassis height correction: render the chassis on its own layer and
   scale that layer vertically. Background-size percentages on the header
   were being cropped by the header box, making the visual change subtle. */
body .site-header.unified-header {
  position: relative !important;
  isolation: isolate !important;
  overflow: visible !important;
  background-image: none !important;
}
body .site-header.unified-header::before {
  content: "" !important;
  display: block !important;
  position: absolute !important;
  z-index: -1 !important;
  inset: 0 !important;
  pointer-events: none !important;
  background-image: url("images/decorative%20elements/navigation-bar-chassis_result.webp?v=7789ccf54e") !important;
  background-repeat: no-repeat !important;
  background-size: 100% 100% !important;
  background-position: center center !important;
  transform: scaleY(2) !important;
  transform-origin: center center !important;
}
@media (max-width: 620px) {
  body .site-header.unified-header::before {
    transform: scaleY(1.5) !important;
  }
}


/* APPLY THE SAME CHASSIS LAYER TO LEGACY COLLECTION-PAGE HEADERS.
   index.html uses .site-header.unified-header, while collection pages
   still use .topbar. Both header variants must share the same artwork. */
body .topbar {
  position: relative !important;
  isolation: isolate !important;
  overflow: visible !important;
  background-image: none !important;
  background-color: transparent !important;
}
body .topbar::before {
  content: "" !important;
  display: block !important;
  position: absolute !important;
  z-index: -1 !important;
  inset: 0 !important;
  pointer-events: none !important;
  background-image: url("images/decorative%20elements/navigation-bar-chassis_result.webp?v=7789ccf54e") !important;
  background-repeat: no-repeat !important;
  background-size: 100% 100% !important;
  background-position: center center !important;
  transform: scaleY(2) !important;
  transform-origin: center center !important;
}
@media (max-width: 620px) {
  body .topbar::before { transform: scaleY(1.5) !important; }
}
body .topbar::after {
  content: none !important;
  display: none !important;
}


/* Chassis proportion correction: the previous 2x vertical transform made
   the frame dominate the page. Keep the wide chassis shallow so the logo
   and six separate tabs remain the visual focus. */
body .site-header.unified-header::before,
body .topbar::before {
  background-size: 100% 100% !important;
  transform: scaleY(.78) !important;
  transform-origin: center center !important;
}
@media (max-width: 620px) {
  body .site-header.unified-header::before,
  body .topbar::before {
    transform: scaleY(.9) !important;
  }
}


/* FINAL CHASSIS FIT PASS
   Keep the generated artwork shallow and undistorted. The earlier scaleY
   overrides stretched the transparent canvas and created oversized metal
   bands around the logo. Use a shallow rail behind the existing controls. */
body .site-header.unified-header,
body .topbar {
  min-height: 126px !important;
  background-image: none !important;
  overflow: visible !important;
}
body .site-header.unified-header::before,
body .topbar::before {
  inset: 0 !important;
  background-image: url("images/decorative%20elements/navigation-bar-chassis_result.webp?v=7789ccf54e") !important;
  background-repeat: no-repeat !important;
  background-position: center center !important;
  background-size: 100% 100% !important;
  transform: none !important;
  opacity: 1 !important;
}
@media (max-width: 1100px) {
  body .site-header.unified-header,
  body .topbar { min-height: 112px !important; }
}
@media (max-width: 620px) {
  body .site-header.unified-header,
  body .topbar { min-height: 82px !important; }
}


/* CHASSIS VISIBILITY / DIMENSION TUNING
   Put the chassis layer above the header's page background but below the
   logo and clickable tabs. Give the shallow rails more vertical presence
   without changing the width of the artwork. */
body .site-header.unified-header,
body .topbar {
  position: relative !important;
  isolation: isolate !important;
  min-height: 148px !important;
  overflow: visible !important;
}
body .site-header.unified-header::before,
body .topbar::before {
  z-index: 0 !important;
  inset: -12px 0 -12px 0 !important;
  background-image: url("images/decorative%20elements/navigation-bar-chassis_result.webp?v=7789ccf54e") !important;
  background-repeat: no-repeat !important;
  background-position: center center !important;
  background-size: 100% 142% !important;
  transform: none !important;
  opacity: 1 !important;
  pointer-events: none !important;
}
/* Keep interactive controls above the chassis artwork. */
body .site-header.unified-header > *,
body .topbar > * {
  position: relative;
  z-index: 1;
}
body .site-header.unified-header .brand,
body .topbar .site-logo {
  flex: 0 0 350px !important;
  width: 350px !important;
  min-height: 112px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
}
body .site-header.unified-header .brand img,
body .topbar .site-logo img {
  width: 310px !important;
  max-width: 100% !important;
  max-height: 104px !important;
  height: auto !important;
  object-fit: contain !important;
}
body .site-header.unified-header .main-nav,
body .topbar .main-nav {
  flex: 1 1 0 !important;
  min-width: 0 !important;
}
@media (max-width: 1100px) {
  body .site-header.unified-header,
  body .topbar { min-height: 128px !important; }
  body .site-header.unified-header::before,
  body .topbar::before {
    inset: -8px 0 !important;
    background-size: 100% 138% !important;
  }
  body .site-header.unified-header .brand,
  body .topbar .site-logo {
    flex-basis: 30% !important;
    width: 30% !important;
    min-height: 94px !important;
  }
  body .site-header.unified-header .brand img,
  body .topbar .site-logo img {
    width: 94% !important;
    max-height: 88px !important;
  }
}
@media (max-width: 620px) {
  body .site-header.unified-header,
  body .topbar { min-height: 90px !important; }
  body .site-header.unified-header::before,
  body .topbar::before {
    inset: -4px 0 !important;
    background-size: 100% 125% !important;
  }
  body .site-header.unified-header .brand,
  body .topbar .site-logo {
    flex-basis: 28% !important;
    width: 28% !important;
    min-height: 66px !important;
  }
  body .site-header.unified-header .brand img,
  body .topbar .site-logo img {
    width: 96% !important;
    max-height: 62px !important;
  }
}


/* Dark backing for transparent areas of the chassis prevents the homepage's
   background artwork from showing through and creating a doubled logo. */
body .site-header.unified-header::before,
body .topbar::before {
  background-color: #03070b !important;
  background-image: url("images/decorative%20elements/navigation-bar-chassis_result.webp?v=7789ccf54e") !important;
  background-repeat: no-repeat !important;
  background-position: center center !important;
  background-size: 100% 142% !important;
  opacity: 1 !important;
}


/* Increase the visible chassis height 2x while keeping the navigation
   artwork centered behind the existing logo and tab controls. */
body .site-header.unified-header::before,
body .topbar::before {
  inset: -74px 0 !important;
  background-size: 100% 200% !important;
  background-position: center center !important;
  transform: none !important;
}
body .site-header.unified-header,
body .topbar {
  min-height: 148px !important;
  overflow: visible !important;
}
@media (max-width: 1100px) {
  body .site-header.unified-header::before,
  body .topbar::before {
    inset: -56px 0 !important;
    background-size: 100% 200% !important;
  }
  body .site-header.unified-header,
  body .topbar { min-height: 128px !important; }
}
@media (max-width: 620px) {
  body .site-header.unified-header::before,
  body .topbar::before {
    inset: -30px 0 !important;
    background-size: 100% 200% !important;
  }
  body .site-header.unified-header,
  body .topbar { min-height: 90px !important; }
}


/* Navigation chassis alignment pass: remove the black header wash and
   widen the chassis artwork by 25%, keeping controls layered above it. */
body .site-header.unified-header,
body .topbar {
  background-color: transparent !important;
  box-shadow: none !important;
}
body .site-header.unified-header::before,
body .topbar::before {
  inset: -74px -12.5% !important;
  width: 125% !important;
  background-color: transparent !important;
  background-size: 100% 100% !important;
  background-position: center center !important;
  background-repeat: no-repeat !important;
}
@media (max-width: 1100px) {
  body .site-header.unified-header::before,
  body .topbar::before { inset: -56px -12.5% !important; width: 125% !important; }
}
@media (max-width: 620px) {
  body .site-header.unified-header::before,
  body .topbar::before { inset: -30px -12.5% !important; width: 125% !important; }
}


/* Chassis final sizing/cropping: double the current vertical artwork height
   and clip it to the navigation band so the chassis cannot spill down the page. */
body .site-header.unified-header,
body .topbar {
  position: relative !important;
  overflow: hidden !important;
  clip-path: inset(0) !important;
}
body .site-header.unified-header::before,
body .topbar::before {
  inset: -148px -12.5% !important;
  width: 125% !important;
  background-size: 100% 200% !important;
  background-position: center center !important;
  overflow: hidden !important;
}
@media (max-width: 1100px) {
  body .site-header.unified-header,
  body .topbar { overflow: hidden !important; clip-path: inset(0) !important; }
  body .site-header.unified-header::before,
  body .topbar::before {
    inset: -112px -12.5% !important;
    width: 125% !important;
    background-size: 100% 200% !important;
  }
}
@media (max-width: 620px) {
  body .site-header.unified-header,
  body .topbar { overflow: hidden !important; clip-path: inset(0) !important; }
  body .site-header.unified-header::before,
  body .topbar::before {
    inset: -60px -12.5% !important;
    width: 125% !important;
    background-size: 100% 200% !important;
  }
}


/* Fine-tune chassis height and logo-bay alignment.
   Reduce the oversized vertical artwork and center the separate logo plate
   over the chassis' left mounting opening. */
body .site-header.unified-header,
body .topbar {
  overflow: hidden !important;
  clip-path: inset(0) !important;
}
body .site-header.unified-header::before,
body .topbar::before {
  inset: -56px -12.5% !important;
  width: 125% !important;
  background-size: 100% 150% !important;
  background-position: center center !important;
}
body .site-header.unified-header .brand,
body .topbar .site-logo {
  flex: 0 0 350px !important;
  width: 350px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  margin: 0 !important;
  padding: 0 !important;
  transform: translateX(-8px) !important;
}
body .site-header.unified-header .brand img,
body .topbar .site-logo img {
  display: block !important;
  margin-inline: auto !important;
  object-fit: contain !important;
}
@media (max-width: 1100px) {
  body .site-header.unified-header::before,
  body .topbar::before {
    inset: -42px -12.5% !important;
    width: 125% !important;
    background-size: 100% 150% !important;
  }
  body .site-header.unified-header .brand,
  body .topbar .site-logo {
    flex-basis: 30% !important;
    width: 30% !important;
    transform: translateX(-4px) !important;
  }
}
@media (max-width: 620px) {
  body .site-header.unified-header::before,
  body .topbar::before {
    inset: -24px -12.5% !important;
    width: 125% !important;
    background-size: 100% 150% !important;
  }
  body .site-header.unified-header .brand,
  body .topbar .site-logo {
    flex-basis: 28% !important;
    width: 28% !important;
    transform: none !important;
  }
}


/* Final visual micro-adjustment: slightly taller chassis and centered logo
   over the left-side opening. Keep the six navigation tabs unchanged. */
body .site-header.unified-header::before,
body .topbar::before {
  inset: -62px -12.5% !important;
  width: 125% !important;
  background-size: 100% 162% !important;
  background-position: center center !important;
}
body .site-header.unified-header .brand,
body .topbar .site-logo {
  transform: translateX(-14px) !important;
}
@media (max-width: 1100px) {
  body .site-header.unified-header::before,
  body .topbar::before {
    inset: -46px -12.5% !important;
    width: 125% !important;
    background-size: 100% 158% !important;
  }
  body .site-header.unified-header .brand,
  body .topbar .site-logo {
    transform: translateX(-7px) !important;
  }
}
@media (max-width: 620px) {
  body .site-header.unified-header::before,
  body .topbar::before {
    inset: -26px -12.5% !important;
    width: 125% !important;
    background-size: 100% 154% !important;
  }
  body .site-header.unified-header .brand,
  body .topbar .site-logo {
    transform: none !important;
  }
}


/* Logo alignment micro-adjustment: move the logo plate right slightly
   to center it within the chassis opening. Do not move or resize the tabs. */
body .site-header.unified-header .brand,
body .topbar .site-logo {
  transform: translateX(0px) !important;
}


/* Navigation chassis finishing pass:
   nudge logo slightly farther right and increase the navigation band's
   height so the chassis bottom edge is fully visible instead of clipped. */
body .site-header.unified-header,
body .topbar {
  min-height: 164px !important;
  padding-top: 8px !important;
  padding-bottom: 8px !important;
}
body .site-header.unified-header .brand,
body .topbar .site-logo {
  transform: translateX(8px) !important;
}
body .site-header.unified-header::before,
body .topbar::before {
  inset: -62px -12.5% !important;
  width: 125% !important;
  background-size: 100% 162% !important;
  background-position: center center !important;
}
@media (max-width: 1100px) {
  body .site-header.unified-header,
  body .topbar {
    min-height: 142px !important;
    padding-top: 6px !important;
    padding-bottom: 6px !important;
  }
  body .site-header.unified-header .brand,
  body .topbar .site-logo { transform: translateX(4px) !important; }
  body .site-header.unified-header::before,
  body .topbar::before {
    inset: -46px -12.5% !important;
    width: 125% !important;
    background-size: 100% 158% !important;
  }
}
@media (max-width: 620px) {
  body .site-header.unified-header,
  body .topbar {
    min-height: 100px !important;
    padding-top: 4px !important;
    padding-bottom: 4px !important;
  }
  body .site-header.unified-header .brand,
  body .topbar .site-logo { transform: none !important; }
  body .site-header.unified-header::before,
  body .topbar::before {
    inset: -26px -12.5% !important;
    width: 125% !important;
    background-size: 100% 154% !important;
  }
}


/* NAV TAB PLATE ASSET
   Use the shared transparent, weathered plate artwork as the base for each
   of the six real links. Keep labels/icons live HTML and faction lighting
   in CSS so tabs remain clickable, responsive, and accessible. */
body .topbar .nav-item,
body .site-header.unified-header .nav-item {
  background-color: transparent !important;
  background-image: url("images/decorative%20elements/nav-tab-plate_result.webp") !important;
  background-repeat: no-repeat !important;
  background-position: center center !important;
  background-size: 100% 100% !important;
  border: 0 !important;
  border-radius: 0 !important;
  clip-path: none !important;
  isolation: isolate !important;
  overflow: hidden !important;
  padding: 9px 8px 11px !important;
}

/* Let the artwork supply the metal surface; keep the coloured energy strip. */
body .topbar .nav-item::before,
body .site-header.unified-header .nav-item::before {
  content: none !important;
  display: none !important;
  background: none !important;
}
body .topbar .nav-item::after,
body .site-header.unified-header .nav-item::after {
  z-index: 3 !important;
  left: 14% !important;
  right: 14% !important;
  bottom: 7px !important;
  height: 3px !important;
  inset: auto 14% 7px !important;
  background: var(--tab-color) !important;
  box-shadow: 0 0 5px var(--tab-color), 0 0 12px var(--tab-glow) !important;
  opacity: .85 !important;
}

/* Hover/active states change only the faction-coloured glow, never the plate. */
body .topbar .nav-item:hover,
body .topbar .nav-item.active,
body .site-header.unified-header .nav-item:hover,
body .site-header.unified-header .nav-item.active {
  background-color: transparent !important;
  background-image: url("images/decorative%20elements/nav-tab-plate_result.webp") !important;
  background-repeat: no-repeat !important;
  background-position: center center !important;
  background-size: 100% 100% !important;
  filter: drop-shadow(0 0 7px var(--tab-glow)) drop-shadow(0 4px 3px rgba(0,0,0,.9)) !important;
  border: 0 !important;
  border-top: 0 !important;
}
body .topbar .nav-item.active,
body .site-header.unified-header .nav-item.active {
  transform: translateY(-4px) !important;
}

/* Smaller screens retain the plate proportions without hiding the labels. */
@media (max-width: 900px) {
  body .topbar .nav-item,
  body .site-header.unified-header .nav-item {
    background-size: 100% 100% !important;
    padding: 7px 4px 10px !important;
  }
}
@media (max-width: 620px) {
  body .topbar .nav-item,
  body .site-header.unified-header .nav-item {
    background-size: 100% 100% !important;
    padding: 5px 2px 8px !important;
  }
}


/* NAV TAB COLOUR SWAP — Masterpiece Movie gold, The Primes cyan/blue.
   Shared across homepage and all collection pages; functionality unchanged. */
body .topbar .nav-item.masterpiece,
body .site-header .nav-item.masterpiece {
  --tab-color: #ffc34c !important;
  --tab-glow: rgba(255, 195, 76, .65) !important;
}
body .topbar .nav-item.primes,
body .site-header .nav-item.primes {
  --tab-color: #00d5f5 !important;
  --tab-glow: rgba(0, 213, 245, .65) !important;
}


/* UPDATED NAVIGATION CHASSIS FIT
   The chassis artwork has been replaced, so size it to the actual navigation
   band instead of using the previous oversized/cropped artwork settings.
   Cache-buster ensures browsers load the replacement image. */
body .site-header.unified-header::before,
body .topbar::before {
  inset: 0 -12.5% !important;
  width: 125% !important;
  background-image: url("images/decorative%20elements/navigation-bar-chassis_result.webp?v=20261013-fit1") !important;
  background-repeat: no-repeat !important;
  background-position: center center !important;
  background-size: 100% 100% !important;
  transform: none !important;
}
@media (max-width: 1100px) {
  body .site-header.unified-header::before,
  body .topbar::before {
    inset: 0 -12.5% !important;
    width: 125% !important;
    background-size: 100% 100% !important;
  }
}
@media (max-width: 620px) {
  body .site-header.unified-header::before,
  body .topbar::before {
    inset: 0 -12.5% !important;
    width: 125% !important;
    background-size: 100% 100% !important;
  }
}


/* NAVIGATION CHASSIS — FIRST HEIGHT PASS
   Enlarge the replacement chassis vertically and anchor it to the top edge
   so the upper rail reaches the top of the page rather than sitting low. */
body .site-header.unified-header::before,
body .topbar::before {
  inset: 0 -12.5% !important;
  width: 125% !important;
  background-image: url("images/decorative%20elements/navigation-bar-chassis_result.webp?v=20261013-height1") !important;
  background-repeat: no-repeat !important;
  background-size: 100% 150% !important;
  background-position: center top !important;
  transform: none !important;
}
@media (max-width: 1100px) {
  body .site-header.unified-header::before,
  body .topbar::before {
    inset: 0 -12.5% !important;
    width: 125% !important;
    background-size: 100% 145% !important;
    background-position: center top !important;
  }
}
@media (max-width: 620px) {
  body .site-header.unified-header::before,
  body .topbar::before {
    inset: 0 -12.5% !important;
    width: 125% !important;
    background-size: 100% 135% !important;
    background-position: center top !important;
  }
}


/* CHASSIS PLACEMENT — fit the full image inside the navigation section.
   Keep all four edges visible: no oversized negative vertical inset and no
   cropping. The image itself scales to the section's box. */
body .site-header.unified-header,
body .topbar {
  position: relative !important;
  overflow: visible !important;
  clip-path: none !important;
}
body .site-header.unified-header::before,
body .topbar::before {
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
  background-image: url("images/decorative%20elements/navigation-bar-chassis_result.webp?v=20261013-edgefit1") !important;
  background-repeat: no-repeat !important;
  background-position: center center !important;
  background-size: 100% 100% !important;
  transform: none !important;
}


/* NAVIGATION CHASSIS — background-scale tuning
   Make the chassis artwork fill more of the navigation band while keeping
   the entire source canvas visible. Slight vertical overscan fills the
   header; centered positioning keeps the top and bottom rails balanced. */
body .site-header.unified-header,
body .topbar {
  position: relative !important;
  overflow: visible !important;
  clip-path: none !important;
}
body .site-header.unified-header::before,
body .topbar::before {
  inset: -10px 0 !important;
  width: 100% !important;
  height: auto !important;
  background-image: url("images/decorative%20elements/navigation-bar-chassis_result.webp?v=20261013-bgscale2") !important;
  background-repeat: no-repeat !important;
  background-position: center center !important;
  background-size: 100% 125% !important;
  transform: none !important;
}
@media (max-width: 1100px) {
  body .site-header.unified-header::before,
  body .topbar::before {
    inset: -7px 0 !important;
    background-size: 100% 118% !important;
    background-position: center center !important;
  }
}
@media (max-width: 620px) {
  body .site-header.unified-header::before,
  body .topbar::before {
    inset: -4px 0 !important;
    background-size: 100% 112% !important;
    background-position: center center !important;
  }
}


/* CHASSIS HORIZONTAL ALIGNMENT — bring the right end close to the viewport
   edge without letting the artwork run off-screen. Keep a small safety gap
   at both sides and fill the navigation band vertically. */
body .site-header.unified-header::before,
body .topbar::before {
  left: 8px !important;
  right: 8px !important;
  width: auto !important;
  inset-block: -10px !important;
  background-image: url("images/decorative%20elements/navigation-bar-chassis_result.webp?v=20261013-horizontalfit") !important;
  background-size: 100% 125% !important;
  background-position: center center !important;
  background-repeat: no-repeat !important;
  transform: none !important;
}
@media (max-width: 1100px) {
  body .site-header.unified-header::before,
  body .topbar::before {
    left: 5px !important;
    right: 5px !important;
    inset-block: -7px !important;
    background-size: 100% 118% !important;
  }
}
@media (max-width: 620px) {
  body .site-header.unified-header::before,
  body .topbar::before {
    left: 3px !important;
    right: 3px !important;
    inset-block: -4px !important;
    background-size: 100% 112% !important;
  }
}


/* CHASSIS HEIGHT +50% — enlarge the background artwork vertically while
   keeping it centered and the current horizontal fit unchanged. */
body .site-header.unified-header::before,
body .topbar::before {
  inset-block: -22px !important;
  background-image: url("images/decorative%20elements/navigation-bar-chassis_result.webp?v=20261013-heightplus50") !important;
  background-size: 100% 187.5% !important;
  background-position: center center !important;
}
@media (max-width: 1100px) {
  body .site-header.unified-header::before,
  body .topbar::before {
    inset-block: -15px !important;
    background-size: 100% 177% !important;
  }
}
@media (max-width: 620px) {
  body .site-header.unified-header::before,
  body .topbar::before {
    inset-block: -8px !important;
    background-size: 100% 168% !important;
  }
}


/* FULL-WIDTH CHASSIS — extend artwork to both viewport edges.
   Keep the enlarged vertical scale; remove the horizontal inset and allow
   the chassis background to span the full available page width. */
body .site-header.unified-header::before,
body .topbar::before {
  left: 0 !important;
  right: 0 !important;
  width: 100% !important;
  background-image: url("images/decorative%20elements/navigation-bar-chassis_result.webp?v=20261013-fullbleed") !important;
  background-size: 100% 187.5% !important;
  background-position: center center !important;
  background-repeat: no-repeat !important;
}
@media (max-width: 1100px) {
  body .site-header.unified-header::before,
  body .topbar::before {
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    background-size: 100% 177% !important;
  }
}
@media (max-width: 620px) {
  body .site-header.unified-header::before,
  body .topbar::before {
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    background-size: 100% 168% !important;
  }
}


/* NAV TAB BUTTONS — reduce each tab to 75% of its previous visual size.
   Scale the plate, icon, and label together from the center while preserving
   the existing six-column navigation layout and click targets. */
body .topbar .nav-item,
body .site-header.unified-header .nav-item {
  transform: scale(.75) !important;
  transform-origin: center center !important;
}
body .topbar .nav-item.active,
body .site-header.unified-header .nav-item.active {
  transform: scale(.75) translateY(-4px) !important;
}


/* NAV TABS SIDE-BY-SIDE — keep all six tabs in one horizontal row.
   Prevent wrapping and let each tab share the available navigation width. */
body .topbar .main-nav,
body .site-header.unified-header .main-nav {
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: nowrap !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 0 !important;
  min-width: 0 !important;
}
body .topbar .main-nav .nav-item,
body .site-header.unified-header .main-nav .nav-item {
  flex: 1 1 0 !important;
  min-width: 0 !important;
  white-space: nowrap !important;
}


/* NAV TAB PLACEMENT — compact row aligned right, with Contact kept inside
   the chassis. Preserve the existing 75% visual scale. */
body .topbar .main-nav,
body .site-header.unified-header .main-nav {
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: nowrap !important;
  justify-content: flex-end !important;
  align-items: center !important;
  gap: 2px !important;
  margin-left: auto !important;
  margin-right: 12px !important;
  width: auto !important;
  max-width: calc(100% - 12px) !important;
  min-width: 0 !important;
}
body .topbar .main-nav .nav-item,
body .site-header.unified-header .main-nav .nav-item {
  flex: 0 1 190px !important;
  width: 190px !important;
  min-width: 0 !important;
  max-width: 190px !important;
  white-space: nowrap !important;
}
@media (max-width: 1100px) {
  body .topbar .main-nav,
  body .site-header.unified-header .main-nav {
    gap: 1px !important;
    margin-right: 8px !important;
    max-width: calc(100% - 8px) !important;
  }
  body .topbar .main-nav .nav-item,
  body .site-header.unified-header .main-nav .nav-item {
    flex-basis: 150px !important;
    width: 150px !important;
    max-width: 150px !important;
  }
}
@media (max-width: 620px) {
  body .topbar .main-nav,
  body .site-header.unified-header .main-nav {
    margin-right: 4px !important;
    max-width: calc(100% - 4px) !important;
  }
  body .topbar .main-nav .nav-item,
  body .site-header.unified-header .main-nav .nav-item {
    flex-basis: 100px !important;
    width: 100px !important;
    max-width: 100px !important;
  }
}


/* SHIFT THE ENTIRE TAB ROW LEFT BY ONE TAB WIDTH.
   The Contact tab remains inside the chassis; only the nav row position changes. */
body .topbar .main-nav,
body .site-header.unified-header .main-nav {
  transform: translateX(-190px) !important;
}
@media (max-width: 1100px) {
  body .topbar .main-nav,
  body .site-header.unified-header .main-nav {
    transform: translateX(-150px) !important;
  }
}
@media (max-width: 620px) {
  body .topbar .main-nav,
  body .site-header.unified-header .main-nav {
    transform: translateX(-100px) !important;
  }
}


/* Increase navigation tabs by 25% from the current 75% scale (to 93.75%). */
body .topbar .nav-item,
body .site-header.unified-header .nav-item {
  transform: scale(.9375) !important;
  transform-origin: center center !important;
}
body .topbar .nav-item.active,
body .site-header.unified-header .nav-item.active {
  transform: scale(.9375) translateY(-4px) !important;
}


/* VERTICALLY CENTER THE NAV TABS IN THE CHASSIS OPENING.
   Move the row down slightly while keeping its horizontal position unchanged. */
body .topbar .main-nav,
body .site-header.unified-header .main-nav {
  position: relative !important;
  top: 16px !important;
}
@media (max-width: 1100px) {
  body .topbar .main-nav,
  body .site-header.unified-header .main-nav {
    top: 12px !important;
  }
}
@media (max-width: 620px) {
  body .topbar .main-nav,
  body .site-header.unified-header .main-nav {
    top: 8px !important;
  }
}


/* LOGO PLACEMENT — move the brand right into the gap before the tabs and
   vertically center it in the chassis opening. Navigation tabs stay put. */
body .site-header.unified-header .brand,
body .topbar .site-logo {
  position: relative !important;
  left: 120px !important;
  top: 0 !important;
  transform: none !important;
  align-self: center !important;
}
@media (max-width: 1100px) {
  body .site-header.unified-header .brand,
  body .topbar .site-logo {
    left: 45px !important;
    top: 0 !important;
    transform: none !important;
  }
}
@media (max-width: 620px) {
  body .site-header.unified-header .brand,
  body .topbar .site-logo {
    left: 0 !important;
    top: 0 !important;
    transform: none !important;
  }
}


/* FINAL LOGO POSITION TUNING — lower 16px and move farther right.
   Keep the tabs and their layout untouched. */
body .site-header.unified-header .brand,
body .topbar .site-logo {
  left: 165px !important;
  top: 16px !important;
  transform: none !important;
}
@media (max-width: 1100px) {
  body .site-header.unified-header .brand,
  body .topbar .site-logo {
    left: 65px !important;
    top: 12px !important;
  }
}
@media (max-width: 620px) {
  body .site-header.unified-header .brand,
  body .topbar .site-logo {
    left: 0 !important;
    top: 8px !important;
  }
}


/* Remove the rectangular outline/backing around each navigation tab.
   The metallic tab-plate PNG and coloured lighting remain visible. */
body .topbar .main-nav .nav-item,
body .site-header.unified-header .main-nav .nav-item {
  outline: none !important;
  border: 0 !important;
  border-radius: 0 !important;
  background-color: transparent !important;
  box-shadow: none !important;
  -webkit-tap-highlight-color: transparent !important;
}
body .topbar .main-nav .nav-item:focus,
body .topbar .main-nav .nav-item:focus-visible,
body .site-header.unified-header .main-nav .nav-item:focus,
body .site-header.unified-header .main-nav .nav-item:focus-visible {
  outline: none !important;
  border: 0 !important;
  box-shadow: none !important;
}


/* ==========================================================
   STEP 1 + 2 ASSET INTEGRATION
   Use the supplied transparent PNG assets as the actual visual
   surfaces, with HTML labels/icons and faction glow left live.
   ========================================================== */

/* Main navigation chassis: use the new transparent chassis as the full-width
   background, retaining the height and position tuning already established. */
body .site-header.unified-header::before,
body .topbar::before {
  content: "" !important;
  display: block !important;
  position: absolute !important;
  z-index: 0 !important;
  inset: -22px 0 !important;
  width: 100% !important;
  height: auto !important;
  background: url("images/decorative%20elements/navigation-bar-chassis_result.webp?v=step2-assets") center center / 100% 187.5% no-repeat !important;
  pointer-events: none !important;
  transform: none !important;
}
body .site-header.unified-header > *,
body .topbar > * {
  position: relative;
  z-index: 2;
}

/* The logo artwork is already a dedicated transparent logo plate. Remove the
   old CSS-drawn metal box so the PNG itself defines the silhouette. */
body .topbar .site-logo,
body .site-header.unified-header .brand {
  background: transparent !important;
  border: 0 !important;
  outline: 0 !important;
  box-shadow: none !important;
}
body .topbar .site-logo::before,
body .topbar .site-logo::after,
body .site-header.unified-header .brand::before,
body .site-header.unified-header .brand::after {
  content: none !important;
  display: none !important;
  background: none !important;
  box-shadow: none !important;
}

/* Transparent nav tab plate asset + low-opacity faction watermark. */
body .topbar .main-nav .nav-item,
body .site-header.unified-header .main-nav .nav-item {
  position: relative !important;
  isolation: isolate !important;
  overflow: hidden !important;
  border: 0 !important;
  outline: 0 !important;
  border-radius: 0 !important;
  background-color: transparent !important;
  background-image: url("images/decorative%20elements/nav-tab-plate_result.webp?v=step2-assets") !important;
  background-repeat: no-repeat !important;
  background-position: center center !important;
  background-size: 100% 100% !important;
  box-shadow: none !important;
}
body .topbar .main-nav .nav-item::before,
body .site-header.unified-header .main-nav .nav-item::before {
  content: "" !important;
  display: block !important;
  position: absolute !important;
  z-index: 0 !important;
  inset: 16% 24% 22% !important;
  pointer-events: none !important;
  background-repeat: no-repeat !important;
  background-position: center !important;
  background-size: contain !important;
  opacity: .12 !important;
  filter: grayscale(1) brightness(1.6) !important;
}
body .topbar .nav-item.autobots::before,
body .site-header.unified-header .nav-item.autobots::before {
  background-image: url("images/decorative%20elements/autobot-symbol-faded_result.webp") !important;
}
body .topbar .nav-item.decepticons::before,
body .site-header.unified-header .nav-item.decepticons::before {
  background-image: url("images/decorative%20elements/decepticon-symbol-faded_result.webp") !important;
}
body .topbar .nav-item img,
body .topbar .nav-item span,
body .site-header.unified-header .nav-item img,
body .site-header.unified-header .nav-item span {
  position: relative !important;
  z-index: 2 !important;
}
body .topbar .nav-item::after,
body .site-header.unified-header .nav-item::after {
  z-index: 4 !important;
}

/* The supplied expanded-menu panel becomes the menu's real frame. */
body .nav-expansion {
  position: relative !important;
  isolation: isolate !important;
  overflow: hidden !important;
  border: 0 !important;
  border-radius: 0 !important;
  clip-path: none !important;
  background-color: transparent !important;
  background-image: url("images/decorative%20elements/expanded-menu-panel_result.webp?v=step2-assets") !important;
  background-repeat: no-repeat !important;
  background-position: center center !important;
  background-size: 100% 100% !important;
  box-shadow: none !important;
}
body .nav-expansion::before {
  content: "" !important;
  display: block !important;
  position: absolute !important;
  z-index: -1 !important;
  inset: 10% 18% !important;
  pointer-events: none !important;
  background: url("images/decorative%20elements/panel-background-01_result.webp") center / 100% 100% no-repeat !important;
  opacity: .42 !important;
}
body .nav-expansion::after {
  content: "" !important;
  display: block !important;
  position: absolute !important;
  z-index: 0 !important;
  inset: 0 !important;
  pointer-events: none !important;
  background:
    url("images/decorative%20elements/lightstrip-cyan_result.webp") left 18px center / 5px 62% no-repeat,
    url("images/decorative%20elements/lightstrip-yellow_result.webp") right 18px center / 5px 62% no-repeat !important;
  opacity: .8 !important;
}
body .nav-expansion > * {
  position: relative !important;
  z-index: 1 !important;
}

/* Reuse supplied industrial details as subtle header edge accents. */
body .site-header.unified-header::after,
body .topbar::after {
  background:
    url("images/decorative%20elements/edge-strip-01_result.webp") center top / 100% 16px no-repeat,
    url("images/decorative%20elements/edge-strip-02_result.webp") center bottom / 100% 16px no-repeat,
    url("images/decorative%20elements/armored-rivet-plate_result.webp") left 12px center / 24px 24px no-repeat,
    url("images/decorative%20elements/armored-rivet-plate_result.webp") right 12px center / 24px 24px no-repeat !important;
  mix-blend-mode: screen !important;
  opacity: .78 !important;
}


/* ==========================================================
   VISIBLE ASSET PASS — 2026-10-13
   The chassis and tab plate were already in use before the first
   pass. This pass gives the newly-added panel and faction artwork
   a visible place in the interface instead of only subtle overlays.
   ========================================================== */

/* Keep the chassis artwork, but use the dedicated transparent corner pieces
   and rivet plate to make the frame additions visibly distinct. */
body .topbar,
body .site-header.unified-header {
  background: transparent !important;
}
body .topbar::after,
body .site-header.unified-header::after {
  content: "" !important;
  position: absolute !important;
  z-index: 4 !important;
  inset: 0 !important;
  pointer-events: none !important;
  background:
    url("images/decorative%20elements/corner-plate-covered_result.webp?v=visible-assets-2") left top / 84px 84px no-repeat,
    url("images/decorative%20elements/corner-plate-covered_result.webp?v=visible-assets-2") right top / 84px 84px no-repeat,
    url("images/decorative%20elements/edge-strip-01_result.webp?v=visible-assets-2") center top / 100% 13px no-repeat,
    url("images/decorative%20elements/edge-strip-02_result.webp?v=visible-assets-2") center bottom / 100% 13px no-repeat !important;
  opacity: .95 !important;
  mix-blend-mode: normal !important;
}

/* Make the plate asset the only tab surface and show faction watermarks
   clearly enough to be seen without competing with the live icons. */
body .topbar .main-nav .nav-item,
body .site-header.unified-header .main-nav .nav-item {
  background: transparent url("images/decorative%20elements/nav-tab-plate_result.webp?v=visible-assets-2") center / 100% 100% no-repeat !important;
  border: 0 !important;
  box-shadow: none !important;
}
body .topbar .main-nav .nav-item::before,
body .site-header.unified-header .main-nav .nav-item::before {
  content: "" !important;
  display: block !important;
  position: absolute !important;
  z-index: 1 !important;
  inset: 12% 17% 18% !important;
  background-repeat: no-repeat !important;
  background-position: center !important;
  background-size: contain !important;
  opacity: .22 !important;
  filter: none !important;
  pointer-events: none !important;
}
body .topbar .main-nav .nav-item.autobots::before,
body .site-header.unified-header .main-nav .nav-item.autobots::before {
  background-image: url("images/decorative%20elements/autobot-symbol-faded_result.webp?v=visible-assets-2") !important;
}
body .topbar .main-nav .nav-item.decepticons::before,
body .site-header.unified-header .main-nav .nav-item.decepticons::before {
  background-image: url("images/decorative%20elements/decepticon-symbol-faded_result.webp?v=visible-assets-2") !important;
}
body .topbar .main-nav .nav-item img,
body .topbar .main-nav .nav-item span,
body .site-header.unified-header .main-nav .nav-item img,
body .site-header.unified-header .main-nav .nav-item span {
  z-index: 2 !important;
}

/* Expanded menu: use the new panel art and show the matching faction's
   menubar artwork in a dedicated, large visual slot. */
body .nav-expansion {
  position: fixed !important;
  z-index: 9999 !important;
  display: grid !important;
  grid-template-columns: minmax(110px, 20%) minmax(0, 1fr) 44px !important;
  align-items: center !important;
  gap: 18px !important;
  min-height: 180px !important;
  padding: 24px 30px !important;
  background: transparent url("images/decorative%20elements/expanded-menu-panel_result.webp?v=visible-assets-2") center / 100% 100% no-repeat !important;
  border: 0 !important;
  box-shadow: none !important;
  clip-path: none !important;
  overflow: visible !important;
}
body .nav-expansion[hidden] {
  display: none !important;
}
body .nav-expansion::before {
  content: "" !important;
  display: block !important;
  position: absolute !important;
  z-index: 0 !important;
  inset: 20px 72px !important;
  background: url("images/decorative%20elements/panel-background-01_result.webp?v=visible-assets-2") center / 100% 100% no-repeat !important;
  opacity: .85 !important;
  pointer-events: none !important;
}
body .nav-expansion::after {
  content: "" !important;
  display: block !important;
  position: absolute !important;
  z-index: 1 !important;
  inset: 0 !important;
  background:
    url("images/decorative%20elements/lightstrip-cyan_result.webp?v=visible-assets-2") left 18px center / 7px 65% no-repeat,
    url("images/decorative%20elements/lightstrip-red_result.webp?v=visible-assets-2") right 18px center / 7px 65% no-repeat !important;
  pointer-events: none !important;
}
body .nav-expansion > * {
  position: relative !important;
  z-index: 2 !important;
}
body .nav-expansion .nav-expansion-emblem {
  display: block !important;
  width: 100% !important;
  min-width: 110px !important;
  height: 104px !important;
  margin: 0 !important;
  overflow: hidden !important;
  color: transparent !important;
  font-size: 0 !important;
  background-repeat: no-repeat !important;
  background-position: center !important;
  background-size: contain !important;
  filter: drop-shadow(0 0 10px var(--cyber-glow)) !important;
}
body[data-cyber-theme="autobots"] .nav-expansion .nav-expansion-emblem {
  background-image: url("images/autobots-background_result.webp?v=visible-assets-2") !important;
}
body[data-cyber-theme="decepticons"] .nav-expansion .nav-expansion-emblem {
  background-image: url("images/decepticons-background_result.webp?v=visible-assets-2") !important;
}
body[data-cyber-theme="masterpiece"] .nav-expansion .nav-expansion-emblem {
  background-image: url("images/masterpiece-background_result.webp?v=visible-assets-2") !important;
}
body[data-cyber-theme="third-party"] .nav-expansion .nav-expansion-emblem {
  background-image: url("images/3rd-party-background_result.webp?v=visible-assets-2") !important;
}
body[data-cyber-theme="primes"] .nav-expansion .nav-expansion-emblem {
  background-image: url("images/primes-background_result.webp?v=visible-assets-2") !important;
}
body[data-cyber-theme="contact"] .nav-expansion .nav-expansion-emblem {
  background-image: url("images/contact-background_result.webp?v=visible-assets-2") !important;
}
body .nav-expansion .nav-expansion-content {
  min-width: 0 !important;
  padding: 8px 16px !important;
}
body .nav-expansion .nav-expansion-close {
  position: relative !important;
  z-index: 3 !important;
}

/* Keep the expanded panel readable on smaller screens. */
@media (max-width: 700px) {
  body .nav-expansion {
    grid-template-columns: 76px minmax(0, 1fr) 32px !important;
    gap: 8px !important;
    min-height: 140px !important;
    padding: 18px 20px !important;
  }
  body .nav-expansion .nav-expansion-emblem {
    min-width: 70px !important;
    height: 70px !important;
  }
}


/* Expanded menu proportions: taller panel, no left-side artwork. */
body .nav-expansion {
  grid-template-columns: minmax(0, 1fr) 44px !important;
  min-height: 270px !important;
  padding: 42px 46px !important;
  background-position: center center !important;
  background-size: 100% 100% !important;
}
body .nav-expansion .nav-expansion-emblem {
  display: none !important;
}
body .nav-expansion .nav-expansion-content {
  grid-column: 1 !important;
  padding: 12px 24px !important;
  align-self: center !important;
}
body .nav-expansion .nav-expansion-close {
  grid-column: 2 !important;
  grid-row: 1 !important;
  align-self: start !important;
  justify-self: end !important;
}
@media (max-width: 700px) {
  body .nav-expansion {
    grid-template-columns: minmax(0, 1fr) 32px !important;
    min-height: 220px !important;
    padding: 30px 24px !important;
    gap: 8px !important;
  }
  body .nav-expansion .nav-expansion-content {
    padding: 8px 12px !important;
  }
}


/* EXPANDED MENU CONTROLS — smaller button group centered in the panel. */
body .nav-expansion {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-height: 270px !important;
  padding: 34px 54px !important;
}
body .nav-expansion .nav-expansion-content {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  width: 100% !important;
  min-height: 100% !important;
  margin: 0 auto !important;
  padding: 0 !important;
  text-align: center !important;
}
body .nav-expansion .nav-expansion-kicker,
body .nav-expansion .nav-expansion-title {
  text-align: center !important;
}
body .nav-expansion .nav-expansion-links {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 12px !important;
  width: min(100%, 1120px) !important;
  margin: 14px auto 0 !important;
}
body .nav-expansion .nav-expansion-links a {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 100% !important;
  min-width: 0 !important;
  min-height: 42px !important;
  padding: 8px 12px !important;
  box-sizing: border-box !important;
  font-size: clamp(11px, .85vw, 14px) !important;
  line-height: 1.15 !important;
  text-align: center !important;
}
body .nav-expansion .nav-expansion-close {
  position: absolute !important;
  top: 22px !important;
  right: 24px !important;
}
@media (max-width: 700px) {
  body .nav-expansion {
    min-height: 220px !important;
    padding: 26px 24px !important;
  }
  body .nav-expansion .nav-expansion-links {
    grid-template-columns: 1fr !important;
    width: min(100%, 420px) !important;
    gap: 8px !important;
    margin-top: 10px !important;
  }
  body .nav-expansion .nav-expansion-links a {
    min-height: 36px !important;
    padding: 6px 10px !important;
    font-size: 12px !important;
  }
  body .nav-expansion .nav-expansion-close {
    top: 12px !important;
    right: 14px !important;
  }
}


/* EXPANDED MENU PANEL ARTWORK — increase vertical display size by 50%.
   Preserve the panel's width and keep the artwork centered in its opening. */
body .nav-expansion {
  background-size: 100% 150% !important;
  background-position: center center !important;
  background-repeat: no-repeat !important;
}


/* Expanded menu should use ONE panel image only. Remove the extra inner
   panel texture and light-strip overlays that make it look double-layered. */
body .nav-expansion {
  background-image: url("images/decorative%20elements/expanded-menu-panel_result.webp?v=single-panel") !important;
  background-repeat: no-repeat !important;
  background-position: center center !important;
  background-size: 100% 150% !important;
}
body .nav-expansion::before,
body .nav-expansion::after {
  content: none !important;
  display: none !important;
  background: none !important;
  box-shadow: none !important;
}

/* Remove the close X entirely; the panel can still close via its tab toggle
   or the Escape key. */
body .nav-expansion .nav-expansion-close {
  display: none !important;
  visibility: hidden !important;
  pointer-events: none !important;
}


/* EXPANDED MENU SPACING — separate the deployed panel from the top chassis.
   Positive top margin prevents the panel from overlapping/cropping against
   the navigation bar and leaves a small visible gap between the two. */
body .nav-expansion {
  margin-top: 18px !important;
  margin-bottom: 28px !important;
  width: calc(100% - 24px) !important;
}
@media (max-width: 620px) {
  body .nav-expansion {
    margin-top: 12px !important;
    margin-bottom: 20px !important;
    width: calc(100% - 16px) !important;
  }
}


/* Expanded panel position and height refinement:
   lower it by roughly two tab-heights and reduce its vertical footprint 15%. */
body .nav-expansion {
  margin-top: 150px !important;
  min-height: 229.5px !important; /* 270px reduced by 15% */
  padding-top: 29px !important;
  padding-bottom: 29px !important;
  background-size: 100% 127.5% !important; /* 150% scaled down 15% */
  background-position: center center !important;
}
@media (max-width: 620px) {
  body .nav-expansion {
    margin-top: 90px !important;
    min-height: 187px !important; /* 220px reduced by 15% */
    padding-top: 22px !important;
    padding-bottom: 22px !important;
    background-size: 100% 127.5% !important;
  }
}


/* QUICK ACCESS LINKS — use the supplied rusted industrial plate asset.
   Keep each link's existing destination and show only its title as text. */
body .nav-expansion .nav-expansion-links a {
  background: transparent url("images/decorative%20elements/rusted-panel-plate_result.webp?v=rusted-menu-buttons") center / 100% 100% no-repeat !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  clip-path: none !important;
  color: #f5f5f5 !important;
  text-decoration: none !important;
  text-shadow: 0 2px 3px #000, 0 0 5px rgba(0,0,0,.9) !important;
  min-height: 54px !important;
  padding: 10px 18px !important;
  font-size: clamp(11px, .85vw, 14px) !important;
  font-weight: 800 !important;
  letter-spacing: .5px !important;
}
body .nav-expansion .nav-expansion-links a:hover,
body .nav-expansion .nav-expansion-links a:focus-visible {
  background-image: url("images/decorative%20elements/rusted-panel-plate_result.webp?v=rusted-menu-buttons-hover") !important;
  filter: brightness(1.12) !important;
  border: 0 !important;
  outline: none !important;
  box-shadow: 0 0 12px var(--cyber-soft) !important;
}
@media (max-width: 700px) {
  body .nav-expansion .nav-expansion-links a {
    min-height: 44px !important;
    padding: 8px 14px !important;
    font-size: 12px !important;
  }
}


/* Expanded menu: show the full top and bottom edges of the panel artwork.
   Give the container more vertical room and fit the image to the full panel
   instead of scaling it beyond the boundaries where it gets clipped. */
body .nav-expansion {
  min-height: 300px !important;
  height: auto !important;
  padding-top: 38px !important;
  padding-bottom: 38px !important;
  background-size: 100% 100% !important;
  background-position: center center !important;
  background-repeat: no-repeat !important;
  overflow: visible !important;
}
body .nav-expansion .nav-expansion-content {
  min-height: 0 !important;
  height: auto !important;
}
@media (max-width: 700px) {
  body .nav-expansion {
    min-height: 235px !important;
    padding-top: 28px !important;
    padding-bottom: 28px !important;
    background-size: 100% 100% !important;
  }
}


/* Expanded menu final spacing and controls:
   move the panel upward by one navigation-tab height, remove its headings,
   and double the height of the rusted-plate shortcut buttons. */
body .nav-expansion .nav-expansion-kicker,
body .nav-expansion .nav-expansion-title {
  display: none !important;
}
body .nav-expansion .nav-expansion-links {
  margin-top: 0 !important;
}
body .nav-expansion .nav-expansion-links a {
  min-height: 108px !important;
  padding: 18px 18px !important;
}
@media (max-width: 700px) {
  body .nav-expansion {
    min-height: 360px !important;
  }
  body .nav-expansion .nav-expansion-links a {
    min-height: 88px !important;
    padding: 14px !important;
  }
}


/* FACTION-THEMED EXPANDED MENU ACCENTS.
   The active collection tab sets data-cyber-theme via nav-expansion.js.
   Accent colour is applied to the panel edge lighting and rusted shortcut plates. */
body .nav-expansion {
  --menu-accent: #ff332f;
  border-color: transparent !important;
  box-shadow: inset 0 0 24px color-mix(in srgb, var(--menu-accent) 22%, transparent) !important;
}
body[data-cyber-theme="autobots"] .nav-expansion { --menu-accent: #ff332f; }
body[data-cyber-theme="decepticons"] .nav-expansion { --menu-accent: #b44aff; }
body[data-cyber-theme="masterpiece"] .nav-expansion { --menu-accent: #ffc34c; }
body[data-cyber-theme="third-party"] .nav-expansion { --menu-accent: #39e879; }
body[data-cyber-theme="primes"] .nav-expansion { --menu-accent: #00d5f5; }
body[data-cyber-theme="contact"] .nav-expansion { --menu-accent: #d8e5f4; }

body .nav-expansion .nav-expansion-links a {
  filter: drop-shadow(0 0 5px color-mix(in srgb, var(--menu-accent) 72%, transparent)) !important;
  transition: filter .18s ease, transform .18s ease !important;
}
body .nav-expansion .nav-expansion-links a:hover,
body .nav-expansion .nav-expansion-links a:focus-visible {
  filter: brightness(1.1) drop-shadow(0 0 12px var(--menu-accent)) !important;
  box-shadow: none !important;
}
@supports not (color: color-mix(in srgb, red, transparent)) {
  body .nav-expansion { box-shadow: inset 0 0 18px rgba(255,51,47,.22) !important; }
  body .nav-expansion .nav-expansion-links a { filter: drop-shadow(0 0 5px var(--menu-accent)) !important; }
}


/* HIGH-VISIBILITY faction lighting for the expanded menu.
   Use a dedicated overlay and stronger button glow so the accent is visible
   even over the textured panel artwork. */
body .nav-expansion {
  position: absolute !important;
  isolation: isolate !important;
  box-shadow:
    inset 0 0 0 2px var(--menu-accent),
    inset 0 0 24px var(--menu-accent),
    0 0 16px var(--menu-accent) !important;
}
body .nav-expansion::before {
  content: "" !important;
  display: block !important;
  position: absolute !important;
  inset: 7px 12px !important;
  z-index: 0 !important;
  pointer-events: none !important;
  border: 2px solid var(--menu-accent) !important;
  border-radius: 18px !important;
  opacity: .9 !important;
  box-shadow:
    inset 0 0 12px var(--menu-accent),
    0 0 12px var(--menu-accent) !important;
  background:
    linear-gradient(90deg,
      color-mix(in srgb, var(--menu-accent) 35%, transparent),
      transparent 18%,
      transparent 82%,
      color-mix(in srgb, var(--menu-accent) 35%, transparent)) !important;
}
body .nav-expansion > * {
  position: relative !important;
  z-index: 2 !important;
}
body .nav-expansion .nav-expansion-links a {
  box-shadow:
    0 0 0 1px var(--menu-accent),
    0 0 12px var(--menu-accent),
    inset 0 0 12px color-mix(in srgb, var(--menu-accent) 35%, transparent) !important;
  filter: brightness(1.04) drop-shadow(0 0 8px var(--menu-accent)) !important;
}
body .nav-expansion .nav-expansion-links a:hover,
body .nav-expansion .nav-expansion-links a:focus-visible {
  box-shadow:
    0 0 0 2px var(--menu-accent),
    0 0 20px var(--menu-accent),
    inset 0 0 16px var(--menu-accent) !important;
  filter: brightness(1.12) drop-shadow(0 0 14px var(--menu-accent)) !important;
}


/* CYBERTRONIAN ACCENT FRAME — one angular border around the whole button row.
   Remove the two outer panel outlines and all individual button outlines. */
body .nav-expansion {
  border: 0 !important;
  outline: 0 !important;
  box-shadow: none !important;
  filter: none !important;
}
body .nav-expansion::before,
body .nav-expansion::after {
  content: none !important;
  display: none !important;
  border: 0 !important;
  box-shadow: none !important;
  outline: 0 !important;
}
body .nav-expansion .nav-expansion-links {
  position: relative !important;
  isolation: isolate !important;
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 12px !important;
  width: min(100%, 1160px) !important;
  margin: 0 auto !important;
  padding: 13px !important;
  box-sizing: border-box !important;
  border: 0 !important;
  box-shadow: none !important;
}
body .nav-expansion .nav-expansion-links::before {
  content: "" !important;
  display: block !important;
  position: absolute !important;
  z-index: -2 !important;
  inset: 0 !important;
  pointer-events: none !important;
  background:
    linear-gradient(90deg, transparent 0 4%, var(--menu-accent) 4% 18%, transparent 18% 82%, var(--menu-accent) 82% 96%, transparent 96%),
    linear-gradient(180deg, var(--menu-accent), rgba(255,255,255,.35) 50%, var(--menu-accent)) !important;
  clip-path: polygon(14px 0, calc(100% - 14px) 0, 100% 14px, 100% calc(100% - 14px), calc(100% - 14px) 100%, 14px 100%, 0 calc(100% - 14px), 0 14px) !important;
  opacity: .95 !important;
  box-shadow: 0 0 12px var(--menu-accent) !important;
}
body .nav-expansion .nav-expansion-links::after {
  content: "" !important;
  display: block !important;
  position: absolute !important;
  z-index: -1 !important;
  inset: 2px !important;
  pointer-events: none !important;
  background: rgba(4, 8, 12, .45) !important;
  clip-path: polygon(12px 0, calc(100% - 12px) 0, 100% 12px, 100% calc(100% - 12px), calc(100% - 12px) 100%, 12px 100%, 0 calc(100% - 12px), 0 12px) !important;
}
body .nav-expansion .nav-expansion-links a,
body .nav-expansion .nav-expansion-links a:hover,
body .nav-expansion .nav-expansion-links a:focus-visible {
  position: relative !important;
  z-index: 1 !important;
  border: 0 !important;
  outline: 0 !important;
  box-shadow: none !important;
  filter: none !important;
}
@media (max-width: 700px) {
  body .nav-expansion .nav-expansion-links {
    grid-template-columns: 1fr !important;
    padding: 10px !important;
    gap: 8px !important;
  }
}


/* FIX: keep the shared Cybertronian frame in the visible stacking layer.
   The previous negative z-index put the frame behind the menu's own artwork. */
body .nav-expansion .nav-expansion-links {
  position: relative !important;
  isolation: isolate !important;
  padding: 15px !important;
  overflow: visible !important;
}
body .nav-expansion .nav-expansion-links::before {
  content: "" !important;
  display: block !important;
  position: absolute !important;
  z-index: 0 !important;
  inset: 0 !important;
  pointer-events: none !important;
  border: 3px solid var(--menu-accent, #ff302f) !important;
  background: linear-gradient(180deg, rgba(255,255,255,.18), transparent 24%, transparent 76%, rgba(0,0,0,.2)) !important;
  clip-path: polygon(18px 0, calc(100% - 18px) 0, 100% 18px, 100% calc(100% - 18px), calc(100% - 18px) 100%, 18px 100%, 0 calc(100% - 18px), 0 18px) !important;
  box-shadow: 0 0 6px var(--menu-accent, #ff302f), 0 0 18px var(--menu-accent, #ff302f) !important;
}
body .nav-expansion .nav-expansion-links::after {
  content: "" !important;
  display: block !important;
  position: absolute !important;
  z-index: 0 !important;
  inset: 3px !important;
  pointer-events: none !important;
  background: rgba(4, 8, 12, .28) !important;
  clip-path: polygon(15px 0, calc(100% - 15px) 0, 100% 15px, 100% calc(100% - 15px), calc(100% - 15px) 100%, 15px 100%, 0 calc(100% - 15px), 0 15px) !important;
}
body .nav-expansion .nav-expansion-links a,
body .nav-expansion .nav-expansion-links a:hover,
body .nav-expansion .nav-expansion-links a:focus-visible {
  z-index: 1 !important;
}


/* WIDEN THE ACCENT FRAME — authoritative CSS sizing.
   The earlier JavaScript width was overridden by this stylesheet's !important
   width cap. Make the content span the panel and the shared frame 92% wide. */
body .nav-expansion .nav-expansion-content {
  width: 100% !important;
  max-width: none !important;
  min-width: 0 !important;
  justify-self: stretch !important;
}
body .nav-expansion .nav-expansion-links {
  width: 82% !important;
  max-width: none !important;
  justify-self: center !important;
  margin-left: auto !important;
  margin-right: auto !important;
  box-sizing: border-box !important;
}
@media (max-width: 700px) {
  body .nav-expansion .nav-expansion-links {
    width: 92% !important;
  }
}


/* Disable legacy pseudo-element frames so only the live accent overlay is visible. */
body .nav-expansion .nav-expansion-links::before,
body .nav-expansion .nav-expansion-links::after {
  content: none !important;
  display: none !important;
  border: 0 !important;
  box-shadow: none !important;
  background: none !important;
}


/* FINAL CLEANUP: remove all expanded-menu accent lighting from legacy CSS. */
body .nav-expansion {
  --menu-accent: transparent !important;
  border-color: transparent !important;
  outline: none !important;
  box-shadow: none !important;
}
body .nav-expansion::before,
body .nav-expansion::after {
  content: none !important;
  display: none !important;
  border: 0 !important;
  outline: 0 !important;
  box-shadow: none !important;
  filter: none !important;
}
body .nav-expansion .nav-expansion-links::before,
body .nav-expansion .nav-expansion-links::after {
  content: none !important;
  display: none !important;
  border: 0 !important;
  outline: 0 !important;
  background: none !important;
  box-shadow: none !important;
  filter: none !important;
}
body .nav-expansion .nav-expansion-links a,
body .nav-expansion .nav-expansion-links a:hover,
body .nav-expansion .nav-expansion-links a:focus-visible {
  border-color: transparent !important;
  outline: none !important;
  box-shadow: none !important;
  filter: none !important;
}
body .nav-expansion .nav-expansion-accent-frame {
  display: none !important;
  visibility: hidden !important;
  border: 0 !important;
  outline: 0 !important;
  box-shadow: none !important;
  background: none !important;
}


/* GLOBAL DESIGN RESET — Cybertronian border artwork and accent frames are retired.
   Keep the underlying panels, images, layout, and text; remove decorative frame overlays. */
.nav-item::before,
.nav-item::after,
.collection-heading::before,
.collection-heading::after,
.detail-panel::before,
.card::before,
.card::after,
.preview-window::before,
.preview-window::after,
.collection-info::before,
.collection-info::after,
.info-image::before,
.info-image::after,
.info-thumbs button::before,
.info-thumbs button::after,
.info-thumbs div::before,
.info-thumbs div::after {
  content: none !important;
  display: none !important;
  -webkit-mask: none !important;
  mask: none !important;
  filter: none !important;
  box-shadow: none !important;
  outline: 0 !important;
}

/* Remove any remaining image-mask references from visible pseudo-element frames. */
.nav-item,
.collection-heading,
.detail-panel,
.card,
.preview-window,
.collection-info,
.info-image {
  --nav-glow: transparent !important;
}


/* DEFINITIVE BORDER-EFFECT REMOVAL
   Disable remaining decorative borders, glow filters, and inset/outer shadows.
   Keep structural spacing and the original images intact. */
.collection-shell,
.collection-heading,
.collection-heading-top,
.content-layout,
.gallery,
.card,
.preview-window,
.detail-panel,
.detail-main-image,
.detail-main-image img,
.detail-info,
.detail-title,
.detail-specs,
.detail-thumbs,
.detail-thumbs button,
.collection-info,
.info-image,
.info-thumbs button,
.info-thumbs div {
  outline: none !important;
  box-shadow: none !important;
  filter: none !important;
  text-shadow: none !important;
}

.collection-shell,
.collection-heading,
.collection-heading-top,
.content-layout,
.gallery,
.card,
.preview-window,
.detail-panel,
.detail-main-image,
.detail-info,
.detail-title,
.detail-specs,
.detail-thumbs,
.detail-thumbs button,
.collection-info,
.info-image,
.info-thumbs button,
.info-thumbs div {
  border-color: transparent !important;
}

.detail-panel::before,
.detail-panel::after,
.card::before,
.card::after,
.preview-window::before,
.preview-window::after,
.detail-main-image::before,
.detail-main-image::after,
.detail-thumbs button::before,
.detail-thumbs button::after,
.collection-info::before,
.collection-info::after,
.info-image::before,
.info-image::after,
.info-thumbs button::before,
.info-thumbs button::after,
.info-thumbs div::before,
.info-thumbs div::after {
  content: none !important;
  display: none !important;
  background: none !important;
  -webkit-mask: none !important;
  mask: none !important;
  filter: none !important;
  box-shadow: none !important;
}


/* AUTOBOTS COLLECTION — remove the remaining bright vertical frame lines.
   These are coming from card/panel border and pseudo-frame styling, not the photos. */
body[data-cyber-theme="autobots"] .collection-shell,
body[data-cyber-theme="autobots"] .content-layout,
body[data-cyber-theme="autobots"] .gallery,
body[data-cyber-theme="autobots"] .gallery .card,
body[data-cyber-theme="autobots"] .gallery .card:hover,
body[data-cyber-theme="autobots"] .detail-panel,
body[data-cyber-theme="autobots"] .detail-main-image,
body[data-cyber-theme="autobots"] .detail-thumbs,
body[data-cyber-theme="autobots"] .detail-thumbs button {
  border: 0 !important;
  outline: 0 !important;
  box-shadow: none !important;
  filter: none !important;
}

body[data-cyber-theme="autobots"] .gallery .card::before,
body[data-cyber-theme="autobots"] .gallery .card::after,
body[data-cyber-theme="autobots"] .detail-panel::before,
body[data-cyber-theme="autobots"] .detail-panel::after,
body[data-cyber-theme="autobots"] .detail-main-image::before,
body[data-cyber-theme="autobots"] .detail-main-image::after,
body[data-cyber-theme="autobots"] .detail-thumbs button::before,
body[data-cyber-theme="autobots"] .detail-thumbs button::after {
  content: none !important;
  display: none !important;
  border: 0 !important;
  outline: 0 !important;
  background: none !important;
  -webkit-mask: none !important;
  mask: none !important;
  filter: none !important;
  box-shadow: none !important;
}

body[data-cyber-theme="autobots"] .gallery .card {
  background: transparent !important;
}


/* FINAL RETIREMENT OF THE OLD BORDER SYSTEM:
   remove chassis overlays on the site header and remaining detail-panel frame/glow. */
body .topbar::after,
body .site-header.unified-header::after {
  content: none !important;
  display: none !important;
  background: none !important;
  border: 0 !important;
  outline: 0 !important;
  box-shadow: none !important;
  filter: none !important;
}

body .topbar,
body .site-header.unified-header {
  border: 0 !important;
  outline: 0 !important;
  box-shadow: none !important;
}

body .detail-panel,
body .collection-info {
  border: 0 !important;
  outline: 0 !important;
  box-shadow: none !important;
  filter: none !important;
  background-image: none !important;
}

body .detail-panel::before,
body .detail-panel::after,
body .collection-info::before,
body .collection-info::after {
  content: none !important;
  display: none !important;
  background: none !important;
  border: 0 !important;
  outline: 0 !important;
  box-shadow: none !important;
  filter: none !important;
  -webkit-mask: none !important;
  mask: none !important;
}

body .detail-main-image,
body .detail-main-image::before,
body .detail-main-image::after {
  border: 0 !important;
  outline: 0 !important;
  box-shadow: none !important;
  filter: none !important;
}
body .detail-main-image::before,
body .detail-main-image::after {
  content: none !important;
  display: none !important;
  background: none !important;
  -webkit-mask: none !important;
  mask: none !important;
}


/* NAVIGATION CLEANUP — shared by every page.
   Remove the dark slab behind the tabs while preserving each tab's own styling. */
body .topbar .main-nav,
body .site-header.unified-header .main-nav {
  background: transparent !important;
  background-image: none !important;
  box-shadow: none !important;
  border: 0 !important;
  outline: 0 !important;
}

/* Keep the contact page's legacy .topbar navigation aligned with the same
   shared sizing and tab treatment used across the collection pages. */
body .topbar {
  display: flex !important;
  align-items: stretch !important;
  gap: 0 !important;
}
body .topbar .main-nav {
  flex: 1 1 auto !important;
  min-width: 0 !important;
  display: grid !important;
  grid-template-columns: repeat(6, minmax(0, 1fr)) !important;
  align-items: stretch !important;
  gap: 7px !important;
}
body .topbar .nav-item {
  margin: 0 !important;
  min-width: 0 !important;
  background: transparent !important;
  background-image: none !important;
}


/* NAV ALIGNMENT FIX — keep the navigation plates to the right of the logo.
   The logo occupies its own fixed flex column; the six tabs share only the
   remaining header width instead of overlapping or centering underneath it. */
body .topbar {
  display: flex !important;
  flex-flow: row nowrap !important;
  justify-content: flex-start !important;
  align-items: stretch !important;
}
body .topbar > .site-logo {
  position: relative !important;
  flex: 0 0 350px !important;
  width: 350px !important;
  min-width: 350px !important;
  margin: 0 !important;
}
body .topbar > .main-nav {
  position: relative !important;
  flex: 1 1 0 !important;
  width: auto !important;
  min-width: 0 !important;
  margin: 0 !important;
  display: grid !important;
  grid-template-columns: repeat(6, minmax(0, 1fr)) !important;
  gap: 7px !important;
  align-self: stretch !important;
}
@media (max-width: 1100px) {
  body .topbar > .site-logo {
    flex-basis: 240px !important;
    width: 240px !important;
    min-width: 240px !important;
  }
}
@media (max-width: 700px) {
  body .topbar > .site-logo {
    flex-basis: 150px !important;
    width: 150px !important;
    min-width: 150px !important;
  }
  body .topbar > .main-nav {
    gap: 3px !important;
  }
}


/* NAVIGATION SPACING — compact the plates and dock the row to the right,
   keeping the final plate inside the right-hand inner chassis border. */
body .topbar > .main-nav {
  flex: 0 1 52% !important;
  width: 52% !important;
  margin-left: auto !important;
  margin-right: 7.5% !important;
  grid-template-columns: repeat(6, minmax(0, 1fr)) !important;
  gap: 3px !important;
}
body .topbar > .main-nav > .nav-item {
  width: 100% !important;
  min-width: 0 !important;
  justify-self: stretch !important;
}
@media (max-width: 1100px) {
  body .topbar > .main-nav {
    flex-basis: 58% !important;
    width: 58% !important;
    margin-right: 3% !important;
    gap: 2px !important;
  }
}
@media (max-width: 700px) {
  body .topbar > .main-nav {
    flex-basis: 60% !important;
    width: 60% !important;
    margin-right: 2% !important;
    gap: 1px !important;
  }
}


/* Latest requested adjustment: shift the navigation plates 200px to the right. */
body .topbar > .main-nav {
  transform: translateX(200px) !important;
}
@media (max-width: 700px) {
  body .topbar > .main-nav {
    transform: translateX(200px) !important;
  }
}


/* Latest requested adjustment: move navigation plates 100px left from the
   previous position (net +100px from the original alignment). */
body .topbar > .main-nav {
  transform: translateX(100px) !important;
}
@media (max-width: 700px) {
  body .topbar > .main-nav {
    transform: translateX(100px) !important;
  }
}


/* Latest requested adjustment: move navigation plates another 50px left. */
body .topbar > .main-nav {
  transform: translateX(50px) !important;
}
@media (max-width: 700px) {
  body .topbar > .main-nav {
    transform: translateX(50px) !important;
  }
}


/* Latest requested adjustment: move navigation plates another 50px left. */
body .topbar > .main-nav {
  transform: translateX(0px) !important;
}
@media (max-width: 700px) {
  body .topbar > .main-nav {
    transform: translateX(0px) !important;
  }
}


/* Latest requested adjustment: move navigation plates another 50px left. */
body .topbar > .main-nav {
  transform: translateX(-50px) !important;
}
@media (max-width: 700px) {
  body .topbar > .main-nav {
    transform: translateX(-50px) !important;
  }
}


/* NAV PLATE WIDTH +25% — preserve the right edge and expand the row leftward.
   The logo and its images remain in place; only the navigation row grows. */
body .topbar > .main-nav {
  flex-basis: 65% !important;
  width: 65% !important;
  margin-left: auto !important;
  margin-right: 7.5% !important;
}
@media (max-width: 1100px) {
  body .topbar > .main-nav {
    flex-basis: 72.5% !important;
    width: 72.5% !important;
    margin-right: 3% !important;
  }
}
@media (max-width: 700px) {
  body .topbar > .main-nav {
    flex-basis: 75% !important;
    width: 75% !important;
    margin-right: 2% !important;
  }
}


/* LOGO CLEARANCE — shift the logo 25px left without moving the nav plates. */
body .topbar > .site-logo {
  transform: translateX(-25px) !important;
}


/* SHARED NAV PLATE CONTENT — match the Contact page's icon/text layout on every page.
   Keep the established plate artwork and overall header positioning unchanged. */
body .topbar .main-nav .nav-item,
body .site-header.unified-header .main-nav .nav-item {
  display: grid !important;
  grid-template-columns: 40px minmax(0, 1fr) 40px !important;
  grid-template-rows: minmax(0, auto) !important;
  align-items: center !important;
  justify-items: stretch !important;
  column-gap: 0 !important;
  padding: 8px 10px !important;
  text-align: center !important;
}
body .topbar .main-nav .nav-item img,
body .site-header.unified-header .main-nav .nav-item img {
  grid-column: 1 !important;
  grid-row: 1 !important;
  width: 40px !important;
  height: 40px !important;
  min-width: 40px !important;
  min-height: 40px !important;
  max-width: 40px !important;
  max-height: 40px !important;
  margin: 0 !important;
  justify-self: center !important;
  object-fit: contain !important;
  display: block !important;
}
body .topbar .main-nav .nav-item span,
body .site-header.unified-header .main-nav .nav-item span {
  grid-column: 2 !important;
  grid-row: 1 !important;
  justify-self: center !important;
  margin: 0 !important;
  padding: 0 !important;
  white-space: nowrap !important;
  text-align: center !important;
  font-family: "Orbitron", Arial, sans-serif !important;
  font-size: clamp(10px, 1vw, 16px) !important;
  font-weight: 800 !important;
  line-height: 1.05 !important;
  letter-spacing: .5px !important;
}
@media (max-width: 620px) {
  body .topbar .main-nav .nav-item,
  body .site-header.unified-header .main-nav .nav-item {
    grid-template-columns: 28px minmax(0, 1fr) 28px !important;
    padding: 5px !important;
  }
  body .topbar .main-nav .nav-item img,
  body .site-header.unified-header .main-nav .nav-item img {
    width: 28px !important;
    height: 28px !important;
    min-width: 28px !important;
    min-height: 28px !important;
    max-width: 28px !important;
    max-height: 28px !important;
  }
  body .topbar .main-nav .nav-item span,
  body .site-header.unified-header .main-nav .nav-item span {
    font-size: 8px !important;
  }
}


/* MOBILE-ONLY NAVIGATION — desktop header remains unchanged. */
.mobile-menu-toggle,
.mobile-site-menu { display: none; }

@media (max-width: 620px) {
  body .site-header.unified-header {
    position: relative !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    box-sizing: border-box !important;
    width: 100% !important;
    min-height: 86px !important;
    height: auto !important;
    padding: 8px 64px !important;
    margin: 0 !important;
    overflow: visible !important;
    background: rgba(2, 7, 14, .88) !important;
    border-bottom: 1px solid rgba(85, 203, 255, .65) !important;
    box-shadow: 0 5px 18px rgba(0,0,0,.55) !important;
    backdrop-filter: blur(8px);
    z-index: 1000 !important;
  }
  body .site-header.unified-header::before,
  body .site-header.unified-header::after { display: none !important; }
  body .site-header.unified-header .brand {
    position: relative !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    flex: 0 1 auto !important;
    width: auto !important;
    max-width: 100% !important;
    min-width: 0 !important;
    margin: 0 auto !important;
    padding: 0 !important;
    transform: none !important;
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
  }
  body .site-header.unified-header .brand img {
    display: block !important;
    width: auto !important;
    height: auto !important;
    max-width: min(68vw, 300px) !important;
    max-height: 66px !important;
    object-fit: contain !important;
    margin: 0 auto !important;
    transform: none !important;
  }
  body .site-header.unified-header .main-nav { display: none !important; }
  body .site-header.unified-header .mobile-menu-toggle {
    position: absolute !important;
    top: 50% !important;
    right: 12px !important;
    transform: translateY(-50%) !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    align-items: center !important;
    gap: 5px !important;
    width: 44px !important;
    height: 44px !important;
    padding: 9px !important;
    color: #eaf8ff !important;
    background: rgba(4, 17, 29, .96) !important;
    border: 1px solid #29c6ff !important;
    border-radius: 4px !important;
    box-shadow: 0 0 12px rgba(0,174,255,.2) !important;
    cursor: pointer !important;
    z-index: 1002 !important;
  }
  .mobile-menu-toggle span {
    display: block !important;
    width: 23px !important;
    height: 2px !important;
    background: #eaf8ff !important;
    box-shadow: 0 0 5px rgba(41,198,255,.45) !important;
    transition: transform .18s ease, opacity .18s ease !important;
  }
  .mobile-menu-toggle[aria-expanded="true"] span:first-child { transform: translateY(7px) rotate(45deg); }
  .mobile-menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .mobile-menu-toggle[aria-expanded="true"] span:last-child { transform: translateY(-7px) rotate(-45deg); }
  body .mobile-site-menu:not([hidden]) {
    position: relative !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 0 !important;
    width: 100% !important;
    padding: 8px 12px 12px !important;
    background: rgba(2, 7, 14, .96) !important;
    border-bottom: 1px solid rgba(85,203,255,.65) !important;
    box-shadow: 0 10px 22px rgba(0,0,0,.6) !important;
    z-index: 999 !important;
  }
  body .mobile-site-menu a {
    display: block !important;
    padding: 13px 12px !important;
    color: #eaf8ff !important;
    font: 700 13px/1.2 "Orbitron", Arial, sans-serif !important;
    letter-spacing: 1.2px !important;
    text-decoration: none !important;
    border-bottom: 1px solid rgba(75, 173, 218, .2) !important;
  }
  body .mobile-site-menu a:last-child { border-bottom: 0 !important; }
  body .mobile-site-menu a:focus-visible,
  body .mobile-site-menu a:hover {
    color: #5bd8ff !important;
    background: rgba(27, 111, 151, .18) !important;
    outline: none !important;
  }
}

@media (max-width: 620px) {
  /* The homepage's former mobile link strip is replaced by the shared hamburger menu. */
  body.home-page #mobile-nav { display: none !important; }
}

/* MOBILE-ONLY HOMEPAGE FIX — explicitly show the shared hamburger control on index.html. */
@media (max-width: 620px) {
  body.home-page .site-header.unified-header > .mobile-menu-toggle {
    display: flex !important;
    position: absolute !important;
    top: 50% !important;
    right: 12px !important;
    left: auto !important;
    transform: translateY(-50%) !important;
    z-index: 1002 !important;
    visibility: visible !important;
    opacity: 1 !important;
    pointer-events: auto !important;
  }
  body.home-page .site-header.unified-header > .main-nav { display: none !important; }
  body.home-page #mobile-nav { display: none !important; }
}


/* MOBILE-ONLY: remove the cyan divider directly below the top header on every page. */
@media (max-width: 620px) {
  body .site-header.unified-header {
    border-bottom: 0 !important;
  }
}


/* MOBILE-ONLY HOMEPAGE SPACING: bring the first frame directly under the header. */
@media (max-width: 620px) {
  body.home-page .home-main {
    margin-top: 0 !important;
    padding-top: 0 !important;
  }
  body.home-page .home-hero {
    margin-top: 0 !important;
  }
  body.home-page .home-intro {
    margin-top: 0 !important;
  }
}


/* MOBILE-ONLY HOMEPAGE HERO ART — use the dedicated portrait artwork. */
@media (max-width: 620px) {
  body.home-page .home-hero::before {
    background-image: url("images/Main-page-hero-mobile.png") !important;
    background-position: center 34% !important;
    background-size: cover !important;
    background-repeat: no-repeat !important;
    opacity: 1 !important;
  }
  body.home-page .home-hero::after {
    background: linear-gradient(
      180deg,
      rgba(1, 6, 14, .04) 0%,
      rgba(1, 6, 14, .12) 48%,
      rgba(1, 6, 14, .48) 100%
    ) !important;
  }
}


/* MOBILE-ONLY HOMEPAGE: remove the empty art spacer above the hero frame. */
@media (max-width: 620px) {
  body.home-page .home-hero-art {
    display: none !important;
    min-height: 0 !important;
    height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
  }
  body.home-page .home-hero {
    grid-template-rows: auto !important;
    align-content: start !important;
    padding-top: 0 !important;
  }
  body.home-page .home-hero-copy {
    align-self: start !important;
    margin-top: 0 !important;
  }
}


/* MOBILE-ONLY HOMEPAGE: increase hero height so the entire metallic frame fits. */
@media (max-width: 620px) {
  body.home-page .home-hero {
    min-height: 520px !important;
    height: auto !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    box-sizing: border-box !important;
  }
  body.home-page .home-hero-copy {
    min-height: 520px !important;
    height: auto !important;
    box-sizing: border-box !important;
    padding-top: 110px !important;
    padding-bottom: 105px !important;
    margin-top: 0 !important;
  }
  body.home-page .home-hero-copy::before {
    inset: 0 !important;
  }
  body.home-page .home-hero-copy::after {
    inset: 7% 6% !important;
  }
}


/* MOBILE-ONLY HOMEPAGE: slightly reduce hero description text to fit the frame. */
@media (max-width: 620px) {
  body.home-page .home-hero-copy > p {
    font-size: 14px !important;
    line-height: 1.45 !important;
  }
}


/* MOBILE-ONLY HOMEPAGE: constrain hero paragraph width to keep text clear of the frame rails. */
@media (max-width: 620px) {
  body.home-page .home-hero-copy > p {
    width: 82% !important;
    max-width: 290px !important;
    margin-left: auto !important;
    margin-right: auto !important;
    text-wrap: pretty;
    overflow-wrap: normal !important;
    line-height: 1.45 !important;
  }
}


/* MOBILE-ONLY HOMEPAGE: remove the divider between the hero and profile section. */
@media (max-width: 620px) {
  body.home-page .home-hero,
  body.home-page .home-about,
  body.home-page .home-profile,
  body.home-page .home-hero + section {
    border-bottom: 0 !important;
    border-top: 0 !important;
  }
}


/* MOBILE-ONLY HOMEPAGE PROFILE PANEL: keep top/bottom cyan edges, remove side edges. */
@media (max-width: 620px) {
  body.home-page .home-intro.home-panel {
    border-top: 1px solid var(--cyan, #18d9ff) !important;
    border-bottom: 1px solid var(--cyan, #18d9ff) !important;
    border-left: 0 !important;
    border-right: 0 !important;
  }
}


/* MOBILE-ONLY HOMEPAGE PROFILE PANEL: restore the vertical side borders. */
@media (max-width: 620px) {
  body.home-page .home-intro.home-panel {
    border-left: 1px solid var(--cyan, #18d9ff) !important;
    border-right: 1px solid var(--cyan, #18d9ff) !important;
  }
}


