/* ==========================================================
   传奇私服发布网 / Atlas Edition
   Pure CSS + HTML anchor navigation. No runtime JavaScript.
   ========================================================== */
:root {
    --ink: #173440;
    --ink-2: #234752;
    --paper: #f7f4ed;
    --paper-soft: #fcfaf6;
    --sand: #efe9dc;
    --accent: #bb7446;
    --accent-dark: #95542e;
    --line: #ded8ca;
    --muted: #657678;
    --white: #ffffff;
    --shadow: 0 18px 55px rgba(23, 52, 64, 0.08);
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 90px;
}

body {
    margin: 0;
    background: var(--paper);
    color: var(--ink);
    font: 15px/1.82 -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", sans-serif;
    -webkit-font-smoothing: antialiased;
    overflow-wrap: anywhere;
}

h1, h2, h3, p, blockquote, dl, dd {
    margin: 0;
}

a {
    color: inherit;
    text-decoration: none;
}

a:focus-visible,
summary:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 3px;
}

img {
    display: block;
    max-width: 100%;
    height: auto;
}

.container {
    width: min(1192px, calc(100% - 44px));
    margin-inline: auto;
}

.top-strip {
    color: #d4dfdc;
    background: #112b34;
    border-bottom: 1px solid #31515b;
    font-size: 11px;
    letter-spacing: 1px;
}

.top-strip-inner {
    padding: 9px 0;
    display: flex;
    gap: 16px;
    justify-content: space-between;
    flex-wrap: wrap;
}

.site-header {
    background: #fbf9f4;
    border-bottom: 1px solid var(--line);
}

.masthead {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 19px 0;
}

.site-logo img {
    width: 280px;
}

.masthead-note {
    border-left: 1px solid #bfcac6;
    padding-left: 18px;
    text-align: right;
}

.masthead-note span,
.masthead-note strong,
.masthead-note small {
    display: block;
}

.masthead-note-label {
    color: var(--accent-dark);
    font-size: 10px;
    font-weight: 750;
    letter-spacing: 2px;
}

.masthead-note strong {
    color: var(--ink);
    font-size: 15px;
    margin-top: 2px;
}

.masthead-note small {
    color: var(--muted);
    font-size: 11px;
}

.site-nav {
    position: sticky;
    top: 0;
    z-index: 10;
    background: rgba(250, 247, 240, 0.96);
    border-bottom: 1px solid var(--line);
    backdrop-filter: blur(12px);
}

.nav-track {
    display: flex;
    gap: 3px;
    overflow-x: auto;
    scrollbar-width: thin;
    padding: 10px 0;
}

.nav-track a {
    flex: 0 0 auto;
    padding: 7px 12px;
    border-radius: 5px;
    color: #475d62;
    font-size: 12px;
    font-weight: 700;
    white-space: nowrap;
    transition: background 0.2s, color 0.2s;
}

.nav-track a:first-child,
.nav-track a:hover {
    background: var(--ink);
    color: #fff9ee;
}

.hero {
    overflow: hidden;
    background: var(--paper-soft);
    background-image: radial-gradient(circle at 82% 5%, rgba(220, 171, 111, 0.14), transparent 30%),
                      linear-gradient(125deg, #fefcf7, #f3efe5);
    border-bottom: 1px solid var(--line);
}

.hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.18fr) minmax(300px, 0.82fr);
    gap: clamp(30px, 5vw, 70px);
    align-items: center;
    padding: 62px 0 64px;
}

.overline {
    display: flex;
    align-items: center;
    gap: 11px;
    color: var(--accent-dark);
    font-size: 11px;
    font-weight: 900;
    letter-spacing: 2px;
}

.overline-dash {
    width: 27px;
    height: 2px;
    background: var(--accent);
}

.hero h1 {
    margin: 23px 0;
    max-width: 720px;
    font-size: clamp(38px, 4.35vw, 58px);
    line-height: 1.29;
    font-weight: 900;
    letter-spacing: -1.5px;
}

.hero h1 span,
.hero h1 em {
    display: block;
    font-size: 0.76em;
    line-height: 1.5;
}

.hero h1 span {
    margin-top: 8px;
    font-weight: 700;
}

.hero h1 em {
    color: var(--accent-dark);
    font-style: normal;
}

.hero-lead {
    max-width: 675px;
    color: #50636a;
    font-size: 15px;
    line-height: 2;
}

.hero-buttons {
    display: flex;
    gap: 11px;
    flex-wrap: wrap;
    margin-top: 27px;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    padding: 11px 20px;
    border: 1px solid var(--ink);
    border-radius: 5px;
    font-weight: 800;
    font-size: 13px;
    transition: transform 0.18s, box-shadow 0.18s;
}

.button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(23, 52, 64, 0.12);
}

.button-primary {
    background: var(--ink);
    color: white;
}

.button-outline {
    color: var(--ink);
}

.hero-tiny {
    color: var(--muted);
    font-size: 11px;
    margin-top: 19px;
}

.hero-dossier {
    min-height: 415px;
    padding: 27px 29px 33px;
    position: relative;
    overflow: hidden;
    color: #f6eddb;
    background: #173440;
    border: 1px solid #31525a;
    box-shadow: 0 22px 40px rgba(20, 50, 60, 0.16);
}

.hero-dossier::before,
.hero-dossier::after {
    content: "";
    position: absolute;
    pointer-events: none;
    border: 1px solid rgba(241, 221, 178, 0.16);
    border-radius: 50%;
    width: 290px;
    height: 290px;
    right: -200px;
    top: -175px;
}

.hero-dossier::after {
    width: 400px;
    height: 400px;
    right: -255px;
    top: -235px;
}

.dossier-meta {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    padding-bottom: 20px;
    border-bottom: 1px solid #41616b;
    color: #c9d4cf;
    font-size: 10px;
    letter-spacing: 1px;
}

.dossier-kicker {
    margin-top: 25px;
    color: #d6a06e;
    font-size: 11px;
    letter-spacing: 3px;
}

.hero-dossier h2 {
    margin: 6px 0 27px;
    color: #fff6e6;
    font-size: 27px;
    line-height: 1.55;
}

.dossier-line {
    display: grid;
    grid-template-columns: 28px 56px 1fr;
    gap: 10px;
    align-items: center;
    padding: 9px 0;
    border-top: 1px solid #395963;
}

.dossier-line span {
    color: #d9a172;
    font-size: 11px;
    font-weight: 800;
}

.dossier-line b {
    font-size: 13px;
}

.dossier-line p {
    color: #cedad5;
    font-size: 11px;
}

.dossier-stamp {
    position: absolute;
    right: 22px;
    bottom: 15px;
    transform: rotate(-13deg);
    border: 2px double rgba(223, 171, 118, 0.28);
    border-radius: 50%;
    width: 63px;
    height: 63px;
    display: grid;
    place-items: center;
    text-align: center;
    color: rgba(224, 169, 117, 0.38);
    font-size: 11px;
    font-weight: 900;
    line-height: 1.5;
}

.snapshot,
.content-section {
    padding: 60px 0 66px;
    border-bottom: 1px solid var(--line);
}

.snapshot {
    background: var(--paper);
}

.section-topline {
    display: flex;
    justify-content: space-between;
    gap: 15px;
    padding-bottom: 12px;
    border-bottom: 1px solid #c9c4b8;
    color: var(--accent-dark);
    font-size: 11px;
    font-weight: 900;
    letter-spacing: 1.6px;
}

.section-topline span:last-child {
    color: var(--muted);
    letter-spacing: 0.5px;
}

.snapshot-title-row,
.section-title-row {
    display: flex;
    gap: 28px;
    align-items: end;
    justify-content: space-between;
    margin: 24px 0 27px;
}

.snapshot-title-row h2,
.section-title-row h2,
.about-grid h2 {
    font-size: clamp(26px, 3vw, 36px);
    line-height: 1.45;
    letter-spacing: -0.6px;
}

.snapshot-title-row h2 em,
.section-title-row h2 em,
.about-grid h2 em {
    color: var(--accent-dark);
    font-style: normal;
}

.snapshot-title-row p,
.section-title-row p {
    margin-top: 7px;
    color: var(--muted);
    font-size: 13px;
    max-width: 680px;
}

.snapshot-aside {
    max-width: 245px !important;
    font-size: 12px !important;
    text-align: right;
}

.metric-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
}

.metric {
    padding: 23px;
    min-width: 0;
    background: #fffefb;
    border: 1px solid var(--line);
    box-shadow: 0 6px 16px rgba(20, 50, 60, 0.025);
}

.metric b {
    display: block;
    color: var(--accent-dark);
    font-family: Georgia, serif;
    font-size: 46px;
    line-height: 1;
    font-weight: 500;
}

.metric span {
    display: block;
    margin-top: 12px;
    font-weight: 900;
    font-size: 14px;
}

.metric p {
    color: var(--muted);
    font-size: 11px;
    margin-top: 7px;
}

.content-section {
    background: #fffdf8;
}

.soft-section {
    background: #f1ecdf;
}

.corner-link {
    color: var(--accent-dark);
    font-size: 12px;
    font-weight: 900;
    white-space: nowrap;
    padding: 10px 0;
    border-bottom: 1px solid currentColor;
}

.table-wrap {
    overflow-x: auto;
    border: 1px solid #d9d4ca;
    border-radius: 6px;
    background: white;
    box-shadow: var(--shadow);
}

.data-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 1080px;
    font-size: 12px;
}

.data-table thead {
    background: var(--ink);
    color: #fff2dc;
}

.data-table th {
    text-align: left;
    font-weight: 800;
    padding: 17px 13px;
    letter-spacing: 0.4px;
    white-space: nowrap;
}

.data-table td {
    padding: 15px 13px;
    vertical-align: top;
    border-bottom: 1px solid #ebe6dc;
}

.data-table tr:nth-child(even) td {
    background: #fbfaf6;
}

.data-table tbody tr:hover td {
    background: #edf2ee;
}

.data-table tbody tr:last-child td {
    border-bottom: 0;
}

.table-no {
    color: #a68a6c;
    font-family: Georgia, serif;
    font-size: 17px;
}

.server-name {
    color: var(--ink);
    font-size: 13px;
    font-weight: 900;
    white-space: nowrap;
}

.time {
    font-weight: 800;
    color: var(--accent-dark);
    white-space: nowrap;
}

.table-desc {
    max-width: 320px;
    color: #586a6b;
    min-width: 240px;
}

.pill {
    display: inline-block;
    padding: 3px 8px;
    color: #345358;
    background: #e7efeb;
    border-radius: 4px;
    white-space: nowrap;
    font-size: 11px;
    font-weight: 800;
}

.table-footer {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
    margin-top: 15px;
    color: var(--muted);
    font-size: 11px;
}

.table-footer b {
    color: var(--accent-dark);
}

.mini-seal {
    border: 1px solid var(--accent);
    border-radius: 50%;
    width: 90px;
    height: 90px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    text-align: center;
    font-size: 11px;
    color: var(--accent-dark);
    transform: rotate(-7deg);
    flex: 0 0 auto;
}

.mini-seal strong {
    font-size: 9px;
    margin-top: 4px;
}

.ranking-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 13px;
}

.rank-item {
    display: flex;
    gap: 16px;
    min-width: 0;
    padding: 18px 16px;
    border: 1px solid #d9d1c2;
    background: #fcfaf4;
}

.rank-index {
    flex: 0 0 auto;
    color: var(--accent-dark);
    font: 27px/1 Georgia, serif;
}

.rank-content {
    flex: 1;
    min-width: 0;
}

.rank-top {
    display: flex;
    justify-content: space-between;
    gap: 8px;
    align-items: center;
}

.rank-top h3 {
    font-size: 15px;
}

.rank-top span {
    font-size: 10px;
    padding: 3px 6px;
    color: #647a71;
    background: #edf0e7;
    white-space: nowrap;
}

.rank-content p {
    color: var(--muted);
    font-size: 12px;
    line-height: 1.8;
    margin-top: 7px;
}

.rank-content small {
    display: block;
    border-top: 1px solid #e1ded5;
    padding-top: 8px;
    margin-top: 10px;
    color: var(--accent-dark);
    font-size: 11px;
}

.version-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
}

.version-card {
    display: flex;
    flex-direction: column;
    min-height: 310px;
    padding: 24px;
    border: 1px solid #d8d4ca;
    background: #faf8f1;
    transition: transform 0.2s, border-color 0.2s;
}

.version-card:hover {
    transform: translateY(-3px);
    border-color: var(--accent);
}

.version-head {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    color: #92775c;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 1px;
}

.version-head span:first-child {
    font: 25px Georgia, serif;
}

.version-card h3 {
    font-size: 23px;
    margin-top: 13px;
    line-height: 1.4;
}

.version-slogan {
    color: var(--accent-dark);
    font-size: 12px;
    margin-top: 5px;
}

.version-card > p {
    margin: 13px 0 20px;
    color: var(--muted);
    font-size: 12px;
    line-height: 1.9;
}

.version-card dl {
    margin-top: auto;
    padding-top: 12px;
    border-top: 1px solid #dfd9ca;
}

.version-card dl div {
    display: grid;
    grid-template-columns: 62px 1fr;
    gap: 10px;
    padding: 5px 0;
    font-size: 11px;
}

.version-card dt {
    color: #8c8a7e;
}

.version-card dd {
    color: var(--ink);
    font-weight: 700;
}

.ink-section {
    background: var(--ink);
    color: #f7ecdc;
    border-color: #173440;
}

.ink-section .section-topline {
    border-color: #42616a;
}

.ink-section .section-topline > span:last-child,
.ink-section .section-title-row p {
    color: #aebfc0;
}

.ink-section .section-title-row h2 em {
    color: #f0b784;
}

.selection-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
}

.selection-card {
    min-height: 260px;
    display: flex;
    flex-direction: column;
    padding: 24px;
    border: 1px solid #47656d;
    background: #1d3d49;
}

.selection-kicker {
    display: flex;
    justify-content: space-between;
    color: #e3ba8d;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1px;
}

.selection-card h3 {
    font-size: 20px;
    line-height: 1.45;
    margin-top: 18px;
}

.selection-card p {
    margin: 10px 0 16px;
    color: #bacac9;
    font-size: 12px;
    line-height: 1.95;
}

.selection-card a {
    margin-top: auto;
    color: #f0c294;
    font-size: 12px;
    font-weight: 800;
}

.guide-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    column-gap: 38px;
}

.guide-card {
    display: grid;
    grid-template-columns: 45px 1fr;
    gap: 15px;
    padding: 25px 0;
    border-bottom: 1px solid var(--line);
}

.guide-num {
    font: 25px Georgia, serif;
    color: var(--accent-dark);
}

.guide-card h3 {
    font-size: 17px;
    margin-bottom: 9px;
}

.guide-card p {
    color: var(--muted);
    line-height: 2;
    font-size: 13px;
}

.faq-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    align-items: start;
}

.faq-item {
    background: #fffdf8;
    border: 1px solid #d7d0c3;
    border-radius: 5px;
    overflow: hidden;
}

.faq-item summary {
    list-style: none;
    cursor: pointer;
    position: relative;
    padding: 19px 46px 19px 18px;
    font-size: 13px;
    font-weight: 850;
}

.faq-item summary::-webkit-details-marker {
    display: none;
}

.faq-item summary::after {
    content: "+";
    position: absolute;
    right: 18px;
    top: 13px;
    color: var(--accent-dark);
    font-size: 24px;
}

.faq-item[open] summary::after {
    content: "−";
}

.faq-item p {
    border-top: 1px solid var(--line);
    margin: 0 18px 18px;
    padding-top: 13px;
    font-size: 12px;
    line-height: 1.95;
    color: var(--muted);
}

.about-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 390px;
    gap: 68px;
    align-items: center;
    padding-top: 28px;
}

.about-grid > div p {
    color: var(--muted);
    margin-top: 19px;
    font-size: 13px;
    line-height: 2.05;
}

.about-quote {
    background: #f0e8d9;
    border-left: 4px solid var(--accent);
    padding: 33px 30px;
}

.about-quote > span {
    color: var(--accent-dark);
    letter-spacing: 2px;
    font-size: 10px;
    font-weight: 900;
}

.about-quote blockquote {
    margin: 20px 0;
    font-size: 23px;
    line-height: 1.65;
    font-weight: 800;
}

.about-quote p {
    color: var(--muted);
    font-size: 11px;
}

.small-section {
    padding: 44px 0;
}

.legal-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    padding-top: 26px;
}

.legal-grid h2 {
    font-size: 27px;
    margin-bottom: 11px;
}

.legal-grid h3 {
    font-size: 17px;
    margin: 6px 0 14px;
}

.legal-grid p {
    color: var(--muted);
    font-size: 12px;
    line-height: 2;
}

.friend-links {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 13px;
}

.friend-links a {
    display: flex;
    justify-content: space-between;
    gap: 8px;
    align-items: center;
    min-height: 65px;
    padding: 17px;
    color: var(--ink);
    border: 1px solid var(--line);
    background: #f8f4e9;
    font-size: 13px;
    font-weight: 850;
}

.friend-links a:hover {
    border-color: var(--accent);
}

.friend-links a span {
    color: var(--accent-dark);
}

.contact-section {
    padding: 40px 0;
    background: var(--accent-dark);
    color: white;
}

.contact-grid {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 30px;
}

.contact-grid > div > span {
    color: #f0c2a0;
    font-size: 10px;
    font-weight: 900;
    letter-spacing: 2px;
}

.contact-grid h2 {
    font-size: 26px;
    margin: 5px 0;
}

.contact-grid p {
    max-width: 760px;
    font-size: 12px;
    color: #f4dccd;
}

.button-light {
    flex: 0 0 auto;
    border-color: #fff1df;
    background: #fff1df;
    color: var(--accent-dark);
}

.site-footer {
    background: #12313c;
    color: #d2dfdb;
    padding: 36px 0 22px;
}

.footer-grid {
    display: flex;
    justify-content: space-between;
    gap: 34px;
    padding-bottom: 26px;
}

.footer-grid img {
    width: 220px;
    height: auto;
    background: #f9f5eb;
    border-radius: 4px;
}

.footer-grid p {
    margin-top: 9px;
    color: #acbfbb;
    font-size: 12px;
}

.footer-anchors {
    display: flex;
    flex-wrap: wrap;
    gap: 9px 20px;
    align-content: center;
    max-width: 530px;
}

.footer-anchors a {
    color: #d2dfdb;
    font-size: 12px;
}

.footer-anchors a:hover {
    color: #f0bf96;
}

.copyright {
    padding-top: 17px;
    border-top: 1px solid #3a5860;
    color: #9bb2ae;
    font-size: 11px;
}

@media (max-width: 1000px) {
    .hero-grid {
        grid-template-columns: minmax(0, 1fr) minmax(270px, 0.77fr);
        gap: 24px;
    }

    .metric-grid,
    .ranking-grid,
    .version-grid,
    .selection-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .about-grid {
        grid-template-columns: 1fr 0.8fr;
        gap: 25px;
    }
}

@media (max-width: 740px) {
    html {
        scroll-padding-top: 80px;
    }

    .container {
        width: calc(100% - 30px);
    }

    .masthead-note {
        display: none;
    }

    .masthead {
        padding: 11px 0;
    }

    .site-logo img {
        width: 250px;
    }

    .hero-grid {
        grid-template-columns: 1fr;
        padding: 43px 0;
    }

    .hero-dossier {
        min-height: 350px;
    }

    .hero h1 {
        letter-spacing: -0.5px;
        font-size: clamp(31px, 7vw, 46px);
    }

    .snapshot,
    .content-section {
        padding: 43px 0 46px;
    }

    .snapshot-title-row,
    .section-title-row {
        display: block;
        margin: 20px 0 23px;
    }

    .snapshot-aside {
        max-width: initial !important;
        text-align: left;
        margin-top: 13px !important;
    }

    .corner-link {
        display: inline-block;
        white-space: normal;
        margin-top: 12px;
    }

    .metric-grid,
    .ranking-grid,
    .version-grid,
    .selection-grid,
    .guide-grid,
    .faq-grid,
    .info-grid,
    .friend-links,
    .legal-grid {
        grid-template-columns: 1fr;
    }

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

    .metric {
        padding: 16px;
    }

    .metric b {
        font-size: 35px;
    }

    .version-card {
        min-height: 0;
    }

    .guide-card {
        padding: 18px 0;
    }

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

    .legal-grid {
        gap: 22px;
    }

    .friend-links {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .contact-grid,
    .footer-grid {
        align-items: flex-start;
        flex-direction: column;
    }

    .mini-seal {
        margin-top: 14px;
    }
}

@media (max-width: 380px) {
    .top-strip-inner span:last-child {
        display: none;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: stretch;
    }

    .hero-dossier {
        padding: 21px 17px 28px;
    }

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

    .dossier-line {
        grid-template-columns: 25px 45px 1fr;
    }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .button, .version-card { transition: none; }
}
