body {
    background-color: #fff5f5; /* Нежный светло-розовый фон */
    scrollbar-face-color: #f8bbd0; /* Мягкий розовый */
    scrollbar-highlight-color: #fce4ec; /* Очень светлый розовый */
    scrollbar-shadow-color: #f8bbd0;
    scrollbar-3dlight-color: #f8bbd0;
    scrollbar-arrow-color: #ad1457; /* Глубокий розовый */
    scrollbar-track-color: #fce4ec;
    scrollbar-darkshadow-color: #c2185b; /* Темно-розовый */
    background-image: url('data:image/svg+xml;utf8,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><path d="M30,10 Q50,0 70,10 T100,30 Q110,50 100,70 T70,100 Q50,110 30,100 T0,70 Q-10,50 0,30 T30,10 Z" fill="none" stroke="%23fce4ec" stroke-width="1"/></svg>'); /* Изящный фоновый узор */
    background-size: 100px 100px;
    margin: 0 auto;
    color: #5d4037; /* Теплый коричневый для текста */
    max-width: 1200px;
    font-family: "Cormorant Garamond", "Playfair Display", "Georgia", serif;
    font-size: 16px;
    line-height: 1.6;
    font-weight: 400;
}

a:link, a:visited {
    text-decoration: none;
    color: #c2185b; /* Глубокий розовый для ссылок */
    transition: color 0.3s ease;
}

a:hover {
    text-decoration: none;
    color: #880e4f; /* Темно-розовый при наведении */
    border-bottom: 1px dotted #880e4f;
}

.bodyline {
    background-color: #ffffff;
    border: 1px solid #f8bbd0;
    box-shadow: 0 2px 15px rgba(244, 143, 177, 0.15);
    border-radius: 8px;
    padding: 20px;
    margin-top: 20px;
}

.forumline {
    background-color: #ffffff;
    border: 1px solid #f8bbd0;
    border-radius: 8px;
    overflow: hidden;
}

td.row1, td.row3 {
    background-color: #ffffff;
    padding: 12px;
    border-bottom: 1px solid #fce4ec;
}

td.row2 {
    background-color: #fef9fb; /* Очень светлый розовый для чередования строк */
    padding: 12px;
    border-bottom: 1px solid #fce4ec;
}

td.inputrow {
    background-color: #ffffff;
    padding: 15px;
}

td.rowpic {
    background-color: #f8bbd0;
    background-image: linear-gradient(135deg, #f8bbd0, #fce4ec);
    padding: 10px;
}

th {
    color: #ffffff;
    font-size: 15px;
    font-weight: 600;
    background-color: #ec407a; /* Яркий розовый для заголовков */
    background-image: linear-gradient(to right, #ec407a, #f06292);
    padding: 12px 15px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    border-bottom: 3px solid #ad1457;
}

.maintitle, h1, h2 {
    font-weight: 700;
    font-size: 28px;
    font-family: "Playfair Display", "Cormorant Garamond", serif;
    text-decoration: none;
    line-height: 1.3;
    color: #ad1457; /* Глубокий розовый */
    margin-bottom: 20px;
    letter-spacing: 0.5px;
}

.gen, .genmed {
    color: #5d4037; /* Коричневый текст */
    font-size: 15px;
}

.gensmall {
    color: #7b5e57; /* Светло-коричневый для мелкого текста */
    font-size: 13px;
    font-style: italic;
}

.mainmenu {
    font-size: 15px;
    color: #5d4037;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 8px 15px;
}

.forumlink {
    font-weight: 600;
    font-size: 17px;
    color: #c2185b; /* Глубокий розовый */
}

a.forumlink:hover {
    color: #880e4f; /* Темно-розовый при наведении */
    text-decoration: none;
    border-bottom: 1px solid #880e4f;
}

.nav {
    font-weight: 500;
    font-size: 14px;
    color: #5d4037;
    background-color: #fce4ec;
    padding: 5px 10px;
    border-radius: 4px;
}

a.nav:hover {
    text-decoration: none;
    color: #880e4f;
    background-color: #f8bbd0;
}

.topictitle {
    font-weight: 600;
    font-size: 16px;
    color: #c2185b;
}

a.topictitle:hover {
    text-decoration: none;
    color: #880e4f;
    border-bottom: 1px dotted #880e4f;
}

.postbody {
    font-size: 16px;
    color: #5d4037;
    line-height: 1.7;
}

a.postlink {
    color: #c2185b;
    border-bottom: 1px dotted #f8bbd0;
}

a.postlink:hover {
    color: #880e4f;
    border-bottom: 1px solid #880e4f;
    text-decoration: none;
}

input, textarea, select {
    color: #5d4037;
    font-family: "Cormorant Garamond", "Georgia", serif;
    font-size: 15px;
    background-color: #ffffff;
    border: 1px solid #f8bbd0;
    border-radius: 4px;
    padding: 8px 12px;
    transition: all 0.3s ease;
}

input:focus, textarea:focus, select:focus {
    border-color: #ec407a;
    outline: none;
    box-shadow: 0 0 5px rgba(236, 64, 122, 0.3);
}

input.button {
    background-color: #ec407a;
    background-image: linear-gradient(to right, #ec407a, #f06292);
    color: #ffffff;
    font-size: 14px;
    font-weight: 600;
    font-family: "Playfair Display", "Georgia", serif;
    border: none;
    border-radius: 4px;
    padding: 10px 20px;
    cursor: pointer;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    transition: all 0.3s ease;
}

input.button:hover {
    background-image: linear-gradient(to right, #d81b60, #ec407a);
    box-shadow: 0 2px 8px rgba(236, 64, 122, 0.4);
}

/* Новые стили для улучшения внешнего вида форума */
.category-icon {
    font-size: 24px;
    color: #ec407a;
    margin-right: 10px;
}

.forum-stats {
    font-size: 13px;
    color: #7b5e57;
    display: inline-block;
    padding: 3px 8px;
    background-color: #fef9fb;
    border-radius: 4px;
    margin-top: 5px;
}

.username {
    font-weight: 600;
    color: #c2185b;
}

.post-header {
    border-bottom: 2px solid #fce4ec;
    padding-bottom: 10px;
    margin-bottom: 15px;
}

.post-footer {
    font-size: 13px;
    color: #7b5e57;
    font-style: italic;
    border-top: 1px dotted #f8bbd0;
    padding-top: 8px;
    margin-top: 20px;
}

.quote {
    background-color: #fef9fb;
    border-left: 3px solid #f8bbd0;
    padding: 10px 15px;
    margin: 10px 0;
    font-style: italic;
}

.breadcrumbs {
    padding: 10px 0;
    font-size: 14px;
    color: #7b5e57;
}

.pagination {
    text-align: center;
    padding: 15px 0;
}

.pagination a {
    display: inline-block;
    padding: 5px 10px;
    margin: 0 3px;
    background-color: #fce4ec;
    color: #c2185b;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.pagination a:hover {
    background-color: #f8bbd0;
    color: #880e4f;
    text-decoration: none;
}

.pagination .current {
    display: inline-block;
    padding: 5px 10px;
    margin: 0 3px;
    background-color: #ec407a;
    color: #ffffff;
    border-radius: 4px;
    font-weight: 600;
}

/* Декоративные элементы */
.separator {
    height: 1px;
    background: linear-gradient(to right, transparent, #f8bbd0, transparent);
    margin: 20px 0;
}

.beauty-tip {
    background-color: #fef9fb;
    border: 1px dashed #f8bbd0;
    border-radius: 8px;
    padding: 15px;
    margin: 15px 0;
    position: relative;
}

.beauty-tip::before {
    content: "✿ Совет дня";
    position: absolute;
    top: -10px;
    left: 20px;
    background-color: #ffffff;
    padding: 0 10px;
    color: #ec407a;
    font-size: 14px;
    font-weight: 600;
}

@media (max-width: 768px) {
    body {
        max-width: 100%;
        padding: 0 15px;
        font-size: 15px;
    }
    
    .maintitle, h1, h2 {
        font-size: 24px;
    }
    
    .bodyline, .forumline {
        padding: 10px;
    }
    
    input.button {
        padding: 8px 15px;
    }
}