:root {
    --bg-light: #f0f0f0;
    --bg-dark: #1a1a1a;
    --primary: #404040;
    --secondary: #6b6b6b;
    --accent: #2c2c2c;
}
svg {
    width: 0.6em;
    height: 0.6em;
    vertical-align: middle;
    fill: currentColor;
    display: inline-block;
    margin-left: 5px;
}


body {
    font-family: Arial, sans-serif;
    font-size: 18px;
    line-height: 1.6;
    margin: 2rem auto;
    /* background: var(--bg-light); */
    color: #333;
    max-width: 1000px;
    padding: 0 20px;
    transition: all 0.3s ease;
}

.dark-mode {
    background: var(--bg-dark);
    color: #e0e0e0;
}

.mode-toggle {
    position: fixed;
    top: 20px;
    right: 20px;
    /* background: linear-gradient(to bottom, #5a5a5a, #3d3d3d); */
    color: white;
    border: none;
    padding: 8px 15px;
    border-radius: 15px;
    cursor: pointer;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}

.ranking-container {
    /* background: linear-gradient(to bottom, #ffffff, #f5f5f5); */
    border-radius: 8px;
    overflow-x: auto;
    white-space: nowrap;
    /* padding: 2rem;
    margin: 2rem 0; */
}

.dark-mode .ranking-container {
    background: linear-gradient(to bottom, #2d2d2d, #252525);
}

table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    border: 1px solid #b7b5b6;
    border-bottom-left-radius: 5px;
    border-bottom-right-radius: 5px;
}

th {
    background: #dfdfdf;
    padding: 12px 10px;
    border-bottom: 1px solid #b7b5b6;

    color: #555 !important;
    z-index: 100;
    padding: 6px 15px 4px;
    padding-right: 15px;
    line-height: 36px !important;
    text-decoration: none;
    font-weight: bold;
    
    position: relative;
    text-shadow: 0 1px 0 #fff;
}

.ttt {
    border-right: 1px solid #ccc;
    border-left: 1px solid #eee;
}
.f {
    border-right: 1px solid #ccc;
}
.fe {
    border-left: 1px solid #eee;
}

.dark-mode th {
    background: linear-gradient(to bottom, #404040, #303030);
}

td {
    padding: 12px 10px;
    border-bottom: 1px solid #ddd;
    border-right: 1px solid #eee;
}

.dark-mode td {
    border-color: #444;
}

.rank {
    font-weight: bold;
    color: var(--primary);
    width: 30px;
}

.rating {
    color: #e67e22;
    font-weight: 600;
}

.visit-btn {
    background: linear-gradient(to bottom, #6b6b6b, #505050);
    color: white;
    padding: 5px 12px;
    border-radius: 3px;
    text-decoration: none;
    border: 1px solid #555;
}

.visit-btn:hover {
    background: linear-gradient(to bottom, #505050, #404040);
}

/* .score-badge {
    background: #e0e0e0;
    padding: 3px 8px;
    border-radius: 10px;
} */

.dark-mode .score-badge {
    background: #333;
}

.h2 {
    margin-bottom: 1.5rem;
    border-bottom: 2px solid #ccc;
    padding-bottom: 10px;
}

a {
    color: #0A83A8;
}