.brand {
            color: var(--purple);
            font-family: Georgia, serif;
            font-size: .9rem;
            font-weight: 700;
            letter-spacing: .06em;
            white-space: nowrap;
        }
.nav-links a:hover,
        .nav-links a:focus {
            color: var(--purple);
            background: rgba(245, 180, 184, .22);
        }
.class-hero::after {
            content: "";
            position: absolute;
            width: 400px;
            height: 400px;
            top: -270px;
            right: -100px;
            border-radius: 50%;
            opacity: .25;
            background: var(--accent-color, var(--aqua));
        }
h4 {
            margin-bottom: 8px;
            font-size: .9rem;
        }
.quick-tags,
        .recommendations {
            display: flex;
            flex-wrap: wrap;
            gap: 9px;
        }
.quick-tags {
            margin-top: 22px;
        }
.quick-tag,
        .recommendation {
            padding: 8px 12px;
            border: 1px solid rgba(77, 40, 93, .12);
            border-radius: 999px;
            color: var(--purple);
            font-size: .8rem;
            font-weight: 900;
            background: rgba(255, 255, 255, .72);
        }
.recommendation {
            padding: 8px 11px;
            border: 0;
            background: var(--class-light, #e9f8f9);
        }
.element-icon {
    display: grid;
    place-items: center;
    flex: 0 0 38px;
    width: 38px;
    height: 38px;
    overflow: hidden;
    border-radius: 10px;
    background: var(--class-light, #e9f8f9);
}
.element-icon img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.element-text {
    display: grid;
    min-width: 0;
    gap: 2px;
}
.element-name,
.element-build {
    position: relative;
    z-index: 1;
}
.guide-list {
            display: grid;
            gap: 11px;
            list-style: none;
            padding: 0;
            margin: 0;
        }
.guide-list li::before {
            content: "";
            position: absolute;
            top: .42em;
            left: 0;
            width: 9px;
            height: 9px;
            border-radius: 50%;
            background: var(--accent-color, var(--aqua));
        }
.weaknesses li::before {
            background: var(--coral);
        }
.changelog-section {
            margin-top: 24px;
        }
.changelog-toggle {
            display: flex;
            align-items: center;
            justify-content: space-between;
            gap: 12px;
            padding: 0;
            cursor: pointer;
            list-style: none;
        }
.changelog-toggle::-webkit-details-marker {
            display: none;
        }
.changelog-toggle-text h2 {
            margin-bottom: 3px;
        }
.changelog-toggle-text p {
            margin: 0;
            color: var(--muted);
            font-size: .82rem;
            font-weight: 800;
        }
.changelog-chevron {
            display: grid;
            flex: 0 0 auto;
            place-items: center;
            width: 34px;
            height: 34px;
            border: 1px solid rgba(77, 40, 93, .16);
            border-radius: 11px;
            color: var(--purple);
            font-size: .8rem;
            background: rgba(255, 255, 255, .72);
            transition: transform .2s ease;
        }
.changelog[open] .changelog-chevron {
            transform: rotate(180deg);
        }
.changelog-list {
            display: grid;
            gap: 12px;
            margin-top: 18px;
        }
.changelog-entry {
            display: grid;
            grid-template-columns: auto 1fr;
            gap: 12px;
            padding: 13px 15px;
            border: 1px solid rgba(116, 84, 103, .13);
            border-radius: 15px;
            background: rgba(255, 255, 255, .61);
        }
.changelog-badge {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            height: 24px;
            padding: 0 10px;
            border-radius: 999px;
            color: #fff;
            font-size: .68rem;
            font-weight: 900;
            letter-spacing: .04em;
            text-transform: uppercase;
            white-space: nowrap;
        }
.change-buff { background: linear-gradient(135deg, #6fb87e, #9ed4a8); }
.change-nerf { background: linear-gradient(135deg, #d9615d, #e98683); }
.change-fix { background: linear-gradient(135deg, #4894ab, #8edee4); }
.changelog-meta {
            display: flex;
            flex-wrap: wrap;
            align-items: baseline;
            gap: 8px;
            margin-bottom: 4px;
        }
.changelog-date {
            color: var(--purple);
            font-size: .82rem;
            font-weight: 900;
        }
.changelog-admin {
            color: var(--muted);
            font-size: .76rem;
            font-weight: 800;
        }
.changelog-desc {
            margin: 0;
            color: var(--muted);
            font-size: .88rem;
            line-height: 1.55;
        }
.changelog-empty {
            margin-top: 18px;
            color: var(--muted);
            font-size: .88rem;
        }
@media (max-width:650px) {
            .changelog-entry {
                grid-template-columns: 1fr;
            }
        }
.eidolon-header {
            margin-bottom: 20px;
        }
.eidolon-header p {
            max-width: 760px;
        }
.eidolon-group-icon {
            display: grid;
            flex: 0 0 auto;
            place-items: center;
            width: 28px;
            height: 28px;
            border-radius: 9px;
            font-size: 1rem;
            background: rgba(255, 255, 255, .62);
        }
.eidolon-cards {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
            gap: 10px;
        }
.eidolon-card {
            display: flex;
            align-items: center;
            gap: 9px;
            min-width: 0;
            min-height: 58px;
            padding: 8px;
            border: 1px solid rgba(77, 40, 93, .10);
            border-radius: 13px;
            color: var(--purple);
            background: #fff;
        }
.eidolon-card.featured {
            border-color: rgba(199, 154, 88, .58);
            background: #fff1d3;
            box-shadow: 0 5px 12px rgba(199, 154, 88, .14);
        }
.eidolon-icon {
            display: grid;
            flex: 0 0 auto;
            place-items: center;
            width: 40px;
            height: 40px;
            overflow: hidden;
            border-radius: 10px;
            color: var(--purple);
            font-size: .8rem;
            font-weight: 900;
            background: rgba(119, 83, 138, .10);
        }
.eidolon-icon img {
            display: block;
            width: 100%;
            height: 100%;
            object-fit: cover;
        }
.eidolon-icon.icon-missing::after {
            content: "?";
            font-size: 1rem;
        }
.eidolon-fallback {
            display: grid;
            place-items: center;
            width: 100%;
            height: 100%;
        }
.eidolon-name {
            overflow: hidden;
            color: var(--purple);
            font-size: .76rem;
            font-weight: 900;
            line-height: 1.2;
            overflow-wrap: anywhere;
        }
.utility-box h4 {
            margin-bottom: 10px;
        }
.utility-box .eidolon-cards {
            grid-template-columns: 1fr;
            gap: 7px;
        }
.utility-box .eidolon-card {
            min-height: 48px;
            padding: 6px;
        }
.utility-box .eidolon-icon {
            width:34px;
            height:34px;
            border-radius:9px;
        }
.utility-box .eidolon-name {
            font-size: .72rem;
        }
.envoy-panel::after {
            content: "";
            position: absolute;
            width: 240px;
            height: 240px;
            right: -130px;
            bottom: -150px;
            border-radius: 50%;
            opacity: .14;
            background: var(--accent-color, var(--aqua));
            pointer-events: none;
        }
.envoy-placeholder::before {
            content: "✦";
            display: grid;
            place-items: center;
            width: 64px;
            height: 64px;
            margin: 0 auto 14px;
            border: 1px solid rgba(77, 40, 93, .18);
            border-radius: 20px;
            color: var(--gold);
            font-size: 1.9rem;
            background: rgba(255, 255, 255, .76);
        }
@media (max-width:850px) {
            .content-grid {
                grid-template-columns: 1fr;
            }

            .utility-grid {
                grid-template-columns: 1fr;
            }

            .utility-box .eidolon-cards {
                grid-template-columns: repeat(2, minmax(0, 1fr));
            }
        }
@media (max-width:650px) {
            .site-header {
                padding: calc(12px + env(safe-area-inset-top)) 14px 12px;
            }

            .nav-shell {
                padding: 6px 7px 6px 15px;
                border-radius: 18px;
            }

            .brand {
                font-size: .8rem;
            }

            .menu-toggle {
                display: block;
            }

            .nav-links {
                position: absolute;
                z-index: 40;
                top: calc(100% + 9px);
                right: 0;
                left: 0;
                display: grid;
                gap: 4px;
                max-height: 0;
                overflow: hidden;
                padding: 0 8px;
                border: 1px solid transparent;
                border-radius: 18px;
                opacity: 0;
                visibility: hidden;
                background: rgba(255, 255, 255, .97);
                box-shadow: 0 16px 32px rgba(47, 25, 57, .18);
                transform: translateY(-8px);
                transition: max-height .25s ease, padding .25s ease, opacity .2s ease, transform .2s ease, visibility .2s;
            }

            .nav-links.is-open {
                max-height: 360px;
                padding: 8px;
                border-color: rgba(77, 40, 93, .14);
                opacity: 1;
                visibility: visible;
                transform: translateY(0);
            }

            .nav-links li {
                width: 100%;
            }

            .nav-links a {
                min-height: 45px;
                padding: 12px 14px;
                border-radius: 12px;
                color: var(--purple);
                font-size: .92rem;
            }

            .page-shell {
                width: min(100% - 26px, 1180px);
                padding: 24px 0 64px;
            }

            .breadcrumb {
                margin-bottom: 15px;
                font-size: .82rem;
            }

            .class-hero {
                padding: 23px 18px;
                border-radius: 24px;
            }

            .class-hero-inner {
                align-items: flex-start;
                gap: 14px;
            }

            .class-symbol {
                width: 82px;
                height: 82px;
                border-radius: 21px;
            }

            h1 {
                font-size: 2.1rem;
            }

            h2 {
                font-size: 1.48rem;
            }

            .class-subtitle {
                font-size: .86rem;
            }

            .class-summary {
                font-size: .92rem;
                line-height: 1.62;
            }

            .quick-tags {
                gap: 7px;
                margin-top: 17px;
            }

            .quick-tag {
                padding: 7px 10px;
                font-size: .74rem;
            }

            .element-section {
                margin-top: 17px;
            }

            .element-list {
                gap: 7px;
            }

            .element-card {
                min-height: 45px;
                padding: 7px 10px 7px 7px;
                border-radius: 13px;
            }

            .element-icon {
                width: 29px;
                height: 29px;
            }

            .element-name {
                font-size: .76rem;
            }

            .element-build {
                font-size: .66rem;
            }

            .content-grid {
                gap: 16px;
                margin-top: 16px;
            }

            .guide-content {
                margin-top: 16px;
            }

            .panel {
                padding: 20px 16px;
                border-radius: 20px;
            }

            .rating-list {
                gap: 14px;
            }

            .rating-row {
                grid-template-columns: minmax(0, 1fr) 76px;
                gap: 7px;
            }

            .rating-track {
                grid-row: 2;
                grid-column: 1 / 3;
            }

            .rating-name {
                font-size: .82rem;
            }

            .rating-value {
                font-size: .78rem;
            }

            .tier-grid {
                grid-template-columns: 1fr;
                gap: 8px;
            }

            .tier-box {
                min-height: 54px;
                padding: 10px 12px;
            }

            .recommendations {
                gap: 7px;
            }

            .recommendation {
                font-size: .74rem;
            }

            .guide-list li {
                font-size: .87rem;
            }

            .eidolon-header {
                margin-bottom: 15px;
            }

            .eidolon-group {
                border-radius: 16px;
            }

            .eidolon-group-head {
                align-items: flex-start;
                padding: 11px 12px;
            }

            .eidolon-group-desc {
                display: none;
            }

            .eidolon-group-body {
                padding: 12px;
            }

            .eidolon-cards {
                grid-template-columns: repeat(2, minmax(0, 1fr));
                gap: 7px;
            }

            .eidolon-card {
                min-height: 52px;
                padding: 7px;
            }

            .eidolon-icon {
                width: 36px;
                height: 36px;
                border-radius: 9px;
            }

            .eidolon-name {
                font-size: .70rem;
            }

            .eidolon-note {
                font-size: .78rem;
            }

            .eidolon-utility {
                margin-top: 16px;
                padding-top: 16px;
            }

            .utility-box .eidolon-cards {
                grid-template-columns: repeat(2, minmax(0, 1fr));
            }

            .envoy-image-wrap {
                margin-top: 16px;
                border-radius: 15px;
            }

            .envoy-image-wrap img {
                min-width: 470px;
            }

            .envoy-placeholder {
                min-height: 230px;
                margin-top: 16px;
                border-radius: 16px;
            }

            .envoy-placeholder::before {
                width: 54px;
                height: 54px;
                border-radius: 16px;
                font-size: 1.55rem;
            }

            .not-found {
                margin: 34px auto;
                padding: 27px 18px;
                border-radius: 23px;
            }
        }
@media (max-width:390px) {
            .class-hero-inner {
                display: block;
            }

            .class-symbol {
                width: 94px;
                height: 94px;
                margin-bottom: 15px;
            }

            .rating-stars {
                letter-spacing: 0;
            }

            .eidolon-cards,
            .utility-box .eidolon-cards {
                grid-template-columns: 1fr;
            }

            .envoy-image-wrap img {
                min-width: 430px;
            }
        }
.recommended-eidolon {
    margin-top: 15px;
}
.recommended-eidolon-card {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    min-height: 48px;
    padding: 8px 13px 8px 9px;
    border: 1px solid rgba(199, 154, 88, .65);
    border-radius: 15px;
    color: var(--purple);
    background: linear-gradient(135deg, #fffdf4 0%, #fff0c3 100%);
    box-shadow: 0 6px 14px rgba(199, 154, 88, .12);
}
.recommended-eidolon-card .element-icon {
    background: #f5e2aa;
}
@media (max-width: 650px) {
    .recommended-eidolon-card {
        width: 100%;
    }
}
.recommended-eidolon-icon {
    display: grid;
    flex: 0 0 auto;
    place-items: center;
    width: 40px;
    height: 40px;
    overflow: hidden;
    border-radius: 10px;
    color: var(--purple);
    font-size: 1rem;
    font-weight: 900;
    background: #f5e2aa;
}
.recommended-eidolon-icon img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
@media (prefers-reduced-motion:reduce) {
            *,
            *::before,
            *::after {
                scroll-behavior: auto !important;
                animation-duration: .01ms !important;
                transition-duration: .01ms !important;
            }
        }
