/* Scena: MIL 200. Il fusto in studio, il tappo da ¾″ che si svita, MIL 200 che si avvita, gli ultrasuoni, la lettura e gli avvisi.
   Tutto il set e' in "px fusto" (1200 x 1900): 1 px = 0,55 mm. */
.ap-mil2 { --ap-acc: #F4B04A; --ap-dim: 9,12,17; --ap-bg: #0A0D12; --ap-soft: #DCE2EA; height: 1450vh; }
.m2-studio { position: absolute; inset: 0; background:
  radial-gradient(48% 62% at 50% 40%, rgba(70,110,170,.30), rgba(70,110,170,0) 70%),
  radial-gradient(90% 40% at 50% 100%, rgba(40,52,70,.55), rgba(40,52,70,0) 70%),
  linear-gradient(180deg, #0B0F15 0%, #0F141C 60%, #0A0D12 100%); }
.m2-set { position: absolute; left: 0; top: 0; width: 1200px; height: 1900px; transform-origin: 0 0; }
.m2-set > * { position: absolute; }
.m2-drum, .m2-refl, .m2-oil, .m2-xray, .m2-us { left: 0; top: 0; width: 1200px; height: 1900px; }
.m2-refl { top: -358px; transform: scaleY(-1); transform-origin: 50% 100%; opacity: .2; filter: blur(2px);
  -webkit-mask-image: linear-gradient(180deg, rgba(0,0,0,0) 0%, rgba(0,0,0,0) 70%, rgba(0,0,0,.95) 90.6%); mask-image: linear-gradient(180deg, rgba(0,0,0,0) 0%, rgba(0,0,0,0) 70%, rgba(0,0,0,.95) 90.6%); }
.m2-contact { left: -60px; width: 1320px; top: 1600px; height: 260px; border-radius: 50%; background: radial-gradient(closest-side, rgba(0,0,0,.85), rgba(0,0,0,.45) 55%, rgba(0,0,0,0)); }
.m2-drum { -webkit-mask-image: linear-gradient(90deg, rgba(0,0,0,var(--xa,1)) 0, rgba(0,0,0,var(--xa,1)) var(--xl,0%), #000 var(--xr,0%)); mask-image: linear-gradient(90deg, rgba(0,0,0,var(--xa,1)) 0, rgba(0,0,0,var(--xa,1)) var(--xl,0%), #000 var(--xr,0%)); }
/* coperchio ad alta risoluzione per i primi piani */
.m2-lidm { left: 560px; top: 20px; width: 640px; height: 260px; opacity: 0; }
.m2-lidh { left: 807.2px; top: 99.025px; width: 220px; height: 110px; opacity: 0; }
.m2-oil { opacity: 0; filter: drop-shadow(0 0 26px rgba(244,170,60,.35)); }
.m2-oil-m { fill: none; stroke: rgba(255,236,190,.65); stroke-width: 3; }
.m2-xray { opacity: 0; overflow: visible; }
.m2-xray ellipse, .m2-xray path { fill: none; stroke: rgba(150,215,255,.95); stroke-width: 2; vector-effect: non-scaling-stroke; }
.m2-xray .m2-x-back { stroke-dasharray: 5 7; }
.m2-xray .m2-x-rib { stroke: rgba(150,215,255,.4); stroke-dasharray: 3 8; }
.m2-ticks line { stroke: rgba(130,200,255,.7); stroke-width: 1.2; vector-effect: non-scaling-stroke; }
.m2-ticks text { font: 500 26px var(--f-mono); fill: rgba(190,225,255,.85); }
.m2-scan { left: 0; top: -40px; width: 4px; height: 1980px; margin-left: -2px; opacity: 0; background: linear-gradient(180deg, rgba(150,215,255,0), #bfe6ff 12%, #fff 50%, #bfe6ff 88%, rgba(150,215,255,0)); box-shadow: 0 0 30px 8px rgba(120,200,255,.55); }
.m2-us { overflow: visible; opacity: 0; }
.m2-ping path { fill: none; stroke: #BDEBFF; stroke-width: 3; vector-effect: non-scaling-stroke; filter: drop-shadow(0 0 4px rgba(140,215,255,.9)); }
.m2-echo path { fill: none; stroke: rgba(255,214,150,.85); stroke-width: 1.6; vector-effect: non-scaling-stroke; stroke-dasharray: 4 5; }
.m2-dim { fill: none; stroke: rgba(190,230,255,.8); stroke-width: 1.2; vector-effect: non-scaling-stroke; stroke-dasharray: 2 4; }
.m2-dim-t { font: 500 26px var(--f-mono); letter-spacing: .1em; text-transform: uppercase; fill: rgba(200,235,255,.9); }
/* tappo da ¾″ e MIL 200: immagini rese in 3D, posizionate sull'asse del foro (x 917,2 · piano del colletto y 147,33) */
.m2-sh { border-radius: 50%; pointer-events: none; }
.m2-sh-plug { left: 883.2px; top: 136.3px; width: 68px; height: 22px; background: radial-gradient(closest-side, rgba(0,4,12,.55), rgba(0,4,12,.25) 60%, rgba(0,4,12,0)); }
.m2-sh-dev { left: 862px; top: 128px; width: 150px; height: 40px; opacity: 0; background: radial-gradient(closest-side, rgba(0,4,12,.7), rgba(0,4,12,.3) 55%, rgba(0,4,12,0)); }
.m2-bar { left: 892.2px; top: 123.331px; width: 50px; height: 34.5px; opacity: 0; }
.m2-occ { left: 887.2px; top: 142.025px; width: 60px; height: 28px; }
.m2-head { left: 887.7px; top: 131.331px; width: 59px; height: 25px; }
.m2-plug { left: 887.7px; top: 115.552px; width: 59px; height: 41px; opacity: 0; }
.m2-spc { left: 892.2px; top: 139.331px; width: 50px; height: 37px; opacity: 0; }
.m2-sps { left: 892.2px; top: 120.331px; width: 50px; height: 37.5px; opacity: 0; }
.m2-dev { left: 847.2px; top: -42.669px; width: 140px; height: 212px; opacity: 0; }
.m2-dev img, .m2-dev canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.m2-col-bianco, .m2-col-arancio { opacity: 0; }
.m2-dev .m2-lcd { left: 26.27%; top: 47.27%; width: 46.62%; height: 14.04%; }
.m2-dev .m2-tap { left: 49.71%; top: 26.41%; width: 6%; margin: -3% 0 0 -3%; border-width: 1px; }
.m2-ring { left: 862.2px; top: 131.23px; width: 110px; height: 32.2px; border-radius: 50%; border: 1.5px solid rgba(160,225,255,.9); opacity: 0; box-shadow: 0 0 6px rgba(140,215,255,.8); }
.m2-rot { left: 847.2px; top: 117.33px; width: 140px; height: 60px; overflow: visible; opacity: 0; pointer-events: none; }
.m2-rot path { fill: none; stroke: rgba(170,228,255,.95); stroke-width: 1.6; vector-effect: non-scaling-stroke; stroke-linecap: round; }
.m2-rot-back path { stroke: rgba(170,228,255,.35); stroke-dasharray: 2 4; }
.m2-rot .m2-rot-h { fill: rgba(170,228,255,.95); stroke: none; }
.m2-tag { position: absolute; left: 0; top: 0; display: flex; flex-direction: column; gap: 4px; opacity: 0; pointer-events: none; white-space: nowrap; text-shadow: 0 2px 12px rgba(0,0,0,.6); }
.m2-tag-l { font: 500 .72rem/1.1 var(--f-mono); letter-spacing: .14em; text-transform: uppercase; color: rgba(200,235,255,.85); }
.m2-tag-v { font-family: var(--f-display); font-weight: 600; font-size: clamp(2rem, 3.4vw, 3rem); line-height: 1; color: #fff; }
.m2-tagline { position: absolute; left: 0; top: 0; width: 100%; height: 100%; overflow: visible; opacity: 0; pointer-events: none; }
.m2-tagline path { fill: none; stroke: rgba(190,230,255,.75); stroke-width: 1; }
.m2-tagline circle { fill: none; stroke: rgba(190,230,255,.9); stroke-width: 1; }
.m2-lcd { position: absolute; left: 21.13%; top: 34.28%; width: 56.62%; height: 14.93%; overflow: visible; }
.m2-lcd rect.bg { fill: #07140D; }
.m2-lcd path { fill: rgba(70,150,90,.10); }
.m2-lcd path.on { fill: #A6FF9C; filter: drop-shadow(0 0 3px rgba(140,255,140,.85)); }
.m2-lcd circle { fill: rgba(70,150,90,.10); }
.m2-lcd circle.on { fill: #A6FF9C; }
.m2-lcd.warn path.on, .m2-lcd.warn circle.on { fill: #FFB46A; filter: drop-shadow(0 0 4px rgba(255,150,60,.95)); }
.m2-lcd.alarm path.on, .m2-lcd.alarm circle.on { fill: #FF7A62; filter: drop-shadow(0 0 5px rgba(255,80,60,1)); }
.m2-lcd.blank path.on, .m2-lcd.blank circle.on { fill: rgba(70,150,90,.10); filter: none; }
.m2-tap { position: absolute; left: 49.6%; top: 12.1%; width: 9%; aspect-ratio: 1; margin: -4.5% 0 0 -4.5%; border-radius: 50%; border: 2px solid #fff; opacity: 0; }
.m2-lens { position: absolute; left: 0; top: 0; width: 300px; height: 300px; margin: -150px 0 0 -150px; border-radius: 50%; overflow: hidden; opacity: 0;
  box-shadow: 0 0 0 1px rgba(255,255,255,.35), 0 0 0 8px rgba(255,255,255,.05), 0 30px 60px rgba(0,0,0,.55); background: #0d1117; }
.m2-lens-in { position: absolute; left: 50%; top: 50%; width: 400px; height: 723px; margin-left: -200px; margin-top: -302px; }
.m2-lens-in img { position: absolute; inset: 0; width: 100%; height: 100%; }
.m2-lens::after { content: ""; position: absolute; inset: 0; border-radius: 50%; background: radial-gradient(120% 90% at 30% 15%, rgba(255,255,255,.16), rgba(255,255,255,0) 45%); }
.m2-lead { position: absolute; left: 0; top: 0; width: 100%; height: 100%; overflow: visible; opacity: 0; pointer-events: none; }
.m2-lead line { stroke: rgba(255,255,255,.55); stroke-width: 1; stroke-dasharray: 3 4; }
.m2-lead circle { fill: #fff; }
.m2-read { position: absolute; left: 0; top: 0; display: flex; flex-direction: column; gap: 4px; opacity: 0; pointer-events: none; text-shadow: 0 2px 14px rgba(0,0,0,.7); }
.m2-read-v { font-family: var(--f-display); font-weight: 600; font-size: clamp(3rem, 5.4vw, 4.6rem); line-height: .95; color: #FFD08A; font-variant-numeric: tabular-nums; letter-spacing: -.02em; }
.m2-read-u { font: 500 .74rem var(--f-mono); letter-spacing: .14em; text-transform: uppercase; color: rgba(255,255,255,.72); }
@media (max-width: 760px) {
  .ap-mil2 { height: 1320vh; }
  .m2-lens { width: 200px; height: 200px; margin: -100px 0 0 -100px; }
  .m2-lens-in { width: 270px; height: 488px; margin-left: -135px; margin-top: -204px; }
}
.m2-tag2 .m2-tag-v { font-size: clamp(1.15rem, 1.7vw, 1.5rem); }
