.analytics-consent {
    position: fixed;
    z-index: 1400;
    bottom: 0.75rem;
    left: 50%;
    transform: translateX(-50%);
    width: min(740px, calc(100% - 1.5rem));
    max-height: calc(100dvh - 2rem);
    overflow-y: auto;
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.75rem 1rem;
    border: 1px solid var(--color-champagne-gold, #c9b37e);
    border-radius: 8px;
    background: var(--color-obsidian, #0b0b0b);
    color: #f2f0e9;
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.25);
    box-sizing: border-box;
}
.analytics-consent[hidden] { display: none; }
.analytics-consent-copy { flex: 1; min-width: 0; }
.analytics-consent h2 {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
}
.analytics-consent p { color: inherit; font-size: 1rem; line-height: 1.4; margin: 0; }
.analytics-consent a { color: #f2f0e9; font: inherit; text-decoration: underline; text-underline-offset: 0.2em; white-space: nowrap; }
.analytics-consent-actions { display: grid; grid-template-columns: repeat(2, minmax(84px, 1fr)); gap: 0.5rem; flex-shrink: 0; }
.analytics-consent button {
    padding: 0.5rem 0.75rem;
    min-height: 44px;
    border: 1px solid var(--color-champagne-gold, #c9b37e);
    border-radius: 6px;
    background: var(--color-champagne-gold, #c9b37e);
    color: #0b0b0b;
    font: inherit;
    font-size: 1rem;
    cursor: pointer;
}
.analytics-consent button:hover { background: #f2f0e9; }
.analytics-settings {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.75rem 1.5rem;
    padding: 1rem 0;
    font-size: 0.9375rem;
    line-height: 1.5;
}
.analytics-settings button,
.analytics-settings a {
    color: inherit;
    font: inherit;
    text-decoration: underline;
    text-underline-offset: 0.2em;
}
.analytics-settings button {
    background: transparent;
    padding: 0.5rem 0;
    min-height: 44px;
    border: 0;
    cursor: pointer;
}
.analytics-consent :focus-visible,
.analytics-settings :focus-visible { outline: 2px solid #f2f0e9; outline-offset: 4px; }
.analytics-notice { max-width: 800px; padding-top: 5rem; padding-bottom: 4rem; }
.analytics-notice h2 { font-size: 1.6rem; margin-top: 2rem; }
.analytics-notice p,
.analytics-notice li { font-size: 1rem; line-height: 1.7; }
.analytics-notice ul { margin: 1rem 0; padding-left: 1.5rem; }
.analytics-notice a { color: inherit; text-decoration: underline; }
@media (max-width: 640px) {
    .analytics-consent { flex-direction: column; align-items: stretch; gap: 0.5rem; padding: 0.75rem; }
    .analytics-consent-actions { align-self: flex-end; }
}
