:root{font-family:system-ui,-apple-system,"Segoe UI",sans-serif;color:#e9efff;background:#080e1d;color-scheme:dark}
*{box-sizing:border-box}body{margin:0;background:radial-gradient(ellipse at 45% -12%,#16284d 0%,#080e1d 55%);min-height:100vh}a{color:#a9c9ff;text-decoration:none}a:hover{text-decoration:underline}
.topbar{position:sticky;top:0;z-index:10;background:#0b1429e8;border-bottom:1px solid #2b3a57;backdrop-filter:blur(14px)}.topbar-inner{max-width:1120px;margin:auto;min-height:70px;display:flex;align-items:center;justify-content:space-between;gap:16px;padding:12px 22px}.brand{font-weight:850;color:#fff;font-size:1.38rem;letter-spacing:-.05em;white-space:nowrap}.brand-mark{background:#4e83f9;padding:2px 10px;border-radius:10px;margin-right:8px;letter-spacing:-.04em}.brand-dot{color:#6999ff}.navigation{display:flex;flex-wrap:wrap;align-items:center;gap:18px;font-size:.91rem}.navigation a{color:#d7e4ff}.inline{display:inline}.nav-button{border:0;color:#d7e4ff;background:transparent;cursor:pointer;font:inherit}.container{max-width:1100px;margin:38px auto 50px;padding:0 22px;min-height:62vh}.card{background:#101c35;border:1px solid #293c60;border-radius:18px;padding:24px;box-shadow:0 12px 35px #0000001a}.hero{display:flex;align-items:center;justify-content:space-between;gap:20px;background:linear-gradient(110deg,#1a3566,#101c35);margin-bottom:26px;padding:30px}.eyebrow{font-size:.74rem;font-weight:800;letter-spacing:.16em;color:#86afff}.hero h1{font-size:clamp(1.4rem,3vw,2.3rem);margin:9px 0 6px}h1,h2,h3{letter-spacing:-.035em}h2{font-size:1.2rem}.muted{color:#a5b5d0}.small{font-size:.79rem}.layout{display:grid;grid-template-columns:minmax(0,1fr) 275px;gap:25px}.feed-column{min-width:0}.post-card{margin:0 0 20px}.post-head{display:flex;justify-content:space-between;gap:10px;flex-wrap:wrap}.username{font-weight:750;color:#eef3ff}.post-text{overflow-wrap:anywhere;line-height:1.55;white-space:normal}.post-img{display:block;width:100%;max-height:570px;object-fit:contain;border-radius:13px;background:#070e1d}.post-actions{display:flex;align-items:center;gap:11px;margin-top:16px;flex-wrap:wrap}.post-actions form{margin:0}.external{overflow-wrap:anywhere;background:#0b1630;border:1px solid #314c80;padding:12px;border-radius:10px}.btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;border-radius:11px;padding:10px 15px;font:inherit;font-size:.88rem;font-weight:700;cursor:pointer;text-decoration:none;border:1px solid transparent}.btn:hover{text-decoration:none;filter:brightness(1.12)}.primary{background:#4c81f5;color:white}.secondary{background:#1c3053;border-color:#385581;color:#eaf2ff}.ghost{background:#162848;color:#bdd2f9}.danger{background:transparent;color:#ffb7b7;border-color:#7a3c4a}.sidebar{align-self:start}.sidebar .btn{display:flex;margin:9px 0}.narrow{max-width:760px;margin:0 auto 24px}.auth-panel{max-width:480px;margin:5vh auto;padding:32px}.auth-panel h1{margin:10px 0}form p{display:flex;flex-direction:column;gap:7px}input:not([type=checkbox]),textarea,select{width:100%;color:#fff;background:#0b152b;border:1px solid #496087;border-radius:9px;padding:11px 12px;font:inherit}input[type=file]{padding:9px}textarea{resize:vertical}label{font-weight:600}.helptext,.helptext ul{font-size:.78rem;color:#9db0d1}.errorlist{color:#ffbaba;font-size:.9rem}.notice{padding:12px 15px;border-radius:11px;background:#243b62;margin-bottom:12px}.notice.error{background:#642f41}.notice.success{background:#225041}.profile-banner{display:flex;justify-content:space-between;align-items:center;gap:20px;margin-bottom:28px}.profile-heading{display:flex;align-items:center;gap:18px}.profile-heading h1{margin:6px 0}.avatar{width:82px;height:82px;border-radius:50%;display:flex;align-items:center;justify-content:center;background:#426ed2;font-size:2.5rem;font-weight:750;overflow:hidden;flex:none}.avatar img{width:100%;height:100%;object-fit:cover}.pill{background:#245141;color:#c4ffdc;padding:9px 13px;border-radius:99px}.comment{padding:12px 0;border-bottom:1px solid #304160}.text-button{background:none;border:0;color:#adbfea;cursor:pointer;padding:7px 0}.list-row{display:flex;justify-content:space-between;align-items:center;gap:16px;padding:15px 0;border-bottom:1px solid #314160}.buttons{display:flex;gap:8px}.footer{text-align:center;color:#7489a9;font-size:.85rem;padding:25px}.footer a{color:#a4bce2}details.card{margin-top:22px}summary{cursor:pointer;font-weight:700}
@media(max-width:760px){.layout{grid-template-columns:1fr}.sidebar{display:none}.navigation{gap:9px}.topbar-inner{flex-direction:column}.hero{flex-direction:column;align-items:start}.profile-banner{flex-direction:column;align-items:start}.buttons{flex-wrap:wrap}.card{padding:18px}}

/* CHAT 1.2 */
.chat-layout{display:grid;grid-template-columns:250px minmax(0,1fr);gap:22px;align-items:start}.chat-heading{display:flex;flex-wrap:wrap;justify-content:space-between;gap:12px;align-items:center}.chat-heading h1{font-size:1.4rem}.chat-messages{height:min(56vh,580px);min-height:300px;overflow-y:auto;display:flex;flex-direction:column;gap:12px;padding:15px;background:#0a1328;border:1px solid #293c60;border-radius:14px}.chat-bubble{max-width:78%;align-self:flex-start;background:#1e3152;border:1px solid #354b70;border-radius:14px 14px 14px 4px;padding:12px 15px;overflow-wrap:anywhere}.chat-own{align-self:flex-end;background:#254e87;border-color:#527fc0;border-radius:14px 14px 4px 14px}.chat-from{font-size:.72rem;color:#bdd3fc;margin-bottom:6px}.chat-body{white-space:pre-wrap;line-height:1.5}.chat-form{margin-top:15px;display:flex;flex-direction:column;align-items:start;gap:9px}.chat-form textarea{resize:vertical}.chat-peer{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:9px;border-bottom:1px solid #33425e;padding:16px 8px;color:#e4edff}.chat-unread{background:#345c9d;color:#fff;border-radius:999px;padding:4px 9px;font-size:.7rem}.chat-side .btn{margin-bottom:8px}@media(max-width:760px){.chat-layout{grid-template-columns:1fr}.chat-messages{height:45vh;min-height:240px}.chat-bubble{max-width:92%}}

/* MODERACJA 1.4 */
.moderate-section{margin-bottom:20px}.moderate-entry{padding:16px 0;border-bottom:1px solid #304160;overflow-wrap:anywhere}
.moderate-entry:last-child{border-bottom:0}.moderate-entry .buttons{display:flex;flex-wrap:wrap;gap:9px;margin:10px 0}
.moderate-entry form{display:inline-block;margin:6px 6px 6px 0}.moderate-entry p{line-height:1.55}
