:root {
    --panel-bg: #1a1a1a;
    --text-color: #ffffff;
}


body, html {
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100%;
    overflow: hidden; 
    background-color: #000;
}


#container {
    width: 100vw;
    height: 100vh;
    display: flex;
    flex-direction: column;
}


#subContainer {
    display: flex;
    flex-direction: column;
    width: 100%;
    height: 100%;
}


#gameContainer {
    flex-grow: 1; 
    width: 100%;
    height: 100%;
    background: #000;
    display: flex;
}


ruffle-player {
    width: 100% !important;
    height: 100% !important;
}


#fullScreenBar {
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 20px;
    background-color: var(--panel-bg);
    border-top: 1px solid #333;
    flex-shrink: 0; 
    box-sizing: border-box;
}

#gameFName {
    margin: 0;
    font-size: 14px;
    color: var(--text-color);
    font-family: sans-serif;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis; 
}


#fullscreen {
    width: 44px;
    height: 44px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
    border-radius: 4px;
}

#fullscreen:hover {
    background: rgba(255,255,255,0.1);
}

#fullscreen img {
    width: 24px;
    height: 24px;
    filter: invert(1);
}
