:root {
    --bg: #f5f0e8;
    --text: #333;
    --link: #8B4513;
    --header-bg: #f0e6d3;
    --table-header: #4a3728;
    --table-alt: #f9f5ef;
    --table-border: #d4c9b8;
}

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

body {
    font-family: Georgia, "Times New Roman", serif;
    background: var(--bg) url(/images/baloon.gif) no-repeat center 80px;
    color: var(--text);
    line-height: 1.6;
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 20px;
}

header {
    text-align: center;
    margin-bottom: 30px;
}

.header-content {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 20px;
    margin-bottom: 15px;
}

.header-img {
    max-height: 120px;
}

.header-text {
    padding-top: 10px;
}

.header-text h1 {
    font-size: 1.6em;
    line-height: 1.3;
}

.header-text h1 small {
    font-size: 0.6em;
    font-weight: normal;
}

.header-text h1 a {
    color: var(--link);
    text-decoration: none;
}

nav {
    font-size: 1.1em;
    padding: 10px 0;
    border-bottom: 1px solid var(--table-border);
}

nav a {
    color: var(--link);
    text-decoration: none;
    padding: 0 4px;
}

nav a:hover {
    text-decoration: underline;
}

main {
    min-height: 300px;
    margin: 30px 0;
}

.intro {
    max-width: 800px;
    margin: 0 auto;
    font-size: 1.15em;
    text-align: left;
}

.data-table {
    width: 100%;
    border-collapse: collapse;
    border: 1px solid var(--table-border);
    font-size: 0.9em;
}

.data-table thead th {
    background: var(--table-header);
    color: white;
    padding: 8px 10px;
    text-align: left;
    cursor: pointer;
    user-select: none;
    white-space: nowrap;
}

.data-table thead th:hover {
    background: #5d4a3a;
}

.data-table thead th::after {
    content: " ↕";
    opacity: 0.4;
    font-size: 0.8em;
}

.data-table thead th.sort-asc::after {
    content: " ▲";
    opacity: 1;
}

.data-table thead th.sort-desc::after {
    content: " ▼";
    opacity: 1;
}

.data-table tbody td {
    padding: 6px 10px;
    border-bottom: 1px solid var(--table-border);
}

.data-table tbody tr:nth-child(even) {
    background: var(--table-alt);
}

.data-table tbody tr:hover {
    background: #e8dfd0;
}

.data-table a {
    color: var(--link);
}

footer {
    text-align: left;
    padding-top: 20px;
    border-top: 1px solid var(--table-border);
    color: #666;
}

footer a {
    color: var(--link);
}
