/* One compact top-loading unit in the left bay below the monitor. */
#browser-computer:not(:fullscreen){padding-bottom:var(--crt-music-reserve,12px)}
.crt-music-deck{position:absolute;z-index:32;box-sizing:border-box;width:240px;height:72px;padding:0;margin:0;border:1px solid #8e9a91;border-bottom-color:#536157;border-radius:5px 5px 3px 3px;background:linear-gradient(110deg,#a6b3aa,#dce2d7 29%,#b6c3b6 90%,#8b9b8d);box-shadow:inset 1px 1px #f1f5e9,inset -1px -2px #617060,1px 5px 5px #2139274a;color:#263f30;isolation:isolate;font:10px/1.3 Arial,sans-serif}
.crt-music-deck::before,.crt-music-deck::after{content:"";position:absolute;bottom:-4px;width:21px;height:4px;background:#384d3b;box-shadow:0 2px 2px #15261944;border-radius:0 0 2px 2px}.crt-music-deck::before{left:14px}.crt-music-deck::after{right:14px}
.crt-music-top{height:30px;position:relative;border-radius:4px 4px 0 0;background:linear-gradient(110deg,#c4cfc2,#e6ebdf 40%,#b9c6b7);box-shadow:inset 0 1px #f5f7ed,0 1px #72856d6b}.crt-music-top>span{position:absolute;left:56%;top:7px;color:#5f7462;font:700 7px/1.2 Arial,sans-serif;letter-spacing:.1em;text-shadow:0 1px #f4f7e9}.crt-music-top small{font-size:5px;font-weight:400}
.crt-music-lid{position:absolute;left:8%;top:3px;width:39%;height:24px;border:1px solid #6b827d;border-radius:40% 40% 29% 29%/30% 30% 25% 25%;background:linear-gradient(115deg,#d8edec28 9%,#ffffff9c 11%,#e2f1e823 14%,#b1cdcb38 57%,#fff9 59%,#9aafae45 61%);box-shadow:inset 1px 1px #eaf5eff0,inset -1px -1px #374c4f8c,0 1px #ecf1df;isolation:isolate}
.crt-music-lid::before{content:"";position:absolute;left:8px;right:8px;top:-2px;height:3px;border-radius:1px;background:linear-gradient(90deg,#7f968d 0 13%,transparent 13% 87%,#7f968d 87%)}.crt-music-lid::after{content:"";position:absolute;left:42%;right:42%;bottom:-2px;height:3px;border-radius:50%;background:#809587;box-shadow:0 1px #edf3e2}
.crt-music-disc{position:absolute;left:50%;top:50%;width:67px;height:67px;border-radius:50%;transform:translate(-50%,-50%) scaleY(.29);background:radial-gradient(circle at center,transparent 0 7px,#c3cbc3 7px 9px,#87958f 9px 10px,transparent 10px),conic-gradient(from 25deg,#e2e5dc,#b5bfc1 12%,#d2c0e0 17%,#c1dfda 21%,#f8f6d9 24%,#e3e7e1 30%,#a4b1b4 49%,#e1d6ec 55%,#c9e5df 59%,#e1ded3 64%,#c4ccce 76%,#f2f2e7);box-shadow:inset 0 0 0 1px #7a8e8b,inset 0 0 0 11px #e0e7e112}
.crt-music-spindle{position:absolute;left:calc(50% - 3px);top:calc(50% - 1px);width:6px;height:2px;background:#556e5d;border-radius:50%;box-shadow:0 1px #dce6d2}
.crt-music-face{position:relative;height:34px;display:grid;grid-template-columns:minmax(0,1fr) 73px;gap:4px;padding:4px 7px;box-sizing:border-box}
.crt-music-display{height:24px;box-sizing:border-box;padding:3px 5px;border:1px solid #536d57;border-radius:1px;background:linear-gradient(110deg,#173b2b,#28462e);box-shadow:inset 0 1px 3px #0007,0 1px #edf2df;color:#cee7b1;font:7px/1 Consolas,"Liberation Mono",monospace;min-width:0}
.crt-music-display h3,html[data-document-theme] #main .crt-music-deck .crt-music-display h3{height:auto;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;margin:0 0 3px;padding:0;color:#d7efbb;font:9px/1 Consolas,"Liberation Mono",monospace;letter-spacing:0}.crt-music-display>div{display:flex;justify-content:space-between;gap:5px;white-space:nowrap}.crt-music-display b,.crt-music-display output{font:inherit;color:inherit}.crt-music-display [data-music-status]{display:none}.crt-music-deck audio{display:none}
.crt-music-transport{display:flex;gap:3px;align-items:start;padding-right:0}.crt-music-transport button{appearance:none;display:grid;place-items:center;box-sizing:border-box;width:22px;min-width:0;height:24px;padding:0;border:1px solid #80947e;border-radius:2px;background:linear-gradient(#edf2e5,#b1c1ac);box-shadow:inset 1px 1px #fbfdec,0 1px #5a725a6b;color:#34513b;font:10px/1 Arial,sans-serif;cursor:pointer}.crt-music-transport button:disabled{opacity:.45;cursor:default}.crt-music-transport [data-music-play]{width:25px}
@media(max-width:800px),(max-height:520px),(max-aspect-ratio:1/1){.crt-cd-shelf{height:178px;grid-template-columns:minmax(0,1fr);grid-template-rows:minmax(0,1fr) auto auto;gap:4px}.crt-cd-cases{grid-column:1;grid-row:1}.crt-cd-online-note{grid-column:1;grid-row:2}.crt-cd-credits,.crt-cd-shelf>.crt-cd-retry{grid-column:1;grid-row:3}}

#browser-computer [data-crt-note][data-state=ready]{cursor:pointer}#browser-computer [data-crt-note]:focus-visible{outline:2px solid #315f8c;outline-offset:3px}

@media(min-width:600px) and (max-height:520px){.crt-cd-shelf{display:flex;left:auto;right:8px;bottom:8px;width:260px;height:auto;max-height:calc(100% - 16px);padding:12px 13px 9px;gap:0}.crt-cd-cases{display:grid;grid-template-columns:minmax(0,1fr);overflow-y:auto;overflow-x:clip;min-height:0;gap:13px}.crt-cd-cases--spines{--cd-case-width:100px;--cd-case-height:89px}.crt-cd-credits{align-self:stretch;margin-top:3px}}

.crt-music-well{position:absolute;left:8%;top:3px;width:39%;height:24px;border:1px solid #6a8075;border-radius:40% 40% 29% 29%/30% 30% 25% 25%;background:#9caf9c;box-shadow:inset 0 1px 2px #3e554e66}
.crt-music-lid{appearance:none;z-index:2;padding:0;cursor:pointer;transform-origin:50% 0;transition:transform .2s ease-out}.crt-music-deck[data-lid-open=true] .crt-music-lid{transform:perspective(180px) rotateX(135deg);background:linear-gradient(115deg,#d8edec35 9%,#ffffff9c 11%,#e2f1e823 14%,#b1cdcb78 57%,#fff9 59%,#9aafae99 61%)}
@media(prefers-reduced-motion:reduce){.crt-music-lid{transition:none}}

.crt-music-display>div{gap:3px;font-size:6.5px}.crt-music-display [data-music-status]{display:inline;font-size:6px}.crt-music-disc{mask:radial-gradient(circle,transparent 0 6px,#000 6.5px)}

/* Top-loading proportions: one projected plane, centered 120mm-class CD.
   Existing JS scales the entire unit and aligns its front with the stand toe.
   Top depth = 1.1W; negative margin leaves 0.4W in normal flow.
   At 67deg/2400px the rear edge projects at y=0.7–3.9px, inside the box. */
.crt-music-deck{height:auto;border:0;border-radius:0;background:none;box-shadow:none;transform-origin:0 0}
.crt-music-top{position:relative;inset:auto;box-sizing:border-box;width:100%;height:auto;aspect-ratio:10/11;margin-top:-70%;transform:perspective(2400px) rotateX(67deg);transform-origin:50% 100%;transform-style:flat;border:1px solid #879c88;border-radius:4px 4px 0 0;background:linear-gradient(110deg,#b0c0af,#dae5d3 30%,#bacdb6 83%,#8fa88e);box-shadow:inset 1px 1px #eff6e5,inset -1px 0 #6f8e6e}
.crt-music-top>span{left:50%;top:auto;bottom:3%;transform:translateX(-50%);font-size:7px;line-height:1;white-space:nowrap;text-align:center}.crt-music-top small{font-size:5px}
.crt-music-well,.crt-music-lid{box-sizing:border-box;left:6%;top:10%;width:88%;height:auto;aspect-ratio:1;border-radius:50%}
.crt-music-well{background:#8fa48f;border-color:#647f69;box-shadow:inset 1px 2px 3px #38524088}
.crt-music-disc{box-sizing:border-box;width:92%;height:auto;aspect-ratio:1;transform:translate(-50%,-50%);mask:radial-gradient(circle closest-side,transparent 0 12.5%,#000 13.2%);background:radial-gradient(circle closest-side,transparent 0 12.5%,#c3cbc3 12.5% 17%,#87958f 17% 18.8%,transparent 18.8%),conic-gradient(from 25deg,#e2e5dc,#b5bfc1 12%,#d2c0e0 17%,#c1dfda 21%,#f8f6d9 24%,#e3e7e1 30%,#a4b1b4 49%,#e1d6ec 55%,#c9e5df 59%,#e1ded3 64%,#c4ccce 76%,#f2f2e7)}
/* CD120mm / hole15mm. The circular spindle shares the top projection. */
.crt-music-spindle{left:50%;top:50%;width:10%;height:auto;aspect-ratio:1;transform:translate(-50%,-50%);border-radius:50%;background:radial-gradient(circle at 40% 35%,#a8b79a,#536c56 70%);box-shadow:0 1px #dce6d2}
.crt-music-lid{border:1px solid #5d8180;background:linear-gradient(115deg,#d8f4f12b 9%,#ffffffb8 11%,#e2f1e821 14%,#96c3c338 57%,#fff9 59%,#84acae44 61%);box-shadow:inset 1px 1px #f5ffffcc,inset -1px -1px #2d545d9c,0 1px #ecf8e7;transform-origin:50% 0;translate:0 0 .1px}
.crt-music-lid::before{left:35%;right:35%;height:4px;top:-3px;background:linear-gradient(90deg,#647f72 0 15%,transparent 15% 85%,#647f72 85%)}
.crt-music-lid::after{left:44%;right:44%;bottom:-2px;height:4px;background:#78957e;box-shadow:0 1px #edf6e3}
/* The open lid shares the deck perspective. This modest lift keeps its
   projected target visible and below the monitor, clear of the LCD. */
.crt-music-deck[data-lid-open=true] .crt-music-lid{transform:rotateX(55deg)}
.crt-music-face{position:relative;left:auto;right:auto;top:auto;height:34px;border:1px solid #8c9f87;border-top-color:#dce8d0;border-bottom-color:#536e50;border-radius:0 0 3px 3px;background:linear-gradient(110deg,#adbfaa,#dce8d2 35%,#b6cbb0);box-shadow:inset 1px 0 #edf6e5,inset -1px -2px #698660,0 4px 5px #244b2d45}

#browser-computer[data-cd-entry] .crt-offline[data-crt-note][data-state=ready]:not([hidden]){transform:rotate(.7deg)}

/* Leave room for the physical player before the Home footer rule. */
.home-summary>.hero-bottom{margin-top:var(--crt-music-hero-reserve,0px)}

/* The disc turns under fixed reflections. At speed the marks blend into rings. */
.crt-music-rotation{position:absolute;inset:0;border-radius:50%;opacity:calc(1 - var(--crt-disc-speed,0) * .96);background:conic-gradient(from 22deg,transparent 0 42%,#506f6c99 43% 49%,transparent 50% 89%,#6b848166 90% 93%,transparent 94%);mask:radial-gradient(circle closest-side,transparent 0 21%,#000 22% 29%,transparent 30%);will-change:transform}
.crt-music-disc::after{content:"";position:absolute;inset:0;border-radius:50%;opacity:var(--crt-disc-speed,0);background:radial-gradient(circle closest-side,transparent 0 21%,#839a9166 22%,#dce5df66 24%,#8b9f9866 27%,transparent 30%);pointer-events:none}
.crt-music-deck button:focus-visible{outline:2px solid #286fa6;outline-offset:2px}
@media(prefers-reduced-motion:reduce){.crt-music-rotation{will-change:auto}}

/* Cables exit the rear faces and disappear behind the monitor. */
#browser-computer>.crt-desk{z-index:1}
.crt-cable-anchor{position:absolute;top:1px;width:0;height:0;pointer-events:none}
.crt-cables{position:absolute;left:0;top:0;z-index:0;overflow:visible;pointer-events:none;fill:none;stroke-linecap:round;stroke-linejoin:round}
.crt-cable-shadow{stroke:#070b0952;stroke-width:calc(var(--crt-cable-width) + var(--crt-cable-unit));transform:translate(calc(var(--crt-cable-unit) * .7),calc(var(--crt-cable-unit) * 1.6));filter:blur(calc(var(--crt-cable-unit) * .7))}
.crt-cable-contact{stroke:#0b110d75;stroke-width:calc(var(--crt-cable-width) + var(--crt-cable-unit) * .55);transform:translateY(calc(var(--crt-cable-unit) * .55))}
.crt-cable-edge{stroke:#111713;stroke-width:calc(var(--crt-cable-width) + var(--crt-cable-unit) * .45)}
.crt-cable-jacket{stroke:var(--crt-cable-color);stroke-width:var(--crt-cable-width)}
.crt-cable-light{stroke:#c2ccbc52;stroke-width:calc(var(--crt-cable-width) * .36);transform:translate(calc(var(--crt-cable-unit) * -.23),calc(var(--crt-cable-unit) * -.30))}
.crt-cable-sheen{stroke:#e6eadc38;stroke-width:calc(var(--crt-cable-width) * .10);transform:translate(calc(var(--crt-cable-unit) * -.40),calc(var(--crt-cable-unit) * -.45))}
.crt-cable-connector{filter:drop-shadow(.45px 1px .65px #0d140d57)}
.crt-cable-connector-body{stroke:#111713;stroke-width:.5;stroke-linejoin:round}
.crt-cable-connector-collar{stroke:#a7b09b;stroke-width:.65;opacity:.7}
.crt-cable-connector-ribs{stroke:#121b13;stroke-width:.55;opacity:.8}
.crt-cable-connector-screws{fill:#62695f;stroke:#171e18;stroke-width:.4}
.crt-cable-connector-knurl{stroke:#aab19f;stroke-width:.35;opacity:.6}
.crt-cable-connector--modem-line .crt-cable-connector-body{fill:#aab6a388;stroke:#6d7c6966;stroke-width:.55}
.crt-cable-connector--modem-line .crt-cable-connector-collar{stroke:#dbe1cd;opacity:.8}
.crt-cable-connector-latch{stroke:#e0e4d1;stroke-width:.6;opacity:.65}

/* The dynamic LCD uses the same physical SVG ruler as the hardware printing.
   Keep the semantic player fields available to assistive technology and updates. */
.crt-music-display{position:relative;padding-block:2px}
.crt-music-readout{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
.crt-music-lcd{display:block;width:100%;height:18px;overflow:hidden}
.crt-music-lcd text{font-family:Consolas,"Liberation Mono",monospace;font-weight:400;letter-spacing:0;fill:currentColor}
.crt-music-lcd [data-music-display-title]{fill:#d7efbb}

.crt-music-print{display:block;width:70px;height:14px;overflow:visible;fill:currentColor;font-family:Arial,sans-serif}
