/* ====== style (AA) ====== */
html, body{
  margin:0; padding:0;
  background:#d7d2c6;
  color:#111;
  font-family: Tahoma, Verdana, Arial, sans-serif;
  font-size:12px;
}

.forum-wrap{
  width: 100%;
}


.aa-title{font-weight:bold;font-size:14px;margin:0 0 6px 0;color:#111;}
.aa-subtitle{font-size:12px;margin:0 0 10px 0;color:#333;}

.aa-sectionbar{
  background:#f0a21a;
  height:10px;
  margin: 8px 0 6px 0;
  border:1px solid #b07a16;
}

.aa-sectiontitle{
  display:inline-block;
  background:#2b2b2b;
  color:#fff;
  font-weight:bold;
  padding:2px 6px;
  border-radius:2px;
  margin: 0 0 6px 0;
}

.aa-table{
  border-collapse:collapse;
  width: 620px;
  background:#cfc8bb;
  border:2px solid #2b2b2b;
}

.aa-table th{
  background:#2b2b2b;
  color:#fff;
  font-weight:bold;
  padding:4px 6px;
  border:1px solid #111;
  text-align:left;
  white-space:nowrap;
}

.aa-table td{
  border:1px solid #2b2b2b;
  padding:3px 6px;
  vertical-align:middle;
}

.aa-link{
  color:#0036cc;
  text-decoration:none;
  font-weight:bold;
}
.aa-link:hover{ text-decoration:underline; }

.aa-mini{ font-size:11px; color:#222; opacity:.9; }
.aa-col-lp{ width:34px; text-align:center; }
.aa-col-topic{ width:360px; }
.aa-col-num{ width:70px; text-align:right; }
.aa-col-last{ width:86px; text-align:right; }
.aa-col-user{ width:100px; }

.aa-ficon{ width:14px; height:14px; vertical-align:middle; margin-left:4px; }

.aa-row-mod td{ background:#1aa7d6; }
.aa-row-normal td{ background:#d9b3b3; }
.aa-row-normal:nth-child(even) td{ background:#d1a7a7; }

/* ===== wiary: kolory wierszy (nadpisujÄ domyĹlne) ===== */
.aa-fa-kat td { background:#d9d2b2 !important; }
.aa-fa-hus td { background:#b8d7e6 !important; }
.aa-fa-pra td { background:#d4b8e6 !important; }
.aa-fa-none td{ background:#d9b3b3 !important; }

tr:hover td{ filter:brightness(1.06); }

/* ===== posty jak stare fora ===== */
.aa-post{
  width: 620px;
  border:2px solid #2b2b2b;
  background:#cfc8bb;
  margin: 10px 0;
}
.aa-post-head{
  background:#2b2b2b;
  color:#fff;
  font-weight:bold;
  padding:4px 6px;
  border-bottom:1px solid #111;
  display:flex;
  justify-content:space-between;
  align-items:center;
}
.aa-tools a{
  color:#fff;
  text-decoration:none;
  font-weight:bold;
  margin-left:10px;
}
.aa-tools a:hover{ text-decoration:underline; }

.aa-post-body{
  display:grid;
  grid-template-columns: 160px 1fr;
}
.aa-author{
  border-right:1px solid #2b2b2b;
  padding:8px;
  background:#d7d2c6;
}
.aa-author .avatar{
  width:64px;height:64px;border-radius:6px;display:block;margin:0 auto 6px auto;
}
.aa-author .nick{ font-weight:bold; text-align:center; }
.aa-author .mini{ font-size:11px; opacity:.85; text-align:center; margin-top:2px; }

.aa-content{
  padding:10px;
  background:#efe7d8;
  min-height:90px;
  font-size:12px;
}
.aa-deleted{ opacity:.65; font-style:italic; }

.forum-btn{
  display:inline-block;
  padding:2px 6px;
  border:1px solid #2b2b2b;
  background:#d7d2c6;
  color:#111;
  text-decoration:none;
  font-weight:bold;
  cursor:pointer;
}
.forum-btn:hover{ filter:brightness(1.05); }

.forum-ta{
  width: 610px;
  min-height: 110px;
  border:1px solid #2b2b2b;
  padding:6px;
  font-family: inherit;
  font-size:12px;
}
.small{font-size:11px;opacity:.9;}


/* =========================================================
   LAYOUT + SIDEBAR (dopisek, nie usuwa starych styli)
   ========================================================= */
html, body{
  background:#bfb8ab;
}

.forum-shell{
  width: calc(100% - 20px);
  max-width: 1400px;
  margin: 10px auto;
  border: 2px solid #2b2b2b;
  background: #d7d2c6;
  box-shadow: 0 12px 35px rgba(0,0,0,.25);
  padding: 10px;
}

.forum-topbar{
  display:flex;
  justify-content:space-between;
  align-items:center;
  margin: 0 0 8px 0;
}
.forum-back{
  color:#0036cc;
  text-decoration:none;
  font-weight:bold;
}
.forum-back:hover{ text-decoration:underline; }

.forum-layout{
  display:flex;
  gap:12px;
  align-items:flex-start;
}

.forum-main{
  flex: 1;
  min-width: 900px;
}

.forum-side{
  width: 340px;
}

.side-box{
  border:2px solid #2b2b2b;
  background:#cfc8bb;
  margin-bottom:10px;
}
.side-head{
  background:#2b2b2b;
  color:#fff;
  font-weight:bold;
  padding:4px 6px;
  font-size:12px;
}
.side-body{ padding:6px; }

.side-player{
  display:flex;
  gap:8px;
  align-items:center;
  padding:5px 4px;
  border-bottom:1px solid rgba(0,0,0,.25);
}
.side-player:last-child{ border-bottom:0; }

.side-ava{
  width:28px;
  height:28px;
  border-radius:4px;
  object-fit:cover;
  border:1px solid #333;
  background:#999;
}
.side-name{ font-weight:bold; color:#0036cc; text-decoration:none; }
.side-name:hover{ text-decoration:underline; }
.side-meta{ font-size:11px; opacity:.85; }

/* formularze jak na starych forach */
input[type="text"], textarea{
  background:#efe7d8;
  border:1px solid #2b2b2b;
  padding:4px 6px;
  font-family: inherit;
  font-size:12px;
}
input[type="text"]:focus, textarea:focus{
  outline:none;
  box-shadow: 0 0 0 2px rgba(176,122,22,.35);
}


.aa-herb{width:16px;height:16px;image-rendering:pixelated;border-radius:4px;border:1px solid rgba(255,255,255,.18);margin-left:6px;vertical-align:middle}