.stc-notice[hidden], .stc-notice [hidden], .stc-preferences[hidden] { display: none !important; }
.stc-notice {
    position: fixed;
    inset: auto auto calc(var(--stc-bottom, 24px) + env(safe-area-inset-bottom)) max(16px, env(safe-area-inset-left));
    z-index: 9000;
    box-sizing: border-box;
    width: min(405px, calc(100% - 32px));
    max-height: calc(100dvh - 110px);
    overflow: auto;
    padding: 17px 18px;
    border: 1px solid #d4dce6;
    border-radius: 9px;
    background: #fff;
    color: #18283b;
    box-shadow: 0 14px 36px #0c1e3730;
    text-align: start;
}
.stc-notice #stc-title { margin: 0 0 6px; font-weight: 700; font-size: 17px; line-height: 1.3; color: inherit; }
.stc-notice p { margin: 0 0 12px; font-size: 14px; line-height: 1.5; color: #465a72; }
.stc-notice a { color: #183e68; text-decoration: underline; }
.stc-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.stc-actions button, .stc-preferences {
    padding: 7px 11px;
    border: 1px solid #b9c7d6;
    border-radius: 5px;
    background: #fff;
    color: #17283c;
    font: inherit;
    font-size: 13px;
    font-weight: 650;
    line-height: 1.4;
    min-height: 40px;
    text-transform: none;
    letter-spacing: normal;
    cursor: pointer;
}
.stc-actions button:hover, .stc-preferences:hover { background: #edf4fb; color: #17283c; }
.stc-actions button:focus-visible, .stc-preferences:focus-visible, .stc-notice a:focus-visible {
    outline: 2px solid var(--stc-accent, #15324d);
    outline-offset: 2px;
}
.stc-preferences {
    position: fixed;
    bottom: max(8px, env(safe-area-inset-bottom));
    left: max(8px, env(safe-area-inset-left));
    z-index: 8999;
}
.stc-preferences--inline {
    position: static;
    display: inline;
    padding: 0;
    min-height: 24px;
    border: 0;
    background: transparent;
    color: inherit;
    text-decoration: underline;
}
.stc-preferences--inline:hover { background: transparent; color: inherit; }
@media (max-width: 600px) {
    .stc-notice { bottom: calc(var(--stc-mobile-bottom, 72px) + env(safe-area-inset-bottom)); }
}
