/* MG Kids Footer — reusable mahasgames branding component (v1.0) */

.footer-mg {
    position: fixed;
    left: 10px;
    bottom: 8px;
    display: flex;
    align-items: center;
    gap: 6px;
    z-index: 40;
    pointer-events: none;
}

.footer-mg .teks-footer {
    font-size: 11px;
    color: #6b7280;
    background: rgba(255, 255, 255, 0.85);
    padding: 2px 6px;
    border-radius: 6px;
}

.footer-mg .teks-footer strong {
    font-weight: 600;
    color: #111827;
}

.mgkf-notice {
    display: none;
    position: fixed;
    bottom: 44px;
    left: 10px;
    right: 10px;
    max-width: 420px;
    margin: 0 auto;
    font-size: 12px;
    font-weight: 600;
    color: #dc2626;
    background: #fff;
    border: 2px solid #dc2626;
    border-radius: 10px;
    padding: 8px 12px;
    z-index: 41;
}

body.mgkf-locked .mgkf-notice {
    display: block;
}

body.mgkf-locked .mgkf-protect {
    pointer-events: none;
    opacity: 0.35;
    filter: grayscale(60%);
}

.mgkf-gear {
    position: fixed;
    right: 10px;
    bottom: 8px;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    border: none;
    background: rgba(17, 24, 39, 0.06);
    color: #9ca3af;
    font-size: 14px;
    z-index: 40;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mgkf-gear:hover {
    background: rgba(17, 24, 39, 0.12);
    color: #4b5563;
}

.mgkf-modal {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 50;
}

.mgkf-modal.hidden {
    display: none;
}

.mgkf-modal-box {
    background: #fff;
    border-radius: 12px;
    padding: 20px;
    width: 100%;
    max-width: 300px;
    position: relative;
}

.mgkf-modal-close {
    position: absolute;
    top: 8px;
    right: 10px;
    background: none;
    border: none;
    font-size: 18px;
    color: #9ca3af;
    line-height: 1;
}

.mgkf-modal-title {
    font-size: 15px;
    font-weight: 600;
    margin: 0 0 14px;
}

.mgkf-modal-btn {
    display: block;
    width: 100%;
    padding: 9px;
    margin-bottom: 8px;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    background: #f9fafb;
    font-size: 13px;
    color: #111827;
}

.mgkf-modal-btn:hover {
    background: #f3f4f6;
}

.mgkf-modal-btn.hidden {
    display: none;
}
