:is(.ah-legal,.ah-cookie-settings){font:inherit;color:#f5efff;color-scheme:dark;background:#171121;border:1px solid #624d7d;box-shadow:0 20px 90px #09050dcc}
:is(.ah-legal,.ah-cookie-settings){width:min(960px,calc(100% - 2rem));max-height:min(780px,calc(100dvh - 2rem));padding:0;border-radius:24px;overflow:hidden}
:is(.ah-legal,.ah-cookie-settings)[open]{display:grid;grid-template-rows:auto minmax(0,1fr) auto;animation:ah-enter 160ms ease-out both}
:is(.ah-legal,.ah-cookie-settings).ah-leaving{animation:ah-exit 140ms ease-in both}
:is(.ah-legal,.ah-cookie-settings)::backdrop{background:#090510b8;backdrop-filter:blur(5px)}
.ah-legal-header,.ah-legal-footer{margin:0;max-width:none;width:auto;display:flex;align-items:center;justify-content:space-between;gap:12px;padding:16px 22px;color:inherit}
.ah-legal-header{border-bottom:1px solid #473854}
.ah-legal-footer{border-top:1px solid #473854}
.ah-legal-header h2,.ah-legal-content h3{margin:.25rem 0;font-size:clamp(1.2rem,3vw,1.8rem)}
.ah-legal-brand{font-size:.72rem;letter-spacing:.18em;color:#dabdff;font-weight:750}
.ah-legal-layout{grid-row:2;display:grid;grid-template-columns:208px minmax(0,1fr);min-height:0}
.ah-legal-layout nav{padding:12px;overflow:auto;display:flex;flex-direction:column;gap:4px;border-right:1px solid #473854}
.ah-legal-layout nav button{text-align:left;border-color:transparent}
.ah-legal-layout nav [aria-current]{border-color:#9c7db7;background:#38244d}
.ah-legal-content{padding:20px 24px;min-height:0;overflow:auto;overscroll-behavior:contain}
.ah-legal-content p{color:#e3d8ef;line-height:1.58}
:is(.ah-legal,.ah-cookie-settings) button,.ah-legal-entry{background:#30213f;color:#f5efff;border:1px solid #9275ac;border-radius:10px;font:inherit;padding:8px 12px;min-height:44px;cursor:pointer}
:is(.ah-legal,.ah-cookie-settings) button:focus-visible,.ah-legal-entry:focus-visible,:is(.ah-legal,.ah-cookie-settings) input:focus-visible{outline:2px solid #efd6ff;outline-offset:2px}
.ah-legal-option{display:block;padding:12px;border:1px solid #624d7d;border-radius:10px}
.ah-legal-footer [data-legal-actions],.ah-policy-links{display:flex;flex-wrap:wrap;gap:8px}
@keyframes ah-enter{from{opacity:0;transform:translateY(8px) scale(.985)}to{opacity:1;transform:none}}
@keyframes ah-exit{from{opacity:1;transform:none}to{opacity:0;transform:translateY(6px) scale(.99)}}
@media(max-width:640px){:is(.ah-legal,.ah-cookie-settings){width:calc(100% - 1rem);max-height:calc(100dvh - 1rem);border-radius:16px}.ah-legal-layout{grid-template-columns:minmax(0,1fr);grid-template-rows:auto minmax(0,1fr)}.ah-legal-layout nav{flex-direction:row;border-right:0;border-bottom:1px solid #473854}.ah-legal-layout nav button{white-space:nowrap}.ah-legal-content,.ah-legal-header,.ah-legal-footer{padding:12px}.ah-legal-footer{align-items:flex-start;flex-direction:column}}
@media(prefers-reduced-motion:reduce){:is(.ah-legal,.ah-cookie-settings)[open],:is(.ah-legal,.ah-cookie-settings).ah-leaving{animation:none}}
.ah-legal-identity{display:flex;align-items:center;gap:12px}.ah-legal-identity svg{flex:none}.ah-policy-links{margin-top:1rem}.ah-policy-links button{font-size:.94rem}

.ah-cookie-entry{
    box-sizing:border-box;width:min(400px,calc(100% - 2rem));max-height:calc(100dvh - 2rem);
    margin:auto;padding:26px;border:1px solid #665180;border-radius:18px;overflow:auto;
    color:#f5efff;background:#171121;color-scheme:dark;font:inherit;box-shadow:0 20px 80px #09050da0
}
.ah-cookie-entry[open]{animation:ah-enter 160ms ease-out both}
.ah-cookie-entry.ah-leaving{animation:ah-exit 140ms ease-in both}
.ah-cookie-entry::backdrop{background:#090510a6;backdrop-filter:blur(4px)}
.ah-cookie-icon{display:block;width:23px;height:23px;color:#ceb0f4}
.ah-cookie-entry h2{margin:12px 0 8px;color:inherit;font-size:clamp(1.35rem,5vw,1.65rem);line-height:1.2}
.ah-cookie-entry h2:focus{outline:none}
.ah-cookie-entry p{margin:0 0 20px;color:#ded1ec;font-size:.94rem;line-height:1.5}
.ah-cookie-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.ah-cookie-actions button{
    min-height:44px;padding:8px 10px;border:1px solid #947ab0;border-radius:9px;
    background:#30213f;color:#f5efff;font:inherit;font-weight:650;cursor:pointer
}
.ah-cookie-actions button:hover{background:#402c55}
.ah-cookie-actions button:focus-visible{outline:2px solid #efd6ff;outline-offset:2px}
.ah-footer-privacy{display:inline-flex;flex-wrap:wrap;align-items:center;gap:.85rem}
a.ah-legal-entry{
    padding:0;border:0;border-radius:0;background:transparent;color:inherit;min-height:0;
    text-decoration:underline;text-underline-offset:.18em;font-size:inherit
}
@media(prefers-reduced-motion:reduce){.ah-cookie-entry[open],.ah-cookie-entry.ah-leaving{animation:none}}

.ah-footer-row{
    box-sizing:border-box;display:flex;flex:1 0 100%;width:100%;min-width:0;
    justify-content:space-between;align-items:baseline;flex-wrap:wrap;gap:.5rem 1.25rem;
    padding-block:.65rem .7rem
}
.ah-footer-row .ah-footer-copyright{margin:0;min-width:0;overflow-wrap:anywhere;text-align:left}
.ah-footer-row .ah-footer-privacy{margin-inline-start:auto;justify-content:flex-end;gap:.5rem 1.25rem}
.ah-footer-row a.ah-legal-entry{white-space:nowrap;text-decoration:none;transition:color 160ms ease}
.ah-footer-row a.ah-legal-entry:hover,.ah-footer-row a.ah-legal-entry:focus-visible{color:var(--text,#f5efff)}
footer small.ah-footer-credit{
    box-sizing:border-box;display:block;flex:1 0 100%;width:100%;margin:0;
    border-top:1px solid var(--line,#473854);padding-block:.65rem .2rem;
    text-align:center;color:var(--muted,#b9a8ca)
}
.ah-footer-credit strong{color:var(--text,#eee3fa);font-weight:550}
@media(max-width:600px){
    .ah-footer-row{flex-direction:column;align-items:center;gap:.65rem;padding-block:.7rem}
    .ah-footer-row .ah-footer-copyright{text-align:center}
    .ah-footer-row .ah-footer-privacy{margin:0;justify-content:center}
}
@media(prefers-reduced-motion:reduce){.ah-footer-row a.ah-legal-entry{transition:none}}

.ah-cookie-settings{width:min(640px,calc(100% - 2rem))}
.ah-cookie-settings .ah-legal-content h3{font-size:1.12rem;margin:.65rem 0 .4rem}
.ah-cookie-settings .ah-legal-footer{justify-content:flex-end}
