
#nocturne-radio{color-scheme:dark;font-family:'Courier New',monospace;color:#c9c5b8;width:100%;padding:8px 0 18px;box-sizing:border-box}#nocturne-radio *{box-sizing:border-box}#nocturne-radio .nr-machine{position:relative;background:repeating-linear-gradient(0deg,#ffffff02 0 1px,transparent 1px 3px),linear-gradient(115deg,#343632,#222420 65%,#30312c);padding:28px;border:2px solid #51524a;border-radius:19px;box-shadow:inset 0 2px 1px #74756a, inset 0 -7px 0 #141613,0 12px 22px #0003}#nocturne-radio header{display:flex;justify-content:space-between;gap:14px;align-items:center;margin-bottom:20px}#nocturne-radio .nr-small{font-size:10px;letter-spacing:1.4px;color:#aaa99a}#nocturne-radio h2{font-family:Impact,'Arial Narrow',sans-serif;letter-spacing:5px;font-size:34px;font-weight:400;line-height:1;margin:8px 0 0;color:#e6e0ce}#nocturne-radio h2 span{font:12px monospace;vertical-align:top;letter-spacing:0}#nocturne-radio .nr-model{text-align:right;font-size:10px;letter-spacing:1px;line-height:1.8}#nocturne-radio .nr-model b{font-weight:400;color:#d6d1be;font-size:18px}#nocturne-radio .nr-screw{position:absolute;width:8px;height:8px;border-radius:50%;background:linear-gradient(45deg,#171914 44%,#66675d 46% 55%,#22251e 57%);box-shadow:0 1px 1px #7776}.nr-screw.tl{top:10px;left:10px}.nr-screw.tr{top:10px;right:10px}.nr-screw.bl{bottom:13px;left:10px}.nr-screw.br{bottom:13px;right:10px}#nocturne-radio .nr-bezel{padding:10px;background:#111410;border-radius:20px;box-shadow:0 1px 0 #727468,inset 0 3px 6px #000}#nocturne-radio .nr-crt{position:relative;overflow:hidden;border-radius:14px 14px 24px 24px;background:radial-gradient(ellipse,#261d0d,#100f08 85%);color:#eebf6a;box-shadow:inset 0 0 35px #000}#nocturne-radio .nr-crt:after{content:'';position:absolute;inset:0;pointer-events:none;background:repeating-linear-gradient(0deg,#0003 0 1px,transparent 1px 3px),linear-gradient(125deg,#fff1,transparent 30%);border-radius:inherit}#nocturne-radio canvas{display:block;width:100%;height:290px}#nocturne-radio .nr-screen-top{position:absolute;top:14px;left:18px;right:18px;display:flex;justify-content:space-between;gap:10px;font-size:10px;letter-spacing:1px}#nocturne-radio .nr-caption{position:absolute;bottom:36px;left:10px;right:10px;text-align:center;font-size:15px;letter-spacing:3px;text-shadow:0 0 9px #ffad4266}#nocturne-radio .nr-screen-foot{position:absolute;bottom:12px;left:18px;right:18px;display:flex;justify-content:space-between;font-size:9px;letter-spacing:.6px;color:#c19b5b}#nocturne-radio .nr-band{margin:18px 0 15px;background:#141713;padding:8px 10px 0;border:1px solid #474b40;border-radius:3px}#nocturne-radio .nr-band-numbers{display:flex;justify-content:space-between;font-size:10px;color:#b4b09a}#nocturne-radio .nr-ticks{position:relative;height:18px;margin:5px 0 0;background:repeating-linear-gradient(90deg,#868774 0 1px,transparent 1px 2%);mask-image:linear-gradient(#000,transparent)}#nocturne-radio #nr-needle{position:absolute;height:18px;width:3px;left:18%;background:#ffb951;box-shadow:0 0 7px #ffb951}#nocturne-radio .nr-console{display:grid;grid-template-columns:1fr 150px 1fr;align-items:center;gap:18px}#nocturne-radio .nr-left{display:flex;flex-direction:column;gap:8px}#nocturne-radio output{font-size:30px;letter-spacing:1px;color:#e8c082}#nocturne-radio output small{font-size:11px;color:#a4a591}#nocturne-radio .nr-switches{display:flex;align-items:center;gap:22px;margin-top:12px}#nocturne-radio .nr-toggle{display:flex;align-items:center;gap:7px;font-size:10px;position:relative;min-height:44px}#nocturne-radio .nr-toggle input{position:absolute;left:0;top:0;width:36px;height:44px;opacity:0;cursor:pointer}#nocturne-radio .nr-lever{width:23px;height:34px;border-radius:5px;background:#11140f;border:2px solid #55594c;position:relative;pointer-events:none}#nocturne-radio .nr-lever:after{content:'';position:absolute;left:3px;top:15px;width:13px;height:14px;background:linear-gradient(#d2d2bf,#707667);border-radius:2px;box-shadow:0 2px 3px #000}#nocturne-radio input:checked+.nr-lever:after{top:1px;background:linear-gradient(#f2cb86,#9d8054)}#nocturne-radio input:focus-visible+.nr-lever{outline:2px solid #ffcb77;outline-offset:4px}#nocturne-radio .nr-key{font:10px 'Courier New',monospace;letter-spacing:1px;min-height:40px;padding:10px;color:#cec9b3;background:linear-gradient(#474b40,#2b2e27);border:1px solid #626556;border-radius:4px;box-shadow:0 4px 0 #10130e;cursor:pointer}#nocturne-radio .nr-key:active{transform:translateY(3px);box-shadow:0 1px 0 #10130e}#nocturne-radio button:focus-visible{outline:2px solid #ffcb77;outline-offset:4px}#nocturne-radio .nr-dial-block{text-align:center}#nocturne-radio .nr-dial{width:132px;height:132px;position:relative;margin:0 auto 10px;border-radius:50%;background:repeating-conic-gradient(from -135deg,#888876 0deg 1deg,transparent 1deg 12deg);padding:10px}#nocturne-radio .nr-knob{width:112px;height:112px;border-radius:50%;background:radial-gradient(circle at 40% 30%,#53564c,#34372f 60%,#151812 62%,#4e5246 66%,#262920 72%);border:2px solid #0e100c;box-shadow:5px 8px 12px #0007;position:relative;transform:rotate(-86deg)}#nocturne-radio .nr-knob i{position:absolute;top:12px;left:51px;width:4px;height:19px;background:#eac180;border-radius:2px;box-shadow:0 0 5px #ffb84c66}#nocturne-radio .nr-dial input{position:absolute;inset:0;width:100%;height:100%;opacity:0;cursor:grab;touch-action:none;margin:0}#nocturne-radio .nr-dial:focus-within{outline:2px solid #c6a065;outline-offset:4px}#nocturne-radio .nr-speaker{height:65px;background:radial-gradient(#0a0e08 2px,transparent 2.5px) 0 0/8px 8px;margin-bottom:17px;mask-image:linear-gradient(90deg,transparent,#000 15% 85%,transparent)}#nocturne-radio .nr-right{text-align:right}#nocturne-radio .nr-seek{width:100%;background:linear-gradient(#b59461,#8a704a);color:#16190f;border-color:#c4a271}#nocturne-radio .nr-log{border-top:1px solid #555749;margin-top:20px;padding-top:14px}#nocturne-radio #nr-stations{display:flex;gap:12px;flex-wrap:wrap;margin-top:12px}#nocturne-radio #nr-stations button{font:italic 12px Georgia,serif;min-height:34px;padding:7px 12px;background:#ccc1a1;color:#373729;border:0;border-radius:0;transform:rotate(-2deg);box-shadow:1px 2px 1px #0004;cursor:pointer}#nocturne-radio #nr-stations button:nth-child(2){transform:rotate(1deg)}#nocturne-radio #nr-stations button:disabled{background:#36392f;color:#a3a38f;box-shadow:none;cursor:default}#nocturne-radio footer{display:flex;justify-content:space-between;gap:16px;font-size:10px;line-height:1.6;margin-top:20px;color:#b6b39f}#nocturne-radio .nr-serial{white-space:nowrap;color:#929783}@media(max-width:500px){#nocturne-radio .nr-machine{padding:20px 14px}#nocturne-radio h2{font-size:27px;letter-spacing:3px}#nocturne-radio header .nr-small{font-size:8px;letter-spacing:.5px}#nocturne-radio .nr-console{grid-template-columns:1fr 132px;gap:12px}#nocturne-radio .nr-right{grid-column:1/-1}#nocturne-radio .nr-speaker{display:none}#nocturne-radio .nr-screen-foot span:last-child{display:none}#nocturne-radio .nr-model{font-size:8px}#nocturne-radio canvas{height:260px}#nocturne-radio .nr-caption{font-size:12px;letter-spacing:1.5px}#nocturne-radio .nr-serial{display:none}#nocturne-radio .nr-screen-top{font-size:8px;left:12px;right:12px}#nocturne-radio .nr-left>.nr-small{font-size:8px}#nocturne-radio .nr-switches{gap:12px}}

html,body{margin:0;min-height:100%;background:#161813}body{padding:12px;box-sizing:border-box}#nocturne-radio{max-width:850px;margin:auto}body.preview{padding:0;height:100vh;overflow:hidden}.preview #nocturne-radio{padding:0;max-width:none;height:100%}.preview .nr-machine{padding:0!important;height:100%;border:0!important;border-radius:0!important;background:none!important;box-shadow:none!important}.preview header,.preview .nr-screw,.preview .nr-band,.preview .nr-console,.preview .nr-log,.preview footer,.preview .nr-screen-top,.preview .nr-caption,.preview .nr-screen-foot{display:none!important}.preview .nr-bezel{padding:0!important;height:100%;border-radius:0!important}.preview .nr-crt{height:100%;border-radius:0!important}.preview #nr-canvas{height:100%!important;width:100%}#nocturne-radio .nr-small{font-size:11px}#nocturne-radio .nr-screen-top{font-size:11px}#nocturne-radio footer{font-size:11px}@media(max-width:500px){body:not(.preview){padding:4px}#nocturne-radio .nr-machine{padding:18px 12px}#nocturne-radio header .nr-small{font-size:9px}#nocturne-radio .nr-screen-top{font-size:9px}}.nr-help{font:12px/1.6 Courier New,monospace;color:#d6c6a8;margin:0 0 14px}.preview .nr-help{display:none}
/* Fit the receiver to the overlay's available viewport. */
html,body{height:100%;min-height:0}body:not(.preview){height:100dvh;padding:12px;overflow:hidden}
body:not(.preview) #nocturne-radio{height:100%;padding:0;max-width:850px}
body:not(.preview) #nocturne-radio .nr-machine{height:100%;min-height:0;padding:20px 24px;display:grid;grid-template-rows:auto auto minmax(90px,1fr) auto auto auto auto;gap:10px}
body:not(.preview) #nocturne-radio header{margin:0}body:not(.preview) #nocturne-radio h2{font-size:28px;margin-top:6px}
body:not(.preview) #nocturne-radio .nr-help{margin:0;font-size:11px;line-height:1.4}
body:not(.preview) #nocturne-radio .nr-bezel{height:100%;min-height:0;padding:8px}
body:not(.preview) #nocturne-radio .nr-crt{height:100%;min-height:0}
body:not(.preview) #nocturne-radio canvas{height:100%;width:100%;position:absolute;inset:0}
body:not(.preview) #nocturne-radio .nr-band{margin:0;padding-top:5px}
body:not(.preview) #nocturne-radio .nr-ticks{height:14px;margin-top:3px}
body:not(.preview) #nocturne-radio .nr-console{gap:12px}
body:not(.preview) #nocturne-radio .nr-switches{margin-top:0}
body:not(.preview) #nocturne-radio .nr-log{margin:0;padding-top:8px}
body:not(.preview) #nocturne-radio #nr-stations{margin-top:6px;gap:8px}
body:not(.preview) #nocturne-radio footer{margin:0;font-size:11px;line-height:1.4}
body:not(.preview) #nocturne-radio .nr-screen-top{font-size:11px}
@media(max-width:500px){
body:not(.preview){padding:5px}
body:not(.preview) #nocturne-radio .nr-machine{padding:17px 12px;gap:8px}
body:not(.preview) #nocturne-radio h2{font-size:25px}
body:not(.preview) #nocturne-radio header .nr-small{font-size:9px}
body:not(.preview) #nocturne-radio .nr-console{grid-template-columns:1fr 124px;gap:7px}
body:not(.preview) #nocturne-radio .nr-dial{width:110px;height:110px;padding:8px;margin-bottom:5px}
body:not(.preview) #nocturne-radio .nr-knob{width:94px;height:94px}
body:not(.preview) #nocturne-radio .nr-knob i{left:43px;top:10px}
body:not(.preview) #nocturne-radio .nr-dial-block>.nr-small{font-size:9px;letter-spacing:.3px;white-space:nowrap}
body:not(.preview) #nocturne-radio .nr-right{grid-column:1/-1}
body:not(.preview) #nocturne-radio .nr-key{min-height:36px}
body:not(.preview) #nocturne-radio .nr-screen-top{font-size:9px;top:9px}
body:not(.preview) #nocturne-radio .nr-caption{bottom:30px;font-size:12px}
body:not(.preview) #nocturne-radio #nr-stations button{padding:5px 7px;font-size:11px;min-height:30px}
}
@media(max-height:650px){
body:not(.preview) #nocturne-radio .nr-machine{padding:14px 12px;gap:6px}
body:not(.preview) #nocturne-radio header .nr-small,body:not(.preview) #nocturne-radio .nr-model{display:none}
body:not(.preview) #nocturne-radio h2{font-size:22px;margin:0}
body:not(.preview) #nocturne-radio .nr-dial{width:94px;height:94px;padding:7px;margin-bottom:4px}
body:not(.preview) #nocturne-radio .nr-knob{width:80px;height:80px}
body:not(.preview) #nocturne-radio .nr-knob i{left:36px;top:9px;height:15px}
body:not(.preview) #nocturne-radio .nr-speaker{height:28px;margin-bottom:8px}
body:not(.preview) #nocturne-radio .nr-log>.nr-small{display:none}
body:not(.preview) #nocturne-radio #nr-stations{margin:0}
body:not(.preview) #nocturne-radio footer{font-size:10px}
}

/* Reserve the screen; compact the physical controls instead. */
body:not(.preview) #nocturne-radio .nr-machine{padding:12px 16px;gap:6px;grid-template-rows:auto auto minmax(260px,1fr) auto auto auto auto}
body:not(.preview) #nocturne-radio header .nr-small,body:not(.preview) #nocturne-radio .nr-model{display:none}
body:not(.preview) #nocturne-radio h2{font-size:22px;margin:0}
body:not(.preview) #nocturne-radio .nr-bezel{padding:6px}
body:not(.preview) #nocturne-radio .nr-help{font-size:11px;line-height:1.3}
body:not(.preview) #nocturne-radio .nr-band{padding:3px 8px 0}
body:not(.preview) #nocturne-radio .nr-band-numbers{font-size:9px}
body:not(.preview) #nocturne-radio .nr-ticks{height:10px;margin-top:2px}
body:not(.preview) #nocturne-radio .nr-console{grid-template-columns:1fr 110px 1fr;gap:10px}
body:not(.preview) #nocturne-radio .nr-left{gap:3px}
body:not(.preview) #nocturne-radio .nr-left>.nr-small{display:none}
body:not(.preview) #nocturne-radio output{font-size:24px}
body:not(.preview) #nocturne-radio .nr-switches{gap:12px;margin:0}
body:not(.preview) #nocturne-radio .nr-speaker{display:none}
body:not(.preview) #nocturne-radio .nr-dial{width:84px;height:84px;padding:6px;margin-bottom:2px}
body:not(.preview) #nocturne-radio .nr-knob{width:72px;height:72px}
body:not(.preview) #nocturne-radio .nr-knob i{left:32px;top:8px;height:14px}
body:not(.preview) #nocturne-radio .nr-dial-block>.nr-small{font-size:9px;letter-spacing:0;white-space:nowrap}
body:not(.preview) #nocturne-radio .nr-key{min-height:36px;padding:7px}
body:not(.preview) #nocturne-radio .nr-log{padding-top:6px}
body:not(.preview) #nocturne-radio .nr-log>.nr-small{display:none}
body:not(.preview) #nocturne-radio #nr-stations{margin:0;gap:6px}
body:not(.preview) #nocturne-radio #nr-stations button{min-height:28px;padding:4px 7px;font-size:11px}
body:not(.preview) #nocturne-radio footer{font-size:10px;line-height:1.2}
body:not(.preview) #nocturne-radio .nr-serial{display:none}
@media(max-width:500px){
body:not(.preview) #nocturne-radio .nr-machine{padding:10px;gap:5px;grid-template-rows:auto auto minmax(260px,1fr) auto auto auto auto}
body:not(.preview) #nocturne-radio .nr-console{grid-template-columns:1fr 102px;gap:4px}
body:not(.preview) #nocturne-radio .nr-right{grid-column:1;grid-row:2}
body:not(.preview) #nocturne-radio .nr-dial-block{grid-column:2;grid-row:1/3}
body:not(.preview) #nocturne-radio .nr-switches{gap:10px}
body:not(.preview) #nocturne-radio .nr-dial{width:90px;height:90px;padding:6px}
body:not(.preview) #nocturne-radio .nr-knob{width:78px;height:78px}
body:not(.preview) #nocturne-radio .nr-knob i{left:35px}
body:not(.preview) #nocturne-radio .nr-toggle{min-height:36px}
body:not(.preview) #nocturne-radio .nr-seek{min-height:32px;padding:5px}
body:not(.preview) #nocturne-radio footer{display:none}
}
@media(max-height:570px) and (min-width:501px){
body:not(.preview) #nocturne-radio .nr-machine{grid-template-rows:auto auto minmax(220px,1fr) auto auto auto auto}
body:not(.preview) #nocturne-radio .nr-dial{width:68px;height:68px;padding:5px}
body:not(.preview) #nocturne-radio .nr-knob{width:58px;height:58px}
body:not(.preview) #nocturne-radio .nr-knob i{left:25px;height:12px}
body:not(.preview) #nocturne-radio footer{display:none}
}
@media(max-width:500px){body:not(.preview){padding:3px}body:not(.preview) #nocturne-radio .nr-machine{padding:8px;gap:3px}body:not(.preview) #nocturne-radio .nr-dial-block>.nr-small{font-size:9px}} 
/* Garage iframe sizing and host close-button safe area. */
html,body{width:100%;height:100%;overflow:hidden}
body:not(.preview) #nocturne-radio{max-width:none;width:100%}
body:not(.preview) #nocturne-radio .nr-machine{grid-template-rows:auto auto minmax(0,1fr) auto auto auto auto}
body:not(.preview) #nocturne-radio header{min-height:32px;padding-right:72px}
body:not(.preview) #nocturne-radio .nr-help{padding-right:72px}
.preview #nocturne-radio{pointer-events:none;user-select:none;cursor:default}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{animation:none!important;transition:none!important}}
