/* Classic RO patcher news panel — matches Thor launcher inner frame */

html {
    overflow-x: hidden;
    overflow-y: auto;
}

body {
    font-family: Tahoma, "MS Sans Serif", Arial, sans-serif;
    font-size: 12px;
    line-height: 1.45;
    color: #1a1a1a;
    background-color: #e4e4e4;
    margin: 0;
    padding: 8px 16px 10px 10px;
    word-wrap: break-word;
    overflow-wrap: break-word;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;

    /* IE / legacy embedded browser scrollbar */
    scrollbar-face-color: #a8b0bc;
    scrollbar-track-color: #d8dce2;
    scrollbar-arrow-color: #4a5568;
    scrollbar-shadow-color: #707880;
    scrollbar-highlight-color: #dce0e6;
    scrollbar-3dlight-color: #dce0e6;
    scrollbar-darkshadow-color: #505860;
}

/* Individual news entries */
.news-item {
    margin: 0 0 16px 0;
    padding: 0 0 14px 0;
    border-bottom: 1px dotted #9a9a9a;
}

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

/* Headline */
.news-title {
    display: block;
    margin: 0 0 5px 0;
    font-size: 16px;
    font-weight: bold;
    line-height: 1.25;
    color: #000000;
    letter-spacing: -0.2px;
}

/* Body copy */
.news-text {
    margin: 0 0 6px 0;
    font-size: 12px;
    line-height: 1.5;
    color: #222222;
}

.news-text p {
    margin: 0 0 8px 0;
}

.news-text p:last-child {
    margin-bottom: 0;
}

.news-text strong,
.news-text b {
    color: #000000;
    font-weight: bold;
}

.news-text a {
    color: #004488;
    text-decoration: underline;
}

.news-text a:hover {
    color: #0066bb;
}

.news-text a:visited {
    color: #553388;
}

/* Timestamp — sits below each entry */
.news-meta {
    display: block;
    margin: 4px 0 0 0;
    font-size: 11px;
    font-style: italic;
    line-height: 1.3;
    color: #666666;
}

.news-empty {
    padding: 24px 0;
    text-align: center;
    font-size: 12px;
    font-style: italic;
    color: #777777;
}

/* WebKit scrollbar — metallic, matches launcher frame */
::-webkit-scrollbar {
    width: 16px;
}

::-webkit-scrollbar-track {
    background: linear-gradient(to right, #c8ccd4 0%, #d8dce2 50%, #c8ccd4 100%);
    border-left: 1px solid #9098a4;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(to right, #98a0ac 0%, #b0b8c4 40%, #889098 100%);
    border: 1px solid #606870;
    border-radius: 0;
    min-height: 32px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(to right, #889098 0%, #a0a8b4 40%, #788088 100%);
}

::-webkit-scrollbar-button:single-button {
    display: block;
    height: 16px;
    background: linear-gradient(to bottom, #c8ccd4 0%, #a8b0bc 50%, #9098a4 100%);
    border: 1px solid #606870;
}

::-webkit-scrollbar-button:single-button:vertical:decrement {
    border-bottom: none;
}

::-webkit-scrollbar-button:single-button:vertical:increment {
    border-top: none;
}
