/* 积分用户端：对齐图床 / 测速页（base.html + hero + 白卡片） */

:root {
    --primary-green: #059669;
    --dark-green: #047857;
    --hover-green: #047857;
    --light-green: #ecfdf5;
    --white: #ffffff;
    --black: #111111;
    --gray-light: #f8f9fa;
    --gray: #6b7280;
    --gray-200: #e5e7eb;
    --gray-800: #1f2937;

    --dragon-horn-primary: #059669;
    --dragon-horn-dark: #047857;
    --dragon-horn-light: #d1fae5;

    --dragon-scale-primary: #10b981;
    --dragon-scale-dark: #059669;
    --dragon-scale-light: #d1fae5;

    --points-increase: #059669;
    --points-decrease: #111111;
}

.sc-page {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 0 2rem;
}

.sc-hero {
    background: #fff;
    border: 1px solid rgba(0, 0, 0, .08);
    border-radius: 16px;
    padding: 1.5rem 1.5rem 1.25rem;
    margin-bottom: 1.25rem;
    box-shadow: 0 12px 40px rgba(5, 150, 105, .06);
}

.sc-kicker {
    font-size: .7rem;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: #059669;
    font-weight: 600;
    margin-bottom: .35rem;
}

.sc-hero-headline {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: flex-start;
    gap: .75rem 1rem;
    margin-bottom: .75rem;
}

.sc-hero-titles {
    flex: 1;
    min-width: 200px;
}

.sc-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #111;
    letter-spacing: -.02em;
    margin: 0;
    line-height: 1.3;
}

.sc-hero-aside {
    display: flex;
    flex-wrap: wrap;
    gap: .5rem;
    align-items: center;
    justify-content: flex-end;
    flex-shrink: 0;
}

.sc-pill {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    font-size: .8rem;
    font-weight: 600;
    padding: .35rem .75rem;
    border-radius: 999px;
    background: #ecfdf5;
    color: #047857;
}

.sc-pill.is-off {
    background: #f3f4f6;
    color: #4b5563;
}

.sc-highlights {
    list-style: none;
    padding: 0;
    margin: 0;
}

.sc-highlights li {
    position: relative;
    padding-left: 1.35rem;
    margin-bottom: .5rem;
    font-size: .92rem;
    line-height: 1.45;
    color: #1f2937;
}

.sc-highlights li:last-child {
    margin-bottom: 0;
}

.sc-highlights li::before {
    content: '';
    position: absolute;
    left: 0;
    top: .55rem;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #10b981;
}

.sc-meta-note {
    font-size: .78rem;
    color: #374151;
    margin: .65rem 0 0;
    padding: .5rem 0 .15rem .75rem;
    border-left: 3px solid #059669;
    line-height: 1.55;
}

.sc-btn-primary,
a.sc-btn-primary,
a.sc-btn-primary:link,
a.sc-btn-primary:visited,
a.sc-btn-primary:hover,
a.sc-btn-primary:focus,
a.sc-btn-primary:active {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #059669;
    border: none;
    color: #fff !important;
    -webkit-text-fill-color: #fff !important;
    font-weight: 600;
    font-size: .85rem;
    padding: .5rem 1.25rem;
    border-radius: 10px;
    text-decoration: none;
    cursor: pointer;
}

.sc-btn-primary:hover,
a.sc-btn-primary:hover {
    background: #047857;
    color: #fff !important;
    -webkit-text-fill-color: #fff !important;
}

.sc-btn-ghost,
a.sc-btn-ghost,
a.sc-btn-ghost:link,
a.sc-btn-ghost:visited,
a.sc-btn-ghost:hover,
a.sc-btn-ghost:focus,
a.sc-btn-ghost:active {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    border: 1px solid #059669;
    color: #059669 !important;
    -webkit-text-fill-color: #059669 !important;
    font-weight: 600;
    font-size: .85rem;
    padding: .5rem 1.1rem;
    border-radius: 10px;
    text-decoration: none;
    cursor: pointer;
}

.sc-btn-ghost:hover,
a.sc-btn-ghost:hover {
    background: #ecfdf5;
    color: #047857 !important;
    -webkit-text-fill-color: #047857 !important;
}

.sc-btn-compact {
    padding: .4rem .95rem;
    font-size: .8rem;
    border-radius: 9px;
}

.sc-subnav {
    display: flex;
    flex-wrap: wrap;
    gap: .35rem;
    padding: .3rem;
    background: #f3f4f6;
    border-radius: 12px;
    margin-bottom: 1rem;
}

.sc-subnav-item,
a.sc-subnav-item {
    flex: 1 1 auto;
    text-align: center;
    padding: .55rem .7rem;
    border-radius: 10px;
    font-weight: 600;
    font-size: .85rem;
    color: #4b5563 !important;
    -webkit-text-fill-color: #4b5563 !important;
    text-decoration: none;
    background: transparent;
}

.sc-subnav-item:hover,
a.sc-subnav-item:hover {
    background: rgba(255, 255, 255, .65);
    color: #047857 !important;
    -webkit-text-fill-color: #047857 !important;
}

.sc-subnav-item.is-active,
a.sc-subnav-item.is-active,
a.sc-subnav-item.is-active:link,
a.sc-subnav-item.is-active:visited,
a.sc-subnav-item.is-active:hover,
a.sc-subnav-item.is-active:focus,
a.sc-subnav-item.is-active:active {
    background: #fff;
    color: #047857 !important;
    -webkit-text-fill-color: #047857 !important;
    box-shadow: 0 1px 3px rgba(0, 0, 0, .08);
}

button.sc-subnav-share {
    flex: 0 0 auto;
    border: none;
    cursor: pointer;
    color: #059669 !important;
    -webkit-text-fill-color: #059669 !important;
}

@media (max-width: 576px) {
    .sc-hero-aside {
        justify-content: flex-start;
        width: 100%;
    }
}
