/* Local-only @font-face — no external CDN fetches. */
@font-face {
    font-family: 'Century Gothic';
    font-style: normal;
    font-weight: normal;
    font-display: swap;
    src: local('Century Gothic'),
         url('./resources/fonts/GOTHIC.woff2') format('woff2'),
         url('./resources/fonts/GOTHIC.woff')  format('woff'),
         url('./resources/fonts/GOTHIC.TTF')   format('truetype');
}

@font-face {
    font-family: 'Cadillac Sans';
    font-style: normal;
    font-weight: normal;
    font-display: swap;
    src: local('Cadillac Sans'),
         url('./resources/fonts/cadillac_sans.woff2') format('woff2'),
         url('./resources/fonts/cadillac_sans.woff')  format('woff'),
         url('./resources/fonts/cadillac_sans.otf')   format('opentype');
}

html, body {
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    background: #062c19;
    color: #fff;
    font-family: 'Century Gothic', system-ui, Segoe UI, Arial, sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
    touch-action: none;
    overscroll-behavior: none;
}

#game-content {
    position: fixed;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #062c19;
    overflow: hidden;
}

#gameBlock {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    max-width: 100vw;
    max-height: 100vh;
}

#game-content canvas {
    display: block !important;
    width: 100vw !important;
    height: 100vh !important;
    max-width: 100vw !important;
    max-height: 100vh !important;
    object-fit: fill !important;
    image-rendering: auto;
    image-rendering: -webkit-optimize-contrast;
    image-rendering: high-quality;
    touch-action: none;
    outline: none;
    background: transparent;
}

#logBlock { display: none !important; }

.unselectable {
    -moz-user-select: none;
    -webkit-user-select: none;
    -ms-user-select: none;
    user-select: none;
}
