/* Homepage dashboard: compact, functional, no decorative filler. */

.homepage-dashboard {
    width: min(100%, 1040px);
    margin: 0 auto;
}

.home-dashboard-sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.home-snapshot {
    display: grid;
    grid-template-columns: minmax(0, 1.5fr) minmax(280px, .5fr);
    gap: .5rem;
    margin-bottom: .85rem;
}

.home-panel {
    min-width: 0;
    border: 1px solid #454545;
    background: #090909;
}

.home-panel-heading {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: .55rem;
    padding: .36rem .5rem;
    border-bottom: 1px solid #353535;
}

.home-panel-heading h2,
.home-panel-heading h3 {
    margin: 0;
    color: #fff;
    font-family: "Gobold", Impact, sans-serif;
    line-height: 1;
    text-transform: uppercase;
}

.home-panel-heading h2 { font-size: 1rem; }
.home-panel-heading h3 { font-size: .9rem; }

.home-panel-heading a,
.home-panel-heading span {
    color: #8b8b8b;
    font: 700 .48rem/1.2 "Courier New", monospace;
    letter-spacing: .04em;
    text-transform: uppercase;
}

.home-panel-heading a:hover,
.home-panel-heading a:focus-visible {
    color: #fff;
}

.home-next-card {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: .7rem;
    align-items: end;
    padding: .58rem .62rem;
}

.home-next-promotion {
    margin: 0 0 .16rem;
    color: var(--accent, #ff4a54);
    font: 700 .54rem/1 "Courier New", monospace;
    letter-spacing: .09em;
    text-transform: uppercase;
}

.home-next-card h2 {
    margin: 0;
    color: #fff;
    font-family: "Gobold", Impact, sans-serif;
    font-size: clamp(1.45rem, 3.8vw, 2.55rem);
    line-height: .94;
    text-transform: uppercase;
    text-wrap: balance;
}

.home-next-meta,
.home-next-main {
    margin: .28rem 0 0;
    font-family: "Courier New", monospace;
}

.home-next-meta {
    color: #aaa;
    font-size: .56rem;
    line-height: 1.35;
}

.home-next-main {
    color: #fff;
    font-size: .6rem;
    font-weight: 700;
}

.home-next-actions {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: .32rem;
    min-width: 112px;
}

.home-next-actions a,
.home-tool-link {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 36px;
    border: 1px solid #606060;
    background: #111;
    color: #fff;
    font: 700 .52rem/1 "Courier New", monospace;
    letter-spacing: .04em;
    text-align: center;
    text-decoration: none;
    text-transform: uppercase;
}

.home-next-actions a:first-child {
    border-color: #fff;
    background: #fff;
    color: #000;
}

.home-next-actions a:hover,
.home-next-actions a:focus-visible,
.home-tool-link:hover,
.home-tool-link:focus-visible {
    border-color: var(--accent, #ff4a54);
}

.home-tools {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: .28rem;
    padding: .36rem;
}

.home-tool-link {
    min-height: 54px;
    padding: .38rem;
}

.home-dashboard .featured-section {
    margin-bottom: .85rem;
}

.home-dashboard .section-header {
    margin-bottom: .36rem;
}

.home-dashboard .section-header > h2 {
    margin: 0;
}

.home-live-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.3fr) minmax(280px, .7fr);
    gap: .5rem;
    margin-bottom: .9rem;
}

.home-news-list,
.home-otd-body,
.home-roster-body {
    min-width: 0;
}

.home-news-list {
    display: grid;
}

.home-news-item {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: .45rem;
    align-items: baseline;
    padding: .5rem .55rem;
    border-top: 1px solid #262626;
}

.home-news-item:first-child {
    border-top: 0;
}

.home-news-item a {
    color: #f3f3f3;
    font-family: Arial, sans-serif;
    font-size: .8rem;
    font-weight: 700;
    line-height: 1.2;
    text-decoration: none;
}

.home-news-item a:hover,
.home-news-item a:focus-visible {
    color: var(--accent, #ff4a54);
}

.home-news-item span {
    color: #777;
    font: 700 .44rem/1.2 "Courier New", monospace;
    text-align: right;
    text-transform: uppercase;
}

.home-side-stack {
    display: grid;
    align-content: start;
    gap: .5rem;
}

.home-otd-body,
.home-roster-body {
    padding: .54rem .58rem;
}

.home-otd-year {
    display: block;
    margin-bottom: .16rem;
    color: var(--accent, #ff4a54);
    font: 700 .48rem/1 "Courier New", monospace;
    letter-spacing: .06em;
    text-transform: uppercase;
}

.home-otd-title,
.home-roster-name {
    margin: 0;
    color: #fff;
    font-family: "Gobold", Impact, sans-serif;
    font-size: 1.08rem;
    line-height: 1;
    text-transform: uppercase;
}

.home-otd-copy,
.home-roster-meta,
.home-dashboard-loading {
    margin: .3rem 0 0;
    color: #8d8d8d;
    font: 400 .54rem/1.35 "Courier New", monospace;
}

.home-dashboard-loading {
    padding: .54rem .58rem;
}

.home-side-link {
    display: inline-block;
    margin-top: .38rem;
    color: #fff;
    font: 700 .48rem/1 "Courier New", monospace;
    letter-spacing: .04em;
    text-transform: uppercase;
}

.home-side-link:hover,
.home-side-link:focus-visible {
    color: var(--accent, #ff4a54);
}

.home-dashboard .latest-section {
    margin-top: 0;
}

@media (max-width: 820px) {
    .home-snapshot,
    .home-live-grid {
        grid-template-columns: 1fr;
    }

    .home-tools {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }

    .home-tool-link {
        min-height: 46px;
    }

    .home-side-stack {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 620px) {
    .homepage-dashboard {
        width: 100%;
    }

    .home-snapshot,
    .home-live-grid,
    .home-dashboard .featured-section {
        margin-bottom: .7rem;
    }

    .home-next-card {
        grid-template-columns: 1fr;
        gap: .5rem;
    }

    .home-next-actions {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        min-width: 0;
    }

    .home-tools {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .home-side-stack {
        grid-template-columns: 1fr;
    }

    .home-news-item {
        grid-template-columns: 1fr;
        gap: .16rem;
    }

    .home-news-item span {
        text-align: left;
    }
}

@media (max-width: 390px) {
    .home-next-actions {
        grid-template-columns: 1fr;
    }

    .home-next-card h2 {
        font-size: clamp(1.42rem, 9.5vw, 2.05rem);
    }

    .home-tool-link {
        min-height: 42px;
    }
}
