#aktualisierung-hinweis{position:fixed;bottom:16px;left:50%;transform:translateX(-50%);z-index:2147483646;box-sizing:border-box;width:min(540px,calc(100% - 24px));padding:14px 18px;background:#182638;color:#f3f6fb;border:1px solid #5ca9da;border-radius:12px;box-shadow:0 8px 28px #0006;display:flex;gap:14px;align-items:center;font:14px/1.5 system-ui,sans-serif}
#aktualisierung-hinweis p{margin:0;flex:1}#aktualisierung-hinweis button{flex-shrink:0;background:#287bbb;color:#fff;border:0;border-radius:8px;padding:9px 12px;cursor:pointer;font:inherit}#aktualisierung-hinweis button:focus-visible{outline:3px solid #a6dcff;outline-offset:3px}
@media(max-width:480px){#aktualisierung-hinweis{align-items:stretch;flex-direction:column;gap:8px}}

#update-verwaltung{position:fixed;inset:0;margin:auto;box-sizing:border-box;width:min(840px,calc(100vw - 32px));max-height:85vh;max-height:85dvh;padding:0;border:1px solid #45627e;border-radius:14px;background:#1c293b;color:#e2e8f0;box-shadow:0 24px 80px #0009}
#update-verwaltung:not([open]){display:none}
#update-verwaltung[open]{display:flex;flex-direction:column}
#update-verwaltung::backdrop{background:#020617b8;backdrop-filter:blur(3px)}
#update-verwaltung .chat-moderation-header{flex:0 0 auto;margin:0;padding:18px 20px;border-bottom:1px solid #334155}
#update-verwaltung .chat-moderation-header h3{font-size:17px}
#update-verwaltung .chat-moderation-inhalt{display:block;min-height:0;overflow-y:auto;padding:8px 20px 20px;overflow-wrap:anywhere}
#update-verwaltung .update-aktionen{display:flex;gap:12px;flex-wrap:wrap;margin-top:20px}
#update-verwaltung button{padding:10px 14px;border-radius:8px}
#update-verwaltung .update-versionen{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:12px 0 20px}
#update-verwaltung .update-version{min-width:0;padding:14px;border:1px solid #3a506a;border-radius:10px;background:#142238}
#update-verwaltung .update-version h4{margin:0 0 8px;color:#bfdbfe}
#update-verwaltung .update-version p{margin:0 0 10px}
#update-verwaltung ul{padding-left:18px;font-size:12px;line-height:1.6}
#update-verwaltung .update-feedback{color:#a6dcff;min-height:1.5em}
#update-verwaltung button:disabled{opacity:.5;cursor:not-allowed}
#update-verwaltung button:focus-visible{outline:2px solid #a6dcff;outline-offset:3px}
#update-verwaltung details{margin-top:20px;padding:12px;border:1px solid #3a506a;border-radius:8px;font-size:12px;line-height:1.6}
@media(max-width:600px){#update-verwaltung .update-versionen{grid-template-columns:1fr}#update-verwaltung .update-aktionen button{width:100%}}
.spiel-version{display:block;margin-top:8px;font:11px/1.4 system-ui,sans-serif;color:inherit;opacity:.65}.spiel-version[hidden]{display:none}

/* Großes Inhaberfenster mit festem Kopf und Aktionsbereich. */
#update-verwaltung{width:min(1180px,calc(100vw - 32px));height:min(860px,calc(100dvh - 40px));max-height:calc(100dvh - 40px)}
#update-verwaltung .chat-moderation-header{padding:22px 26px;align-items:flex-start;background:#152237}
#update-verwaltung .chat-moderation-header h3{font-size:21px;line-height:1.3}
#update-verwaltung .chat-moderation-header p{margin:7px 0 0;color:#a8b8cc;font-size:13px}
#update-verwaltung .chat-moderation-inhalt{flex:1 1 auto;padding:20px 26px;overscroll-behavior:contain;scrollbar-gutter:stable}
#update-verwaltung .update-versionen{grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin:0 0 24px}
#update-verwaltung .update-version{padding:20px;background:#142238;border-radius:12px}
#update-verwaltung .update-version:nth-child(2){border-color:#568fc1;background:#182d45}
#update-verwaltung .update-version h4{font-size:13px;color:#9eb5ce}
#update-verwaltung .update-version p{font-size:16px;font-weight:650;line-height:1.5}
#update-verwaltung ul{font-size:13px}
#update-verwaltung .update-statuszeile{display:grid;grid-template-columns:180px minmax(0,1fr);gap:16px;padding:13px 0;margin:0;border-bottom:1px solid #334155;font-size:13px;line-height:1.6}
#update-verwaltung .update-statuszeile strong{color:#a8b8cc;font-weight:500}
#update-verwaltung .update-fussbereich{flex:0 0 auto;padding:12px 26px 20px;background:#152237;border-top:1px solid #334155}
#update-verwaltung .update-feedback{margin:0 0 8px;font-size:13px}
#update-verwaltung .update-aktionen{margin:0;gap:8px}
#update-verwaltung .update-aktionen button{background:#233650;color:#e2e8f0;border:1px solid #45627e;font:600 12px/1.4 system-ui,sans-serif;min-height:42px}
#update-verwaltung .update-aktionen [data-check]{background:#215785;border-color:#4485bc}
#update-verwaltung .update-aktionen [data-approve]{background:#10634f;border-color:#30947b}
#update-verwaltung .update-aktionen button:not(:disabled):hover{filter:brightness(1.15)}
#update-verwaltung [hidden]{display:none!important}
@media(max-width:800px){#update-verwaltung .update-versionen{grid-template-columns:1fr}#update-verwaltung .update-statuszeile{grid-template-columns:1fr;gap:3px}}
@media(max-width:600px){#update-verwaltung{width:calc(100vw - 16px);height:calc(100dvh - 16px);max-height:calc(100dvh - 16px)}#update-verwaltung .chat-moderation-header,#update-verwaltung .chat-moderation-inhalt,#update-verwaltung .update-fussbereich{padding:14px}#update-verwaltung .chat-moderation-header h3{font-size:17px}#update-verwaltung .update-aktionen{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}#update-verwaltung .update-aktionen button{min-width:0;padding:8px}#update-verwaltung .chat-moderation-header p{font-size:12px}}
