body { font-family: var(--lc-font-body, Arial, sans-serif); }

/* Contains the wide table's horizontal scroll inside itself, so the page
   document never grows wider than the viewport (that overflow was what
   pushed the header's fixed hamburger button out of place on mobile). */
.weather-scroll-wrap {
    max-width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    margin: 2% auto;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.12);
}

table {
    border-collapse: collapse;
    font-size: 12px;
    margin: 0 auto;
    border-radius: 12px;
    overflow: hidden;
}

th, td {
    border: 1px solid var(--lc-border);
    padding: 6px 10px;
    text-align: center;
    color: var(--lc-text-primary);
    vertical-align: middle;
}

th {
    background-color: var(--lc-bg-elevated);
    position: sticky;
    top: 0;
    z-index: 1;
    font-weight: 600;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    font-size: 11px;
}

tbody tr {
    transition: filter 0.15s ease;
}
tbody tr:hover {
    filter: brightness(1.08);
}

.wx-value {
    margin-top: 4px;
    font-size: 11px;
    white-space: nowrap;
}

/* ---- Wind: arrow + strength cubes, value shown below ---- */
.wind-visual {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
}

.wind-arrow {
    display: inline-block;
    line-height: 1;
}

.wind-cubes {
    display: inline-flex;
    align-items: flex-end;
}

.wind-cube {
    display: inline-block;
    width: 5px;
    height: 10px;
    margin: 1px;
    background-color: var(--lc-info);
}
.wind-cube-empty {
    display: inline-block;
    width: 5px;
    height: 10px;
    margin: 1px;
    background-color: var(--lc-border-light);
}

/* ---- Rain: 4-3-3 droplet block, value shown below ---- */
.droplet-grid {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
}

.droplet-row {
    display: flex;
    justify-content: center;
    gap: 2px;
}

.raindrop {
    display: inline-block;
    width: 9px;
    height: 9px;
    background-color: var(--lc-info);
    border-radius: 0 50% 50% 50%;
    transform: rotate(45deg);
}
.raindrop-empty {
    display: inline-block;
    width: 9px;
    height: 9px;
    background-color: var(--lc-border-light);
    border-radius: 0 50% 50% 50%;
    transform: rotate(45deg);
}

.star { color: white; font-size: 10px; margin-right: 1px; }

@media (max-width: 600px) {
    .weather-scroll-wrap {
        border-radius: 8px;
        margin: 4% 2%;
    }
    table { font-size: 11px; }
    th, td { padding: 4px 6px; }
    .raindrop, .raindrop-empty { width: 8px; height: 8px; }
    .wx-value { font-size: 10px; }
}
