.home-tv-dialog{width:min(900px,96vw);max-width:96vw;max-height:94dvh;overflow:auto;margin:auto;padding:20px 24px 12px;color:#ddd0ae;background:#19241f;border:1px solid #8d8466;box-shadow:0 24px 90px #000b;font-family:var(--font-body,Georgia,serif)}
.home-tv-dialog::backdrop{background:#0a100ddd;backdrop-filter:blur(3px)}
.tv-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:18px}.tv-heading h2{font:normal 22px Georgia,serif;margin:0}.tv-heading button{padding:9px 12px;font-size:12px;border:1px solid #82785f;color:#ddd0ae;background:transparent;cursor:pointer}
.tv-view{display:grid;grid-template-columns:minmax(0,1fr) 154px;align-items:center;gap:25px}.tv-set{padding:22px 24px 12px;border-radius:22px 24px 12px 12px;background:linear-gradient(135deg,#62625a,#292d29 10%,#3d4039 53%,#181e1c);border:2px solid #171c18;box-shadow:inset 2px 2px 3px #a6a18a55,inset -4px -6px 7px #080c0d,0 10px 18px #0007}
.tv-glass{overflow:hidden;aspect-ratio:4/3;border:9px solid #101a19;border-radius:12% / 10%;box-shadow:0 0 0 2px #77786a55,inset 0 0 18px #000;background:#0f1918}.tv-glass canvas{display:block;width:100%;height:100%;image-rendering:auto;outline:none}.tv-trim{display:flex;align-items:center;justify-content:space-between;padding:13px 4px 2px;color:#9b9f8d;font:9px Arial,sans-serif;letter-spacing:1.5px}.tv-led{width:4px;height:4px;border-radius:50%;background:#95483c}.tv-led[data-on="true"]{background:#a5af70;box-shadow:0 0 5px #adb47b77}
.tv-remote{position:relative;border:2px solid #171813;border-radius:7px 7px 10px 10px;padding:12px 13px 14px;background:linear-gradient(100deg,#69685e 0%,#aaa592 5%,#c3beaa 12%,#b5b09d 84%,#8f8c7d 96%,#51534b);box-shadow:inset 1px 1px 1px #e3dbc5,inset -2px -3px 2px #44463e,5px 10px 14px #0005;text-align:center}
.remote-infrared{height:13px;margin:-7px 2px 12px;border:1px solid #282421;border-radius:2px;background:linear-gradient(#261e1d,#462b29 50%,#211d1c);box-shadow:inset 0 1px 1px #100d0d,0 1px #ded6bf66}.remote-brand{display:flex;align-items:center;justify-content:space-between;gap:5px;font:bold 7px Arial,sans-serif;letter-spacing:.8px;color:#3f4540;margin-bottom:12px}.remote-brand small{font:6px Arial,sans-serif;letter-spacing:.4px}
.home-tv-dialog .tv-remote button{padding:0;min-width:0;width:auto;letter-spacing:normal;line-height:1;white-space:nowrap;font:16px Arial,sans-serif;border:1px solid #53584d;border-radius:3px;min-height:36px;background:linear-gradient(#e0ddc9,#c4c2ae);color:#303c37;box-shadow:0 3px 0 #666b5b,inset 0 1px 1px #faf6df;cursor:pointer;touch-action:manipulation}.home-tv-dialog .tv-remote button:active{transform:translateY(2px);box-shadow:0 1px 0 #55594e}.home-tv-dialog button:focus-visible{outline:2px solid #e2c77e;outline-offset:3px}.home-tv-dialog .tv-remote button[aria-pressed="true"]{color:#27352d;background:linear-gradient(#d1c293,#b4a574);box-shadow:0 2px 0 #615c45,inset 0 1px #e8dcba}
.home-tv-dialog .tv-remote .remote-power{display:block;min-height:25px;height:25px;width:30px;margin:0 0 18px auto;background:linear-gradient(#91554a,#71453d);border-color:#513a31;border-radius:3px;color:#ede0c3;font-size:17px;box-shadow:0 2px #564437,inset 0 1px #ba837166}.remote-numbers{display:grid;grid-template-columns:repeat(3,1fr);gap:9px 7px}.remote-rocker{display:grid;grid-template-columns:1fr 1fr;gap:7px;margin-top:19px;padding-top:12px;border-top:1px solid #7f827033}.home-tv-dialog .remote-rocker button{font-size:12px;background:linear-gradient(#69786a,#4b5e51);color:#eee8cb;box-shadow:0 3px #485044,inset 0 1px #a2ac9266}
.home-tv-dialog #tv-auto{display:block;width:100%;margin:12px 0 0;font-size:9px;letter-spacing:2px;background:linear-gradient(#a3956b,#8d805d);color:#f1e8c9;box-shadow:0 3px #70664a,inset 0 1px #cec09b}.remote-grip{height:21px;margin-top:15px;background:repeating-linear-gradient(0deg,#777c6c33 0 1px,#d1ccb522 1px 3px);border-radius:1px}
.tv-channel{text-align:center;font:13px Arial,sans-serif;letter-spacing:.3px;margin:18px 0 8px}.tv-help{text-align:center;font:11px Arial,sans-serif;color:#a4aa96;margin:0 0 5px}
@media(max-width:600px){.home-tv-dialog{padding:14px 10px 10px}.tv-view{grid-template-columns:minmax(0,1fr) 126px;gap:9px}.tv-set{padding:12px 9px 7px;border-radius:14px}.tv-glass{border-width:5px}.tv-trim{font-size:6px;padding:10px 0 0;letter-spacing:.5px}.tv-remote{padding:12px 8px 10px}.remote-numbers{gap:9px 5px}.remote-brand{font-size:6px}.tv-heading h2{font-size:18px}.tv-heading button{font-size:11px}.tv-help{line-height:1.5}}
@media(max-width:450px) and (min-height:600px){.tv-view{grid-template-columns:1fr}.tv-remote{width:160px;justify-self:center;padding:10px 14px}.remote-brand,.remote-grip{display:none}.remote-infrared{height:8px;margin-bottom:10px}.home-tv-dialog .tv-remote .remote-power{margin-bottom:10px}.remote-numbers{gap:7px}.remote-rocker{margin-top:11px;padding-top:8px}.home-tv-dialog .remote-numbers button{min-height:40px}.tv-set{max-width:340px;justify-self:center;width:100%}.tv-help{font-size:10px}.tv-heading{margin-bottom:12px}.tv-channel{margin:12px 0 6px}}
@media(max-height:500px) and (min-width:451px){.home-tv-dialog{width:min(750px,97vw);max-height:98dvh;padding:9px 15px}.tv-heading{margin-bottom:8px}.tv-heading h2{font-size:18px}.tv-view{grid-template-columns:minmax(0,1fr) 180px;gap:20px}.tv-set{max-width:390px;justify-self:center;padding:12px 14px 5px}.tv-glass{max-height:190px;border-width:6px}.tv-trim{padding-top:7px}.tv-remote{padding:10px 14px}.remote-brand,.remote-grip{display:none}.remote-infrared{height:8px;margin-bottom:10px}.home-tv-dialog .tv-remote .remote-power{margin-bottom:8px}.remote-numbers{gap:7px}.home-tv-dialog .tv-remote button{min-height:29px}.remote-rocker{margin-top:10px;padding-top:7px}#tv-auto{margin-top:10px}.tv-channel{margin:9px 0 5px}.tv-help{font-size:10px}}
