/* THERMION listening circuit. Scoped additions preserve the existing laboratory. */
@media(max-width:760px){.site-header nav a[href='#archive']{display:none}}
.hifi-section{padding:104px 0 86px;border-top:1px solid #222b2c;background:linear-gradient(180deg,#0b1011,#0d1112 66%,#090c0d);--signal:0}
.hifi-heading{margin-bottom:43px}
.hf-player{border:1px solid #303a38;background:linear-gradient(110deg,rgba(236,170,113,.045),transparent 48%),#101617;border-radius:5px;padding:27px 29px 0;box-shadow:0 18px 60px #0002}
.hf-transport-row{display:flex;align-items:center;gap:20px;min-width:0}
.hf-track-art{width:65px;height:65px;flex:none;border:1px solid #5d4d3b;border-radius:4px;display:flex;align-items:center;justify-content:center;background:radial-gradient(circle,#26302d,#161c1a 65%)}
.hf-track-art svg{width:53px;height:53px;fill:none;stroke:#b58a62;stroke-width:.8}.hf-track-art circle:last-of-type{fill:#ecaa71;stroke:none}
.hf-track-info{min-width:0;flex:1}.hf-track-info .micro-label{font-size:12px;letter-spacing:.13em;color:#8e9389}.hf-track-info h3{font-size:19px;color:#e5e9e3;margin:6px 0 3px;white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.hf-track-info p{font-size:12px;color:#8a9691}
.hf-transport-buttons{display:flex;align-items:center;gap:9px;flex-wrap:wrap}.hf-transport-buttons .button{min-height:46px;padding:11px 16px;font-size:14px}.hf-transport-buttons .text-button{padding:11px 8px;min-height:44px;font-size:13px}.hf-stop{height:46px;width:43px;display:grid;place-items:center;border:1px solid #384441;border-radius:3px;color:#b5c0ba}.hf-stop svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.4}.hf-stop:hover{color:var(--amber);border-color:#a78860}.hf-upload{cursor:pointer}.hf-upload:focus-within{outline:2px solid var(--amber)}
.hf-progress-row{display:flex;align-items:center;gap:15px;margin:20px 0 15px}.hf-time{font-family:var(--mono);font-size:12px;min-width:35px;color:#bac4bf;text-align:center}.hf-progress-row>input{flex:1;min-width:0}.hf-loop{padding-left:8px}
.hifi-section input[type='range']{width:100%;height:3px;min-height:3px;appearance:none;-webkit-appearance:none;border:0;padding:0;margin:15px 0;background:linear-gradient(to right,#d7a26e var(--progress,0%),#33403c var(--progress,0%));border-radius:2px;cursor:pointer;outline-offset:8px;accent-color:var(--amber)}
.hifi-section input[type='range']::-webkit-slider-thumb{width:11px;height:17px;appearance:none;-webkit-appearance:none;background:#dcb382;border:3px solid #131b17;box-shadow:0 0 0 1px #b29873;border-radius:2px}.hifi-section input[type='range']::-moz-range-thumb{width:7px;height:13px;background:#dcb382;border:3px solid #131b17;box-shadow:0 0 0 1px #b29873;border-radius:2px}.hifi-section input[type='range']:focus-visible{outline:2px solid #ecaa71}
.hf-progress-row>input[type='range']{height:2px;background:linear-gradient(to right,#a4b7ae var(--progress,0%),#303d37 var(--progress,0%))}.hf-progress-row>input[type='range']::-webkit-slider-thumb{width:9px;height:9px;border:0;border-radius:50%;box-shadow:none;background:#c6d1c8}
.hf-check{display:inline-flex;gap:8px;align-items:center;font-size:13px;color:#a6b2ab;cursor:pointer;white-space:nowrap;min-height:44px}.hf-check input{width:15px;height:15px;accent-color:#c49264;margin:0}
.hf-monitor-row{display:flex;align-items:center;gap:22px;border-top:1px solid #29332f;padding:15px 0}.hf-ab{display:flex;align-items:center;padding:3px;border:1px solid #3c473e;border-radius:4px;gap:3px}.hf-ab button{min-width:110px;min-height:39px;padding:9px 18px;font-size:14px;border-radius:2px;color:#919e95}.hf-ab button span{font-family:var(--mono);padding-left:7px;color:#8d9a91}.hf-ab button.active,.hf-ab button[aria-pressed='true']{color:#e4b780;background:#2d3024}.hf-ab button.active span,.hf-ab button[aria-pressed='true'] span{color:#d6ae7c}.hf-ab button:hover{color:#e6d7ba}
.hf-volume{margin-left:auto;display:grid;grid-template-columns:auto 136px;gap:15px;align-items:center;color:#9eaaa2;font-size:13px}.hf-volume>span{display:flex;gap:11px;white-space:nowrap}.hf-volume output{font-family:var(--mono);color:#c7cfc6}.hf-volume input{min-width:80px}
.hf-player-footer{margin:0 -29px;display:flex;gap:20px;justify-content:space-between;border-top:1px solid #27312c;padding:12px 29px;background:#0b100f77;border-radius:0 0 4px 4px;font-size:12px;color:#7e8d83;line-height:1.6}.hf-player-footer p{color:#acb9ae}.hf-player-footer span{white-space:nowrap}
.hf-circuit-header{display:flex;align-items:flex-end;justify-content:space-between;gap:24px;margin:40px 0 19px}.hf-circuit-header .micro-label{color:#9e987d}.hf-circuit-header h3{font-size:19px;margin-top:6px}.hf-circuit-hint{font-size:13px;color:#89968c;white-space:nowrap}
.hf-circuit-layout{display:grid;grid-template-columns:minmax(0,1fr) 224px;align-items:stretch;border-top:1px solid #29332d;border-bottom:1px solid #29332d;min-width:0}
.hf-circuit-scroll{overflow-x:auto;overflow-y:hidden;min-width:0;scrollbar-color:#4d5141 #161d18;scrollbar-width:thin;outline-offset:4px}.hf-circuit{display:block;width:100%;min-width:730px;max-width:none;height:auto;color:#9faf9f}
.hf-circuit text{font-family:var(--mono);font-size:14px;fill:#c9d1c2}.hf-circuit .hf-svg-note{font-family:var(--sans);font-size:12px;fill:#829283}.hf-circuit .hf-svg-value{font-size:14px;fill:#d9b17a}.hf-circuit .hf-input-text{fill:#8ebfc1}.hf-circuit .hf-output-text{fill:#e1aa6c}.hf-circuit .hf-valve-name{font-size:24px;letter-spacing:-.02em;fill:#d9bd91}
.hf-wire,.hf-ground,.hf-symbol,.hf-transformer,.hf-speaker,.hf-valve,.hf-driver{fill:none;stroke:#80917e;stroke-width:1.55;stroke-linejoin:round;stroke-linecap:round}.hf-wire circle{fill:#a4b79a;stroke:none}.hf-input-wire{stroke:#86ada8}.hf-output-wire{stroke:#a08c66}.hf-driver>rect{stroke:#566b5b;fill:#121b16}.hf-driver>text{stroke:none}.hf-valve{stroke:#63715f}.hf-valve>text{stroke:none}.hf-valve .hf-filament{stroke:#e5ae72;stroke-width:1.85}.hf-valve .hf-grid-symbol{stroke:#9eb4a0}.hf-valve .hf-anode{stroke:#bfc9b1}.hf-speaker text{stroke:none}.hf-transformer{stroke:#aa9f78}.hf-feedback-wire{fill:none;stroke:#6b8175;stroke-dasharray:4 5;stroke-width:1.15;opacity:.67}.hf-feedback-wire circle{stroke:none;fill:#7b9383}
.hf-hit{fill:transparent;stroke:transparent;stroke-width:1;transition:fill .2s,stroke .2s}.hf-component{cursor:pointer;outline:none}.hf-component:hover .hf-hit,.hf-component:focus-visible .hf-hit{fill:#deb8780a;stroke:#b29d6577}.hf-component:focus-visible .hf-hit{stroke:#ecaa71}.hf-circuit-glow{fill:none;stroke:#ecc18b;stroke-width:4;opacity:calc(var(--signal,0)*.5);filter:blur(3px);pointer-events:none}
.hf-operating-point{padding:22px 0 20px 23px;border-left:1px solid #29332d;background:linear-gradient(90deg,#171d1333,transparent)}.hf-q-heading{display:flex;align-items:baseline;gap:8px;justify-content:space-between;margin-bottom:20px;padding-right:5px}.hf-q-heading h4{font-size:14px;font-weight:500}.hf-q-heading h4 span{color:var(--amber);font-family:var(--mono)}.hf-q-heading>span{color:#7a897d;font-size:12px;white-space:nowrap}.hf-operating-point dl{margin:0;display:grid;grid-template-columns:1fr 1fr;gap:21px 12px}.hf-operating-point dt{font-size:12px;color:#91a08e;line-height:1.5}.hf-operating-point dd{margin:6px 0 0;font-family:var(--mono);font-size:25px;line-height:1.2;color:#cbd5c0;letter-spacing:-.05em}.hf-operating-point dd small{font-size:12px;color:#77856e;letter-spacing:0;margin-left:5px}.hf-operating-point>p{font-size:13px;margin-top:24px;color:#c2ae82}.hf-q-note{border-top:1px solid #2a3226;margin-top:17px;padding-top:13px;color:#82907d;font-size:12px;line-height:1.8}.hf-scroll-note{display:none;color:#829080;font-size:12px;margin-top:10px}
.hf-control-header{display:flex;justify-content:space-between;align-items:center;gap:22px;margin-top:35px;margin-bottom:5px}.hf-control-header h3{font-size:18px}.hf-presets{display:flex;gap:6px;flex-wrap:wrap}.hf-presets button{border:1px solid #344032;padding:9px 12px;font-size:13px;color:#99a68f;min-height:38px;border-radius:3px}.hf-presets button.active,.hf-presets button[aria-pressed='true']{border-color:#827554;background:#302d1e;color:#dfbd82}.hf-presets button:hover{border-color:#9a8b5c;color:#d7c28e}
.hf-controls{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));column-gap:27px;row-gap:0;margin-top:2px}.hf-parameter{display:flex;flex-direction:column;min-width:0;padding:24px 0 20px;border-bottom:1px solid #242f27;scroll-margin-top:120px}.hf-parameter-title{display:flex;gap:10px;justify-content:space-between;font-size:14px;color:#b7c4b3}.hf-parameter output{font-family:var(--mono);font-size:14px;white-space:nowrap;color:#dfb37a}.hf-parameter input[type='range']{margin:21px 0 15px}.hf-parameter small{color:#82917a;font-size:12px;line-height:1.75}.hf-parameter:focus-within .hf-parameter-title{color:#edd5a4}.hf-experiment-note{grid-column:span 2;padding:22px 0 16px;min-width:0;border-bottom:1px solid #242f27}.hf-experiment-note .micro-label{color:#a99c6d}.hf-experiment-note p{font-size:13px;line-height:1.8;margin-top:8px;color:#abb89f}.hf-experiment-note>span:last-child{display:block;margin-top:8px;font-size:12px;line-height:1.7;color:#7f8c70}
.hf-analysis-grid{display:grid;grid-template-columns:1fr 1fr;gap:30px;margin-top:40px}.hf-analysis-panel{min-width:0;border:1px solid #2a372c;border-radius:3px;padding:20px 21px 15px;background:#0b1110}.hf-analysis-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:18px}.hf-analysis-heading h3{font-size:16px}.hf-analysis-heading>span{font-size:12px;color:#8c9c85;display:flex;align-items:center;gap:7px;white-space:nowrap;font-family:var(--mono)}.hf-analysis-heading i{display:inline-block;width:10px;height:2px;background:var(--cyan);margin-left:8px}.hf-analysis-heading i.hf-legend-output{background:var(--amber)}.hf-analysis-heading i:first-child{margin-left:0}.hf-canvas-wrap{height:214px;position:relative;min-width:0}.hf-canvas-wrap canvas{width:100%!important;height:214px!important;display:block;max-width:100%}.hf-analysis-panel>p{font-size:12px;color:#768871;margin-top:14px;line-height:1.6}
.hf-model-note{display:grid;grid-template-columns:185px 1fr;column-gap:28px;row-gap:12px;border-top:1px solid #29332a;margin-top:30px;padding-top:22px}.hf-model-note .micro-label{color:#939773}.hf-model-note p{font-size:12px;color:#8b9a80;line-height:1.9}.hf-model-note>div{grid-column:2;display:flex;gap:21px;flex-wrap:wrap}.hf-model-note a{font-size:12px;color:#bdaf80;text-decoration:underline;text-underline-offset:4px;text-decoration-color:#5d5b3f}.hf-model-note a:hover{color:#efd49b}
@media(max-width:1200px){.hf-player{padding:22px 22px 0}.hf-player-footer{margin:0 -22px;padding-inline:22px}.hf-transport-row{gap:15px}.hf-track-art{width:56px;height:56px}.hf-track-art svg{width:45px;height:45px}.hf-track-info h3{font-size:17px}.hf-transport-buttons{gap:6px}.hf-transport-buttons .button{padding-inline:12px}.hf-transport-buttons .text-button{padding-inline:5px}.hf-circuit-layout{grid-template-columns:minmax(0,1fr) 205px}.hf-operating-point{padding-left:17px}.hf-circuit-scroll{background:#0d1210}.hf-controls{grid-template-columns:repeat(3,minmax(0,1fr));column-gap:27px}.hf-experiment-note{grid-column:span 2}.hf-experiment-note p br{display:none}.hf-volume{grid-template-columns:auto 105px;gap:12px}.hf-monitor-row{gap:16px}.hf-ab button{min-width:92px;padding-inline:13px}.hf-model-note{grid-template-columns:180px 1fr}}
@media(max-width:1000px){.hf-track-info{flex:1 1 200px}.hf-transport-row{flex-wrap:wrap}.hf-transport-buttons{margin-left:auto}.hf-volume{grid-template-columns:1fr;gap:0;min-width:130px}.hf-volume input[type='range']{margin:11px 0}.hf-monitor-row{gap:18px}.hf-check{font-size:12px}.hf-circuit-layout{grid-template-columns:1fr}.hf-operating-point{border-left:0;border-top:1px solid #29332d;padding:20px 0;background:none}.hf-q-heading{justify-content:flex-start;gap:16px;margin-bottom:18px}.hf-operating-point dl{grid-template-columns:repeat(4,1fr);gap:16px}.hf-operating-point>p{margin-top:18px}.hf-q-note{margin-top:10px;padding-top:10px}.hf-scroll-note{display:block}.hf-controls{grid-template-columns:repeat(2,minmax(0,1fr));gap:0 27px}.hf-experiment-note{grid-column:auto}.hf-control-header{align-items:flex-start;flex-direction:column;gap:14px}.hf-analysis-grid{gap:20px}.hf-analysis-panel{padding:18px 15px 14px}.hf-analysis-heading{align-items:flex-start;flex-direction:column;gap:10px}.hf-analysis-heading>span{min-height:17px}.hf-model-note{grid-template-columns:1fr;gap:12px}.hf-model-note>div{grid-column:1}}
@media(max-width:760px){.hifi-section{padding:73px 0 60px}.hifi-heading{margin-bottom:30px}.hf-player{padding:20px 18px 0}.hf-track-art{width:55px;height:55px}.hf-track-info h3{font-size:17px}.hf-transport-buttons{margin-left:0;width:100%;gap:8px;margin-top:3px}.hf-transport-buttons .button{min-height:46px;padding-inline:15px}.hf-transport-buttons .text-button{font-size:12px;margin-left:auto;padding-inline:3px}.hf-progress-row{gap:9px;margin:17px 0 13px}.hf-loop{padding-left:0;font-size:12px}.hf-time{font-size:12px;min-width:30px}.hf-monitor-row{display:grid;grid-template-columns:1fr 1fr;gap:13px 14px;padding:15px 0}.hf-ab{grid-column:1/-1;justify-self:start}.hf-ab button{min-width:119px;min-height:40px}.hf-monitor-row>.hf-check{font-size:12px;white-space:normal;line-height:1.6;align-self:center}.hf-volume{margin-left:0;min-width:0;grid-template-columns:1fr;gap:0;font-size:12px}.hf-volume>span{justify-content:space-between;gap:8px}.hf-player-footer{margin:0 -18px;padding:12px 18px;flex-direction:column;gap:4px}.hf-player-footer p{font-size:12px}.hf-player-footer>span{font-size:12px;white-space:normal}.hf-circuit-header{margin-top:34px;align-items:flex-start;flex-direction:column;gap:9px}.hf-circuit-header h3{font-size:18px}.hf-circuit-header .micro-label{font-size:12px}.hf-circuit-hint{font-size:12px}.hf-circuit{min-width:780px}.hf-operating-point dl{grid-template-columns:1fr 1fr;gap:19px 15px}.hf-operating-point dd{font-size:27px}.hf-operating-point dt{font-size:12px}.hf-q-heading h4{font-size:15px}.hf-q-note{font-size:12px}.hf-control-header h3{font-size:18px}.hf-presets{gap:7px}.hf-presets button{min-height:44px;font-size:12px;padding:10px 11px}.hf-controls{grid-template-columns:1fr;gap:0}.hf-parameter{padding:23px 0}.hf-parameter-title,.hf-parameter output{font-size:14px}.hf-parameter small{font-size:12px}.hf-experiment-note{padding:23px 0}.hf-experiment-note p{font-size:14px}.hf-experiment-note>span:last-child{font-size:12px}.hf-analysis-grid{grid-template-columns:1fr;margin-top:30px;gap:22px}.hf-analysis-panel{padding:18px 15px 14px}.hf-analysis-heading{flex-direction:row;align-items:center;flex-wrap:wrap;gap:9px}.hf-analysis-heading h3{font-size:16px}.hf-analysis-heading>span{font-size:12px}.hf-canvas-wrap,.hf-canvas-wrap canvas{height:200px!important}.hf-analysis-panel>p{font-size:12px}.hf-model-note{margin-top:26px;padding-top:20px}.hf-model-note p{font-size:12px;line-height:1.9}.hf-model-note>div{gap:12px 19px}}
@media(max-width:390px){.hf-track-info h3{font-size:15px}.hf-track-info .micro-label{font-size:12px}.hf-track-art{width:47px;height:47px}.hf-track-art svg{width:39px;height:39px}.hf-transport-row{gap:12px}.hf-transport-buttons .button{padding-inline:12px}.hf-transport-buttons{gap:6px}.hf-stop{width:37px}.hf-transport-buttons .text-button{margin-left:0}.hf-ab button{min-width:110px}.hf-volume>span{font-size:12px}.hf-analysis-heading h3{font-size:15px}.hf-analysis-heading>span{font-size:12px}}
