/* Aiwa NSX-3200: the CD changer and amplifier, drawn from his photos (sizes in cqw so it scales as one piece). */
.aiwa-page { display: flex; justify-content: center; align-items: center; min-height: calc(100dvh - 140px); max-width: none; padding-top: 16px; }
.nsx { position: relative; container-type: inline-size; width: min(1700px, 100%, calc((100dvh - 200px) * 1.9));   /* as big as the window allows: it's the interface here */ display: flex; flex-direction: column; gap: 0.5cqw;
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif; color: #e8e8e6; user-select: none; -webkit-user-select: none;
  filter: drop-shadow(0 2cqw 4cqw rgba(0,0,0,.6)); }
.nsx > section { position: relative; border-radius: 1.2cqw; padding: 1.4cqw 2.2cqw;
  background: linear-gradient(180deg, #3a3b3e 0%, #2b2c2f 8%, #232427 60%, #1c1d1f 100%);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.12), inset 0 -2px 3px rgba(0,0,0,.6), 0 1px 0 #000; }
.nsx .lbl { display: block; font-size: 1.25cqw; font-weight: 600; letter-spacing: .06em; color: #dcdcd8; }
.nsx .lbl.sm { font-size: 1.05cqw; }
.nsx .gold { color: #cf9d4a; font-size: 1.05cqw; font-weight: 700; letter-spacing: .04em; }

/* rubber keys */
.nsx-key { position: relative; display: inline-flex; align-items: center; justify-content: center; height: 2.2cqw; min-width: 4.2cqw;
  padding: 0 1cqw; border-radius: 1.1cqw; border: 0; cursor: pointer; color: #e6e6e2; font-size: 1cqw; font-weight: 700; letter-spacing: .05em;
  background: linear-gradient(180deg, #45464a, #2a2b2e 55%, #1d1e20); box-shadow: inset 0 1px 0 rgba(255,255,255,.18), 0 .25cqw .4cqw rgba(0,0,0,.7), 0 0 0 1px #0b0b0c;
  transition: transform 60ms, box-shadow 60ms; }
.nsx-key i { font-style: normal; pointer-events: none; }
.nsx-key.long { min-width: 9cqw; height: 1.5cqw; border-radius: .75cqw; }
.nsx-key.wide { min-width: 9cqw; }
.nsx-key.dot { min-width: 2cqw; width: 2cqw; height: 2cqw; padding: 0; border-radius: 50%; }
.nsx-key.pill { min-width: 5.5cqw; height: 1.9cqw; font-size: 1.05cqw; color: #d8d8d4; }
.nsx-key[data-k="pure"].lit, .nsx-key[data-k="dolby"].lit { box-shadow: inset 0 0 0 1px rgba(159,232,255,.5), 0 0 .8cqw rgba(159,232,255,.35), 0 .25cqw .4cqw rgba(0,0,0,.7); }
.nsx-key.pill.sel i { color: #bfe9ff; text-shadow: 0 0 .5cqw #5fc8ff, 0 0 1.2cqw rgba(95,200,255,.6); }   /* lit when chosen, with the display */
.nsx-key:hover { filter: brightness(1.15); }
.nsx-key.down, .nsx-key:active { transform: translateY(.15cqw); box-shadow: inset 0 1px 2px rgba(0,0,0,.6), 0 0 0 1px #0b0b0c; }
/* the transport keys light to show play / pause (their symbol glows, like a backlit key) */
.nsx-key.lit i { color: #b6ffcf; text-shadow: 0 0 .5cqw #3dff8a, 0 0 1.2cqw rgba(61,255,138,.6); }
.nsx-key[data-k="pause"].lit i { color: #ffd59a; text-shadow: 0 0 .5cqw #ffab3d, 0 0 1.2cqw rgba(255,171,61,.6); }
.nsx-key:focus-visible { outline: 2px solid #9fe8ff; outline-offset: 2px; }

/* the CD changer */
.nsx-cd { display: grid; grid-template-columns: 16cqw 1fr auto; grid-template-rows: auto auto; align-items: center; row-gap: 1.6cqw; padding-bottom: 1.2cqw; }
.nsx-logo { font-size: 3cqw; font-weight: 800; letter-spacing: .05em; color: #cf9d4a; font-style: italic; transform: scaleX(1.25); transform-origin: left; text-transform: lowercase; }
.nsx-ddp { display: flex; align-items: center; gap: 1.2cqw; }
.nsx-ddp > span { font-size: 1cqw; line-height: 1.1; text-align: right; color: #cfcfcb; margin-right: .6cqw; }
.nsx-ddp .nsx-key i { position: absolute; top: -1.5cqw; font-size: 1.1cqw; color: #e05a4a; }
.nsx-open { display: flex; gap: .8cqw; }
.nsx-open .nsx-key i { position: absolute; top: -1.5cqw; white-space: nowrap; font-size: 1cqw; color: #cfcfcb; }
.nsx-tray { grid-column: 1 / -1; display: flex; justify-content: space-between; align-items: center; padding: 1.2cqw 0 0;
  border-top: .35cqw solid #121314; box-shadow: inset 0 1px 0 rgba(255,255,255,.06); }
.nsx-tray b { font-style: italic; margin-right: .6cqw; }
.nsx-cdlogo { font-size: 1.1cqw; font-weight: 900; line-height: .9; text-align: center; color: #cf9d4a; border: 1px solid #cf9d4a; padding: .2cqw .5cqw; border-radius: .3cqw; }
.nsx-cdlogo small { font-size: .45cqw; }

/* the amplifier */
.nsx-amp { display: grid; grid-template-columns: 13cqw 1fr 21cqw; gap: 2cqw; align-items: start; padding-top: 2cqw; padding-bottom: 1.6cqw; }
.nsx-left { display: flex; flex-direction: column; gap: .5cqw; }
.nsx-power { width: 4.6cqw; height: 3.2cqw; border-radius: .4cqw; border: 0; cursor: pointer;
  background: linear-gradient(180deg, #555659, #2c2d30); box-shadow: inset 0 0 0 .35cqw #1a1b1d, inset 0 1px 0 rgba(255,255,255,.2), 0 .3cqw .5cqw rgba(0,0,0,.7); }
.nsx-led { display: inline-block; width: .6cqw; height: .6cqw; border-radius: 50%; background: #3a0e0b; vertical-align: middle; }
.nsx.standby .nsx-led { background: #ff3b2b; box-shadow: 0 0 .8cqw #ff3b2b; }
.nsx-model { margin: 2.2cqw 0 1.6cqw; }
.nsx-model b { display: block; font-size: 2cqw; color: #cf9d4a; letter-spacing: .02em; }
.nsx-model span { font-size: .9cqw; color: #d9d9d5; letter-spacing: .05em; }
.nsx-jack { width: 2.6cqw; height: 2.6cqw; border-radius: 50%; background: radial-gradient(circle, #000 32%, #2b2c2e 36%, #535457 60%, #1b1c1e 72%); }
.nsx-jack.sm { width: 2cqw; height: 2cqw; display: inline-block; }
.nsx-mid { display: flex; flex-direction: column; gap: 1.2cqw; }
.nsx-window { position: relative; padding: .9cqw; border-radius: 1cqw; background: linear-gradient(180deg, #0c0c0d, #1a1a1c);
  box-shadow: inset 0 .3cqw .6cqw rgba(0,0,0,.9), 0 1px 0 rgba(255,255,255,.1); }
.nsx-window::after { content: ""; position: absolute; inset: .9cqw; border-radius: .5cqw; pointer-events: none;   /* the smoked glass: a sheen and its edge */
  background: linear-gradient(160deg, rgba(255,255,255,.10) 0%, rgba(255,255,255,.02) 35%, rgba(255,255,255,0) 36%), linear-gradient(0deg, rgba(0,0,0,.25), rgba(0,0,0,0) 30%);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.05); }
.nsx-display { display: block; width: 100%; aspect-ratio: 400 / 120; border-radius: .5cqw; }
.nsx.standby .nsx-display { filter: brightness(.8); }
.nsx-sources { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1cqw; }
.nsx-sources label, .nsx-row label { display: flex; flex-direction: column; align-items: center; gap: .35cqw; }
.nsx-sources span, .nsx-row span { font-size: 1.05cqw; font-weight: 600; letter-spacing: .05em; color: #dcdcd8; text-align: center; line-height: 1.1; }
.nsx-sources .nsx-key { min-width: 0; width: 100%; }
.nsx-row { display: flex; align-items: flex-end; justify-content: space-between; gap: .6cqw; }
.nsx-row .kar span { color: #dcdcd8; }
.nsx-row .kar small { font-size: .75cqw; font-weight: 500; }
.nsx-right { display: flex; flex-direction: column; align-items: center; gap: .6cqw; }
.nsx-knob { --rot: 0deg; position: relative; width: 13cqw; height: 13cqw; border-radius: 50%; cursor: grab; touch-action: none;
  /* the recessed well it sits in */
  background: radial-gradient(circle at 50% 50%, #0d0e0f 0 62%, #1a1b1d 63% 66%, #2c2d30 70%, #1b1c1e 100%);
  box-shadow: inset 0 .5cqw 1cqw rgba(0,0,0,.85), inset 0 -.2cqw .4cqw rgba(255,255,255,.06), 0 1px 0 rgba(255,255,255,.08); }
.nsx-knob::before { content: ""; position: absolute; inset: 14%; border-radius: 50%;   /* the knob: a smooth matte dome */
  background: radial-gradient(circle at 42% 32%, #4a4b4f 0%, #2e2f32 28%, #1d1e20 62%, #141516 100%);
  box-shadow: 0 .6cqw 1.2cqw rgba(0,0,0,.75), 0 .1cqw .2cqw rgba(0,0,0,.6), inset 0 .15cqw .25cqw rgba(255,255,255,.12), inset 0 -.4cqw .8cqw rgba(0,0,0,.5); }
.nsx-knob i { position: absolute; inset: 14%; transform: rotate(var(--rot)); pointer-events: none; }
.nsx-knob i::after { content: ""; position: absolute; left: 50%; top: 12%; width: .9cqw; height: .9cqw; margin-left: -.45cqw; border-radius: 50%;   /* the pointer: a dimple */
  background: radial-gradient(circle at 50% 35%, #070707, #1c1c1d 70%); box-shadow: inset 0 .1cqw .15cqw rgba(0,0,0,.9), 0 .08cqw 0 rgba(255,255,255,.12); }
.nsx-knob:active { cursor: grabbing; }
.nsx-knob:focus-visible { outline: 2px solid #9fe8ff; outline-offset: 6px; }
.nsx-minmax { display: flex; justify-content: space-between; width: 13cqw; font-size: .85cqw; color: #cfcfcb; }
.nsx-eq { display: flex; gap: .6cqw; }

/* the T-BASS strip */
.nsx-tb { display: flex; align-items: center; gap: 1.6cqw; padding-top: .8cqw !important; padding-bottom: .8cqw !important; }
.nsx-tb .nsx-key { min-width: 6cqw; }
.nsx-super { flex: 1; text-align: center; font-size: 1.6cqw; font-weight: 800; letter-spacing: .14em; color: #eeeeea; }
.nsx-mini { display: inline-block; width: 2.2cqw; height: 2.2cqw; border-radius: 50%; background: repeating-conic-gradient(#2a2b2e 0 6deg, #3e3f43 6deg 12deg); box-shadow: 0 0 0 .25cqw #121314; }
@media (prefers-reduced-motion: reduce) { .nsx-key { transition: none; } }

button.nsx-mini.down { transform: rotate(40deg); }
.nsx-mini:focus-visible { outline: 2px solid #9fe8ff; outline-offset: 2px; }

/* the wear layer over the whole unit (drawn by view-aiwa.js) */
.nsx-wear { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; border-radius: 1.2cqw; }
/* the Aiwa in a window of its own (Mac app, ⌘2) */
body.aiwa-window { margin: 0; background: #0b0c10; color: #e8e8e6; overflow: hidden; }
body.aiwa-window .aiwa-page { height: 100vh; min-height: 0; padding: 0; margin: 0; max-width: none; display: flex; align-items: center; justify-content: center; overflow: hidden; }
body.aiwa-window .nsx { filter: none; gap: 0; }   /* the window is the unit and its speakers: edge to edge */
body.aiwa-window .nsx > section { border-radius: 0; }
/* the Aiwa window's own close button, on the panel top right */
.nsx-close { position: absolute; top: .6cqw; left: .8cqw;   /* top left, where a Mac window's close is */ z-index: 6; width: 1.8cqw; height: 1.8cqw; border: 0; border-radius: 50%; cursor: pointer;
  font: 700 1.3cqw/1 Helvetica, Arial, sans-serif; color: rgba(255,255,255,.55); background: rgba(0,0,0,.35); box-shadow: inset 0 1px 0 rgba(255,255,255,.12); }
.nsx-close:hover { color: #fff; background: rgba(200,40,30,.8); }
.nsx-close { opacity: 0; transition: opacity .25s; }   /* out of sight until the pointer is on it (like the hidden title bar) */
.nsx-close:hover, .nsx-close:focus-visible { opacity: 1; }
body.aiwa-window:hover .nsx-close { opacity: .75; }   /* (the window has no title bar, so no close button of its own: show it whenever the pointer is in the window) */
/* DISC CHANGE: playlists, or have Sonic Sage make one */
.nsx-menu { position: absolute; inset: 0; z-index: 5; display: flex; align-items: center; justify-content: center; background: rgba(0,0,0,.55); border-radius: 1.2cqw; }
.nsx-menu-in { width: 56cqw; max-height: 80%; display: flex; flex-direction: column; gap: 1.2cqw; padding: 2cqw; border-radius: 1cqw;
  background: linear-gradient(180deg, #2c2d30, #1c1d1f); box-shadow: 0 1.5cqw 4cqw rgba(0,0,0,.7), inset 0 1px 0 rgba(255,255,255,.1); }
.nsx-menu-h { font-size: 1.2cqw; font-weight: 800; letter-spacing: .14em; color: #cf9d4a; }
.nsx-sage { display: flex; gap: .8cqw; }
.nsx-sage input { flex: 1; font: inherit; font-size: 1.2cqw; padding: .8cqw 1cqw; border-radius: .6cqw; border: 1px solid #3a3b3e; background: #120607; color: #9fe8ff; }
.nsx-sage input::placeholder { color: rgba(159,232,255,.45); }
.nsx-list { overflow: auto; display: flex; flex-direction: column; gap: .3cqw; min-height: 6cqw; }
.nsx-pl { display: flex; justify-content: space-between; text-align: left; font: inherit; font-size: 1.15cqw; padding: .7cqw 1cqw; border: 0; border-radius: .5cqw; background: rgba(255,255,255,.04); color: #e6e6e2; cursor: pointer; }
.nsx-pl:hover, .nsx-pl:focus-visible { background: rgba(159,232,255,.12); outline: none; }
.nsx-pl span { color: #9a9a96; }
.nsx-pl.on { color: #9fe8ff; box-shadow: inset .25cqw 0 0 #9fe8ff; }   /* VIDEO/AUX's menu: the game on now */
.nsx-games { width: 40cqw; }
.nsx-wait { color: #9a9a96; font-size: 1.1cqw; margin: 0; }
.nsx-x { align-self: flex-end; }

/* layout: groups centred on their control (label above, legend below), rows on one baseline */
.nsx-left { align-items: flex-start; }
.nsx-group { display: flex; flex-direction: column; align-items: center; gap: .55cqw; min-width: 7cqw; }
.nsx-group .lbl { text-align: center; }
.nsx-standby { display: inline-flex; align-items: center; gap: .45cqw; white-space: nowrap; }
.nsx-model { margin: 1.8cqw 0 1.4cqw; }
.nsx-row label { flex: 1; min-width: 0; justify-content: flex-end; }
.nsx-row label > span { min-height: 2.4cqw; display: flex; align-items: flex-end; justify-content: center; }
.nsx-row .kar > span { display: block; text-align: center; min-height: 0; }
.nsx-sources label > span { min-height: 1.1cqw; }
.nsx-pair { display: inline-flex; align-items: center; gap: .9cqw; }
.nsx-tb { justify-content: space-between; gap: 1.1cqw; }   /* (tighter by 0.3: the DOLBY NR key joined the row; the unit's size is the same) */
.nsx-tb .nsx-super { flex: 1; }
.nsx-ddp > span { text-align: right; line-height: 1.15; }
.nsx-open { gap: 1.2cqw; }
.nsx-ddp > span { white-space: nowrap; margin-right: 1cqw; }

/* the stage: the unit with its two speakers (they hide when there isn't room) */
.nsx-spk { --cone: 0; }
.nsx-stage { --cone: 0; position: relative; container-type: inline-size; display: flex; align-items: stretch; justify-content: center; gap: 1.2cqw; width: min(2200px, 100%); }
.nsx-stage > .nsx { width: 58cqw; flex: none; }
.nsx-spk { flex: none; align-self: stretch; aspect-ratio: 470 / 780; display: flex; align-items: stretch; filter: drop-shadow(0 1.6cqw 2.4cqw rgba(0,0,0,.55)); }
.nsx-spk svg { width: 100%; height: 100%; display: block; }
.nsx-spk-logo { pointer-events: all; cursor: pointer; }   /* the "aiwa" badge: the remote back */
.nsx-cloth { transform-box: fill-box; transform-origin: 50% 45%; transform: scale(calc(1 + var(--cone) * .005)); }   /* the woofer behind the cloth */
@container (max-width: 900px) { .nsx-spk { display: none; } .nsx-stage > .nsx { width: 100cqw; } }
body.aiwa-window .nsx-stage { width: 100vw; }
body.aiwa-window .nsx { width: auto; }
body.aiwa-window .nsx-stage > .nsx { width: 58cqw; }
@media (prefers-reduced-motion: reduce) { .nsx-cloth { transform: none; } }

/* the unit's print: one amber gold (aiwa logo, model badge, gold legends: his photos in good light), a little metallic */
.nsx-logo, .nsx-model b, .nsx .gold, .nsx-grille b { text-shadow: 0 .06cqw 0 rgba(0,0,0,.55), 0 -.04cqw 0 rgba(255,245,220,.18); }

/* the cassette decks: doors that tilt open on their bottom hinge (■/▲) and push closed; no tapes, so the CD plays on */
.nsx-tape { display: flex; flex-direction: column; gap: 1cqw; padding-top: 2cqw !important; padding-bottom: 1.6cqw !important; }
.nsx-decks { display: grid; grid-template-columns: 1fr 1fr; gap: .5cqw; }
.nsx-deck { position: relative; height: 22cqw; border-radius: .5cqw; perspective: 80cqw; }   /* the cassette section is about as tall as the amplifier on his unit */
.nsx-well { position: absolute; inset: 0; border-radius: .5cqw; overflow: hidden;   /* the empty bay behind the door */
  background: linear-gradient(180deg, #2a2b2e 0%, #3c3d41 35%, #2d2e31 100%); box-shadow: inset 0 .6cqw 1.2cqw rgba(0,0,0,.85); }   /* the bay: grey moulding, like his photo of it open */
.nsx-well i { position: absolute; top: 46%; width: 2.4cqw; height: 2.4cqw; margin-top: -1.2cqw; border-radius: 50%;   /* the reel spindles */
  background: radial-gradient(circle, #7c7e84 0 22%, #2a2b2e 26% 60%, #151618 64%); box-shadow: 0 0 0 .15cqw #000; }
.nsx-well i:first-child { left: 33%; } .nsx-well i:nth-child(2) { right: 33%; }
.nsx-well em { position: absolute; left: 44%; right: 44%; top: 38%; height: 16%; border-radius: .2cqw; background: #1c1d20; }   /* the head window */
.nsx-door { position: absolute; inset: 0; border: 0; padding: 0; cursor: default; border-radius: .5cqw; transform-origin: 50% 100%;
  transition: transform .42s cubic-bezier(.2, .8, .25, 1.05), filter .42s;
  background: linear-gradient(180deg, #34353a 0%, #25262a 16%, #1d1e21 100%); box-shadow: inset 0 1px 0 rgba(255,255,255,.12), inset 0 -2px 3px rgba(0,0,0,.6); }
.nsx-tw { position: absolute; left: 5%; right: 5%; top: 30%; height: 26%; border-radius: .4cqw;   /* the smoked cassette window */
  background: linear-gradient(170deg, rgba(255,255,255,.12) 0%, rgba(255,255,255,.02) 40%, rgba(0,0,0,0) 41%), linear-gradient(180deg, #0c0c0e, #17181b);
  box-shadow: inset 0 0 0 .15cqw #0a0a0b, inset 0 .3cqw .6cqw rgba(0,0,0,.8); }
.nsx-deck.open .nsx-door { transform: rotateX(-58deg); filter: brightness(1.25); cursor: pointer; box-shadow: inset 0 1px 0 rgba(255,255,255,.2), 0 1.2cqw 1.5cqw rgba(0,0,0,.6); }   /* tilted open toward you, on its bottom hinge */
.nsx-tlabels { display: grid; grid-template-columns: 1.2fr 1fr 1fr 1.2fr; align-items: end; font-size: 1.05cqw; font-weight: 600; letter-spacing: .05em; color: #dcdcd8; }
.nsx-tlabels span:nth-child(2) { text-align: right; padding-right: 1cqw; } .nsx-tlabels span:nth-child(3) { padding-left: 1cqw; }
.nsx-tlabels .big { font-size: 1.35cqw; text-align: right; }
.nsx-sync { display: flex; flex-direction: column; gap: .2cqw; }
.nsx-sync small { font-size: .9cqw; color: #dcdcd8; } .nsx-sync b { font-size: 1.35cqw; font-weight: 700; }
.nsx-tkeys { display: grid; grid-template-columns: 1fr 1fr; gap: 2cqw; }
.nsx-tkeys > div { display: flex; gap: .35cqw; }
.nsx-tkeys > div:last-child { justify-content: flex-end; }
.nsx-key.tk { flex: 1; min-width: 0; height: 3.6cqw; border-radius: .4cqw; font-size: 1cqw; padding: 0; }
.nsx-key[data-k="rec"] i { color: #e0412f; }
@media (prefers-reduced-motion: reduce) { .nsx-door { transition: none; } }
/* proportions from his photos (unit width = 1): CD changer 0.20, amplifier 0.38, T-BASS strip 0.07, cassette 0.33; the
   speakers stand the full height of the unit at the product photo's 470 × 780, right beside it */
.nsx-cd { min-height: 20cqw; box-sizing: border-box; align-content: space-between; }
.nsx-amp { min-height: 38cqw; box-sizing: border-box; }
.nsx-tb { min-height: 7cqw; box-sizing: border-box; }
.nsx-tape { min-height: 33cqw; box-sizing: border-box; justify-content: space-between; }
.nsx-stage { gap: 0; align-items: stretch; }   /* the speakers against the radio, as they sit together: only their own rounded corners between them */
.nsx-stage > .nsx, body.aiwa-window .nsx-stage > .nsx { width: 45cqw; }
.nsx-spk { width: 26.6cqw; aspect-ratio: auto; }
.nsx-spk svg { height: 100%; }

/* ---- finish: material, light, depth (the 412 plug-ins' look) ---- */
/* the plastic: a fine moulded texture (procedural noise) over every section */
.nsx > section::before { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; mix-blend-mode: overlay; opacity: .55;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='220' height='220'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 .5 0 0 0 0 .5 0 0 0 0 .5 0 0 0 .9 0'/></filter><rect width='220' height='220' filter='url(%23n)'/></svg>");
  background-size: 220px 220px; }
/* one light, from the top left, across the whole unit; the far corner falls into shade */
.nsx::after { content: ""; position: absolute; inset: 0; pointer-events: none; border-radius: 1.2cqw; z-index: 3;
  background: radial-gradient(120% 90% at 18% 0%, rgba(255,250,240,.07) 0%, rgba(255,250,240,0) 45%, rgba(0,0,0,.22) 100%); }
/* the seams between the parts: deep and dark, a lit edge on each part's top lip and a shaded bottom */
.nsx { gap: .45cqw; background: #070708; padding: .3cqw; border-radius: 1.4cqw; }
.nsx > section { box-shadow: inset 0 .12cqw 0 rgba(255,255,255,.16), inset 0 -.3cqw .5cqw rgba(0,0,0,.65), inset .12cqw 0 0 rgba(255,255,255,.05), inset -.12cqw 0 0 rgba(0,0,0,.4), 0 .2cqw .4cqw rgba(0,0,0,.8); }
/* the keys: moulded rubber with a soft top highlight, a darker belly and a contact shadow on the panel */
.nsx-key { background: linear-gradient(180deg, #4d4e53 0%, #35363a 22%, #26272a 60%, #1c1d1f 100%);
  box-shadow: inset 0 .1cqw 0 rgba(255,255,255,.28), inset 0 -.12cqw .1cqw rgba(0,0,0,.6), 0 0 0 .08cqw #050506, 0 .28cqw .45cqw rgba(0,0,0,.75), 0 .06cqw .1cqw rgba(0,0,0,.9); }
.nsx-key i { text-shadow: 0 -.05cqw 0 rgba(0,0,0,.7); }
.nsx-key.down, .nsx-key:active { background: linear-gradient(180deg, #2a2b2e, #1f2022); box-shadow: inset 0 .15cqw .3cqw rgba(0,0,0,.8), 0 0 0 .08cqw #050506; }
/* the print: crisp, printed flat on the plastic */
.nsx .lbl, .nsx-sources span, .nsx-row span, .nsx-tlabels, .nsx-ddp > span, .nsx-open .nsx-key i { color: #e8e7e2; font-family: "Helvetica Neue", Helvetica, Arial, sans-serif; font-weight: 700; letter-spacing: .07em; -webkit-font-smoothing: antialiased; }
.nsx-super { font-family: "Helvetica Neue", Helvetica, Arial, sans-serif; font-weight: 800; color: #eeede8; letter-spacing: .16em; }
/* the display window: a deep bezel, the glass set in */
.nsx-window { box-shadow: inset 0 .4cqw .8cqw rgba(0,0,0,.95), inset 0 -.1cqw 0 rgba(255,255,255,.08), 0 .12cqw 0 rgba(255,255,255,.1), 0 -.1cqw .2cqw rgba(0,0,0,.6); }
/* the power key: a square cap with a bevel */
.nsx-power { background: linear-gradient(180deg, #5a5b60, #36373b 40%, #242528); box-shadow: inset 0 .12cqw 0 rgba(255,255,255,.3), inset 0 0 0 .3cqw #1a1b1d, 0 .3cqw .5cqw rgba(0,0,0,.8); }

/* the cassette in each deck, and the door: frame pieces round a see-through smoked window */
.nsx-cass { position: absolute; left: 7%; right: 7%; top: 16%; height: 74%; width: 86%; filter: drop-shadow(0 .3cqw .4cqw rgba(0,0,0,.7)); }
.nsx-well i, .nsx-well em { display: none; }   /* the spindles are inside the tape now */
.nsx-door { background: none !important; }
.nsx-door .dt, .nsx-door .db, .nsx-door .dl, .nsx-door .dr { position: absolute; background: linear-gradient(180deg, #34353a 0%, #26272b 40%, #1d1e21 100%); }
.nsx-door .dt { left: 0; right: 0; top: 0; height: 30%; border-radius: .5cqw .5cqw 0 0; box-shadow: inset 0 .1cqw 0 rgba(255,255,255,.14); }
.nsx-door .db { left: 0; right: 0; bottom: 0; top: 56%; border-radius: 0 0 .5cqw .5cqw; background: linear-gradient(180deg, #232427, #1b1c1f); }
.nsx-door .dl { left: 0; width: 5%; top: 30%; bottom: 44%; } .nsx-door .dr { right: 0; width: 5%; top: 30%; bottom: 44%; }
.nsx-tw { background: linear-gradient(172deg, rgba(255,255,255,.14) 0%, rgba(255,255,255,.03) 38%, rgba(255,255,255,0) 39%), rgba(18,16,18,.55) !important;
  box-shadow: inset 0 0 0 .15cqw #0a0a0b, inset 0 .25cqw .5cqw rgba(0,0,0,.6) !important; backdrop-filter: saturate(.7); }

/* the tape's hubs: turning while it plays (a hub turns about once in 2 s at play speed), faster cueing, backwards reviewing */
/* (turned by the page each frame, at the tape's speed over each reel's radius: view-aiwa.js reels()) */

.nsx-stage > .nsx, .nsx-stage > .nsx-spk { position: relative; }
.nsx-stage > .nsx::before, .nsx-stage > .nsx-spk::before { content: ""; position: absolute; left: 4%; right: 4%; bottom: -1.2cqw; height: 2cqw; z-index: -1;
  background: radial-gradient(50% 50% at 50% 50%, rgba(0,0,0,.9), rgba(0,0,0,0)); filter: blur(.3cqw); }
.nsx-stage > .nsx { filter: drop-shadow(-1cqw 1.4cqw 2.2cqw rgba(0,0,0,.6)); }
.nsx-spk { filter: drop-shadow(-1cqw 1.4cqw 2.2cqw rgba(0,0,0,.6)); }

/* the moulding lit for real (SVG lighting): every static part of the panel; the live display stays out of it */
.nsx-defs { position: absolute; width: 0; height: 0; overflow: hidden; }
/* not the cassette decks: their reels turn every frame, and anything moving under this filter re-lights the whole
   section each frame (the GPU went to 400%+, and WebKit dropped the
   knob's whole column). The volume knob is left out for the same reason: it turns. */
.nsx-cd, .nsx-tb, .nsx-tape > :not(.nsx-decks), .nsx-left, .nsx-right > :not(.nsx-knob), .nsx-sources, .nsx-row { filter: url(#nsx-relief); }

/* the CD changer's tray door: a long raised panel with its lip, across the middle */
.nsx-cd { grid-template-rows: auto 1fr auto; }
.nsx-traydoor { cursor: grab; grid-column: 1 / -1; align-self: center; height: 5.2cqw; margin: .6cqw 0; border-radius: .6cqw;
  background: linear-gradient(180deg, #2f3034 0%, #27282b 45%, #1f2023 100%);
  box-shadow: inset 0 .12cqw 0 rgba(255,255,255,.14), inset 0 -.15cqw .2cqw rgba(0,0,0,.6), 0 0 0 .18cqw #0c0c0d, 0 .25cqw .5cqw rgba(0,0,0,.7); position: relative; }
.nsx-traydoor::after { content: ""; position: absolute; left: 3%; right: 3%; bottom: .7cqw; height: .25cqw; border-radius: .2cqw; background: #0d0d0e; box-shadow: 0 .08cqw 0 rgba(255,255,255,.08); }   /* the finger lip */
.nsx-tray { border-top: 0 !important; padding-top: 0 !important; }
/* the amplifier: the display up top, the transport rows along the bottom (as on the unit), no dead space */
.nsx-mid { justify-content: space-between; height: 100%; }
.nsx-amp { align-items: stretch; }
.nsx-right { justify-content: space-between; height: 100%; }
.nsx-left { justify-content: space-between; height: 100%; }
/* the doors open slowly and smoothly (damped, like the real ones); pushed shut, they close quickly */
.nsx-door { transition: transform .32s cubic-bezier(.4, 0, .6, 1), filter .32s; }
.nsx-deck.open .nsx-door { transition: transform 1.6s cubic-bezier(.22, .61, .36, 1), filter 1.6s; }

/* ---- proportions measured off his photo (fractions of the amplifier's width) ---- */
.nsx-amp { grid-template-columns: 16cqw 1fr 24cqw; gap: 1.4cqw; padding: 1.2cqw 1.6cqw 1.2cqw; }
.nsx-power { width: 8cqw; height: 5.6cqw; border-radius: .5cqw; }                 /* POWER: 0.083 × 0.058 */
.nsx-model b { font-size: 2.6cqw; } .nsx-model span { font-size: 1.1cqw; }          /* NSX-3200: 0.14 wide */
.nsx-jack { width: 5cqw; height: 5cqw; }                                            /* PHONES: 0.058 */
.nsx-knob { width: 22cqw; height: 22cqw; margin-top: .4cqw; }                       /* VOLUME ring: 0.23, dome 0.18 */
.nsx-knob::before, .nsx-knob i { inset: 11%; }
.nsx-minmax { width: 22cqw; font-size: 1cqw; }
.nsx-right .lbl:first-child { align-self: flex-end; margin-right: 2cqw; }           /* VOLUME sits top right of the knob */
.nsx-window { padding: 1cqw 1cqw .7cqw; display: flex; flex-direction: column; gap: .7cqw; }   /* display 0.55 × 0.23, source keys in its lower lip */
.nsx-display { aspect-ratio: 400 / 105; }
.nsx-window .nsx-sources { gap: 1.2cqw; padding: 0 2cqw; }
.nsx-window .nsx-sources span { color: #d8d7d2; }
.nsx-window .nsx-sources .nsx-key { height: 1.3cqw; }
.nsx-row { justify-content: flex-start; gap: 1.4cqw; align-items: flex-end; }
.nsx-row > label { flex: none; }
.nsx-bar { display: flex; gap: 0; }
.nsx-bar label { flex: none; display: flex; flex-direction: column; align-items: center; gap: .35cqw; }
.nsx-bar .nsx-key { min-width: 7cqw; height: 2.6cqw; border-radius: 0; }
.nsx-bar label.w2 .nsx-key { min-width: 13cqw; }
.nsx-bar label:first-child .nsx-key { border-radius: 1.3cqw 0 0 1.3cqw; } .nsx-bar label:last-child .nsx-key { border-radius: 0 1.3cqw 1.3cqw 0; }
.nsx-bar label + label .nsx-key { box-shadow: inset .1cqw 0 0 #0b0b0c, inset 0 .1cqw 0 rgba(255,255,255,.22), 0 .28cqw .45cqw rgba(0,0,0,.75); }
.nsx-key.dot { width: 2.6cqw; height: 2.6cqw; min-width: 2.6cqw; }
.nsx-eq { gap: .5cqw; } .nsx-key.pill { min-width: 6.6cqw; height: 2.3cqw; }
.nsx-amp { grid-template-columns: 15cqw minmax(0, 1fr) 22cqw; gap: 1.2cqw; }
.nsx-right { align-items: center; min-width: 0; }
.nsx-knob { width: 20cqw; height: 20cqw; }
.nsx-minmax { width: 20cqw; }
.nsx-eq { justify-content: center; } .nsx-key.pill { min-width: 6cqw; }
.nsx-right .lbl:first-child { align-self: flex-end; margin-right: 1cqw; }

/* the bottom row fits its column (KARAOKE clear of the equalizer); the equalizer's label centred over its keys */
.nsx-bar .nsx-key { min-width: 5.6cqw; } .nsx-bar label.w2 .nsx-key { min-width: 10cqw; }
.nsx-row { gap: 1cqw; }
.nsx-row .kar span { font-size: .9cqw; } .nsx-row .kar small { font-size: .7cqw; }
.nsx-right .lbl.sm { font-size: 1cqw; text-align: center; white-space: nowrap; }

/* the speakers move with the music: the cloth bellies out over the woofer, which shows through it a little more on a hit */
.nsx-cloth { transform-origin: 50% 58%; transform: scale(calc(1 + var(--cone) * .022)); }
.nsx-woofer { transform-box: fill-box; transform-origin: 50% 50%; transform: scale(calc(.94 + var(--cone) * .1)); opacity: calc(.35 + var(--cone) * .9); }
@media (prefers-reduced-motion: reduce) { .nsx-cloth, .nsx-woofer { transform: none; } }

/* the cassettes fill their decks: the hubs right behind the door's window, as on the unit */
.nsx-cass { left: 50%; right: auto; top: 2%; height: 94%; width: auto; aspect-ratio: 300 / 191; transform: translateX(-50%); max-width: 96%; }

/* turning a tape over: open the door, click the tape */
.nsx-flip { position: absolute; inset: 8% 6%; border: 0; background: none; padding: 0; cursor: pointer; z-index: 0; pointer-events: none; }
.nsx-deck.open .nsx-flip { pointer-events: auto; z-index: 3; }
.nsx-deck.open .nsx-door { z-index: 4; }   /* open, the door is over the tape: a press on any of it shuts the door; the tape is grabbed only above it */
.nsx-deck.open .nsx-flip:hover + * , .nsx-deck.open .nsx-flip:focus-visible { outline: none; }
.nsx-cass { transition: transform .2s ease-in; }
.nsx-cass.flip { transform: translateX(-50%) scaleX(0); }
.nsx-cass.flip-in { transform: translateX(-50%) scaleX(0); transition: none; }

/* a tape in your hand: follows the pointer, a little tilted, a soft shadow; let go away from a deck and it falls */
.nsx-held { position: fixed; z-index: 50; pointer-events: none; transform: translate(-50%, -50%) rotate(-6deg); filter: drop-shadow(0 18px 24px rgba(0,0,0,.6)); }
.nsx-held .nsx-cass { position: static; transform: none; width: 100%; height: auto; max-width: none; filter: none; }
.nsx-held.drop { transition: transform .6s cubic-bezier(.5,0,.9,.4), opacity .6s; transform: translate(-50%, 60vh) rotate(38deg); opacity: 0; }
body.nsx-holding, body.nsx-holding * { cursor: grabbing !important; }
.nsx-deck.open .nsx-flip { cursor: grab; }
.nsx-deck.empty.open .nsx-flip { cursor: copy; }

/* the woofer behind the cloth pushes and pulls with the bass, plainly visible (not cartoonish); the cloth gives with it */
.nsx-cloth { transform-origin: 50% 65%; transform: scale(calc(1 + var(--cone) * .035)); }
.nsx-woofer { transform-box: fill-box; transform-origin: 50% 50%; transform: scale(calc(.94 + var(--cone) * .16)); }
.nsx-drivers { opacity: calc(.42 + var(--cone) * .4); }
/* the running deck's lamp: a warm bulb in the bay lights the tape behind the smoked window, so its art and the reels
   winding show (the stopped deck stays dark). Fades up and down like a filament. */
.nsx-well::after { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity .6s ease;
  background: radial-gradient(ellipse 60% 70% at 50% 18%, rgba(255,214,150,.30), rgba(255,190,120,.10) 55%, transparent 80%); mix-blend-mode: screen; }
.nsx-cass { transition: transform .2s ease-in, filter .6s ease; }
.nsx-deck.lit .nsx-well::after { opacity: 1; }
.nsx-deck.lit .nsx-cass { filter: drop-shadow(0 .3cqw .4cqw rgba(0,0,0,.7)) brightness(1.18) saturate(1.1); }
.nsx-deck.lit .nsx-tw { background: linear-gradient(172deg, rgba(255,255,255,.16) 0%, rgba(255,255,255,.04) 38%, rgba(255,255,255,0) 39%), rgba(40,30,22,.22) !important; transition: background .6s; }
/* PHONES: the jack is a key (click: plug in; double-click: unplug); the coiled cord is drawn over the whole stage */
button.nsx-jack { border: 0; padding: 0; cursor: pointer; }
.nsx-cord { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 5; }

/* the reels and hubs: an overlay exactly over the cassette, no filters (they turn every frame) */
.nsx-cass-reels { position: absolute; left: 50%; right: auto; top: 2%; height: 94%; width: auto; aspect-ratio: 300 / 191; max-width: 96%;
  transform: translateX(-50%); pointer-events: none; transition: transform .2s ease-in; }
.nsx-cass-reels.flip, .nsx-cass-reels.flip-in { transform: translateX(-50%) scaleX(0); }
.nsx-cass-reels.flip-in { transition: none; }
/* (the held tape stays position: fixed, under the pointer: a "position: relative" here put it at the foot of the page,
   off-screen, so a tape you took out was never seen in your hand) */
.nsx-held { perspective: 1100px; }
.nsx-tape3d { position: relative; transform-style: preserve-3d; }
.nsx-tape3d .face { position: relative; backface-visibility: hidden; -webkit-backface-visibility: hidden; }
.nsx-tape3d .face { position: absolute; inset: 0; }
.nsx-tape3d .edge { position: absolute; display: block; filter: brightness(.62); box-shadow: inset 0 0 0 1px rgba(0,0,0,.25); }
.nsx-tape3d .edge.t, .nsx-tape3d .edge.b { background-image: repeating-linear-gradient(90deg, rgba(255,255,255,.06) 0 2px, transparent 2px 7px) !important; }
/* a tape's hit on the stereo: scrapes (light scratches, a dull patch), on the cloth softer */
.nsx-scuff { position: absolute; z-index: 5; pointer-events: none; width: calc(3.4cqw * var(--s, 1)); height: calc(1.5cqw * var(--s, 1));
  transform: translate(-50%, -50%) rotate(var(--r, 0deg)); border-radius: 50%; opacity: .75;
  background: repeating-linear-gradient(8deg, transparent 0 .18cqw, rgba(220,222,228,.42) .18cqw .26cqw, transparent .26cqw .5cqw),
    radial-gradient(closest-side, rgba(200,200,205,.22), transparent);
  -webkit-mask: radial-gradient(closest-side, #000 55%, transparent); mask: radial-gradient(closest-side, #000 55%, transparent); }
.nsx-scuff.cloth { opacity: .5; background: repeating-linear-gradient(8deg, transparent 0 .2cqw, rgba(170,170,176,.38) .2cqw .3cqw, transparent .3cqw .55cqw); }
.nsx-held .nsx-cass-reels { left: 0; top: 0; width: 100%; height: auto; max-width: none; transform: none; }
/* Performance: filters on anything that changes every frame are redone every frame (the display redraws 60×/s
   inside the unit; the cones move inside the speakers; the reels turn behind the deck windows): WebKit's GPU sat
   at 380%. The shadows are box-shadows instead (the same look on these shapes, and drawn once); the deck windows
   lose their backdrop blur. Measured in WebKit: see NOTES. */
.nsx, .nsx-stage > .nsx { filter: none; box-shadow: -1cqw 1.4cqw 2.2cqw rgba(0,0,0,.6); }
.nsx-spk, .nsx-stage > .nsx-spk { filter: none; border-radius: 1cqw; box-shadow: -1cqw 1.4cqw 2.2cqw rgba(0,0,0,.6); }
.nsx-tw { backdrop-filter: none !important; -webkit-backdrop-filter: none !important; }
.nsx-sources { filter: none; }   /* they sit in the display's lip, over the canvas that redraws every frame */

/* the woofer behind the cloth: a layer of its own the GPU only scales (moving it inside the speaker's SVG repainted
   both whole speakers every frame of music: 395% GPU in WebKit, 1.5% without), between the still speaker drawing and
   the still cloth over it. Circles from the drawing (centre 235,430 of 470×780; surround r150, cone r128, cap r40). */
.nsx-spk { position: relative; }
.nsx-spk-over { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.nsx-woof { position: absolute; left: 18.09%; top: 35.9%; width: 63.83%; height: 38.46%; border-radius: 50%; pointer-events: none;
  background: radial-gradient(circle closest-side, #46474c 0, #2a2b2f 12%, #1f2023 26.7%, #17181b 30%, #202125 72%, #0c0c0e 85.3%, #0e0e10 86%, #2c2d31 93%, #0d0d0f 98%, rgba(0,0,0,0) 100%);
  opacity: calc(.26 + var(--cone) * .3); transform: scale(calc(.94 + var(--cone) * .16)); will-change: transform, opacity; }
.nsx-cloth, .nsx-woofer, .nsx-drivers { transform: none !important; }

/* the Aiwa window: the unit as big as fits both ways, reflowed continuously while the window is resized */
body.aiwa-window .nsx-stage { width: min(100vw, calc(100vh * var(--aiwa-r, 2.2))) !important; }
/* ½ SPEED and PITCH where the MIC jack and the MIC MIXING knob were, at exactly their size and look (the radio's layout
   untouched): the button a jack-sized socket that lights amber, the knob the same ridged knob with a pointer */
.nsx-half { display: inline-block; width: 2cqw; height: 2cqw; border: 0; padding: 0; border-radius: 50%; cursor: pointer;
  background: radial-gradient(circle, #000 32%, #2b2c2e 36%, #535457 60%, #1b1c1e 72%); }
.nsx-half.fast { background: radial-gradient(circle, #ff5a3c 30%, #8a1d10 40%, #535457 60%, #1b1c1e 72%); box-shadow: 0 0 .5cqw rgba(255,90,60,.55); }   /* 2×: red */
.nsx-half.lit { background: radial-gradient(circle, #f2c14e 30%, #8a5a10 40%, #535457 60%, #1b1c1e 72%); box-shadow: 0 0 .5cqw rgba(242,193,78,.55); }
.nsx-pitch { --rot: 0deg; position: relative; cursor: ns-resize; outline: none; }
.nsx-pitch i { position: absolute; left: 50%; top: 6%; width: .2cqw; height: 40%; margin-left: -.1cqw; border-radius: .1cqw; background: #e8e7e2;
  transform-origin: 50% 110%; transform: rotate(var(--rot)); }
/* nothing on the Aiwa selects or drags as an image: a click-drag on a speaker highlighted it */
body.aiwa-window, body.aiwa-window * { -webkit-user-select: none; user-select: none; -webkit-user-drag: none; -webkit-touch-callout: none; }
body.aiwa-window input, body.aiwa-window textarea { -webkit-user-select: text; user-select: text; }
/* T-BASS (warm red, like the bar's) and SUBZ (blue): lit while on, the glow swelling with how hard each is working */
.nsx-key.long[data-k="tbass"] { --glow: 255,60,40; } .nsx-key.long[data-k="subs"] { --glow: 60,140,255; }
.nsx-key.long.fx-on { box-shadow: inset 0 0 0 1px rgba(var(--glow),.55), 0 0 calc(.3cqw + 1.4cqw * var(--lvl, 0)) calc(.1cqw * var(--lvl, 0)) rgba(var(--glow), calc(.35 + .5 * var(--lvl, 0))), 0 .25cqw .4cqw rgba(0,0,0,.7);
  background-image: linear-gradient(rgba(var(--glow), calc(.10 + .25 * var(--lvl, 0))), rgba(var(--glow), calc(.10 + .25 * var(--lvl, 0)))); transition: box-shadow 60ms linear; }

/* the album's case, taken out to read, built to its real size in mm (--mm: px a mm, set on it; sizes and sources in
   view-aiwa.js): a CD jewel case, 142 × 125 × 10.4, or a cassette's Norelco box, 69.6 × 109 × 16.8, at 1.6× a tape's
   scale (it's in front of you). Layers front to back: the lid's clear plastic (its sheen, moulding, scratches and
   cracks), the booklet or J-card under it, the tray (the disc on its hub, the tape on its posts), the clear back with
   the tray card or the J-card's flap behind it. Only the scene moves it: no transitions on it, ever (they fought the
   per-frame position and turn the simulation writes) */
.nsx-held.case { transform: translate(-50%, -50%) rotate(-4deg); filter: drop-shadow(0 22px 30px rgba(0,0,0,.6)); }
.nsx-held.flying { transition: none !important; }
.nsx-tape3d.kase .face { background: transparent; }
.nsx-tape3d.kase .lid { position: absolute; inset: 0; transform-style: preserve-3d; transform: translateZ(var(--hz, 0px)); transform-origin: 0 50%;
  transition: transform .6s cubic-bezier(.3,.75,.25,1); }
/* open (double-click where it lies; it stays open in your hand): the lid swings over on its hinge down the left side,
   ~178° (the real ones stop just short of flat); the whole thing turns about the hinge */
.nsx-tape3d.kase.open { transform-origin: 0 50%; }
.nsx-tape3d.open .lid.cd { transform: translateZ(var(--hz, 0px)) rotateY(-178deg); }
.nsx-tape3d.open .lid.tape { transform: translateZ(var(--hz, 0px)) rotateY(-178deg); }
.nsx-tape3d.kase .inside { position: absolute; inset: 0; backface-visibility: hidden; -webkit-backface-visibility: hidden; border-radius: calc(var(--mm) * 1.2); overflow: hidden; }

/* clear polystyrene: a faint tint, bright edges where the light catches the moulding, a broad sheen across it */
.pl { position: absolute; inset: 0; border-radius: calc(var(--mm) * 1.2); overflow: hidden;
  background: linear-gradient(160deg, rgba(232,238,246,.07), rgba(232,238,246,.02) 45%, rgba(232,238,246,.05));
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.55), inset 0 0 0 calc(var(--mm) * .9) rgba(220,230,240,.12), inset 0 0 calc(var(--mm) * 3) rgba(255,255,255,.07); }
.pl .sheen { position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(118deg, rgba(255,255,255,0) 6%, rgba(255,255,255,.24) 14%, rgba(255,255,255,.05) 27%, rgba(255,255,255,0) 50%, rgba(255,255,255,.08) 68%, rgba(255,255,255,0) 80%); }
.pl .rim { position: absolute; inset: 0; border-radius: inherit; border: calc(var(--mm) * 1.3) solid rgba(225,233,242,.10);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.28); }
.pl.cd .rim { border-width: calc(var(--mm) * .8); }
/* a jewel case's lid: the hinge strip down the left (8 mm, fine moulded ridges), its two knuckles top and bottom, the
   four tabs that hold the booklet */
.pl.cd .hs { position: absolute; left: 0; top: 0; bottom: 0; width: calc(var(--mm) * 8);
  background: repeating-linear-gradient(90deg, rgba(255,255,255,.2) 0 1px, rgba(255,255,255,.02) 1px calc(var(--mm) * .65)), linear-gradient(90deg, rgba(205,215,226,.28), rgba(205,215,226,.1));
  border-right: 1px solid rgba(255,255,255,.4); }
.pl.cd .kn { position: absolute; left: 0; width: calc(var(--mm) * 6); height: calc(var(--mm) * 13);
  background: linear-gradient(90deg, rgba(255,255,255,.18), rgba(255,255,255,.5) 45%, rgba(210,220,230,.2)); box-shadow: inset 0 0 0 1px rgba(255,255,255,.45); }
.pl.cd .kn.t { top: 0; border-radius: calc(var(--mm) * 1.2) calc(var(--mm) * 2) calc(var(--mm) * 2) 0; }
.pl.cd .kn.b { bottom: 0; border-radius: 0 calc(var(--mm) * 2) calc(var(--mm) * 2) calc(var(--mm) * 1.2); }
.pl.cd .tab { position: absolute; width: calc(var(--mm) * 2.4); height: calc(var(--mm) * 9); border-radius: calc(var(--mm) * .7);
  background: rgba(255,255,255,.16); box-shadow: inset 0 0 0 1px rgba(255,255,255,.4); }
.pl.cd .tab.r1 { right: calc(var(--mm) * .8); top: calc(var(--mm) * 24); } .pl.cd .tab.r2 { right: calc(var(--mm) * .8); bottom: calc(var(--mm) * 24); }
.pl.cd .tab.l1 { left: calc(var(--mm) * 17.6); top: calc(var(--mm) * 24); } .pl.cd .tab.l2 { left: calc(var(--mm) * 17.6); bottom: calc(var(--mm) * 24); }
/* a Norelco box's lid: its raised rim, the two pivots at the ends of the spine (left) */
.pl.tape .pv { position: absolute; left: calc(var(--mm) * .6); width: calc(var(--mm) * 5.5); height: calc(var(--mm) * 5.5); border-radius: 50%;
  background: radial-gradient(circle, rgba(255,255,255,.4) 0 28%, rgba(205,215,226,.16) 31% 58%, rgba(255,255,255,.45) 61% 67%, rgba(255,255,255,0) 70%); }
.pl.tape .pv.t { top: calc(var(--mm) * .6); } .pl.tape .pv.b { bottom: calc(var(--mm) * .6); }
/* scratches and cracks (paintScratches): hairlines of light with a faint wider sheen; a crack bright, with the dark
   of its broken edge beside it. Hairline widths stay hairlines at any size */
.pl svg.wear { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; }
.pl svg.wear path, .pl svg.wear polyline { fill: none; vector-effect: non-scaling-stroke; stroke-linecap: round; stroke-linejoin: round; }
.pl svg.wear .sc { stroke: #f4f8ff; stroke-width: .6px; }
.pl svg.wear .sh { stroke: #cfe0ff; stroke-width: 2.4px; }
.pl svg.wear .ck { stroke: rgba(255,255,255,.88); stroke-width: 1.1px; }
.pl svg.wear .cs { stroke: rgba(10,14,20,.45); stroke-width: 2.6px; }
.pl.inner { transform: scaleX(-1); }   /* (the lid seen from inside: the same plastic, its moulding and scratches, mirrored) */

/* under the lid: a jewel case's booklet, 120 × 120 mm, right of the hinge strip; a box's J-card front panel,
   65.1 × 101.6 mm, against the spine wall */
.kase .bkf { position: absolute; left: calc(var(--mm) * 19); top: calc(var(--mm) * 2.5); width: calc(var(--mm) * 120); height: calc(var(--mm) * 120);
  overflow: hidden; background: #e9e7e1; box-shadow: 0 0 0 1px rgba(0,0,0,.35); }
.kase .bkf.loose { left: 0; top: 0; width: 100%; height: 100%; }
.kase .jf { position: absolute; left: calc(var(--mm) * 2.2); top: calc(var(--mm) * 3.7); width: calc(var(--mm) * 65.1); height: calc(var(--mm) * 101.6);
  overflow: hidden; background: #efece4; box-shadow: 0 0 0 1px rgba(0,0,0,.3); }
.kase .bkf img, .kase .jf img, .kase .dp img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.kase .noart { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: center; align-items: center; gap: .4em; padding: 10%;
  background: linear-gradient(160deg, #3a3f4a, #16181d); color: #eee; text-align: center; font: 800 calc(var(--mm) * 7) "Helvetica Neue", Helvetica, Arial, sans-serif; }
.kase .noart span { font-weight: 500; font-size: .6em; color: #bbb; }
.kase .jf .noart { font-size: calc(var(--mm) * 5); }

/* the jewel case's black tray: the hinge strip, the 22 mm hub rosette that grips the disc, the thumb notches top and
   bottom; the disc on it, centred 76 mm from the left: 120 mm, printed out from the 46 mm ring, the mirror band, the
   clear hub (to 33 mm, its stacking ring) and the 15 mm hole */
.kase .trayb { position: absolute; inset: 0; border-radius: calc(var(--mm) * 1.2);
  background: radial-gradient(circle at calc(var(--mm) * 76) 50%, #1d1f22 0 calc(var(--mm) * 12), #121315 calc(var(--mm) * 12.4) calc(var(--mm) * 60.5), #0c0d0e calc(var(--mm) * 61)),
    linear-gradient(90deg, #1c1d20 0 calc(var(--mm) * 8), #0c0d0e calc(var(--mm) * 8));
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.1), inset 0 0 0 calc(var(--mm) * 1.5) rgba(0,0,0,.4); }
.kase .rose { position: absolute; left: calc(var(--mm) * 65); top: calc(50% - var(--mm) * 11); width: calc(var(--mm) * 22); height: calc(var(--mm) * 22); border-radius: 50%;
  background: repeating-conic-gradient(#33363b 0 9deg, #0b0c0d 9deg 30deg);
  -webkit-mask: radial-gradient(circle closest-side, transparent 0 34%, #000 36% 96%, transparent 98%); mask: radial-gradient(circle closest-side, transparent 0 34%, #000 36% 96%, transparent 98%); }
.kase .notch { position: absolute; left: calc(var(--mm) * 69); width: calc(var(--mm) * 14); height: calc(var(--mm) * 3.5); background: #050506; }
.kase .notch.t { top: 0; border-radius: 0 0 calc(var(--mm) * 7) calc(var(--mm) * 7); } .kase .notch.b { bottom: 0; border-radius: calc(var(--mm) * 7) calc(var(--mm) * 7) 0 0; }
.kase .disc { position: absolute; left: calc(var(--mm) * 16); top: calc(var(--mm) * 2.5); width: calc(var(--mm) * 120); height: calc(var(--mm) * 120); border-radius: 50%;
  background: conic-gradient(from 30deg, #d4d8dd, #9ba1a9, #eceef1, #8f959d, #dadde2, #a3a9b0, #d4d8dd);
  -webkit-mask: radial-gradient(circle closest-side, transparent 0 12.5%, rgba(0,0,0,.28) 12.8% 27.2%, #000 27.5% 99.3%, transparent 99.7%);
  mask: radial-gradient(circle closest-side, transparent 0 12.5%, rgba(0,0,0,.28) 12.8% 27.2%, #000 27.5% 99.3%, transparent 99.7%); }
.kase.disc .disc { left: 0; top: 0; width: 100%; height: 100%; }
.kase .disc.data { background: conic-gradient(from 10deg, #c8ccd3, #e9dff2, #b5c3d8, #f1e7cf, #c0ccd9, #e0e5eb, #d9cfe8, #c8ccd3); }
.kase .dp { position: absolute; inset: 0; border-radius: 50%; overflow: hidden; background: #ddd;
  -webkit-mask: radial-gradient(circle closest-side, transparent 0 38.2%, #000 38.5% 98%, transparent 98.4%); mask: radial-gradient(circle closest-side, transparent 0 38.2%, #000 38.5% 98%, transparent 98.4%); }
.kase .dp .noart { font-size: calc(var(--mm) * 6); }
.kase .disc .hub { position: absolute; left: 36.25%; top: 36.25%; width: 27.5%; height: 27.5%; border-radius: 50%;
  box-shadow: inset 0 0 0 calc(var(--mm) * .5) rgba(235,240,246,.45), inset 0 0 0 calc(var(--mm) * 2.2) rgba(235,240,246,.08); }
.kase .disc .hole { position: absolute; left: 43.75%; top: 43.75%; width: 12.5%; height: 12.5%; border-radius: 50%; box-shadow: 0 0 0 1px rgba(255,255,255,.35); }
.kase.disc .face { border-radius: 50%; }
.kase.disc .edge { display: none; }

/* the Norelco box's tray: smoked clear, the cassette lying lengthwise on its two spindle posts (through the hubs,
   42.5 mm apart); from the back, the cassette through the clear base and the J-card's 27 mm flap along the spine */
.kase .trayt { position: absolute; inset: 0; border-radius: calc(var(--mm) * 1.2);
  background: linear-gradient(160deg, rgba(255,255,255,.12), rgba(255,255,255,.02) 40%), rgba(28,31,36,.6); box-shadow: inset 0 0 0 calc(var(--mm) * 1.3) rgba(225,233,242,.1), inset 0 0 0 1px rgba(255,255,255,.3); }
.kase .cass-in, .kase .cassb { position: absolute; left: 50%; top: 50%; width: calc(var(--mm) * 100.4); height: calc(var(--mm) * 63.8); transform: translate(-50%, -50%) rotate(90deg); }
.kase .cassb { opacity: .9; }
.kase .cass-in .nsx-cass, .kase .cassb .nsx-cass { width: 100%; height: 100%; }
.kase .post { position: absolute; top: 42.4%; width: calc(var(--mm) * 5.4); height: calc(var(--mm) * 5.4); border-radius: 50%; transform: translate(-50%, -50%);
  background: radial-gradient(circle at 40% 35%, #fff, #c7ccd2 60%, #8e949b); box-shadow: 0 0 0 1px rgba(0,0,0,.35); }
.kase .post.l { left: 28.83%; } .kase .post.r { left: 71.17%; }
.kase .flap { position: absolute; right: calc(var(--mm) * 1.4); top: calc(var(--mm) * 3.7); width: calc(var(--mm) * 27); height: calc(var(--mm) * 101.6); box-shadow: 0 0 0 1px rgba(0,0,0,.25); }
.kase .flap .jc { padding: 8% 7%; }
.kase .flap .jc h4 { font-size: calc(var(--mm) * 2.6); margin-bottom: calc(var(--mm) * 1.5); }
.kase .tcard { position: absolute; left: calc(var(--mm) * 2); right: calc(var(--mm) * 2); top: calc(var(--mm) * 3.5); bottom: calc(var(--mm) * 3.5); box-shadow: 0 0 0 1px rgba(0,0,0,.25); }

/* the edges: clear plastic with the black tray between the jewel case's halves; the tray card's spines (6.5 mm) up
   both ends of a jewel case, the lid's two hinge knuckles at the ends of the left one; the J-card's spine (12.7 mm)
   down a box's left side, its pivots at the spine's ends */
.nsx-tape3d .edge.cs { filter: none; box-shadow: inset 0 0 0 1px rgba(255,255,255,.3);
  background: linear-gradient(90deg, rgba(232,238,246,.5), rgba(200,210,220,.18) 25% 75%, rgba(232,238,246,.5)) !important; }
.nsx-tape3d .edge.cs.cd.t, .nsx-tape3d .edge.cs.cd.b { background: linear-gradient(rgba(225,233,242,.45) 0 16%, #141517 20% 70%, rgba(225,233,242,.45) 75%) !important; }
.nsx-tape3d .edge.cs.tape.t, .nsx-tape3d .edge.cs.tape.b { background: linear-gradient(rgba(225,233,242,.4), rgba(190,200,212,.2) 50%, rgba(225,233,242,.4)) !important; }
.nsx-tape3d .edge.cs .pv { position: absolute; left: calc(var(--mm) * .6); top: 50%; width: calc(var(--mm) * 6); height: calc(var(--mm) * 6); transform: translateY(-50%); border-radius: 50%;
  background: radial-gradient(circle, rgba(255,255,255,.5) 0 30%, rgba(200,210,222,.25) 34% 62%, rgba(255,255,255,.55) 65% 70%, transparent 73%); }
/* a spine is seen only from outside; from inside (through the front) it's the inner wall below */
.nsx-tape3d .edge.spine { backface-visibility: hidden; -webkit-backface-visibility: hidden; }
.nsx-tape3d .edge.inner { backface-visibility: hidden; -webkit-backface-visibility: hidden; filter: none; box-shadow: inset 0 0 0 1px rgba(255,255,255,.12); }
.nsx-tape3d .edge.inner.cd { background: linear-gradient(90deg, #0b0c0d, #1a1b1d 50%, #0b0c0d) !important; }
.nsx-tape3d .edge.inner.tape { background: linear-gradient(90deg, rgba(0,0,0,.12), rgba(0,0,0,0) 40%), #e9e5da !important; }
.nsx-tape3d .edge.spine { display: block; overflow: hidden; color: #222; font-family: "Helvetica Neue", Helvetica, Arial, sans-serif; white-space: nowrap; }
.nsx-tape3d .edge.spine .card { position: absolute; left: calc(var(--mm) * 1.95); right: calc(var(--mm) * 1.95); top: calc(var(--mm) * 3.5); bottom: calc(var(--mm) * 3.5);
  display: flex; align-items: center; justify-content: center; font-size: calc(var(--mm) * 3.4);
  background: linear-gradient(90deg, rgba(255,255,255,.35), rgba(255,255,255,0) 30%, rgba(0,0,0,.1) 85%), #e2ded3; }
.nsx-tape3d .edge.spine.tape .card { left: calc(var(--mm) * 2.05); right: calc(var(--mm) * 2.05); top: calc(var(--mm) * 3.7); bottom: calc(var(--mm) * 3.7); font-size: calc(var(--mm) * 4.6); background: linear-gradient(90deg, rgba(255,255,255,.4), rgba(255,255,255,0) 35%, rgba(0,0,0,.12) 90%), #f2efe6; }
.nsx-tape3d .edge.spine b { writing-mode: vertical-rl; display: flex; gap: .9em; align-items: center; max-height: 96%; overflow: hidden; line-height: 1; }
.nsx-tape3d .edge.spine .sp-ar { font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.nsx-tape3d .edge.spine .sp-al { font-weight: 500; letter-spacing: .03em; overflow: hidden; text-overflow: ellipsis; }
.nsx-tape3d .edge.spine .kn { position: absolute; left: 0; right: 0; height: calc(var(--mm) * 13); border-radius: calc(var(--mm) * 2);
  background: linear-gradient(90deg, rgba(255,255,255,.2), rgba(255,255,255,.6) 50%, rgba(255,255,255,.2)); box-shadow: inset 0 0 0 1px rgba(255,255,255,.5); }
.nsx-tape3d .edge.spine .kn.t { top: 0; } .nsx-tape3d .edge.spine .kn.b { bottom: 0; }

/* the printed paper: the tray card, the booklet's back page, the J-card's inside and flap (the track list, fitted by
   fitBack to the largest type that fits) */
.jc { position: absolute; inset: 0; overflow: hidden; background: #ecebe6; font-family: "Helvetica Neue", Helvetica, Arial, sans-serif; color: #1b1b1b; }
.jc.back { display: flex; }
.jc .tray { flex: 1; padding: 5% 5% 3%; overflow: hidden; display: flex; flex-direction: column; }
.jc h4 { margin: 0; font-size: clamp(11px, 1.6vw, 18px); font-weight: 800; letter-spacing: .02em; line-height: 1.1; }
.jc h5 { margin: 2px 0 8px; font-size: clamp(8px, 1.05vw, 12px); font-weight: 600; color: #666; }
.jc ol { list-style: none; margin: 0; padding: 0; font-size: clamp(7px, 0.95vw, 11.5px); line-height: 1.45; flex: 1; }
.jc ol.two { columns: 2; column-gap: 6%; }
.jc li { display: flex; gap: 6px; break-inside: avoid; }
.jc li span { width: 1.6em; flex: none; color: #888; text-align: right; }
.jc li b { flex: 1; font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.jc li em { font-style: normal; color: #555; font-variant-numeric: tabular-nums; }
.jc .tray p { margin: 6px 0 0; font-size: clamp(7px, .9vw, 10px); color: #777; border-top: 1px solid #ccc; padding-top: 4px; }
.jc.jcard.back { background: #f2efe6; padding: 4% 5%; display: block; }
.jc.jcard ol { font-size: clamp(6.5px, .85vw, 10.5px); line-height: 1.35; }
.jc.booklet { background: #f4f2ec; display: flex; }
.jc.booklet.jcard { background: #f2efe6; }
/* the lid's inside, open: the booklet's back page sits where the booklet does (mirrored: the lid's turned over) */
.kase .face.lin.cd .jc.booklet { left: calc(var(--mm) * 3); top: calc(var(--mm) * 2.5); width: calc(var(--mm) * 120); height: calc(var(--mm) * 120); right: auto; bottom: auto; }
.kase .face.lin.tape .jc.booklet { left: calc(var(--mm) * 2.3); top: calc(var(--mm) * 3.7); width: calc(var(--mm) * 65.1); height: calc(var(--mm) * 101.6); right: auto; bottom: auto; }
.kase.lid.cd .face.b .jc.booklet, .kase.lid.tape .face.b .jc.booklet { left: calc(var(--mm) * 2.3); top: calc(var(--mm) * 3.7); width: calc(var(--mm) * 65.1); height: calc(var(--mm) * 101.6); right: auto; bottom: auto; }

/* the remote (RC-6AS14, aiwa-remote.js): everything in mm (--mm, set on the thing), as drawn from his photos. A matte
   charcoal body; the keys on a recessed gloss panel (its edges rubbed shiny with handling: --rub); black oblong keys,
   each shining where it's been pressed (--w) and its print rubbed; the pale-blue SHIFT functions over the numbers;
   the teal TUNING and SET / CLEAR / PRESET blocks; POWER; the logo */
.nsx-held.remote { transform: translate(-50%, -50%) rotate(-6deg); filter: drop-shadow(0 6px 9px rgba(0,0,0,.65)); }
.nsx-tape3d.rc3d .face { background: transparent; }
.nsx-tape3d.rc3d .edge:not(.rw) { display: none; }   /* its sides are .rw: strips round the outline (remoteWalls), no square corners */
.nsx-tape3d.rc3d .edge.rw { filter: none; box-shadow: none; }
.rc { position: absolute; inset: 0; font-family: "Helvetica Neue", Helvetica, Arial, sans-serif; color: #f1f1ee; -webkit-font-smoothing: antialiased; user-select: none; }
.rc-body { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.rc-panel { position: absolute; left: calc(var(--mm) * 5); right: calc(var(--mm) * 5); top: calc(var(--mm) * 8); height: calc(var(--mm) * 88);
  border-radius: calc(var(--mm) * 3.2) calc(var(--mm) * 3.2) calc(var(--mm) * 2.4) calc(var(--mm) * 2.4);
  background: linear-gradient(162deg, rgba(255,255,255,.10) 0, rgba(255,255,255,.03) 18%, rgba(255,255,255,0) 34%), linear-gradient(#141518, #08090a 55%, #0e0f11);
  box-shadow: inset 0 calc(var(--mm) * .7) calc(var(--mm) * 1.1) rgba(0,0,0,.85), inset 0 calc(var(--mm) * -.3) calc(var(--mm) * .4) rgba(255,255,255,.05),
    0 0 0 calc(var(--mm) * .3) rgba(0,0,0,.7), 0 0 0 calc(var(--mm) * .55) rgba(255,255,255, calc(.05 + var(--rub, 0) * .16));
  display: flex; flex-direction: column; align-items: center; justify-content: space-between; padding: calc(var(--mm) * 2.2) calc(var(--mm) * 1.8) calc(var(--mm) * 2.6); box-sizing: border-box; }
.rc-model { font-size: calc(var(--mm) * 2.1); letter-spacing: .14em; font-weight: 600; color: #e9e9e4; }
.rc span { display: block; white-space: nowrap; line-height: 1; }
.rc-ddp { display: flex; flex-direction: column; align-items: center; gap: calc(var(--mm) * 1.4); width: 100%; }
.rc-ddp > span { width: 100%; text-align: center; background: linear-gradient(#9a9da2, #7d8085); color: #121314; font-size: calc(var(--mm) * 1.75); font-weight: 700; letter-spacing: .08em;
  padding: calc(var(--mm) * .55) 0; border-radius: calc(var(--mm) * .5); }
.rc-joined { display: flex; gap: calc(var(--mm) * .9); padding: calc(var(--mm) * .7); border: calc(var(--mm) * .22) solid rgba(240,240,235,.55); border-radius: calc(var(--mm) * 1.4); }
.rc-grid { display: grid; grid-template-columns: repeat(3, calc(var(--mm) * 10.6)); column-gap: calc(var(--mm) * 1.4); row-gap: calc(var(--mm) * 2.2); }
.rc-cell { display: flex; flex-direction: column; align-items: center; gap: calc(var(--mm) * .8); }
.rc-cell > span { font-size: calc(var(--mm) * 1.45); height: calc(var(--mm) * 1.5); color: #9fb8e8; font-weight: 600; letter-spacing: .02em; }
.rc-grid .rc-cell:nth-child(10) { grid-column: 2; } .rc-grid .rc-cell:nth-child(11) { grid-column: 3; }
.rk { position: relative; display: block; width: calc(var(--mm) * 9.4); height: calc(var(--mm) * 5.2); border-radius: calc(var(--mm) * 1.3); cursor: default;
  background: linear-gradient(#303135, #141517 45%, #0b0b0c); box-shadow: 0 calc(var(--mm) * .45) calc(var(--mm) * .6) rgba(0,0,0,.8), inset 0 calc(var(--mm) * .18) 0 rgba(255,255,255,.14), inset 0 calc(var(--mm) * -.25) 0 rgba(0,0,0,.6); }
.rk::after { content: ""; position: absolute; inset: 8% 10%; border-radius: inherit; pointer-events: none;
  background: radial-gradient(ellipse at 50% 42%, rgba(255,255,255, calc(var(--w, 0) * .26)), rgba(255,255,255, calc(var(--w, 0) * .06)) 55%, transparent 75%); }
.rk > i { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; font-style: normal; font-weight: 700; font-size: calc(var(--mm) * 2.3); color: #f4f4f0;
  opacity: calc(1 - var(--w, 0) * .5); letter-spacing: -.02em; }
.rk.dn { transform: translateY(calc(var(--mm) * .25)); box-shadow: 0 calc(var(--mm) * .15) calc(var(--mm) * .25) rgba(0,0,0,.8), inset 0 calc(var(--mm) * .3) calc(var(--mm) * .5) rgba(0,0,0,.7); filter: brightness(.85); }
.rc-shiftrow { display: flex; align-items: flex-end; gap: calc(var(--mm) * 1.6); width: 100%; justify-content: center; }
.rc-shift { display: flex; flex-direction: column; align-items: center; gap: calc(var(--mm) * .8); padding: calc(var(--mm) * .9) calc(var(--mm) * .8); border: calc(var(--mm) * .22) solid rgba(240,240,235,.75); border-radius: calc(var(--mm) * .8); }
.rc-shift > span { font-size: calc(var(--mm) * 1.55); font-weight: 700; letter-spacing: .06em; }
.rc-shift .rk { width: calc(var(--mm) * 7.6); }
.rk[data-rk="shift"].lit { box-shadow: 0 0 calc(var(--mm) * 1.6) rgba(159,184,232,.75), 0 0 0 calc(var(--mm) * .3) rgba(159,184,232,.8), inset 0 calc(var(--mm) * .18) 0 rgba(255,255,255,.2); }
.rc-tuning, .rc-band { background: linear-gradient(#41adbd, #3a9fae 60%, #338f9d); border-radius: calc(var(--mm) * 1.4); color: #0b2a30;
  box-shadow: inset 0 calc(var(--mm) * .2) 0 rgba(255,255,255,.25), 0 calc(var(--mm) * .3) calc(var(--mm) * .5) rgba(0,0,0,.6); }
.rc-tuning { display: flex; flex-direction: column; align-items: center; gap: calc(var(--mm) * .7); padding: calc(var(--mm) * 1) calc(var(--mm) * 1); }
.rc-lbls { display: flex; justify-content: space-between; width: 100%; gap: calc(var(--mm) * 1); }
.rc-lbls span, .rc-under, .rc-band .rc-cell > span { font-size: calc(var(--mm) * 1.4); font-weight: 700; color: #0b2a30; height: auto; letter-spacing: .02em; }
.rc-tuning .rc-joined { border-color: rgba(10,40,46,.55); }
.rc-tuning .rk { width: calc(var(--mm) * 8.4); }
.rc-band { display: flex; justify-content: space-between; width: calc(100% - var(--mm) * .6); padding: calc(var(--mm) * 1) calc(var(--mm) * 1.2); box-sizing: border-box; }
.rc-fv { display: flex; justify-content: space-between; align-items: flex-end; width: 100%; padding: 0 calc(var(--mm) * .4); box-sizing: border-box; }
.rc-func { display: flex; flex-direction: column; align-items: center; gap: calc(var(--mm) * .8); }
.rc-tag { background: #ecebe6; color: #111; font-size: calc(var(--mm) * 1.45); font-weight: 800; letter-spacing: .04em; padding: calc(var(--mm) * .4) calc(var(--mm) * .6); border-radius: calc(var(--mm) * .3); }
.rc-vol { display: flex; flex-direction: column; align-items: center; gap: calc(var(--mm) * .6); }
.rc-vol > span { font-size: calc(var(--mm) * 1.55); font-weight: 700; letter-spacing: .06em; }
.rc-vol .rk { width: calc(var(--mm) * 8.2); }
.rc-power { position: absolute; left: calc(var(--mm) * 6.6); right: 0; top: calc(var(--mm) * 100); display: flex; flex-direction: row; align-items: center; gap: calc(var(--mm) * 1.8); }   /* (as on his: a big round key at the left, POWER beside it) */
.rc-power > span { font-size: calc(var(--mm) * 1.6); font-weight: 700; letter-spacing: .08em; color: #d9d9d4; }
.rk.round { width: calc(var(--mm) * 10); height: calc(var(--mm) * 10); border-radius: 50%; }
.rc-logo { position: absolute; left: 0; right: 0; top: calc(var(--mm) * 153); display: flex; flex-direction: column; align-items: center; gap: calc(var(--mm) * 1.3); color: #b9bab6; }
.rc-logo b { font-size: calc(var(--mm) * 7.2); font-weight: 700; font-style: italic; letter-spacing: -.02em; transform: scaleX(1.25); line-height: 1; }
.rc-logo span { font-size: calc(var(--mm) * 1.5); letter-spacing: .14em; font-weight: 600; color: #a5a6a2; }
/* the STANDBY/ON light blinking as a command arrives */
.nsx-led.ir { background: #ff6b55; box-shadow: 0 0 .8cqw #ff3b2b; }
.nsx.standby .nsx-led.ir { background: #4a120e; box-shadow: none; }
