.ga4-preferences {
    position: fixed;
    inset: auto 16px max(16px, env(safe-area-inset-bottom)) auto;
    z-index: 12;
    width: min(380px, calc(100% - 32px));
    max-height: calc(100dvh - 32px);
    overflow: auto;
    padding: 20px;
    border: 1px solid var(--line, #e7ddd2);
    border-radius: 14px;
    background: var(--paper, #fffdf9);
    color: var(--ink, #1f1b19);
    box-shadow: 0 8px 24px #21171233;
}
.ga4-preferences h2 { font-size: 1.2rem; margin: 0 0 6px; }
.ga4-preferences p { font-size: .92rem; margin: 0 0 14px; }
.ga4-preferences a { display: inline-block; font-size: .86rem; margin-top: 8px; text-decoration: underline; }
.ga4-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.ga4-actions button {
    flex: 1;
    min-height: 44px;
    border: 1px solid var(--coffee, #6d3f2e);
    border-radius: 8px;
    background: var(--cream, #f7f1e8);
    color: var(--ink, #1f1b19);
    font: inherit;
    cursor: pointer;
}
.ga4-settings {
    padding: 0;
    border: 0;
    background: transparent;
    color: #e9ddd3;
    font: inherit;
    cursor: pointer;
    text-decoration: underline;
}
