/* ============================================================
   home.css — Home area
   Shared components (card) in shared.css. Tokens in theme.css.
   ============================================================ */

.home-today-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-top: 8px;
}
.today-block {
    background: var(--sol-panel);
    border: 1px solid var(--sol-line);
    border-radius: var(--sol-radius);
    overflow: hidden;
    display: flex;
    flex-direction: column;
}
.today-head {
    padding: 10px 14px;
    font-family: var(--font-display);
    font-size: 14px;
    color: var(--sol-ink);
    border-bottom: 1px solid var(--sol-line);
    display: flex;
    flex-direction: row;
    align-items: baseline;
    flex-wrap: nowrap;
    gap: 8px;
}
.today-head span {
    font-family: var(--font-mono);
    font-size: 11px;
    color: var(--sol-amber);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}
.today-img {
    aspect-ratio: 3 / 2;
    position: relative;
    background: var(--sol-bg);
    overflow: hidden;
}
.today-img .gx-cell-val-top { color: #fff; font-size: 12px; }
.today-img .gx-cell-reg-top { font-size: 18px; }
.today-img .gx-cell-topreg { padding: 10px 14px 18px 14px; }
.today-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.today-img-none, .today-img-nopic {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    color: var(--sol-ink-dim);
    font-family: var(--font-mono);
    font-size: 12px;
}
.today-meta {
    padding: 10px 14px;
    display: flex;
    flex-direction: column;
    gap: 3px;
}
.today-reg {
    font-family: var(--font-display);
    font-size: 15px;
    color: var(--sol-ink);
}
.today-line {
    font-family: var(--font-mono);
    font-size: 12px;
    color: var(--sol-ink-dim);
}
.today-overlay {
    position: absolute;
    left: 0; right: 0; bottom: 0;
    padding: 20px 14px 10px;
    background: linear-gradient(transparent, rgba(0,0,0,0.78));
    display: flex;
    flex-direction: column;
    gap: 2px;
    pointer-events: none;
}
.today-overlay span {
    color: #fff;
    font-family: var(--font-mono);
    font-size: 12px;
    text-shadow: 0 1px 3px rgba(0,0,0,0.7);
    line-height: 1.3;
}
.today-flight {
    color: var(--sol-amber) !important;
    font-weight: 600;
}
.today-next {
    position: absolute;
    top: 8px; right: 8px;
    width: 32px; height: 32px;
    border-radius: 50%;
    border: none;
    background: rgba(0,0,0,0.55);
    color: #fff;
    font-size: 15px;
    cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    transition: background 0.15s;
    z-index: 2;
}
.today-next:hover {
    background: rgba(0,0,0,0.75);
    color: var(--sol-amber);
}
@media (max-width: 900px) {
    .home-today-grid { grid-template-columns: 1fr; }
}