/* Hardware pictures (HwArt.php), charts (HwChart.php) and the deep-analysis layout of /cpu, /cpu/<model>, /gpu and
   /gpu/<model> (SiteHardware.php). Builds on the tokens of style.css.
   Motion: only transform and opacity, on HTML layers above the static SVG (composited, no repaint of the picture);
   paused until hwart.js marks a picture on screen (.on), none with prefers-reduced-motion. */

/* ================================================================ pictures */
.hw { position: relative; width: 100%; isolation: isolate; }
.hw > svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.hw-fx { position: absolute; inset: 0; pointer-events: none; }
.hw-fx > i { position: absolute; display: block; }
.hw-defs { position: absolute; width: 0; height: 0; overflow: hidden; }

/* in-picture text: user units, they scale with the picture */
.hw text { font-family: var(--mono); }
.hw .hw-lab { font-size: 15px; font-weight: 600; fill: rgba(240, 240, 247, .86); letter-spacing: .02em; }
.hw .hw-lab.sm { font-size: 12.5px; }
.hw .hw-lab.io { font-size: 13px; fill: rgba(205, 220, 255, .82); }
.hw .hw-sub { font-size: 11.5px; fill: rgba(205, 208, 226, .72); }
.hw .hw-tag { font-size: 11px; font-weight: 600; fill: rgba(205, 208, 226, .6); letter-spacing: .08em; text-transform: uppercase; }
.hw .hw-sticker { font-size: 12.5px; font-weight: 700; fill: #15151f; }
.hw .hw-engr { font-size: 11px; font-weight: 600; fill: rgba(255, 255, 255, .26); letter-spacing: .18em; }

/* the motion layers: paused by default, running while the picture is on screen */
.hw-fx > i, .hw-fx > i > b { animation-play-state: paused; }
.hw.on .hw-fx > i, .hw.on .hw-fx > i > b { animation-play-state: running; }

/* a soft light that breathes */
.hw-glow { border-radius: 50%; background: radial-gradient(closest-side, var(--c), transparent); opacity: .45;
  animation: hw-breathe var(--t, 7s) ease-in-out var(--dl, 0s) infinite alternate; }
@keyframes hw-breathe { from { opacity: .3; transform: scale(.94); } to { opacity: .95; transform: scale(1.05); } }

/* a light pulse along a trace: the wrapper is the trace (rotated), the comet glides through it and rests */
.hw-run { height: 6px; margin-top: -3px; transform-origin: 0 50%; overflow: hidden; border-radius: 3px; }
.hw-run > b { position: absolute; inset: 0; display: block;
  background: linear-gradient(90deg, transparent 0 58%, color-mix(in srgb, var(--c) 35%, transparent) 80%, var(--c) 95%, #fff 97%, transparent 99%);
  transform: translateX(-100%); opacity: 0; animation: hw-run var(--t, 6s) cubic-bezier(.45, 0, .55, 1) var(--dl, 0s) infinite; }
@keyframes hw-run {
  0% { transform: translateX(-100%); opacity: 0; }
  6% { opacity: 1; }
  44% { opacity: 1; }
  52% { transform: translateX(105%); opacity: 0; }
  100% { transform: translateX(105%); opacity: 0; }
}

/* a slow band of light over a surface */
.hw-sweep { overflow: hidden; }
.hw-sweep > b { position: absolute; top: 0; bottom: 0; left: 0; width: 36%; display: block;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .055) 45%, rgba(255, 236, 200, .085) 50%, rgba(255, 255, 255, .055) 55%, transparent);
  transform: translateX(-100%); animation: hw-sweep var(--t, 12s) ease-in-out var(--dl, 0s) infinite; }
@keyframes hw-sweep { 0% { transform: translateX(-100%); } 55%, 100% { transform: translateX(290%); } }

/* activity: chips and tokens light up now and then */
.hw-blink { background: var(--c); opacity: 0; animation: hw-blink var(--t, 4s) ease-in-out var(--dl, 0s) infinite; }
@keyframes hw-blink { 0%, 100% { opacity: 0; } 18% { opacity: 1; } 42% { opacity: 0; } }

/* fans */
.hw-fan { border-radius: 50%; animation: hw-spin var(--t, 16s) linear var(--dl, 0s) infinite; }
.hw-fan svg { display: block; width: 100%; height: 100%; }
.hw-fan .hw-blades { fill: #2a2a3e; stroke: rgba(255, 255, 255, .16); stroke-width: .8; }
.hw-fan .hw-hub { fill: #17171f; stroke: rgba(255, 255, 255, .22); }
.hw-fan .hw-hub2 { fill: rgba(255, 179, 71, .55); }
@keyframes hw-spin { to { transform: rotate(360deg); } }

@media (prefers-reduced-motion: reduce) {
  .hw-fx > i, .hw-fx > i > b { animation: none !important; }
  .hw-run, .hw-sweep, .hw-blink { display: none !important; }
}
@media print { .hw-run, .hw-sweep, .hw-blink { display: none; } }

/* list glyphs */
.hw-name { display: inline-flex; align-items: center; gap: 10px; min-width: 0; }
.hw-name > span { min-width: 0; }
.hw-glyph { flex: none; width: 26px; height: 26px; color: #c9cbe0; }
.hw-cores { display: block; color: var(--muted); font: 500 12px var(--sans); margin-top: 1px; white-space: nowrap; }

/* ================================================================ charts */
.hc { display: block; width: 100%; height: auto; overflow: visible; }
.hc text { font-family: var(--mono); }
.hc .hc-grid { stroke: rgba(255, 255, 255, .07); stroke-width: 1; fill: none; }
.hc .hc-axis { stroke: rgba(255, 255, 255, .22); stroke-width: 1; fill: none; }
.hc .hc-ref { stroke: rgba(255, 255, 255, .3); stroke-width: 1; fill: none; }
.hc .hc-tk { font-size: 12px; fill: var(--muted); }
.hc .hc-al { font: 500 12px var(--sans); fill: var(--muted); }
.hc .hc-bl { font: 600 11.5px var(--mono); fill: rgba(205, 208, 226, .7); letter-spacing: .04em; }
.hc .hc-end { font-size: 12.5px; font-weight: 600; fill: var(--text-2); }
.hc .hc-band.b-l1 { fill: rgba(255, 179, 71, .075); }
.hc .hc-band.b-l2 { fill: rgba(255, 107, 157, .065); }
.hc .hc-band.b-l3 { fill: rgba(197, 108, 240, .075); }
.hc .hc-band.b-ram { fill: rgba(122, 162, 255, .06); }
.hc .hc-band.b-smt { fill: rgba(255, 255, 255, .035); }
.hc .s-a { --sc: #ffb347; } .hc .s-b { --sc: #7aa2ff; } .hc .s-c { --sc: #ff6b9d; } .hc .s-d { --sc: #c56cf0; } .hc .s-ideal { --sc: rgba(255, 255, 255, .34); }
.hc path.hc-line { fill: none; stroke: var(--sc); stroke-width: 2; stroke-linejoin: round; stroke-linecap: round; }
.hc path.hc-area { fill: var(--sc); stroke: none; opacity: .1; }
.hc path.hc-line.s-ideal { stroke-width: 1.4; stroke-dasharray: 5 6; }
.hc .hc-pt circle { fill: var(--sc); }
.hc .hc-pt circle { stroke: #10101c; stroke-width: 2; }
.hc .hc-pt .hc-hit { fill: transparent; stroke: none; cursor: help; }
.hc .hc-pt:hover circle:first-child { stroke: #fff; }
.hc-heat { max-width: 440px; margin: 0 auto; }
.hm rect { fill: #ffb347; }
.hm .hm0 { fill-opacity: .95; } .hm .hm1 { fill-opacity: .78; } .hm .hm2 { fill-opacity: .62; } .hm .hm3 { fill-opacity: .48; } .hm .hm4 { fill-opacity: .36; }
.hm .hm5 { fill-opacity: .26; } .hm .hm6 { fill-opacity: .18; } .hm .hm7 { fill-opacity: .12; } .hm .hm8 { fill-opacity: .07; }
@media (max-width: 600px) {
  .hc .hc-tk, .hc .hc-al { font-size: 19px; }
  .hc .hc-end, .hc .hc-bl { font-size: 18px; }
  .hc-heat .hc-tk { font-size: 15px; }
}

/* horizontal bars with a reference mark (strength profile, GPU tests) */
.hb { display: grid; gap: 12px; }
.hb-row { display: grid; grid-template-columns: minmax(0, 150px) minmax(0, 1fr) auto; align-items: center; gap: 14px; }
.hb-k { font-size: 14px; color: var(--text-2); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.hb-t { position: relative; height: 12px; border-radius: 6px; background: rgba(255, 255, 255, .05); }
.hb-t i { position: absolute; left: 0; top: 0; bottom: 0; border-radius: 0 6px 6px 0; background: var(--bc, #ffb347); }
.hb.a { --bc: linear-gradient(90deg, rgba(255, 179, 71, .55), #ffb347); }
.hb.b { --bc: linear-gradient(90deg, rgba(122, 162, 255, .55), #7aa2ff); }
.hb.c { --bc: linear-gradient(90deg, rgba(255, 107, 157, .5), #ff6b9d); }
.hb-t s { position: absolute; top: -5px; bottom: -5px; width: 2px; margin-left: -1px; border-radius: 1px; background: #fff; box-shadow: 0 0 0 2px rgba(10, 10, 18, .85); }
.hb-v { font: 700 14.5px var(--mono); font-variant-numeric: tabular-nums; min-width: 4.5ch; text-align: right; }
.hb-v small { font: 500 11.5px var(--mono); color: var(--muted); margin-left: 3px; }
.hb.one .hb-row { grid-template-columns: minmax(0, 190px) minmax(0, 1fr) minmax(0, 150px); }
@media (max-width: 560px) {
  .hb-row, .hb.one .hb-row { grid-template-columns: minmax(0, 1fr) auto; gap: 6px 12px; }
  .hb-t { grid-column: 1 / -1; grid-row: 2; }
  .hb-v { text-align: right; }
}

/* columns, one per core */
.hcol { display: flex; align-items: flex-end; gap: 3px; height: 150px; padding: 0 2px; border-bottom: 1px solid rgba(255, 255, 255, .22); }
.hcol i { flex: 1 1 0; min-width: 2px; border-radius: 4px 4px 0 0; background: linear-gradient(180deg, #7aa2ff, rgba(122, 162, 255, .35)); }
.hcol i.fast { background: linear-gradient(180deg, #ffb347, rgba(255, 179, 71, .4)); }
.hcol i.slow { background: linear-gradient(180deg, #a8acc4, rgba(168, 172, 196, .3)); }

/* a share bar with its legend */
.hs-bar { display: flex; gap: 2px; height: 14px; border-radius: 7px; overflow: hidden; background: rgba(255, 255, 255, .04); }
.hs-bar i { min-width: 3px; }
.hs-leg { list-style: none; margin: 12px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px 18px; font-size: 13.5px; color: var(--text-2); }
.hs-leg li { display: inline-flex; align-items: center; gap: 7px; }
.hs-leg b { font: 600 12.5px var(--mono); color: var(--muted); }
.sw { flex: none; display: inline-block; width: 10px; height: 10px; border-radius: 3px; background: var(--muted); }
.c0 { background: #ffb347; } .c1 { background: #ff6b9d; } .c2 { background: #c56cf0; } .c3 { background: #7aa2ff; } .c4 { background: #7cffb2; } .cx { background: rgba(255, 255, 255, .18); }
.sw.s-a { background: #ffb347; } .sw.s-b { background: #7aa2ff; }
.sw.k-p { background: linear-gradient(135deg, #ffb347, #ff6b9d); } .sw.k-e { background: linear-gradient(135deg, #7aa2ff, #c56cf0); }
.sw.k-c { background: rgba(197, 108, 240, .55); } .sw.k-io { background: rgba(122, 162, 255, .4); }
.sw.v-amd { background: #ff6b9d; } .sw.v-intel { background: #7aa2ff; } .sw.v-apple { background: #e8e8f2; } .sw.v-other { background: #ffb347; }
.hsc-dot.v-amd { --dc: #ff6b9d; } .hsc-dot.v-intel { --dc: #7aa2ff; } .hsc-dot.v-apple { --dc: #e8e8f2; } .hsc-dot.v-other { --dc: #ffb347; }
.sw.r1 { background: #ffb347; } .sw.r2 { background: #ff6b9d; } .sw.r3 { background: #7aa2ff; }

/* the scatter of models: HTML dots over a light grid */
.hsc { position: relative; margin: 0; aspect-ratio: 1000 / 460; }
.hsc-grid { position: absolute; inset: 0; width: 100%; height: 100%; }
.hsc-grid .hc-grid { stroke: rgba(255, 255, 255, .07); fill: none; }
.hsc-grid .hc-axis { stroke: rgba(255, 255, 255, .22); fill: none; }
.hsc-tk { position: absolute; font: 12px var(--mono); color: var(--muted); white-space: nowrap; }
.hsc-tk.y { left: 0; width: 5.4%; text-align: right; transform: translateY(-50%); }
.hsc-tk.x { transform: translateX(-50%); }
.hsc-al { position: absolute; font: 500 12.5px var(--sans); color: var(--muted); }
.hsc-al.x { right: 2.4%; bottom: 0; }
.hsc-al.y { left: 6.6%; top: 0; }
.hsc-dots { position: absolute; inset: 0; }
/* each dot is a 24 px target (touch), the visible disc is its ::before, sized by the number of systems */
.hsc-dot { position: absolute; width: 24px; height: 24px; margin: -12px 0 0 -12px; border-radius: 50%; }
.hsc-dot::before { content: ''; position: absolute; left: 50%; top: 50%; width: var(--s); height: var(--s); margin: calc(var(--s) / -2) 0 0 calc(var(--s) / -2); border-radius: 50%;
  background: var(--dc); box-shadow: 0 0 0 2px rgba(10, 10, 18, .9); opacity: .78; transition: transform .2s, opacity .2s; }
.hsc-dot:hover, .hsc-dot:focus-visible { z-index: 2; outline: none; }
.hsc-dot:hover::before, .hsc-dot:focus-visible::before { opacity: 1; transform: scale(1.35); }
.hsc-dot:focus-visible::before { box-shadow: 0 0 0 2px #0a0a12, 0 0 0 4px var(--g2); }
.hsc-dot.top::before { opacity: 1; }
.hsc-dot.top::after { content: ''; position: absolute; left: 50%; top: 50%; width: calc(var(--s) + 12px); height: calc(var(--s) + 12px); margin: calc(var(--s) / -2 - 6px) 0 0 calc(var(--s) / -2 - 6px);
  border-radius: 50%; border: 1px solid var(--dc); opacity: 0; animation: hw-ring 6s ease-out var(--dl, 0s) infinite; animation-play-state: paused; }
.hsc.on .hsc-dot.top::after { animation-play-state: running; }
@keyframes hw-ring { 0% { opacity: .7; transform: scale(.6); } 60%, 100% { opacity: 0; transform: scale(1.8); } }
.hsc-lab { position: absolute; transform: translate(10px, -50%); font: 600 12.5px var(--sans); color: var(--text-2); white-space: nowrap; pointer-events: none;
  text-shadow: 0 0 6px #0a0a12, 0 0 2px #0a0a12; }
.hsc-lab.l { transform: translate(calc(-100% - 10px), -50%); }
/* a label never leaves the chart (the width estimate of HwChart is for wide screens): cut with an ellipsis */
.hsc-lab { max-width: calc(100% - var(--l, 0%) - 14px); overflow: hidden; text-overflow: ellipsis; }
.hsc-lab.l { max-width: calc(var(--l, 100%) - 14px); }
@media (max-width: 640px) {
  .hsc { aspect-ratio: 1 / 1; }
  .hsc-tk { font-size: 10.5px; }
  .hsc-tk.x.odd { display: none; }
  .hsc-tk.y { width: 7.5%; }
  .hsc-lab { font-size: 11px; }
  .hsc-lab.minor { display: none; }
  .hsc-al.y { left: 9%; }
}
@media (prefers-reduced-motion: reduce) { .hsc-dot.top::after { animation: none; } }

/* the FPS ladder of the fastest cards */
.hl { position: relative; display: grid; gap: 4px; padding-top: 22px; }
.hl-marks { position: absolute; inset: 0 0 0 calc(min(260px, 34%) + 16px); pointer-events: none; }
.hl-marks em { position: absolute; top: 0; bottom: 0; border-left: 1px dashed rgba(255, 255, 255, .2); font: 500 11px var(--mono); font-style: normal; color: var(--muted); padding-left: 5px; }
.hl-row { display: grid; grid-template-columns: min(260px, 34%) minmax(0, 1fr); gap: 16px; align-items: center; padding: 9px 0; text-decoration: none; color: var(--text);
  border-top: 1px solid rgba(255, 255, 255, .05); }
.hl-row:hover .hl-name { color: var(--g2); }
.hl-name { font-weight: 600; font-size: 14.5px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; transition: color .2s; }
.hl-bars { display: grid; gap: 3px; }
.hl-bar { position: relative; display: flex; align-items: center; height: 9px; }
.hl-bar i { display: block; height: 7px; border-radius: 0 4px 4px 0; }
.hl-bar.r1 i { background: #ffb347; } .hl-bar.r2 i { background: #ff6b9d; } .hl-bar.r3 i { background: #7aa2ff; }
.hl-bar b { margin-left: 8px; font: 600 11px var(--mono); color: var(--text-2); }
@media (max-width: 640px) {
  .hl-row { grid-template-columns: minmax(0, 1fr); gap: 6px; }
  .hl-marks { display: none; }
}

/* ================================================================ page layout */
.hwp-hero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .95fr); gap: clamp(28px, 4.5vw, 72px); align-items: center; margin: 4px 0 0; }
.hwp-hero.gpu { grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); }
.hwp-intro h1 { font-size: clamp(34px, 4.6vw, 56px); margin: 0 0 var(--s4); letter-spacing: -.03em; line-height: 1.08; text-wrap: balance; }
.hwp-intro .lead { margin: 0; }
.hwp-spec { list-style: none; margin: 26px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.hwp-spec li { display: flex; flex-direction: column; gap: 2px; padding: 10px 16px 11px; border-radius: 14px; background: rgba(255, 255, 255, .035); border: 1px solid var(--border); min-width: 0; }
.hwp-spec b { font: 700 19px/1.15 var(--mono); font-variant-numeric: tabular-nums; }
.hwp-spec span { font-size: 12.5px; color: var(--muted); }
.hwp-intro .rec-badges, .hwp-intro .rec-badge { margin-top: 18px; }
.hwp-art { position: relative; margin: 0; }
.hwp-art::before { content: ''; position: absolute; inset: 8% 6%; border-radius: 50%; background: radial-gradient(closest-side, rgba(255, 140, 120, .16), rgba(122, 162, 255, .06) 60%, transparent); filter: blur(30px); z-index: -1; }
.hwp-art .hw { filter: drop-shadow(0 30px 50px rgba(0, 0, 0, .55)); }
.hwp-art figcaption { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 8px 18px; margin-top: 14px; font-size: 12.5px; color: var(--muted); text-align: center; }
.hwp-leg { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px 16px; font-size: 13px; color: var(--text-2); }
.hwp-leg li { display: inline-flex; align-items: center; gap: 7px; }
.hwp-art figcaption > span { flex-basis: 100%; }
@media (max-width: 900px) {
  .hwp-hero, .hwp-hero.gpu { grid-template-columns: minmax(0, 1fr); }
  .hwp-art { max-width: 560px; width: 100%; margin: 0 auto; }
}
.stats.six { grid-template-columns: repeat(6, minmax(0, 1fr)); margin-top: clamp(24px, 3vw, 40px); }

/* ================================================================ the cinema hero (SiteCine.php, tools/hero-render.mjs hw)
   Edge to edge and under the floating navigation, a wide frame clearly lower than the home page's hero: the
   category's loop behind the title. The box is sized here (no layout shift when the still or the video arrive);
   the still is the loop's first frame, the video (hwart.js) fades in over it once it plays. */
.cine {
  --cine-top: 70px; /* the navigation: 12 px margin + 58 px bar – the picture runs on underneath it */
  position: relative; isolation: isolate; display: flex; align-items: flex-end;
  width: 100vw; min-height: clamp(430px, 60vh, 640px); margin: calc(-1 * var(--cine-top)) calc(50% - 50vw) 0; padding-top: calc(var(--cine-top) + 24px);
  background: #05060a;
}
/* the page starts with the hero: no top padding above it (style.css .page main.prose), the picture begins at the window's top edge */
.page main.prose:has(> .cine:first-child) { padding-top: 0; }
.cine-media { position: absolute; inset: 0; z-index: -1; overflow: hidden; }
.cine-media picture { display: contents; }
.cine-media img, .cine-media video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 62% 50%; }
.cine-media video { opacity: 0; transition: opacity 1.4s cubic-bezier(.2, .7, .2, 1); }
.cine.live .cine-media video { opacity: 1; }
/* the scrim: dark behind the title on the left, open over the subject; darker under the navigation; the foot melts into the page */
.cine-media::after {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(to top, var(--bg) 0%, rgba(7, 7, 15, .78) 10%, rgba(7, 7, 15, 0) 36%),
    linear-gradient(to bottom, rgba(5, 6, 10, .72) 0%, rgba(5, 6, 10, 0) 24%),
    linear-gradient(90deg, rgba(5, 6, 10, .9) 0%, rgba(5, 6, 10, .74) 30%, rgba(5, 6, 10, .2) 56%, rgba(5, 6, 10, 0) 72%);
}
/* a hairline of light along the foot: the site's gradient, drifting slowly */
.cine::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; z-index: 1; opacity: .5; pointer-events: none;
  background: linear-gradient(90deg, transparent, #ffb347 20%, #ff6b9d 40%, #c56cf0 60%, #7aa2ff 80%, transparent) 0 0 / 200% 100%;
  animation: cine-edge 16s linear infinite;
}
@keyframes cine-edge { to { background-position: -200% 0; } }
.cine-body { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter) clamp(30px, 4.6vh, 56px); }
.cine-intro { max-width: min(640px, 52%); }
.cine-intro h1 { text-shadow: 0 2px 32px rgba(0, 0, 0, .5); }
.cine-intro .lead { color: #dcdeec; text-shadow: 0 1px 16px rgba(0, 0, 0, .55); }
.cine-intro .crumbs a { color: #b9bccf; }
.cine .hwp-spec { margin-top: 22px; }
.cine .hwp-spec li {
  background: rgba(14, 15, 26, .36); border-color: rgba(255, 255, 255, .14); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .08);
  backdrop-filter: blur(16px) saturate(150%); -webkit-backdrop-filter: blur(16px) saturate(150%);
}
.cine .hwp-spec span { color: #aeb2c6; }
/* the comparison pages keep their duel title (versus.css), inside the hero */
.cine.vp-hero { margin: calc(-1 * var(--cine-top)) calc(50% - 50vw) var(--s5); max-width: none; }
.cine.vp-hero h1 { font-size: clamp(30px, 4.2vw, 54px); margin-bottom: var(--s4); }
.cine.vp-hero .cine-intro { max-width: min(720px, 60%); }
/* the page's schematic picture, now right below the hero */
.cine-art { max-width: 600px; width: 100%; margin: clamp(22px, 3vw, 40px) auto 0; }
.cine-art.wide { max-width: 740px; }
.cine-art.gpu { max-width: 680px; }
@media (max-width: 1100px) {
  .cine-intro, .cine.vp-hero .cine-intro { max-width: min(600px, 66%); }
  .cine-media::after {
    background:
      linear-gradient(to top, var(--bg) 0%, rgba(7, 7, 15, .8) 12%, rgba(7, 7, 15, 0) 40%),
      linear-gradient(to bottom, rgba(5, 6, 10, .72) 0%, rgba(5, 6, 10, 0) 24%),
      linear-gradient(90deg, rgba(5, 6, 10, .92) 0%, rgba(5, 6, 10, .78) 40%, rgba(5, 6, 10, .25) 66%, rgba(5, 6, 10, 0) 82%);
  }
}
/* phones: the loop as a 4:3 frame under the navigation (its own crop around the subject), the title below it,
   sliding up into the frame's dark foot */
@media (max-width: 760px) {
  .cine { display: block; min-height: 0; padding-top: 0; background: none; }
  /* the frame fades out into the page itself (a mask, not a colour: no edge against the page's sky) */
  .cine-media { position: relative; inset: auto; aspect-ratio: 4 / 3; -webkit-mask-image: linear-gradient(#000 56%, transparent 98%); mask-image: linear-gradient(#000 56%, transparent 98%); }
  .cine-media img, .cine-media video { object-position: 50% 50%; }
  .cine-media::after { background: linear-gradient(to bottom, rgba(5, 6, 10, .6) 0%, rgba(5, 6, 10, 0) 28%); }
  .cine-body { position: relative; margin-top: -76px; padding-bottom: 6px; }
  .cine-intro, .cine.vp-hero .cine-intro { max-width: none; }
  .cine::after { display: none; }
  .cine.vp-hero { margin-bottom: var(--s4); }
}
@media (prefers-reduced-motion: reduce) {
  .cine::after { animation: none; }
  .cine-media video { display: none; }
}
.stats.six .stat { padding: 18px 18px; }
.stats.six .stat .v { font-size: clamp(21px, 2vw, 27px); white-space: nowrap; }
.stats.six .stat .v small { font-size: 13px; font-weight: 500; color: var(--muted); }
@media (max-width: 1100px) { .stats.six { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 560px) { .stats.six { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

.hwp-toc { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 6px 0 0; }
.hwp-toc span { font: 600 12px var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-right: 6px; }
.hwp-toc a { padding: 6px 13px; border-radius: 999px; border: 1px solid var(--border); font-size: 13.5px; color: var(--text-2); text-decoration: none; transition: border-color .2s, background .2s, color .2s; }
.hwp-toc a:hover { color: var(--text); border-color: var(--border-hi); background: rgba(255, 255, 255, .04); }

/* a chapter: the home page's eyebrow and heading, a calm panel below */
.hwp-sec { padding: clamp(40px, 5vw, 72px) 0 0; scroll-margin-top: 80px; content-visibility: auto; contain-intrinsic-size: auto 620px; }
.hwp-head { max-width: 760px; margin-bottom: clamp(20px, 2.4vw, 32px); }
.hwp-head .eyebrow { margin-bottom: 14px; }
.hwp-head h2 { font-size: clamp(27px, 3.2vw, 40px); line-height: 1.1; letter-spacing: -.025em; margin: 0 0 12px; text-wrap: balance; }
.hwp-head .lead { margin: 0; font-size: clamp(16px, 1.35vw, 18px); }
.prose .hwp-sec .card h3 { font-size: 15px; font-weight: 600; color: var(--text-2); margin: 0 0 14px; letter-spacing: 0; }
.hwp-panel { display: grid; grid-template-columns: minmax(0, 1fr) 240px; gap: clamp(20px, 3vw, 44px); align-items: start; padding: clamp(18px, 2.4vw, 30px); }
.hwp-panel.solo { grid-template-columns: minmax(0, 1fr); }
.hwp-chart { min-width: 0; }
.hwp-chart .hc + .hc { margin-top: 14px; }
.hwp-heat { display: flex; flex-direction: column; }
.hwp-figs { margin: 0; display: grid; gap: 4px; align-content: start; }
.hwp-figs > div { padding: 12px 0 14px; border-bottom: 1px solid rgba(255, 255, 255, .07); }
.hwp-figs > div:last-child { border-bottom: 0; }
.hwp-figs dt { font-size: 13px; color: var(--muted); display: flex; align-items: center; gap: 8px; }
.hwp-figs dd { margin: 3px 0 0; font: 700 25px/1.15 var(--mono); font-variant-numeric: tabular-nums; }
.hwp-figs dd small { font: 500 13px var(--mono); color: var(--muted); margin-left: 5px; }
.hwp-figs .a dt::before, .hwp-figs .b dt::before, .hwp-figs .c dt::before { content: ''; width: 14px; height: 2px; border-radius: 1px; background: #ffb347; }
.hwp-figs .b dt::before { background: #7aa2ff; }
.hwp-figs .c dt::before { background: #ff6b9d; }
.hwp-panel.solo .hwp-figs { grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 0 28px; }
.hwp-panel.solo .hwp-figs > div { border-bottom: 0; }
.hwp-note { margin: 12px 0 0; font-size: 13px; color: var(--muted); line-height: 1.55; }
.hwp-note a { color: var(--text-2); }
.hwp-tick { display: inline-block; width: 2px; height: 13px; margin-right: 8px; border-radius: 1px; background: #fff; vertical-align: -2px; }
.hwp-empty { display: flex; align-items: center; gap: 14px; margin: 0; padding: 20px 22px; border-radius: var(--radius); border: 1px dashed var(--border-hi); color: var(--text-2); font-size: 15px; line-height: 1.55; max-width: 820px; }
.hwp-empty span { flex: none; width: 36px; height: 36px; border-radius: 11px; display: grid; place-items: center; color: var(--muted); background: rgba(255, 255, 255, .04); }
.hwp-empty svg { width: 19px; height: 19px; }
.hwp-stack { display: grid; gap: var(--gap); }
.hwp-scale { display: flex; align-items: center; justify-content: center; gap: 10px; margin: 10px 0 0; font-size: 12.5px; color: var(--muted); }
.hwp-scale i { width: 140px; height: 8px; border-radius: 4px; background: linear-gradient(90deg, rgba(255, 179, 71, .95), rgba(255, 179, 71, .07)); }
.hwp-axis { display: flex; justify-content: space-between; margin: 6px 0 0; font: 12px var(--mono); color: var(--muted); }
.hwp-prof .card { padding: clamp(18px, 2.2vw, 26px); }
.prose .hwp-prof .card h3 { display: flex; align-items: center; gap: 9px; font-size: 16px; color: var(--text); }
.hwp-cfgs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 30px clamp(28px, 4vw, 56px); padding: clamp(20px, 2.6vw, 32px); }
.prose .hwp-cfgs .hwp-cfg h3 { margin-bottom: 12px; }
@media (max-width: 760px) { .hwp-cfgs { grid-template-columns: minmax(0, 1fr); } }
.hwp-gprof { padding: clamp(20px, 2.6vw, 32px); display: grid; gap: 16px; }
.hwp-tail { margin-top: clamp(16px, 2.4vw, 36px); padding-top: 0; }
@media (max-width: 900px) {
  .hwp-panel { grid-template-columns: minmax(0, 1fr); }
  .hwp-figs { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 20px; }
  .hwp-figs > div:nth-last-child(2):nth-child(odd) { border-bottom: 0; }
}
@media (max-width: 560px) {
  .hwp-panel, .hwp-cfgs, .hwp-gprof { padding: 16px 14px; }
  .hwp-figs dd { font-size: 21px; }
  .hwp-spec li { padding: 8px 12px 9px; }
  .hwp-spec b { font-size: 16.5px; }
}
.hwp-sec.tall { content-visibility: visible; }
@media print { .hwp-sec { content-visibility: visible; } }

/* the list pages' header visuals */
.hwp-scatter, .hwp-ladder { padding: clamp(20px, 2.6vw, 32px); }
.hwp-scatter-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 14px 28px; flex-wrap: wrap; margin-bottom: 18px; }
.hwp-scatter-head h2 { font-size: clamp(22px, 2.2vw, 28px); margin: 0 0 8px; }
.prose .hwp-scatter-head .sub-lead { max-width: 70ch; }
.vh { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

/* ================================================================ deep-analysis hubs (SiteDeep.php): /arbeitsspeicher, /ssd, /ssd/<model>, /ki, /gpu chapters */
.hc .s-e { --sc: #e8e8f2; } .hc .s-f { --sc: #7cffb2; }
.c5 { background: #e8e8f2; }
.sw.s-c { background: #ff6b9d; } .sw.s-d { background: #c56cf0; }
.k0 { --hc: #ffb347; } .k1 { --hc: #ff6b9d; } .k2 { --hc: #c56cf0; } .k3 { --hc: #7aa2ff; } .k4 { --hc: #7cffb2; } .k5 { --hc: #e8e8f2; }
.sw.t-ddr5 { background: #ffb347; } .sw.t-ddr4 { background: #7aa2ff; } .sw.t-lpddr5, .sw.t-lpddr5x { background: #ff6b9d; } .sw.t-lpddr4x, .sw.t-lpddr4 { background: #c56cf0; } .sw.t-x { background: #7cffb2; }
.hsc-dot.t-ddr5 { --dc: #ffb347; } .hsc-dot.t-ddr4 { --dc: #7aa2ff; } .hsc-dot.t-lpddr5, .hsc-dot.t-lpddr5x { --dc: #ff6b9d; } .hsc-dot.t-lpddr4x, .hsc-dot.t-lpddr4 { --dc: #c56cf0; } .hsc-dot.t-x { --dc: #7cffb2; }
.hb-row.dim .hb-t i { opacity: .38; filter: saturate(.2); }
.hb-row.dim .hb-k { color: var(--muted); }
.hb.wide .hb-row { grid-template-columns: minmax(0, 190px) minmax(0, 1fr) auto; }
@media (max-width: 560px) { .hb.wide .hb-row { grid-template-columns: minmax(0, 1fr) auto; } }

/* the hero: a kicker above the heading */
.dp-kick { display: inline-flex; align-items: center; gap: 10px; margin: 0 0 18px; font: 600 12px var(--sans); letter-spacing: .12em; text-transform: uppercase; color: var(--text-2); }
.dp-kick > span { flex: none; width: 8px; height: 8px; border-radius: 50%; background: #7cffb2; box-shadow: 0 0 0 4px rgba(124, 255, 178, .14); }
.dp-hero .hwp-art { max-width: 560px; justify-self: center; width: 100%; }
.hwp-hero.dp-hero.wide { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); }
.dp-hero.wide .hwp-art { max-width: 720px; }
@media (max-width: 900px) { .hwp-hero.dp-hero.wide { grid-template-columns: minmax(0, 1fr); } }
.dp-mix { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: var(--gap); align-items: stretch; }
.dp-mix.solo { grid-template-columns: minmax(0, 1fr); }
.dp-mods { margin: 0; padding: clamp(18px, 2.4vw, 28px); display: flex; flex-direction: column; justify-content: center; gap: 16px; }
.dp-mods figcaption { display: flex; flex-direction: column; gap: 4px; font-size: 13.5px; color: var(--muted); line-height: 1.5; }
.dp-mods figcaption b { color: var(--text); font-size: 15px; }
.dp-mix .hwp-cfgs { grid-template-columns: minmax(0, 1fr); gap: 22px; }
@media (min-width: 1240px) { .dp-mix .hwp-cfgs { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 900px) { .dp-mix { grid-template-columns: minmax(0, 1fr); } }

/* cards inside the chapters */
.dp-card { padding: clamp(18px, 2.4vw, 30px); min-width: 0; }
.dp-card .hwp-scatter-head { margin-bottom: 14px; }
.prose .hwp-sec .dp-card .hwp-scatter-head h3 { font-size: 17px; color: var(--text); margin: 0 0 6px; }
.dp-card .sub-lead { margin: 0; font-size: 14px; color: var(--muted); max-width: 70ch; }
.dp-card .table-wrap { border: 0; background: transparent; border-radius: 0; }
.dp-leg { margin: 0 0 8px; }
.dp-leg b { font: 600 12px var(--mono); color: var(--muted); margin-left: 2px; }
.prose .hwp-sec .card h3.dp-sub { margin-top: 26px; }
.dp-tests { display: grid; gap: var(--gap); }
.dp-tests.g2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.dp-test { padding: clamp(16px, 2vw, 24px); min-width: 0; }
.prose .hwp-sec .dp-test h3 { color: var(--text); font-size: 16px; }
.dp-test h3 small { font: 500 12px var(--mono); color: var(--muted); margin-left: 6px; }
.dp-test .hst-row, .dp-test .hst-ax, .dp-test .hst-refs { grid-template-columns: minmax(0, 104px) minmax(0, 1fr) minmax(0, 78px); gap: 12px; }
.dp-test .hb { gap: 9px; }
.dp-test .hb-row { grid-template-columns: minmax(0, 150px) minmax(0, 1fr) auto; }
@media (max-width: 960px) { .dp-tests.g2 { grid-template-columns: minmax(0, 1fr); } }
.dp-tail { padding: 0; }
.dp-list { padding: 0; margin-top: var(--gap); scroll-margin-top: 80px; }
.dp-more { display: inline-flex; align-items: center; gap: 6px; margin-top: 16px; font-weight: 600; font-size: 14.5px; color: var(--g2); text-decoration: none; }
.dp-more:hover { text-decoration: underline; }
.dp-gain { font: 700 12.5px var(--mono); font-style: normal; color: #7cffb2; margin-left: 4px; }
.dp-pctl { margin: -6px 0 4px; font-size: 12.5px; color: var(--muted); text-align: right; }
.dp-chip { display: inline-block; width: 10px; height: 10px; border-radius: 3px; background: var(--hc, #fff); margin-right: 9px; }
.dp-key { display: inline-block; vertical-align: -1px; margin-right: 8px; }
.dp-key.box { position: relative; width: 24px; height: 11px; border-radius: 4px; background: rgba(255, 179, 71, .2); border: 1px solid rgba(255, 179, 71, .5); }
.dp-key.box::after { content: ''; position: absolute; left: 50%; top: -3px; bottom: -3px; width: 2px; margin-left: -1px; border-radius: 1px; background: #fff; }
.dp-key.mark { width: 2px; height: 13px; border-radius: 1px; background: #7cffb2; margin-left: 10px; }

/* distributions: one row per group, every system a dot, the middle half a band, the median a white tick */
.hst { position: relative; margin: 0; display: grid; }
.hst.has-refs { padding-top: 22px; }
.hst-row { display: grid; grid-template-columns: minmax(0, 168px) minmax(0, 1fr) minmax(0, 116px); gap: 18px; align-items: center; min-height: 50px; padding: 6px 0; }
.hst-row + .hst-row { border-top: 1px solid rgba(255, 255, 255, .05); }
.hst-k { display: flex; flex-direction: column; gap: 1px; min-width: 0; font-weight: 600; font-size: 14.5px; overflow: hidden; }
.hst-k small { font: 500 12px var(--sans); color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hst-t { position: relative; height: 36px; border-radius: 9px; background: linear-gradient(90deg, rgba(255, 255, 255, .02), rgba(255, 255, 255, .035)); }
.hst-t i { position: absolute; width: 6px; height: 6px; margin: -3px 0 0 -3px; border-radius: 50%; background: var(--hc); opacity: .5; }
.hst-box { position: absolute; top: 6px; bottom: 6px; border-radius: 7px; background: color-mix(in srgb, var(--hc) 20%, transparent); border: 1px solid color-mix(in srgb, var(--hc) 50%, transparent); }
.hst-med { position: absolute; top: 1px; bottom: 1px; width: 3px; margin-left: -1.5px; border-radius: 2px; background: #fff; box-shadow: 0 0 0 2px rgba(10, 10, 18, .85), 0 0 14px color-mix(in srgb, var(--hc) 70%, transparent); }
.hst-mark { position: absolute; top: -4px; bottom: -4px; width: 2px; margin-left: -1px; background: #7cffb2; }
.hst-v { font: 700 15.5px var(--mono); font-variant-numeric: tabular-nums; text-align: right; white-space: nowrap; }
.hst-v small { font: 500 11.5px var(--mono); color: var(--muted); }
.hst-row.few .hst-t i { opacity: .4; }
.hst-row.few .hst-k { color: var(--text-2); }
.hst-row.few .hst-v small { font: 500 12px var(--sans); }
.hst-row.lo .hst-t i { background: transparent; box-shadow: inset 0 0 0 1.6px var(--hc); opacity: .75; }
.hst-row.lo .hst-box { background: transparent; border-style: dashed; }
.hst-ax, .hst-refs { display: grid; grid-template-columns: minmax(0, 168px) minmax(0, 1fr) minmax(0, 116px); gap: 18px; }
.hst-ax { margin-top: 4px; }
.hst-tk { position: relative; height: 18px; }
.hst-tk span { position: absolute; top: 0; transform: translateX(-50%); font: 12px var(--mono); color: var(--muted); white-space: nowrap; }
.hst-ax > span:last-child { font: 500 12px var(--sans); color: var(--muted); text-align: right; }
.hst-refs { position: absolute; inset: 0 0 22px; pointer-events: none; }
.hst-rl { position: relative; }
.hst-rl em { position: absolute; top: 0; bottom: 0; border-left: 1px dashed rgba(255, 255, 255, .26); padding-left: 5px; font: 500 11px var(--mono); font-style: normal; color: var(--muted); white-space: nowrap; }
@media (max-width: 640px) {
  .hst-row, .dp-test .hst-row { grid-template-columns: minmax(0, 1fr) auto; gap: 4px 12px; padding: 8px 0; }
  .hst-k { flex-direction: row; align-items: baseline; gap: 8px; }
  .hst-t { grid-column: 1 / -1; grid-row: 2; height: 30px; }
  .hst-ax, .dp-test .hst-ax { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .hst-ax > span:first-child { display: none; }
  .hst-ax > span:last-child { text-align: left; }
  .hst-tk span { font-size: 10.5px; }
  .hst-tk span.odd { display: none; }
  .hst-refs { display: none; }
  .hst.has-refs { padding-top: 0; }
}

/* below the rated speed */
.dp-gauge { position: relative; height: 18px; border-radius: 9px; background: rgba(124, 255, 178, .16); overflow: hidden; margin: 4px 0 6px; }
.dp-gauge i { position: absolute; left: 0; top: 0; bottom: 0; border-radius: 9px; background: linear-gradient(90deg, rgba(255, 107, 157, .65), #ff6b9d); }
.dp-speeds { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.dp-speeds li { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 11px 14px; border-radius: 12px; background: rgba(255, 255, 255, .03); border: 1px solid rgba(255, 255, 255, .05); }
.dp-speed { display: inline-flex; align-items: center; gap: 10px; flex-wrap: wrap; font: 600 14px var(--mono); }
.dp-speed s { text-decoration: none; color: var(--text-2); }
.dp-speed s::after { content: '\2192'; margin-left: 10px; color: var(--muted); }
.dp-speed b { color: #ff6b9d; }
.dp-speeds small { color: var(--muted); font-size: 12.5px; white-space: nowrap; }

/* the estimate for large models */
.dp-est { padding: clamp(20px, 2.6vw, 32px); }
.dp-badge { display: inline-flex; align-items: center; gap: 8px; margin: 0; padding: 6px 13px 6px 10px; border-radius: 999px; background: rgba(255, 179, 71, .09); border: 1px solid rgba(255, 179, 71, .38); color: #ffd27a; font: 600 12.5px var(--sans); }
.dp-badge svg { width: 17px; height: 17px; }
.dp-formula { margin: 18px 0 20px; font: 500 clamp(15px, 1.5vw, 18px)/1.5 var(--mono); color: var(--text); }
.dp-formula b { color: #7cffb2; font-weight: 700; }
.dp-est .table-wrap, .dp-fit .table-wrap { border: 0; background: transparent; border-radius: 0; }
.dp-est-t th[scope=row] { font-weight: 600; color: var(--text); font-size: 14.5px; }
.dp-est-t th small, .dp-fit-t th[scope=row] small { display: block; font: 500 12px var(--sans); color: var(--muted); margin-top: 2px; }
.dp-est-t th.num small { font: 500 11.5px var(--mono); }
.dp-est-t td b { font: 700 17px var(--mono); }
.dp-est-t td.nofit b { color: var(--muted); font-weight: 600; }
.dp-est-t td.nofit small { display: block; font: 500 11.5px var(--sans); color: #ff6b9d; margin-top: 2px; }
@media (max-width: 760px) {
  .dp-est-t thead, .dp-fit-t thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
  .dp-est-t, .dp-est-t tbody, .dp-fit-t, .dp-fit-t tbody { display: block; }
  .dp-est-t tr { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 14px; padding: 14px 0; border-bottom: 1px solid rgba(255, 255, 255, .07); }
  .dp-est-t tr > * { padding: 0; border: 0; white-space: normal; text-align: left; }
  .dp-est-t th[scope=row] { grid-column: 1 / -1; }
  .dp-est-t td::before, .dp-fit-t td::before { content: attr(data-l); display: block; font: 500 11.5px var(--sans); color: var(--muted); margin-bottom: 2px; }
  .dp-est-t td.num { text-align: left; }
}

/* what each card is good for */
.dp-fit-sum { margin: 0 0 var(--gap); }
.dp-fit-sum li { min-width: 150px; }
.dp-fit { padding: clamp(14px, 2vw, 24px); }
.dp-fit-t th[scope=col] { text-align: center; font-size: 12px; line-height: 1.3; }
.dp-fit-t th[scope=col]:first-child { text-align: left; }
.dp-fit-t th[scope=col] span { display: block; color: var(--text-2); font-weight: 600; }
.dp-fit-t th[scope=col] small { display: block; }
.dp-fit-t th[scope=row] { font-weight: 600; font-size: 14.5px; white-space: normal; min-width: 180px; }
.dp-fit-t th[scope=row] a { color: var(--text); text-decoration: none; }
.dp-fit-t th[scope=row] a:hover { color: var(--g2); }
.dp-fit-t td { text-align: center; padding: 8px 6px; }
.dp-fit-t td .mk { display: grid; place-items: center; width: 26px; height: 26px; margin: 0 auto; }
.dp-fit-t td .mk svg { width: 22px; height: 22px; }
.dp-fit-t td small { display: block; font: 500 11px var(--mono); color: var(--muted); margin-top: 1px; }
.dp-fit-t td.yes .mk { color: var(--good); }
.dp-fit-t td.yes .mk svg circle { fill: rgba(124, 255, 178, .12); }
.dp-fit-t td.near .mk { color: var(--g2); }
.dp-fit-t td.no .mk, .dp-fit-t td.na .mk { color: var(--faint); }
.dp-fit-t tbody tr:hover { background: rgba(255, 255, 255, .02); }
.dp-fit-leg { margin: 16px 0 0; }
@media (max-width: 760px) {
  .dp-fit-t tr { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 6px 2px; padding: 12px 0; border-bottom: 1px solid rgba(255, 255, 255, .07); }
  .dp-fit-t tr > * { padding: 0; border: 0; }
  .dp-fit-t th[scope=row] { grid-column: 1 / -1; min-width: 0; }
  .dp-fit-t td::before { font-size: 10px; text-align: center; white-space: nowrap; }
}

/* the data rule and the strip of hubs */
.dp-rule { display: flex; align-items: flex-start; gap: 14px; margin: clamp(44px, 5vw, 72px) 0 0; padding: 16px 20px; border-radius: var(--radius); border: 1px solid var(--border); background: rgba(255, 255, 255, .025);
  font-size: 13.5px; line-height: 1.6; color: var(--text-2); }
.dp-rule > span:first-child { flex: none; width: 32px; height: 32px; border-radius: 10px; display: grid; place-items: center; color: #7cffb2; background: rgba(124, 255, 178, .08); }
.dp-rule svg { width: 18px; height: 18px; }
.dp-rule a { color: var(--text); white-space: nowrap; }
.dp-hubs { margin-top: clamp(44px, 5.5vw, 80px); }
.prose .dp-hubs h2 { font-size: clamp(22px, 2.3vw, 28px); margin: 0 0 18px; }
.dp-hub-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 12px; }
.dp-hub { position: relative; overflow: hidden; display: flex; flex-direction: column; gap: 3px; padding: 18px 16px 17px; border-radius: var(--radius); border: 1px solid var(--border);
  background: rgba(255, 255, 255, .025); color: var(--text); text-decoration: none; transition: border-color .25s, transform .25s, background .25s; }
.dp-hub::before { content: ''; position: absolute; inset: -40% 30% 40% -40%; background: radial-gradient(closest-side, color-mix(in srgb, var(--c) 22%, transparent), transparent); opacity: .7; pointer-events: none; }
.dp-hub:hover { transform: translateY(-2px); border-color: color-mix(in srgb, var(--c) 55%, transparent); }
.dp-hub:focus-visible { outline: 2px solid var(--c); outline-offset: 2px; }
.dp-hub.on { border-color: color-mix(in srgb, var(--c) 60%, transparent); background: color-mix(in srgb, var(--c) 7%, transparent); }
.dp-hub-ic { position: relative; width: 38px; height: 38px; margin-bottom: 10px; border-radius: 11px; display: grid; place-items: center; color: var(--c); background: color-mix(in srgb, var(--c) 13%, transparent); }
.dp-hub-ic svg { width: 21px; height: 21px; }
.dp-hub b { position: relative; font-size: 15.5px; }
.dp-hub small { position: relative; font-size: 12.5px; line-height: 1.4; color: var(--muted); }
@media (max-width: 1100px) { .dp-hub-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 560px) { .dp-hub-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; } .dp-hub { padding: 14px 13px; } }
@media (prefers-reduced-motion: reduce) { .dp-hub { transition: none; } .dp-hub:hover { transform: none; } }

/* "Du bist hier" (mine.js): the reader's own systems, marked in the browser only */
.me-card { margin: 0 0 var(--s5, 28px); padding: 16px 18px; border-radius: var(--radius); border: 1px solid rgba(124, 255, 178, .35); background: linear-gradient(135deg, rgba(124, 255, 178, .07), rgba(255, 255, 255, .02)); }
.me-h { display: flex; align-items: center; gap: 10px; }
.me-h b { font-size: 15.5px; }
.me-pin { width: 10px; height: 10px; border-radius: 50%; background: #7cffb2; box-shadow: 0 0 0 4px rgba(124, 255, 178, .18); }
.me-x { margin-left: auto; width: 30px; height: 30px; border-radius: 50%; border: 1px solid var(--border); background: transparent; color: var(--muted); font-size: 18px; line-height: 1; cursor: pointer; }
.me-x:hover, .me-x:focus-visible { color: var(--text); border-color: rgba(255, 255, 255, .4); }
.me-card p { margin: 8px 0; color: var(--text-2); font-size: 14px; line-height: 1.5; }
.me-card ul { margin: 0 0 12px; padding-left: 18px; display: grid; gap: 6px; font-size: 14px; line-height: 1.5; overflow-wrap: anywhere; }
.me-card ul span { color: var(--text-2); }
.me-mark { position: absolute; top: -5px; bottom: -5px; width: 4px; margin-left: -2px; border-radius: 2px; background: #7cffb2; box-shadow: 0 0 0 2px rgba(10, 10, 18, .85), 0 0 12px rgba(124, 255, 178, .8); z-index: 2; }
.me-mark span { position: absolute; bottom: calc(100% + 1px); left: 50%; transform: translateX(-50%); font: 700 10.5px var(--sans); color: #7cffb2; white-space: nowrap; }
.hb-t .me-mark { top: -6px; bottom: -6px; }
.hb-t .me-mark span, .fpsbar-track .me-mark span { bottom: auto; top: calc(100% + 1px); }
.hst-row.me-in .hst-k, .hst-row.me-row .hst-k { color: #7cffb2; }
.hst-row.me-row .hst-v, .hb-row.me-row .hb-v { color: #7cffb2; }
.hb-row.me-row .hb-k { color: #7cffb2; font-weight: 600; }
.hb-row.me-row .hb-t i { background: #7cffb2; }
.hsc-dot.me-dot { z-index: 3; }
.hsc-dot.me-dot::before { opacity: 1; background: #7cffb2; box-shadow: 0 0 0 2px #0a0a12, 0 0 0 4px rgba(124, 255, 178, .55), 0 0 18px rgba(124, 255, 178, .7); }
.hsc-lab.me-lab { color: #7cffb2; font-weight: 700; z-index: 3; }
.hsc-dot.me-run::before, .hsc-dot.me-model::before { opacity: 1; box-shadow: 0 0 0 2px #0a0a12, 0 0 0 4px #7cffb2; }
tr.me-run > *, tr.me-model > * { background: rgba(124, 255, 178, .07); }
tr.me-run > :first-child, tr.me-model > :first-child { box-shadow: inset 3px 0 0 #7cffb2; }
.li.me-model, .li.me-run, .hl-row.me-model { box-shadow: inset 3px 0 0 #7cffb2; background: rgba(124, 255, 178, .05); }
.hl-row.me-row .hl-name { color: #7cffb2; display: flex; flex-direction: column; }
.hl-row.me-row .hl-name small { font: 500 12px var(--sans); color: var(--muted); overflow: hidden; text-overflow: ellipsis; }
.me-chip { display: inline-block; margin-left: 6px; padding: 1px 8px; border-radius: 999px; font: 600 11px/1.6 var(--sans); color: #0a0a12; background: #7cffb2; vertical-align: middle; white-space: nowrap; }

/* the hero as a path-traced film (hwreel.js): one screen, pinned while the page scrolls past it; without the script (or with
   .off) the page closes up and the first frame is a plain picture. It melts into the page at its foot, no hairline */
.film-pin { width: 100vw; height: 300svh; margin: -70px calc(50% - 50vw) 0; }
.film-pin.off { height: auto; }
.film-pin { position: relative; }
.film-end { position: absolute; bottom: 0; scroll-margin-top: 80px; }
.film-skip { display: inline-block; margin-top: 16px; font-size: 14px; font-weight: 600; color: #d6d8e6; text-decoration: none; text-shadow: 0 1px 12px rgba(0, 0, 0, .8); }
.film-skip:hover { color: #fff; text-decoration: underline; }
/* switched off after the first paint (data saver, slow line): nothing visible may move – the link keeps its room
   and the stage its height (Lighthouse found a layout shift of 0.33 on phones when it closed up) */
.film-pin.off .film-skip { visibility: hidden; }
.film-pin .cine { position: sticky; top: 0; width: 100%; height: 100svh; min-height: 480px; margin: 0; background: none; }
.film-pin.off .cine { position: relative; }
.page main.prose:has(> .film-pin:first-child) { padding-top: 0; }
.film::after { display: none; }
.film .cine-media { -webkit-mask-image: linear-gradient(#000 84%, transparent); mask-image: linear-gradient(#000 84%, transparent); background: #05060a; }
.film .cine-media img { object-position: 50% 50%; }
.film .cine-media canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.film .cine-media::after {
  opacity: var(--film-scrim, 1);
  background:
    linear-gradient(to bottom, rgba(5, 6, 10, .72) 0%, rgba(5, 6, 10, 0) 22%),
    linear-gradient(90deg, rgba(5, 6, 10, .86) 0%, rgba(5, 6, 10, .6) 28%, rgba(5, 6, 10, 0) 58%);
}
.film .cine-body { will-change: opacity, translate; }
.reel-cap { position: absolute; left: max(var(--gutter), calc((100% - var(--wrap)) / 2 + var(--gutter))); bottom: clamp(62px, 11vh, 120px); max-width: min(560px, calc(100vw - 2 * var(--gutter))); opacity: 0; pointer-events: none; text-shadow: 0 2px 22px rgba(0, 0, 0, .85); will-change: opacity, translate; }
.reel-cap::before { content: ''; position: absolute; z-index: -1; inset: -70px calc(-1 * min(20px, var(--gutter))) -60px -260px; background: radial-gradient(closest-side, rgba(5, 6, 10, .82) 45%, transparent); }
.reel-cap b { display: block; font-size: clamp(26px, 3.6vw, 52px); font-weight: 700; line-height: 1.08; letter-spacing: -.02em; color: #fff; text-wrap: balance; }
.reel-cap span { display: block; margin-top: 8px; font-size: clamp(14px, 1.3vw, 18px); line-height: 1.45; color: #d6d8e6; }
.reel-cap .btn { margin-top: 16px; text-shadow: none; }
.reel-cap.on .btn { pointer-events: auto; }
.reel-note { position: absolute; left: 0; right: 0; bottom: 14px; text-align: center; padding: 0 16px; font-size: 11.5px; color: #8b8ea5; }
.hwp-art.reel-on { display: none; }
@media (prefers-reduced-motion: reduce) {
  .film-pin { height: auto; }
  .film-pin .cine { position: relative; height: auto; min-height: clamp(430px, 60vh, 640px); }
}
@media (max-width: 760px) {
  /* phones: the whole frame under the navigation, the title below it; the same one screen */
  .film-pin { height: 260svh; }
  .film-pin .cine { display: flex; flex-direction: column; align-items: stretch; justify-content: center; min-height: 0; padding-top: 70px; background: linear-gradient(#05060a 78%, transparent); }
  .film .cine-media { aspect-ratio: 16 / 10; flex: none; -webkit-mask-image: linear-gradient(transparent, #000 16%, #000 84%, transparent); mask-image: linear-gradient(transparent, #000 16%, #000 84%, transparent); background: none; }
  .film .cine-media::after { background: none; }
  .film .cine-body { margin-top: 10px; }
  .reel-cap { top: calc(var(--film-foot, 60%) + 14px); bottom: auto; }
}
/* a short screen: the frame, the title and the key figures must fit, the lead gives way */
@media (max-width: 760px) and (max-height: 800px) {
  .film .cine-intro .lead, .reel-note.over-title { display: none; }
}
@media (min-width: 761px) and (max-height: 560px) {
  .film-pin .cine { min-height: 0; }
  .film .cine-intro .lead, .film .cine-intro .hwp-spec { display: none; }
  .reel-cap { bottom: 44px; }
  .reel-cap b { font-size: 24px; }
}

/* the per-core chart (hwart.js): kinds of a hybrid CPU in their own colours, bars that grow in, a card per core */
.hcol-cores i { position: relative; cursor: pointer; transform-origin: bottom; transition: filter .2s, opacity .2s, transform .2s; }
.hcol-cores i.k0 { background: linear-gradient(180deg, #7aa2ff, rgba(122, 162, 255, .35)); }
.hcol-cores i.k1 { background: linear-gradient(180deg, #5ee6b0, rgba(94, 230, 176, .3)); }
.hcol-cores i.k2 { background: linear-gradient(180deg, #c56cf0, rgba(197, 108, 240, .3)); }
.hcol-cores i.fast { box-shadow: 0 0 18px -4px rgba(255, 179, 71, .9); }
.hcol-cores.pointing i:not(.hot) { opacity: .45; }
.hcol-cores i.hot { filter: brightness(1.25) saturate(1.2); transform: scaleY(1.02); outline: none; }
.hcol-cores.wait i { transform: scaleY(0); }
.hcol-cores.grow i { animation: hcol-grow .9s cubic-bezier(.2, 1.1, .3, 1) calc(var(--i, 0) * 45ms) both; }
@keyframes hcol-grow { from { transform: scaleY(0); } }
.hcol-kinds { display: flex; flex-wrap: wrap; gap: 6px 16px; margin: 10px 0 0; padding: 0; list-style: none; font-size: 13.5px; color: #c9cbe0; }
.hcol-kinds i { display: inline-block; width: 10px; height: 10px; margin-right: 7px; border-radius: 3px; vertical-align: -1px; }
.hcol-kinds i.k0 { background: #7aa2ff; } .hcol-kinds i.k1 { background: #5ee6b0; } .hcol-kinds i.k2 { background: #c56cf0; }
.hcol-tip { position: fixed; left: 0; top: 0; z-index: 60; display: grid; gap: 2px; min-width: 170px; padding: 10px 13px; border-radius: 12px; pointer-events: none; opacity: 0; transition: opacity .15s;
  background: rgba(16, 14, 26, .95); border: 1px solid rgba(255, 255, 255, .14); box-shadow: 0 18px 44px -12px rgba(0, 0, 0, .85); font-size: 12.5px; color: #c9cbe0; }
.hcol-tip.on { opacity: 1; }
.hcol-tip b { font-size: 13px; color: #fff; }
.hcol-tip .v { font: 700 18px/1.2 var(--mono); color: #ffd36b; }
@media (prefers-reduced-motion: reduce) { .hcol-cores.grow i { animation: none; } }

/* /cpu and /gpu: "compare two models" (Site::hubPick, hwart.js) and the questions with live answers (Site::hubFaq) */
.hub-pick { margin-top: var(--s5, 32px); background: radial-gradient(120% 90% at 0% 0%, color-mix(in srgb, var(--g2) 14%, transparent), transparent 60%), var(--card); }
.hub-pick h2 { margin: 0 0 14px; }
.hp-form { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr) auto; align-items: end; gap: 12px; }
.hp-form label { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.hp-form label span { font: 600 12px var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.hp-form select { width: 100%; min-width: 0; padding: 11px 14px; border-radius: 14px; font: inherit; font-size: 15px; color: var(--text); cursor: pointer;
  background: rgba(255, 255, 255, .04); border: 1px solid var(--border-hi); }
.hp-form select:focus-visible { outline: 2px solid var(--g2); outline-offset: 2px; }
.hp-vs { padding-bottom: 12px; font: 800 14px var(--mono); color: var(--g2); }
@media (max-width: 720px) { .hp-form { grid-template-columns: minmax(0, 1fr); } .hp-vs { padding: 0; text-align: center; } }
.hub-faq { margin-top: var(--s5, 32px); }
.hub-faq h2 { margin-bottom: 14px; }
.hub-faq .faq-item summary { font-weight: 600; font-size: 17px; }
.hub-qt { margin: 14px 0 0; font-weight: 600; }
