body:before
{
   content: "";
   position: fixed;
   left: 0;
   top: 0;
   right: 0;
   bottom: 0;
   z-index: -1;
   background-image: linear-gradient(to top, #FFFFFF 0%, #FFFFFF 25%, #00C0FF 50%, #1052A8 75%, #1052A8 100%);
}
body
{
   background-color: #1052A8;
   color: #000000;
   font-family: Arial;
   font-weight: normal;
   font-size: 16px;
   line-height: 1.1875;
   margin: 0;
   padding: 0;
}
@media only screen and (min-width: 1920px)
{
body
{
   background-color: #CCCCFF;
}
#Html1
{
   left: 0px !important;
   top: 0px !important;
   width: 1930px !important;
   height: 1000px !important;
   visibility: visible !important;
   display: inline !important;
}
}
@media only screen and (min-width: 1280px) and (max-width: 1919px)
{
body
{
   background-color: #1052A8;
}
#Html1
{
   left: 0px !important;
   top: 0px !important;
   width: 1280px !important;
   height: 760px !important;
   visibility: visible !important;
   display: inline !important;
}
}
@media only screen and (min-width: 1024px) and (max-width: 1279px)
{
body
{
   background-color: #1052A8;
}
#Html1
{
   left: 0px !important;
   top: 0px !important;
   width: 1024px !important;
   height: 670px !important;
   visibility: visible !important;
   display: inline !important;
}
}
@media only screen and (min-width: 768px) and (max-width: 1023px)
{
body
{
   background-color: #1052A8;
}
#Html1
{
   left: 0px !important;
   top: 0px !important;
   width: 768px !important;
   height: 550px !important;
   visibility: visible !important;
   display: inline !important;
}
}
@media only screen and (min-width: 480px) and (max-width: 767px)
{
body
{
   background-color: #1052A8;
}
#Html1
{
   left: 0px !important;
   top: 0px !important;
   width: 480px !important;
   height: 390px !important;
   visibility: visible !important;
   display: inline !important;
}
}
@media only screen and (max-width: 479px)
{
body
{
   background-color: #1052A8;
}
#Html1
{
   left: 0px !important;
   top: 0px !important;
   width: 320px !important;
   height: 300px !important;
   visibility: visible !important;
   display: inline !important;
}
}
body {
    margin: 0;
    padding: 15px;
    background: transparent;
    font-family: Arial, Helvetica, sans-serif;
}

.sony-tv {
    width: 100%;
    max-width: 1000px;
    margin: 20px auto;
    box-sizing: border-box;
    padding: 18px 18px 0;
    background: linear-gradient(
        110deg,
        #303030,
        #171717 25%,
        #101010 75%,
        #292929
    );
    border: 3px solid #353535;
    border-radius: 12px 12px 5px 5px;
    box-shadow:
        0 15px 25px #0005,
        inset 0 2px 3px #ffffff25;
}

/* Recessed projection screen */

.screen-frame {
    padding: 9px;
    background: #080808;
    border: 4px solid #242424;
    border-radius: 4px;
    box-shadow:
        inset 0 0 15px #000,
        0 1px 2px #ffffff20;
}

.tv-screen {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: #000;
    border-radius: 2px;
}

.tv-screen video {
    display: block;
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: fill;
    background: #000;
}

/* Video player control panel */

video::-webkit-media-controls-panel {
    background-image: linear-gradient(
        transparent,
        rgba(0, 0, 0, 0.85)
    );
}

video::-webkit-media-controls-timeline {
    cursor: pointer;
}

video::-webkit-media-controls-play-button {
    cursor: pointer;
}

video::-webkit-media-controls-fullscreen-button {
    cursor: pointer;
}

.tv-screen.off video {
    visibility: hidden;
}

/* Projection screen glass */

.screen-glass {
    position: absolute;
    inset: 0;
    pointer-events: none;
    box-shadow: inset 0 0 12px #0005;
}

/* Sony branding */

.brand-panel {
    text-align: center;
    padding: 10px 0;
    background: linear-gradient(
        #222,
        #151515
    );
}

.sony-logo {
    font-family: Georgia, serif;
    font-weight: bold;
    font-size: clamp(20px, 3vw, 30px);
    letter-spacing: 3px;
    color: #d1d1d1;
    text-shadow: 1px 2px #000;
}

.model-name {
    font-size: 9px;
    letter-spacing: 3px;
    color: #888;
    margin-top: 4px;
}

/* Lower floor-model cabinet */

.lower-cabinet {
    display: flex;
    align-items: stretch;
    min-height: 130px;
    background: #191919;
    border-top: 2px solid #353535;
}

.speaker {
    flex: 1;
    min-width: 0;
    background-color: #171717;
    background-image: radial-gradient(
        circle,
        #050505 1px,
        transparent 1.5px
    );
    background-size: 4px 4px;
    border: 3px solid #222;
    box-shadow: inset 0 0 15px #000;
}

/* Center television controls */

.control-panel {
    width: 34%;
    min-width: 140px;
    padding: 12px;
    box-sizing: border-box;
    background: linear-gradient(
        120deg,
        #292929,
        #111
    );
    text-align: center;
    color: #aaa;
}

.control-row {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
}

.tv-button {
    border: 1px solid #555;
    border-radius: 4px;
    background: linear-gradient(
        #414141,
        #191919
    );
    color: #ccc;
    padding: 7px 10px;
    font-size: 12px;
    cursor: pointer;
    box-shadow: 0 2px 3px #000;
}

.tv-button:hover {
    background: #484848;
}

.tv-button:active {
    transform: translateY(1px);
}

.power-light {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #00ee44;
    box-shadow: 0 0 8px #00ee44;
}

.power-light.off {
    background: #aa0000;
    box-shadow: 0 0 5px #aa0000;
}

.slider-row {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 9px 0;
    font-size: 10px;
}

.slider-row label {
    width: 65px;
    text-align: left;
}

.slider-row input {
    flex: 1;
    width: 50%;
    min-width: 0;
    height: 5px;
    accent-color: #999;
    cursor: pointer;
}

.tv-description {
    color: #777;
    font-size: 8px;
    letter-spacing: 2px;
    margin-top: 12px;
}

/* Floor-standing pedestal */

.tv-base {
    height: 24px;
    margin: 0 -18px;
    background: linear-gradient(
        #292929,
        #0a0a0a
    );
    border-top: 2px solid #333;
    border-radius: 0 0 5px 5px;
}

/* Autoplay fallback */

.play-overlay {
    display: none;
    position: absolute;
    inset: 0;
    align-items: center;
    justify-content: center;
    background: #0005;
    cursor: pointer;
}

.play-overlay.show {
    display: flex;
}

.play-icon {
    background: #000a;
    border: 2px solid #ffffffaa;
    border-radius: 50%;
    width: 65px;
    height: 65px;
    display: grid;
    place-items: center;
    color: white;
    font-size: 30px;
}

.tv-screen:fullscreen {
    width: 100%;
    height: 100%;
}

.tv-screen:fullscreen video {
    object-fit: contain;
}

/* Mobile layout */

@media (max-width: 600px) {

    body {
        padding: 5px;
    }

    .sony-tv {
        padding: 8px 8px 0;
        margin: 5px auto;
    }

    .screen-frame {
        padding: 3px;
        border-width: 2px;
    }

    .lower-cabinet {
        min-height: 100px;
    }

    .control-panel {
        width: 48%;
        padding: 8px;
    }

    .tv-base {
        margin: 0 -8px;
        height: 15px;
    }

    .tv-button {
        font-size: 10px;
        padding: 6px;
    }

    .slider-row {
        font-size: 8px;
    }

    .slider-row label {
        width: 50px;
    }
}

