/* Public Clemson NFL Draft page. Bump version_css_main after edits. */

.tn-draft {
    color: #1d1d1f;
    padding: 0 0 32px;
}

html.dark-mode .tn-draft {
    color: var(--dm-text-primary, #f1f5f9);
}

.tn-draft__hero {
    background: linear-gradient(125deg, #522d80 0%, #3a1f5c 58%, #2a1644 100%);
    color: #fff;
    border-radius: 12px;
    padding: 22px 20px 18px;
    margin-bottom: 14px;
}

.tn-draft__kicker {
    margin: 0 0 6px;
    color: #f56600;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.tn-draft h1 {
    margin: 0 0 6px;
    color: #fff;
    font: 400 clamp(26px, 4vw, 40px)/1.15 Georgia, serif;
}

.tn-draft__updated,
.tn-draft__stats,
.tn-draft__note {
    margin: 0 0 8px;
    color: rgba(255, 255, 255, 0.82);
    font-size: 14px;
}

.tn-draft__stats strong {
    color: #fff;
    font-weight: 700;
}

.tn-draft__note {
    margin-bottom: 0;
}

.tn-draft__tools {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 12px;
}

.tn-draft__rounds {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.tn-draft__round {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 36px;
    height: 34px;
    padding: 0 10px;
    border-radius: 8px;
    border: 1px solid #d9d4e2;
    background: #fff;
    color: #1d1d1f;
    font-weight: 700;
    text-decoration: none;
}

html.dark-mode .tn-draft__round {
    background: var(--dm-bg-elevated, #1e293b);
    border-color: rgba(255, 255, 255, 0.12);
    color: var(--dm-text-primary, #f1f5f9);
}

.tn-draft__round.is-active,
html.dark-mode .tn-draft__round.is-active {
    background: #f56600;
    border-color: #f56600;
    color: #fff;
}

.tn-draft__search input {
    border: 1px solid #d9d4e2;
    border-radius: 8px;
    padding: 8px 10px;
    min-width: 180px;
    font: inherit;
    background: #fff;
    color: #1d1d1f;
}

html.dark-mode .tn-draft__search input {
    background: var(--dm-bg-elevated, #1e293b);
    border-color: rgba(255, 255, 255, 0.12);
    color: var(--dm-text-primary, #f1f5f9);
}

.tn-draft__sr {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
}

.tn-draft__empty {
    color: #5a5a60;
}

html.dark-mode .tn-draft__empty {
    color: var(--dm-text-secondary, #bbb);
}

.tn-draft__table-wrap {
    overflow-x: auto;
}

.tn-draft__table {
    width: 100%;
    border-collapse: collapse;
}

.tn-draft__table th {
    text-align: left;
    font-size: 12px;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #5c5c66;
    padding: 0 8px 8px;
}

html.dark-mode .tn-draft__table th {
    color: var(--dm-text-muted, #a0a0a0);
}

.tn-draft__table td {
    padding: 10px 8px;
    border-top: 1px solid #ece7f2;
    vertical-align: middle;
}

html.dark-mode .tn-draft__table td {
    border-top-color: rgba(255, 255, 255, 0.08);
}

.tn-draft__name {
    font-weight: 700;
}

.tn-draft__name a,
.tn-draft__name a:visited {
    color: #522d80;
    text-decoration: none;
}

.tn-draft__name a:hover,
.tn-draft__name a:focus {
    text-decoration: underline;
}

html.dark-mode .tn-draft__name a,
html.dark-mode .tn-draft__name a:visited {
    color: var(--dm-text-primary, #f1f5f9);
}

.tn-draft__row--r1 td {
    background: #fff4ea;
}

html.dark-mode .tn-draft__row--r1 td {
    background: rgba(245, 102, 0, 0.16);
    color: var(--dm-text-primary, #f1f5f9);
}

@media (max-width: 720px) {
    .tn-draft__table thead {
        position: absolute;
        width: 1px;
        height: 1px;
        overflow: hidden;
        clip: rect(0, 0, 0, 0);
    }

    .tn-draft__table,
    .tn-draft__table tbody,
    .tn-draft__table tr,
    .tn-draft__table td {
        display: block;
        width: auto;
    }

    .tn-draft__table tr {
        margin: 0 0 10px;
        border: 1px solid #ece7f2;
        border-radius: 10px;
        padding: 8px 10px;
    }

    html.dark-mode .tn-draft__table tr {
        border-color: rgba(255, 255, 255, 0.12);
    }

    .tn-draft__row--r1,
    html.dark-mode .tn-draft__row--r1 {
        background: transparent;
    }

    .tn-draft__table td {
        display: flex;
        justify-content: space-between;
        gap: 12px;
        border: 0;
        padding: 4px 0;
    }

    .tn-draft__table td::before {
        content: attr(data-label);
        color: #6b6570;
        font-size: 12px;
        font-weight: 700;
    }

    html.dark-mode .tn-draft__table td::before {
        color: var(--dm-text-muted, #a0a0a0);
    }
}
