/* Shared content polish for tables, outfits, guild logos. */

#content,
#content .post,
.dbt-wiki {
    color: #e8ecf4;
}

#content h1,
#content h2,
#content .post h1 {
    margin: 0 0 12px;
    color: #f0e6c8;
    font: 700 20px/1.3 Arial, Helvetica, sans-serif;
}

#content a,
.dbt-wiki a {
    color: #e8b84a;
}

#content a:hover,
.dbt-wiki a:hover {
    color: #ffd76a;
}

#content table,
#highscoresTable,
#onlinelistTable {
    width: 100%;
    border-collapse: collapse;
    background: rgba(12, 14, 20, 0.72);
    border: 1px solid rgba(232, 184, 74, 0.22);
    border-radius: 8px;
    overflow: hidden;
}

#content table td,
#content table th,
#highscoresTable td,
#highscoresTable th,
#onlinelistTable td,
#onlinelistTable th {
    padding: 10px 12px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    color: #e8ecf4;
    vertical-align: middle;
    text-align: left;
}

#content table tr.yellow td,
#content table tr.yellow th,
#highscoresTable tr.yellow td,
#onlinelistTable tr.yellow th {
    background: rgba(232, 184, 74, 0.12);
    color: #f0e6c8;
    font-weight: 700;
}

#content table tr:hover td,
#highscoresTable tr:hover td,
#onlinelistTable tr:hover td {
    background: rgba(255, 255, 255, 0.03);
}

img.dbt-outfit,
.outfitColumn img,
.profile-portrait img {
    display: block;
    width: 64px;
    height: 64px;
    object-fit: contain;
    object-position: center bottom;
    overflow: visible;
    image-rendering: pixelated;
    background: rgba(0, 0, 0, 0.25);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 8px;
}

.dbt-top-player {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0 0 10px;
    min-height: 56px;
}

.dbt-top-player .dbt-outfit {
    width: 56px;
    height: 56px;
    flex: 0 0 56px;
}

.dbt-top-player-meta {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}

.dbt-top-player-meta a {
    color: #e8b84a;
    font-weight: 700;
    text-decoration: none;
    overflow-wrap: anywhere;
}

.dbt-top-player-meta span {
    color: #aeb6c6;
    font-size: 12px;
}

img.dbt-guild-logo {
    display: block;
    max-width: 96px;
    max-height: 96px;
    margin: 0 auto 8px;
    object-fit: contain;
    background: rgba(0, 0, 0, 0.25);
    border: 1px solid rgba(232, 184, 74, 0.28);
    border-radius: 8px;
}

#content form select,
#content form input[type="submit"],
#content form .btn {
    margin: 0 4px 10px 0;
    padding: 8px 10px;
    color: #f2f4f8;
    background: #10131b;
    border: 1px solid rgba(232, 184, 74, 0.35);
    border-radius: 8px;
}

#content form input[type="submit"]:hover,
#content form .btn:hover {
    border-color: #e8b84a;
}

#left .mod-menu ul.menu a,
#right .mod-menu ul.menu a {
    color: #d7dde8;
}

#left .mod-menu ul.menu a:hover,
#right .mod-menu ul.menu a:hover {
    color: #e8b84a;
}

#left .mod-menu ul.menu a.library-wiki,
#left .mod-menu ul.menu a.library-wiki span,
#right .mod-menu ul.menu a.library-wiki,
#right .mod-menu ul.menu a.library-wiki span {
    color: #e53935;
    font-weight: 700;
}

#left .mod-menu ul.menu a.library-wiki:hover,
#left .mod-menu ul.menu a.library-wiki:hover span,
#right .mod-menu ul.menu a.library-wiki:hover,
#right .mod-menu ul.menu a.library-wiki:hover span {
    color: #ff5252;
}
