.top100-site-shell {
    display: flex;
    min-height: 100vh;
    flex-direction: column;
}

.header-plain-links a.active {
    color: var(--teal-dark);
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 4px;
}

.top100-main {
    width: min(1380px, calc(100% - 34px));
    flex: 1 0 auto;
    padding: 48px 0 72px;
}

.top100-hero {
    max-width: 920px;
    margin: 0 auto 28px;
    text-align: center;
}

.top100-hero .eyebrow {
    margin-bottom: 12px;
}

.top100-hero h1 {
    margin-bottom: 14px;
    font-size: clamp(2rem, 4vw, 3.7rem);
}

.top100-intro {
    margin: 0;
    color: var(--text-soft);
    font-size: clamp(1rem, 1.4vw, 1.12rem);
}

.top100-card {
    padding: clamp(18px, 2.4vw, 32px);
    overflow: hidden;
    border: 1px solid rgba(219, 229, 235, 0.95);
    border-radius: var(--radius-lg);
    background: rgba(255, 255, 255, 0.98);
    box-shadow: var(--shadow);
}

.etc-price {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 18px;
    padding: 16px 18px;
    border: 1px solid #bfe8df;
    border-radius: 13px;
    background: linear-gradient(135deg, #f0fbf7 0%, #edf9fa 100%);
}

.etc-price-header {
    color: var(--text-soft);
    font-size: 0.9rem;
}

.etc-price-value {
    color: #078c5c;
    font-size: 1.08rem;
    font-weight: 600;
    white-space: nowrap;
}

.top100-card > .total-etc {
    margin: 0 0 14px;
    color: var(--text-soft);
    font-size: 0.9rem;
    font-weight: 500;
    text-align: right;
}

.top100-card table {
    width: 100%;
    min-width: 1120px;
    border-spacing: 0;
    border-collapse: separate;
    border: 1px solid var(--line);
    border-radius: 13px;
    color: var(--text);
    background: #ffffff;
}

.top100-card {
    overflow-x: auto;
}

.top100-card th,
.top100-card td {
    padding: 13px 12px;
    border-right: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    font-size: 0.82rem;
    line-height: 1.35;
    text-align: right;
    white-space: nowrap;
}

.top100-card tr:last-child td {
    border-bottom: 0;
}

.top100-card td:last-child {
    border-right: 0;
}

.top100-card .first-row td {
    color: var(--text-soft);
    background: var(--surface-muted);
    font-size: 0.74rem;
    font-weight: 500;
    letter-spacing: 0.04em;
}

.top100-card tr:not(.first-row):not(:last-child):hover td {
    background: #f3fbfa;
}

.top100-card .first-col {
    width: 54px;
    color: var(--muted);
    text-align: center;
}

.top100-card td:nth-child(2) {
    color: var(--blue);
    font-family: var(--mono);
    font-size: 0.76rem;
    text-align: left;
}

.top100-card td:nth-child(2) b,
.top100-card .first-col b {
    font-weight: 500;
}

.top100-card table .total-etc {
    padding: 16px;
    color: #078c5c;
    background: var(--green-soft);
    font-size: 0.9rem;
    font-weight: 600;
    text-align: right;
}

@media (max-width: 1040px) {
    .top100-main {
        padding-top: 38px;
    }
}

@media (max-width: 640px) {
    .top100-main {
        width: min(100% - 20px, 1380px);
        padding: 30px 0 48px;
    }

    .top100-hero {
        margin-bottom: 20px;
        text-align: left;
    }

    .top100-hero h1 {
        font-size: 2rem;
        line-height: 1.08;
    }

    .top100-card {
        padding: 12px;
        border-radius: 14px;
    }

    .etc-price {
        align-items: flex-start;
        flex-direction: column;
        gap: 5px;
        padding: 13px 14px;
    }

    .top100-card > .total-etc {
        text-align: left;
    }

    .top100-card th,
    .top100-card td {
        padding: 11px 10px;
    }
}
