/* The gate of age 18+ (AGE_GATE_ENABLED): served and linked only with the switch on. The colours fall back to the paper-and-olive
   palette of the public pages, so the window reads the same on the account page, in the house and in the panels. */
.age-notice{font-weight:600;color:var(--ink,#24302c)}
.legal-links{display:flex;flex-wrap:wrap;gap:6px 18px}
.legal-links a{color:inherit}
.age-consent{margin:18px 0 0;padding:0;border:0;display:grid;gap:8px}
.age-consent legend{padding:0;margin-bottom:6px;font-weight:600;font-size:14px}
/* The account card styles every label as a block caption and every input as a full-width field; the checks are rows. */
.age-check,.account-card .age-check{display:flex;align-items:flex-start;gap:10px;min-height:44px;margin:0;padding:8px 0;font-size:15px;
  font-weight:500;line-height:1.4;cursor:pointer}
.age-check input,.account-card .age-check input{flex:none;width:22px;min-width:22px;height:22px;min-height:0;margin:0;padding:0;
  accent-color:var(--accent,#60754b)}
.age-check a{color:var(--accent,#60754b);text-decoration:underline}
.age-gate{width:min(560px,calc(100% - 32px));max-height:calc(100% - 32px);overflow:auto;padding:0;border:1px solid var(--line,#dadfd3);
  border-radius:18px;background:var(--surface,#fffefa);color:var(--ink,#24302c);box-shadow:0 24px 70px rgba(20,28,24,.28);
  font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}
.age-gate::backdrop{background:rgba(20,28,24,.55)}
.age-gate-form{padding:28px}
.age-gate h2{margin:0 0 12px;font-size:24px;line-height:1.2}
.age-gate p{margin:0 0 12px;font-size:15px;line-height:1.55}
.age-gate .age-gate-links a{color:#4f6440;font-weight:600}
.age-gate .age-gate-meanwhile{color:#5d665d;font-size:14px}
.age-gate .age-gate-error{color:#9b2c1f;font-weight:600}
.age-gate-actions{display:flex;flex-wrap:wrap;gap:12px;margin-top:8px}
.age-gate-actions button{min-height:44px;padding:0 20px;border-radius:999px;font:inherit;font-weight:600;cursor:pointer}
/* Fixed colours: the house and the panels restyle every button and redefine the palette for the dark worlds. */
.age-gate .age-gate-confirm,.age-gate .age-gate-confirm:hover:not(:disabled){background:#24302c;color:#fffefa;border:1px solid #24302c}
.age-gate .age-gate-logout,.age-gate .age-gate-logout:hover:not(:disabled){background:#fffefa;color:#24302c;border:1px solid #cbd2bd}
.age-gate,.age-gate p,.age-gate h2,.age-gate label{color:#24302c}
.age-gate{background:#fffefa}
.age-gate :focus-visible{outline:3px solid var(--accent,#60754b);outline-offset:2px}
/* The two documents (public/regulamin.html, public/prywatnosc.html) in the frame of the public pages. */
.legal-page{max-width:820px;padding-block:48px 72px}
.legal-page h1{font-size:44px;line-height:1.1;margin:8px 0 12px}
.legal-page .legal-version{color:var(--muted,#707870);font-size:14px}
.legal-page section{margin-top:34px}
.legal-page h2{font-size:24px;margin:0 0 12px}
.legal-page h3{font-size:18px;margin:20px 0 8px}
.legal-page p,.legal-page li{font-size:16px;line-height:1.65}
.legal-page ol,.legal-page ul{padding-left:22px}
@media(max-width:550px){.legal-page h1{font-size:34px}.age-gate-form{padding:22px}}
