[hidden]{display:none!important}
button,input,textarea{font:inherit}
button{cursor:pointer}
button:disabled{opacity:.52;cursor:not-allowed}
.btn{display:inline-flex;align-items:center;justify-content:center;gap:6px;background:#25394c;border:1px solid #6c829c60;color:#f2f6fb;border-radius:9px;padding:10px 13px;font-size:.87rem;font-weight:740;transition:background .15s}
.btn:hover:not(:disabled){background:#344c65}
.btn-primary{background:#f5b62d;color:#121b27;border-color:#ffd67b}
.btn-primary:hover:not(:disabled){background:#ffd063}
.top-actions{display:flex;flex-wrap:wrap;align-items:center;justify-content:flex-end;gap:9px}
.online-count{border:1px solid #2f5f48;background:#173d30;border-radius:99px;padding:9px 12px;color:#c8f5dc;font-size:.84rem;white-space:nowrap}
.online-count strong{color:#fff}
.online-dot{display:inline-block;width:9px;height:9px;margin-right:4px;background:#5ae0a0;border-radius:50%;box-shadow:0 0 8px #5ae0a0}
.favorite-guide{border:1px solid #f9c6577a;border-radius:10px;margin:0 0 12px auto;max-width:500px;padding:15px 18px;background:#2b2c33;color:#eff3f9;font-size:.88rem}
.favorite-guide p{line-height:1.55}
.favorite-guide kbd{padding:3px 7px;background:#141f2c;border-radius:4px;border:1px solid #ffffff33}
.layout-main{display:grid;grid-template-columns:minmax(0,1fr) minmax(310px,360px);gap:18px;align-items:start}
.primary-column{min-width:0}
.chat-panel{min-width:0;display:flex;flex-direction:column;background:#142538;border:1px solid #ffffff26;border-radius:18px;overflow:hidden;box-shadow:0 16px 38px #0003;min-height:540px}
.chat-head{display:flex;align-items:center;gap:13px;padding:18px;background:linear-gradient(115deg,#273b52,#173047);border-bottom:1px solid #ffffff25}
.chat-icon{display:grid;place-items:center;background:#ffd26723;width:43px;height:43px;border-radius:50%;font-size:1.55rem}
.chat-head h2{margin:0;font-size:1.25rem;line-height:1.2}
.chat-head p{margin:5px 0 0;color:#b9ccda;font-size:.78rem}
.chat-status{background:#0c1827;color:#acc8dd;padding:10px 16px;min-height:37px;font-size:.78rem;border-bottom:1px solid #ffffff17}
.chat-status.error{color:#ffbaac}
.chat-guest{padding:16px;display:flex;flex-direction:column;align-items:stretch}
.chat-guest h3{text-align:center;margin:4px 0 8px;font-size:1.12rem}
.chat-guest>p{margin:0 0 15px;font-size:.9rem;line-height:1.55;color:#bdd0df;text-align:center}
.guest-illustration{text-align:center;font-size:2.7rem;margin:8px 0}
.auth-tabs{display:flex;gap:8px}
.auth-tabs .btn{flex:1}
.auth-form{display:grid;gap:12px;margin-top:17px;padding-top:15px;border-top:1px solid #ffffff22}
.auth-form label{font-size:.81rem;font-weight:650;color:#c3d6e7;display:grid;gap:6px}
.auth-form input,.chat-compose textarea{width:100%;padding:11px 12px;color:#f4f7ff;background:#0c1a2b;border:1px solid #60738a7a;border-radius:8px;outline-offset:2px}
.auth-form input:focus,.chat-compose textarea:focus{outline:2px solid #f5bd43}
.text-button{border:0;background:none;color:#f5cd76;font-size:.8rem;text-decoration:underline;cursor:pointer;padding:4px}
.legal-hint,.chat-footnote{font-size:.74rem!important;color:#a6bdcd!important;line-height:1.5!important}
a{color:#ffd071}
#member-panel{display:flex;flex-direction:column;min-height:500px}
.member-bar{padding:12px 14px;display:flex;gap:10px;align-items:center;justify-content:space-between;border-bottom:1px solid #ffffff19;color:#d8e9f5;font-size:.82rem}
/* Saupack v0.1.9 — kompakte Chatnachrichten */
.chat-messages{flex:1;min-height:210px;max-height:430px;overflow-y:auto;padding:9px;display:flex;flex-direction:column;gap:5px;scrollbar-color:#546c83 #12263c}
.chat-message{background:#1e3246;padding:6px 9px;border-radius:7px;border:1px solid #ffffff12;font-size:.84rem;line-height:1.4;overflow-wrap:anywhere;min-width:0}
.chat-message-author{color:#ffce65;font-weight:700}
.chat-message-text{white-space:pre-wrap;overflow-wrap:anywhere}
.report-btn{display:inline;background:none;border:0;margin-left:3px;padding:1px 2px;color:#aabacb;font-size:.72rem;line-height:inherit;text-decoration:underline;cursor:pointer;white-space:nowrap;vertical-align:baseline}
.report-btn:hover,.report-btn:focus-visible{color:#fff0b4;text-decoration-thickness:2px}
.chat-compose{padding:12px;border-top:1px solid #ffffff21}
.chat-compose textarea{resize:vertical;min-height:78px}
.compose-bottom{display:flex;justify-content:space-between;align-items:center;gap:12px;padding-top:9px;color:#acc0d0;font-size:.75rem}
.chat-footnote{margin:0;padding:4px 12px 15px}
.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap}
.footer{row-gap:8px}
@media(max-width:1050px){.layout-main{grid-template-columns:minmax(0,1fr)}.chat-panel{min-height:350px}.chat-messages{max-height:380px}}
@media(max-width:760px){.masthead{flex-wrap:wrap;padding:11px 0}.top-actions{width:100%;justify-content:flex-start}.status{display:none}.btn-favorite{font-size:.78rem}.online-count{font-size:.76rem}.chat-panel{border-radius:13px}.auth-tabs{flex-wrap:wrap}}

.member-notices{background:#4a352e;padding:12px 14px;color:#ffe7c9;font-size:.83rem;border-bottom:1px solid #ffbd8450}.member-notices p{white-space:pre-wrap;overflow-wrap:anywhere}

/* v0.1.7 — visible only for server-confirmed admin sessions. */
.btn-admin {
  background:linear-gradient(120deg,#394a6c,#26364f);
  color:#ffe5a3;
  border-color:#edc66f90;
  text-decoration:none;
  white-space:nowrap;
}
.btn-admin:hover,.btn-admin:focus-visible {
  background:linear-gradient(120deg,#465c88,#304466);
  color:#fff1c7;
  outline-offset:3px;
}

/* Saupack v0.1.8 — nur im eingeloggten Mitglieder-Chat sichtbar */
.member-community-stats{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;padding:12px 14px;background:#102539;border-bottom:1px solid #ffffff22}
.community-stat{border:1px solid #ffffff22;background:#1b344b;border-radius:10px;padding:9px 11px;display:flex;flex-direction:column;gap:4px}
.community-stat span{color:#b8cfe2;font-size:.75rem}
.community-stat strong{color:#fff3c5;font-size:1.3rem;font-variant-numeric:tabular-nums}
.community-stat-total{grid-column:1/-1;display:flex;flex-direction:row;align-items:center;justify-content:space-between;border-color:#efc36a66;background:#2e3540}
.community-stat-caption{grid-column:1/-1;margin:0;color:#a9c0d3;font-size:.67rem;line-height:1.45}
