/* =========================
   Base Reset & Tokens
========================= */
* { margin: 0; padding: 0; box-sizing: border-box; font-family: 'Orbitron';}

:root{
  /* spacing & sizing */
  --gap: 16px;
  --radius: 20px;

  /* type scale */
  --fs-xs: clamp(10px, 1.6vw, 12px);
  --fs-sm: clamp(12px, 1.8vw, 14px);
  --fs-md: clamp(13px, 2.0vw, 16px);
  --fs-lg: clamp(16px, 2.4vw, 20px);
  --fs-xl: clamp(18px, 2.8vw, 24px);

  /* components */
  --pb-height: clamp(18px, 3.2vw, 30px);
  --machine-img: clamp(64px, 12vw, 100px);

  /* numeric layout reserves */
  --score-ch: 10; /* sidebar value col */
  --own-ch:   4;  /* owned counter */
}

@font-face {
  font-family: "Orbitron";
  src: url("../assets/fonts/Orbitron-Variable.woff2") format("woff2 supports variations"),
       url("../assets/fonts/Orbitron-Variable.woff2") format("woff2-variations");
  font-weight: 100 1000;
}

html, body{
  min-height: 100%;
  background: #000;
  color: #111;
}

h1, h2, h3, p, td { font-family: "Orbitron", system-ui, sans-serif; }
h1 { font-weight: 600; font-size: var(--fs-xl); }
h2 { font-weight: 350; font-size: var(--fs-lg); }
h3 { font-weight: 200; font-size: var(--fs-md); }
p, td { font-size: var(--fs-sm); }

.nodrag{
  -webkit-user-drag: none;
  user-select: none; -webkit-user-select: none; -moz-user-select: none;
  touch-action: manipulation;
  cursor: pointer;
}

@media (prefers-reduced-motion: reduce){
  * { animation-duration: .01ms !important; animation-iteration-count: 1 !important;
      transition-duration: .01ms !important; scroll-behavior: auto !important; }
}

/* =========================
   Page Layout
========================= */
.main-content-container{
  width: 100%;
  min-height: 100dvh;
  padding: 20px 10px;
  background: #000;
}

.main-content-row{
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: var(--gap);
  align-items: flex-start;
}

.sidebar,
.left-main-column,
.right-main-column{
  background: #66ffcc;
  border-radius: var(--radius);
  overflow: hidden;
}

.sidebar{
  background: #ffcc66;
  position: relative;
  flex: 1 1 320px;
  max-width: 420px;
}
.left-main-column, .right-main-column{
  flex: 1 1 380px;
  min-width: 300px;
  padding: 10px;
}

/* Large screens */
@media (min-width: 1200px){
  .main-content-row{ align-items: stretch; }
  .sidebar{ flex-basis: 320px; }
  .left-main-column, .right-main-column{ flex: 1 1 0; }
}
/* Medium */
@media (max-width: 991px){
  .sidebar{ flex: 1 1 100%; }
  .left-main-column, .right-main-column{ flex: 1 1 480px; }
}
/* Small */
@media (max-width: 640px){
  .left-main-column, .right-main-column{ flex: 1 1 100%; }
}

/* =========================
   Sidebar
========================= */
.music-toggle{
  position: absolute; top: 10px; left: 10px;
  width: 40px; height: 40px;
}
.music-toggle + .sidebar-image-heading{ padding-top: 8px; }

.sidebar-image-heading{ text-align: center; padding-top: 54px; }
.sidebar-image-heading h2{ color: #111; }

.sidebar-image-container{
  margin: 10px auto;
  width: 90%;
  aspect-ratio: 16/9;
  overflow: hidden;
  border: 2px solid #000;
  border-radius: 8px;
  background: #0003;
}
.sidebar-image{ width: 100%; height: 100%; object-fit: cover; display: block; }

.sidebar-item-container{
  margin: 10px auto;
  width: 90%;
  border: 2px solid #000;
  border-radius: 8px;
  background: #fff8;
  overflow: clip;
}
.sidebar-item-heading{
  text-align: center;
  background: #ff9966;
  padding: 6px 8px;
}
.sidebar-item-heading h3{ color: #111; }

.sidebar-item-content-container{
  margin: 10px auto;
  width: 95%;
  font-size: var(--fs-xs);
  line-height: 1.2;
  overflow: auto;
}

/* ===== Inventory table ===== */
/* Add this colgroup in HTML for best results:
<colgroup>
  <col class="col-metric"><col class="col-score">
</colgroup>
*/
.inventory-table{ width: 100%; border-collapse: collapse; table-layout: fixed; }
.col-metric{ width: 45%; }
.col-score { width: 55%; }
@media (max-width: 640px){ .col-metric{ width: 42%; } .col-score{ width: 58%; } }

.inventory-table-item td{ border: 1px solid red; padding: 6px 8px; vertical-align: middle; }

.inventory-score{
  text-align: right;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  font-variant-numeric: tabular-nums lining-nums;
  font-feature-settings: "tnum" 1, "lnum" 1;
  min-width: calc(var(--score-ch) * 1ch);
}

/* =========================
   Managers (cards + modal)
========================= */
.manager-container{
  width: 95%;
  margin: 10px auto;
  padding: 8px 10px;
  display: flex;
  gap: 10px;
  align-items: center;
}
.manager-image{
  width: 64px; height: 64px;
  border: 2px solid #000;
  border-radius: 6px;
  flex: 0 0 auto;
}
.manager-data-container{ color: #083d8c; font-weight: 600; min-width: 0; }
.manager-data{ font-size: clamp(10px, 1.6vw, 13px); line-height: 1.2; color: #111; }
.employ-manager-button{
  margin-top: 6px;
  color: #fff; background: #a52a2a;
  border: 2px solid #000; border-radius: 6px;
  padding: 6px 10px; font-size: var(--fs-xs);
  cursor: pointer;
}

/* Managers opener */
.sidebar-heading-button{ width: 100%; background: transparent; border: 0; padding: 0; cursor: pointer; }
.sidebar-heading-button h3{ pointer-events: none; }

/* Modal */
.modal-overlay{
  position: fixed; inset: 0; display: none;
  align-items: center; justify-content: center;
  padding: 20px; background: rgba(0,0,0,.55); z-index: 1000;
}
.modal-overlay[open]{ display: flex; }
.modal-dialog{
  width: min(960px, 96vw); max-height: 85vh;
  background: #ffcc66; border-radius: 16px; border: 3px solid #000;
  overflow: hidden; box-shadow: 0 10px 40px rgba(0,0,0,.35);
}
.modal-header{
  display: flex; align-items: center; justify-content: space-between;
  padding: 12px 16px; background: #ff9966; border-bottom: 2px solid #000;
}
.modal-header h3{ margin: 0; }
.modal-close{
  appearance: none; border: 2px solid #000; background: #a52a2a; color: #fff;
  border-radius: 8px; padding: 4px 10px; font-weight: 700; cursor: pointer;
}
.modal-body{ padding: 12px 16px 18px; overflow: auto; max-height: calc(85vh - 56px); }
.managers-grid{ display: grid; grid-template-columns: repeat(auto-fill, minmax(260px,1fr)); gap: 12px; }
body.modal-open{ overflow: hidden; }

/* =========================
   Machines
========================= */
.machine-container{
  width: 100%;
  border: 3px solid #000;
  border-radius: 10px;
  margin: 10px auto;
  padding: clamp(10px, 2.4vw, 16px);
  background: #d8fff1;
}
.machine-content-row{
  display: flex; align-items: center; justify-content: space-between;
  gap: clamp(10px, 2.5vw, 16px);
}

/* image + owned */
.machine-image-column{ display: flex; flex-direction: column; align-items: center; flex: 0 0 auto; }
.machine-image-container{
  width: var(--machine-img); height: var(--machine-img);
  background: #fff; border: 6px solid #000; border-radius: 50%;
  display: grid; place-items: center;
}
.machine-image{
  width: calc(var(--machine-img) - 20px);
  height: calc(var(--machine-img) - 20px);
  border-radius: 50%; object-fit: contain;
}
.owned-counter{
  margin-top: 6px; width: var(--machine-img);
  font-family: 'Orbitron';
  text-align: center; font-weight: 700; font-size: var(--fs-sm); color: #222;
}

/* automator column */
.machine-automator-column{ margin-left: 4px; flex: 1 1 auto; min-width: 0; }
.machine-automator-heading-container{ width: 100%; min-height: 40px; display: flex; align-items: center; gap: 10px; }
.machine-automator-heading{
  font-weight: 600; font-size: var(--fs-md); color: #083d8c; line-height: 1.2;
  flex: 1 1 auto; min-width: 0;
}


/* progress (90%) */
.machine-automator-progressbar-container{ width: 90%; margin: 6px 0; }
.machine-automator-progressbar{
  background: #e6edf6;             /* light blue-grey */
  border: 1px solid #9fb0c9;        /* matches your bright theme border */
  border-radius: 12px;
  padding: 4px;                     /* keep your existing inset look */
}
.machine-progressbar{
  width: 100%; height: var(--pb-height);
  background: #E3D786; border-radius: calc(var(--pb-height)/2); overflow: hidden;
}
#machine-bar-1, #machine-bar-2, #machine-bar-3, #machine-bar-4,
#machine-bar-5, #machine-bar-6, #machine-bar-7, #machine-bar-8{
  height: 100%;
  background: linear-gradient(90deg, #60a5fa 0%, #34d399 100%);
  border-right: 6px solid #ffffff;   /* shimmer edge; a bit lighter than before */
  border-radius: inherit;
}


/* buy bar matches progress width (90%) */
.buy-bar{
  width: 90%;
  font-family: 'Orbitron';
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 34px; padding: 6px 12px; margin-top: 8px;
  border-radius: 999px; border: 2px solid #111;
  background: linear-gradient(180deg,#ffe7a3 0%,#ffd166 60%,#ffc24b 100%);
  box-shadow: 0 2px 0 #aa7b00, 0 6px 14px rgba(0,0,0,.25);
  font-size: 13px; letter-spacing: .3px;
  cursor: pointer; user-select: none;
  transition: transform 120ms ease, box-shadow 120ms ease, background 150ms ease, opacity 120ms ease, filter 150ms ease;
}
.buy-bar:hover{ transform: translateY(-1px); box-shadow: 0 3px 0 #aa7b00, 0 10px 18px rgba(0,0,0,.28); }
.buy-bar:active{ transform: translateY(0); box-shadow: 0 1px 0 #aa7b00, 0 6px 14px rgba(0,0,0,.25); }
.buy-bar:focus{
  outline: none;
  box-shadow: 0 2px 0 #aa7b00, 0 6px 14px rgba(0,0,0,.25), 0 0 0 3px #111, 0 0 0 5px #ffcc66;
}
.buy-bar.is-disabled{
  cursor: not-allowed; filter: grayscale(.7) saturate(.7) brightness(.9);
  opacity: .55; box-shadow: none; transform: none; pointer-events: none;
}
.buy-bar, .buy-bar > span{ white-space: nowrap; }

/* hide legacy owned row */
.machine-automator-databar-container{ display: none; }

/* =========================
   Buy Amount Switcher
========================= */
.right-main-column{ position: relative; }  /* anchor */
.buy-switcher{
  position: absolute; top: 2px; right: 12px;
  display: flex; flex-direction: column; align-items: center; gap: 4px;
  padding: 8px 10px; width: 92px;
  background: rgba(0,0,0,.6); border: 1px solid #000; border-radius: 10px;
  backdrop-filter: blur(2px); cursor: pointer; user-select: none;
}
.buy-switcher:focus{ outline: 2px solid #ffcc66; outline-offset: 2px; }
.buy-switcher-label{
  font-family: 'Orbitron';font-size: 11px; color: #ffd166; line-height: 1; letter-spacing: .5px;
}
.buy-switcher-value{
  font-family: 'Orbitron';font-size: 12px; padding: 4px 10px; width: 100%;
  border-radius: 999px; background: #ffd166; color: #111; border: 1px solid #222;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis; text-align: center;
}
@media (max-width: 520px){ .buy-switcher{ right: 6px; top: -6px; } }

/* =========================
   Tables (global)
========================= */
table{ border-collapse: collapse; width: 100%; }
td{ border: 1px solid red; padding: 5px; }



















/* ============ Upgrades Modal (Flex Layout) ============ */
#upgrades-modal-list { display: flex; flex-direction: column; gap: 10px; }

#upgrades-modal-list .upgrades-list { display: flex; flex-direction: column; gap: 10px; }

#upgrades-modal-list .upgrade-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px;
  border: 2px solid #b44;
  border-radius: 8px;
  background: rgba(0,0,0,0.04);
}

#upgrades-modal-list .imgbox {
  width: 100px;
  height: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid #c54;
  border-radius: 6px;
}

#upgrades-modal-list .upgrade-img {
  max-width: 80px;
  max-height: 80px;
  object-fit: contain;
}

#upgrades-modal-list .info {
  flex: 1;
  line-height: 1.2;
}

#upgrades-modal-list .upgrade-title { font-weight: 700; }
#upgrades-modal-list .upgrade-desc   { font-size: 12px; }
#upgrades-modal-list .upgrade-meta   { font-size: 11px; opacity: 0.85; }

#upgrades-modal-list .buy { flex: 0 0 auto; }

#upgrades-modal-list .upgrade-buy {
  padding: 8px 12px;
  font-size: 12px;
  border-radius: 10px;
  border: 2px solid #000;
  cursor: pointer;
  background: #e1c896; /* default (disabled/unaffordable) */
}
#upgrades-modal-list .upgrade-buy.affordable { background: #ffd166; }
#upgrades-modal-list .upgrade-buy.owned { background: #bbb; cursor: default; }
#upgrades-modal-list .upgrade-buy:disabled { opacity: 0.6; cursor: default; }


/* Upgrades modal button states */
#upgrades-modal-list .upgrade-buy { background: #e1c896; }
#upgrades-modal-list .upgrade-buy.affordable { background: #ffd166; }
#upgrades-modal-list .upgrade-buy.blocked { background: #e1c896; }
#upgrades-modal-list .upgrade-buy.owned { background: #bbb; cursor: default; }
#upgrades-modal-list .upgrade-buy:disabled { opacity: 0.7; cursor: default; }

#upgrades-modal-list .upgrade-reason {
  font-size: 11px;
  color: #7a1d1d; /* warning-ish */
  margin-top: 2px;
}

/* Upgrades Modal: fixed height + scroll */
#upgrades-modal .modal-dialog{
  max-height: 80vh;
  display: flex;
  flex-direction: column;
}

#upgrades-modal .modal-body{
  flex: 1 1 auto;
  padding: 0.5rem 0.75rem;
  overflow: hidden; /* container controls overflow; list scrolls */
}

/* Shows ~3–4 items without jumping; scroll for more */
#upgrades-modal-list{
  min-height: 56vh;   /* about 3 items */
  max-height: 56vh;    /* leaves header/close button visible */
  overflow-y: auto;
  overscroll-behavior: contain;
  scroll-behavior: smooth;
  padding-right: 6px;  /* breathing room next to scrollbar */
}

/* Optional: nicer scrollbar (webkit/blink) */
#upgrades-modal-list::-webkit-scrollbar{ width: 10px; }
#upgrades-modal-list::-webkit-scrollbar-thumb{
  background: rgba(0,0,0,0.25);
  border-radius: 8px;
}
#upgrades-modal-list::-webkit-scrollbar-track{ background: transparent; }




/* =========================================================
   AURORA BRIGHT — THEME OVERLAY (layout-safe)
   Add at the END of main.css. No sizing/flex changes.
========================================================= */

/* Tokens (colors only) */
:root{
  --vg-bg:              radial-gradient(1200px 800px at 18% 0%, #ffffff 0%, #f8fbff 58%, #f4f8fd 100%);
  --vg-text:            #0f172a;
  --vg-muted:           #475569;
  --vg-heading:         #0b1220;

  --vg-panel:           rgba(255,255,255,0.96);
  --vg-panel-strong:    rgba(255,255,255,0.985);
  --vg-border:          #cfd9e6;
  --vg-border-strong:   #9fb0c9;

  --vg-accent:          #2563eb;  /* blue */
  --vg-accent-2:        #0ea5e9;  /* sky */
  --vg-warn:            #b45309;

  --vg-bar-bg:          #e6edf6;
  --vg-bar-fill:        linear-gradient(90deg, #60a5fa 0%, #34d399 100%);

  --vg-gold:            linear-gradient(180deg, #ffe59a 0%, #ffd166 48%, #f7b733 100%);
  --vg-gold-hover:      linear-gradient(180deg, #fff0ba 0%, #ffdb85 48%, #ffbf4d 100%);
  --vg-gold-active:     linear-gradient(180deg, #ffd980 0%, #ffc155 50%, #f1a628 100%);
  --vg-gold-text:       #3b2a00;
  --vg-gold-border:     #7a4a00;
  --vg-gold-focus-o:    rgba(255, 209, 102, 0.65);
  --vg-gold-focus-i:    rgba(59, 42, 0, 0.85);
}

/* Page base (colors only) */
body{
  background: var(--vg-bg);
  color: var(--vg-text);
}
h1,h2,h3{ color: var(--vg-heading); }
a{ color: var(--vg-accent); }
a:hover{ color: var(--vg-accent-2); }

/* Sidebar / columns — tint only; keep existing sizes */
.sidebar,
.left-main-column,
.right-main-column{
  background: linear-gradient(180deg, rgba(255,255,255,0.98), rgba(255,255,255,0.92));
  border-color: var(--vg-border);
  box-shadow: 0 10px 28px rgba(15,23,42,0.10), inset 0 0 0 1px rgba(255,255,255,0.75);
}

/* Sidebar cards */
.sidebar-item-container{
  background: linear-gradient(180deg, rgba(255,255,255,0.99), rgba(248,250,252,0.94));
  border-color: #bcc8da;
  box-shadow: 0 4px 14px rgba(15,23,42,0.10);
}
.sidebar-item-heading{
  background: linear-gradient(180deg, rgba(37,99,235,0.16), rgba(14,165,233,0.08));
  border-bottom-color: var(--vg-border-strong);
}
.sidebar-item-heading h3{
  color: #1e3a8a; /* blue-800 */
  text-shadow: 0 1px 0 rgba(255,255,255,0.6);
}
.sidebar-image-container{
  background: linear-gradient(180deg, rgba(15,23,42,0.06), rgba(15,23,42,0.03));
  border-color: #b7c4d8;
}
.inventory-table-item td{
  background: rgba(255,255,255,0.78);
  border-color: #d7e0ec;
  color: var(--vg-text);
}

/* Machines (decorative only; no size changes) */
.machine-container{ border-color: var(--vg-border-strong); }
.machine-image-container{
  background: rgba(15,23,42,0.04);
  border-color: var(--vg-border-strong);
}
.owned-counter{ color: var(--vg-accent); }

/* Machine headings = same blue cap as sidebar */
.machine-automator-heading{
  background: linear-gradient(180deg, rgba(37,99,235,0.16), rgba(14,165,233,0.08));
  color: var(--vg-accent);
  border-bottom-color: var(--vg-border-strong);
}

/* Progress bars (colors only) */
.machine-automator-progressbar{ background: var(--vg-bar-bg); border-color: var(--vg-border); }
#machine-bar-1,#machine-bar-2,#machine-bar-3,#machine-bar-4,
#machine-bar-5,#machine-bar-6,#machine-bar-7,#machine-bar-8{
  background: var(--vg-bar-fill);
}

/* BUY bar — gold; DO NOT change dimensions */
.buy-bar{
  background: var(--vg-gold);
  color: var(--vg-gold-text);
  border-color: var(--vg-gold-border);
  box-shadow: 0 2px 0 rgba(123,82,0,0.35), 0 8px 18px rgba(123,82,0,0.18);
}
.buy-bar:hover{ background: var(--vg-gold-hover); }
.buy-bar:active{ background: var(--vg-gold-active); }
.buy-bar:focus-visible{
  outline: none;
  box-shadow: 0 0 0 3px var(--vg-gold-focus-i), 0 0 0 6px var(--vg-gold-focus-o);
}
/* If you want disabled to stay gold but dim: */
.buy-bar.is-disabled{
  filter: grayscale(.45) saturate(.9) brightness(.92);
  opacity: .85;
}

/* MODAL — solid panels, readable */
.modal-overlay{
  background: rgba(15, 23, 42, 0.55);
  backdrop-filter: blur(2px);
}
.modal-dialog{
  background: #fff;
  border-color: var(--vg-border-strong);
  box-shadow: 0 24px 60px rgba(15,23,42,0.18);
}
.modal-header{
  background: linear-gradient(180deg, rgba(37,99,235,0.12), rgba(37,99,235,0.05));
  border-bottom-color: var(--vg-border-strong);
}
.modal-body,.modal-footer{ background: #fff; color: var(--vg-text); }

/* Upgrades list: fixed height + scroll (no size changes beyond overflow) */
#upgrades-modal-list{
  min-height: 56vh; max-height: 56vh; overflow-y: auto;
  overscroll-behavior: contain; scroll-behavior: smooth; padding-right: 6px;
}
#upgrades-modal-list .upgrade-row{
  border-color: var(--vg-border-strong);
  background: linear-gradient(180deg, rgba(255,255,255,0.95), rgba(248,250,252,0.86));
}
#upgrades-modal-list .imgbox{
  background: rgba(15,23,42,0.05);
  border-color: var(--vg-border-strong);
}
#upgrades-modal-list .upgrade-title{ color: var(--vg-accent); }
#upgrades-modal-list .upgrade-desc { color: var(--vg-text); }
#upgrades-modal-list .upgrade-meta { color: var(--vg-muted); }

/* Upgrades buy button states */
#upgrades-modal-list .upgrade-buy{
  border-color: #0f172a;
  color: #0b1a2b;
  background: linear-gradient(180deg, #e2e8f0 0%, #cbd5e1 55%, #b6c1ce 100%);
}
#upgrades-modal-list .upgrade-buy.affordable{
  background: var(--vg-gold);
  color: var(--vg-gold-text);
  border-color: var(--vg-gold-border);
  box-shadow: 0 2px 0 rgba(123,82,0,0.35), 0 8px 18px rgba(123,82,0,0.18);
}
#upgrades-modal-list .upgrade-buy.owned{
  background: #cbd5e1;
  color: #0f172a;
}
#upgrades-modal-list .upgrade-reason{ color: var(--vg-warn); }




/* ==============================================
   MACHINE IMAGE HOVER: lift + shimmer + glow
   (no layout changes; GPU-accelerated transforms)
================================================= */

.machine-image-container {
  position: relative;            /* for the shimmer overlay */
  overflow: hidden;              /* keep effects inside the ring */
  backface-visibility: hidden;
  transform: translateZ(0);      /* create a new stacking context */
  transition: box-shadow .25s ease, border-color .25s ease;
}

/* image itself */
.machine-image-container img {
  display: block;
  transform-origin: 50% 60%;
  transition: transform .25s ease, filter .25s ease;
  will-change: transform;
}

/* subtle inner glow on hover */
.machine-image-container::before {
  content: "";
  position: absolute; inset: 2px;
  border-radius: inherit;
  box-shadow: 0 0 0 0 rgba(96,165,250,0.0) inset;
  transition: box-shadow .25s ease;
  pointer-events: none;
}

/* diagonal shimmer sweep */
.machine-image-container::after {
  content: "";
  position: absolute; inset: -40%;
  background:
    linear-gradient(120deg,
      rgba(255,255,255,0.55) 0%,
      rgba(255,255,255,0.15) 22%,
      rgba(255,255,255,0.00) 40%);
  transform: translateX(-60%) rotate(12deg);
  opacity: 0;
  transition: opacity .25s ease, transform .8s ease;
  pointer-events: none;
}

/* Hover state (desktop pointers only) */
@media (hover: hover) and (pointer: fine) {
  .machine-image-container:hover img {
    transform: translateY(-2px) scale(1.06) rotate(-1deg);
    filter: saturate(1.06);
  }
  .machine-image-container:hover {
    box-shadow: 0 8px 24px rgba(37, 99, 235, 0.15);
    border-color: #9fb0c9; /* matches your theme border-strong */
  }
  .machine-image-container:hover::before {
    box-shadow: inset 0 0 24px 2px rgba(96,165,250,0.18);
  }
  .machine-image-container:hover::after {
    opacity: 1;
    transform: translateX(60%) rotate(12deg); /* sweep across */
  }
}

/* Press/click feedback */
.machine-image-container:active img {
  transform: translateY(0) scale(0.98);
}

/* Reduced motion accessibility */
@media (prefers-reduced-motion: reduce) {
  .machine-image-container,
  .machine-image-container img,
  .machine-image-container::after {
    transition: none !important;
    animation: none !important;
  }
}




