﻿body { 
    background-color: #f4f7f6; 
    margin: 0px; 
    padding: 0px; 
    color: #37474f;
    scrollbar-arrow-color: #10b981; 
    scrollbar-face-color: #ffffff; 
    scrollbar-track-color: #f1f5f9; 
}

font, th, td, p { font-family: 'Inter', 'Segoe UI', Helvetica, Arial, sans-serif; font-size: 14px; }

/* Уникальные ссылки: без подчеркивания, но с акцентом */
a { text-decoration: none; color: #10b981; font-weight: 500; transition: all 0.2s ease; }
a:visited { color: #059669; }
a:hover, a:active { color: #3b82f6; border-bottom: 2px solid #3b82f6; }

hr { height: 1px; border: none; background: linear-gradient(to right, #10b981, transparent); margin: 10px 0; }

img { border: 0px; border-radius: 8px; }
form { display: inline; }

/* Форумная сетка с мягкими тенями */
table.forumline { background-color: #e2e8f0; border-radius: 10px; overflow: hidden; border-collapse: separate; border-spacing: 1px; box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1); }
table.forumline:hover { border-color: #10b981; }

.row, .row1, .row2 { background-color: #ffffff; transition: background 0.3s; }
.row3 { background-color: #f8fafc; }
.row1:hover, .row2:hover { background-color: #f0fdf4; }

/* Шапки - градиент "Сланец" */
th, td.th { 
    color: #ffffff; 
    font-size: 13px; 
    text-transform: uppercase;
    letter-spacing: 0.05em;
    background: #1e293b; 
    height: 35px; 
    border: none;
}

td.cat, td.catHead, td.catLeft, td.rowpic, td.catSides, td.catRight, td.catBottom { 
    color: #0f172a; 
    font-size: 14px; 
    font-weight: bold;
    background-color: #f1f5f9; 
    height: 32px; 
    border-bottom: 1px solid #cbd5e1;
}

.gen { font-size: 14px; color: #1e293b; }
.genmed { font-size: 13px; color: #475569; }
.gensmall { font-size: 12px; color: #64748b; }

/* Навигация как "теги" */
.nav { font-weight: bold; font-size: 14px; color: #10b981; }
table.nav { 
    background-color: #ffffff; 
    border: 1px solid #e2e8f0; 
    border-radius: 20px; 
    padding: 0 15px;
    height: 30px; 
}

.forumlink { font-weight: 700; font-size: 15px; color: #1e293b; }

/* Поля ввода - Apple-style */
input, textarea, select { 
    color: #1e293b; 
    background-color: #ffffff;
    border: 1px solid #cbd5e1;
    border-radius: 6px;
    padding: 5px;
}
input:focus, textarea:focus { border-color: #10b981; outline: none; box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.1); }

input.button, input.mainoption { 
    background: #10b981; 
    color: #ffffff; 
    border: none; 
    padding: 5px 15px; 
    border-radius: 6px; 
    font-weight: bold;
    cursor: pointer;
}
input.button:hover { background: #059669; transform: translateY(-1px); }

/* Цитаты и код - минимализм */
.code {
    font-family: 'Fira Code', monospace; font-size: 13px; color: #065f46;
    background-color: #ecfdf5; border: 1px solid #10b981; border-radius: 6px; padding: 10px;
}

.quote {
    font-family: inherit; font-style: italic; color: #475569;
    background-color: #f8fafc; border-left: 4px solid #10b981; padding: 10px; border-radius: 0 6px 6px 0;
}

.maintitle, h1, h2 {
    color: #0f172a; font-family: 'Trebuchet MS', sans-serif; font-weight: 800;
}

/* WR-Forum Professional - Специфические правки */
.pgbutt a {
    border: 1px solid #e2e8f0; 
    background: #ffffff; 
    color: #1e293b;
    border-radius: 8px;
    box-shadow: 0 1px 2px rgba(0,0,0,0.05);
}
.pgbutt a:hover { background: #10b981; color: white; border-color: #10b981; }

.guestavatar { 
    background: linear-gradient(135deg, #10b981 0%, #3b82f6 100%); 
    color: #ffffff; 
    border-radius: 12px;
    box-shadow: 0 4px 10px rgba(16, 185, 129, 0.2);
}

/* Меню админки */
#nav8 td:hover, #nav8 li:hover { background: #f0fdf4; color: #10b981; }

/* Полоса загрузки Emerald */
#cssbar-border { border: 2px solid #10b981; border-radius: 10px; padding: 2px; }
#cssbar-line { background: linear-gradient(90deg, #10b981, #3b82f6); border-radius: 10px; }