.cookie-consent[hidden], .consent-modal[hidden] { display: none; }
.cookie-consent { position: fixed; inset: auto 0 0; z-index: 1000; padding: 1rem; }
.cookie-consent__inner { display: grid; width: min(100%, 75rem); margin-inline: auto; padding: clamp(1.25rem, 3vw, 2rem); border: 1px solid var(--color-border); border-radius: var(--radius-medium); background: rgba(11,11,11,.98); box-shadow: 0 -1rem 4rem rgba(0,0,0,.45); grid-template-columns: minmax(0,1fr) auto; gap: 2rem; align-items: center; }
.cookie-consent__eyebrow { margin: 0 0 .35rem; color: var(--color-gold); font-size: .7rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; }
.cookie-consent h2, .consent-modal h2 { margin: 0 0 .65rem; color: var(--color-text); font-size: clamp(1.5rem,3vw,2.2rem); }
.cookie-consent__copy > p:not(.cookie-consent__eyebrow), .consent-modal__dialog > p:not(.cookie-consent__eyebrow) { max-width: 48rem; margin: 0 0 .5rem; color: var(--color-text-muted); font-size: .9rem; line-height: 1.55; }
.cookie-consent__copy a, .consent-modal__legal a { color: var(--color-gold-light); font-size: .8rem; text-underline-offset: .25em; }
.cookie-consent__actions { display: grid; grid-template-columns: repeat(2, minmax(9rem,1fr)); gap: .65rem; }
.cookie-consent__actions .button { min-height: 2.9rem; padding: .7rem 1rem; font-size: .78rem; }
.cookie-consent__settings-button { grid-column: 1 / -1; border: 0; background: transparent; color: var(--color-text-muted); font-size: .8rem; text-decoration: underline; text-underline-offset: .25em; cursor: pointer; }
.consent-modal { position: fixed; inset: 0; z-index: 1100; display: grid; padding: 1rem; place-items: center; }
.consent-modal__backdrop { position: absolute; inset: 0; background: rgba(0,0,0,.78); backdrop-filter: blur(4px); }
.consent-modal__dialog { position: relative; z-index: 1; width: min(100%,38rem); max-height: calc(100vh - 2rem); padding: clamp(1.25rem,4vw,2.25rem); border: 1px solid var(--color-border); border-radius: var(--radius-medium); background: #111; box-shadow: 0 2rem 6rem rgba(0,0,0,.65); overflow-y: auto; }
.consent-modal__close { position: absolute; top: .75rem; right: .75rem; display: grid; width: 2.5rem; height: 2.5rem; padding: 0; border: 1px solid var(--color-border); border-radius: 50%; background: transparent; color: var(--color-text); font-size: 1.5rem; place-items: center; cursor: pointer; }
.consent-modal__categories { margin-block: 1.5rem; border-top: 1px solid var(--color-border); }
.consent-category { display: flex; gap: 1rem; padding-block: 1rem; border-bottom: 1px solid var(--color-border); align-items: center; justify-content: space-between; cursor: pointer; }
.consent-category span, .consent-category strong, .consent-category small { display: block; }
.consent-category strong { color: var(--color-text); }
.consent-category small { margin-top: .25rem; color: var(--color-text-muted); font-size: .78rem; line-height: 1.45; }
.consent-category input { position: absolute; opacity: 0; }
.consent-category i { position: relative; width: 2.8rem; height: 1.5rem; border: 1px solid var(--color-border); border-radius: 999px; background: var(--color-surface-light); flex: 0 0 2.8rem; transition: background var(--transition); }
.consent-category i::after { position: absolute; top: 2px; left: 2px; width: 1.1rem; height: 1.1rem; border-radius: 50%; background: var(--color-text-muted); content: ""; transition: transform var(--transition); }
.consent-category input:checked + i { border-color: var(--color-gold); background: var(--color-gold-dark); }
.consent-category input:checked + i::after { background: #fff; transform: translateX(1.25rem); }
.consent-category input:focus-visible + i { outline: 2px solid var(--color-gold-light); outline-offset: 3px; }
.consent-category input:disabled + i { opacity: .65; }
.consent-modal__actions { display: flex; gap: .75rem; }
.consent-modal__actions .button { flex: 1; }
.consent-modal__legal { display: flex; gap: 1rem; margin: 1.25rem 0 0; justify-content: center; }
.has-consent-modal { overflow: hidden; }
@media (max-width: 48rem) {
	.cookie-consent { padding: .65rem; }
	.cookie-consent__inner { grid-template-columns: 1fr; gap: 1rem; }
	.cookie-consent__actions { width: 100%; }
	.consent-modal__actions { flex-direction: column; }
}
@media (max-width: 25rem) {
	.cookie-consent__actions { grid-template-columns: 1fr; }
	.cookie-consent__settings-button { grid-column: auto; }
}
