:root {
  --privacy-ink: #1e1e22;
  --privacy-muted: #686870;
  --privacy-paper: #f7f7f4;
  --privacy-line: #d9d9d5;
  --privacy-pink: #ef4ea2;
  --privacy-yellow: #fdcc00;
}

html { background: var(--privacy-paper); }
body.privacy-page { margin: 0; background: var(--privacy-paper); color: var(--privacy-ink); font-family: "Involve", Arial, sans-serif; }
.privacy-page a { color: inherit; }
.privacy-page button { font: inherit; }

/* The helper keeps the homepage shell's classes, but gives it a contained,
   opaque surface and its own reserved height before the reading column. */
.privacy-page [data-helper-shell="header"] { position: relative; z-index: 4; min-height: 7.25rem; background: #efefed !important; border-bottom: 1px solid rgb(30 30 34 / 14%); }
.privacy-page [data-helper-shell="header"] [data-homepage-region-content] { min-height: 7.25rem; background: #efefed !important; background-image: none !important; }
.privacy-page [data-helper-shell="header"] > header { min-height: 7.25rem; background: #efefed !important; }
.privacy-page [data-helper-shell="header"] .hero-stage { display: none; }
.privacy-page [data-helper-shell="header"] .site-nav { min-height: 7.25rem; }

.privacy-shell { position: relative; z-index: 4; min-height: 7.25rem; background: #efefed; border-bottom: 1px solid rgb(30 30 34 / 14%); }
.privacy-shell [data-homepage-region-content] { min-height: 7.25rem; background: #efefed; background-image: none; }
.privacy-shell .site-nav { min-height: 7.25rem; }

.privacy-main { width: min(100% - 2rem, 1140px); margin-inline: auto; padding: clamp(4rem, 8vw, 8rem) 0 clamp(5rem, 9vw, 9rem); }
.privacy-hero { display: grid; grid-template-columns: minmax(0, 1fr) 18rem; column-gap: clamp(2rem, 7vw, 8rem); align-items: end; padding-bottom: clamp(4rem, 7vw, 7rem); border-bottom: 1px solid var(--privacy-line); }
.privacy-hero__eyebrow { grid-column: 1 / -1; margin-bottom: 1.5rem; color: var(--privacy-pink); font-size: .78rem; font-weight: 800; letter-spacing: .18em; text-transform: uppercase; }
.privacy-hero h1 { max-width: 38rem; margin: 0; font-size: clamp(3rem, 7vw, 6.5rem); font-weight: 700; letter-spacing: -.07em; line-height: .94; }
.privacy-hero__lead { max-width: 22rem; margin: 0 0 .25rem; color: var(--privacy-muted); font-size: 1rem; line-height: 1.65; }
.privacy-hero__meta { grid-column: 1 / -1; display: flex; align-items: center; gap: 1rem; margin-top: 3.5rem; color: var(--privacy-muted); font-size: .78rem; letter-spacing: .04em; }
.privacy-hero__rule { width: 3.5rem; height: 1px; background: var(--privacy-pink); }

.privacy-section { display: grid; grid-template-columns: 6rem minmax(0, 700px); gap: clamp(1.5rem, 6vw, 6rem); padding: clamp(3.5rem, 7vw, 7rem) 0; border-bottom: 1px solid var(--privacy-line); }
.privacy-section__marker { color: var(--privacy-pink); font-size: .9rem; font-weight: 800; letter-spacing: .12em; }
.privacy-section__content h2 { margin: 0 0 1.8rem; font-size: clamp(1.65rem, 3vw, 2.75rem); letter-spacing: -.045em; line-height: 1.05; }
.privacy-section__content p { max-width: 66ch; margin: 0 0 1.25rem; color: #45454b; font-size: 1.02rem; line-height: 1.8; }
.privacy-section__content p:last-child { margin-bottom: 0; }
.privacy-section--intro { padding-top: clamp(4.5rem, 8vw, 8rem); }
.privacy-section--accent { border-bottom-color: var(--privacy-pink); }
.privacy-section--dark { margin-inline: calc((min(100vw - 2rem, 1140px) - 100vw) / 2); padding-inline: max(1rem, calc((100vw - min(100vw - 2rem, 1140px)) / 2)); background: var(--privacy-ink); color: #fff; border-bottom: 0; }
.privacy-section--dark .privacy-section__content p { color: #dbdbe0; }
.privacy-section--closing { border-bottom: 0; }

.privacy-contact-card { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; margin: 2.25rem 0 2rem; padding: 1.5rem 1.75rem; border-left: 4px solid var(--privacy-yellow); background: #ecece8; }
.privacy-contact-card p, .privacy-contact-card address { margin: 0; color: var(--privacy-ink); font-size: .95rem; line-height: 1.6; }
.privacy-contact-card__label { margin-bottom: .4rem !important; color: var(--privacy-muted) !important; font-size: .72rem !important; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.privacy-contact-card__name { font-weight: 800; }
.privacy-contact-card address { font-style: normal; }
.privacy-route-list { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 2.25rem; border-top: 1px solid rgb(30 30 34 / 24%); border-bottom: 1px solid rgb(30 30 34 / 24%); }
.privacy-route-list a { display: flex; min-height: 7rem; flex-direction: column; justify-content: center; gap: .45rem; padding: 1rem; color: var(--privacy-ink); text-decoration: none; transition: background .2s ease, color .2s ease; }
.privacy-route-list a + a { border-left: 1px solid rgb(30 30 34 / 24%); }
.privacy-route-list a:hover, .privacy-route-list a:focus-visible { background: var(--privacy-pink); color: #fff; }
.privacy-route-list span { color: var(--privacy-muted); font-size: .75rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.privacy-route-list a:hover span, .privacy-route-list a:focus-visible span { color: #fff; }
.privacy-route-list strong { font-size: .9rem; overflow-wrap: anywhere; }
.privacy-fact-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; margin-top: 2.5rem; }
.privacy-fact-grid article { padding: 1.5rem; background: #ecece8; }
.privacy-fact-grid h3 { margin: 0 0 .75rem; font-size: 1rem; }
.privacy-fact-grid p { margin: 0; font-size: .9rem; line-height: 1.65; }
.privacy-inline-button { padding: 0; border: 0; border-bottom: 1px solid currentColor; background: transparent; color: inherit; cursor: pointer; }
.privacy-inline-button:hover, .privacy-inline-button:focus-visible { color: var(--privacy-pink); }
.privacy-rights { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin: 2.5rem 0; }
.privacy-rights div { display: flex; min-height: 8.5rem; flex-direction: column; justify-content: space-between; padding: 1.25rem; border-top: 3px solid var(--privacy-pink); background: #ecece8; }
.privacy-rights strong { font-size: 1rem; }
.privacy-rights span { color: var(--privacy-muted); font-size: .86rem; line-height: 1.45; }
.privacy-section__content a:not(.privacy-back-link) { text-decoration-thickness: 1px; text-underline-offset: 3px; }
.privacy-back-link { display: inline-flex; margin-top: 2rem; align-items: center; gap: .8rem; color: var(--privacy-pink) !important; font-weight: 800; text-decoration: none; }
.privacy-back-link span { font-size: 1.2rem; transition: transform .2s ease; }
.privacy-back-link:hover span, .privacy-back-link:focus-visible span { transform: translate(3px, -3px); }

.privacy-page .spielquora-footer__nav--secondary { flex-wrap: wrap; }
.privacy-page .spielquora-footer__link.privacy-settings-link { appearance: none; margin: 0; padding: 0; border: 0; background: none; color: inherit; cursor: pointer; font: inherit; text-align: left; }
.privacy-page .spielquora-footer__link.privacy-settings-link:hover, .privacy-page .spielquora-footer__link.privacy-settings-link:focus-visible { color: var(--privacy-yellow); }
.privacy-page [data-consent-banner] { --consent-accent: var(--privacy-pink); }

.privacy-account { width: min(100% - 2rem, 34rem); padding: 0; border: 0; background: transparent; color: var(--privacy-ink); }
.privacy-account::backdrop { background: rgb(30 30 34 / 68%); backdrop-filter: blur(4px); }
.privacy-account__panel { position: relative; padding: clamp(1.75rem, 5vw, 3.5rem); background: var(--privacy-paper); box-shadow: 0 1.5rem 4rem rgb(0 0 0 / 24%); }
.privacy-account__close { position: absolute; top: 1rem; right: 1rem; width: 2.5rem; height: 2.5rem; border: 1px solid var(--privacy-line); border-radius: 50%; background: transparent; color: var(--privacy-ink); cursor: pointer; font-size: 1.5rem; line-height: 1; }
.privacy-account__eyebrow { margin: 0 0 .75rem; color: var(--privacy-pink); font-size: .72rem; font-weight: 800; letter-spacing: .15em; text-transform: uppercase; }
.privacy-account h2 { margin: 0 0 1.5rem; font-size: clamp(2rem, 5vw, 3rem); letter-spacing: -.055em; line-height: 1; }
.privacy-account__hint { margin: 0 0 1.5rem; color: var(--privacy-muted); font-size: .9rem; line-height: 1.6; }
.privacy-account__form { display: grid; gap: .55rem; }
.privacy-account__form[hidden] { display: none; }
.privacy-account__form label { margin-top: .45rem; color: var(--privacy-muted); font-size: .78rem; font-weight: 800; }
.privacy-account__form input, .privacy-account__form textarea { width: 100%; padding: .8rem .9rem; border: 1px solid var(--privacy-line); border-radius: 0; background: #fff; color: var(--privacy-ink); font: inherit; }
.privacy-account__form input:focus, .privacy-account__form textarea:focus { border-color: var(--privacy-pink); outline: 2px solid rgb(239 78 162 / 25%); outline-offset: 2px; }
.privacy-account__profile-grid { display: grid; grid-template-columns: 1fr 1fr; gap: .75rem; }
.privacy-account__profile-grid > div { display: grid; gap: .55rem; }
.privacy-account__submit { min-height: 3rem; margin-top: .75rem; border: 1px solid var(--privacy-pink); background: var(--privacy-pink); color: #fff; cursor: pointer; font-weight: 800; }
.privacy-account__submit:hover, .privacy-account__submit:focus-visible { background: var(--privacy-ink); border-color: var(--privacy-ink); }
.privacy-account__switch { justify-self: start; padding: .25rem 0; border: 0; border-bottom: 1px solid currentColor; background: transparent; color: var(--privacy-muted); cursor: pointer; font-size: .82rem; }
.privacy-account__error { min-height: 1.25rem; margin: .35rem 0 0; color: #a82356; font-size: .82rem; line-height: 1.4; }
.privacy-account__avatar { width: 5rem; height: 5rem; margin-top: .25rem; border-radius: 50%; object-fit: cover; animation: privacy-avatar-in .45s ease both; }
@keyframes privacy-avatar-in { from { opacity: 0; transform: scale(.9); } to { opacity: 1; transform: scale(1); } }

@media (max-width: 900px) {
  .privacy-hero { grid-template-columns: minmax(0, 1fr); gap: 2rem; }
  .privacy-hero > * { min-width: 0; }
  .privacy-hero__lead { max-width: 34rem; }
  .privacy-hero__meta { margin-top: 1rem; }
  .privacy-section { grid-template-columns: 3rem minmax(0, 1fr); gap: 1.5rem; }
}

@media (max-width: 640px) {
  .privacy-main { width: min(100% - 2rem, 36rem); padding-top: 3rem; }
  .privacy-hero { padding-bottom: 3.5rem; }
  .privacy-hero__eyebrow { margin-bottom: 1rem; }
  .privacy-hero h1 { font-size: clamp(2.8rem, 15vw, 4.5rem); overflow-wrap: anywhere; }
  .privacy-hero__meta { align-items: flex-start; flex-direction: column; gap: .55rem; }
  .privacy-hero__rule { width: 2rem; }
  .privacy-section, .privacy-section--dark { grid-template-columns: 1fr; gap: 1.25rem; padding-block: 3.5rem; }
  .privacy-section--dark { margin-inline: -1rem; padding-inline: 1rem; }
  .privacy-section__marker { font-size: .75rem; }
  .privacy-section__content h2 { margin-bottom: 1.25rem; font-size: 1.8rem; }
  .privacy-section__content p { font-size: .95rem; line-height: 1.7; }
  .privacy-contact-card, .privacy-route-list, .privacy-fact-grid, .privacy-rights { grid-template-columns: 1fr; }
  .privacy-contact-card { gap: 1rem; margin-top: 1.5rem; }
  .privacy-route-list a { min-height: 5.5rem; }
  .privacy-route-list a + a { border-top: 1px solid rgb(30 30 34 / 24%); border-left: 0; }
  .privacy-fact-grid, .privacy-rights { gap: .75rem; margin-top: 1.75rem; }
  .privacy-rights div { min-height: 6.5rem; }
  .privacy-page .spielquora-footer__link.privacy-settings-link { text-align: center; }
  .privacy-account__profile-grid { grid-template-columns: 1fr; }
}

@media (max-width: 600px) {
  .privacy-page [data-helper-shell="header"] { min-height: 5.5rem; padding: .75rem 1rem !important; }
  .privacy-page [data-helper-shell="header"] [data-homepage-region-content],
  .privacy-page [data-helper-shell="header"] .site-nav { min-height: 4rem; }
  .privacy-page [data-helper-shell="header"] .site-nav { width: 100%; }
}
