/* Play shell: the game frame plus a slim control bar. play-shell.js sets the size and position. */
html, body {
    margin: 0;
    height: 100%;
    overflow: hidden;
    background: #0b0d1c;
}

#player {
    position: fixed;
    left: 0;
    top: 0;
    display: flex;
    flex-direction: column;
    transform-origin: 0 0;
    background: #000;
    box-shadow: 0 18px 60px rgba(0, 0, 0, .55);
}

#gameframediv {
    position: relative;
    flex: 1 1 auto;
    min-height: 0;
    background: #000;
}

#game_frame {
    position: absolute;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
    border: 0;
}

#playbar {
    display: flex;
    flex: none;
    align-items: center;
    gap: 4px;
    height: 48px;
    padding: 0 8px;
    background: #14172e;
    color: #eef0ff;
    font: 700 14px/1 ui-rounded, "SF Pro Rounded", -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
}

.pb-title {
    flex: 1;
    min-width: 0;
    padding: 0 8px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.pb-btn {
    display: grid;
    place-items: center;
    flex: none;
    width: 38px;
    height: 38px;
    padding: 0;
    border: 0;
    border-radius: 10px;
    background: transparent;
    color: inherit;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
}

.pb-btn:hover { background: rgba(255, 255, 255, .12); }
.pb-btn:focus-visible { outline: 2px solid #8f6bff; outline-offset: 1px; }
.pb-btn[hidden] { display: none; }
