html,
body {
    width: 100%;
    height: 100%;
    min-height: 100%;
    padding: 0;
    margin: 0;
    overflow: hidden;
    background: #000;
    overscroll-behavior: none;
    touch-action: none;
    user-select: none;
    -webkit-user-select: none;
}

#unity-container {
    position: fixed;
    inset: 0;
    width: var(--takta-viewport-width, 100vw);
    height: var(--takta-viewport-height, 100vh);
    height: var(--takta-viewport-height, 100dvh);
    overflow: hidden;
    background: #231F20;
}

#unity-canvas {
    display: block;
    width: 100%;
    height: 100%;
    background: #231F20;
    touch-action: none;
    -webkit-tap-highlight-color: transparent;
}

#orientation-lock {
    position: fixed;
    inset: 0;
    z-index: 1000;
    display: none;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 18px;
    padding: 32px;
    box-sizing: border-box;
    color: #fff;
    text-align: center;
    background: #080b10;
    font-family: Arial, sans-serif;
}

#orientation-lock .orientation-lock-icon {
    font-size: 58px;
    line-height: 1;
    color: #c8f000;
}

#orientation-lock p {
    max-width: 320px;
    margin: 0;
    font-size: 18px;
    line-height: 1.8;
}

#orientation-lock button {
    min-height: 46px;
    padding: 0 22px;
    border: 1px solid #c8f000;
    border-radius: 8px;
    color: #081018;
    background: #c8f000;
    font: inherit;
    font-weight: 700;
    touch-action: manipulation;
}

html.is-portrait #orientation-lock {
    display: flex;
}

html.is-portrait #unity-container {
    visibility: hidden;
    pointer-events: none;
}

#unity-loading-bar { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); display: none }
#unity-logo { width: 154px; height: 130px; background: url('unity-logo-dark.png') no-repeat center }
#unity-progress-bar-empty { margin-left: auto; margin-right: auto; width: 141px; height: 18px; margin-top: 10px; background: url('progress-bar-empty-dark.png') no-repeat center }
#unity-progress-bar-full { width: 0%; height: 18px; margin-top: 10px; background: url('progress-bar-full-dark.png') no-repeat center }
#unity-warning { position: absolute; left: 50%; top: 5%; transform: translate(-50%); background: white; padding: 10px; display: none }
