#clubLocaleToolbar{position:fixed;top:max(12px,env(safe-area-inset-top));right:12px;display:flex;align-items:center;gap:8px;z-index:1000}#clubLocaleToolbar>button{position:static!important;inset:auto!important;transform:none!important;margin:0!important;width:42px;height:42px;display:grid;place-items:center;border-radius:12px}#clubLanguageButton{cursor:pointer;font-size:22px;background:var(--card-bg,#202030);color:var(--text-color,#fff);border:1px solid #8885}.club-language-dialog{width:min(420px,calc(100% - 32px));box-sizing:border-box;border:1px solid #8885;border-radius:18px;padding:22px;background:var(--card-bg,#202030);color:var(--text-color,#fff);margin:auto}.club-language-dialog::backdrop{background:#0009}.club-language-dialog form{display:grid;gap:14px}.club-language-dialog fieldset{border:0;padding:0}.club-language-grid{display:grid;grid-template-columns:1fr 1fr;gap:8px}.club-language-grid label{padding:10px;border:1px solid #8885;border-radius:10px;cursor:pointer}.club-language-dialog select,.club-language-actions button{padding:10px;border-radius:9px;border:1px solid #8885;background:inherit;color:inherit}.club-language-dialog select option{color:#111;background:#fff}.club-language-actions{display:flex;justify-content:flex-end;gap:8px}.club-language-actions button[type=submit]{background:#6555d8;color:white}.club-language-dialog [hidden]{display:none!important}#gameBody #clubLanguageButton,.film-page #clubLanguageButton{display:none!important}
/* PREMIUM LEGAL FOOTER */

.club-legal-footer {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 8px;
    width: 100%;
    grid-column: 1 / -1;
    box-sizing: border-box;
    margin-top: 24px;
    padding: 22px 12px;
    border-top: 1px solid #8882;
    text-align: center;
    font-size: 12px;
    color: var(--text-color, #aab1c4);
}

.club-legal-footer a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 14px;
    border-radius: 10px;
    background: rgba(139, 112, 210, .09);
    border: 1px solid rgba(139, 112, 210, .18);
    color: var(--text-color, #b9a7ec);
    font-weight: 600;
    text-decoration: none;
    transition: .2s ease;
}

.club-legal-footer a:hover {
    background: rgba(139, 112, 210, .2);
    border-color: #a78bfa;
    transform: translateY(-2px);
}

.club-legal-footer span {
    opacity: .65;
    line-height: 1.7;
}

.club-legal-footer span:nth-of-type(1),
.club-legal-footer span:nth-of-type(3) {
    flex-basis: 100%;
}

/* LEGAL PAGE */

.club-legal-page {
    margin: 0;
    min-height: 100vh;
    background: #11141d;
    color: #e9eaf2;
    font-family: system-ui, -apple-system, sans-serif;
    color-scheme: dark;
}

.club-legal-page * {
    box-sizing: border-box;
}

.club-legal-page main {
    width: min(850px, 100%);
    margin: 0 auto;
    padding: 30px 20px;
}

.club-legal-page .legal-hero {
    padding: 32px;
    border-radius: 24px;
    background: linear-gradient(
        135deg, #30234e, #1b2030
    );
    border: 1px solid #a78bfa30;
    margin-bottom: 20px;
}

.club-legal-page .legal-hero h1 {
    font-size: clamp(24px, 5vw, 36px);
    margin: 16px 0 8px;
    letter-spacing: -1px;
}

.club-legal-page .legal-hero p {
    color: #b7b0c9;
    margin: 0;
}

.club-legal-page .legal-back {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #c4b5fd;
    text-decoration: none;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 20px;
}

.club-legal-page nav.club-legal-footer {
    border: none;
    padding: 0;
    margin: 0 0 24px;
}

.club-legal-page nav a {
    flex: 1;
    padding: 14px;
    color: #c4b5fd;
}

.club-legal-page article {
    padding: 32px;
    background: #1b202b;
    border: 1px solid #343b4c;
    border-radius: 20px;
    margin-bottom: 24px;
    scroll-margin-top: 20px;
}

.club-legal-page article h1 {
    margin: 0 0 12px;
    font-size: 26px;
    letter-spacing: -.5px;
}

.club-legal-page article h2 {
    font-size: 17px;
    color: #c4b5fd;
    margin: 26px 0 12px;
    padding-top: 20px;
    border-top: 1px solid #ffffff10;
}

.club-legal-page article p {
    color: #b7bdcd;
    font-size: 14px;
    line-height: 1.9;
}

.club-legal-page article p:first-of-type {
    font-size: 12px;
    opacity: .65;
}

.club-legal-page article:target {
    border-color: #a78bfa80;
}

@media (max-width: 768px) {
    .club-legal-footer {
        padding: 18px 8px;
        font-size: 11px;
    }

    .club-legal-footer a {
        padding: 9px 12px;
    }

    .club-legal-page main {
        padding: 20px 14px;
    }

    .club-legal-page .legal-hero,
    .club-legal-page article {
        padding: 22px 18px;
        border-radius: 16px;
    }

    .club-legal-page article h1 {
        font-size: 22px;
    }

    .club-legal-page nav a {
        font-size: 11px;
        padding: 12px 6px;
    }
}

body:not(.club-home) #themeBtn,
body:not(.club-home) #themeFab,
body:not(.club-home) #clubLanguageButton,
body:not(.club-home) #clubLocaleToolbar {
    display: none !important;
}

/* Dil seçimi — responsive fix */
.club-language-dialog {
    position: fixed !important;
    inset: 0 !important;
    margin: auto !important;
    width: calc(100% - 32px) !important;
    max-width: 420px !important;
    max-height: 90vh;
    box-sizing: border-box;
    overflow-x: hidden;
    overflow-y: auto;
    padding: 18px !important;
}

.club-language-dialog form,
.club-language-dialog fieldset {
    width: 100%;
    min-width: 0;
    margin: 0;
    box-sizing: border-box;
}

.club-language-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.club-language-grid label {
    min-width: 0;
    font-size: 13px;
    overflow-wrap: anywhere;
    box-sizing: border-box;
}

.club-language-dialog select {
    width: 100%;
    min-width: 0;
    max-width: 100%;
    box-sizing: border-box;
    font-size: 16px;
}

.club-language-actions {
    flex-wrap: wrap;
}

/* Giriş səhifəsi — Premium App Banner */
.club-auth .club-auth-install-banner {
    display: flex !important;
    flex-wrap: wrap !important;
    align-items: center !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    padding: 18px !important;
    margin: 0 0 18px !important;
    gap: 12px !important;
    border-radius: 20px !important;
    min-height: 110px;
    text-align: left;
}

.club-auth .club-auth-install-banner img {
    width: 54px !important;
    height: 54px !important;
    border-radius: 14px !important;
    object-fit: contain;
}

.club-auth .club-auth-install-banner strong {
    font-size: 19px !important;
    font-weight: 800 !important;
}

.club-auth .club-auth-install-banner small {
    font-size: 12px !important;
    line-height: 1.5;
}

.club-auth .club-auth-install-banner > :last-child {
    width: 100% !important;
    padding: 13px !important;
    box-sizing: border-box;
    text-align: center !important;
    border-radius: 12px !important;
    font-size: 14px !important;
    font-weight: 700 !important;
}