.header {
    background: #fff;
    border-bottom: 1px dashed #ccc;
    padding: 20px;
    margin-bottom: 20px;
}
.header h1 {
    margin: 0;
    font-size: 24px;
    font-family: Tahoma, sans-serif;
}
.header a {
    color: #000;
    text-decoration: none;
}
.form-search input[type="text"] {
    width: 100%;
    padding: 4px;
    font-size: 13px;
}
.form-search input[type="submit"] {
    width: 100%;
    text-align: center;
}
.ban-notice {
   font-size:0.7rem;
    color: #cc0000;
}
.button-vote {
    display: inline-block;
    padding: 4px 8px;
    margin: 2px;
    background: #e0e0e0;
    border: 1px solid #aaa;
    text-decoration: none;
    color: #000;
    font-weight: bold;
    font-size: 13px;
    border-radius: 3px;
}

.button-vote:hover {
    background: #dcdcdc;
}
 .mobile-menu-toggle {
            text-align: right;
            margin-bottom: 10px;
            display: none;
        }

        #sidebar {
            float: right;
            width: 200px;
            margin-left: 20px;
        }

        @media only screen and (max-width: 600px) {
            #sidebar {
                display: none;
                width: 100%;
                float: none;
                border: 1px solid #ccc;
                background: #fff;
                padding: 10px;
            }
            .mobile-menu-toggle {
                display: block;
            }
        }
.menu {
    float: right;
    width: 200px;
    margin-left: 20px;
    font-family: Tahoma, Arial, sans-serif;
}

.menu-inner {
    background: #fff;
    border: 1px solid #ccc;
    padding: 10px;
    border-radius: 4px;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

.menu h3 {
    margin-top: 0;
    margin-bottom: 5px;
    font-size: 14px;
    color: #000;
    border-bottom: 1px dashed #ccc;
    padding-bottom: 5px;
}

.menu ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.menu li {
    margin: 0;
    padding: 0;
}

.menu a {
    text-decoration: none;
    color: #000;
    display: block;
    padding: 4px 6px;
    font-size: 13px;
    border-radius: 3px;
}

.menu a:hover {
    background: #f0f0f0;
    color: #c00;
}

/* Секции меню */
.menu ul.menu-links,
.menu ul.menu-categories,
.menu ul.menu-top {
    margin-bottom: 15px;
}
 body {
    background: #E8E9EB;
    font-family: Verdana;
    font-size: 16px;
 
    margin: 0;
    padding: 20px;
}

.container {
    max-width: 1700px;
    margin: auto;
    overflow: hidden;
}

.story {
    background: #fff;
    border: 1px solid #ccc;
    padding: 10px;
    margin-bottom: 20px;
}

.story h2 {
    font-size: 16px;
    margin-top: 0;
       
   
}

.story p {
    margin: 5px 0;
 
}
.story-footer {
    margin-top: 10px;
    font-size: 13px;
    color: #666;
}
.button {
    font-family: Tahoma;
    font-size: 14px;
    text-decoration: none;
    background: #e0e0e0;
    border: 1px solid #aaa;
    padding: 5px 10px;
    color: #000;
    border-radius: 3px;
}

.button:hover {
    background: #dcdcdc;
}

/* Рейтинг (лайки/дизлайки) */
.rating {
    margin-top: 10px;
}

.rating a {
    text-decoration: none;
    color: #000;
}

.rating a:hover {
    text-decoration: underline;
}

/* --- Комментарии --- */
.comment {
    background: #f9f9f9;
    border: 1px dashed #ddd;
    padding: 8px;
    margin-top: 10px;
    font-size: 13px;
    position: relative;
}

.reply {
    margin-left: 20px;
    border-left: 2px solid #ccc;
    padding-left: 10px;
    background: #fcfcfc;
}

.comment-header {
    font-weight: bold;
}

.comment-body {
    margin: 5px 0;
}

.comment-footer a {
    color: #000;
    text-decoration: none;
}

.comment-footer a:hover {
    text-decoration: underline;
}

.form-story {
    margin-bottom: 20px;
}

.form-story input[type="text"],
.form-story textarea {
    border: 1px solid #aaa;
    font-family: Tahoma;
    font-size: 14px;
    width: 100%;
    padding: 5px;
    margin-bottom: 10px;
}

.button {
    font-family: Tahoma;
    font-size: 14px;
    text-decoration: none;
    background: #e0e0e0;
    border: 1px solid #aaa;
    padding: 5px 10px;
    color: #000;
    border-radius: 3px;
    margin-top: 5px;
}

.button:hover {
    background: #dcdcdc;
}
.pagination {
    text-align: center;
    margin-top: 20px;
    font-family: Verdana, Arial, sans-serif;
    font-size: 13px;
}

.pagination a,
.pagination span {
    display: inline-block;
    padding: 4px 8px;
    margin: 0 3px;
    text-decoration: none;
    color: #000;
    background-color: #f0f0f0;
    border: 1px solid #ccc;
    border-radius: 3px;
}

.pagination a:hover {
    background-color: #e0e0e0;
    color: #c00;
}

/* Активная страница */
.pagination .active {
    background-color: #dcdcdc;
    border-color: #aaa;
    color: #000;
}
.rules {
    margin-top: 20px;
    font-size: 13px;
    list-style-type: decimal;
    margin-left: 20px;
}