.songbay-consent-settings {
    position: fixed;
    z-index: 2147483000;
    right: max(1rem, env(safe-area-inset-right));
    bottom: max(1rem, env(safe-area-inset-bottom));
    min-height: 42px;
    padding: .68rem 1rem;
    border: 1px solid rgba(226, 185, 91, .72);
    border-radius: 4px;
    background: rgba(18, 16, 24, .96);
    color: #f7f4ec;
    font: 600 13px/1.2 "Roboto Condensed", "Arial Narrow", Arial, sans-serif;
    letter-spacing: .08em;
    text-transform: uppercase;
    box-shadow: 0 8px 24px rgba(0, 0, 0, .42);
}

.songbay-consent-settings:hover {
    border-color: #e2b95b;
    background: #211b2b;
    color: #fff;
}

.songbay-consent-settings:focus,
.songbay-consent-dialog button:focus,
.songbay-consent-dialog input:focus {
    outline: 3px solid #ffd86a;
    outline-offset: 3px;
}

.songbay-consent-dialog {
    position: fixed;
    z-index: 2147483001;
    inset: 0;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding: max(1rem, env(safe-area-inset-top)) max(1rem, env(safe-area-inset-right)) max(1rem, env(safe-area-inset-bottom)) max(1rem, env(safe-area-inset-left));
    background: rgba(2, 3, 6, .78);
}

.songbay-consent-dialog[hidden] {
    display: none;
}

.songbay-consent-card {
    box-sizing: border-box;
    width: min(720px, 100%);
    max-height: calc(100vh - 2rem);
    max-height: calc(100dvh - 2rem);
    overflow: auto;
    padding: 1.25rem 1.35rem 1.35rem;
    border: 1px solid rgba(226, 185, 91, .68);
    border-radius: 6px;
    background: linear-gradient(180deg, #191620 0%, #0d0d12 100%);
    color: #f4f1f6;
    font: 15px/1.48 "Open Sans", Arial, sans-serif;
    box-shadow: 0 22px 58px rgba(0, 0, 0, .68), inset 0 1px 0 rgba(255, 255, 255, .055);
    scrollbar-color: #8d7440 #111016;
}

.songbay-consent-card h2 {
    margin: 0 0 .55rem;
    color: #f0c767;
    font-family: "Roboto Condensed", "Arial Narrow", Arial, sans-serif;
    font-size: 1.55rem;
    font-weight: 500;
    letter-spacing: .055em;
    line-height: 1.25;
    text-transform: uppercase;
}

.songbay-consent-card p {
    color: #ded9e2;
}

.songbay-consent-card fieldset {
    margin: .95rem 0 .85rem;
    padding: .4rem .85rem .55rem;
    border: 1px solid rgba(226, 185, 91, .34);
    border-radius: 4px;
    background: rgba(255, 255, 255, .025);
}

.songbay-consent-card legend {
    width: auto;
    margin: 0;
    padding: 0 .4rem;
    border: 0;
    color: #ead9ae;
    font-family: "Roboto Condensed", "Arial Narrow", Arial, sans-serif;
    font-size: .86rem;
    font-weight: 600;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.songbay-consent-card label {
    display: flex;
    gap: .7rem;
    align-items: flex-start;
    margin: .62rem 0;
    color: #f7f4f8;
    cursor: pointer;
}

.songbay-consent-card label:first-of-type {
    cursor: default;
}

.songbay-consent-card input {
    width: 1.15rem;
    height: 1.15rem;
    margin: .14rem 0 0;
    flex: 0 0 auto;
    accent-color: #e2b95b;
}

.songbay-consent-card input:disabled {
    opacity: 1;
}

.songbay-consent-card strong {
    font-weight: 700;
}

.songbay-consent-card small {
    display: block;
    margin-top: .08rem;
    color: #c8c2cd;
    font-size: .84rem;
    font-weight: 400;
    line-height: 1.42;
}

.songbay-consent-note {
    margin: 0 0 .8rem;
    color: #c8c2cd !important;
    font-size: .82rem;
}

.songbay-consent-actions {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: .65rem;
}

.songbay-consent-actions button {
    min-height: 46px;
    padding: .65rem .72rem;
    border: 1px solid rgba(226, 185, 91, .78);
    border-radius: 3px;
    background: #18151e;
    color: #fffaf0;
    font-family: "Roboto Condensed", "Arial Narrow", Arial, sans-serif;
    font-size: .84rem;
    font-weight: 600;
    letter-spacing: .055em;
    line-height: 1.25;
    text-transform: uppercase;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .045);
}

.songbay-consent-actions button:hover {
    border-color: #f0c767;
    background: #2a2234;
    color: #fff;
}

@media (min-width: 641px) {
    .footer.footer_stuff .container {
        padding-right: 12rem;
    }
}

@media (max-width: 640px) {
    .songbay-consent-dialog {
        align-items: center;
        padding: max(.65rem, env(safe-area-inset-top)) max(.65rem, env(safe-area-inset-right)) max(.65rem, env(safe-area-inset-bottom)) max(.65rem, env(safe-area-inset-left));
    }

    .songbay-consent-card {
        max-height: calc(100vh - 1.3rem);
        max-height: calc(100dvh - 1.3rem);
        padding: 1rem;
        font-size: 14px;
    }

    .songbay-consent-card h2 {
        font-size: 1.35rem;
    }

    .songbay-consent-card fieldset {
        margin: .75rem 0;
        padding: .3rem .7rem .4rem;
    }

    .songbay-consent-card label {
        margin: .52rem 0;
    }

    .songbay-consent-actions {
        grid-template-columns: 1fr;
        gap: .5rem;
    }

    .songbay-consent-actions button {
        min-height: 44px;
    }

    .songbay-consent-settings {
        right: max(.6rem, env(safe-area-inset-right));
        bottom: max(.6rem, env(safe-area-inset-bottom));
    }

    .footer.footer_stuff {
        padding-bottom: calc(4rem + env(safe-area-inset-bottom));
    }
}

@media (max-height: 560px) and (orientation: landscape) {
    .songbay-consent-dialog {
        align-items: center;
        padding: .5rem;
    }

    .songbay-consent-card {
        max-height: calc(100dvh - 1rem);
        padding: .8rem 1rem;
    }

    .songbay-consent-card label {
        margin: .4rem 0;
    }
}

@media (prefers-reduced-motion: reduce) {
    .songbay-consent-settings,
    .songbay-consent-actions button {
        transition: none !important;
    }
}

@media (forced-colors: active) {
    .songbay-consent-dialog,
    .songbay-consent-card,
    .songbay-consent-settings,
    .songbay-consent-actions button {
        forced-color-adjust: auto;
    }
}
