:root {
    color-scheme: dark;
    font-family: Inter, "Segoe UI", system-ui, sans-serif;
    --ink: #eafaff;
    --muted: #9ec4d9;
    --line: rgba(166, 226, 246, .2);
}

* { box-sizing: border-box; }
html, body { min-height: 100%; margin: 0; }
body {
    color: var(--ink);
    background:
        radial-gradient(circle at 80% 0, rgba(22, 171, 231, .2), transparent 35%),
        linear-gradient(145deg, #031b2d, #063d68);
}
a { color: inherit; text-decoration: none; }
button { font: inherit; }
.play-toolbar {
    min-height: 76px;
    display: grid;
    grid-template-columns: 170px 1fr auto;
    align-items: center;
    gap: 18px;
    padding: 8px clamp(14px, 3vw, 42px);
    border-bottom: 1px solid var(--line);
    background: rgba(3, 25, 43, .88);
    backdrop-filter: blur(16px);
}
.play-brand img {
    width: 155px;
    height: 62px;
    object-fit: contain;
    border-radius: 13px;
}
.play-toolbar > div strong,
.play-toolbar > div span { display: block; }
.play-toolbar > div strong { font-size: 16px; }
.play-toolbar > div span { margin-top: 2px; color: var(--muted); font-size: 11px; }
.play-toolbar nav { display: flex; gap: 8px; }
.play-toolbar nav a,
.play-toolbar nav button {
    min-height: 42px;
    display: inline-flex;
    align-items: center;
    padding: 8px 14px;
    border: 1px solid var(--line);
    border-radius: 13px;
    color: white;
    background: rgba(255, 255, 255, .07);
    cursor: pointer;
}
.play-toolbar nav button {
    border-color: #52dff1;
    background: linear-gradient(145deg, #0bb6d3, #0878d2);
    font-weight: 800;
}
.play-layout {
    width: min(calc(100% - 28px), 1600px);
    display: grid;
    grid-template-columns: minmax(0, 1fr) 270px;
    gap: 16px;
    margin: 14px auto;
}
.game-frame {
    height: calc(100dvh - 104px);
    min-height: 640px;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 24px;
    background: #078fe9;
    box-shadow: 0 28px 70px rgba(0, 12, 25, .48);
}
.game-frame iframe {
    width: 100%;
    height: 100%;
    display: block;
    border: 0;
    background: #078fe9;
}
.game-side {
    align-self: start;
    display: grid;
    gap: 13px;
    padding: 17px;
    border: 1px solid var(--line);
    border-radius: 22px;
    background: rgba(4, 38, 63, .9);
}
.game-side > section {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 10px;
    align-items: start;
}
.game-side strong,
.game-side small { display: block; }
.game-side small { margin-top: 3px; color: var(--muted); font-size: 10px; line-height: 1.4; }
.live-dot {
    width: 10px;
    height: 10px;
    margin-top: 6px;
    border-radius: 50%;
    background: #33df9b;
    box-shadow: 0 0 0 6px rgba(51, 223, 155, .12);
}
.game-side ul {
    display: grid;
    gap: 8px;
    margin: 0;
    padding: 13px 13px 13px 31px;
    border-radius: 15px;
    color: #cdeafa;
    background: rgba(255, 255, 255, .05);
    font-size: 12px;
}
.web-ad {
    min-height: 90px;
    overflow: hidden;
    border: 1px dashed rgba(166, 226, 246, .28);
    border-radius: 15px;
    background: rgba(255, 255, 255, .03);
}
.play-store-link img {
    width: 100%;
    max-width: 210px;
    margin: 0 auto;
}
.game-frame:fullscreen {
    width: 100vw;
    height: 100vh;
    border: 0;
    border-radius: 0;
}

@media (max-width: 1080px) {
    .play-layout { grid-template-columns: 1fr; }
    .game-side { grid-template-columns: 1fr 1.4fr auto; align-items: center; }
    .game-side ul { grid-template-columns: repeat(2, 1fr); }
    .web-ad { grid-column: 1 / -1; }
    .play-store-link img { width: 170px; }
}

@media (max-width: 720px) {
    .play-toolbar {
        min-height: 58px;
        grid-template-columns: 92px 1fr auto;
        gap: 8px;
        padding: 5px 8px;
    }
    .play-brand img { width: 88px; height: 46px; }
    .play-toolbar > div span,
    .play-toolbar nav a { display: none; }
    .play-toolbar > div strong { font-size: 11px; }
    .play-toolbar nav button { min-height: 38px; padding: 6px 9px; font-size: 10px; }
    .play-layout { width: 100%; margin: 0; }
    .game-frame {
        height: calc(100dvh - 58px);
        min-height: 0;
        border: 0;
        border-radius: 0;
    }
    .game-side { display: none; }
}

