@charset "UTF-8";
@namespace sitemap url("http://www.sitemaps.org/schemas/sitemap/0.9");

sitemap|sitemapindex, sitemap|urlset {
    box-sizing: border-box;
    display: block;
    min-height: 100vh;
    margin: 0;
    padding: clamp(1rem, 4vw, 3rem) max(1rem, calc((100% - 72rem) / 2));
    background: #edf3f9;
    color: #24364b;
    font: 1rem/1.6 system-ui, -apple-system, "PingFang SC", "Microsoft YaHei", sans-serif;
}

sitemap|sitemapindex > sitemap|sitemap, sitemap|urlset > sitemap|url {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    column-gap: 1rem;
    row-gap: 0.3rem;
    padding: 0.85rem 1.1rem;
    border: 1px solid #c9d8e7;
    border-block-start-width: 0;
    background: #fff;
    overflow-wrap: anywhere;
}

sitemap|sitemapindex > sitemap|sitemap:first-child, sitemap|urlset > sitemap|url:first-child {
    border-block-start-width: 1px;
    border-radius: 0.5rem 0.5rem 0 0;
}

sitemap|sitemapindex > sitemap|sitemap:last-child, sitemap|urlset > sitemap|url:last-child {
    border-end-start-radius: 0.5rem;
    border-end-end-radius: 0.5rem;
}

sitemap|sitemapindex > sitemap|sitemap:nth-child(even), sitemap|urlset > sitemap|url:nth-child(even) {
    background: #f7faff;
}

sitemap|sitemap > sitemap|loc, sitemap|url > sitemap|loc {
    grid-column: 1;
    color: #114e86;
    font-weight: 600;
    direction: ltr;
    unicode-bidi: isolate;
}

sitemap|sitemap > sitemap|lastmod, sitemap|url > sitemap|lastmod {
    grid-column: 2;
    color: #405672;
    font-size: 0.875rem;
    font-variant-numeric: tabular-nums;
}

sitemap|lastmod::before { content: "Last Modified "; }
sitemap|changefreq::before { content: "Change Frequency "; }
sitemap|priority::before { content: "Priority "; }

sitemap|sitemap > *|*:not(sitemap|loc, sitemap|lastmod), sitemap|url > *|*:not(sitemap|loc, sitemap|lastmod) {
    grid-column: 1 / -1;
    color: #405672;
    font-size: 0.875rem;
}

@media (max-width: 44rem) {
    sitemap|sitemapindex > sitemap|sitemap, sitemap|urlset > sitemap|url {
        grid-template-columns: minmax(0, 1fr);
    }

    sitemap|sitemap > sitemap|lastmod, sitemap|url > sitemap|lastmod {
        grid-column: 1;
    }
}

.tssg-sitemap {
    margin: 0;
    color: #24364b;
    background: #edf3f9;
    font: 1rem/1.55 system-ui, sans-serif;
}

.tssg-sitemap main { max-width: 72rem; margin: auto; padding: 1.5rem; }
.tssg-sitemap h1 { margin: 0 0 1rem; font-size: 1.4rem; }
.tssg-sitemap table { width: 100%; border-collapse: collapse; background: #fff; }
.tssg-sitemap th, .tssg-sitemap td { padding: 0.65rem 0.85rem; border: 1px solid #c9d8e7; text-align: left; }
.tssg-sitemap th { background: #e1ebf5; }
.tssg-sitemap td:first-child { overflow-wrap: anywhere; }
.tssg-sitemap a { color: #114e86; }
.tssg-sitemap a:focus-visible { outline: 2px solid currentColor; outline-offset: 2px; }
