:root {
  --black: #060a09;
  --gold: #c89b52;
  --gold-light: #ead09b;
  --line: rgba(200, 155, 82, .24);
  --red: #9d2a22;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 72px; }
body { margin: 0; background: var(--black); color: #d9d1c2; font-family: "Microsoft YaHei", "Noto Sans SC", sans-serif; }
body.dialog-open { overflow: hidden; }
a { color: inherit; text-decoration: none; }
button { border: 0; color: inherit; font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button:focus-visible, a:focus-visible { outline: 2px solid #edc777; outline-offset: 4px; }
[hidden] { display: none !important; }
main { min-height: 100vh; overflow: hidden; }
.page-width { width: min(1180px, calc(100% - 48px)); margin: 0 auto; }

.site-header {
  position: fixed; z-index: 50; inset: 0 0 auto; height: 72px;
  padding: 0 max(24px, calc((100vw - 1180px) / 2));
  display: flex; align-items: center; background: rgba(5, 9, 8, .83);
  border-bottom: 1px solid rgba(255, 255, 255, .08); backdrop-filter: blur(13px); transition: .25s;
}
.site-header.compact { height: 62px; background: rgba(5, 9, 8, .97); }
.brand { display: flex; align-items: center; gap: 13px; color: var(--gold-light); white-space: nowrap; }
.brand-mark { width: 34px; height: 34px; display: grid; place-items: center; flex: 0 0 auto; overflow: hidden; border-radius: 7px; }
.brand-mark img { width: 100%; height: 100%; display: block; object-fit: cover; }
.brand strong { font: 700 24px "STKaiti", "KaiTi", serif; letter-spacing: .08em; }
.site-header nav { display: flex; gap: 34px; margin-left: auto; }
.site-header nav a { position: relative; padding: 26px 0; color: #aeb0aa; font-size: 13px; transition: .2s; }
.site-header nav a:hover, .site-header nav a.active { color: #e9d5ae; }
.site-header nav a::after { content: ""; position: absolute; left: 50%; right: 50%; bottom: 0; height: 2px; background: var(--gold); transition: .2s; }
.site-header nav a:hover::after, .site-header nav a.active::after { left: 0; right: 0; }
.menu-button { display: none; padding: 8px 13px; border: 1px solid var(--line); background: transparent; color: #dbc18f; font-size: 12px; }

.hero { position: relative; height: 720px; min-height: 640px; margin-top: 72px; display: flex; align-items: center; overflow: hidden; background: #050908; }
.hero-video { position: absolute; z-index: 0; inset: 0; width: 100%; height: 100%; object-fit: contain; object-position: right center; }
.hero::before { content: ""; position: absolute; z-index: 1; inset: 0; background: linear-gradient(90deg, rgba(4,8,7,.96) 0%, rgba(4,8,7,.82) 35%, rgba(4,8,7,.22) 67%, rgba(4,8,7,.08)), linear-gradient(0deg, rgba(4,8,7,.65), transparent 30%); }
.hero-content { position: relative; z-index: 2; padding-top: 64px; }
.hero h1 { margin: 0; color: #e7c98f; font: 700 clamp(72px, 8vw, 112px)/.95 "STKaiti", "KaiTi", serif; letter-spacing: .04em; text-shadow: 0 4px 24px rgba(0,0,0,.5); }
.hero h2 { margin: 28px 0 0; color: #e7d1a5; font: 600 clamp(19px, 2vw, 27px) "STKaiti", "KaiTi", serif; letter-spacing: .16em; }
.hero-copy { margin: 26px 0 32px; color: #aeb1aa; font: 14px/2 "Microsoft YaHei", "΢���ź�", sans-serif; }
.hero-actions { display: flex; gap: 20px; }
.hero-actions button, .closing-actions button { min-width: 200px; height: 60px; cursor: pointer; border: 1px solid var(--gold); font: 700 18px "STKaiti", "KaiTi", serif; letter-spacing: .1em; transition: .2s; }
.primary-action { background: linear-gradient(#af3027, #7c1d18); color: #f4dfbb; box-shadow: 0 8px 28px rgba(112,20,16,.28); }
.secondary-action { background: rgba(7,12,10,.72); color: #e1c28b; }
.hero-actions button:hover, .closing-actions button:hover { transform: translateY(-2px); filter: brightness(1.12); }

.news-bar { background: #0b110f; border-top: 1px solid rgba(255,255,255,.07); border-bottom: 1px solid rgba(255,255,255,.06); }
.news-inner { min-height: 150px; display: grid; grid-template-columns: 150px 1fr; align-items: center; }
.news-heading { height: 84px; display: grid; align-content: center; border-right: 1px solid var(--line); }
.news-heading strong { color: #dfc28b; font: 700 23px "STKaiti", "KaiTi", serif; }
.news-heading span { margin-top: 4px; color: #5f685f; font: 9px Georgia, serif; letter-spacing: .32em; }
.news-items { padding: 0 36px; display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 22px; }
.news-items a { min-width: 0; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 5px; color: #8f958f;  font: 13px "Microsoft YaHei", "΢���ź�", sans-serif; }
.news-items a:hover strong { color: #dcc391; }
.news-items span { color: #b08952; }
.news-items strong { overflow: hidden; font-weight: 400; text-overflow: ellipsis; white-space: nowrap; }
.news-items time { color: #646c65; }

.news-backdrop { position: fixed; z-index: 122; inset: 0; padding: 24px; display: grid; place-items: center; background: rgba(1,4,3,.95); backdrop-filter: blur(11px); }
.news-dialog { width: min(1060px, 100%); height: min(860px, calc(100vh - 48px)); display: grid; grid-template-rows: auto auto minmax(0,1fr); overflow: hidden; border: 1px solid rgba(200,155,82,.45); background: radial-gradient(circle at 35% 0, rgba(35,55,45,.3), transparent 34%), #080d0b; box-shadow: 0 35px 120px #000; }
.news-dialog-header { min-height: 130px; padding: 25px 34px; display: flex; align-items: center; justify-content: space-between; gap: 28px; border-bottom: 1px solid rgba(200,155,82,.2); background: linear-gradient(90deg, rgba(16,27,22,.97), rgba(8,13,11,.97)); }
.news-dialog-header span { color: #987b4e; font: 14px Georgia, serif; letter-spacing: .22em; }
.news-dialog-header h2 { margin: 8px 0 0; color: #e3c58e; font-size: 34px; line-height: 1.25; }
.news-dialog-header p { margin: 8px 0 0; color: #7f8981; font-size: 15px; }
.news-dialog-close { flex: 0 0 auto; padding: 12px 20px; cursor: pointer; border: 1px solid rgba(200,155,82,.38); background: rgba(0,0,0,.2); color: #caae79; font-size: 16px; }
.news-article-tabs { padding: 12px 18px; display: flex; gap: 8px; overflow-x: auto; border-bottom: 1px solid rgba(200,155,82,.17); background: rgba(5,10,8,.96); scrollbar-color: #655338 #0a0f0d; }
.news-article-tabs button { min-width: 0; flex: 1; padding: 11px 14px; cursor: pointer; border: 1px solid rgba(255,255,255,.08); background: rgba(255,255,255,.025); text-align: left; }
.news-article-tabs button span, .news-article-tabs button strong { display: block; }
.news-article-tabs button span { color: #87724e; font-size: 12px; }
.news-article-tabs button strong { margin-top: 5px; overflow: hidden; color: #8e958e; font-size: 14px; font-weight: 500; text-overflow: ellipsis; white-space: nowrap; }
.news-article-tabs button:hover, .news-article-tabs button.active { border-color: rgba(200,155,82,.55); background: rgba(151,101,41,.13); }
.news-article-tabs button.active strong { color: #e1c58e; }
.news-dialog-body { min-height: 0; padding: 34px 48px 52px; overflow-y: auto; scrollbar-color: #655338 #0a0f0d; }
.news-article-lead { margin: 0 0 30px; padding: 19px 22px; border-left: 3px solid #b78a46; background: rgba(200,155,82,.06); color: #c8c5ba; font-size: 18px; line-height: 1.9; }
.news-article-section { margin-top: 30px; }
.news-article-section h3 { margin: 0 0 14px; color: #dec18c; font-size: 23px; }
.news-article-section p, .news-article-section li { color: #9da39d; font-size: 16px; line-height: 2; }
.news-article-section p { margin: 0 0 12px; }
.news-article-section ul { margin: 0; padding-left: 24px; }
.news-article-signature { margin: 40px 0 0; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.07); color: #c5a36d; font-size: 17px; line-height: 1.9; text-align: right; }

.classes { padding: 86px 0 110px; background: radial-gradient(circle at 50% 0, rgba(28,49,40,.38), transparent 28%), #070b0a; }
.section-title { text-align: center; }
.section-title > span { color: #776342; font: 9px Georgia, serif; letter-spacing: .38em; }
.section-title h2 { margin: 12px 0 10px; color: #e2c48f; font: 700 35px "STKaiti", "KaiTi", serif; letter-spacing: .1em; }
.section-title p { margin: 0; color: #6f766f; font: 13px "Microsoft YaHei", "΢���ź�", sans-serif; }
.class-showcase { position: relative; height: 480px; margin-top: 46px; overflow: hidden; border: 1px solid rgba(200,155,82,.34); background: radial-gradient(circle at 25% 45%, rgba(35,54,44,.42), transparent 42%), #050807; box-shadow: 0 28px 70px rgba(0,0,0,.38); }
.class-showcase::before { content: ""; position: absolute; z-index: 10; inset: 0; pointer-events: none; border: 1px solid rgba(231,196,133,.08); box-shadow: inset 0 0 55px rgba(0,0,0,.65); }
.class-details { position: relative; z-index: 7; width: 42%; height: 100%; display: flex; flex-direction: column; justify-content: center; padding: 48px 30px 48px 52px; background: linear-gradient(90deg, rgba(3,6,5,.97) 0%, rgba(3,6,5,.88) 58%, rgba(3,6,5,.42) 82%, transparent 100%); }
.class-details::after { display: none; }
.class-details > span { color: #806c4c; font: 10px Georgia, serif; letter-spacing: .42em; transition: .18s; }
.class-details h3 { margin: 10px 0 12px; color: #ead09a; font-size: 66px; line-height: 1; transition: .18s; }
.class-details strong { color: #d3c4a8; font-size: 17px; letter-spacing: .1em; transition: .18s; }
.class-details p { margin: 15px 0 30px; color: #828982; font-size: 13px; transition: .18s; }
.class-details .skill-open { width: max-content; padding: 11px 22px; border: 1px solid rgba(200,155,82,.42); background: rgba(4,8,7,.36); color: #c29b61; font-size: 13px; cursor: pointer; transition: .2s; }
.class-details .skill-open:hover { border-color: #a52c23; background: #a52c23; color: #f1dfbd; }
.class-details.changing > :not(a) { opacity: .18; transform: translateX(-10px); }
.class-stack { position: absolute; z-index: 2; inset: 0; overflow: hidden; background: #070a09; }
.class-portrait { position: absolute; top: 0; bottom: 0; z-index: 1; width: 14%; padding: 0; overflow: hidden; border-left: 1px solid rgba(200,155,82,.38); background-color: #080b0a; background-position: 75% center; background-size: auto 100%; background-repeat: no-repeat; cursor: pointer; filter: brightness(.45) saturate(.62); transition: left .48s cubic-bezier(.22,.8,.22,1), width .48s cubic-bezier(.22,.8,.22,1), filter .35s, transform .48s; }
.class-portrait::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(3,6,5,.42), transparent 36%, rgba(3,6,5,.08)); transition: .35s; }
.class-portrait::after { content: ""; position: absolute; inset: auto 8% 0 8%; height: 34%; opacity: 0; filter: blur(18px); transition: opacity .4s; }
.class-portrait.warrior { background-image: url("public/class-warrior-v1.jpg"); }
.class-portrait.mage { background-image: url("public/class-mage-v2.jpg"); }
.class-portrait.taoist { background-image: url("public/class-taoist-v1.jpg"); }
.class-portrait.warrior::after { background: radial-gradient(ellipse, rgba(173,43,25,.72), transparent 68%); }
.class-portrait.mage::after { background: radial-gradient(ellipse, rgba(35,101,214,.7), transparent 68%); }
.class-portrait.taoist::after { background: radial-gradient(ellipse, rgba(47,137,93,.68), transparent 68%); }
.class-portrait.active { z-index: 2; width: 72%; background-size: cover; filter: brightness(1) saturate(1.05); transform: scale(1.015); }
.class-portrait.active::before { background: linear-gradient(90deg, rgba(3,6,5,.4), transparent 43%, rgba(3,6,5,.03)); }
.class-portrait.active::after { opacity: .9; animation: class-aura 2.6s ease-in-out infinite alternate; }
.class-portrait span { position: absolute; z-index: 2; right: 18px; bottom: 20px; display: grid; gap: 2px; color: #d8bc86; font-size: 18px; font-weight: 700; letter-spacing: .16em; text-shadow: 0 2px 8px #000; writing-mode: vertical-rl; transition: opacity .25s; }
.class-portrait span small { color: rgba(219,194,147,.55); font: 8px Georgia, serif; letter-spacing: .25em; }
.class-portrait.active span { opacity: 0; }
.class-showcase[data-active-class="warrior"] .class-portrait.warrior { left: 0; }
.class-showcase[data-active-class="warrior"] .class-portrait.mage { left: 72%; }
.class-showcase[data-active-class="warrior"] .class-portrait.taoist { left: 86%; }
.class-showcase[data-active-class="mage"] .class-portrait.mage { left: 0; }
.class-showcase[data-active-class="mage"] .class-portrait.taoist { left: 72%; }
.class-showcase[data-active-class="mage"] .class-portrait.warrior { left: 86%; }
.class-showcase[data-active-class="taoist"] .class-portrait.taoist { left: 0; }
.class-showcase[data-active-class="taoist"] .class-portrait.warrior { left: 72%; }
.class-showcase[data-active-class="taoist"] .class-portrait.mage { left: 86%; }
@keyframes class-aura { from { opacity: .45; transform: scale(.88); } to { opacity: .95; transform: scale(1.08); } }

.features { padding: 90px 0 110px; background: radial-gradient(circle at 50% 0, rgba(70,45,20,.16), transparent 32%), #080b0a; border-top: 1px solid rgba(200,155,82,.14); }
.feature-showcase { position: relative; height: 500px; margin-top: 46px; overflow: hidden; border: 1px solid rgba(200,155,82,.38); background: #050807; box-shadow: 0 28px 70px rgba(0,0,0,.4); }
.feature-showcase::before { content: ""; position: absolute; z-index: 2; inset: 0; pointer-events: none; background: linear-gradient(90deg, rgba(3,6,5,.98) 0%, rgba(3,6,5,.82) 26%, rgba(3,6,5,.25) 48%, transparent 69%), linear-gradient(0deg, rgba(3,6,5,.88), transparent 24%); }
.feature-showcase::after { content: ""; position: absolute; z-index: 5; inset: 0; pointer-events: none; border: 1px solid rgba(235,202,139,.07); box-shadow: inset 0 0 70px rgba(0,0,0,.62); }
.feature-hero { position: absolute; inset: 0; width: 100%; height: 100%; display: block; object-fit: cover; object-position: center; transition: opacity .25s, transform .55s; }
.feature-copy { position: relative; z-index: 4; width: 42%; height: calc(100% - 58px); padding: 62px 28px 38px 52px; display: flex; flex-direction: column; justify-content: center; transition: opacity .22s, transform .22s; }
.feature-copy > span { color: #8b7048; font: 13px Georgia, serif; letter-spacing: .4em; }
.feature-copy h3 { margin: 10px 0 12px; color: #ead09a; font-size: 62px; line-height: 1; }
.feature-copy strong { color: #d5c29f; font-size: 21px; letter-spacing: .08em; }
.feature-copy p { max-width: 430px; margin: 17px 0 25px; color: #9da39d; font-size: 17px; line-height: 1.9; }
.feature-open { width: max-content; padding: 12px 24px; cursor: pointer; border: 1px solid rgba(200,155,82,.46); background: rgba(4,8,7,.56); color: #d1aa70; font-size: 17px; transition: .2s; }
.feature-open:hover { border-color: #a52c23; background: #a52c23; color: #f1dfbd; }
.feature-tabs { position: absolute; z-index: 4; inset: auto 0 0; height: 58px; display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid rgba(200,155,82,.22); background: rgba(4,8,7,.52); -webkit-backdrop-filter: blur(5px); backdrop-filter: blur(5px); }
.feature-tabs button { position: relative; padding: 7px 18px; display: grid; place-items: center; cursor: pointer; border-right: 1px solid rgba(200,155,82,.14); background: transparent; text-align: center; transition: .2s; }
.feature-tabs button:last-child { border-right: 0; }
.feature-tabs button::before { content: ""; position: absolute; inset: 0 auto 0 0; width: 3px; background: transparent; transition: .2s; }
.feature-tabs button strong { color: #a9aaa4; font-size: 17px; }
.feature-tabs button:hover, .feature-tabs button.active { background: rgba(58,45,24,.18); }
.feature-tabs button.active::before { background: var(--gold); }
.feature-tabs button.active strong { color: #e5c78f; }
.feature-showcase.changing .feature-hero { opacity: .28; transform: scale(1.015); }
.feature-showcase.changing .feature-copy { opacity: .15; transform: translateX(-10px); }

.feature-backdrop { position: fixed; z-index: 115; inset: 0; padding: 24px; display: grid; place-items: center; background: rgba(1,4,3,.95); backdrop-filter: blur(11px); }
.feature-dialog { width: min(1420px, 100%); height: min(870px, calc(100vh - 48px)); display: grid; grid-template-rows: auto auto minmax(0,1fr); overflow: hidden; border: 1px solid rgba(200,155,82,.45); background: radial-gradient(circle at 45% 0, rgba(35,55,45,.34), transparent 35%), #080d0b; box-shadow: 0 35px 120px #000; }
.feature-dialog-header { min-height: 112px; padding: 23px 34px; display: flex; align-items: center; border-bottom: 1px solid rgba(200,155,82,.2); background: linear-gradient(90deg, rgba(16,27,22,.97), rgba(8,13,11,.97)); }
.feature-dialog-header span { color: #8a7049; font: 16px Georgia, serif; letter-spacing: .36em; }
.feature-dialog-header h2 { margin: 6px 0 0; color: #e3c58e; font-size: 36px; line-height: 1; }
.feature-dialog-header p { margin: 8px 0 0; color: #858d86; font-size: 18px; }
.feature-close { margin-left: auto; padding: 12px 22px; cursor: pointer; border: 1px solid rgba(200,155,82,.3); background: transparent; color: #a68b5d; font-size: 17px; }
.feature-close:hover { border-color: #ad3b30; color: #e9c68e; }
.feature-dialog-tabs { height: 62px; display: flex; justify-content: center; border-bottom: 1px solid rgba(255,255,255,.06); background: #070b09; }
.feature-dialog-tabs button { position: relative; min-width: 150px; padding: 0 28px; cursor: pointer; background: transparent; color: #707870; font-size: 19px; font-weight: 700; transition: color .2s; }
.feature-dialog-tabs button::after { content: ""; position: absolute; right: 50%; bottom: 0; left: 50%; height: 2px; background: #c0934d; transition: .2s; }
.feature-dialog-tabs button:hover { color: #bda77c; }
.feature-dialog-tabs button.active { color: #e0c38e; }
.feature-dialog-tabs button.active::after { right: 22px; left: 22px; }
.feature-dialog-body { min-height: 0; display: grid; grid-template-columns: minmax(430px, 48%) 1fr; }
.feature-ui-preview { min-width: 0; min-height: 0; margin: 0; padding: 34px; display: flex; flex-direction: column; justify-content: center; border-right: 1px solid rgba(200,155,82,.16); background: radial-gradient(circle at 50% 45%, rgba(45,64,52,.25), transparent 58%); }
.feature-ui-preview img { width: 100%; max-height: calc(100% - 54px); display: block; object-fit: contain; filter: drop-shadow(0 18px 35px rgba(0,0,0,.6)); }
.feature-ui-preview figcaption { margin-top: 18px; color: #817354; font-size: 16px; text-align: center; letter-spacing: .08em; }
.feature-detail { min-width: 0; overflow-y: auto; padding: 34px 36px 48px; scrollbar-color: #80663d #101512; }
.feature-detail > p { margin: 0 0 26px; padding-bottom: 24px; border-bottom: 1px solid rgba(255,255,255,.07); color: #a7aca7; font-size: 18px; line-height: 1.9; }
#feature-detail-content > h3 { margin: 27px 0 16px; color: #dfbf87; font-size: 25px; }
.gem-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 10px; }
.gem-grid article { min-width: 0; padding: 10px 12px; display: grid; grid-template-columns: 54px minmax(0,1fr); align-items: center; gap: 12px; border: 1px solid rgba(255,255,255,.07); background: rgba(255,255,255,.018); }
.gem-grid img { width: 54px; height: 54px; flex: 0 0 auto; object-fit: contain; }
.gem-grid article div { width: 100%; min-width: 0; display: grid; grid-template-columns: minmax(0,1fr) 108px; gap: 3px 8px; }
.gem-grid strong { color: #d7c198; font-size: 18px; }
.gem-grid span { color: #969d97; font-size: 16px; }
.gem-grid small { grid-column: 2; grid-row: 1 / 3; align-self: center; color: #c49a5b; font-size: 15px; white-space: nowrap; text-align: left; }
.feature-detail.rune-detail { padding-top: 0; }
.rune-quality-tabs { position: sticky; z-index: 2; top: 0; margin: 0 -36px 24px; padding: 16px 36px; display: grid; grid-template-columns: repeat(5, minmax(0,1fr)); gap: 8px; border-bottom: 1px solid rgba(200,155,82,.16); background: rgba(7,12,10,.97); }
.rune-quality-tabs button { min-height: 44px; padding: 8px 6px; cursor: pointer; border: 1px solid rgba(255,255,255,.1); background: rgba(255,255,255,.025); color: #8c948d; font-size: 15px; transition: .2s; }
.rune-quality-tabs button:hover, .rune-quality-tabs button.active { background: rgba(255,255,255,.07); color: #efe3ca; transform: translateY(-1px); }
.rune-quality-tabs button.green.active { border-color: #4eab71; box-shadow: inset 0 -2px #4eab71; }
.rune-quality-tabs button.blue.active { border-color: #5799d0; box-shadow: inset 0 -2px #5799d0; }
.rune-quality-tabs button.purple.active { border-color: #9870d0; box-shadow: inset 0 -2px #9870d0; }
.rune-quality-tabs button.orange.active { border-color: #d18a3d; box-shadow: inset 0 -2px #d18a3d; }
.rune-quality-tabs button.red.active { border-color: #c74c4c; box-shadow: inset 0 -2px #c74c4c; }
.rune-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 10px; }
.rune-card { min-width: 0; min-height: 78px; padding: 10px 12px; display: grid; grid-template-columns: 58px minmax(0,1fr); align-items: center; gap: 12px; border: 1px solid rgba(255,255,255,.07); border-left-width: 2px; background: rgba(255,255,255,.018); }
.rune-card.green { border-left-color: #4eab71; }
.rune-card.blue { border-left-color: #5799d0; }
.rune-card.purple { border-left-color: #9870d0; }
.rune-card.orange { border-left-color: #d18a3d; }
.rune-card.red { border-left-color: #c74c4c; }
.rune-card img { width: 58px; height: 58px; display: block; object-fit: contain; }
.rune-card strong { display: block; margin-bottom: 6px; color: #dbc69d; font-size: 17px; }
.rune-card span { display: block; color: #929a93; font-size: 15px; line-height: 1.5; }
.feature-group-list { display: grid; gap: 10px; }
.feature-group { padding: 12px 14px; display: grid; grid-template-columns: 78px 1fr; gap: 15px; border: 1px solid rgba(255,255,255,.07); background: rgba(255,255,255,.018); }
.feature-group img { width: 78px; height: 78px; object-fit: contain; }
.feature-group div { min-width: 0; }
.feature-group strong { display: block; color: #d2bea0; font-size: 19px; }
.feature-group span { display: block; margin: 4px 0 8px; color: #89918b; font-size: 15px; }
.feature-group p { margin: 0; color: #a0a5a0; font-size: 16px; line-height: 1.75; }
.feature-group.green { border-left-color: #4b9f6a; }
.feature-group.blue { border-left-color: #4b82be; }
.feature-group.purple { border-left-color: #8560bb; }
.feature-group.orange { border-left-color: #bc7139; }
.feature-group.red { border-left-color: #ac3c35; }
.body-material { padding: 14px 16px; display: flex; align-items: center; gap: 15px; border: 1px solid rgba(158,102,207,.28); background: linear-gradient(90deg, rgba(97,43,139,.14), transparent); }
.body-material img { width: 64px; height: 64px; object-fit: contain; }
.body-material div { display: grid; gap: 6px; }
.body-material strong { color: #d7b4ec; font-size: 19px; }
.body-material span { color: #9ca09e; font-size: 16px; }
.grade-track { display: grid; grid-template-columns: repeat(5, minmax(0,1fr)); gap: 8px; }
.grade-track button { min-width: 0; min-height: 46px; padding: 8px 6px; cursor: pointer; border: 1px solid rgba(200,155,82,.24); background: rgba(255,255,255,.018); color: #a09882; font: 17px Georgia, serif; text-align: center; transition: .2s; }
.grade-track button:hover, .grade-track button.active { border-color: #c19751; background: rgba(151,101,41,.16); color: #e2c58f; transform: translateY(-1px); }
.grade-track button.high { border-color: rgba(205,86,187,.34); color: #d195d4; background: rgba(125,43,117,.1); }
.grade-track button.high.active { border-color: #d86aca; background: rgba(125,43,117,.22); color: #f0b6e9; }
.body-attrs { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 8px; }
.body-attrs article { min-width: 0; padding: 12px 14px; display: flex; align-items: center; justify-content: space-between; gap: 12px; border-left: 2px solid #9c65bc; background: rgba(255,255,255,.025); }
.body-attrs strong { color: #b2b7b2; font-size: 16px; font-weight: 400; }
.body-attrs span { flex: 0 0 auto; color: #d6a6e5; font-size: 17px; font-weight: 700; }
.feature-detail.qiyuan-detail { padding-top: 0; }
.qiyuan-quality-tabs { position: sticky; z-index: 2; top: 0; margin: 0 -36px 24px; padding: 18px 36px; display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 10px; border-bottom: 1px solid rgba(200,155,82,.16); background: rgba(7,12,10,.97); }
.qiyuan-quality-tabs button { min-height: 52px; padding: 8px 6px; cursor: pointer; border: 1px solid rgba(255,255,255,.1); background: rgba(255,255,255,.025); color: #8c948d; font-size: 17px; font-weight: 700; transition: .2s; }
.qiyuan-quality-tabs button:hover, .qiyuan-quality-tabs button.active { background: rgba(255,255,255,.07); color: #efe3ca; transform: translateY(-1px); }
.qiyuan-quality-tabs button.blue.active { border-color: #5799d0; box-shadow: inset 0 -2px #5799d0; }
.qiyuan-quality-tabs button.purple.active { border-color: #9870d0; box-shadow: inset 0 -2px #9870d0; }
.qiyuan-quality-tabs button.orange.active { border-color: #d18a3d; box-shadow: inset 0 -2px #d18a3d; }
.qiyuan-quality-tabs button.red.active { border-color: #c74c4c; box-shadow: inset 0 -2px #c74c4c; }
.qiyuan-quality-copy { margin: -8px 0 18px; color: #858e87; font-size: 16px; }
.qiyuan-attr-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); align-items: stretch; gap: 10px; }
.qiyuan-attr-grid article { min-width: 0; min-height: 112px; padding: 14px 16px; display: flex; flex-direction: column; align-items: flex-start; gap: 8px; border: 1px solid rgba(255,255,255,.07); border-left-width: 2px; background: rgba(255,255,255,.018); }
.qiyuan-attr-grid article.blue { border-left-color: #5799d0; }
.qiyuan-attr-grid article.purple { border-left-color: #9870d0; }
.qiyuan-attr-grid article.orange { border-left-color: #d18a3d; }
.qiyuan-attr-grid article.red { border-left-color: #c74c4c; }
.qiyuan-attr-grid strong { color: #d3bd91; font-size: 18px; font-weight: 700; }
.qiyuan-attr-grid p { margin: 0; color: #8e9690; font-size: 15px; line-height: 1.7; }

.game-intro { padding: 90px 0 110px; border-top: 1px solid rgba(200,155,82,.14); background: radial-gradient(circle at 50% 0, rgba(27,48,43,.22), transparent 36%), #070b09; }
.game-intro-showcase { position: relative; height: 500px; margin-top: 46px; overflow: hidden; border: 1px solid rgba(200,155,82,.38); background: #050807; box-shadow: 0 28px 70px rgba(0,0,0,.42); }
.game-intro-showcase::before { content: ""; position: absolute; z-index: 2; inset: 0; pointer-events: none; background: linear-gradient(90deg, rgba(3,6,5,.99) 0%, rgba(3,6,5,.86) 28%, rgba(3,6,5,.28) 51%, transparent 72%), linear-gradient(0deg, rgba(3,6,5,.9), transparent 25%); }
.game-intro-showcase::after { content: ""; position: absolute; z-index: 5; inset: 0; pointer-events: none; box-shadow: inset 0 0 70px rgba(0,0,0,.62); }
.game-intro-hero { position: absolute; inset: 0; width: 100%; height: 100%; display: block; object-fit: cover; transition: opacity .25s, transform .55s; }
.game-intro-copy { position: relative; z-index: 4; width: 44%; height: calc(100% - 58px); padding: 62px 28px 38px 52px; display: flex; flex-direction: column; justify-content: center; transition: opacity .22s, transform .22s; }
.game-intro-copy > span { color: #8b7048; font: 13px Georgia, serif; letter-spacing: .4em; }
.game-intro-copy h3 { margin: 10px 0 12px; color: #ead09a; font-size: 62px; line-height: 1; }
.game-intro-copy strong { color: #d5c29f; font-size: 21px; letter-spacing: .08em; }
.game-intro-copy p { max-width: 460px; margin: 17px 0 25px; color: #9da39d; font-size: 17px; line-height: 1.9; }
.game-intro-open { align-self: flex-start; min-width: 118px; padding: 11px 20px; cursor: pointer; border: 1px solid rgba(200,155,82,.48); background: rgba(3,7,5,.68); color: #d8b878; font-size: 16px; }
.game-intro-tabs { position: absolute; z-index: 4; inset: auto 0 0; height: 58px; display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid rgba(200,155,82,.22); background: rgba(4,8,7,.58); backdrop-filter: blur(5px); }
.game-intro-tabs button { position: relative; cursor: pointer; border-right: 1px solid rgba(200,155,82,.14); background: transparent; color: #aaa9a2; font-size: 17px; font-weight: 700; }
.game-intro-tabs button:last-child { border-right: 0; }
.game-intro-tabs button::before { content: ""; position: absolute; inset: 0 auto 0 0; width: 3px; background: transparent; }
.game-intro-tabs button:hover, .game-intro-tabs button.active { color: #e5c78f; background: rgba(58,45,24,.18); }
.game-intro-tabs button.active::before { background: var(--gold); }
.game-intro-showcase.changing .game-intro-hero { opacity: .28; transform: scale(1.015); }
.game-intro-showcase.changing .game-intro-copy { opacity: .15; transform: translateX(-10px); }

.game-intro-backdrop { position: fixed; z-index: 118; inset: 0; padding: 24px; display: grid; place-items: center; background: rgba(1,4,3,.95); backdrop-filter: blur(11px); }
.game-intro-dialog { width: min(1420px, 100%); height: min(890px, calc(100vh - 48px)); display: grid; grid-template-rows: auto auto minmax(0,1fr); overflow: hidden; border: 1px solid rgba(200,155,82,.45); background: radial-gradient(circle at 45% 0, rgba(35,55,45,.34), transparent 35%), #080d0b; box-shadow: 0 35px 120px #000; }
.game-intro-dialog-header { min-height: 112px; padding: 23px 34px; display: flex; align-items: center; border-bottom: 1px solid rgba(200,155,82,.2); background: linear-gradient(90deg, rgba(16,27,22,.97), rgba(8,13,11,.97)); }
.game-intro-dialog-header span { color: #8a7049; font: 16px Georgia, serif; letter-spacing: .36em; }
.game-intro-dialog-header h2 { margin: 6px 0 0; color: #e3c58e; font-size: 36px; line-height: 1; }
.game-intro-dialog-header p { margin: 8px 0 0; color: #858d86; font-size: 18px; }
.game-intro-close { margin-left: auto; padding: 12px 20px; cursor: pointer; border: 1px solid rgba(200,155,82,.28); background: transparent; color: #aa936c; font-size: 16px; }
.game-intro-dialog-tabs { height: 62px; display: flex; justify-content: center; border-bottom: 1px solid rgba(255,255,255,.06); background: #070b09; }
.game-intro-dialog-tabs button { position: relative; min-width: 150px; padding: 0 28px; cursor: pointer; background: transparent; color: #707870; font-size: 19px; font-weight: 700; }
.game-intro-dialog-tabs button::after { content: ""; position: absolute; right: 50%; bottom: 0; left: 50%; height: 2px; background: #c0934d; transition: .2s; }
.game-intro-dialog-tabs button:hover, .game-intro-dialog-tabs button.active { color: #e0c38e; }
.game-intro-dialog-tabs button.active::after { right: 22px; left: 22px; }
.game-intro-dialog-content { min-height: 0; padding: 28px 32px 46px; overflow-y: auto; scrollbar-color: #655338 #0a0f0d; }
.intro-summary { max-width: 980px; margin: 0 auto 24px; color: #959d96; font-size: 17px; line-height: 1.9; text-align: center; }
.intro-subtabs { position: sticky; z-index: 3; top: -28px; margin: -28px -32px 26px; padding: 14px 32px; display: flex; justify-content: center; flex-wrap: wrap; gap: 8px; border-bottom: 1px solid rgba(200,155,82,.16); background: rgba(7,12,10,.97); }
.intro-subtabs button { min-width: 112px; min-height: 44px; padding: 8px 14px; cursor: pointer; border: 1px solid rgba(255,255,255,.09); background: rgba(255,255,255,.025); color: #858d86; font-size: 16px; }
.intro-subtabs button:hover, .intro-subtabs button.active { border-color: rgba(200,155,82,.55); color: #e1c58e; background: rgba(151,101,41,.14); }
.intro-heading { margin: 0 0 18px; color: #dfc38e; font-size: 27px; }
.intro-map-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 14px; }
.intro-map-card--hell { grid-column-start: 1; }
.intro-map-card, .intro-boss-card, .intro-suit-card, .intro-weapon-card, .intro-activity-card { min-width: 0; border: 1px solid rgba(255,255,255,.075); background: rgba(255,255,255,.02); }
.intro-map-card img { width: 100%; aspect-ratio: 583/338; display: block; object-fit: cover; }
.intro-card-label { padding: 12px 14px; display: block; color: #cbb486; font-size: 16px; }
.intro-boss-title { margin: 30px 0 15px; color: #d9bd88; font-size: 23px; }
.intro-boss-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 14px; }
.intro-boss-card { min-height: 188px; padding: 14px; display: grid; grid-template-columns: 160px 1fr; align-items: center; gap: 18px; }
.intro-boss-card img { width: 160px; height: 160px; object-fit: contain; }
.intro-boss-card strong { color: #d4bc8e; font-size: 17px; }
.intro-suit-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 14px; }
.intro-suit-card { padding: 15px; }
.intro-suit-card > img { width: 100%; aspect-ratio: 1.04; display: block; object-fit: contain; background: rgba(0,0,0,.25); }
.intro-suit-card h4 { margin: 13px 0 10px; color: #d8be8c; font-size: 20px; }
.intro-suit-tiers { display: grid; gap: 7px; }
.intro-suit-tiers details { border-top: 1px solid rgba(255,255,255,.06); }
.intro-suit-tiers summary { padding: 9px 0; cursor: pointer; color: #9c8865; font-size: 15px; }
.intro-suit-tiers p { margin: 0 0 10px; color: #8b938c; font-size: 14px; line-height: 1.7; }
.intro-suit-tier-lines span { display: block; }
.intro-weapon-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 14px; }
.intro-weapon-card { padding: 12px; }
.intro-weapon-visuals { min-height: 330px; display: grid; grid-template-columns: minmax(256px,1fr) minmax(198px,1fr); align-items: center; justify-items: center; gap: 12px; background: rgba(0,0,0,.24); }
.intro-weapon-visuals img { display: block; width: auto; height: auto; max-width: none; max-height: none; object-fit: contain; image-rendering: auto; }
.intro-weapon-appearance { width: 256px !important; height: 256px !important; }
.intro-weapon-attribute { width: auto !important; height: auto !important; }
.intro-weapon-card strong { display: block; margin-top: 10px; color: #d0b783; font-size: 16px; text-align: center; }
.intro-activity-list { display: grid; gap: 18px; }
.intro-activity-card { padding: 18px; }
.intro-activity-card h3 { margin: 0 0 7px; color: #dfc38e; font-size: 25px; }
.intro-activity-card > p { margin: 0 0 15px; color: #929a93; font-size: 16px; line-height: 1.8; }
.intro-activity-gallery { display: grid; grid-template-columns: 1fr; gap: 28px; }
.intro-activity-gallery figure { width: 100%; margin: 0; display: grid; justify-items: center; min-width: 0; }
.intro-activity-gallery img { width: auto; height: auto; max-width: 100%; max-height: none; display: block; object-fit: contain; background: rgba(0,0,0,.28); }
.intro-activity-gallery figcaption { padding: 10px 5px 0; color: #a08b65; font-size: 16px; text-align: center; }

.closing { padding: 68px 0; background: linear-gradient(90deg, #111a16, #0a0f0d); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.closing-inner { display: flex; align-items: center; justify-content: space-between; gap: 45px; }
.closing span { color: #a48653; font-size: 16px; letter-spacing: .16; }
.closing h2 { margin: 12px 0 8px; color: #e2c99a; font: 700 31px "STKaiti", "KaiTi", serif; }
.closing p { margin: 0; color: #70776f; font-size: 16px; }
.closing-actions { display: flex; gap: 12px; }
.closing-actions button { min-width: 140px; height: 48px; background: transparent; font-size: 15px; }
.closing-actions button:first-child { background: #8d251e; }

footer { padding: 43px 0 34px; background: #060908; }
.footer-main { display: flex; align-items: center; padding-bottom: 35px; border-bottom: 1px solid rgba(255,255,255,.06); }
.footer-brand { display: grid; grid-template-columns: auto 1fr; align-items: center; column-gap: 13px; }
.footer-brand .brand-mark { grid-row: 1 / 3; }
.footer-brand strong { color: #d9c295; font: 700 21px "STKaiti", "KaiTi", serif; }
.footer-brand small { color: #69716a; font-size: 14px; }
.footer-main nav { display: flex; gap: 24px; margin-left: auto; color: #858c86; font-size: 14px; }
.footer-main nav button { padding: 0; background: transparent; cursor: pointer; }
.footer-main nav a:hover, .footer-main nav button:hover { color: #d1af72; }
.legal { padding-top: 25px; color: #626a64; font-size: 14px; line-height: 2; text-align: center; }
.mobile-actions { display: none; }
.mobile-device .mobile-actions { position: fixed; z-index: 45; left: 0; right: 0; bottom: 0; display: grid; grid-template-columns: 1fr 1fr; box-shadow: 0 -8px 26px rgba(0,0,0,.35); }
.mobile-device .mobile-actions button { height: 54px; background: #8d251e; color: #f2dfba; font-size: 17px; font-weight: 700; }
.mobile-device .mobile-actions button:last-child { background: #161d19; color: #d7ba85; border-left: 1px solid var(--line); }
.desktop-quick-actions { position: fixed; z-index: 48; right: 22px; bottom: 28px; width: 98px; overflow: visible; border: 1px solid rgba(255,255,255,.2); box-shadow: 0 10px 34px rgba(0,0,0,.5); }
.mobile-device .desktop-quick-actions { display: none; }
.quick-action { width: 100%; height: 72px; padding: 8px 4px 7px; display: grid; place-items: center; align-content: center; gap: 4px; border-bottom: 1px solid rgba(255,255,255,.28); color: #fff; cursor: default; text-shadow: 0 1px 3px rgba(0,0,0,.35); transition: filter .2s, transform .2s; }
.quick-action[data-dialog] { cursor: pointer; }
.desktop-quick-actions > .quick-action:last-child { border-bottom: 0; }
.quick-action:hover { filter: brightness(1.12); }
.quick-action svg { width: 30px; height: 30px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.quick-action span { font-size: 16px; line-height: 1.2; font-weight: 700; white-space: nowrap; }
.quick-download { background: #b7642c; }
.quick-service { background: #3987bd; }
.quick-wechat { background: #58ad45; }
.quick-group { background: #e2a51e; }
.quick-wechat-wrap { position: relative; width: 100%; height: 72px; }
.wechat-qr-popover { position: absolute; z-index: 2; right: calc(100% + 10px); top: 50%; width: 194px; padding: 2px; visibility: hidden; opacity: 0; transform: translateY(-50%) translateX(8px); background: #fff; box-shadow: 0 12px 38px rgba(0,0,0,.65); pointer-events: none; transition: opacity .2s, transform .2s, visibility .2s; }
.wechat-qr-popover img { display: block; width: 190px; height: 190px; object-fit: contain; }
.quick-wechat-wrap:hover .wechat-qr-popover, .quick-wechat-wrap:focus-within .wechat-qr-popover { visibility: visible; opacity: 1; transform: translateY(-50%) translateX(0); }

.dialog-backdrop { position: fixed; z-index: 100; inset: 0; padding: 20px; display: grid; place-items: center; background: rgba(2,5,4,.86); backdrop-filter: blur(8px); }
.dialog { position: relative; width: min(430px, 100%); padding: 50px 44px 40px; border: 1px solid rgba(200,155,82,.45); background: radial-gradient(circle at 50% 0, #24342b, #0b110e 55%); text-align: center; box-shadow: 0 30px 100px #000; }
.dialog-close { position: absolute; right: 14px; top: 12px; background: transparent; color: #777e77; cursor: pointer; font-size: 11px; }
.dialog-label { color: #806b48; font: 9px Georgia, serif; letter-spacing: .35em; }
.dialog h2 { margin: 12px 0 20px; color: #e2c48f; font: 700 34px "STKaiti", "KaiTi", serif; }
.dialog p { color: #858c85; font: 13px/1.9 "STSong", "SimSun", serif; }
.dialog strong { display: block; margin: 22px 0; color: #b09362; font-size: 11px; font-weight: 400; }
.dialog-confirm { width: 100%; height: 46px; border: 1px solid #9f352b; background: #8c251e; color: #f0ddba; cursor: pointer; }

.skills-backdrop { position: fixed; z-index: 110; inset: 0; padding: 24px; display: grid; place-items: center; background: rgba(1,4,3,.94); backdrop-filter: blur(10px); }
.skills-dialog { width: min(1380px, 100%); height: min(860px, calc(100vh - 48px)); display: grid; grid-template-rows: auto auto minmax(0,1fr); overflow: hidden; border: 1px solid rgba(200,155,82,.45); background: radial-gradient(circle at 48% 0, rgba(34,55,45,.36), transparent 35%), #080d0b; box-shadow: 0 35px 120px #000; }
.skills-header { min-height: 108px; padding: 24px 34px; display: flex; align-items: center; border-bottom: 1px solid rgba(200,155,82,.18); background: linear-gradient(90deg, rgba(16,27,22,.96), rgba(8,13,11,.96)); }
.skills-header span { color: #806b46; font: 14px Georgia, serif; letter-spacing: .36em; }
.skills-header h2 { margin: 7px 0 4px; color: #e5ca96; font-size: 27px; letter-spacing: .08em; }
.skills-header p { margin: 0; color: #687169; font-size: 14px; letter-spacing: .08em; }
.skills-close { margin-left: auto; width: 58px; height: 36px; border: 1px solid rgba(200,155,82,.28); background: transparent; color: #9a8765; cursor: pointer; font-size: 14px; }
.skills-close:hover { border-color: #a9342a; color: #e6c996; }
.skill-class-tabs { height: 58px; display: flex; justify-content: center; border-bottom: 1px solid rgba(255,255,255,.06); background: #070b09; }
.skill-class-tabs button { position: relative; min-width: 150px; padding: 0 28px; background: transparent; color: #707870; cursor: pointer; font-weight: 700; }
.skill-class-tabs button::after { content: ""; position: absolute; left: 50%; right: 50%; bottom: 0; height: 2px; background: #c0934d; transition: .2s; }
.skill-class-tabs button.active { color: #e0c38e; }
.skill-class-tabs button.active::after { left: 22px; right: 22px; }
.skills-layout { min-height: 0; display: grid; grid-template-columns: 210px minmax(390px, 1fr) minmax(330px, .9fr); }
.skill-chain-nav { min-height: 0; padding: 18px 12px; overflow-y: auto; border-right: 1px solid rgba(200,155,82,.16); background: rgba(4,8,6,.72); scrollbar-color: #655338 #0a0f0d; }
.skill-chain-nav button { width: 100%; min-height: 55px; padding: 9px 16px; display: grid; grid-template-columns: 1fr; align-items: center; border-bottom: 1px solid rgba(255,255,255,.05); background: transparent; color: #788079; text-align: left; cursor: pointer; transition: .2s; }
.skill-chain-nav button strong { font-size: 14px; font-weight: 500; }
.skill-chain-nav button:hover { background: rgba(200,155,82,.07); color: #ccb17e; }
.skill-chain-nav button.active { border-left: 2px solid #b88d48; background: linear-gradient(90deg, rgba(151,101,41,.18), transparent); color: #e4c78f; }
.skill-tree-view { min-width: 0; min-height: 0; margin: 0; padding: 28px; display: flex; flex-direction: column; align-items: center; justify-content: center; border-right: 1px solid rgba(200,155,82,.16); background: radial-gradient(circle at 50% 45%, rgba(38,62,50,.35), transparent 58%); }
.skill-image-frame { width: min(100%, 570px); padding: 10px; border: 1px solid rgba(200,155,82,.28); background: #030504; box-shadow: 0 18px 50px rgba(0,0,0,.52); }
.skill-image-frame img { width: 100%; height: auto; display: block; }
.skill-tree-view figcaption { width: min(100%, 570px); margin-top: 18px; display: grid; grid-template-columns: 1fr; align-items: center; gap: 4px; }
.skill-tree-view figcaption strong { color: #dfc28b; font-size: 19px; }
.skill-tree-view figcaption small { color: #626a63; font-size: 14px; }
.skill-node-panel { min-width: 0; min-height: 0; display: grid; grid-template-rows: auto minmax(0,1fr); background: rgba(7,12,10,.72); }
.skill-node-heading { padding: 26px 26px 20px; border-bottom: 1px solid rgba(255,255,255,.06); }
.skill-node-heading > span { color: #776445; font-size: 14px; letter-spacing: .24em; }
.skill-node-heading h3 { margin: 8px 0 6px; color: #ddc28f; font-size: 20px; }
.skill-node-heading p { margin: 0; color: #646c65; font-size: 14px; }
.skill-node-list { min-height: 0; padding: 10px 22px 24px; overflow-y: auto; scrollbar-color: #655338 #0a0f0d; }
.skill-node-list article { padding: 14px 2px; display: grid; grid-template-columns: 1fr; border-bottom: 1px solid rgba(255,255,255,.055); }
.skill-node-list strong { display: block; margin-bottom: 5px; color: #c8b184; font-size: 14px; font-weight: 500; }
.skill-node-list p { margin: 0; color: #737b74; font-size: 14px; line-height: 1.75; }

/* 电脑端阅读优化：手机端字号继续使用下方移动端规则 */
@media (min-width: 641px) {
  body { font-size: 18px; }
  .brand strong { font-size: 29px; }
  .site-header nav a { font-size: 17px; }
  .hero-copy { font-size: 18px; line-height: 2; }
  .news-heading strong { font-size: 26px; }
  .news-heading span { font-size: 14px; }
  .news-items a { font-size: 17px; }
  .section-title > span { font-size: 14px; }
  .section-title h2 { font-size: 40px; }
  .section-title p { font-size: 17px; }
  .class-details > span { font-size: 14px; }
  .class-details strong { font-size: 21px; }
  .class-details p { font-size: 17px; }
  .class-details .skill-open { font-size: 17px; }
  .class-portrait span small { font-size: 14px; }
  .closing span { font-size: 18px; }
  .closing h2 { font-size: 34px; }
  .closing p { font-size: 18px; }
  .hero-actions button { font-size: 24px; font-weight: 700; }
  .closing-actions button { font-size: 21px; font-weight: 700; }
  .footer-brand strong { font-size: 24px; }
  .footer-brand small,
  .footer-main nav,
  .legal { font-size: 16px; }
  .dialog-close,
  .dialog strong { font-size: 16px; }
  .dialog-label { font-size: 14px; }
  .dialog p { font-size: 17px; }

  .skills-header span { font-size: 17px; }
  .skills-header h2 { font-size: 34px; }
  .skills-header p,
  .skills-close { font-size: 18px; }
  .skill-class-tabs button { font-size: 20px; }
  .skill-chain-nav button strong { font-size: 18px; }
  .skill-tree-view figcaption small { font-size: 17px; }
  .skill-tree-view figcaption strong { font-size: 25px; }
  .skill-node-heading > span,
  .skill-node-heading p { font-size: 17px; }
  .skill-node-heading h3 { font-size: 26px; }
  .skill-node-list strong,
  .skill-node-list p { font-size: 18px; }
  .rune-quality-tabs { padding-top: 18px; padding-bottom: 18px; gap: 11px; }
  .rune-quality-tabs button { min-height: 54px; font-size: 18px; }
  .feature-detail.rune-detail #feature-detail-content > h3 { font-size: 28px; }
  .rune-card { min-height: 92px; grid-template-columns: 66px minmax(0,1fr); gap: 15px; padding: 12px 15px; }
  .rune-card img { width: 66px; height: 66px; }
  .rune-card strong { margin-bottom: 7px; font-size: 20px; }
  .rune-card span { font-size: 17px; }
  .qiyuan-quality-tabs button { min-height: 54px; font-size: 18px; }
  .feature-detail.qiyuan-detail #feature-detail-content > h3 { font-size: 28px; }
  .qiyuan-quality-copy { font-size: 17px; }
  .qiyuan-attr-grid article { min-height: 126px; }
  .qiyuan-attr-grid strong { font-size: 20px; }
  .qiyuan-attr-grid p { font-size: 17px; }
}

@media (max-width: 1700px) {
  .hero-video { object-fit: cover; object-position: center center; }
}

@media (min-width: 1701px) {
  .hero-video { inset: 0 0 0 auto; width: auto; max-width: none; height: 100%; -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 20%, #000 100%); mask-image: linear-gradient(90deg, transparent 0, #000 20%, #000 100%); }
}

@media (max-width: 1100px) {
  .intro-weapon-grid { grid-template-columns: 1fr; }
}

@media (max-width: 900px) {
  .desktop-quick-actions { display: none; }
  .site-header nav { position: absolute; top: 100%; left: 0; right: 0; display: none; flex-direction: column; gap: 0; padding: 10px 24px 18px; background: rgba(5,9,8,.98); }
  .site-header nav.open { display: flex; }
  .site-header nav a { padding: 13px; border-bottom: 1px solid rgba(255,255,255,.06); }
  .site-header nav a::after { display: none; }
  .menu-button { display: block; margin-left: auto; }
  .hero-video { object-position: 75% center; }
  .news-inner { grid-template-columns: 125px 1fr; }
  .news-items { grid-template-columns: 1fr; padding: 25px 30px; }
  .class-details { width: 46%; padding-left: 34px; }
  .feature-copy { width: 50%; padding-left: 35px; }
  .feature-tabs button { padding-inline: 13px; }
  .feature-dialog-body { grid-template-columns: 42% 1fr; }
  .feature-ui-preview { padding: 22px; }
  .closing-inner { align-items: flex-start; flex-direction: column; }
  .closing-actions { width: 100%; }
  .closing-actions button { flex: 1; }
  .footer-main { align-items: flex-start; }
  .footer-main nav { flex-wrap: wrap; justify-content: flex-end; max-width: 340px; }
}

@media (max-width: 640px) {
  html { scroll-padding-top: 60px; }
  .page-width { width: calc(100% - 30px); }
  .site-header, .site-header.compact { height: 60px; padding: 0 15px; }
  .brand-mark { width: 30px; height: 30px; font-size: 16px; }
  .brand strong { font-size: 19px; }
  .hero { height: 670px; min-height: 670px; margin-top: 60px; }
  .hero::before { background: linear-gradient(90deg, rgba(4,8,7,.95), rgba(4,8,7,.62) 60%, rgba(4,8,7,.28)), linear-gradient(0deg, rgba(4,8,7,.8), transparent 40%); }
  .hero-content { padding-top: 34px; }
  .hero h1 { font-size: 62px; }
  .hero h2 { max-width: 290px; font-size: 17px; line-height: 1.7; letter-spacing: .1em; }
  .hero-copy { max-width: 290px; font-size: 12px; }
  .hero-actions { gap: 9px; }
  .hero-actions button { min-width: 0; flex: 1; height: 50px; font-size: 18px; }
  .news-inner { min-height: 0; grid-template-columns: 1fr; }
  .news-heading { height: auto; padding: 27px 0 18px; border: 0; border-bottom: 1px solid var(--line); }
  .news-items { padding: 18px 0 25px; gap: 13px; }
  .news-items a:nth-child(n+4) { display: none; }
  .classes { padding: 70px 0 82px; }
  .section-title h2 { font-size: 29px; }
  .class-showcase { height: 510px; margin-top: 34px; display: block; }
  .class-details { position: absolute; z-index: 8; inset: auto 0 0; width: 100%; height: auto; min-height: 210px; justify-content: flex-end; padding: 70px 22px 25px; background: linear-gradient(0deg, rgba(3,6,5,.98) 12%, rgba(3,6,5,.82) 66%, transparent); pointer-events: none; }
  .class-details::after { display: none; }
  .class-details h3 { margin: 6px 0 7px; font-size: 42px; }
  .class-details strong { font-size: 13px; }
  .class-details p { margin: 8px 0 0; font-size: 11px; }
  .class-details .skill-open { margin-top: 10px; padding: 8px 15px; pointer-events: auto; }
  .class-stack { height: 100%; }
  .class-portrait { width: 14%; height: 72%; background-position: 75% center; }
  .class-portrait.active { width: 72%; }
  .features { padding: 70px 0 82px; }
  .feature-showcase { height: 590px; margin-top: 34px; }
  .feature-showcase::before { background: linear-gradient(0deg, rgba(3,6,5,.98) 0%, rgba(3,6,5,.87) 40%, rgba(3,6,5,.18) 75%, transparent), linear-gradient(90deg, rgba(3,6,5,.22), transparent); }
  .feature-hero { height: 58%; object-position: 62% center; }
  .feature-copy { position: absolute; inset: auto 0 56px; width: 100%; height: 250px; padding: 46px 20px 20px; justify-content: flex-end; }
  .feature-copy h3 { margin: 5px 0 8px; font-size: 43px; }
  .feature-copy strong { font-size: 16px; }
  .feature-copy p { max-width: none; margin: 9px 0 13px; font-size: 14px; line-height: 1.65; }
  .feature-open { padding: 9px 16px; font-size: 15px; }
  .feature-tabs { height: 56px; background: rgba(4,8,7,.58); }
  .feature-tabs button { padding: 6px 4px; display: grid; place-items: center; text-align: center; }
  .feature-tabs button strong { font-size: 15px; }
  .game-intro { padding: 70px 0 82px; }
  .game-intro-showcase { height: 590px; margin-top: 34px; }
  .game-intro-showcase::before { background: linear-gradient(0deg, rgba(3,6,5,.98) 0%, rgba(3,6,5,.87) 40%, rgba(3,6,5,.18) 75%, transparent), linear-gradient(90deg, rgba(3,6,5,.22), transparent); }
  .game-intro-hero { height: 58%; object-position: 63% center; }
  .game-intro-copy { position: absolute; inset: auto 0 56px; width: 100%; height: 250px; padding: 46px 20px 20px; justify-content: flex-end; }
  .game-intro-copy h3 { margin: 5px 0 8px; font-size: 43px; }
  .game-intro-copy strong { font-size: 16px; }
  .game-intro-copy p { max-width: none; margin: 9px 0 13px; font-size: 14px; line-height: 1.65; }
  .game-intro-open { padding: 9px 16px; font-size: 15px; }
  .game-intro-tabs { height: 56px; }
  .game-intro-tabs button { padding: 6px 4px; font-size: 15px; }
  .closing { padding: 52px 0 70px; }
  .closing h2 { font-size: 27px; }
  .closing-actions { display: none; }
  .footer-main { display: block; text-align: center; }
  .footer-brand { width: max-content; margin: 0 auto; }
  .footer-main nav { display: none; }
  .legal { padding-bottom: 58px; }
  .dialog { padding: 46px 25px 32px; }
  .news-backdrop { padding: 0; }
  .news-dialog { width: 100%; height: 100%; max-height: none; border: 0; }
  .news-dialog-header { position: sticky; z-index: 5; top: 0; min-height: 112px; padding: 16px 15px; gap: 12px; }
  .news-dialog-header span { font-size: 10px; letter-spacing: .13em; }
  .news-dialog-header h2 { margin-top: 5px; font-size: 23px; }
  .news-dialog-header p { margin-top: 5px; font-size: 13px; }
  .news-dialog-close { padding: 9px 13px; font-size: 14px; }
  .news-article-tabs { padding: 8px 10px; gap: 6px; }
  .news-article-tabs button { min-width: 210px; flex: 0 0 210px; padding: 9px 11px; }
  .news-dialog-body { padding: 22px 16px 72px; }
  .news-article-lead { margin-bottom: 24px; padding: 15px 16px; font-size: 16px; }
  .news-article-section { margin-top: 25px; }
  .news-article-section h3 { font-size: 21px; }
  .news-article-section p, .news-article-section li { font-size: 16px; line-height: 1.85; }
  .skills-backdrop { padding: 0; }
  .skills-dialog { width: 100%; height: 100%; max-height: none; display: block; overflow-y: auto; border: 0; }
  .skills-header { position: sticky; z-index: 5; top: 0; min-height: 86px; padding: 17px 15px; }
  .skills-header h2 { font-size: 22px; }
  .skills-header p { max-width: 240px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .skill-class-tabs { position: sticky; z-index: 5; top: 86px; height: 52px; }
  .skill-class-tabs button { min-width: 0; flex: 1; padding: 0 8px; font-size: 14px; }
  .skills-layout { display: block; }
  .skill-chain-nav { padding: 10px 15px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; overflow: visible; border: 0; border-bottom: 1px solid rgba(200,155,82,.16); }
  .skill-chain-nav button { width: 100%; min-width: 0; min-height: 44px; padding: 8px 5px; grid-template-columns: 1fr; border: 1px solid rgba(255,255,255,.06); text-align: center; }
  .skill-chain-nav button.active { border: 1px solid rgba(200,155,82,.42); }
  .skill-tree-view { padding: 22px 15px 26px; border: 0; border-bottom: 1px solid rgba(200,155,82,.16); }
  .skill-image-frame { padding: 5px; }
  .skill-node-panel { display: block; }
  .skill-node-heading { padding: 23px 18px 17px; }
  .skill-node-list { max-height: none; padding: 8px 17px 80px; overflow: visible; }
  .feature-backdrop { padding: 0; }
  .feature-dialog { width: 100%; height: 100%; display: block; overflow-y: auto; border: 0; }
  .feature-dialog-header { position: sticky; z-index: 6; top: 0; min-height: 96px; padding: 16px 15px; }
  .feature-dialog-header span { font-size: 11px; }
  .feature-dialog-header h2 { display: block; margin: 5px 0 0; font-size: 28px; }
  .feature-dialog-header p { display: none; }
  .feature-close { padding: 9px 14px; font-size: 15px; }
  .feature-dialog-tabs { position: sticky; z-index: 5; top: 96px; height: 54px; }
  .feature-dialog-tabs button { min-width: 0; flex: 1; padding: 0 4px; font-size: 16px; }
  .feature-dialog-tabs button.active::after { right: 16px; left: 16px; }
  .feature-dialog-body { display: block; }
  .feature-ui-preview { padding: 24px 15px; border: 0; border-bottom: 1px solid rgba(200,155,82,.16); }
  .feature-ui-preview img { max-height: 440px; }
  .feature-ui-preview figcaption { font-size: 14px; }
  .feature-detail { padding: 24px 15px 85px; overflow: visible; }
  .feature-detail > p { font-size: 16px; }
  #feature-detail-content > h3 { font-size: 22px; }
  .gem-grid { grid-template-columns: 1fr; }
  .gem-grid img { width: 50px; height: 50px; }
  .gem-grid article { grid-template-columns: 50px minmax(0,1fr); }
  .gem-grid article div { grid-template-columns: minmax(0,1fr) 102px; }
  .feature-detail.rune-detail { padding-top: 0; }
  .rune-quality-tabs { top: 150px; margin: 0 -15px 20px; padding: 10px 15px; gap: 5px; }
  .rune-quality-tabs button { min-height: 42px; padding: 6px 2px; font-size: 13px; }
  .rune-grid { grid-template-columns: 1fr; }
  .rune-card { grid-template-columns: 54px minmax(0,1fr); min-height: 74px; padding: 9px 10px; }
  .rune-card img { width: 54px; height: 54px; }
  .rune-card strong { font-size: 16px; }
  .rune-card span { font-size: 14px; }
  .feature-group { grid-template-columns: 62px 1fr; padding: 11px; gap: 11px; }
  .feature-group img { width: 62px; height: 62px; }
  .feature-group strong { font-size: 17px; }
  .feature-group p { font-size: 15px; }
  .feature-detail.qiyuan-detail { padding-top: 0; }
  .qiyuan-quality-tabs { top: 150px; margin: 0 -15px 20px; padding: 10px 15px; gap: 5px; }
  .qiyuan-quality-tabs button { min-height: 44px; padding: 6px 2px; font-size: 14px; }
  .qiyuan-quality-copy { margin-top: -5px; font-size: 14px; }
  .qiyuan-attr-grid { grid-template-columns: 1fr; gap: 8px; }
  .qiyuan-attr-grid article { min-height: 0; padding: 12px 13px; gap: 6px; }
  .qiyuan-attr-grid strong { font-size: 17px; }
  .qiyuan-attr-grid p { font-size: 15px; line-height: 1.65; }
  .body-attrs { grid-template-columns: 1fr; }
  .game-intro-backdrop { padding: 0; }
  .game-intro-dialog { width: 100%; height: 100%; display: block; overflow-y: auto; border: 0; }
  .game-intro-dialog-header { position: sticky; z-index: 6; top: 0; min-height: 96px; padding: 16px 15px; }
  .game-intro-dialog-header span { font-size: 11px; }
  .game-intro-dialog-header h2 { margin: 5px 0 0; font-size: 28px; }
  .game-intro-dialog-header p { display: none; }
  .game-intro-close { padding: 9px 14px; font-size: 15px; }
  .game-intro-dialog-tabs { position: sticky; z-index: 5; top: 96px; height: 54px; }
  .game-intro-dialog-tabs button { min-width: 0; flex: 1; padding: 0 4px; font-size: 16px; }
  .game-intro-dialog-tabs button.active::after { right: 16px; left: 16px; }
  .game-intro-dialog-content { padding: 20px 15px 80px; overflow: visible; }
  .intro-summary { margin-bottom: 18px; font-size: 15px; text-align: left; }
  .intro-subtabs { top: 150px; margin: -20px -15px 20px; padding: 10px 15px; display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 6px; }
  .intro-subtabs button { min-width: 0; min-height: 42px; padding: 6px 3px; font-size: 13px; }
  .intro-heading { font-size: 23px; }
  .intro-map-grid, .intro-boss-grid, .intro-suit-grid, .intro-weapon-grid, .intro-activity-gallery { grid-template-columns: 1fr; }
.intro-boss-card { min-height: 136px; grid-template-columns: 112px 1fr; gap: 14px; }
.intro-boss-card img { width: 112px; height: 112px; }
  .intro-suit-card > img { max-height: 300px; }
.intro-weapon-grid { grid-template-columns: 1fr; }
.intro-weapon-visuals { min-height: 330px; grid-template-columns: minmax(0,1fr) 198px; gap: 8px; }
.intro-weapon-visuals img { width: auto; height: auto; max-height: none; }
.intro-weapon-appearance { width: 100% !important; height: auto !important; }
.intro-weapon-attribute { width: auto !important; height: auto !important; max-width: none !important; }
.intro-weapon-card strong { font-size: 16px; }
  .intro-activity-card { padding: 13px; }
  .intro-activity-gallery img { width: auto; height: auto; max-width: 100%; max-height: none; }
}

@media (max-width: 360px) {
  .hero h1 { font-size: 53px; }
  .hero h2 { font-size: 15px; }
  .hero-copy br { display: none; }
  .class-details h3 { font-size: 38px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
