* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
  background-color: #f9f9f9;
}

body {
    font-family: Verdana, Geneva, sans-serif;
    font-size: 10pt;
    background-color: #f6f6ef;
    color: #000;
    line-height: 1.4;
    max-width: 80vw;
    margin: 20px auto 0;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 10px;
}

.header {
    background-color: #2cb27b;
}

.header .container {
    display: flex;
    align-items: center;
    padding: 2px 10px;
    min-height: 24px;
}

.logo {
    font-size: 13pt;
    font-weight: bold;
    color: #000;
    margin-right: 20px;
    text-decoration: none;
}

.nav {
    display: flex;
    gap: 15px;
}

.nav-link {
    color: #000;
    text-decoration: none;
    font-size: 10pt;
    padding: 2px 4px;
}

.nav-link:hover {
    text-decoration: underline;
}

.nav-link.active {
    font-weight: bold;
}

.main {
    background-color: #f6f6ef;
    padding: 10px 0;
}

.news-list {
    background-color: #f6f6ef;
}

.news-item {
    display: flex;
    padding: 5px 0;
}

.news-item:last-child {
    border-bottom: none;
}

.vote-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-right: 10px;
    min-width: 30px;
}

.vote-btn {
    background: none;
    border: none;
    font-size: 12px;
    color: #828282;
    cursor: pointer;
}

.vote-btn:hover {
    color: #ff6600;
}

.vote-btn.voted {
    color: #ff6600;
}

.score {
    font-size: 8pt;
    color: #828282;
    text-align: center;
}

.content {
    flex: 1;
}

.title {
    font-size: 10pt;
    font-weight: normal;
    margin-bottom: 3px;
    line-height: 1.2;
}

.title-link {
    color: #000;
    text-decoration: none;
}

.title-link:visited {
    color: #828282;
}

.title-link:hover {
    text-decoration: underline;
}

.domain {
    color: #828282;
    font-size: 8pt;
    margin-left: 5px;
}

.meta {
    font-size: 7pt;
    color: #828282;
    line-height: 1.3;
}

.meta a {
    color: #828282;
    text-decoration: none;
}

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

.author-link {
    color: #3c963c !important;
}

.comments-link {
    color: #828282;
}

.separator {
    margin: 0 5px;
}

.points {
    margin-right: 5px;
}

.author {
    margin-right: 5px;
}

.time {
    margin-right: 5px;
}

@media (max-width: 768px) {
    .header .container {
        flex-direction: column;
        align-items: flex-start;
        gap: 5px;
    }
    
    .logo {
        margin-right: 0;
    }
    
    .nav {
        gap: 10px;
        flex-wrap: wrap;
    }
    
    .vote-section {
        min-width: 25px;
        margin-right: 8px;
    }
    
    .title {
        font-size: 9pt;
    }
    
    .meta {
        font-size: 6pt;
    }
}
