#yc-cookies[hidden], #yc-cookie-options[hidden], .yc-cookie-settings[hidden] { display: none; }
#yc-cookies {
    position: fixed;
    z-index: 10000;
    inset: auto auto max(16px, env(safe-area-inset-bottom)) 16px;
    box-sizing: border-box;
    width: min(390px, calc(100% - 32px));
    max-height: 65vh;
    overflow: auto;
    border: 1px solid #495258;
    border-radius: 12px;
    padding: 14px 16px;
    background: #192024;
    color: #fafafa;
    box-shadow: 0 3px 16px #0004;
    font: 14px/1.45 system-ui, sans-serif;
    text-align: left;
}
#yc-cookies p { margin: 0 0 10px; font-size: 14px !important; color: inherit; }
#yc-cookies a { color: #ffe478; text-decoration: underline; }
.yc-cookie-actions, #yc-cookie-options { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
#yc-cookie-options { margin-bottom: 10px; gap: 12px; }
#yc-cookie-options label { display: inline-flex; align-items: center; gap: 4px; }
#yc-cookie-options input { width: 16px; height: 16px; accent-color: #ffe478; }
#yc-cookies button {
    background: transparent; color: inherit; font: inherit; border: 1px solid #879297;
    border-radius: 5px; padding: 5px 10px; min-height: 34px; cursor: pointer;
}
#yc-cookies button:hover, #yc-cookies button:focus-visible { background: #354045; }
button.yc-cookie-settings {
    display: block; padding: 0; border: 0; background: none; color: inherit;
    font: inherit; text-align: left; text-decoration: underline; cursor: pointer;
}
@media (max-width: 760px) {
    #yc-cookies { left: 10px; width: min(390px, calc(100% - 20px)); }
    .v2 #yc-cookies { bottom: calc(68px + env(safe-area-inset-bottom)); }
}
