* {
    box-sizing: border-box;
}

html {
    color-scheme: dark;
}

body {
    margin: 0;
    min-height: 100vh;
    background: #11151a;
    color: #f4f5f7;
    font-family: "Segoe UI", system-ui, -apple-system, sans-serif;
}

.game-page {
    width: min(100% - 32px, 920px);
    margin: 0 auto;
    padding: 28px 0 44px;
}

.game-header {
    margin-bottom: 22px;
}

.back-link {
    display: inline-block;
    margin-bottom: 24px;
    color: #cbd1d8;
    text-decoration: none;
}

.back-link:hover {
    color: #f5d77b;
}

.eyebrow {
    margin: 0 0 6px;
    color: #f5d77b;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.15em;
}

h1 {
    margin: 0;
    font-size: clamp(30px, 5vw, 48px);
}

.subtitle {
    margin: 10px 0 0;
    color: #aeb6c0;
    line-height: 1.7;
}

.game-panel {
    overflow: hidden;
    border: 1px solid #343b45;
    border-radius: 16px;
    background: #090b0e;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.36);
}

.game-toolbar {
    min-height: 46px;
    padding: 0 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    border-bottom: 1px solid #2c323a;
    color: #d9dde2;
    font-size: 13px;
}

.status-dot {
    display: inline-block;
    width: 8px;
    height: 8px;
    margin-right: 9px;
    border-radius: 50%;
    background: #6fd08c;
    box-shadow: 0 0 0 4px rgba(111, 208, 140, 0.12);
}

.desktop-hint {
    color: #8f98a4;
}

.game-frame-wrap {
    width: 100%;
    aspect-ratio: 1 / 1;
    background: #000;
}

iframe {
    display: block;
    width: 100%;
    height: 100%;
    border: 0;
}

.instructions {
    margin-top: 22px;
    padding: 20px 22px;
    border: 1px solid #2e353e;
    border-radius: 12px;
    background: #191e24;
}

.instructions h2 {
    margin: 0 0 8px;
    font-size: 18px;
}

.instructions p {
    margin: 0;
    color: #bcc3cc;
    line-height: 1.7;
}

@media (max-width: 600px) {
    .game-page {
        width: min(100% - 20px, 920px);
        padding-top: 18px;
    }

    .desktop-hint {
        display: none;
    }
}
