.privacy-settings-link { font:inherit;color:inherit;background:transparent;border:0;padding:0;cursor:pointer;text-decoration:underline;text-underline-offset:3px; }
.privacy-settings-panel {
  box-sizing:border-box;background:#000000;color:#f4f0df;font:14px/1.55 system-ui,sans-serif;
  border:1px solid #f4f0df;border-radius:0;padding:20px;width:min(100% - 32px,500px);
  position:fixed;right:16px;top:84px;max-height:calc(100dvh - 104px);overflow:auto;z-index:12000;
}
.privacy-settings-panel[hidden] { display:none!important; }
.privacy-settings-panel h2 { font:600 18px/1.3 system-ui,sans-serif;margin:0; }
.privacy-settings-panel p { margin:12px 0; }
.privacy-settings-panel header { display:flex;align-items:center;justify-content:space-between;gap:12px; }
.privacy-settings-panel .privacy-close { background:transparent;color:#f4f0df;border:0;font:28px/1 system-ui;min-width:36px;min-height:36px;cursor:pointer; }
.privacy-settings-panel label { display:flex;align-items:start;gap:10px;margin:18px 0; }
.privacy-settings-panel input { width:20px;height:20px;flex:0 0 20px;accent-color:#f4f0df;margin-top:2px; }
.privacy-settings-panel small { display:block;font-size:12px; }
.privacy-settings-actions { display:flex;flex-wrap:wrap;gap:8px; }
.privacy-settings-actions button { flex:1 1 120px;min-height:40px;border:1px solid #f4f0df;border-radius:0;padding:8px 12px;background:#000000;color:#f4f0df;font:600 13px/1.3 system-ui;cursor:pointer; }
.privacy-settings-actions button[data-save] { color:#000000;background:#f4f0df; }
.privacy-settings-panel a { color:#f4f0df; }
.privacy-settings-panel :is(a,button,input):focus-visible,.privacy-settings-link:focus-visible { outline:2px solid #f4f0df;outline-offset:3px; }
.privacy-settings-panel [hidden] { display:none!important; }
.privacy-settings-panel:not([data-view="first"]) .first-visit-choices,
.privacy-settings-panel[data-view="first"] > :not(header):not(.first-visit-choices) {display:none;}
.privacy-settings-panel[data-view="first"] {
  top:auto;right:16px;bottom:16px;width:min(390px,calc(100% - 32px));max-height:80dvh;
  padding:13px 17px 15px;border:1px solid #b7794e;border-radius:5px;color:#f4e7cd;
  background:repeating-linear-gradient(116deg,transparent 0 8px,#d59b5b08 9px 10px),
    linear-gradient(124deg,#313b32,#282c26 68%,#523c2c);
  box-shadow:inset 0 0 0 3px #25291f,inset 0 0 0 4px #a5754c99,0 6px 16px #0004;
}
.privacy-settings-panel[data-view="first"][data-location="score"] {
  position:absolute;left:var(--notice-x);top:var(--notice-y);right:auto;bottom:auto;
  transform:translate(-50%,-50%);width:min(390px,var(--notice-width));max-height:var(--notice-height);
}
.privacy-settings-panel[data-view="first"] header {justify-content:flex-start;}
.privacy-settings-panel[data-view="first"] header::before {
  content:"";display:block;flex:0 0 24px;height:27px;
  background:url('/archive-horse.svg') center/contain no-repeat;
}
.privacy-settings-panel[data-view="first"] h2 {color:#f5e4bd;font:600 20px/1.1 Georgia,serif;}
.privacy-settings-panel[data-view="first"] .privacy-close {display:none;}
.privacy-settings-panel[data-view="first"] p {margin:8px 0 11px;font:14px/1.35 system-ui,sans-serif;}
.privacy-settings-panel[data-view="first"] .privacy-settings-actions {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));}
.privacy-settings-panel[data-view="first"] .privacy-settings-actions button {
  padding:6px 7px;min-height:36px;color:#272b23;background:#eadbbd;border:1px solid #b7855e;
}
.privacy-settings-panel[data-view="first"] .privacy-settings-actions button:hover {background:#fff0d1;}
@media(max-width:740px) {
  .privacy-settings-panel[data-view="first"] {padding:9px 13px 10px;}
  .privacy-settings-panel[data-view="first"] h2 {font-size:17px;}
  .privacy-settings-panel[data-view="first"] header::before {height:20px;flex-basis:18px;}
  .privacy-settings-panel[data-view="first"] p {margin:5px 0 7px;font-size:12px;}
  .privacy-settings-panel[data-view="first"] .privacy-settings-actions button {font-size:12px;min-height:32px;}
}
.privacy-settings-status { min-height:1.5em; }
.privacy-footer-access { text-align:center;color:#f4f0df;font:13px/1.6 system-ui;padding:18px; }
body :is(.site-footer,.privacy-footer-access) {
  --footer-ink:#f4f0df;
  box-sizing:border-box;
  color:var(--footer-ink);
}
body :is(.site-footer,.privacy-footer-access) :is(a:any-link,.privacy-settings-link,.footer-language) {
  color:var(--footer-ink);
}
body :is(.site-footer,.privacy-footer-access) :is(a:any-link,.privacy-settings-link) {
  font:inherit;
  text-decoration:underline;
  text-underline-offset:3px;
}
body :is(.site-footer,.privacy-footer-access) :is(a:any-link,.privacy-settings-link):hover {
  text-decoration-thickness:2px;
}
body :is(.site-footer,.privacy-footer-access) :is(a:any-link,button,select):focus-visible {
  outline:2px solid var(--footer-ink);
  outline-offset:3px;
}
@media(max-width:600px) { .privacy-settings-panel { top:12px;right:12px;width:calc(100% - 24px);max-height:calc(100dvh - 24px); } }
