/* A single opaque face keeps the engraved marks on the plate at every angle. */
.noire-metal {
  position:relative; width:100%; aspect-ratio:85.60/53.98; container-type:inline-size;
  user-select:none; -webkit-user-select:none;
  --nm-tier:url('/assets/noire/face-50.webp?v=milled-1');
  --nm-face:url('/assets/noire/face-front.webp?v=milled-1');
}
.noire-metal[data-level="100"] {--nm-tier:url('/assets/noire/face-100.webp?v=milled-1')}
.noire-metal[data-level="250"] {--nm-tier:url('/assets/noire/face-250.webp?v=milled-1')}
.noire-metal[data-face="back"] {--nm-face:url('/assets/noire/face-back.webp?v=milled-1')}
.noire-metal-inner,.noire-metal-foil {
  width:100%; height:100%; position:relative;
}
.noire-metal-inner {
  transform:perspective(220cqw) rotateX(var(--nm-x,3deg)) rotateY(var(--nm-y,-5deg)) rotateZ(var(--nm-roll,-3deg));
}
.noire-metal-foil {
  overflow:hidden; border-radius:3.72% / 5.88%;
  background-color:#161a1b;
  background-image:var(--nm-tier),var(--nm-face);
  background-size:100% 100%; background-repeat:no-repeat;
  /* Edge, contact shadow and diffuse shadow all share the plate's silhouette. */
  box-shadow:0 .28cqw 0 -.04cqw #474e50,0 .48cqw 0 -.04cqw #2a3033,0 .77cqw .14cqw -.1cqw #151a1d,
    0 1.9cqw 3.4cqw -1.45cqw #0a191867,0 6cqw 8.5cqw -4.2cqw #11201c61;
}
@media(prefers-reduced-motion:no-preference) {
  .noire-metal-inner {transition:transform .28s cubic-bezier(.18,.65,.22,1)}
  /* Only the reflection moves across the lettering. */
  .noire-metal-foil::after {
    content:"";position:absolute;inset:0 -40%;pointer-events:none;
    background:linear-gradient(113deg,transparent 25%,#cad9de12 36%,#eef5f91f 40%,#d7e2ea09 48%,transparent 58%);
    transform:translateX(var(--nm-light,0%)); transition:transform .32s ease-out;
  }
}
@media(prefers-reduced-motion:reduce){
  .noire-metal-inner {transform:none}
}

.noire-metal[data-detail=true] .noire-metal-foil {
  background-image:url('/assets/noire/face-macro.webp?v=milled-1');
}
#altitude-noire button[data-detail]{display:flex;align-items:center;gap:8px;color:#173b31;min-height:44px;padding:0 4px}
#altitude-noire button[data-detail][aria-pressed=true] .ne-plus{display:none}
.ne-object figcaption{gap:clamp(8px,2vw,22px)}
#altitude-noire button[data-flip]{position:relative;padding-inline-start:clamp(12px,2vw,22px)}
#altitude-noire button[data-flip]::before{content:"";position:absolute;left:0;height:16px;width:1px;background:#173b3138}
