@charset "utf-8";
/* CSS Document */

.forum-categories {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.forum-category {
    display: grid;
    grid-template-columns: 1fr 120px;
    gap: 15px;
    padding: 15px;
    border-radius: 8px;
    border: 1px solid #e5e7eb;
}

.forum-category.locked {
    opacity: 0.7;
}

.forum-category h3 {
    margin: 0 0 5px;
}

.forum-category-stats {
    font-size: 14px;
    color: #595959;
}

.forum-category-link a {
    font-weight: bold;
    color: #4da3ff;
    text-decoration: none;
}

.forum-category-link a:hover {
    text-decoration: underline;
}

.lock {
    color: #ff5a5a;
}
.forum-threads {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.forum-thread {
    display: grid;
    grid-template-columns: 1fr 160px 180px;
    gap: 12px;
    padding: 5px 10px;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
}

.forum-thread.locked {
    opacity: 0.7;
}

.thread-meta {
    font-size: 13px;
    color: #777;
	  margin-bottom: 10px;
}

.thread-stats,
.thread-last {
    font-size: 14px;
    color: #777;
}

.thread-link a {
    font-weight: bold;
    color: #4da3ff;
    text-decoration: none;
}
.thread-main a {
    font-weight: bold;
    color: #004287;
}

.forum-form {
    max-width: 700px;
}

.forum-form label {
    display: block;
    margin-bottom: 15px;
}

.forum-form input,
.forum-form textarea {
    width: 100%;
    padding: 10px;
    border-radius: 6px;
    border: 1px solid #333;
    background: #fff;
    color: #333;
}

.btn-primary {
    background: #4da3ff;
    color: #000;
    padding: 10px 16px;
    border-radius: 6px;
    text-decoration: none;
    border: none;
    cursor: pointer;
	font-weight: 600;
}

.btn-secondary {
    margin-left: 10px;
    color: #aaa;
    text-decoration: none;
}
.forum-posts {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.forum-post {
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    padding: 15px;
}

.forum-post.original {
    border-left: 4px solid #4da3ff;
}

.post-author .avatar {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #a33;
    background: #f5f5f5;
}


.post-body {
    margin-bottom: 10px;
	line-height: 1;
}
.post-body img{
  max-width: 100%;
  max-height: 600px;
  border-radius: 6px;
  width: auto;
  height: auto;
}

.post-meta {
    font-size: 12px;
    color: #777;
}

.forum-reply textarea {
    width: 100%;
    padding: 10px;
    border-radius: 6px;
    border: 1px solid #333;
    background: #0f0f0f;
    color: #fff;
}

.forum-reply {
    margin-top: 20px;
}
.thread-admin-actions {
    margin-bottom: 10px;
}

.btn-admin {
    padding: 6px 12px;
    border-radius: 5px;
    border: none;
    cursor: pointer;
    background: #444;
    color: #fff;
    margin-right: 6px;
}

.btn-admin.danger {
    background: #aa3333;
}
.tox tox-tinymce{
	border: 1px solid #333;
  padding: 2px;
}
.threadtit{
  font-size: 22px;
  font-weight: 700;
  padding-bottom: 5px;
}
.post-author {
    display: flex;
    align-items: center;
    gap: 10px;
	margin-bottom: 2px;
}

.author-link {
    display: inline-flex;
}

.author-meta {
    display: flex;
    align-items: center;
    gap: 6px;
}

.username {
    font-weight: 600;
    text-decoration: none;
    color: inherit;
}

.username:hover {
    text-decoration: underline;
}

/* Badges */
.badge {
    font-size: 11px;
    font-weight: 700;
    padding: 2px 6px;
    border-radius: 4px;
    line-height: 1;
}

.badge.admin {
    background: #c62828;
    color: #fff;
	font-size: 9px;
}

.badge.mod {
    background: #1565c0;
    color: #fff;
}
.clan-info {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    color: #666;
    margin-top: 2px;
}

.clan-badge {
    width: 20px;
    height: 20px;
}

.clan-name {
    font-weight: 600;
}

.clan-role {
    font-style: italic;
    color: #484848;
}
.avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 3px solid #ccc;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #111;
}

.avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ROLE COLORS */
.avatar-admin {
    border-color: #e63946;
    box-shadow: 0 0 8px rgba(230,57,70,0.6);
}

.avatar-mod {
    border-color: #457b9d;
    box-shadow: 0 0 6px rgba(69,123,157,0.6);
}

.avatar-user {
    border-color: #ccc;
}
.breadcrumbs {
    margin-bottom: 12px;
    font-size: 14px;
    color: #888;
}

.breadcrumbs a {
    color: #4da3ff;
    text-decoration: none;
	font-weight: 700;
}

.breadcrumbs a:hover {
    text-decoration: underline;
}

.breadcrumbs span {
    color: #000;
	font-weight: 700;
}
.last-activity{
  font-size: 12px;
}
@media (max-width: 768px) {
.last-activity{
  font-size: 12px;
}
.thread-meta {
    color: #777;
}
.thread-last {
    font-size: 14px;
    color: #777;
	display:none;
}
.forum-thread{
	grid-template-columns: 1fr 65px;
}
  .forum-post img {
    max-height: 450px;
  }
}
.deck-embed {
    margin: 12px 0;
    padding: 10px;
    background: #0f172a;
    border-radius: 10px;
    border: 1px solid #1e293b;
	max-width: 400px;
}

.deck-cards {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 6px;
}

.deck-cards img {
    width: 100%;
    border-radius: 6px;
}

.copy-deck-btn {
    display: block;
    margin-top: 8px;
    text-align: center;
    background: #2563eb;
    color: #fff;
    padding: 6px;
    border-radius: 6px;
    font-weight: 600;
    text-decoration: none;
}

.copy-deck-btn:hover {
    background: #1d4ed8;
}
/* Evo badge */
.form-forum{
  max-width: 100%;
  margin-top: 2px;
  display: flex;
  flex-direction: column;
  gap: 5px;
}