/* Rechtstexte: getöntes Glas hält Weißtext auch über hellen Bildern lesbar.
   Die Unschärfe bleibt auf die Panelkontur begrenzt. */
html.is-legal-open { overflow:hidden; scrollbar-gutter:stable; }
.nexusir-legal-panel {
  color-scheme:dark; color:#fff; font-family:'Segoe UI',Arial,sans-serif;
  text-shadow:-1px 0 1px #000,1px 0 1px #000,0 -1px 1px #000,0 1px 2px #000,0 2px 6px #0008;
  width:min(1000px,calc(100% - 48px)); max-width:none;
  max-height:calc(100vh - 48px); max-height:calc(100dvh - 48px);
  padding:0; margin:auto; overflow:hidden;
  background:rgba(12,28,56,.56); border:1px solid rgba(255,255,255,.38);
  -webkit-backdrop-filter:blur(14px); backdrop-filter:blur(14px);
  border-radius:18px; box-shadow:0 24px 80px #0003,inset 0 1px 0 #ffffff30;
}
.nexusir-legal-panel[open] { display:flex; flex-direction:column; animation:nexusir-legal-enter .24s ease-out both; }
.nexusir-legal-panel::backdrop {
  background:transparent;
  -webkit-backdrop-filter:none; backdrop-filter:none;
}
.nexusir-legal-header {
  display:flex; align-items:center; justify-content:space-between; gap:16px; flex:none;
  padding:20px 32px; border-bottom:1px solid #ffffff40;
  background:transparent;
}
.nexusir-legal-brand { display:block; color:inherit; font-size:10px; font-weight:600; letter-spacing:1.6px; }
#nexusir-legal-title { font-size:18px; line-height:1.5; font-weight:600; margin-top:3px; }
.nexusir-legal-close {
  display:inline-flex; align-items:center; justify-content:center; gap:12px;
  min-height:44px; min-width:44px; padding:0 12px; flex:none;
  color:inherit; text-shadow:inherit; background:transparent; border:1px solid #ffffff70; border-radius:8px;
}
.nexusir-legal-close:hover { border-color:#fff; box-shadow:0 0 0 1px #fff; }
.nexusir-legal-close-label { font-size:13px; }
.nexusir-legal-close>span:last-child { font-size:28px; font-weight:400; line-height:1; }
.nexusir-legal-body {
  min-height:0; overflow:auto; overscroll-behavior:contain; scrollbar-gutter:stable;
  padding:32px 46px 48px; font-size:16px; line-height:1.75; overflow-wrap:anywhere;
  scrollbar-width:thin; scrollbar-color:#ffffffa6 transparent;
}
.nexusir-legal-body h1,.nexusir-legal-body h2 {
  font-family:Georgia,'Times New Roman',serif; font-weight:400; letter-spacing:-.02em; line-height:1.2; color:inherit;
}
.nexusir-legal-body h1 { font-size:clamp(30px,4.5vw,48px); margin:0 0 28px; }
.nexusir-legal-body h2 { font-size:clamp(23px,3vw,30px); margin:32px 0 14px; }
.nexusir-legal-body h3 { font-size:19px; margin:26px 0 12px; }
.nexusir-legal-body p { margin:0 0 18px; }
.nexusir-legal-body li { margin-bottom:8px; }
.nexusir-legal-body ul,.nexusir-legal-body ol { padding-left:24px; }
.nexusir-legal-body a { color:inherit; text-decoration:underline; text-underline-offset:3px; }
.nexusir-legal-body .notice { border-left:3px solid #ffffffa6; background:transparent; padding:16px 20px; margin-bottom:28px; }
.nexusir-legal-body .notice p { margin:8px 0 0; font-size:14px; }
.nexusir-legal-panel :focus-visible { outline:2px solid #fff; outline-offset:3px; }
.nexusir-legal-body:focus-visible { outline-offset:-5px; }
@keyframes nexusir-legal-enter { from { opacity:0; transform:translateY(16px); } to { opacity:1; transform:translateY(0); } }
html[data-motion="reduced"] .nexusir-legal-panel { animation:none; }
@media (prefers-reduced-motion:reduce) { .nexusir-legal-panel { animation:none; } }
@media (max-width:600px) {
  .nexusir-legal-panel {
    width:calc(100% - 24px); max-height:calc(100vh - 24px); max-height:calc(100dvh - 24px - env(safe-area-inset-top,0px) - env(safe-area-inset-bottom,0px)); border-radius:12px;
  }
  .nexusir-legal-header { padding:14px 18px; }
  .nexusir-legal-body { padding:24px 22px 32px; }
}
@media (max-width:360px) { .nexusir-legal-close-label { display:none; } }
@media (forced-colors:active) {
  .nexusir-legal-panel { background:Canvas; color:CanvasText; border:2px solid CanvasText; text-shadow:none; -webkit-backdrop-filter:none; backdrop-filter:none; }
  .nexusir-legal-panel::backdrop { -webkit-backdrop-filter:none; backdrop-filter:none; }
}


.nexusir-legal-panel:not([open]) { display:none; }
.nexusir-legal-body h3 { color:inherit; }
#nexusir-legal-title:focus { outline:none; }
