#inkfire-analytics-consent[hidden] { display: none !important; }
#inkfire-analytics-consent {
    box-sizing: border-box;
    position: fixed;
    left: 50%;
    bottom: 20px;
    transform: translateX(-50%);
    width: min(720px, calc(100% - 192px));
    max-height: calc(100dvh - 220px);
    overflow: auto;
    z-index: 2147483645;
    padding: 20px;
    border: 1px solid #64777a;
    border-radius: 20px;
    background: #151622;
    color: #ffffff;
    box-shadow: 0 8px 32px #00000055;
    font-family: inherit;
    font-size: 16px;
    line-height: 1.5;
}
#inkfire-analytics-consent h2 { margin: 0 0 8px; font-size: 20px; line-height: 1.3; color: #ffffff; }
#inkfire-analytics-consent p { margin: 0 0 16px; color: #ffffff; }
#inkfire-analytics-consent a { color: #8adbd0; text-decoration: underline; }
#inkfire-analytics-consent .inkfire-consent-actions { display: flex; flex-wrap: wrap; gap: 12px; }
#inkfire-analytics-consent button {
    min-height: 44px;
    padding: 10px 18px;
    background: #0e6055;
    border: 1px solid #8adbd0;
    border-radius: 14px;
    color: #ffffff;
    font: inherit;
    cursor: pointer;
}
#inkfire-analytics-consent button:hover { background: #15454b; }
#inkfire-analytics-consent :focus-visible { outline: 3px solid #f2c94c; outline-offset: 4px; }
.inkfire-analytics-preferences { padding: 8px 20px; text-align: center; background: #151622; }
#inkfire-analytics-preferences { background: transparent; border: 0; color: #ffffff; text-decoration: underline; font: inherit; padding: 10px; min-height: 44px; }
#inkfire-analytics-preferences:focus-visible { outline: 3px solid #f2c94c; outline-offset: 2px; }
@media (max-width: 767px) {
    #inkfire-analytics-consent { width: calc(100% - 24px); bottom: calc(172px + env(safe-area-inset-bottom)); padding: 16px; }
    #inkfire-analytics-consent .inkfire-consent-actions button { flex: 1 1 130px; }
}
