* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; background: #0b0b0c; color: #e9e9e9; font-family: system-ui, sans-serif; }
.tv-wrap {
position: relative;
width: 100%;
max-width: 850px;
margin: 2rem auto;
aspect-ratio: 1200 / 900;
background: #000;
overflow: hidden;
}

.tv-frame {
position: absolute;
inset: 0;
width: 100%;
height: 100%;
z-index: 10;
pointer-events: none;
/* Force the image to fill the container so percentages don't drift */
object-fit: fill;
}

.tv-screen {
position: absolute;
/* Locked to the glass in symitri_master frame */
left: 10.8%;
top: 15.8%;
width: 62.6%;
height: 60.6%;
background: #050505;
overflow: hidden;
border-radius: 2% / 3%;
z-index: 5;
}

.screen-layer {
position: absolute; inset: 0;
display: flex; align-items: center; justify-content: center;
opacity: 0; transition: opacity 0.3s ease;
}
.screen-layer.active { opacity: 1; }
#staticCanvas { width: 100% !important; height: 100% !important; object-fit: cover; }

/* Fixed Knobs - Aligned to the dials on the right side of the frame */
.knob {
position: absolute;
z-index: 20;
width: 7%;
height: 9%;
cursor: pointer;
}
#knobChannel { left: 81.3%; top: 31.5%; }
#knobVolume { left: 81.3%; top: 48.5%; }

.knob .indicator {
width: 3px; height: 12px; background: #fff; margin: 0 auto;
transform-origin: 50% 100%;
}

.scanlines { position: absolute; inset: 0; pointer-events: none; z-index: 6; background: repeating-linear-gradient(rgba(0,0,0,0) 0, rgba(0,0,0,0.15) 2px, rgba(0,0,0,0) 4px); }
.vignette { position: absolute; inset: 0; pointer-events: none; z-index: 7; box-shadow: inset 0 0 80px rgba(0,0,0,0.8); }
