/* ==========================================================================
   2026 UI refresh
   ========================================================================== */

html {
    scroll-behavior: smooth;
}

body.site-body {
    font-size: 15px;
}

.brand__name {
    font-size: 18px;
}

.brand__tag {
    font-size: 9.5px;
    letter-spacing: .08em;
}

.sidebar__label {
    padding-top: 10px;
    font-size: 10.5px;
    letter-spacing: .08em;
}

.cat-link {
    min-height: 44px;
    gap: 10px;
    padding: 6px 9px;
}

.cat-link__name {
    font-size: 14px;
    font-weight: 560;
}

.cat-link__count {
    min-width: 23px;
    font-size: 10.5px;
}

.cat-link__icon {
    width: 29px;
    height: 29px;
    flex-basis: 29px;
    color: #fff;
    background: linear-gradient(145deg, var(--cat-a, #c7c2ff), var(--cat-b, #7d77e8));
    box-shadow: 0 4px 10px color-mix(in srgb, var(--cat-b, #7d77e8) 24%, transparent);
}

.cat-link.is-active .cat-link__icon {
    color: #fff;
    background: linear-gradient(145deg, var(--cat-a, #c7c2ff), var(--cat-b, #7d77e8));
    box-shadow: 0 5px 13px color-mix(in srgb, var(--cat-b, #7d77e8) 32%, transparent);
}

.cat-link__icon .icon {
    width: 15px;
    height: 15px;
}

.side-note p {
    font-size: 12px;
}

.topbar h1 {
    font-size: 29px;
}

.eyebrow {
    font-size: 10px;
    letter-spacing: .1em;
}

.search__input {
    font-size: 13.5px;
}

.quick-admin {
    position: relative;
    overflow: hidden;
    border: 2px solid rgba(255, 255, 255, .9);
    color: #fff;
    background: linear-gradient(135deg, #ff9aa9 0%, #a493ff 46%, #53d7c4 100%);
    box-shadow: 0 9px 22px rgba(126, 109, 221, .22);
}

.quick-admin::after {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 25% 18%, rgba(255, 255, 255, .55), transparent 46%);
    pointer-events: none;
}

.quick-admin .icon {
    position: relative;
    z-index: 1;
    width: 19px;
    height: 19px;
    filter: drop-shadow(0 1px 2px rgba(72, 51, 124, .22));
}

.quick-admin:hover {
    color: #fff;
    background: linear-gradient(135deg, #ff8d9e 0%, #9582ff 46%, #3dd2bd 100%);
    transform: translateY(-2px);
    box-shadow: 0 13px 27px rgba(126, 109, 221, .28);
}

.hero {
    min-height: 250px;
    padding: 28px 32px;
}

.hero__copy {
    width: 56%;
    max-width: 620px;
}

.hero h2 {
    font-size: clamp(31px, 2.65vw, 39px);
    line-height: 1.24;
    letter-spacing: -.06em;
}

.hero__meta {
    margin-top: 20px;
    font-size: 11.5px;
}

.hero__meta strong {
    font-size: 13px;
}

.hero__art {
    pointer-events: auto;
    right: 22px;
    width: 390px;
    height: 222px;
}

.spotlight-card {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    width: 100%;
    height: 100%;
    padding: 16px 17px 13px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, .93);
    border-radius: 23px;
    background:
        radial-gradient(240px 150px at 100% 0%, rgba(212, 203, 255, .4), transparent 70%),
        linear-gradient(145deg, rgba(255, 255, 255, .9), rgba(250, 250, 255, .7));
    box-shadow: 0 22px 50px rgba(73, 83, 142, .15), 0 1px 0 rgba(255, 255, 255, .95) inset;
    transform: rotate(-1.2deg);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
}

.spotlight-head,
.spotlight-foot {
    position: relative;
    z-index: 3;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.spotlight-kicker {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    color: #6d748c;
    font-size: 10.5px;
    font-weight: 680;
}

.spotlight-kicker .icon {
    width: 14px;
    height: 14px;
    color: var(--accent-ink);
}

.spotlight-counter {
    color: #9ba1b4;
    font-size: 9px;
    font-variant-numeric: tabular-nums;
}

.spotlight-counter b {
    color: #5e657d;
    font-size: 11px;
}

.spotlight-stage {
    position: relative;
    z-index: 2;
    flex: 1;
    min-height: 110px;
    margin: 7px 0 8px;
}

.spotlight-slide {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 11px 12px;
    border: 1px solid rgba(255, 255, 255, .82);
    border-radius: 16px;
    background: rgba(255, 255, 255, .5);
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px) scale(.985);
    transition: opacity .35s ease, transform .35s ease, visibility .35s ease;
}

.spotlight-slide.is-active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
}

.spotlight-app {
    display: grid;
    place-items: center;
    flex: 0 0 58px;
}

.spotlight-app .site-icon,
.site-icon--spotlight {
    width: 58px;
    height: 58px;
    flex-basis: 58px;
    border-radius: 17px;
    border: 1px solid rgba(255, 255, 255, .9);
    box-shadow: 0 9px 20px rgba(67, 76, 128, .16);
}

.spotlight-copy {
    display: flex;
    flex-direction: column;
    min-width: 0;
    flex: 1;
    gap: 2px;
}

.spotlight-meta {
    display: flex;
    align-items: center;
    gap: 5px;
    color: #9aa0b2;
    font-size: 9px;
    font-weight: 600;
}

.spotlight-meta i {
    padding: 1px 5px;
    border-radius: 4px;
    color: #4e81b8;
    background: rgba(112, 166, 227, .13);
    font-style: normal;
}

.spotlight-copy strong {
    overflow: hidden;
    color: #2b3044;
    font-size: 17px;
    font-weight: 720;
    letter-spacing: -.04em;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.spotlight-desc {
    display: -webkit-box;
    overflow: hidden;
    color: #7f8599;
    font-size: 10.5px;
    line-height: 1.5;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.spotlight-arrow {
    display: grid;
    place-items: center;
    width: 28px;
    height: 28px;
    flex: 0 0 28px;
    border-radius: 9px;
    color: #fff;
    background: var(--accent);
    box-shadow: 0 6px 14px color-mix(in srgb, var(--accent) 28%, transparent);
}

.spotlight-arrow .icon {
    width: 14px;
    height: 14px;
}

.spotlight-apps {
    display: flex;
    align-items: center;
    gap: 5px;
}

.spotlight-app-btn {
    display: grid;
    place-items: center;
    width: 28px;
    height: 28px;
    padding: 0;
    overflow: hidden;
    border: 1px solid transparent;
    border-radius: 8px;
    background: transparent;
    opacity: .5;
    transition: opacity .2s ease, transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}

.spotlight-app-btn .site-icon,
.site-icon--tiny {
    width: 24px;
    height: 24px;
    flex-basis: 24px;
    border-radius: 7px;
    box-shadow: none;
}

.spotlight-app-btn:hover {
    opacity: .9;
    transform: translateY(-1px);
}

.spotlight-app-btn.is-active {
    opacity: 1;
    border-color: color-mix(in srgb, var(--accent) 45%, #fff);
    box-shadow: 0 0 0 2px color-mix(in srgb, var(--accent) 13%, transparent);
}

.spotlight-tip {
    color: #a0a5b6;
    font-size: 9px;
    white-space: nowrap;
}

.spotlight-glow {
    position: absolute;
    z-index: 1;
    border-radius: 50%;
    pointer-events: none;
}

.spotlight-glow--one {
    width: 160px;
    height: 160px;
    top: -38px;
    right: -34px;
    background: radial-gradient(circle, rgba(207, 195, 255, .5), transparent 70%);
}

.spotlight-glow--two {
    width: 130px;
    height: 130px;
    bottom: -42px;
    left: -20px;
    background: radial-gradient(circle, rgba(160, 230, 216, .45), transparent 70%);
}

.category-section {
    position: relative;
    margin-bottom: 34px;
    scroll-margin-top: 18px;
}

.category-section:last-of-type {
    margin-bottom: 10px;
}

.category-section .section-head {
    align-items: center;
    margin: 0 2px 13px;
}

.section-title {
    display: flex;
    align-items: center;
    gap: 11px;
    min-width: 0;
}

.section-icon {
    display: grid;
    place-items: center;
    width: 40px;
    height: 40px;
    flex: 0 0 40px;
    border-radius: 12px;
    color: #fff;
    background: linear-gradient(145deg, var(--cat-a, #c7c2ff), var(--cat-b, #7d77e8));
    box-shadow: 0 7px 17px color-mix(in srgb, var(--cat-b, #7d77e8) 22%, transparent);
}

.section-icon .icon {
    width: 18px;
    height: 18px;
}

.section-title h2 {
    font-size: 20px;
    font-weight: 730;
    letter-spacing: -.035em;
}

.section-title p {
    margin-top: 2px;
    color: #878da1;
    font-size: 11.5px;
}

.section-count {
    flex: 0 0 auto;
    padding: 5px 9px;
    border: 1px solid rgba(255, 255, 255, .8);
    border-radius: 999px;
    color: #7f869b;
    background: rgba(255, 255, 255, .48);
    font-size: 11px;
    font-variant-numeric: tabular-nums;
}

.sites-grid {
    gap: 10px 12px;
}

.site-card {
    min-height: 158px;
    padding: 16px 17px 14px;
    border-radius: 18px;
}

.site-card__top {
    gap: 11px;
}

.site-icon {
    width: 49px;
    height: 49px;
    flex-basis: 49px;
    border: 1px solid rgba(255, 255, 255, .72);
    border-radius: 14px;
}

.site-card__heading h3 {
    font-size: 15.5px;
    font-weight: 700;
}

.site-card__heading span {
    margin-top: 1px;
    color: #8b91a4;
    font-size: 10.5px;
}

.site-card__desc {
    margin: 10px 0 12px;
    color: #6f758a;
    font-size: 12.5px;
    line-height: 1.6;
}

.site-card__foot {
    gap: 6px;
}

.mini-chip {
    gap: 4px;
    padding: 3px 7px;
    color: #737a90;
    font-size: 10px;
}

.badge {
    padding: 3px 6px;
    font-size: 9.5px;
}

.badge .icon {
    width: 10px;
    height: 10px;
}

.badge--overseas {
    color: #477cb4;
    background: rgba(112, 166, 227, .14);
}

.site-card__clicks {
    color: #8c93a6;
    font-size: 10px;
}

.search-banner {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 0 0 18px;
    padding: 12px 15px;
    border: 1px solid rgba(255, 255, 255, .85);
    border-radius: 14px;
    background: rgba(255, 255, 255, .58);
    box-shadow: 0 8px 24px rgba(74, 84, 138, .05);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
}

.search-banner__icon {
    display: grid;
    place-items: center;
    width: 34px;
    height: 34px;
    flex: 0 0 34px;
    border-radius: 10px;
    color: var(--accent-ink);
    background: color-mix(in srgb, var(--accent) 11%, #fff);
}

.search-banner__icon .icon {
    width: 16px;
    height: 16px;
}

.search-banner__copy {
    display: flex;
    flex-direction: column;
    gap: 1px;
    min-width: 0;
    flex: 1;
}

.search-banner__copy strong {
    color: #4f566d;
    font-size: 12px;
    font-weight: 650;
}

.search-banner__copy span {
    color: #959bad;
    font-size: 10.5px;
}

.search-banner__copy b {
    color: var(--accent-ink);
}

.search-banner__clear {
    padding: 5px 9px;
    border: 1px solid rgba(255, 255, 255, .85);
    border-radius: 7px;
    color: #747b91;
    background: rgba(255, 255, 255, .58);
    font-size: 10px;
    white-space: nowrap;
}

.search-banner__clear:hover {
    color: var(--ink);
    background: #fff;
}

.page-foot {
    color: #8b92a4;
    font-size: 11px;
}

.main {
    scroll-behavior: smooth;
}

@media (max-width: 1280px) {
    .hero__art {
        right: 12px;
        width: 350px;
        height: 242px;
        transform: translateY(-50%) scale(.96);
        transform-origin: right center;
    }

    .hero__copy {
        width: 58%;
    }
}

@media (max-width: 1120px) {
    .hero__copy {
        width: 59%;
    }

    .hero h2 {
        font-size: 32px;
    }

    .hero__art {
        width: 330px;
        transform: translateY(-50%) scale(.9);
    }

    .spotlight-copy strong {
        font-size: 16px;
    }
}

@media (max-width: 1040px) {
    .hero {
        min-height: 0;
        padding: 28px 30px;
    }

    .hero__copy {
        width: 100%;
        max-width: 680px;
    }

    .hero__art {
        display: none;
    }
}

@media (max-width: 760px) {
    .topbar__tools {
        gap: 9px;
    }

    .search {
        flex: 1;
        width: auto;
    }

    .quick-admin {
        display: grid;
        width: 44px;
        height: 44px;
        flex-basis: 44px;
    }

    .hero {
        padding: 25px 24px;
    }

    .hero h2 {
        font-size: 29px;
    }

    .section-title h2 {
        font-size: 18.5px;
    }

    .section-title p {
        font-size: 11px;
    }

    .site-card {
        min-height: 154px;
    }
}

@media (max-width: 560px) {
    .hero h2 {
        font-size: 26px;
    }

    .category-section {
        margin-bottom: 28px;
    }

    .section-icon {
        width: 37px;
        height: 37px;
        flex-basis: 37px;
        border-radius: 11px;
    }

    .section-count {
        font-size: 9.5px;
    }

    .search-banner {
        gap: 9px;
        padding: 10px 11px;
    }

    .search-banner__copy strong {
        font-size: 11px;
    }

    .search-banner__copy span {
        font-size: 9.5px;
    }

    .search-banner__clear {
        padding: 5px 7px;
        font-size: 9px;
    }

    .site-card {
        min-height: 150px;
    }
}
