/* R23 P1/P2 — functional consent and mobile/accessibility corrections.
   Does not replace R11 hero/BORG wheel or accepted cinematic visuals. */
.ghost-consent-banner[hidden]{display:none!important}
.ghost-consent-banner{position:fixed;z-index:2000;inset:auto 16px 16px;max-width:990px;margin:auto;
  display:flex;gap:22px;justify-content:space-between;align-items:center;padding:18px 20px;
  border:1px solid #d78a3b;border-radius:12px;background:#101418f8;color:#f9f0e6;
  box-shadow:0 16px 65px #000d;backdrop-filter:blur(10px)}
.ghost-consent-banner strong{font-size:16px}.ghost-consent-banner p{font-size:13px;line-height:1.5;color:#dfd3c7;margin:5px 0 0;max-width:520px}
.ghost-consent-actions{display:flex;align-items:center;flex-wrap:wrap;gap:9px}
.ghost-consent-actions button{font:inherit;min-height:46px;min-width:110px;padding:10px 14px;
  border:1px solid #ce934e;border-radius:7px;cursor:pointer;background:#27211c;color:#fff4ea;font-weight:700}
.ghost-consent-actions .ghost-consent-accept{background:#ff8d05;color:#151007;border-color:#ffb45b}
.ghost-consent-actions button:hover,.ghost-consent-actions button:focus-visible{outline:2px solid #ffbe72;outline-offset:2px}
#ghost-privacy-dialog{width:min(590px,calc(100vw - 24px));max-height:min(760px,90dvh);overflow-y:auto}
#ghost-privacy-dialog .ghost-privacy-dialog-content{padding:24px;gap:13px}
#ghost-privacy-dialog .ghost-privacy-dialog-content h2{line-height:1.25}
.ghost-consent-categories{display:grid;gap:10px}
.ghost-consent-categories>p,.ghost-consent-categories label{display:flex;align-items:flex-start;gap:11px;padding:12px;
  border:1px solid #795c40;border-radius:8px;background:#201d1c;margin:0}
.ghost-consent-categories p{flex-wrap:wrap}
.ghost-consent-categories p span{font-size:12px;color:#c9bdb2}
.ghost-consent-categories label{cursor:pointer}
.ghost-consent-categories label input{min-width:23px;min-height:23px;accent-color:#ff8d05;margin:0}
.ghost-consent-categories label span{display:grid;gap:4px}
.ghost-consent-categories label small{font-size:12px;line-height:1.4;color:#cfc6bc}
.ghost-consent-policy{color:#ffd09b;text-decoration:underline;min-height:44px;display:inline-flex;align-items:center}
.ghost-consent-status:empty{display:none}
#privacy-settings{min-height:44px;min-width:44px;padding:9px 12px}
/* R23 previously measured nine visible 390px interactive targets with a 17–43px height. */
.ghost-translate-list a{min-height:46px}
.ghost-r22-identity-links a{min-height:46px;padding-block:4px}
.ghost-r23-film-copy p .ghost-r23-film-link,.ghost-r23-film-link{display:inline-flex;align-items:center;min-height:46px}
.ghost-r23-film-copy p a:not(.btn){display:inline-flex;align-items:center;min-height:44px}
.ghost-r22-scope-item a{min-height:44px;display:inline-flex;align-items:center}
.site-footer .legal a,.site-footer .legal button{min-height:44px;display:inline-flex;align-items:center}
@media(max-width:700px){
 .ghost-consent-banner{inset:auto 9px 9px;display:block;padding:13px}
 .ghost-consent-actions{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px;margin-top:12px}
 .ghost-consent-actions button{min-width:0;font-size:12px;line-height:1.25;padding:8px 5px}
 #ghost-privacy-dialog .ghost-consent-actions{grid-template-columns:1fr 1fr}
 #ghost-privacy-dialog .ghost-consent-actions button:last-child{grid-column:1/-1}
 .ghost-translate-list a{min-height:46px}
 .ghost-r22-identity-links a{min-height:48px}
 .ghost-r23-film-copy p a:not(.btn){min-height:44px}
 .ghost-reference-showcase .ghost-ref-all,.ghost-r22-work-grid a{min-height:46px}
 .ghost-r23-film{padding-top:34px;padding-bottom:34px}
 .ghost-r23-film h2{margin-bottom:13px}
 .ghost-r23-film-actions{margin-top:15px;margin-bottom:13px}
 .ghost-r22-realwork{padding-top:29px;padding-bottom:30px}
 .ghost-r22-realwork .ghost-r22-work-grid article{padding-top:13px;padding-bottom:13px}
 .ghost-r22-realwork .ghost-r22-work-grid h3{margin-block:4px}
 .ghost-r22-identity{padding-block:16px}
}
@media(prefers-reduced-motion:reduce){.ghost-consent-banner{backdrop-filter:none}}
/* A link inside the FAQ paragraph must be a real touch target, not 17px text. */
.faq-grid details p a{display:inline-flex;align-items:center;min-height:44px}
