:root {
    --bg: #f7f5ef;
    --surface: #ffffff;
    --surface-alt: #fff6e0;
    --text: #14315d;
    --text-dim: #6b7a8f;
    --accent-gold: #f6a800;
    --accent-blue: #1b4f91;
    --accent-green: #8dc63f;
    --border: #e3ddd0;
    --radius: 14px;
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    min-height: 100vh;
    background: var(--bg);
    color: var(--text);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    display: flex;
    justify-content: center;
    padding: 32px 16px;
}

.wrapper {
    width: 100%;
    max-width: 560px;
}

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

.logo {
    height: 96px;
    width: auto;
    display: block;
    margin: 0 auto 14px;
}

h1 {
    display: inline-block;
    font-size: 1.7rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    margin: 0 0 8px;
    color: var(--accent-blue);
    background: var(--accent-gold);
    padding: 6px 18px;
    border-radius: 6px;
}

.subtitle {
    color: var(--text-dim);
    margin: 0;
    font-size: 0.95rem;
}

.notice {
    background: var(--surface-alt);
    border: 1px solid var(--accent-gold);
    color: #7a5300;
    border-radius: var(--radius);
    padding: 14px 16px;
    font-size: 0.9rem;
    margin-bottom: 20px;
}

.current-values {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
    margin-bottom: 12px;
}

.card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-top: 4px solid var(--accent-gold);
    border-radius: var(--radius);
    padding: 22px 18px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    box-shadow: 0 1px 3px rgba(20, 49, 93, 0.06);
    transition: box-shadow 0.3s ease;
}

.card:hover {
    box-shadow: 0 10px 22px rgba(20, 49, 93, 0.16);
    animation: card-float 2s ease-in-out infinite;
}

@keyframes card-float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-6px); }
}

.card:last-child {
    border-top-color: var(--accent-blue);
}

.card .label {
    color: var(--text-dim);
    font-size: 0.85rem;
    margin-bottom: 8px;
}

.card .value {
    font-size: 2.1rem;
    font-weight: 700;
    letter-spacing: -0.02em;
}

.card:first-child .value {
    color: var(--accent-gold);
}

.card:last-child .value {
    color: var(--accent-blue);
}

.timestamp {
    text-align: center;
    color: var(--text-dim);
    font-size: 0.85rem;
    margin: 4px 0 28px;
}

.stats-24h {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 20px;
    box-shadow: 0 1px 3px rgba(20, 49, 93, 0.06);
}

.stats-24h h2 {
    font-size: 1.05rem;
    margin: 0 0 14px;
    font-weight: 600;
    color: var(--accent-blue);
}

table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.92rem;
}

th, td {
    text-align: left;
    padding: 8px 6px;
}

thead th {
    color: var(--text-dim);
    font-weight: 500;
    border-bottom: 1px solid var(--border);
}

tbody td:first-child {
    color: var(--text-dim);
}

tbody tr:not(:last-child) td {
    border-bottom: 1px solid var(--border);
}

.meta {
    color: var(--text-dim);
    font-size: 0.82rem;
    margin: 12px 0 0;
}

footer {
    text-align: center;
    color: var(--text-dim);
    font-size: 0.8rem;
    margin-top: 24px;
}