/* mame.lab
   Neutral charcoal + pale-blue data, in the spirit of a Task-Manager-style stats page.
   Big tabular numbers, hairline structure, one light-blue accent. */
:root {
  color-scheme: dark;
  --bg: #1a1b1e;
  --panel: #232428;
  --panel-2: #2b2c31;
  --line: rgba(255, 255, 255, 0.07);
  --line-2: rgba(255, 255, 255, 0.13);
  --text: #f2f2f3;
  --text-2: #b3b4b9;
  --text-3: #7d7e85;

  --accent: #60cdff;                       /* nav marker, primary button, focus */
  --data: #a6d2ff;                         /* chart line / meter fill */
  --data-fill: rgba(176, 216, 255, 0.72);  /* chart area: pale blue like a Task Manager graph */
  --data-fill-soft: rgba(150, 200, 255, 0.16);
  --grid: rgba(255, 255, 255, 0.08);
  --track: rgba(255, 255, 255, 0.08);
  --vram: #c7a6ff;                         /* GPU memory, like a second engine colour */
  --vram-fill: rgba(200, 175, 255, 0.5);

  --good: #6ccb8c;
  --warn: #f0b64a;
  --crit: #f26d6d;
  --idle: #6b6c72;

  --sans: "IBM Plex Sans JP", "Segoe UI Variable Text", "Segoe UI", "Hiragino Sans", "Noto Sans JP", system-ui, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, "SF Mono", Menlo, monospace;
  --sidebar: 232px;
  --r: 14px;
  --r-sm: 8px;
  --safe-b: env(safe-area-inset-bottom, 0px);
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font: 400 14px/1.6 var(--sans); letter-spacing: 0.01em;
  -webkit-font-smoothing: antialiased; -webkit-tap-highlight-color: transparent;
}
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }
[hidden] { display: none !important; }
.num { font-variant-numeric: tabular-nums; }
.mono { font-family: var(--mono); letter-spacing: 0; }
svg.i { width: 16px; height: 16px; flex: none; stroke: currentColor; fill: none; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }

/* ---------------------------------------------------------------- shell */
.sidebar {
  position: fixed; inset: 0 auto 0 0; width: var(--sidebar);
  display: flex; flex-direction: column; padding: 26px 16px 20px;
}
.brand { display: flex; align-items: center; gap: 10px; padding: 0 10px; font: 500 16px var(--mono); letter-spacing: 0.01em; }
.brand i { color: var(--accent); font-style: normal; }
.brand-mark { width: 22px; height: 22px; border-radius: 6px; flex: none; background: url("/icons/icon.svg") center / cover; }
.nav { display: flex; flex-direction: column; gap: 2px; margin-top: 34px; }
.nav a {
  position: relative; display: flex; align-items: center; gap: 12px; padding: 9px 12px;
  border-radius: var(--r-sm); color: var(--text-2); font-weight: 500;
}
.nav a[aria-current="page"] { background: var(--panel-2); color: var(--text); }
.nav a[aria-current="page"]::before { content: ""; position: absolute; left: 0; top: 11px; bottom: 11px; width: 3px; border-radius: 3px; background: var(--accent); }
.sidebar-foot { margin-top: auto; display: grid; gap: 12px; padding: 0 10px; }
.live { display: flex; align-items: center; gap: 8px; color: var(--text-3); font-size: 12px; white-space: nowrap; }
.live-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--good); flex: none; }
.live-dot.stale { background: var(--warn); }
.live-dot.down { background: var(--crit); }

.topbar, .tabbar { display: none; }
.main { margin-left: var(--sidebar); padding: 30px 44px 64px 20px; outline: none; }
.page { max-width: 1400px; margin: 0 auto; }

/* ---------------------------------------------------------------- headings */
.page-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 22px; flex-wrap: wrap; }
.page-head h1 { margin: 0; font-size: 28px; font-weight: 600; letter-spacing: 0.01em; line-height: 1.25; }
.page-head .crumb { color: var(--text-3); font-weight: 500; }
.page-head p { margin: 2px 0 0; color: var(--text-3); font-size: 12.5px; }
.head-tools { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.head-tools .ts { color: var(--text-3); font-size: 12.5px; }

.sec { display: flex; align-items: baseline; justify-content: space-between; margin: 40px 0 14px; }
.sec h2 { margin: 0; font-size: 15px; font-weight: 600; }
.sec a { color: var(--text-3); font-size: 12.5px; }
.sec a::after { content: " ›"; }

/* ---------------------------------------------------------------- hero (home) */
.hero { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; margin-bottom: 22px; }
.hero h1 { margin: 0; font-size: 34px; font-weight: 600; line-height: 1.2; display: flex; align-items: center; gap: 14px; }
.hero h1 .sq { width: 12px; height: 12px; border-radius: 3px; }
.hero .sub { margin-top: 6px; color: var(--text-3); font-size: 13px; }
.hero .alerts { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.alert { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: 6px; font-size: 12.5px; background: rgba(240, 182, 74, 0.12); color: #f5d49a; }
.alert.crit { background: rgba(242, 109, 109, 0.13); color: #f7b8b8; }
.clock { text-align: right; flex: none; }
.clock .t { font: 400 38px/1 var(--mono); letter-spacing: -0.02em; }
.clock .t .s { color: var(--text-3); font-size: 18px; margin-left: 2px; }
.clock .d { margin-top: 8px; color: var(--text-3); font-size: 12.5px; }

/* summary row */
.strip { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.strip > div { background: var(--panel); border: 1px solid var(--line); border-radius: var(--r); padding: 14px 18px; min-width: 0; }
.lbl { color: var(--text-3); font-size: 12px; font-weight: 500; }
.strip .v { margin-top: 4px; font-size: 20px; font-weight: 600; display: flex; align-items: center; gap: 10px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.strip .s { color: var(--text-3); font-size: 12px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

.sq { width: 8px; height: 8px; border-radius: 2px; background: var(--idle); flex: none; display: inline-block; }
.sq.good { background: var(--good); } .sq.warn { background: var(--warn); } .sq.crit { background: var(--crit); }
.st { display: inline-flex; align-items: center; gap: 7px; padding: 3px 10px 3px 9px; border-radius: 999px; background: rgba(255, 255, 255, 0.05); font-size: 12px; font-weight: 600; color: var(--text-2); white-space: nowrap; flex: none; }
.st::before { content: ""; width: 7px; height: 7px; border-radius: 2px; background: var(--idle); }
.st.good { color: #bfe8cc; background: rgba(108, 203, 140, 0.12); } .st.good::before { background: var(--good); }
.st.warn { color: #f5d49a; background: rgba(240, 182, 74, 0.12); } .st.warn::before { background: var(--warn); }
.st.crit { color: #f7b8b8; background: rgba(242, 109, 109, 0.13); } .st.crit::before { background: var(--crit); }
.st.busy::before { animation: blink 1s steps(2) infinite; }
@keyframes blink { 50% { opacity: 0.25; } }

/* ---------------------------------------------------------------- cards */
.grid2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; align-items: start; }
.card { background: var(--panel); border: 1px solid var(--line); border-radius: var(--r); padding: 20px 22px 22px; min-width: 0; }
.card.full { grid-column: 1 / -1; }
.c-head { display: flex; justify-content: space-between; align-items: center; gap: 14px; min-width: 0; }
.c-title { display: flex; align-items: center; gap: 9px; font-size: 12.5px; font-weight: 600; letter-spacing: 0.08em; color: var(--text-2); text-transform: uppercase; flex: none; }
.c-name { font-size: 16px; font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; text-align: right; min-width: 0; }
.c-head h3 { margin: 0; font-size: 17px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.c-sub { color: var(--text-3); font-size: 12.5px; margin-top: 2px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cap-row { display: flex; justify-content: space-between; gap: 10px; color: var(--text-3); font-size: 12px; margin: 16px 0 6px; }
.note { color: var(--text-3); font-size: 13px; margin-top: 12px; }

/* home: compact machine readings */
.reads { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-top: 16px; }
.read { background: var(--panel-2); border-radius: 10px; padding: 12px 14px 10px; min-width: 0; position: relative; overflow: hidden; }
.read .top { display: flex; justify-content: space-between; gap: 8px; font-size: 12px; color: var(--text-3); }
.read .val { font-size: 26px; font-weight: 600; line-height: 1.25; margin-top: 2px; white-space: nowrap; }
.read .val small { font-size: 13px; font-weight: 500; color: var(--text-3); margin-left: 3px; }
.read .val.na { font-size: 15px; font-weight: 500; color: var(--text-3); line-height: 2.2; }
.read .spark { display: block; width: 100%; height: 34px; margin-top: 6px; }
.meter { height: 4px; border-radius: 4px; background: var(--track); overflow: hidden; margin-top: 6px; }
.meter > i { display: block; height: 100%; border-radius: 4px; background: var(--data); transition: width .4s ease; }
.meter.warn > i { background: var(--warn); }
.meter.crit > i { background: var(--crit); }
.foot { display: flex; flex-wrap: wrap; gap: 4px 18px; margin-top: 14px; color: var(--text-3); font-size: 12.5px; }
.foot b { color: var(--text-2); font-weight: 500; }
.svcs { display: flex; flex-wrap: wrap; gap: 6px 20px; margin-top: 14px; padding-top: 12px; border-top: 1px solid var(--line); font-size: 13px; }
.svcs span { display: inline-flex; align-items: center; gap: 7px; }
.svcs em { font-style: normal; color: var(--text-3); font-size: 12px; }

/* ---------------------------------------------------------------- charts */
.spark .area, .plot .area { fill: var(--data-fill); }
.spark .line, .plot .line { fill: none; stroke: var(--data); stroke-width: 1.4; vector-effect: non-scaling-stroke; stroke-linejoin: round; }
.plot.vram .area { fill: var(--vram-fill); }
.plot.vram .line { stroke: var(--vram); }
.plot { position: relative; background: rgba(0, 0, 0, 0.12); border: 1px solid var(--line-2); touch-action: pan-y; }
.plot svg { display: block; width: 100%; height: 150px; }
.plot .grid { stroke: var(--grid); stroke-width: 1; vector-effect: non-scaling-stroke; }
.plot.short svg { height: 84px; }
.axis { display: flex; justify-content: space-between; color: var(--text-3); font-size: 11.5px; margin-top: 4px; }

/* per-core mini charts */
.cores { display: grid; grid-template-columns: repeat(var(--cols, 4), minmax(0, 1fr)); gap: 6px; }
.core { position: relative; border: 1px solid var(--line-2); background: rgba(0, 0, 0, 0.12); }
.core svg { display: block; width: 100%; height: 50px; }
.core .grid { stroke: var(--grid); stroke-width: 1; vector-effect: non-scaling-stroke; }
.core .area { fill: var(--data-fill); }
.core .line { fill: none; stroke: var(--data); stroke-width: 1; vector-effect: non-scaling-stroke; }
.core b, .core span { position: absolute; top: 2px; font-size: 10px; line-height: 1.2; font-weight: 500; }
.core b { left: 4px; color: var(--text-3); }
.core span { right: 4px; color: var(--text); font-weight: 600; }

/* stat block: small label over value, like Task Manager */
.tm { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 20px 32px; margin-top: 18px; }
.stats { display: grid; grid-template-columns: repeat(3, auto); justify-content: start; gap: 12px 26px; align-content: start; }
.stats.two { grid-template-columns: repeat(2, auto); }
.stat .l { color: var(--text-3); font-size: 12px; }
.stat .v { font-size: 19px; font-weight: 600; line-height: 1.3; white-space: nowrap; }
.stat .v small { font-size: 12px; color: var(--text-3); font-weight: 500; margin-left: 3px; }
.stat .v.na { color: var(--text-3); font-weight: 500; }
.spec { display: grid; grid-template-columns: max-content minmax(0, 1fr); gap: 5px 18px; margin: 0; font-size: 13px; align-content: start; }
.spec dt { color: var(--text-3); }
.spec dd { margin: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* memory composition bar */
.compo { display: flex; height: 26px; border: 1px solid var(--line-2); background: rgba(0, 0, 0, 0.12); overflow: hidden; }
.compo i { display: block; height: 100%; }
.compo .used { background: var(--data-fill); border-right: 1px solid var(--data); }
.compo .cache { background: repeating-linear-gradient(135deg, var(--data-fill-soft) 0 4px, transparent 4px 8px); border-right: 1px solid rgba(166, 210, 255, 0.4); }

/* engine charts (GPU) */
.engines { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 12px; }
.engines .cap-row { margin: 0 0 4px; }

/* disks */
.drives { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 22px; margin-top: 16px; }
.drive { display: grid; grid-template-columns: 34px minmax(0, 1fr); gap: 0 12px; align-items: center; }
.drive svg { width: 34px; height: 26px; }
.drive .n { font-size: 13.5px; font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.drive .n small { color: var(--text-3); margin-left: 6px; font-weight: 400; }
.drive .meter { margin: 4px 0 3px; height: 8px; border-radius: 0; }
.drive .meter > i { border-radius: 0; background: #3a9cf0; }
.drive .meter.crit > i { background: #d33b3b; }
.drive .meter.warn > i { background: var(--warn); }
.drive .f { color: var(--text-3); font-size: 11.5px; }
.drive .f.crit { color: #f08a8a; }

/* long-range history */
.hist { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin-top: 14px; }
.hist .plot svg { height: 90px; }

/* device switcher / segmented */
.seg { display: inline-flex; padding: 3px; border-radius: 9px; background: var(--panel); border: 1px solid var(--line-2); }
.seg button { border: 0; background: transparent; color: var(--text-2); padding: 5px 13px; border-radius: 6px; font-size: 13px; font-weight: 500; cursor: pointer; min-height: 30px; white-space: nowrap; }
.seg button[aria-pressed="true"] { background: var(--panel-2); color: var(--text); box-shadow: 0 0 0 1px var(--line-2); }

/* chart hover */
.tip { position: absolute; top: 6px; transform: translateX(-50%); pointer-events: none; background: #111214; border: 1px solid var(--line-2); border-radius: 6px; padding: 2px 8px; font-size: 12px; white-space: nowrap; z-index: 2; }
.tip small { color: var(--text-3); margin-left: 6px; }
.tline { position: absolute; top: 0; bottom: 0; width: 1px; background: rgba(255, 255, 255, 0.35); pointer-events: none; }

/* ---------------------------------------------------------------- games */
.players { display: flex; align-items: baseline; gap: 10px; margin-top: 16px; }
.players .big { font-size: 48px; font-weight: 600; line-height: 1; letter-spacing: -0.01em; }
.players .big small { font-size: 22px; color: var(--text-3); font-weight: 500; }
.players .u { color: var(--text-3); font-size: 13px; }
.names { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; min-height: 30px; align-items: center; }
.tag { display: inline-flex; align-items: center; gap: 7px; padding: 4px 11px 4px 5px; border-radius: 999px; background: var(--panel-2); font-size: 13px; font-weight: 500; max-width: 100%; }
.tag span:last-child { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tag .av { width: 20px; height: 20px; border-radius: 50%; display: grid; place-items: center; font-size: 11px; font-weight: 700; color: #10233a; background: var(--data); flex: none; }
.names .none { color: var(--text-3); font-size: 13px; }
.gstats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--line); }

.controls { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 7px;
  min-height: 38px; padding: 0 16px; border-radius: var(--r-sm);
  border: 1px solid var(--line-2); background: var(--panel-2); color: var(--text);
  font-size: 13.5px; font-weight: 500; cursor: pointer; touch-action: manipulation;
}
.btn:disabled { opacity: 0.35; cursor: default; }
.btn.primary { background: var(--accent); border-color: transparent; color: #04263a; font-weight: 600; }
.btn.danger { background: rgba(242, 109, 109, 0.12); border-color: rgba(242, 109, 109, 0.35); color: #f7b8b8; }
.btn.small { min-height: 30px; padding: 0 12px; font-size: 12.5px; }
.connect { display: flex; align-items: center; gap: 10px; margin-top: 14px; font-size: 13px; color: var(--text-3); min-width: 0; white-space: nowrap; }
.connect .btn { flex: none; }
.connect code { font: 400 12.5px var(--mono); color: var(--text); background: var(--panel-2); padding: 4px 8px; border-radius: 6px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
.link { border: 0; background: none; padding: 0; color: var(--accent); font: inherit; cursor: pointer; }

.kv { display: grid; grid-template-columns: max-content minmax(0, 1fr); gap: 8px 24px; margin: 14px 0 0; font-size: 13.5px; }
.kv dt { color: var(--text-3); }
.kv dd { margin: 0; overflow-wrap: anywhere; }
.log-row { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 14px; align-items: center; padding: 11px 0; border-top: 1px solid var(--line); font-size: 13px; }
.log-row:first-child { border-top: 0; }
.log-row .when { color: var(--text-3); white-space: nowrap; }
.log-row .what { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* ---------------------------------------------------------------- modal / toast / banner */
.modal { border: 1px solid var(--line-2); border-radius: 14px; background: var(--panel); color: var(--text); padding: 0; width: min(420px, calc(100vw - 32px)); }
.modal::backdrop { background: rgba(0, 0, 0, 0.6); }
.modal-body { padding: 24px; }
.modal h2 { margin: 0 0 10px; font-size: 18px; font-weight: 600; }
.modal p { margin: 6px 0; color: var(--text-2); font-size: 13.5px; }
.modal-actions { display: flex; justify-content: flex-end; gap: 8px; margin-top: 22px; }
.input { width: 100%; margin-top: 14px; padding: 11px 14px; border-radius: var(--r-sm); border: 1px solid var(--line-2); background: var(--bg); color: var(--text); font: 16px var(--sans); }
.input:focus { outline: 2px solid var(--accent); outline-offset: 1px; }
.login-err { color: #f7b8b8 !important; }
.toast { position: fixed; left: 50%; bottom: calc(26px + var(--safe-b)); transform: translateX(-50%); z-index: 20; background: #111214; border: 1px solid var(--line-2); border-radius: 10px; padding: 10px 16px; font-size: 13.5px; max-width: calc(100vw - 32px); }
.banner { max-width: 1400px; margin: 0 auto 16px; padding: 10px 14px; border-radius: var(--r-sm); background: rgba(242, 109, 109, 0.12); color: #f7b8b8; font-size: 13.5px; }
.stale-data .card, .stale-data .strip > div { opacity: 0.55; transition: opacity .3s; }

@media (hover: hover) {
  .nav a:hover { background: var(--panel-2); color: var(--text); }
  .btn:not(:disabled):hover { border-color: rgba(255, 255, 255, 0.25); }
  .sec a:hover { color: var(--text); }
}

/* ---------------------------------------------------------------- responsive */
@media (max-width: 1280px) {
  .tm { grid-template-columns: minmax(0, 1fr); }
  .hist { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 1100px) {
  .grid2 { grid-template-columns: minmax(0, 1fr); }
  .strip { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 820px) {
  body { font-size: 14.5px; }
  .sidebar { display: none; }
  .topbar {
    display: flex; align-items: center; justify-content: space-between; gap: 12px;
    position: sticky; top: 0; z-index: 10;
    padding: calc(10px + env(safe-area-inset-top, 0px)) 16px 10px;
    background: rgba(26, 27, 30, 0.9); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--line);
  }
  .topbar .brand { padding: 0; }
  .topbar-right { display: flex; align-items: center; gap: 10px; }
  .topbar .login-btn { flex: none; }
  .main { margin-left: 0; padding: 18px 16px calc(88px + var(--safe-b)); }
  .tabbar {
    display: grid; grid-template-columns: repeat(4, 1fr);
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 10;
    padding: 5px 8px calc(5px + var(--safe-b));
    background: rgba(26, 27, 30, 0.94); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
    border-top: 1px solid var(--line);
  }
  .tabbar a { display: flex; flex-direction: column; align-items: center; gap: 3px; padding: 7px 0 6px; min-height: 50px; color: var(--text-3); font-size: 11px; font-weight: 500; border-radius: 10px; }
  .tabbar a svg.i { width: 22px; height: 22px; }
  .tabbar a[aria-current="page"] { color: var(--text); }
  .tabbar a[aria-current="page"] svg.i { color: var(--accent); }

  .hero { flex-direction: column-reverse; align-items: flex-start; gap: 10px; margin-bottom: 16px; }
  .hero h1 { font-size: 26px; gap: 11px; }
  .hero h1 .sq { width: 10px; height: 10px; }
  .clock { text-align: left; display: flex; align-items: baseline; gap: 10px; }
  .clock .t { font-size: 20px; }
  .clock .t .s { font-size: 12px; }
  .clock .d { margin: 0; }
  .strip { gap: 10px; }
  .strip > div { padding: 12px 14px; }
  .strip .v { font-size: 17px; }
  .page-head { margin-bottom: 16px; }
  .page-head h1 { font-size: 22px; }
  .head-tools { width: 100%; justify-content: space-between; }
  .card { padding: 16px; }
  .read .val { font-size: 22px; }
  .players .big { font-size: 42px; }
  .gstats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .controls .btn { flex: 1 1 0; min-height: 46px; padding: 0 8px; }
  .stats, .stats.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stat .v { white-space: normal; overflow-wrap: anywhere; }
  .plot svg { height: 120px; }
  .drives { grid-template-columns: minmax(0, 1fr); }
  .hist { grid-template-columns: minmax(0, 1fr); }
  .engines { gap: 10px; }
  .core svg { height: 42px; }
  .cores { grid-template-columns: repeat(min(var(--cols, 4), 4), minmax(0, 1fr)); }
  .toast { bottom: calc(84px + var(--safe-b)); }
}
@media (max-width: 380px) {
  .read .val { font-size: 20px; }
  .strip .v { font-size: 15px; }
  .engines { grid-template-columns: minmax(0, 1fr); }
}
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
}
