.tv-consent[hidden] { display: none; }
.tv-consent {
    position: fixed;
    z-index: 30;
    inset: auto max(12px, env(safe-area-inset-right)) max(12px, env(safe-area-inset-bottom)) max(12px, env(safe-area-inset-left));
    width: min(32rem, calc(100% - 24px));
    max-height: calc(100vh - 24px);
    max-height: calc(100dvh - 24px);
    overflow: auto;
    padding: 16px 18px;
    background: #fffef8;
    color: #202a24;
    border: 1px solid #9da99e;
    border-radius: 8px;
    box-shadow: 0 8px 25px #17261d28;
    font-size: .9rem;
}
.tv-consent p { margin-block: 5px; }
.tv-consent a { color: #28533e; }
.tv-consent-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.tv-consent-actions button {
    flex: 1 1 10ch;
    min-height: 44px;
    padding: 6px 12px;
    background: #fffef8;
    border: 1px solid #37614c;
    color: #244e38;
    font-weight: 700;
    line-height: 1.2;
}
.tv-consent-actions button:hover { background: #e4eee2; color: #153525; }
.tv-consent-settings, .tv-consent-settings:hover {
    display: inline;
    background: transparent;
    border: 0;
    color: inherit;
    font: inherit;
    min-height: 0;
    padding: 0;
    text-decoration: underline;
    text-underline-offset: .2em;
}
