
body{
 margin:0;
 background:radial-gradient(circle at top,#1a0000,#050505 60%);
 font-family:'Segoe UI',Arial,sans-serif;
 color:#fff;
}
.ban-screen{
 min-height:100vh;
 display:flex;
 align-items:center;
 justify-content:center;
 padding:24px;
}
.ban-card{
 background:#0b0b0b;
 border:1px solid #8b0000;
 border-radius:10px;
 padding:30px 28px;
 text-align:center;
 max-width:520px;
 box-shadow:0 0 24px rgba(0,0,0,.35);
}
.ban-x{
 font-size:56px;
 color:#ff3b3b;
 margin-bottom:12px;
}
.ban-text{
 line-height:1.5;
 margin-bottom:18px;
}
.ban-btn{
 display:inline-block;
 padding:10px 16px;
 background:#b30000;
 border:1px solid #8b0000;
 border-radius:6px;
 color:#fff;
 text-decoration:none;
 font-weight:600;
}
.ban-btn:hover{opacity:.9}
.site-footer{
 max-width:980px;
 margin:24px auto 20px;
 padding:12px 18px;
 font-size:12px;
 opacity:.7;
 text-align:center;
}
.navbar{
 display:flex;align-items:center;
 padding:14px 24px;
 background:#0b0b0b;
 border-bottom:1px solid #8b0000;
}
.navbar a{
 color:#fff;text-decoration:none;margin:0 10px;
 padding:8px 12px;border:1px solid transparent
}
.navbar a:hover{border-color:red}

.container{
 max-width:1520px;
 margin:0 auto;
 padding:24px 20px 40px;
}
.container-forum{
 max-width:980px;
}

.forum-layout{
 display:flex;
 gap:18px;
 align-items:flex-start;
}
.forum-chat-side{
 width:400px;
 min-width:400px;
 flex-shrink:0;
 position:sticky;
 top:20px;
}
.chatbox-card{
 width:100%;
 min-width:0;
 box-sizing:border-box;
 background:linear-gradient(165deg, rgba(14,14,14,.97) 0%, rgba(8,8,8,.98) 100%);
 border:1px solid rgba(139,0,0,.35);
 border-radius:14px;
 box-shadow:
   0 0 0 1px rgba(255,255,255,.03),
   0 8px 32px rgba(0,0,0,.4),
   0 0 60px rgba(139,0,0,.08);
 overflow:hidden;
 display:flex;
 flex-direction:column;
 max-height:calc(100vh - 100px);
 min-height:420px;
}
.chatbox-header{
 display:flex;
 align-items:center;
 justify-content:space-between;
 gap:10px;
 padding:12px 16px;
 font-size:15px;
 font-weight:700;
 letter-spacing:.06em;
 color:#f3d03a;
 background:linear-gradient(180deg, rgba(139,0,0,.15) 0%, transparent 100%);
 border-bottom:1px solid rgba(139,0,0,.25);
}
.chatbox-header-title{ flex:1; text-align:center; }
.chatbox-header-actions{
 display:flex;
 align-items:center;
 gap:8px;
 flex-shrink:0;
}
.chatbox-refresh{
 width:32px;
 height:32px;
 padding:0;
 font-size:20px;
 line-height:1;
 color:#f3d03a;
 background:rgba(255,255,255,.08);
 border:1px solid rgba(255,255,255,.12);
 border-radius:8px;
 cursor:pointer;
 transition:color .2s, background .2s, border-color .2s;
 flex-shrink:0;
}
.chatbox-refresh:hover{
 color:#fff;
 background:rgba(139,0,0,.3);
 border-color:rgba(139,0,0,.5);
}
.chatbox-refresh:disabled{ opacity:.7; cursor:wait; }
.chatbox-refresh-spin{ animation:chatbox-refresh-spin .6s ease-in-out; }
@keyframes chatbox-refresh-spin{
  to{ transform:rotate(360deg); }
}
.chatbox-clear-all{
 width:32px;
 height:32px;
 padding:0;
 font-size:22px;
 line-height:1;
 font-weight:700;
 color:#e53935;
 background:rgba(255,255,255,.08);
 border:1px solid rgba(229,57,53,.4);
 border-radius:8px;
 cursor:pointer;
 transition:color .2s, background .2s, border-color .2s;
 flex-shrink:0;
}
.chatbox-clear-all:hover{
 color:#fff;
 background:rgba(229,57,53,.5);
 border-color:rgba(229,57,53,.8);
}
.chatbox-messages{
 flex:1;
 overflow-y:auto;
 padding:10px 12px;
 display:flex;
 flex-direction:column;
 gap:8px;
 min-height:0;
}
.chatbox-msg{
 padding:8px 10px;
 background:rgba(255,255,255,.04);
 border-radius:8px;
 border:1px solid rgba(255,255,255,.06);
 transition:background .2s;
}
.chatbox-msg:hover{ background:rgba(255,255,255,.06); }
.chatbox-msg-head{
 display:flex;
 align-items:center;
 justify-content:space-between;
 gap:6px;
 margin-bottom:4px;
}
.chatbox-msg-name{
 font-weight:600;
 font-size:14px;
 text-decoration:none;
 transition:opacity .2s;
}
.chatbox-msg-name:hover{ opacity:.9; }
.chatbox-msg-delete{
 width:20px;
 height:20px;
 padding:0;
 font-size:16px;
 line-height:1;
 color:#fff;
 background:rgba(180,0,0,.5);
 border:1px solid rgba(220,0,0,.6);
 border-radius:5px;
 cursor:pointer;
 transition:background .2s, color .2s, transform .1s;
 flex-shrink:0;
}
.chatbox-msg-delete:hover{
 background:#b30000;
 color:#fff;
 transform:scale(1.08);
}
.chatbox-msg-text{
 font-size:14px;
 color:#d8d8d8;
 line-height:1.4;
 word-break:break-word;
 margin-bottom:2px;
}
.chatbox-msg-time{
 font-size:12px;
 color:#888;
}
.chatbox-emoji-bar{
 display:flex;
 flex-wrap:wrap;
 gap:4px;
 padding:8px 12px;
 border-top:1px solid rgba(255,255,255,.06);
 background:rgba(0,0,0,.2);
}
.chatbox-emoji-btn{
 width:32px;
 height:32px;
 padding:0;
 font-size:16px;
 line-height:1;
 background:rgba(255,255,255,.08);
 border:1px solid rgba(255,255,255,.1);
 border-radius:8px;
 cursor:pointer;
 transition:background .2s, transform .1s;
}
.chatbox-emoji-btn:hover{
 background:rgba(255,255,255,.14);
 transform:scale(1.1);
}
.chatbox-form{
 display:flex;
 flex-direction:column;
 gap:8px;
 padding:12px;
 border-top:1px solid rgba(139,0,0,.2);
 background:rgba(0,0,0,.3);
 min-width:0;
 width:100%;
 box-sizing:border-box;
}
.chatbox-file-input{ position:absolute; width:0; height:0; opacity:0; overflow:hidden; }
.chatbox-form-row{
 display:flex;
 gap:8px;
 align-items:center;
 min-width:0;
 width:100%;
}
.chatbox-attach{
 flex-shrink:0;
 width:44px;
 height:44px;
 padding:0;
 font-size:20px;
 line-height:1;
 color:#b8b8b8;
 background:#2a2a2a;
 border:1px solid rgba(80,80,80,.9);
 border-radius:10px;
 cursor:pointer;
 transition:color .2s, background .2s, border-color .2s;
}
.chatbox-attach:hover{ color:#f3d03a; background:#333; border-color:rgba(139,0,0,.4); }
.chatbox-preview{
 margin-top:0;
 min-height:0;
}
.chatbox-preview-wrap{
 position:relative;
 display:inline-block;
 max-width:120px;
}
.chatbox-preview-img{
 display:block;
 max-width:100%;
 max-height:80px;
 object-fit:cover;
 border-radius:8px;
 border:1px solid rgba(255,255,255,.1);
}
.chatbox-preview-remove{
 position:absolute;
 top:4px;
 right:4px;
 width:24px;
 height:24px;
 padding:0;
 font-size:18px;
 line-height:1;
 color:#fff;
 background:rgba(0,0,0,.75);
 border:1px solid rgba(255,255,255,.2);
 border-radius:6px;
 cursor:pointer;
 transition:background .2s;
}
.chatbox-preview-remove:hover{ background:#b30000; }
.chatbox-msg-image{
 margin-bottom:6px;
}
.chatbox-user-tooltip{
 position:fixed;
 z-index:10000;
 display:flex;
 align-items:center;
 gap:14px;
 padding:14px 16px;
 min-width:220px;
 max-width:280px;
 background:linear-gradient(165deg, #0f0f0f 0%, #0a0a0a 100%);
 border:1px solid rgba(139,0,0,.35);
 border-radius:12px;
 box-shadow:0 8px 32px rgba(0,0,0,.5), 0 0 0 1px rgba(255,255,255,.05);
 pointer-events:auto;
}
.chatbox-user-tooltip-avatar-wrap{
 width:52px;
 height:52px;
 border-radius:50%;
 border:2px solid #2a2a2a;
 flex-shrink:0;
 overflow:hidden;
}
.chatbox-user-tooltip-avatar-wrap .chatbox-user-tooltip-avatar{
 width:100%;
 height:100%;
 border-radius:50%;
 background:#1a1a1a;
 background-size:cover;
 background-position:center;
}
.chatbox-user-tooltip-avatar-img{
 display:block;
 width:100%;
 height:100%;
 object-fit:cover;
}
.chatbox-user-tooltip-body{ flex:1; min-width:0; }
.chatbox-user-tooltip-name{
 font-weight:700;
 font-size:15px;
 color:#fff;
 margin-bottom:4px;
}
.chatbox-user-tooltip-badge{
 display:inline-block;
 padding:3px 8px;
 border-radius:5px;
 font-size:11px;
 font-weight:600;
 color:#fff;
 margin-bottom:6px;
}
.chatbox-user-tooltip-status{
 font-size:12px;
 color:#888;
 display:flex;
 align-items:center;
 gap:6px;
}
.chatbox-user-tooltip-status-online{ color:#22c55e; }
.chatbox-user-tooltip-dot{
 width:6px;
 height:6px;
 border-radius:50%;
 background:currentColor;
 animation:chatbox-tooltip-pulse 2s ease-in-out infinite;
}
@keyframes chatbox-tooltip-pulse{
 0%,100%{ opacity:1 }
 50%{ opacity:.5 }
}
.chatbox-user-tooltip-date{
 font-size:11px;
 color:#666;
 margin-top:4px;
}
.chatbox-msg-image a{
 display:block;
 cursor:zoom-in;
}
.chatbox-msg-image img{
 display:block;
 max-width:100%;
 max-height:150px;
 object-fit:contain;
 border-radius:8px;
 border:1px solid rgba(255,255,255,.08);
 cursor:zoom-in;
}
.chatbox-lightbox{
 position:fixed;
 inset:0;
 z-index:9999;
 background:rgba(0,0,0,.88);
 display:flex;
 align-items:center;
 justify-content:center;
 padding:40px 20px 20px;
 box-sizing:border-box;
}
.chatbox-lightbox-inner{
 position:relative;
 max-width:95vw;
 max-height:95vh;
 display:flex;
 align-items:center;
 justify-content:center;
}
.chatbox-lightbox-inner img{
 max-width:100%;
 max-height:95vh;
 width:auto;
 height:auto;
 object-fit:contain;
 border-radius:8px;
 box-shadow:0 8px 40px rgba(0,0,0,.6);
}
.chatbox-lightbox-close{
 position:absolute;
 top:-36px;
 right:0;
 width:36px;
 height:36px;
 padding:0;
 font-size:24px;
 line-height:1;
 color:#fff;
 background:rgba(255,255,255,.15);
 border:1px solid rgba(255,255,255,.25);
 border-radius:8px;
 cursor:pointer;
 transition:background .2s, color .2s;
}
.chatbox-lightbox-close:hover{
 background:rgba(220,50,50,.9);
 color:#fff;
 border-color:rgba(255,255,255,.3);
}
.chatbox-input{
 flex:1 1 0;
 min-width:0;
 width:100%;
 height:44px;
 padding:10px 14px;
 font-size:15px;
 color:#fff;
 background:#2a2a2a;
 border:1px solid rgba(80,80,80,.9);
 border-radius:10px;
 outline:none;
 transition:border-color .2s, box-shadow .2s, background .2s;
 box-sizing:border-box;
}
.chatbox-input:focus{
 border-color:rgba(139,0,0,.6);
 background:#333;
 box-shadow:0 0 0 2px rgba(139,0,0,.2);
}
.chatbox-input::placeholder{ color:#888; }
.chatbox-send{
 flex-shrink:0;
 width:auto;
 min-width:72px;
 height:44px;
 padding:0 16px;
 font-size:14px;
 font-weight:600;
 color:#fff;
 background:linear-gradient(180deg, #b30000 0%, #8b0000 100%);
 border:1px solid rgba(255,255,255,.1);
 border-radius:10px;
 cursor:pointer;
 transition:transform .1s, box-shadow .2s;
 box-sizing:border-box;
}
.chatbox-send:hover{
 transform:translateY(-1px);
 box-shadow:0 4px 16px rgba(139,0,0,.3);
}

.forum-main{flex:1;min-width:0}
.forum-side{
 width:260px;
 display:flex;
 flex-direction:column;
 gap:14px;
}
.side-card{
 background:#0b0b0b;
 border:1px solid #2a2a2a;
 border-radius:10px;
 padding:14px;
 box-shadow:0 2px 16px rgba(0,0,0,.3);
}
.side-card-title{
 font-weight:600;
 margin-bottom:10px;
 font-size:15px;
 display:flex;
 align-items:center;
 gap:8px;
}
.side-title-icon{font-size:1em;opacity:.9}
.side-muted{opacity:.7;font-size:13px}
.side-list{display:flex;flex-direction:column;gap:6px}
.side-user{font-size:13px}
.side-user .admin-link{font-weight:600}

/* Jelenleg online – badge kártyák */
.side-card-online{border-color:#1a4d1a}
.side-online-badges{
 display:flex;
 flex-wrap:wrap;
 gap:8px;
}
.side-online-badge{
 display:inline-flex;
 align-items:center;
 gap:6px;
 padding:6px 12px;
 border-radius:8px;
 font-size:13px;
 font-weight:600;
 text-decoration:none;
 color:var(--rank-color,#ccc) !important;
 background:rgba(255,255,255,.06);
 border:1px solid rgba(255,255,255,.1);
 transition:background .15s, border-color .15s, transform .1s;
}
.side-online-badge:hover{
 background:rgba(255,255,255,.1);
 border-color:var(--rank-color,#8b0000);
 color:var(--rank-color,#fff) !important;
 transform:translateY(-1px);
}
.side-online-badge[data-rank="1"]{ --rank-color:#e8b830; }
.side-online-dot{
 width:6px;
 height:6px;
 border-radius:50%;
 background:#22c55e;
 flex-shrink:0;
 box-shadow:0 0 6px #22c55e;
}
.side-footer{margin-top:10px;font-size:12px;opacity:.85}
.side-footer-online{border-top:1px solid #1b1b1b;padding-top:10px;margin-top:12px}
.side-footer-count{color:#999}
.side-footer-count strong{color:#fff}

/* Fórum statisztikák – ikonok */
.side-card-stats .side-card-title{border-bottom:none}
.side-stat{
 display:flex;
 align-items:center;
 justify-content:space-between;
 padding:8px 0;
 border-top:1px solid #1b1b1b;
 font-size:13px;
 gap:10px;
}
.side-stat:first-of-type{border-top:none}
.side-stat-label{
 display:flex;
 align-items:center;
 gap:8px;
 color:#aaa;
}
.side-stat-icon{font-size:14px;opacity:.9}
.side-stat strong{color:#fff;font-weight:600}
.side-stat-badge{
 display:inline-block;
 padding:4px 10px;
 border-radius:6px;
 font-size:13px;
 font-weight:600;
 text-decoration:none;
 color:#fff;
 background:rgba(139,0,0,.35);
 border:1px solid rgba(139,0,0,.6);
 transition:background .15s, border-color .15s;
}
.side-stat-badge:hover{
 background:rgba(139,0,0,.5);
 border-color:#8b0000;
 color:#fff;
}
.side-stat-link{flex-direction:column;align-items:flex-start;gap:4px}
.side-stat-link strong{font-weight:600}
.side-stat-sub{font-size:12px;opacity:.85}

/* Ranglista – badge-ek, ikonok */
.side-card-leaderboard{border-color:rgba(212,175,55,.25)}
.side-stat-active-today{align-items:flex-start;}
.side-stat-active-user{
 display:flex;
 flex-direction:column;
 align-items:flex-start;
 gap:2px;
}
.side-stat-active-time{
 font-size:12px;
 opacity:.85;
}
.side-card-latest-posts{margin-top:18px;}
.side-latest-list{list-style:none;margin:0;padding:0;}
.side-latest-item{padding:6px 0;border-bottom:1px solid rgba(255,255,255,.05);}
.side-latest-item:last-child{border-bottom:none;}
.side-latest-link{
 display:block;
 font-size:14px;
 font-weight:600;
 color:#fff;
 text-decoration:none;
}
.side-latest-link:hover{text-decoration:underline;}
.side-latest-meta{
 font-size:12px;
 opacity:.8;
 display:flex;
 justify-content:space-between;
}
.side-latest-author{color:#ccc;}
.side-latest-time{color:#888;}
.side-leaderboard-preview{display:flex;flex-direction:column;gap:14px}
.side-lb-block{border-top:1px solid #1b1b1b;padding-top:10px}
.side-lb-block:first-child{border-top:none;padding-top:0}
.side-lb-label{
 font-size:12px;
 opacity:.9;
 margin-bottom:8px;
 display:flex;
 align-items:center;
 gap:6px;
}
.side-lb-label-icon{font-size:13px}
.side-lb-list{list-style:none;padding:0;margin:0}
.side-lb-list li{
 display:flex;
 align-items:center;
 justify-content:space-between;
 padding:6px 0;
 font-size:13px;
 border-bottom:1px solid #151515;
 gap:10px;
}
.side-lb-list li:last-child{border-bottom:none}
.side-lb-badge{
 display:inline-block;
 padding:4px 10px;
 border-radius:6px;
 font-weight:600;
 text-decoration:none;
 color:var(--rank-color,#ccc) !important;
 background:rgba(255,255,255,.06);
 border:1px solid rgba(255,255,255,.08);
 transition:background .15s, border-color .15s;
}
.side-lb-badge:hover{
 background:rgba(255,255,255,.1);
 border-color:var(--rank-color);
 color:var(--rank-color) !important;
}
.side-lb-badge[data-rank="1"]{ --rank-color:#e8b830; }
.side-lb-count{font-size:12px;opacity:.9;display:flex;align-items:center;gap:4px}
.side-lb-count-icon{font-size:12px;opacity:.9}
.side-footer-lb{
 border-top:1px solid #1b1b1b;
 padding-top:10px;
 margin-top:4px;
}
.side-footer-link{
 font-weight:600;
 display:inline-flex;
 align-items:center;
 gap:4px;
}

.category-card{
 margin-bottom:18px;
 border:1px solid #8b0000;
 background:#0b0b0b;
 border-radius:8px;
 overflow:hidden;
 box-shadow:0 0 16px rgba(0,0,0,.25);
}
.category-title{
 margin:0;
 padding:10px 14px;
 background:#140000;
 font-size:16px;
 letter-spacing:.2px;
 font-weight:600;
}
.forum-list{
 display:flex;
 flex-direction:column;
}
.forum-row{
 display:flex;
 align-items:center;
 gap:14px;
 padding:12px 14px;
 border-top:1px solid #1b1b1b;
 background:#0e0e0e;
}
.forum-row:first-child{border-top:none}
.forum-row:hover{background:#101010}
.forum-icon{
 width:34px;
 height:34px;
 border-radius:6px;
 background:#141414;
 border:1px solid #2a2a2a;
 box-shadow:inset 0 0 6px rgba(0,0,0,.6);
 display:flex;
 align-items:center;
 justify-content:center;
}
.forum-main{flex:1;min-width:0}
.forum-title{
 color:#fff;
 text-decoration:none;
 font-weight:600;
 display:inline-block;
 margin-bottom:2px;
}
.forum-title:hover{text-decoration:underline}
.forum-desc{
 opacity:.75;
 font-size:13px;
 line-height:1.3;
}
.forum-meta{
 display:flex;
 gap:16px;
 min-width:140px;
 justify-content:flex-end;
 text-align:center;
}
.meta-block{min-width:60px}
.meta-value{font-weight:700}
.meta-label{font-size:11px;opacity:.7}

/* FORUM TOPIC LIST */
.forum-header{
 display:flex;
 align-items:center;
 justify-content:space-between;
 gap:12px;
 margin-bottom:12px;
}
.forum-breadcrumbs{
 display:flex;
 flex-wrap:wrap;
 align-items:center;
 gap:6px;
 margin:6px 0 10px;
 font-size:13px;
 color:#ccc;
}
.forum-breadcrumbs a{
 color:#fff;
 text-decoration:none;
 padding:4px 6px;
 border-radius:4px;
 background:#0f0f0f;
 border:1px solid #2a2a2a;
}
.forum-breadcrumbs a:hover{
 border-color:#8b0000;
}
.forum-breadcrumbs .crumb-sep{
 opacity:.6;
}
.forum-breadcrumbs .crumb-current{
 color:#f3d03a;
 font-weight:600;
}
.btn-primary{
 display:inline-block;
 padding:8px 12px;
 background:#b30000;
 border:1px solid #8b0000;
 border-radius:6px;
 color:#fff;
 text-decoration:none;
 font-weight:600;
}
.btn-primary:hover{opacity:.9}
.btn-secondary{
 display:inline-block;
 padding:8px 12px;
 background:#1a1a1a;
 border:1px solid #2a2a2a;
 border-radius:6px;
 color:#ccc;
 text-decoration:none;
 font-size:14px;
 transition:background .15s, border-color .15s;
}
.btn-secondary:hover{
 background:#252525;
 border-color:#3a3a3a;
 color:#fff;
}
.topic-card-list{
 margin-top:14px;
 border:1px solid #8b0000;
 background:#0b0b0b;
 border-radius:8px;
 overflow:hidden;
}
.topic-card-pinned{border-color:#c08a00}
.topic-card-pinned .topic-list-header{background:#2a2008}
.topic-list-header{
 display:grid;
 grid-template-columns:1fr 90px 80px 140px;
 gap:12px;
 padding:10px 14px;
 background:#140000;
 font-size:13px;
 opacity:.9;
}
.topic-row{
 display:grid;
 grid-template-columns:1fr 90px 80px 140px;
 gap:12px;
 padding:12px 14px;
 border-top:1px solid #1b1b1b;
 background:#0e0e0e;
 align-items:center;
}
.topic-row:hover{background:#101010}
.topic-main{min-width:0}
.topic-title-link{
 color:#fff;
 text-decoration:none;
 font-weight:600;
}
.topic-title-link:hover{text-decoration:underline}
.topic-badge{
 display:inline-block;
 margin-left:8px;
 padding:2px 6px;
 font-size:11px;
 border-radius:4px;
 background:#1b1b1b;
 border:1px solid #2a2a2a;
 opacity:.9;
}
.topic-badge-new{background:#1a2a0a;border-color:#2d4a0f;color:#8f8}
.topic-lock{margin-left:6px}
.topic-meta{font-size:12px;opacity:.7;margin-top:4px}
.mini-avatar{
 display:inline-block;
 width:18px;
 height:18px;
 border-radius:50%;
 background:#141414;
 border:1px solid #2a2a2a;
 vertical-align:middle;
 margin-right:6px;
 background-size:cover;
 background-position:center;
}
.topic-count{text-align:center;font-weight:700}
.topic-views{text-align:center;font-size:12px;opacity:.85}
.topic-last{font-size:12px;line-height:1.3;text-align:right}

/* TOPIC VIEW */
.topic-header{
 display:flex;
 align-items:center;
 justify-content:space-between;
 gap:12px;
 margin-bottom:12px;
}
.topic-header-actions{
 display:flex;
 align-items:center;
 gap:10px;
}
.reaction-btn{
 background:#141414;
 border:1px solid #2a2a2a;
 color:#fff;
 padding:6px 10px;
 border-radius:6px;
 cursor:pointer;
 font-size:12px;
}
.reaction-btn.active{
 border-color:#8b0000;
 background:#1b0d0d;
}
.post-footer{
 margin-top:10px;
 display:flex;
 flex-wrap:wrap;
 align-items:center;
 justify-content:space-between;
 gap:10px;
 padding-top:8px;
 border-top:1px solid #1b1b1b;
}
.post-reactions{
 display:flex;
 gap:6px;
}
.post-reactions .reaction-btn{
 padding:4px 8px;
 font-size:11px;
}
.post-footer-actions{
 display:flex;
 align-items:center;
 gap:8px;
}
.post-action-btn{
 display:inline-flex;
 align-items:center;
 padding:4px 10px;
 min-height:28px;
 font-size:12px;
 border-radius:6px;
 border:1px solid transparent;
 cursor:pointer;
 text-decoration:none;
 transition:background .15s, border-color .15s, transform .15s, box-shadow .15s, filter .15s;
 box-sizing:border-box;
}
button.post-action-btn{font-family:inherit}
.post-action-quote{
 background:#352a10;
 border-color:#6a5a20;
 color:#f0c85a;
}
.post-action-quote:hover{
 background:#403518;
 border-color:#7a6a28;
 filter:brightness(1.12);
 transform:translateY(-1px);
 box-shadow:0 2px 8px rgba(0,0,0,.3);
}
.post-action-report{
 background:#2a1515;
 border-color:#a00;
 color:#f66;
}
.post-action-report:hover{
 background:#351a1a;
 border-color:#b00;
 filter:brightness(1.1);
 transform:translateY(-1px);
 box-shadow:0 2px 8px rgba(0,0,0,.3);
}
.post-action-edit{
 background:#143a5a;
 border-color:#2a5a82;
 color:#8ec8f8;
}
.post-action-edit:hover{
 background:#1a4a6e;
 border-color:#3a6a96;
 filter:brightness(1.1);
 transform:translateY(-1px);
 box-shadow:0 2px 8px rgba(0,0,0,.3);
}
.post-action-delete{
 background:#2a1515;
 border-color:#a00;
 color:#f66;
}
.post-action-delete:hover{
 background:#351a1a;
 border-color:#b00;
 filter:brightness(1.1);
 transform:translateY(-1px);
 box-shadow:0 2px 8px rgba(0,0,0,.3);
}
.post-delete-form{display:inline;margin:0}
.link-btn{
 background:none;
 border:none;
 color:#8b0000;
 cursor:pointer;
 font-size:12px;
 padding:0;
 text-decoration:underline;
}
.link-btn:hover{opacity:.9}
a.link-btn{color:#b55}
.post-meta .post-edited{opacity:.8;font-size:12px}
.post-actions-meta{margin-left:8px}
.post-actions-meta .link-btn{margin-right:8px}
.post-edit-history{margin-top:8px;padding:8px;background:#0f0f0f;border-radius:6px;border:1px solid #1b1b1b}
.post-history-item{margin-bottom:8px}
.post-history-content{font-size:13px;opacity:.9;margin-top:4px}
.blockquote.post-quote,.post-quote{
 margin:8px 0;
 padding:10px 12px;
 border-left:4px solid #8b0000;
 background:#140000;
 border-radius:0 6px 6px 0;
}
.post-quote cite{display:block;font-size:12px;opacity:.8;margin-bottom:4px}
.mention{color:#b55;text-decoration:none}
.mention:hover{text-decoration:underline}
.mention-dropdown{
 display:none;
 position:fixed;
 z-index:9999;
 background:#0f0f0f;
 border:1px solid #2a2a2a;
 border-radius:8px;
 box-shadow:0 8px 24px rgba(0,0,0,.5);
 max-height:280px;
 overflow:hidden;
}
.mention-dropdown-search-wrap{padding:8px;border-bottom:1px solid #2a2a2a}
.mention-dropdown-search{
 width:100%;
 padding:8px 10px;
 background:#1a1a1a;
 border:1px solid #2a2a2a;
 border-radius:6px;
 color:#fff;
 font-size:14px;
 outline:none;
}
.mention-dropdown-search:focus{border-color:rgba(139,0,0,.4)}
.mention-dropdown-list{
 max-height:220px;
 overflow-y:auto;
 padding:4px 0;
}
.mention-dropdown-item{
 padding:8px 12px;
 cursor:pointer;
 color:#ddd;
 font-size:14px;
}
.mention-dropdown-item:hover,
.mention-dropdown-item-selected{
 background:rgba(139,0,0,.2);
 color:#fff;
}
.mention-dropdown-empty{
 padding:12px;
 color:#888;
 font-size:14px;
 text-align:center;
}
.post-card{
 display:flex;
 gap:16px;
 background:#0b0b0b;
 border:1px solid #8b0000;
 border-radius:8px;
 padding:14px;
 margin-bottom:12px;
}
.post-side{
 width:170px;
 border-right:1px solid #1b1b1b;
 padding-right:12px;
 text-align:center;
}
.post-avatar{
 width:72px;
 height:72px;
 border-radius:50%;
 margin:0 auto 8px;
 background:#141414;
 border:1px solid #2a2a2a;
 background-size:cover;
 background-position:center;
}
.post-user{font-weight:700}
.post-rank{font-size:12px;opacity:.7;margin-top:4px}
.post-rank .badge{
 display:inline-block;
 padding:4px 8px;
 border-radius:4px;
 color:#fff;
 font-size:12px;
}
.post-reputation{
 margin-top:8px;
 font-size:12px;
 opacity:.85;
 display:flex;
 flex-direction:column;
 gap:4px;
}
.user-watch{
 margin-top:8px;
 padding:6px 8px;
 background:#f3d03a;
 color:#111;
 font-size:12px;
 font-weight:700;
 border-radius:4px;
 text-align:center;
}
.rep-row{display:flex;justify-content:center;gap:6px}
.post-body{flex:1}
.post-meta{font-size:12px;opacity:.7;margin-bottom:8px}
.post-text{line-height:1.5}
.post-signature{
 opacity:.85;
 font-size:13px;
}
.post-signature-sep{
 border:0;
 border-top:1px solid #8b0000;
 height:0;
 margin:12px 0 10px;
 opacity:.7;
}
.post-image{
 max-width:100%;
 height:auto;
 display:inline-block;
}
.img-align{
 width:100%;
}
.post-image.align-left{
 float:left;
 margin:0 12px 12px 0;
}
.post-image.align-right{
 float:right;
 margin:0 0 12px 12px;
}
.post-image.align-center{
 display:block;
 margin:0 auto 12px;
 float:none;
}
.emoji{
 width:18px;
 height:18px;
 vertical-align:middle;
}
.reply-card{
 background:#0b0b0b;
 border:1px solid #8b0000;
 border-radius:8px;
 padding:14px;
 margin-top:14px;
}

/* PROFILE */
.profile-grid{
 display:grid;
 grid-template-columns:1fr 1fr;
 gap:18px;
}
.container-narrow{max-width:720px;margin:0 auto;padding:0 18px}

/* Karácsonyfa (főoldal) */
.xmas-tree-block{
 margin-bottom:20px;
 padding:16px 0 24px;
 display:flex;
 justify-content:center;
 align-items:flex-end;
 gap:32px;
 min-height:200px;
 flex-wrap:wrap;
}
.xmas-gift-wrap{
 position:relative;
 display:flex;
 flex-direction:column;
 align-items:center;
}
.xmas-gift{
 position:relative;
 width:72px;
 height:56px;
 cursor:pointer;
 flex-shrink:0;
}
.xmas-gift-body{
 position:absolute;
 bottom:0;
 left:0;
 right:0;
 height:44px;
 background:linear-gradient(145deg,#c41e3a 0%,#8b0000 100%);
 border-radius:4px;
 border:1px solid rgba(0,0,0,.25);
 box-shadow:inset 0 2px 4px rgba(255,255,255,.2);
}
.xmas-gift-ribbon-v{
 position:absolute;
 left:50%;
 top:0;
 margin-left:-2px;
 width:4px;
 height:100%;
 background:linear-gradient(90deg,#ffd700,#ffec8b);
 border-radius:2px;
 box-shadow:0 0 4px rgba(255,215,0,.5);
}
.xmas-gift-ribbon-h{
 position:absolute;
 top:50%;
 left:0;
 margin-top:-2px;
 width:100%;
 height:4px;
 background:linear-gradient(180deg,#ffd700,#ffec8b);
 border-radius:2px;
 box-shadow:0 0 4px rgba(255,215,0,.5);
}
.xmas-gift-bow{
 position:absolute;
 top:-4px;
 left:50%;
 margin-left:-14px;
 width:28px;
 height:14px;
 background:linear-gradient(145deg,#ffd700,#b8860b);
 border-radius:50% 50% 50% 50% / 60% 60% 40% 40%;
 box-shadow:0 2px 6px rgba(0,0,0,.3), inset 0 1px 0 rgba(255,255,255,.4);
}
.xmas-gift-lid{
 position:absolute;
 top:0;
 left:4px;
 right:4px;
 height:14px;
 background:linear-gradient(145deg,#b22222 0%,#8b0000 100%);
 border-radius:4px 4px 0 0;
 border:1px solid rgba(0,0,0,.2);
 box-shadow:0 2px 4px rgba(0,0,0,.3);
 transition:transform .5s ease-out;
 transform-origin:center bottom;
 z-index:1;
}
.xmas-gift.xmas-gift-open .xmas-gift-lid{
 transform:translateY(-100%) rotate(-12deg);
}
.xmas-gift-shake{
 animation:xmas-gift-shake .6s ease-in-out;
}
@keyframes xmas-gift-shake{
 0%,100%{ transform:translateX(0); }
 10%,30%,50%,70%,90%{ transform:translateX(-4px); }
 20%,40%,60%,80%{ transform:translateX(4px); }
}
.xmas-gift-note{
 position:absolute;
 left:50%;
 bottom:100%;
 margin-left:-90px;
 margin-bottom:12px;
 width:180px;
 padding:12px 16px;
 background:linear-gradient(180deg,#fffef5 0%,#f5f0dc 100%);
 border:1px solid #d4c89a;
 border-radius:4px;
 box-shadow:0 4px 16px rgba(0,0,0,.35), inset 0 1px 0 rgba(255,255,255,.8);
 font-size:13px;
 line-height:1.4;
 color:#333;
 text-align:center;
 opacity:0;
 visibility:hidden;
 transform:translateY(8px) scale(0.95);
 transition:opacity .35s ease, transform .35s ease, visibility .35s;
 z-index:10;
}
.xmas-gift-note::before{
 content:'';
 position:absolute;
 bottom:-8px;
 left:50%;
 margin-left:-8px;
 border:8px solid transparent;
 border-top-color:#d4c89a;
 border-bottom:none;
}
.xmas-gift-note::after{
 content:'';
 position:absolute;
 bottom:-6px;
 left:50%;
 margin-left:-6px;
 border:6px solid transparent;
 border-top-color:#fffef5;
 border-bottom:none;
}
.xmas-gift-note-visible{
 opacity:1;
 visibility:visible;
 transform:translateY(0) scale(1);
}
.xmas-gift-note-text{ display:block; }
.xmas-tree{
 position:relative;
 width:120px;
 height:200px;
}
.xmas-star{
 position:absolute;
 left:50%;
 top:0;
 transform:translate(-50%,-50%);
 font-size:32px;
 color:#ffd700;
 text-shadow:0 0 12px #ffd700, 0 0 24px #ff8c00;
 animation:xmas-star-pulse 1.2s ease-in-out infinite;
 z-index:3;
}
@keyframes xmas-star-pulse{
 0%,100%{ opacity:1; transform:translate(-50%,-50%) scale(1); }
 50%{ opacity:0.85; transform:translate(-50%,-50%) scale(1.15); }
}
.xmas-tree-layer{
 position:absolute;
 left:50%;
 margin-left:0;
 border-style:solid;
 border-color:transparent transparent #0a5c0a transparent;
}
.xmas-tree-top{
 top:24px;
 border-width:0 35px 45px 35px;
 margin-left:-35px;
 border-bottom-color:#0b6b0b;
}
.xmas-tree-mid{
 top:62px;
 border-width:0 48px 55px 48px;
 margin-left:-48px;
 border-bottom-color:#0a5c0a;
}
.xmas-tree-bot{
 top:110px;
 border-width:0 60px 70px 60px;
 margin-left:-60px;
 border-bottom-color:#084a08;
}
.xmas-tree-trunk{
 position:absolute;
 bottom:0;
 left:50%;
 margin-left:-12px;
 width:24px;
 height:28px;
 background:linear-gradient(90deg,#5d2e0a,#3d1e06);
 border-radius:0 0 4px 4px;
}
.xmas-light{
 position:absolute;
 width:10px;
 height:10px;
 border-radius:50%;
 box-shadow:0 0 6px currentColor;
 animation:xmas-blink 1.5s ease-in-out infinite;
 z-index:2;
}
.xmas-light-1{ left:42px; top:38px;  background:#f00; color:#f00; animation-delay:0s; }
.xmas-light-2{ left:68px; top:52px;  background:#ff0; color:#ff0; animation-delay:0.2s; }
.xmas-light-3{ left:38px; top:68px;  background:#0f0; color:#0f0; animation-delay:0.4s; }
.xmas-light-4{ left:78px; top:82px;  background:#f0f; color:#f0f; animation-delay:0.1s; }
.xmas-light-5{ left:50px; top:88px;  background:#0ff; color:#0ff; animation-delay:0.5s; }
.xmas-light-6{ left:72px; top:100px; background:#f80; color:#f80; animation-delay:0.3s; }
.xmas-light-7{ left:32px; top:98px;  background:#f00; color:#f00; animation-delay:0.6s; }
.xmas-light-8{ left:58px; top:118px; background:#ff0; color:#ff0; animation-delay:0.15s; }
.xmas-light-9{ left:82px; top:125px; background:#0f0; color:#0f0; animation-delay:0.35s; }
.xmas-light-10{ left:44px; top:132px; background:#f0f; color:#f0f; animation-delay:0.55s; }
.xmas-light-11{ left:66px; top:148px; background:#0ff; color:#0ff; animation-delay:0.25s; }
.xmas-light-12{ left:52px; top:158px; background:#f80; color:#f80; animation-delay:0.45s; }
@keyframes xmas-blink{
 0%,100%{ opacity:1; box-shadow:0 0 8px currentColor, 0 0 12px currentColor; }
 50%{ opacity:0.4; box-shadow:0 0 2px currentColor; }
}

/* Húsvét (főoldal) */
.easter-wrap{ position:relative; }
.easter-basket-bar{
 display:flex;
 justify-content:center;
 align-items:center;
 gap:32px;
 padding:14px 0 18px;
 margin-bottom:8px;
 border-bottom:1px solid rgba(139,69,19,.25);
 background:linear-gradient(180deg,rgba(34,139,34,.08) 0%,transparent 100%);
 flex-wrap:wrap;
}
.easter-bunny-sign{
 display:flex;
 align-items:center;
 gap:8px;
}
.easter-bunny-sign-bunny{ font-size:42px; line-height:1; }
.easter-bunny-sign-board{
 padding:10px 16px;
 background:linear-gradient(145deg,#8B4513 0%,#654321 100%);
 border:2px solid #a0522d;
 border-radius:8px;
 box-shadow:inset 0 1px 0 rgba(255,255,255,.1), 0 4px 12px rgba(0,0,0,.35);
 display:flex;
 flex-direction:column;
 align-items:center;
 gap:2px;
 animation:easter-board-tilt 4s ease-in-out infinite;
 transform-origin:center center;
}
@keyframes easter-board-tilt{
 0%,100%{ transform:rotate(-4deg); }
 50%{ transform:rotate(4deg); }
}
.easter-bunny-sign-title{
 font-size:15px;
 font-weight:700;
 color:#ffec8b;
 text-shadow:0 1px 2px rgba(0,0,0,.4);
}
.easter-bunny-sign-date{
 font-size:13px;
 color:#fff;
 opacity:.95;
}
.easter-basket{
 display:inline-flex;
 flex-direction:column;
 align-items:center;
 gap:4px;
 padding:10px 20px;
 background:linear-gradient(145deg,#8B4513 0%,#654321 100%);
 border-radius:12px;
 border:2px solid #a0522d;
 box-shadow:inset 0 2px 4px rgba(255,255,255,.15),0 4px 12px rgba(0,0,0,.3);
}
.easter-basket-icon{ font-size:36px; line-height:1; }
.easter-basket-count{ font-size:13px; font-weight:700; color:#fff; text-shadow:0 1px 2px rgba(0,0,0,.4); }
.easter-egg{
 position:fixed;
 width:44px;
 height:52px;
 font-size:44px;
 line-height:1;
 cursor:pointer;
 z-index:9996;
 transition:transform .15s;
 pointer-events:auto;
}
.easter-egg:hover{ transform:scale(1.15); }
.easter-egg:focus{ outline:2px solid #ffd700; outline-offset:2px; }
.easter-egg-1{ left:8%;  top:22%; }
.easter-egg-2{ left:78%; top:18%; }
.easter-egg-3{ left:45%; top:38%; }
.easter-egg-4{ left:12%; top:58%; }
.easter-egg-5{ left:82%; top:55%; }
.easter-egg-6{ left:38%; top:78%; }
.easter-egg-fly{
 animation:easter-egg-fly .6s ease-in forwards;
 pointer-events:none;
}
@keyframes easter-egg-fly{
 0%{ transform:translate(0,0) scale(1); opacity:1; }
 100%{ transform:translate(var(--end-x,0),var(--end-y,0)) scale(0.2); opacity:0; }
}
.easter-message{
 position:fixed;
 left:50%;
 top:50%;
 margin-left:-140px;
 margin-top:-50px;
 width:280px;
 padding:20px 24px;
 background:linear-gradient(180deg,#fffef5 0%,#f5f0dc 100%);
 border:2px solid #8B4513;
 border-radius:12px;
 box-shadow:0 8px 32px rgba(0,0,0,.4);
 font-size:16px;
 line-height:1.4;
 color:#333;
 text-align:center;
 z-index:10000;
 opacity:0;
 visibility:hidden;
 transform:scale(0.8);
 transition:opacity .3s ease, transform .3s ease, visibility .3s;
}
.easter-message-visible{ opacity:1; visibility:visible; transform:scale(1); }
.easter-message-text{ display:block; }
.easter-bunny{
 position:fixed;
 bottom:24px;
 right:24px;
 font-size:48px;
 line-height:1;
 z-index:9995;
 pointer-events:none;
 animation:easter-bunny-bounce 3s ease-in-out infinite;
}
@keyframes easter-bunny-bounce{
 0%,100%{ transform:translateY(0); }
 15%{ transform:translateY(-18px); }
 30%{ transform:translateY(0); }
 45%{ transform:translateY(-12px); }
 60%{ transform:translateY(0); }
 75%{ transform:translateY(-8px); }
}

/* Eső – Árvíz event tábla (főoldal) */
.rain-event-bar{
 display:flex;
 justify-content:center;
 padding:12px 0 16px;
 margin-bottom:8px;
 border-bottom:1px solid rgba(30,80,120,.3);
 background:linear-gradient(180deg,rgba(30,80,120,.08) 0%,transparent 100%);
}
.rain-event-board{
 padding:10px 20px;
 background:linear-gradient(145deg,#5c4a32 0%,#3d3325 100%);
 border:2px solid #6b5a42;
 border-radius:8px;
 box-shadow:inset 0 1px 0 rgba(255,255,255,.1), 0 4px 12px rgba(0,0,0,.35);
 display:inline-flex;
 flex-direction:column;
 align-items:center;
 gap:2px;
 animation:rain-board-tilt 4s ease-in-out infinite;
 transform-origin:center center;
}
@keyframes rain-board-tilt{
 0%,100%{ transform:rotate(-4deg); }
 50%{ transform:rotate(4deg); }
}
.rain-event-title{ font-size:15px; font-weight:700; color:#aad4ff; text-shadow:0 1px 2px rgba(0,0,0,.4); }
.rain-event-date{ font-size:13px; color:#e8f4ff; opacity:.95; }

/* Beállítások oldal */
.settings-card{
 background:#0b0b0b;
 border:1px solid #2a2a2a;
 border-radius:14px;
 padding:28px;
 max-width:480px;
 margin:24px auto;
 box-shadow:0 4px 24px rgba(0,0,0,.3);
}
.settings-title{margin:0 0 8px;font-size:1.5rem;color:#fff}
.settings-desc{margin:0 0 20px;font-size:14px;color:#888}
.settings-flash{padding:10px 14px;border-radius:8px;margin-bottom:20px;font-size:14px}
.settings-flash-success{background:rgba(20,120,60,.2);border:1px solid rgba(20,120,60,.5);color:#6f6}
.settings-form{display:flex;flex-direction:column;gap:18px}
.settings-row{
 display:flex;
 align-items:center;
 justify-content:space-between;
 gap:16px;
 padding:12px 0;
 border-bottom:1px solid #1a1a1a;
}
.settings-row:last-of-type{border-bottom:none}
.settings-label{font-size:15px;color:#e0e0e0;font-weight:500}
.settings-toggle{
 position:relative;
 display:inline-block;
 width:52px;
 height:28px;
 flex-shrink:0;
}
.settings-toggle input{
 opacity:0;
 width:0;
 height:0;
}
.settings-slider{
 position:absolute;
 cursor:pointer;
 top:0;
 left:0;
 right:0;
 bottom:0;
 background:#333;
 border:1px solid #444;
 border-radius:28px;
 transition:.25s;
}
.settings-slider::before{
 content:'';
 position:absolute;
 height:22px;
 width:22px;
 left:2px;
 bottom:2px;
 background:#888;
 border-radius:50%;
 transition:.25s;
}
.settings-toggle input:checked + .settings-slider{
 background:rgba(139,0,0,.5);
 border-color:rgba(180,0,0,.8);
}
.settings-toggle input:checked + .settings-slider::before{
 transform:translateX(24px);
 background:#fff;
}
.settings-row-text .settings-label{ flex-shrink:0; }
.settings-input-text{
 width:220px;
 padding:8px 12px;
 font-size:14px;
 color:#e0e0e0;
 background:#1a1a1a;
 border:1px solid #444;
 border-radius:8px;
}
.settings-input-text::placeholder{ color:#666; }
.settings-actions{margin-top:12px}
.settings-actions .btn-primary{padding:10px 24px;font-size:15px}

.profile-card{
 background:#0b0b0b;
 border:1px solid #2a2a2a;
 border-radius:12px;
 padding:24px;
 box-shadow:0 4px 24px rgba(0,0,0,.35);
}
.profile-card-main{border-color:#8b0000;margin-bottom:20px}
.profile-hero{
 display:flex;
 align-items:center;
 gap:24px;
 margin-bottom:24px;
 padding-bottom:24px;
 border-bottom:1px solid #1a1a1a;
}
.profile-avatar-wrap{position:relative;flex-shrink:0}
.profile-avatar{
 width:112px;
 height:112px;
 border-radius:50%;
 background:#141414;
 border:3px solid #2a2a2a;
 background-size:cover;
 background-position:center;
}
.profile-online-dot{
 position:absolute;
 bottom:6px;
 right:6px;
 width:16px;
 height:16px;
 border-radius:50%;
 background:#22c55e;
 border:3px solid #0b0b0b;
 box-shadow:0 0 0 1px #22c55e;
}
.profile-hero-text{flex:1;min-width:0}
.profile-username{
 margin:0 0 8px;
 font-size:1.75rem;
 font-weight:700;
 letter-spacing:-0.02em;
 color:#fff;
}
.profile-badge-wrap{margin-bottom:10px}
.profile-badge{
 display:inline-block;
 padding:6px 14px;
 border-radius:8px;
 font-size:13px;
 font-weight:600;
 letter-spacing:.02em;
 box-shadow:0 2px 8px rgba(0,0,0,.3);
}
.profile-status{
 font-size:14px;
 color:#888;
 display:flex;
 align-items:center;
 gap:8px;
}
.profile-status-online{color:#22c55e}
.profile-status-dot{
 width:8px;
 height:8px;
 border-radius:50%;
 background:currentColor;
 animation:profile-pulse 2s ease-in-out infinite;
}
@keyframes profile-pulse{
 0%,100%{opacity:1}
 50%{opacity:.5}
}
.profile-status-offline{color:#666}
.profile-watch{
 display:inline-block;
 margin-top:10px;
 padding:6px 12px;
 border-radius:6px;
 background:#f3d03a;
 color:#111;
 font-weight:700;
 font-size:12px;
}
.profile-stats{
 display:flex;
 gap:24px;
 margin-bottom:24px;
 padding:20px 0;
 border-bottom:1px solid #1a1a1a;
}
.profile-stat{
 display:flex;
 flex-direction:column;
 align-items:center;
 gap:4px;
}
.profile-stat-value{
 font-size:1.5rem;
 font-weight:700;
 color:#fff;
}
.profile-stat-label{font-size:12px;color:#888;text-transform:uppercase;letter-spacing:.05em}
.profile-details{
 display:grid;
 gap:10px;
 margin-bottom:20px;
}
.profile-detail{font-size:14px;color:#ccc}
.profile-detail-label{color:#888;margin-right:8px}
.profile-flash{margin-bottom:16px}
.profile-actions{
 display:flex;
 flex-wrap:wrap;
 gap:10px;
}
.btn-profile{
 padding:10px 18px;
 border-radius:8px;
 font-size:14px;
 font-weight:600;
 cursor:pointer;
 border:none;
 text-decoration:none;
 display:inline-block;
 transition:background .15s, color .15s, border-color .15s;
}
.btn-profile-primary{background:#8b0000;color:#fff}
.btn-profile-primary:hover{background:#a00;color:#fff}
.btn-profile-secondary{background:#2a2a2a;color:#fff;border:1px solid #444}
.btn-profile-secondary:hover{background:#333;color:#fff}
.btn-profile-outline{background:transparent;color:#888;border:1px solid #444}
.btn-profile-outline:hover{background:#1a1a1a;color:#ccc;border-color:#666}
.profile-card-friends{padding:24px}
.profile-friends-title{
 margin:0 0 16px;
 font-size:1.15rem;
 font-weight:600;
 color:#fff;
}
.profile-friends-empty{color:#666;font-size:14px;margin:0}
.profile-friends-grid{
 display:grid;
 grid-template-columns:repeat(auto-fill, minmax(140px, 1fr));
 gap:12px;
}
.profile-friend-card{
 display:flex;
 flex-direction:column;
 align-items:center;
 gap:10px;
 padding:16px;
 background:#141414;
 border:1px solid #2a2a2a;
 border-radius:10px;
 text-decoration:none;
 color:#fff;
 transition:background .15s, border-color .15s;
}
.profile-friend-card:hover{
 background:#1a1a1a;
 border-color:#8b0000;
 color:#fff;
}
.profile-friend-avatar{
 width:56px;
 height:56px;
 border-radius:50%;
 background:#0b0b0b;
 border:1px solid #2a2a2a;
 background-size:cover;
 background-position:center;
}
.profile-friend-name{font-weight:600;font-size:14px;text-align:center}
.profile-muted{opacity:.75;font-size:13px;margin-bottom:10px}

/* MEMBERS */
.members-wrap{
 max-width:980px;
 margin:40px auto;
 padding:0 18px;
}
.members-wrap h2{margin-bottom:16px}
.members-list{
 display:flex;
 flex-direction:column;
 gap:10px;
}
.member-row{
 display:grid;
 grid-template-columns:54px 1fr 160px 200px;
 gap:12px;
 align-items:center;
 background:#0b0b0b;
 border:1px solid #8b0000;
 border-radius:8px;
 padding:10px 12px;
}
.member-avatar{
 width:48px;
 height:48px;
 border-radius:50%;
 background:#141414;
 border:1px solid #2a2a2a;
 background-size:cover;
 background-position:center;
}
.member-name{font-weight:600}
.member-rank{
 display:flex;
 align-items:center;
 gap:6px;
}
.member-rank .badge{display:inline-block;padding:4px 8px;border-radius:4px}
.member-watch{
 display:inline-block;
 padding:4px 8px;
 border-radius:4px;
 background:#f3d03a;
 color:#111;
 font-weight:700;
 font-size:11px;
}
.members-info{margin-bottom:14px;color:#aaa;font-size:14px}
.members-info strong{color:#fff}

/* PAGINATION – tagok, fórum témák, téma posztok */
.pagination{
 display:flex;
 flex-wrap:wrap;
 align-items:center;
 justify-content:center;
 gap:6px;
 margin:20px 0;
}
.pagination-link,.pagination-current,.pagination-ellipsis{
 display:inline-flex;
 align-items:center;
 justify-content:center;
 min-width:36px;
 height:36px;
 padding:0 10px;
 border-radius:6px;
 font-size:14px;
 text-decoration:none;
 color:#ccc;
 background:#141414;
 border:1px solid #2a2a2a;
}
.pagination-link:hover{
 background:#1a1a1a;
 border-color:#8b0000;
 color:#fff;
}
.pagination-current{
 background:#8b0000;
 border-color:#8b0000;
 color:#fff;
 font-weight:600;
 cursor:default;
}
.pagination-ellipsis{border:none;background:transparent;color:#666;cursor:default}
.member-date{font-size:12px;opacity:.7;text-align:right}
.topic-manage{
 display:flex;
 flex-direction:row;
 flex-wrap:wrap;
 gap:8px;
 justify-content:flex-end;
 align-items:center;
}
.topic-manage-below-header{
 margin-bottom:14px;
 padding-bottom:12px;
 border-bottom:1px solid #1b1b1b;
}
.topic-manage .topic-manage-btn,
.topic-manage .topic-move-select,
.topic-manage button{
 width:auto;
 min-width:0;
 margin-top:0;
 padding:6px 12px;
 background:transparent;
 border:1px solid transparent;
}
.topic-manage .topic-move-select{
 max-width:220px;
 padding:6px 10px;
 background:#111;
 border-color:#2a2a2a;
}
.topic-manage-btn{
 display:inline-block;
 padding:6px 12px;
 font-size:13px;
 border-radius:6px;
 border:1px solid transparent;
 text-decoration:none;
 cursor:pointer;
 transition:background .15s, border-color .15s;
 white-space:nowrap;
}
.topic-manage-btn{
 transition:transform .15s, box-shadow .15s, filter .15s;
}
.topic-manage-btn:hover{
 transform:translateY(-1px);
 box-shadow:0 2px 10px rgba(0,0,0,.35);
 filter:brightness(1.08);
}
.btn-edit{
 background:#143a5a;
 border-color:#2a5a82;
 color:#8ec8f8;
}
.btn-edit:hover{background:#1a4a6e;border-color:#3a6a96}
.btn-close{
 background:#2a1515;
 border-color:#a00;
 color:#f66;
}
.btn-close:hover{background:#351a1a;border-color:#b00}
.btn-open{
 background:#143a14;
 border-color:#2a5a2a;
 color:#7ee87e;
}
.btn-open:hover{background:#1a4a1a;border-color:#3a6a3a}
.btn-pin,.btn-unpin{
 background:#352a10;
 border-color:#6a5a20;
 color:#f0c85a;
}
.btn-pin:hover,.btn-unpin:hover{background:#403518;border-color:#7a6a28}
.btn-move{
 background:#143a5a;
 border-color:#2a5a82;
 color:#8ec8f8;
}
.btn-move:hover{background:#1a4a6e;border-color:#3a6a96}
.btn-delete{
 background:#2a1515;
 border-color:#a00;
 color:#f66;
}
.btn-delete:hover{background:#351a1a;border-color:#b00}
 margin-top:8px;
}
.topic-move-select{
 padding:6px 10px;
 font-size:13px;
 background:#111;
 border:1px solid #2a2a2a;
 color:#fff;
 border-radius:6px;
}

/* NEW TOPIC */
.topic-card{
 background:#0b0b0b;
 border:1px solid #8b0000;
 border-radius:8px;
 padding:18px;
 box-shadow:0 0 18px rgba(0,0,0,.25);
}
.topic-card-header{
 display:flex;
 align-items:center;
 justify-content:space-between;
 gap:12px;
 margin-bottom:12px;
}
.topic-card-header h2{margin:0}
.topic-card-sub{opacity:.7;font-size:13px;margin-top:4px}
.field-label{
 display:block;
 margin:10px 0 6px;
 font-size:13px;
 opacity:.85;
}
.topic-title{
 width:100%;
 padding:12px;
 background:#111;
 border:1px solid #2a2a2a;
 color:#fff;
 border-radius:6px;
}
/* ========== Szerkesztő toolbar – eredeti kompakt elrendezés, szebb kinézet ========== */
.editor-toolbar{
 display:flex;
 flex-wrap:wrap;
 align-items:center;
 gap:6px;
 padding:8px;
 background:#111;
 border:1px solid #2a2a2a;
 border-bottom:none;
 border-radius:8px 8px 0 0;
}
.editor-toolbar button{
 width:auto;
 padding:6px 10px;
 margin:0;
 font-size:14px;
 font-weight:600;
 color:#fff;
 background:#141414;
 border:1px solid #2a2a2a;
 border-radius:6px;
 cursor:pointer;
 transition:background .2s, border-color .2s;
}
.editor-toolbar button:hover{
 background:#1a1a1a;
 border-color:rgba(139,0,0,.4);
}
.editor-toolbar .image-btn{
 display:inline-flex;
 align-items:center;
 justify-content:center;
 width:auto;
 padding:6px 10px;
 margin:0;
 font-size:13px;
 font-weight:600;
 color:#fff;
 background:#141414;
 border:1px solid #2a2a2a;
 border-radius:6px;
 cursor:pointer;
 transition:background .2s, border-color .2s;
}
.editor-toolbar .image-btn:hover{
 background:#1a1a1a;
 border-color:rgba(139,0,0,.4);
}
.image-input{
 position:absolute;
 left:-9999px;
 width:1px;
 height:1px;
}
.editor-color-picker-wrap{
 display:inline-flex;
 align-items:center;
 gap:4px;
}
.editor-color-picker-input{
 width:32px;
 height:28px;
 padding:2px;
 margin:0;
 background:#141414;
 border:1px solid #2a2a2a;
 border-radius:6px;
 cursor:pointer;
 transition:border-color .2s;
}
.editor-color-picker-input:hover{
 border-color:rgba(139,0,0,.4);
}
.editor-color-picker-input::-webkit-color-swatch-wrapper{ padding:2px; }
.editor-color-picker-input::-webkit-color-swatch{ border-radius:4px; border:1px solid #444; }
.editor-color-picker-input::-moz-color-swatch{ border-radius:4px; border:1px solid #444; }
.editor-color-picker-apply{
 width:28px;
 height:28px;
 padding:0;
 margin:0;
 border:none;
 border-radius:6px;
 background:#1a4a1a;
 color:#90ee90;
 font-size:16px;
 font-weight:700;
 cursor:pointer;
 display:inline-flex;
 align-items:center;
 justify-content:center;
 transition:background .2s, color .2s;
}
.editor-color-picker-apply:hover{
 background:#2a6a2a;
 color:#b0ffb0;
}
.editor-color-picker-overlay{
 position:fixed;
 inset:0;
 z-index:9999;
 background:transparent;
 pointer-events:auto;
}
.editor-toolbar select{
 width:auto;
 margin:0;
 padding:6px 8px;
 font-size:13px;
 color:#fff;
 background:#141414;
 border:1px solid #2a2a2a;
 border-radius:6px;
 cursor:pointer;
 transition:border-color .2s, background .2s;
}
.editor-toolbar select:hover{
 background:#1a1a1a;
 border-color:rgba(139,0,0,.4);
}
.editor-toolbar select:focus{
 outline:none;
 border-color:rgba(139,0,0,.5);
}
.editor-toolbar select option{
 background:#1a1a1a;
 color:#fff;
}
.smiley-bar{
 display:flex;
 gap:4px;
 margin-left:4px;
}
.smiley-btn{
 width:auto;
 padding:4px 6px;
 margin:0;
 font-size:16px;
 line-height:1;
 background:#141414;
 border:1px solid #2a2a2a;
 border-radius:6px;
 cursor:pointer;
 transition:background .2s, border-color .2s;
}
.smiley-btn:hover{
 background:#1a1a1a;
 border-color:rgba(139,0,0,.4);
}
.editor-area{
 width:100%;
 min-height:240px;
 background:#0f0f0f;
 color:#fff;
 border:1px solid #2a2a2a;
 border-radius:0 0 8px 8px;
 padding:12px;
}
.editor-area[contenteditable="true"]{
 outline:none;
 white-space:pre-wrap;
}
.editor-area[contenteditable="true"]:focus{
 border-color:rgba(139,0,0,.35);
}
.topic-actions{
 display:flex;
 justify-content:flex-end;
 margin-top:12px;
}
.submit-btn{
 width:auto;
 padding:10px 14px;
 background:#b30000;
 border:1px solid #8b0000;
 border-radius:6px;
 color:#fff;
 font-weight:600;
}
.submit-btn:hover{opacity:.9}
.empty{
 text-align:center;
 margin-top:120px;
 font-size:22px;
 opacity:.7;
}

/* ========== ADMIN ========== */
.admin-wrap{
 display:flex;
 min-height:calc(100vh - 56px);
 background:#0a0a0a;
}
.admin-sidebar{
 width:260px;
 flex-shrink:0;
 background:linear-gradient(180deg, #0f0f0f 0%, #0a0a0a 100%);
 border-right:1px solid rgba(139,0,0,.25);
 box-shadow:2px 0 20px rgba(0,0,0,.3);
}
.admin-sidebar-inner{ padding:20px 0; }
.admin-sidebar-title{
 padding:0 20px 16px;
 font-size:11px;
 font-weight:700;
 letter-spacing:.15em;
 text-transform:uppercase;
 color:rgba(243,208,58,.6);
 border-bottom:1px solid rgba(255,255,255,.06);
 margin-bottom:12px;
}
.admin-nav{ list-style:none; margin:0; padding:0 12px; }
.admin-nav li{ margin:0; }
.admin-nav-link{
 display:flex;
 align-items:center;
 gap:12px;
 padding:12px 14px;
 color:#b0b0b0;
 text-decoration:none;
 border-radius:8px;
 font-size:14px;
 transition:background .15s, color .15s;
}
.admin-nav-link:hover{
 background:rgba(255,255,255,.06);
 color:#fff;
}
.admin-nav-link.is-active{
 background:rgba(139,0,0,.2);
 color:#f3d03a;
 border:1px solid rgba(139,0,0,.4);
}
.admin-nav-icon{ font-size:18px; line-height:1; }

.admin-content{
 flex:1;
 min-width:0;
 padding:28px 32px 40px;
 max-width:1200px;
}
.admin-header{
 margin-bottom:24px;
}
.admin-header h2{
 margin:0 0 6px;
 font-size:26px;
 font-weight:700;
 color:#fff;
 letter-spacing:.02em;
}
.admin-subtitle{
 margin:0;
 font-size:14px;
 color:rgba(255,255,255,.6);
 line-height:1.45;
}
.admin-grid{
 display:grid;
 grid-template-columns:repeat(auto-fit,minmax(300px,1fr));
 gap:20px;
}
.admin-card{
 background:linear-gradient(165deg, rgba(18,18,18,.98) 0%, rgba(12,12,12,.99) 100%);
 border:1px solid rgba(139,0,0,.3);
 border-radius:12px;
 padding:20px;
 box-shadow:0 4px 24px rgba(0,0,0,.25);
}
.admin-card h3{
 margin:0 0 16px;
 font-size:16px;
 font-weight:600;
 color:#f3d03a;
 padding-bottom:10px;
 border-bottom:1px solid rgba(255,255,255,.08);
}
.admin-card-wide{ grid-column:1 / -1; }
.admin-flash{
 margin-bottom:16px;
 padding:12px 16px;
 border-radius:8px;
 border:1px solid transparent;
 font-size:14px;
 line-height:1.45;
}
.admin-flash.success{
 background:rgba(30,80,40,.25);
 border-color:rgba(40,160,60,.4);
 color:#b8e6c0;
}
.admin-flash.error{
 background:rgba(80,25,25,.3);
 border-color:rgba(160,40,40,.5);
 color:#f0c0c0;
}
.admin-section{ margin-bottom:20px; }
.admin-section > strong{
 display:block;
 margin-bottom:8px;
 font-size:15px;
 color:#e8e8e8;
}
.admin-list{
 margin:8px 0 0 20px;
 padding:0;
 list-style:disc;
 color:rgba(255,255,255,.85);
}
.admin-list li{ margin-bottom:4px; }
.admin-sublist{
 margin:6px 0 0 24px;
 padding:0;
 list-style:circle;
 opacity:.9;
}
.admin-muted{
 color:rgba(255,255,255,.5);
 font-size:14px;
 margin-top:8px;
}

/* Admin forms */
.admin-card input,
.admin-card select,
.admin-card button{
 margin-top:0;
}
.admin-form-inline{
 display:flex;
 flex-wrap:wrap;
 gap:10px;
 align-items:flex-end;
}
.admin-form-inline input[type="text"],
.admin-form-inline input[type="number"],
.admin-form-inline input[type="hidden"] + input,
.admin-form-inline select{
 flex:1;
 min-width:120px;
 padding:10px 12px;
 background:#0d0d0d;
 border:1px solid rgba(139,0,0,.35);
 border-radius:8px;
 color:#fff;
 font-size:14px;
}
.admin-form-inline input::placeholder{ color:rgba(255,255,255,.4); }
.admin-form-inline button{
 padding:10px 18px;
 background:linear-gradient(180deg, #a00 0%, #8b0000 100%);
 border:1px solid rgba(139,0,0,.6);
 border-radius:8px;
 color:#fff;
 font-weight:600;
 cursor:pointer;
 transition:opacity .15s, box-shadow .15s;
}
.admin-form-inline button:hover{ opacity:.95; box-shadow:0 2px 12px rgba(139,0,0,.3); }
.admin-card .field-label{ margin-top:12px; margin-bottom:6px; }
.admin-card .field-label:first-of-type{ margin-top:0; }
.admin-card input[type="text"],
.admin-card select{
 padding:10px 12px;
 background:#0d0d0d;
 border:1px solid rgba(139,0,0,.35);
 border-radius:8px;
 color:#fff;
 font-size:14px;
 width:100%;
 box-sizing:border-box;
}
.admin-card .topic-actions .submit-btn{ margin-top:12px; }
.admin-search{
 display:flex;
 gap:12px;
 align-items:center;
 flex-wrap:wrap;
 margin-bottom:0;
}
.admin-search input{
 flex:1;
 min-width:200px;
 padding:12px 14px;
 background:#0d0d0d;
 border:1px solid rgba(139,0,0,.35);
 border-radius:8px;
 color:#fff;
 font-size:14px;
}
.admin-search button{ padding:12px 20px; }

/* Admin tables (grid-based) */
.admin-table{
 display:flex;
 flex-direction:column;
 gap:0;
 border-radius:10px;
 overflow:hidden;
 border:1px solid rgba(139,0,0,.25);
}
.admin-table-head,
.admin-table-row{
 display:grid;
 gap:12px;
 align-items:center;
 padding:14px 16px;
 font-size:13px;
 border-bottom:1px solid rgba(255,255,255,.06);
}
.admin-table-row:last-child{ border-bottom:none; }
.admin-table-head{
 background:rgba(139,0,0,.15);
 font-weight:600;
 color:#f3d03a;
}
.admin-table-row{
 background:rgba(15,15,15,.6);
 transition:background .12s;
}
.admin-table-row:hover{ background:rgba(25,25,25,.7); }
.admin-table--5col .admin-table-head,
.admin-table--5col .admin-table-row{
 grid-template-columns:1.2fr 1.5fr .85fr .75fr .7fr;
}
.admin-table--3col .admin-table-head,
.admin-table--3col .admin-table-row{
 grid-template-columns:1fr 2fr auto;
}
.admin-banned-actions{
 display:flex;
 flex-wrap:wrap;
 align-items:center;
 gap:10px;
}
.admin-banned-unban-form{ margin:0; display:inline; }
.admin-btn-unban{ padding:6px 12px; font-size:13px; }
.admin-table--3col .admin-table-row form{
 display:flex;
 flex-wrap:wrap;
 gap:8px;
 align-items:center;
}
.admin-link{
 color:#8ab4f8;
 text-decoration:none;
 border-bottom:1px dotted rgba(138,180,248,.5);
}
.admin-link:hover{ color:#a8c8ff; border-bottom-color:rgba(168,200,255,.6); }

/* Admin users grid (list + edit panel) */
.admin-users-grid{
 grid-template-columns:1fr 360px;
}
@media (max-width:900px){ .admin-users-grid{ grid-template-columns:1fr; } }

.admin-users-toolbar{
 display:flex;
 flex-wrap:wrap;
 align-items:center;
 gap:16px;
}
.admin-users-count{
 margin:0;
 font-size:14px;
 color:rgba(255,255,255,.65);
}
.admin-users-count strong{ color:#f3d03a; }
.admin-table-empty{
 padding:24px 16px;
 text-align:center;
 font-size:14px;
}
.admin-pagination{
 margin-top:16px;
 flex-wrap:wrap;
}

/* Admin felhasználó szerkesztő panel */
.admin-card-edit{
 min-width:0;
}
.admin-edit-empty{
 text-align:center;
 padding:32px 20px;
}
.admin-edit-empty-icon{
 font-size:48px;
 display:block;
 margin-bottom:12px;
 opacity:.4;
}
.admin-edit-empty-title{
 margin:0 0 6px;
 font-size:16px;
 font-weight:600;
 color:rgba(255,255,255,.9);
}
.admin-edit-empty .admin-muted{ margin-top:0; }
.admin-edit-header{
 padding-bottom:16px;
 margin-bottom:16px;
 border-bottom:1px solid rgba(255,255,255,.08);
}
.admin-edit-name{
 margin:0 0 4px;
 font-size:18px;
 font-weight:700;
 color:#f3d03a;
}
.admin-edit-meta{
 margin:0;
 font-size:13px;
 color:rgba(255,255,255,.6);
}
.admin-edit-form{ margin-bottom:0; }
.admin-edit-section{
 margin-bottom:16px;
}
.admin-edit-section:last-of-type{ margin-bottom:0; }
.admin-edit-label{
 display:block;
 margin-bottom:6px;
 font-size:13px;
 font-weight:600;
 color:rgba(255,255,255,.85);
}
.admin-edit-input{
 width:100%;
 box-sizing:border-box;
 padding:10px 12px;
 background:#0d0d0d;
 border:1px solid rgba(139,0,0,.35);
 border-radius:8px;
 color:#fff;
 font-size:14px;
}
.admin-edit-input:focus{
 outline:none;
 border-color:rgba(139,0,0,.6);
}
.admin-edit-checkbox-wrap{ margin-top:14px; margin-bottom:4px; }
.admin-edit-checkbox{
 display:inline-flex;
 align-items:center;
 gap:10px;
 cursor:pointer;
 font-size:14px;
 color:rgba(255,255,255,.9);
}
.admin-edit-checkbox input[type="checkbox"]{
 width:18px;
 height:18px;
 margin:0;
 accent-color:#8b0000;
 cursor:pointer;
}
.admin-edit-checkbox-text{ user-select:none; }
.admin-edit-actions{
 margin-top:18px;
 display:flex;
 flex-wrap:wrap;
 gap:10px;
 align-items:center;
}
.admin-edit-actions-secondary{ margin-top:10px; padding-top:14px; border-top:1px solid rgba(255,255,255,.06); }
.admin-edit-btn-save{
 padding:10px 20px;
 background:linear-gradient(180deg, #a00 0%, #8b0000 100%);
 border:1px solid rgba(139,0,0,.6);
 border-radius:8px;
 color:#fff;
 font-weight:600;
 cursor:pointer;
}
.admin-edit-btn-save:hover{ opacity:.95; }
.admin-edit-btn-unban{
 padding:8px 16px;
 font-size:13px;
 border-radius:8px;
 border:1px solid rgba(40,120,60,.5);
 background:rgba(30,80,50,.35);
 color:#a0e0a0;
 cursor:pointer;
 font-weight:600;
}
.admin-edit-btn-unban:hover{ background:rgba(40,100,60,.45); }
.admin-edit-btn-ban{
 padding:8px 16px;
 font-size:13px;
 border-radius:8px;
 border:1px solid rgba(139,0,0,.5);
 background:rgba(60,20,20,.5);
 color:#f0a0a0;
 cursor:pointer;
 font-weight:600;
}
.admin-edit-btn-ban:hover{ background:rgba(80,25,25,.6); }
.admin-edit-inline-form{ margin:0; display:inline; }

/* Admin points */
.admin-points-row{
 display:flex;
 align-items:center;
 gap:14px;
 flex-wrap:wrap;
 padding:14px 16px;
 background:rgba(15,15,15,.5);
 border:1px solid rgba(255,255,255,.06);
 border-radius:8px;
 margin-bottom:10px;
}
.admin-points-row:last-child{ margin-bottom:0; }
.admin-points-count{
 min-width:100px;
 font-size:14px;
 color:rgba(255,255,255,.9);
}
.admin-points-count strong{ color:#f3d03a; }
.admin-points-actions{
 display:flex;
 gap:10px;
 flex-wrap:wrap;
 margin-left:auto;
 align-items:center;
}
.admin-points-custom{
 display:flex;
 gap:8px;
 align-items:center;
 flex-wrap:wrap;
}
.admin-points-custom input[type="number"]{ width:64px; padding:8px 10px; }
.admin-points-custom input[name="reason"]{ min-width:160px; padding:8px 10px; }
.btn-green{
 padding:8px 14px;
 background:linear-gradient(180deg, #1a9d45 0%, #127a30 100%);
 border:1px solid rgba(40,160,60,.5);
 border-radius:6px;
 color:#fff;
 font-weight:600;
 cursor:pointer;
 transition:opacity .15s;
}
.btn-green:hover{ opacity:.9; }
.btn-danger{
 padding:8px 14px;
 background:rgba(60,15,15,.8);
 border:1px solid rgba(139,0,0,.5);
 border-radius:6px;
 color:#f0a0a0;
 cursor:pointer;
 font-size:13px;
 transition:opacity .15s;
}
.btn-danger:hover{ opacity:.95; }

/* MESSAGES */
.message-compose textarea{min-height:120px}
.message-list{max-height:420px;overflow:auto}
.message-items{display:flex;flex-direction:column;gap:8px}
.message-item{
 display:flex;
 align-items:center;
 justify-content:space-between;
 gap:10px;
 padding:10px 12px;
 background:#0e0e0e;
 border:1px solid #1b1b1b;
 border-radius:6px;
 color:#fff;
 text-decoration:none;
}
.message-item:hover{background:#101010}
.message-name{font-weight:600}
.message-date{font-size:12px;opacity:.7}
.chat-window{
 margin-top:10px;
 background:#0e0e0e;
 border:1px solid #1b1b1b;
 border-radius:6px;
 padding:10px;
 max-height:360px;
 overflow:auto;
 display:flex;
 flex-direction:column;
 gap:10px;
}
.chat-row{display:flex}
.chat-left{justify-content:flex-start}
.chat-right{justify-content:flex-end}
.chat-bubble{
 max-width:70%;
 background:#151515;
 border:1px solid #2a2a2a;
 border-radius:8px;
 padding:8px 10px;
}
.chat-right .chat-bubble{background:#1a0f0f;border-color:#4b1a1a}
.chat-meta{font-size:11px;opacity:.7;margin-bottom:4px}
.chat-text{white-space:pre-wrap}
.chat-reply{margin-top:10px}

.btn-danger{
 background:#3a0d0d;
 border:1px solid #8b0000;
 color:#fff;
 padding:4px 8px;
 border-radius:4px;
 cursor:pointer;
}
.btn-danger:hover{opacity:.9}

input,select,button{
 width:100%;padding:10px;margin-top:10px;
 background:#050505;color:#fff;
 border:1px solid #8b0000
}
button{cursor:pointer}


/* === NAVBAR (asztali + mobil panel) === */
.nav-mobile-toggle,
.nav-exit-mobile{
 display:none;
}
.nav-main-panel{
 display:flex;
 flex:1;
 align-items:center;
 justify-content:space-between;
 min-width:0;
 gap:12px;
}
.navbar{
 flex-wrap:nowrap;
 justify-content:flex-start;
}
.nav-center{
 display:flex;
 align-items:center;
 gap:14px;
 white-space:nowrap;
 flex:1;
 justify-content:center;
 min-width:0;
 overflow-x:auto;
 overflow-y:hidden;
 -webkit-overflow-scrolling:touch;
 scrollbar-width:thin;
}
.nav-center::-webkit-scrollbar{ height:4px; }
.nav-center::-webkit-scrollbar-thumb{
 background:rgba(139,0,0,.45);
 border-radius:4px;
}
.nav-center a{
 white-space:nowrap;
 flex-shrink:0;
}
.nav-left{
 flex:0 1 auto;
 min-width:0;
 overflow:hidden;
 text-overflow:ellipsis;
 white-space:nowrap;
}
.nav-right{ flex-shrink:0; }

.nav-dropdown{position:relative;display:inline-block;flex-shrink:0}
.nav-dropdown .dropdown-menu{
 display:none;
 position:absolute;
 top:100%;
 left:0;
 background:#0b0b0b;
 border:1px solid #8b0000;
 border-radius:6px;
 min-width:180px;
 padding:6px 0;
 z-index:1000;
}
.nav-dropdown:hover .dropdown-menu{display:block}
.nav-dropdown .dropdown-menu a{
 display:block;
 padding:8px 12px;
 margin:0;
 border:none;
}
.nav-dropdown .dropdown-menu a:hover{background:#140000}

.sr-only{
 position:absolute;
 width:1px;height:1px;
 padding:0;margin:-1px;
 overflow:hidden;clip:rect(0,0,0,0);
 white-space:nowrap;border:0;
}
body.nav-drawer-open{ overflow:hidden; touch-action:none; }


/* === LOGIN / AUTH (UCP stílus, kártyák nélkül) === */
body.auth-page{
  min-height:100vh;
  position:relative;
  overflow-x:hidden;
  -webkit-touch-callout:none;
}
body.auth-page *:not(input):not(textarea):not(select){
  -webkit-user-select:none;
  -moz-user-select:none;
  user-select:none;
}
body.auth-page input,
body.auth-page textarea,
body.auth-page select{
  -webkit-user-select:text;
  -moz-user-select:text;
  user-select:text;
}
.auth-top-links{
  position:fixed;
  top:0;
  left:0;
  right:0;
  z-index:100;
  display:flex;
  justify-content:space-between;
  align-items:center;
  padding:14px 20px;
  pointer-events:none;
}
.auth-top-link{
  pointer-events:auto;
  display:inline-flex;
  align-items:center;
  gap:6px;
  padding:8px 14px;
  background:rgba(11,11,11,.9);
  border:1px solid rgba(139,0,0,.4);
  border-radius:8px;
  color:#e8e8e8;
  text-decoration:none;
  font-size:14px;
  transition:border-color .2s, background .2s, color .2s;
}
.auth-top-link:hover{
  border-color:rgba(139,0,0,.8);
  color:#fff;
  background:rgba(20,20,20,.95);
}
.auth-top-arrow{ font-size:16px; color:#f3d03a; }
.auth-bg{
  position:fixed;
  inset:0;
  z-index:0;
  background:
    radial-gradient(ellipse 80% 50% at 50% -20%, rgba(180,0,0,.12), transparent),
    radial-gradient(ellipse 60% 40% at 80% 60%, rgba(139,0,0,.08), transparent),
    radial-gradient(ellipse 50% 30% at 20% 80%, rgba(243,208,58,.06), transparent);
  pointer-events:none;
}
.auth-bg::before{
  content:'';
  position:absolute;
  inset:0;
  background-image:
    linear-gradient(rgba(255,255,255,.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.02) 1px, transparent 1px);
  background-size:48px 48px;
  pointer-events:none;
}
.auth-wrapper{
  position:relative;
  z-index:1;
  min-height:100vh;
  display:flex;
  align-items:center;
  justify-content:center;
  flex-direction:column;
  padding:32px 24px 40px;
}
.auth-center{
  display:flex;
  flex-direction:column;
  align-items:center;
}
.auth-logo{
  display:flex;
  justify-content:center;
  margin-bottom:12px;
}
.auth-logo img{
  width:200px;
  height:200px;
  object-fit:contain;
  animation: authLogoPulse 1.8s ease-in-out infinite;
}
.auth-title{
  font-size:24px;
  font-weight:700;
  letter-spacing:.5px;
  margin-bottom:20px;
  color:#f3d03a;
  animation: authTitleGlow 2.2s ease-in-out infinite;
}
@keyframes authLogoPulse{
  0%, 100%{ transform:scale(1) rotate(-1deg); filter: drop-shadow(0 0 12px rgba(255,0,0,.4)) drop-shadow(0 0 28px rgba(255,50,50,.25)); }
  25%{ transform:scale(1.08) rotate(0.5deg); filter: drop-shadow(0 0 24px rgba(255,0,0,.85)) drop-shadow(0 0 48px rgba(255,80,80,.5)); }
  50%{ transform:scale(1.05) rotate(0deg); filter: drop-shadow(0 0 20px rgba(255,0,0,.7)) drop-shadow(0 0 36px rgba(255,60,60,.4)); }
  75%{ transform:scale(1.07) rotate(0.3deg); filter: drop-shadow(0 0 22px rgba(255,0,0,.8)) drop-shadow(0 0 42px rgba(255,70,70,.45)); }
}
@keyframes authTitleGlow{
  0%, 100%{ text-shadow:0 0 8px rgba(243,208,58,.3), 0 0 20px rgba(243,208,58,.15); }
  50%{ text-shadow:0 0 16px rgba(243,208,58,.9), 0 0 32px rgba(243,208,58,.4); }
}
.auth-box{
  position:relative;
  width:100%;
  max-width:400px;
  border-radius:16px;
  padding:2px;
  background:linear-gradient(145deg, rgba(200,0,0,.5), rgba(139,0,0,.25) 30%, rgba(80,0,0,.15) 60%, transparent);
  box-shadow:0 0 0 1px rgba(139,0,0,.4), 0 0 48px rgba(255,0,0,.15), 0 24px 48px rgba(0,0,0,.5), inset 0 1px 0 rgba(255,255,255,.04);
  backdrop-filter:blur(12px);
}
.auth-box::before{
  content:'';
  position:absolute;
  top:0;
  left:50%;
  transform:translateX(-50%);
  width:60%;
  height:2px;
  background:linear-gradient(90deg, transparent, rgba(243,208,58,.5), rgba(255,80,80,.8), rgba(243,208,58,.5), transparent);
  border-radius:0 0 4px 4px;
  z-index:1;
}
.auth-box-inner{
  position:relative;
  background:linear-gradient(180deg, rgba(18,18,18,.98) 0%, rgba(8,8,8,.98) 100%);
  border-radius:14px;
  padding:32px 36px 36px;
  border:1px solid rgba(0,0,0,.4);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.03);
}
.auth-box h2{
  text-align:center;
  margin:0 0 24px;
  font-size:20px;
  font-weight:700;
  letter-spacing:.08em;
  color:#e8e8e8;
  text-transform:uppercase;
  text-shadow:0 1px 2px rgba(0,0,0,.5);
}
.auth-box h2::after{
  content:'';
  display:block;
  width:48px;
  height:3px;
  margin:12px auto 0;
  background:linear-gradient(90deg, transparent, #8b0000, #c00000, #8b0000, transparent);
  border-radius:2px;
}
.auth-box .error{ margin-bottom:16px; }
.auth-input-wrap{
  position:relative;
  margin-bottom:14px;
}
.auth-input-icon{
  position:absolute;
  left:14px;
  top:50%;
  transform:translateY(-50%);
  width:20px;
  height:20px;
  color:#555;
  pointer-events:none;
  z-index:1;
  display:flex;
  align-items:center;
  justify-content:center;
}
.auth-input-icon svg{ width:20px; height:20px; display:block; }
.auth-box .auth-input-wrap input,
.auth-box input[type="text"],
.auth-box input[type="email"],
.auth-box input[type="password"]{
  width:100%;
  padding:14px 16px 14px 44px;
  margin:0;
  background-color:rgba(18,18,18,.98);
  border:1px solid rgba(40,40,40,.9);
  color:#e8e8e8;
  border-radius:10px;
  box-sizing:border-box;
  font-size:15px;
  transition:border-color .2s, box-shadow .2s, background-color .2s;
  appearance:none;
  outline:none;
}
.auth-box .auth-input-wrap input:focus,
.auth-box input[type="text"]:focus,
.auth-box input[type="email"]:focus,
.auth-box input[type="password"]:focus{
  outline:none;
  border-color:rgba(139,0,0,.7);
  background-color:rgba(24,24,24,.98);
  box-shadow:0 0 0 2px rgba(139,0,0,.15);
}
.auth-box input::placeholder{ color:#666; }
.auth-box .remember-row{
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  margin:10px 0 20px;
}
.auth-box .remember-row .remember{ margin:0; }
.auth-box .auth-forgot-link{
  font-size:13px;
  color:#a0a0a0;
  text-decoration:none;
  transition:color .2s;
}
.auth-box .auth-forgot-link:hover{ color:#f3d03a; }
.auth-box button{
  width:100%;
  padding:14px 16px;
  background:linear-gradient(180deg, #c00 0%, #a00 50%, #800 100%);
  border:1px solid rgba(255,255,255,.12);
  border-bottom-color:rgba(0,0,0,.5);
  color:#fff;
  font-weight:700;
  border-radius:10px;
  cursor:pointer;
  font-size:15px;
  letter-spacing:.04em;
  text-shadow:0 1px 2px rgba(0,0,0,.4);
  box-shadow:0 4px 0 rgba(0,0,0,.35), 0 4px 16px rgba(0,0,0,.4), inset 0 1px 0 rgba(255,255,255,.15);
  transition:transform .15s, box-shadow .15s;
}
.auth-box button:hover{
  transform:translateY(-2px);
  box-shadow:0 6px 0 rgba(0,0,0,.3), 0 8px 24px rgba(180,0,0,.3), inset 0 1px 0 rgba(255,255,255,.2);
}
.auth-box button:active{
  transform:translateY(1px);
  box-shadow:0 2px 0 rgba(0,0,0,.4), 0 2px 8px rgba(0,0,0,.3), inset 0 2px 4px rgba(0,0,0,.3);
}
.auth-loading{
  display:none;
  position:absolute;
  left:50%;
  top:50%;
  transform:translate(-50%, -50%);
  flex-direction:column;
  align-items:center;
  justify-content:center;
  gap:24px;
  min-height:200px;
  z-index:2;
}
.auth-loading-spinner{
  width:48px;
  height:48px;
  border:3px solid rgba(139,0,0,.3);
  border-top-color:#8b0000;
  border-radius:50%;
  animation:authSpin .9s linear infinite;
}
.auth-loading-text{ margin:0; font-size:15px; color:#c0c0c0; }
@keyframes authSpin{ to{ transform:rotate(360deg); } }
.auth-page .auth-footer{
  position:fixed;
  bottom:0;
  left:0;
  right:0;
  text-align:center;
  padding:12px 16px;
  z-index:10;
}
.auth-page .auth-footer a{
  font-size:12px;
  color:#666;
  text-decoration:none;
  transition:color .2s;
}
.auth-page .auth-footer a:hover{ color:#f3d03a; }

.auth-register-prompt{
  text-align:center;
  margin:20px 0 28px;
  font-size:14px;
  color:#a0a0a0;
}
.auth-register-prompt a{
  color:#f3d03a;
  text-decoration:none;
  font-weight:600;
  transition:color .2s;
}
.auth-register-prompt a:hover{ color:#fff; }

.auth-stats{
  display:flex;
  flex-wrap:wrap;
  justify-content:center;
  gap:20px;
  max-width:720px;
}
.auth-stat-card{
  flex:1;
  min-width:160px;
  max-width:220px;
  background:rgba(11,11,11,.85);
  border:1px solid rgba(139,0,0,.35);
  border-radius:12px;
  padding:20px 24px;
  text-align:center;
  box-shadow:0 4px 24px rgba(0,0,0,.3);
  backdrop-filter:blur(6px);
  transition:transform .2s, border-color .2s, box-shadow .2s;
  display:flex;
  flex-direction:column;
  align-items:center;
  gap:8px;
}
.auth-stat-card:hover{
  transform:translateY(-2px);
  border-color:rgba(139,0,0,.6);
  box-shadow:0 8px 32px rgba(139,0,0,.15);
}
.auth-stat-card:hover .auth-stat-icon{
  transform:translateY(-4px) scale(1.12);
}
.auth-stat-card:hover .auth-stat-value{
  transform:scale(1.05);
  text-shadow:0 0 16px rgba(243,208,58,.5);
}
.auth-stat-icon{
  display:flex;
  align-items:center;
  justify-content:center;
  width:40px;
  height:40px;
  color:rgba(243,208,58,.85);
  flex-shrink:0;
  transition:transform .25s ease;
}
.auth-stat-icon svg{
  width:32px;
  height:32px;
  display:block;
}
.auth-stat-value{
  display:block;
  font-size:28px;
  font-weight:700;
  color:#f3d03a;
  letter-spacing:.5px;
  margin-bottom:0;
  text-shadow:0 0 12px rgba(243,208,58,.3);
  transition:transform .25s ease, text-shadow .25s ease;
}
.auth-stat-label{
  font-size:13px;
  color:#a0a0a0;
  letter-spacing:.3px;
}

.remember{
  display:flex;
  align-items:center;
  gap:8px;
  font-size:14px;
  color:#ccc;
}
.remember input[type="checkbox"]{
  width:16px;
  height:16px;
  accent-color:#c00000;
  cursor:pointer;
}


/* === REGISTER === */
.auth-box .checkbox {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: #ccc;
    margin: 10px 0 15px;
}

.auth-box .checkbox input {
    accent-color: #c00000;
}

/* Ranglista */
.leaderboard-period{margin-bottom:16px}
.leaderboard-period a{padding:6px 12px;margin-right:8px;border-radius:6px;background:#1b1b1b;color:#ccc;text-decoration:none}
.leaderboard-period a.active{background:#8b0000;color:#fff}
.leaderboard-period a:hover:not(.active){background:#252525}
.leaderboard-grid{display:grid;grid-template-columns:1fr 1fr;gap:24px;margin-top:16px}
@media(max-width:700px){.leaderboard-grid{grid-template-columns:1fr}}
.leaderboard-block h3{margin:0 0 10px;font-size:15px}
.leaderboard-list{list-style:none;padding:0;margin:0}
.leaderboard-list li{padding:8px 10px;border-top:1px solid #1b1b1b;display:flex;align-items:center;gap:10px}
.leaderboard-list li.muted{opacity:.7}
.leaderboard-rank{min-width:28px;font-weight:700;opacity:.8}
.leaderboard-count{margin-left:auto;font-size:12px;opacity:.85}
.admin-table .submit-btn.small{padding:6px 12px;font-size:12px}

/* Jelentések (admin stílussal összhangban) */
.reports-empty{
 text-align:center;
 padding:56px 28px;
 background:linear-gradient(165deg, rgba(18,18,18,.98) 0%, rgba(12,12,12,.99) 100%);
 border:1px solid rgba(139,0,0,.25);
 border-radius:12px;
 margin-top:8px;
 box-shadow:0 4px 24px rgba(0,0,0,.2);
}
.reports-empty-icon{font-size:52px;display:block;margin-bottom:14px;opacity:.5}
.reports-empty p{margin:0;font-size:15px;color:rgba(255,255,255,.7)}
.reports-card{
 background:linear-gradient(165deg, rgba(18,18,18,.98) 0%, rgba(12,12,12,.99) 100%);
 border:1px solid rgba(139,0,0,.3);
 border-radius:12px;
 overflow:hidden;
 box-shadow:0 4px 24px rgba(0,0,0,.25);
}
.reports-table{width:100%;border-collapse:collapse;font-size:13px}
.reports-table th{
 text-align:left;
 padding:14px 18px;
 background:rgba(139,0,0,.15);
 color:#f3d03a;
 font-weight:600;
 border-bottom:1px solid rgba(139,0,0,.3);
}
.reports-table td{
 padding:12px 18px;
 border-bottom:1px solid rgba(255,255,255,.06);
 vertical-align:middle;
}
.reports-table tbody tr:hover{background:rgba(255,255,255,.03)}
.reports-table tbody tr:last-child td{border-bottom:none}
.reports-time{white-space:nowrap;color:rgba(255,255,255,.75)}
.reports-type{display:inline-block;padding:4px 10px;border-radius:6px;background:rgba(255,255,255,.08);border:1px solid rgba(255,255,255,.1);font-size:12px}
.reports-target a{color:#8ab4f8;text-decoration:none}
.reports-target a:hover{text-decoration:underline}
.reports-reason{max-width:220px;color:rgba(255,255,255,.85)}
.reports-status{
 display:inline-block;
 padding:5px 12px;
 border-radius:6px;
 font-size:12px;
 font-weight:600;
}
.reports-status-pending{background:rgba(200,160,40,.15);border:1px solid rgba(200,160,40,.35);color:#e8c84a}
.reports-status-done{background:rgba(40,120,60,.2);border:1px solid rgba(40,160,60,.35);color:#a0e0a0}
.reports-handled{font-size:13px}
.reports-action{white-space:nowrap;text-align:left}
.reports-resolve-form{display:inline;margin:0}
.reports-btn-resolve{
 padding:6px 14px;
 font-size:12px;
 border-radius:8px;
 border:1px solid rgba(60,160,80,.5);
 background:rgba(30,80,50,.4);
 color:#a8e0a8;
 cursor:pointer;
 transition:background .15s, border-color .15s;
}
.reports-btn-resolve:hover{background:rgba(40,100,60,.5);border-color:rgba(80,180,100,.5)}
.reports-done-label{opacity:.5;font-size:13px}

.flash{margin-bottom:12px;padding:10px 14px;border-radius:6px}
.flash-success{background:#0d2a0d;border:1px solid #1a4a1a;color:#8f8}

/* ========== Mobil / tablet (átlátható layout) ========== */
@media (max-width: 900px) {
  html{ overflow-x:hidden; }

  .container{
    padding:12px 10px 20px;
    max-width:100%;
  }
  .container-forum{ max-width:100%; }

  /* —— Hamburger + teljes képernyős menü —— */
  .navbar{
    position:sticky;
    top:0;
    z-index:10060;
    padding:10px 12px;
    gap:10px;
    align-items:center;
    flex-wrap:nowrap;
    justify-content:flex-start;
  }
  .nav-mobile-toggle{
    display:flex;
    flex-direction:column;
    justify-content:center;
    align-items:center;
    gap:5px;
    width:44px;
    height:44px;
    padding:0;
    flex-shrink:0;
    background:rgba(255,255,255,.08);
    border:1px solid rgba(139,0,0,.5);
    border-radius:10px;
    cursor:pointer;
    color:#fff;
    -webkit-tap-highlight-color:transparent;
  }
  .nav-mobile-toggle-bar{
    display:block;
    width:22px;
    height:2px;
    background:#f3d03a;
    border-radius:1px;
    transition:transform .2s ease, opacity .2s ease;
  }
  .navbar.nav-is-open .nav-mobile-toggle-bar:nth-child(1){
    transform:translateY(7px) rotate(45deg);
  }
  .navbar.nav-is-open .nav-mobile-toggle-bar:nth-child(2){ opacity:0; }
  .navbar.nav-is-open .nav-mobile-toggle-bar:nth-child(3){
    transform:translateY(-7px) rotate(-45deg);
  }
  .nav-exit-mobile{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    margin-left:auto;
    padding:10px 14px;
    font-size:13px;
    font-weight:600;
    color:#fff;
    background:rgba(139,0,0,.35);
    border:1px solid rgba(139,0,0,.6);
    border-radius:10px;
    text-decoration:none;
    flex-shrink:0;
    -webkit-tap-highlight-color:transparent;
  }
  .nav-main-panel{
    display:flex;
    flex-direction:column;
    align-items:stretch;
    position:fixed;
    inset:0;
    width:100%;
    max-width:100%;
    z-index:10055;
    padding:calc(56px + env(safe-area-inset-top, 0px)) 16px max(20px, env(safe-area-inset-bottom, 0px));
    background:linear-gradient(180deg,#0c0c0c 0%,#050505 100%);
    overflow-y:auto;
    -webkit-overflow-scrolling:touch;
    transform:translateX(-105%);
    visibility:hidden;
    transition:transform .24s ease, visibility .24s;
    gap:10px;
    box-sizing:border-box;
  }
  .navbar.nav-is-open .nav-main-panel{
    transform:translateX(0);
    visibility:visible;
  }
  .navbar.nav-is-open .nav-mobile-toggle{
    position:fixed;
    top:max(10px, env(safe-area-inset-top));
    left:12px;
    z-index:10070;
  }
  .navbar.nav-is-open .nav-exit-mobile{
    position:fixed;
    top:max(10px, env(safe-area-inset-top));
    right:12px;
    z-index:10070;
    margin-left:0;
  }
  .nav-left{
    flex:none;
    width:100%;
    font-size:14px;
    padding:8px 4px 10px;
    border-bottom:1px solid rgba(139,0,0,.28);
    white-space:normal;
    overflow:visible;
    text-overflow:initial;
  }
  .nav-center{
    flex:none;
    flex-direction:column;
    align-items:stretch;
    white-space:normal;
    overflow:visible;
    justify-content:flex-start;
    gap:6px;
    width:100%;
  }
  .nav-center > a,
  .nav-dropdown > .nav-dropdown-trigger{
    display:flex;
    align-items:center;
    width:100%;
    box-sizing:border-box;
    padding:12px 14px;
    margin:0;
    font-size:15px;
    border-radius:10px;
    background:rgba(255,255,255,.06);
    border:1px solid rgba(255,255,255,.1);
    text-decoration:none;
    color:#fff;
    min-height:44px;
  }
  .nav-dropdown{
    display:block;
    width:100%;
  }
  .nav-dropdown .dropdown-menu{
    display:block !important;
    position:static;
    border:none;
    background:rgba(0,0,0,.38);
    border-radius:10px;
    padding:6px 0;
    margin:0 0 6px;
    min-width:0;
  }
  .nav-dropdown .dropdown-menu a{
    display:flex;
    align-items:center;
    width:100%;
    box-sizing:border-box;
    padding:12px 16px;
    margin:0;
    font-size:14px;
    border-radius:0;
    background:transparent;
    border:none;
    border-bottom:1px solid rgba(255,255,255,.06);
    min-height:44px;
  }
  .nav-dropdown .dropdown-menu a:last-child{ border-bottom:none; }
  .nav-right{
    width:100%;
    margin-top:auto;
    padding-top:12px;
    border-top:1px solid rgba(139,0,0,.25);
  }
  .nav-right a{
    display:flex;
    justify-content:center;
    align-items:center;
    width:100%;
    box-sizing:border-box;
    padding:14px 16px;
    font-size:15px;
    font-weight:600;
    border-radius:10px;
    background:rgba(60,15,15,.55);
    border:1px solid rgba(139,0,0,.5);
    min-height:48px;
  }

  /* —— Témák listája: kártyaszerű sorok —— */
  .topic-list-header{ display:none; }
  .topic-row{
    display:flex;
    flex-wrap:wrap;
    gap:10px;
    padding:14px 12px;
    align-items:stretch;
  }
  .topic-main{
    flex:1 1 100%;
    min-width:0;
  }
  .topic-count,
  .topic-views{
    flex:1 1 calc(50% - 10px);
    min-width:0;
    box-sizing:border-box;
    display:flex;
    align-items:center;
    justify-content:center;
    flex-direction:column;
    gap:2px;
    padding:10px 8px;
    font-size:14px;
    font-weight:700;
    background:rgba(0,0,0,.4);
    border-radius:10px;
    border:1px solid rgba(255,255,255,.06);
  }
  .topic-count::before{
    content:'Válaszok';
    font-size:10px;
    font-weight:600;
    opacity:.75;
    letter-spacing:.06em;
  }
  .topic-views::before{
    content:'Megtekintés';
    font-size:10px;
    font-weight:600;
    opacity:.75;
    letter-spacing:.06em;
  }
  .topic-last{
    flex:1 1 100%;
    font-size:12px;
    line-height:1.45;
    text-align:left;
    padding:10px 12px;
    background:rgba(0,0,0,.28);
    border-radius:10px;
    border:1px solid rgba(255,255,255,.05);
  }

  /* —— Téma nézet: fejléc + hozzászólások —— */
  .topic-header{
    flex-direction:column;
    align-items:stretch;
    gap:12px;
  }
  .topic-header h2{
    font-size:1.2rem;
    line-height:1.35;
    margin:0;
  }
  .topic-header-actions{
    display:flex;
    flex-wrap:wrap;
    gap:8px;
    width:100%;
  }
  .topic-header-actions .btn-primary,
  .topic-header-actions .btn-secondary{
    flex:1 1 calc(50% - 8px);
    text-align:center;
    box-sizing:border-box;
    padding:10px 12px;
  }
  .topic-manage{
    justify-content:flex-start;
  }
  .topic-manage .topic-move-select{
    flex:1 1 100%;
    max-width:none;
    width:100%;
  }
  .topic-manage .topic-manage-btn{
    flex:1 1 auto;
    min-width:120px;
    text-align:center;
  }

  .post-card{
    flex-direction:column;
    gap:12px;
    padding:12px;
  }
  .post-side{
    display:flex;
    flex-direction:row;
    align-items:center;
    text-align:left;
    width:100%;
    border-right:none;
    border-bottom:1px solid rgba(255,255,255,.1);
    padding:0 0 12px;
    gap:12px;
  }
  .post-avatar{
    width:52px;
    height:52px;
    margin:0;
    flex-shrink:0;
  }
  .post-user{ font-size:15px; }
  .post-reputation{
    flex-direction:row;
    flex-wrap:wrap;
    margin-top:6px;
    gap:6px 12px;
  }
  .post-body{ min-width:0; }
  .post-text{
    font-size:15px;
    line-height:1.55;
    overflow-wrap:break-word;
    word-break:break-word;
  }
  .post-image.align-left,
  .post-image.align-right{
    float:none;
    display:block;
    margin:10px auto;
    max-width:100%;
  }
  .post-footer{
    flex-direction:column;
    align-items:stretch;
    gap:10px;
  }
  .post-footer-actions,
  .post-reactions{
    flex-wrap:wrap;
    justify-content:flex-start;
  }

  .forum-breadcrumbs{
    font-size:12px;
    gap:4px;
    margin:4px 0 10px;
  }
  .forum-breadcrumbs a{ padding:6px 8px; font-size:12px; }

  .profile-grid{
    grid-template-columns:1fr;
    gap:14px;
  }
  .admin-grid{
    grid-template-columns:1fr;
    gap:14px;
  }
  .reply-card{ padding:12px; }

  .forum-layout{
    flex-direction:column;
    gap:12px;
    align-items:stretch;
  }
  .forum-chat-side{
    width:100%;
    min-width:0;
    position:static;
    order:2;
  }
  .chatbox-card{
    max-height:min(480px, 60vh);
    min-height:360px;
  }
  .chatbox-header{ padding:8px 12px; font-size:14px; }
  .chatbox-messages{
    padding:10px 12px;
    gap:8px;
    min-height:200px;
    flex:1 1 0;
    overflow-y:auto;
    -webkit-overflow-scrolling:touch;
  }
  .chatbox-msg{
    padding:8px 10px;
    background:rgba(255,255,255,.07);
    border:1px solid rgba(255,255,255,.1);
  }
  .chatbox-msg-name{ font-size:14px; }
  .chatbox-msg-text{
    font-size:14px;
    line-height:1.45;
    color:#e4e4e4;
  }
  .chatbox-msg-time{ font-size:12px; }
  .chatbox-emoji-bar{
    padding:6px 8px;
    gap:4px;
    flex-wrap:nowrap;
    overflow-x:auto;
    -webkit-overflow-scrolling:touch;
  }
  .chatbox-emoji-bar::-webkit-scrollbar{ height:4px; }
  .chatbox-emoji-btn{
    width:32px;
    height:32px;
    font-size:16px;
    flex-shrink:0;
  }
  .chatbox-form{ padding:10px 12px; gap:8px; }
  .chatbox-input{ height:44px; padding:10px 14px; font-size:15px; }
  .chatbox-send{ height:44px; padding:0 14px; font-size:14px; min-width:72px; }

  .forum-main{ order:1; flex:0 0 auto; }
  .forum-side{ width:100%; order:3; }

  .category-card{
    margin-bottom:10px;
    border-radius:8px;
  }
  .category-title{
    padding:8px 12px;
    font-size:14px;
  }
  .forum-list{ gap:0; }
  .forum-row{
    flex-wrap:wrap;
    gap:8px;
    padding:10px 12px;
  }
  .forum-icon{
    width:28px;
    height:28px;
    font-size:12px;
  }
  .forum-main .forum-main{ min-width:0; }
  .forum-title{ font-size:14px; }
  .forum-desc{ font-size:12px; margin-top:2px; }
  .forum-meta{
    flex-wrap:wrap;
    gap:6px;
    min-width:0;
  }
  .meta-block{ min-width:44px; }
  .meta-value{ font-size:13px; }
  .meta-label{ font-size:10px; }

  .side-card{ padding:10px 12px; }
  .side-card-title{ font-size:14px; margin-bottom:8px; }
  .side-online-badges{ gap:6px; }
  .side-online-badge{ padding:5px 10px; font-size:12px; }
  .side-stat{ font-size:13px; }
}

@media (max-width: 600px) {
  .container{ padding:10px 8px 16px; }
  .navbar a{ padding:6px 8px; font-size:12px; }
  .topic-header-actions .btn-primary,
  .topic-header-actions .btn-secondary{
    flex:1 1 100%;
  }
  .topic-count,
  .topic-views{
    flex:1 1 100%;
  }
  .chatbox-card{
    max-height:min(440px, 58vh);
    min-height:320px;
  }
  .chatbox-messages{ min-height:200px; }
  .chatbox-msg-text{ font-size:14px; color:#e4e4e4; }
  .forum-header{
    flex-wrap:wrap;
    gap:8px;
    margin-bottom:10px;
  }
  .forum-header h2{ font-size:1.15rem; }
  .btn-primary{
    width:100%;
    text-align:center;
    padding:10px 12px;
  }
  .forum-row{ padding:8px 10px; }
  .category-title{ padding:6px 10px; font-size:13px; }

  /* Admin: mobilon függőleges elrendezés, oldalsáv felül */
  .admin-wrap{ flex-direction:column; }
  .admin-sidebar{ width:100%; border-right:none; border-bottom:1px solid rgba(139,0,0,.25); box-shadow:none; }
  .admin-sidebar-inner{ padding:12px 16px; }
  .admin-nav{ display:flex; flex-wrap:wrap; gap:6px; padding:0; }
  .admin-nav li{ margin:0; }
  .admin-nav-link{ padding:10px 14px; font-size:13px; }
  .admin-content{ padding:20px 16px 32px; max-width:100%; }
  .admin-table--5col .admin-table-head,
  .admin-table--5col .admin-table-row{ grid-template-columns:1fr 1fr .7fr .6fr auto; font-size:12px; padding:10px 12px; }
  .admin-points-row{ flex-direction:column; align-items:flex-start; }
  .admin-points-actions{ margin-left:0; }
}
