/* Full-screen block when browser is not Google Chrome (mobile or desktop) */
html.markaz-chrome-locked,
html.markaz-chrome-locked body {
    overflow: hidden !important;
    height: 100%;
    max-height: 100vh;
}

.mcr-overlay {
    position: fixed;
    inset: 0;
    z-index: 2147483647;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: max(16px, env(safe-area-inset-top)) max(16px, env(safe-area-inset-right))
        max(16px, env(safe-area-inset-bottom)) max(16px, env(safe-area-inset-left));
    background: rgba(15, 23, 42, 0.88);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    box-sizing: border-box;
}

.mcr-card {
    width: 100%;
    max-width: 420px;
    background: #fff;
    border-radius: 16px;
    padding: 1.75rem 1.5rem;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.35);
    text-align: center;
    font-family: system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
}

.mcr-icon {
    width: 56px;
    height: 56px;
    margin: 0 auto 1rem;
    border-radius: 12px;
    background: linear-gradient(135deg, #4285f4, #34a853);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.75rem;
}

.mcr-card h1#mcr-title {
    margin: 0 0 0.75rem;
    font-size: 1.25rem;
    font-weight: 700;
    color: #0f172a;
    line-height: 1.3;
}

.mcr-card p {
    margin: 0 0 1rem;
    font-size: 0.9375rem;
    line-height: 1.55;
    color: #475569;
}

.mcr-card p.mcr-note {
    font-size: 0.8125rem;
    color: #64748b;
    margin-bottom: 1.25rem;
}

.mcr-actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.mcr-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1.25rem;
    font-size: 0.9375rem;
    font-weight: 600;
    border-radius: 10px;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.mcr-btn:focus {
    outline: 2px solid #4285f4;
    outline-offset: 2px;
}

.mcr-btn--primary {
    background: linear-gradient(135deg, #1a73e8, #1557b0);
    color: #fff;
    box-shadow: 0 2px 8px rgba(26, 115, 232, 0.35);
}

.mcr-btn--primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 14px rgba(26, 115, 232, 0.45);
}

.mcr-btn--secondary {
    background: #f1f5f9;
    color: #334155;
    border: 1px solid #e2e8f0;
}

.mcr-btn--secondary:hover {
    background: #e2e8f0;
}
