@font-face {
    font-family: "TmxBrand";
    src: url("/woff_file/museo-sans-500-1.woff") format("woff");
    font-display: swap;
}

@font-face {
    font-family: "TmxText";
    src: url("/woff_file/ClearSans-Regular-webfont.woff") format("woff");
    font-display: swap;
}

:root {
    --tmx-accent: #1f9d74;
    --tmx-accent-deep: #127056;
    --tmx-accent-soft: rgba(31, 157, 116, 0.12);
    --tmx-surface: rgba(255, 255, 255, 0.84);
    --tmx-surface-strong: rgba(255, 255, 255, 0.96);
    --tmx-border: rgba(16, 24, 40, 0.08);
    --tmx-text: #1a2a2a;
    --tmx-muted: #6c7a7a;
    --tmx-shadow: 0 18px 50px rgba(29, 60, 52, 0.12);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: "TmxText", "PingFang SC", "Microsoft YaHei", sans-serif;
    color: var(--tmx-text);
    background:
        radial-gradient(circle at top left, rgba(100, 214, 180, 0.28), transparent 34%),
        radial-gradient(circle at top right, rgba(70, 146, 255, 0.14), transparent 28%),
        linear-gradient(180deg, #f4fbf8 0%, #f7f8fb 44%, #eef5f1 100%);
    min-height: 100vh;
}

.page-orb {
    position: fixed;
    inset: auto auto 10% -80px;
    width: 240px;
    height: 240px;
    background: radial-gradient(circle, rgba(31, 157, 116, 0.18), transparent 68%);
    filter: blur(8px);
    pointer-events: none;
    z-index: 0;
}

.container {
    position: relative;
    z-index: 1;
}

.header-shell {
    z-index: 10000;
}

.link-color {
    color: #42b983 !important;
}

.header {
    position: relative;
    height: 72px;
    margin: 14px auto 0;
    max-width: 1280px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.85rem 1.25rem;
    background: rgba(255, 255, 255, 0.72);
    border: 1px solid rgba(255, 255, 255, 0.7);
    box-shadow: var(--tmx-shadow);
    backdrop-filter: blur(16px);
    border-radius: 22px;
    overflow: visible;
    z-index: 1;
}

.brand-link {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    color: var(--tmx-text);
    text-decoration: none;
}

.brand-logo {
    width: 42px;
    height: 42px;
    border-radius: 14px;
    background: linear-gradient(135deg, rgba(31, 157, 116, 0.18), rgba(76, 194, 157, 0.3));
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.7);
}

.brand-title {
    display: block;
    font-family: "TmxBrand", "TmxText", sans-serif;
    font-size: 1.15rem;
    letter-spacing: 0.04em;
}

.brand-subtitle {
    display: block;
    margin-top: 2px;
    color: var(--tmx-muted);
    font-size: 0.82rem;
}

.header-badge {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 44px;
    padding: 0.55rem 0.85rem;
    border-radius: 999px;
    background: var(--tmx-accent-soft);
    color: var(--tmx-accent-deep);
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    z-index: 100;
    transition: background 0.18s ease, box-shadow 0.18s ease;
}

.header-badge:hover,
.header-badge:focus-within {
    background: rgba(31, 157, 116, 0.18);
    box-shadow: 0 12px 24px rgba(18, 112, 86, 0.14);
}

.header-badge:focus-visible {
    outline: 2px solid rgba(31, 157, 116, 0.45);
    outline-offset: 3px;
}

.site-switch::after {
    content: "";
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    height: 2px;
}

.site-switch-menu {
    position: absolute;
    top: calc(100% - 1px);
    left: 50%;
    min-width: 176px;
    padding: 8px 0;
    background: rgba(255, 255, 255, 0.98);
    border: 1px solid rgba(18, 112, 86, 0.12);
    border-radius: 14px;
    box-shadow: 0 18px 42px rgba(19, 44, 37, 0.14);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateX(-50%);
    transition: opacity 0.12s ease, visibility 0.12s ease;
    z-index: 99999;
}

.site-switch:hover .site-switch-menu,
.site-switch:focus-within .site-switch-menu {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateX(-50%);
}

.site-switch-menu a {
    display: block;
    padding: 9px 16px;
    color: var(--tmx-text);
    font-size: 0.85rem;
    font-weight: 500;
    text-decoration: none;
    white-space: nowrap;
    transition: background 0.15s ease, color 0.15s ease;
}

.site-switch-menu a:hover {
    background: var(--tmx-accent-soft);
    color: var(--tmx-accent-deep);
}

.hero {
    position: relative;
    z-index: 200;
    padding: 40px 0 28px;
}

.hero-panel {
    position: relative;
    z-index: 210;
    padding: 2rem;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.88), rgba(240, 249, 245, 0.96));
    border: 1px solid rgba(255, 255, 255, 0.92);
    border-radius: 30px;
    box-shadow: var(--tmx-shadow);
    overflow: visible;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 1rem;
    padding: 0.45rem 0.8rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.85);
    color: var(--tmx-accent-deep);
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.hero-title {
    margin: 0;
    font-family: "TmxBrand", "TmxText", sans-serif;
    font-size: clamp(2rem, 3vw, 3.4rem);
    line-height: 1.08;
}

.hero-desc {
    max-width: 760px;
    margin: 1rem auto 0;
    color: var(--tmx-muted);
    font-size: 1rem;
    line-height: 1.75;
}

.hero-meta {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
    margin-top: 1.75rem;
}

.hero-stat {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    text-align: left;
    padding: 1rem 1.1rem;
    border-radius: 20px;
    background:
        radial-gradient(circle at top right, rgba(255, 255, 255, 0.72), transparent 42%),
        linear-gradient(145deg, rgba(255, 255, 255, 0.96), rgba(241, 248, 244, 0.92));
    border: 1px solid rgba(255, 255, 255, 0.92);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.88),
        0 14px 28px rgba(30, 61, 53, 0.08);
    overflow: hidden;
    isolation: isolate;
}

.hero-stat::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(135deg, rgba(31, 157, 116, 0.16), transparent 52%),
        linear-gradient(315deg, rgba(88, 181, 255, 0.12), transparent 68%);
    opacity: 0.95;
    z-index: -1;
}

.hero-stat::after {
    content: "";
    position: absolute;
    inset: auto -24px -26px auto;
    width: 108px;
    height: 108px;
    border-radius: 999px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.48), rgba(255, 255, 255, 0));
    pointer-events: none;
    z-index: -1;
}

.hero-stat-copy {
    min-width: 0;
    flex: 1;
}

.hero-stat strong {
    display: block;
    font-size: 1.35rem;
    color: var(--tmx-accent-deep);
}

.hero-stat span {
    display: block;
    margin-top: 0.2rem;
    color: var(--tmx-muted);
    font-size: 0.92rem;
}

.hero-stat-icon {
    width: 56px;
    height: 56px;
    flex-shrink: 0;
    opacity: 0.92;
    filter: drop-shadow(0 8px 12px rgba(20, 50, 42, 0.1));
}

.hero-stat:nth-child(1)::before {
    background:
        radial-gradient(circle at 82% 18%, rgba(97, 219, 177, 0.36), transparent 30%),
        linear-gradient(135deg, rgba(31, 157, 116, 0.2), transparent 56%),
        linear-gradient(315deg, rgba(111, 205, 173, 0.16), transparent 70%);
}

.hero-stat:nth-child(2)::before {
    background:
        radial-gradient(circle at 84% 16%, rgba(255, 214, 137, 0.34), transparent 28%),
        linear-gradient(135deg, rgba(255, 184, 77, 0.18), transparent 54%),
        linear-gradient(315deg, rgba(255, 227, 163, 0.18), transparent 72%);
}

.hero-stat:nth-child(3)::before {
    background:
        radial-gradient(circle at 84% 18%, rgba(115, 173, 255, 0.34), transparent 28%),
        linear-gradient(135deg, rgba(88, 147, 255, 0.18), transparent 54%),
        linear-gradient(315deg, rgba(136, 196, 255, 0.16), transparent 70%);
}

.hero-stat:nth-child(2) strong {
    color: #9b6500;
}

.hero-stat:nth-child(3) strong {
    color: #205bb9;
}

.search-container {
    position: relative;
    z-index: 220;
    height: auto;
    margin-top: 1.8rem;
}

.search-index {
    position: relative;
    z-index: 230;
    width: 100%;
    height: 64px;
    background: var(--tmx-surface-strong);
    border: 1px solid rgba(20, 40, 34, 0.08);
    border-radius: 20px;
    overflow: visible;
    box-shadow: 0 18px 40px rgba(20, 40, 34, 0.08);
}

.search-index input {
    height: 100%;
    padding: 0 62px 0 22px;
    border: 0;
    font-size: 1rem;
    border-radius: 20px;
}

.search-index input::placeholder {
    color: #94a3a3;
}

.search-icon {
    position: static;
    transform: none;
}

.search-jump-btn {
    position: absolute;
    top: 50%;
    right: 12px;
    transform: translateY(-50%);
    width: 28px;
    height: 34px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 0;
    border-radius: 10px;
    background: linear-gradient(135deg, rgba(31, 157, 116, 0.1), rgba(31, 157, 116, 0.18));
    cursor: pointer;
    transition: transform 0.18s ease, background 0.18s ease, box-shadow 0.18s ease;
    z-index: 3;
}

.search-jump-btn:hover {
    transform: translateY(-50%) scale(1.03);
    background: linear-gradient(135deg, rgba(31, 157, 116, 0.14), rgba(31, 157, 116, 0.24));
    box-shadow: 0 8px 16px rgba(31, 157, 116, 0.14);
}

.search-jump-btn:active {
    transform: translateY(-50%) scale(0.98);
}

#searchMenuResult {
    top: calc(100% + 10px);
    border: 0;
    border-radius: 18px;
    overflow: hidden;
    max-height: min(60vh, 560px);
    overflow-y: auto;
    z-index: 9999;
    box-shadow: 0 18px 50px rgba(22, 35, 31, 0.12);
}

#searchMenuResult .item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    width: 100%;
}

.search-category {
    flex: 0 0 auto;
    padding: 0.18rem 0.5rem;
    border-radius: 999px;
    background: rgba(31, 157, 116, 0.1);
    color: var(--tmx-accent-deep);
    font-size: 0.76rem;
    line-height: 1.2;
}

.quick-nav-wrap {
    margin: 1.75rem 0 0.5rem;
}

.quick-nav-title {
    margin-bottom: 0.85rem;
    color: var(--tmx-muted);
    font-size: 0.95rem;
}

.quick-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.quick-nav a {
    padding: 0.6rem 0.9rem;
    border-radius: 999px;
    text-decoration: none;
    color: var(--tmx-text);
    background: rgba(255, 255, 255, 0.72);
    border: 1px solid rgba(20, 40, 34, 0.08);
    transition: all 0.2s ease;
}

.quick-nav a:hover {
    color: #fff;
    background: linear-gradient(135deg, var(--tmx-accent), #39b88c);
    transform: translateY(-1px);
}

#historyContainer {
    margin-top: 1.2rem;
    padding: 0.25rem 0;
}

#history {
    min-height: 16px;
    color: var(--tmx-muted);
}

.section-head {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 16px;
    margin: 2rem 0 1.2rem;
}

.section-title {
    margin: 0;
    font-family: "TmxBrand", "TmxText", sans-serif;
    font-size: clamp(1.5rem, 2vw, 2.1rem);
}

.section-copy {
    margin: 0.45rem 0 0;
    color: var(--tmx-muted);
    font-size: 0.96rem;
}

.section-tip {
    padding: 0.7rem 0.95rem;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.68);
    border: 1px solid rgba(20, 40, 34, 0.08);
    color: var(--tmx-muted);
    white-space: nowrap;
}

.footer-nav {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 18px;
}

.footer-nav .list-inline-bg {
    margin: 0;
    padding: 1.2rem;
    background: rgba(255, 255, 255, 0.78);
    border: 1px solid rgba(255, 255, 255, 0.92);
    border-radius: 24px;
    box-shadow: 0 14px 34px rgba(31, 53, 47, 0.08);
    transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.footer-nav .list-inline-bg:hover {
    transform: translateY(-4px);
    border-color: rgba(31, 157, 116, 0.22);
    box-shadow: 0 22px 44px rgba(31, 53, 47, 0.12);
}

.footer-nav h3 {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 0 0 1rem;
    line-height: 1.2;
}

.footer-nav h3::after {
    content: attr(data-count);
    min-width: 42px;
    padding: 0.28rem 0.55rem;
    border-radius: 999px;
    text-align: center;
    font-size: 0.78rem;
    color: var(--tmx-accent-deep);
    background: var(--tmx-accent-soft);
}

.footer-nav h3 span {
    border-left: 0;
    padding-left: 0;
    font-size: 1.04rem;
}

.footer-nav .list-inline-bg li {
    width: 100%;
    min-height: 56px;
    margin: 0 0 10px 0;
    padding: 0;
    border: 0;
    border-radius: 16px;
    background: rgba(246, 250, 248, 0.98);
    box-shadow: inset 0 0 0 1px rgba(17, 24, 39, 0.05);
    transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
    overflow: hidden;
    vertical-align: top;
}

.footer-nav .list-inline-bg li:hover {
    transform: translateY(-2px);
    background: #fff;
    box-shadow: inset 0 0 0 1px rgba(31, 157, 116, 0.18), 0 12px 20px rgba(22, 35, 31, 0.08);
}

.footer-nav .list-inline-bg li a {
    width: 100%;
    min-height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.8rem 0.95rem;
    color: var(--tmx-text);
    line-height: 1.45;
    text-align: center;
    text-decoration: none;
    font-size: 0.95rem;
}

.footer-nav .list-inline-bg li a:hover {
    color: var(--tmx-accent-deep);
}

.footer-nav .list-inline-bg li.locate-hit {
    box-shadow: inset 0 0 0 2px rgba(31, 157, 116, 0.42), 0 16px 26px rgba(31, 157, 116, 0.18);
    background: #ffffff;
}

.footer-nav .list-inline-bg li.locate-hit a {
    color: var(--tmx-accent-deep);
    font-weight: 600;
}

.footer-nav .list-inline-bg li.is-disabled {
    background: rgba(241, 245, 244, 0.96);
}

.footer-nav .list-inline-bg li.is-disabled a {
    color: #98a5a3;
    cursor: not-allowed;
}

.category-anchor {
    position: relative;
    top: -100px;
}

hr {
    margin: 2rem 0 1.6rem;
    border-color: rgba(20, 40, 34, 0.08);
    opacity: 1;
}

@media screen and (max-width: 991px) {
    .hero-meta {
        grid-template-columns: 1fr;
    }

    .hero-stat-icon {
        width: 48px;
        height: 48px;
    }

    .section-head {
        align-items: flex-start;
        flex-direction: column;
    }
}

@media screen and (max-width: 670px) {
    .header {
        height: auto;
        flex-wrap: wrap;
        gap: 10px;
        padding: 0.9rem 1rem;
        border-radius: 18px;
    }

    .brand-subtitle,
    .section-tip {
        display: none;
    }

    .header-badge {
        display: inline-flex;
        font-size: 0.8rem;
    }

    .site-switch-menu {
        left: 50%;
    }

    .hero {
        padding-top: 122px;
    }

    .hero-panel {
        padding: 1.4rem;
        border-radius: 24px;
    }

    .search-index {
        height: 56px;
        border-radius: 18px;
    }

    .search-index input {
        padding-left: 18px;
        padding-right: 56px;
    }

    .footer-nav .list-inline-bg li {
        width: 100%;
        margin-right: 0;
    }
}
