:root {
    --page-blue: #0750c7;
    --page-deep: #032b86;
    --panel-blue: rgba(1, 45, 137, .76);
    --line: rgba(85, 205, 255, .62);
    --cyan: #12d8ff;
    --cyan-soft: #78e8ff;
    --yellow: #ffe100;
    --link-hover: #ffe76a;
    --white: #f7fbff;
    --muted: #9ac8f4;
    --header-height: 96px;
    --content-width: 1460px;
    --feature-panel-width: clamp(600px, 47vw, 760px);
    --page-gutter: clamp(72px, 5.6vw, 96px);
    font-family: "Microsoft YaHei", "PingFang SC", Arial, sans-serif;
    color-scheme: dark;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; background: #032b86; }
body { margin: 0; min-width: 320px; color: var(--white); overflow-x: hidden; background: #043c9c; position: relative; isolation: isolate; }
body::before {
    content: "";
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    background:
        linear-gradient(90deg, rgba(0, 34, 112, .22), transparent 18%, transparent 79%, rgba(0, 24, 87, .24)),
        url("../images/shared/noise.png") repeat,
        radial-gradient(circle at 44% 43%, rgba(13, 125, 255, .8) 0, rgba(8, 81, 202, .75) 31%, transparent 58%),
        radial-gradient(circle at 8% 88%, rgba(12, 116, 252, .72), transparent 34%),
        linear-gradient(118deg, #0648b4 0%, #0656c8 43%, #063ba5 74%, #03257e 100%);
}
body.modal-open { overflow: hidden; }
button, input, select { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { color: inherit; }
a { color: inherit; text-decoration: none; }
[hidden] { display: none !important; }

.site-header {
    position: fixed; inset: 0 0 auto; z-index: 80; height: var(--header-height);
    border-bottom: 1px solid rgba(48, 156, 255, .35);
    background: linear-gradient(180deg, rgba(3, 45, 135, .97), rgba(3, 53, 158, .9));
    box-shadow: 0 8px 30px rgba(0, 20, 90, .16);
}
.header-shell { position: relative; width: min(var(--content-width), calc(100% - (var(--page-gutter) * 2))); height: 100%; margin: 0 auto; display: grid; grid-template-columns: minmax(230px, 300px) minmax(540px, 1fr) auto; align-items: center; justify-content: space-between; gap: clamp(22px, 3vw, 52px); }
.site-logo { display: block; width: min(286px, 100%); height: 86px; }
.site-logo img { width: 100%; height: 100%; object-fit: contain; object-position: left center; display: block; }
.site-nav { width: 100%; height: 100%; display: flex; align-items: center; justify-content: space-between; gap: clamp(18px, 2vw, 34px); }
.site-nav a { position: relative; display: grid; place-items: center; height: 100%; padding: 0 5px 0; color: #edf5ff; font-size: 20px; white-space: nowrap; transition: color .2s ease; }
.site-nav a::after { content: ""; position: absolute; left: 50%; bottom: 13px; width: 0; height: 4px; border-radius: 4px; background: var(--yellow); transform: translateX(-50%); box-shadow: 0 0 13px rgba(255, 226, 0, .55); transition: width .22s ease; }
.site-nav a:hover, .site-nav a.active { color: var(--yellow); }
.site-nav a.active::after { width: 54px; }
.header-account { display: flex; min-width: 0; height: 44px; align-items: center; white-space: nowrap; }
.header-account-guest, .header-account-user { display: flex; min-width: 0; align-items: center; gap: 11px; }
.header-account-guest { color: var(--cyan-soft); font-size: 15px; }
.header-account-guest button { border: 0; padding: 0; color: inherit; background: transparent; cursor: pointer; }
.header-account-guest a, .header-account-guest button { transition: color .18s ease, text-shadow .18s ease; }
.header-account-guest a:hover, .header-account-guest button:hover { color: var(--link-hover); text-shadow: 0 0 10px rgba(255, 225, 76, .38); }
.header-account-guest i, .header-account-user i { color: rgba(151, 216, 255, .6); font-style: normal; }
.header-profile-link { display: flex; min-width: 0; align-items: center; gap: 8px; color: var(--cyan-soft); transition: color .18s ease, text-shadow .18s ease; }
.header-profile-link:hover { color: var(--link-hover); text-shadow: 0 0 10px rgba(255, 225, 76, .38); }
.header-account-icon { display: block; width: 34px; height: 34px; flex: 0 0 34px; border: 1px solid rgba(102, 220, 255, .68); border-radius: 50%; background-color: rgba(3, 57, 153, .72); background-image: url("../images/ui/ui-common-atlas.png?v=20260722c"); background-repeat: no-repeat; background-size: 615px 504px; background-position: -215.5px -428.5px; box-shadow: 0 0 10px rgba(18, 216, 255, .22); }
.header-account-name, .header-account-logout { font-family: inherit; font-size: 14px; font-weight: 400; line-height: 20px; }
.header-account-name { display: inline-flex; align-items: center; }
.header-account-logout { display: inline-flex; height: 20px; align-items: center; justify-content: center; border: 0; padding: 0; color: var(--cyan-soft); background: transparent; cursor: pointer; appearance: none; -webkit-appearance: none; transition: color .18s ease, text-shadow .18s ease; }
.header-account-logout:hover { color: var(--link-hover); text-shadow: 0 0 10px rgba(255, 225, 76, .38); }

.site-pages { position: relative; }
.page-section {
    position: relative; height: 100vh; height: 100svh; min-height: 760px; scroll-snap-align: start; scroll-snap-stop: always; overflow: hidden;
    background: transparent;
}
.page-section::before { content: none; }
.page-home::after, .page-download::after, .page-ranking::after, .page-weapons::after, .page-maps::after, .page-guilds::after {
    content: "";
    position: absolute;
    inset: -2px;
    z-index: 0;
    pointer-events: none;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    opacity: 1;
    filter: none;
    transform: none;
}
.page-home::after {
    inset: 0;
    background-image: url("../images/heroes/home-scene-wide-2d.jpg?v=20260722a");
    background-position: center top;
    background-size: cover;
}
@property --home-wind-1 { syntax: "<length>"; inherits: true; initial-value: 0vw; }
@property --home-wind-2 { syntax: "<length>"; inherits: true; initial-value: 0vw; }
@property --home-wind-3 { syntax: "<length>"; inherits: true; initial-value: 0vw; }
.home-fall { position: fixed; inset: 0; z-index: 1; overflow: hidden; pointer-events: none; contain: layout paint; transition: --home-wind-1 2s ease-in-out, --home-wind-2 2s ease-in-out, --home-wind-3 2s ease-in-out; }
.home-fall-leaf {
    position: absolute;
    top: 0;
    left: var(--leaf-left);
    width: var(--leaf-size);
    aspect-ratio: 1;
    opacity: 0;
    background: url("../images/effects/falling-leaf.gif?v=20260722b") center / contain no-repeat;
    filter: drop-shadow(0 2px 2px rgba(22, 61, 18, .28));
    will-change: transform, opacity;
    animation: home-leaf-fall var(--leaf-duration) linear var(--leaf-delay) infinite;
}
@keyframes home-leaf-fall {
    0% { opacity: 0; transform: translate3d(0, -12vh, 0) rotate(var(--leaf-rotate-0)) scale(.76) scaleX(var(--leaf-flip)); }
    8% { opacity: var(--leaf-opacity); }
    32% { transform: translate3d(calc(var(--leaf-sway-1) + var(--home-wind-1)), 30vh, 0) rotate(var(--leaf-rotate-1)) scale(1) scaleX(var(--leaf-flip)); }
    62% { transform: translate3d(calc(var(--leaf-sway-2) + var(--home-wind-2)), 66vh, 0) rotate(var(--leaf-rotate-2)) scale(.88) scaleX(var(--leaf-flip)); }
    92% { opacity: var(--leaf-opacity); }
    100% { opacity: 0; transform: translate3d(calc(var(--leaf-sway-3) + var(--home-wind-3)), 112vh, 0) rotate(var(--leaf-rotate-3)) scale(.72) scaleX(var(--leaf-flip)); }
}
@media (prefers-reduced-motion: reduce) { .home-fall { display: none; } }
.page-download::after {
    inset: 0;
    background-image: url("../images/heroes/download-scene-wide-2d.jpg?v=20260722a");
    background-position: center top;
}
.page-ranking::after {
    inset: 0;
    background-image: url("../images/heroes/ranking-scene-wide-2d.jpg?v=20260722a");
    background-position: center top;
}
.page-weapons::after {
    inset: 0;
    background-image: url("../images/heroes/weapons-scene-wide-2d.jpg?v=20260722a");
    background-position: center top;
}
.page-maps::after {
    inset: 0;
    background-image: url("../images/heroes/maps-scene-wide-2d.jpg?v=20260722a");
    background-position: center top;
}
.page-guilds::after {
    inset: 0;
    background-image: url("../images/heroes/guild-scene-wide-2d.jpg?v=20260722a");
    background-position: center top;
}
.page-inner { position: relative; z-index: 2; width: min(var(--content-width), calc(100% - (var(--page-gutter) * 2))); height: 100%; min-height: 760px; margin: 0 auto; padding-top: calc(var(--header-height) + 24px); padding-bottom: 72px; }
.glow-panel { position: relative; border: 0; border-radius: 0; background: none; box-shadow: none; }
.glow-panel::before { content: ""; position: absolute; inset: 2px; z-index: 0; pointer-events: none; border-radius: 25px; background: url("../images/ui/panel-fill-v2.png") center / 100% 100% no-repeat; box-shadow: inset 0 1px 0 rgba(255,255,255,.2), inset 0 -18px 36px rgba(0,24,93,.16); }
.glow-panel::after { content: ""; position: absolute; inset: 0; z-index: 3; pointer-events: none; border: 26px solid transparent; border-image-source: url("../images/ui/panel-border-v2.png"); border-image-slice: 64; border-image-width: 26px; border-image-repeat: stretch; }
.glow-panel > * { position: relative; z-index: 2; }

.section-title { display: flex; align-items: center; gap: 11px; min-height: 78px; white-space: nowrap; }
.section-title span { font-size: clamp(43px, 3.45vw, 57px); line-height: 1; font-weight: 900; font-style: italic; color: #65ffff; text-shadow: 0 4px 0 rgba(1, 50, 137, .65); }
.section-title i { flex: 0 0 auto; width: clamp(36px, 3.2vw, 52px); height: 18px; transform: skewX(-20deg); background: repeating-linear-gradient(90deg, #65ffff 0 8px, transparent 8px 13px); opacity: .72; }
.section-title h2 { margin: 0; font-size: clamp(43px, 3.45vw, 57px); line-height: 1; font-weight: 900; letter-spacing: 3px; text-shadow: 0 4px 0 rgba(0, 35, 116, .75); }
.illustration-side > .section-title,
.ranking-toolbar,
.weapons-title,
.maps-toolbar,
.guild-art-side > .section-title { transform: translateY(-16px); }

.button { position: relative; z-index: 0; display: inline-flex; align-items: center; justify-content: center; min-height: 58px; padding: 0 28px; border: 0; border-radius: 0; color: #fff; cursor: pointer; font-weight: 700; font-size: 21px; background: none; overflow: hidden; transition: transform .18s ease, filter .18s ease; }
.button::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; border: 0; border-radius: 12px; background-image: url("../images/ui/ui-common-atlas.png?v=20260722c"); background-position-x: center; background-position-y: 0; background-size: 100% 480%; background-repeat: no-repeat; }
.button:hover { transform: none; filter: none; }
.button-bright::before, .button-submit::before { background-position-y: 0; }
.button-bright:hover::before, .button-submit:hover::before { background-position-y: 26.315789%; }
.button-dark::before, .button-quiet::before { background-position-y: 52.631579%; }
.button-dark:hover::before, .button-quiet:hover::before { background-position-y: 78.947368%; }
.glow-panel .button { z-index: 3; }

.home-layout { display: grid; grid-template-columns: minmax(440px, .9fr) minmax(330px, .72fr) minmax(420px, 510px); align-items: start; gap: 0; padding-top: calc(var(--header-height) + 24px); }
.home-copy { position: relative; z-index: 4; padding: 30px 0 0 14px; }
.home-copy h1 { margin: 0 0 12px; line-height: 1; }
.home-slogan img { display: block; width: min(520px, 100%); height: auto; margin-bottom: 0; }
.home-copy p { margin: 0 0 40px 18px; font-size: 20px; line-height: 1.75; color: #cceaff; font-weight: 600; }
.home-actions { display: flex; align-items: flex-start; flex-direction: column; gap: 24px; margin: 114px 0 0 129px; }
.home-actions .button { width: 180px; min-height: 52px; padding-inline: 16px; white-space: nowrap; }
.home-account-column { position: relative; z-index: 5; display: flex; grid-column: 3; width: 100%; flex-direction: column; gap: 12px; align-self: center; }
.home-notices { width: 100%; margin: 0; padding: 11px 14px 10px; border: 1px solid rgba(99, 205, 255, .38); border-radius: 10px; background: linear-gradient(90deg, rgba(2, 41, 128, .72), rgba(3, 61, 157, .48)); box-shadow: 0 9px 24px rgba(0, 26, 102, .18); }
.home-notices-heading { display: flex; min-height: 20px; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 5px; }
.home-notices h2 { margin: 0; color: #d9f5ff; font-size: 15px; font-style: normal; letter-spacing: 1px; text-align: left; }
.home-notices-more { flex: 0 0 auto; color: #8fdcff; font-size: 12px; }
.home-notices-more:hover { color: var(--yellow); }
.home-notices ul { margin: 0; padding: 0; list-style: none; }
.home-notices li { border-top: 1px solid rgba(122, 206, 255, .18); }
.home-notices li:first-child { border-top: 0; }
.home-notices a { display: flex; min-width: 0; height: 30px; align-items: center; gap: 7px; color: #eef9ff; font-size: 13px; transition: color .18s ease, transform .18s ease; }
.home-notices a:hover { color: var(--yellow); transform: translateX(2px); }
.home-notices strong { min-width: 0; flex: 1; overflow: hidden; font-weight: 500; text-overflow: ellipsis; white-space: nowrap; }
.home-notices time { flex: 0 0 auto; color: #8fd3ff; font-size: 12px; }
.home-notice-badge { display: inline-flex; flex: 0 0 auto; min-width: 38px; height: 20px; align-items: center; justify-content: center; border-radius: 4px; color: #fff; font-size: 11px; font-weight: 700; }
.home-notice-badge.badge-event { background: #165dff; }.home-notice-badge.badge-maintenance { background: #ff7d00; }.home-notice-badge.badge-update { background: #20aaa7; }.home-notice-badge.badge-notice { background: #7189ab; }
.home-notice-empty { padding: 20px 0; color: var(--muted); font-size: 13px; text-align: center; }
.home-hero { position: absolute; z-index: 1; left: 30%; top: calc(var(--header-height) + 35px); width: min(770px, 48vw); height: min(760px, calc(100% - var(--header-height) - 42px)); pointer-events: none; }
.home-hero img { width: 100%; height: 100%; object-fit: contain; object-position: center bottom; filter: drop-shadow(0 20px 24px rgba(0, 21, 92, .28)); }
.account-card { position: relative; z-index: 5; width: 100%; height: 422px; min-height: 0; margin: 0; padding: 28px 40px 24px; }
.account-card > #loginView,.account-card > #profileView { display: flex; height: 100%; flex-direction: column; justify-content: center; }
.account-card h2 { margin: 0 0 16px; text-align: center; font-size: 32px; font-style: italic; }
.account-card label, .modal-card label { display: grid; gap: 10px; margin-bottom: 24px; color: #dcecff; font-size: 17px; }
.account-card input, .modal-card input, .modal-card select, .guild-search input {
    width: 100%; height: 58px; padding: 0 17px; border: 1px solid transparent; border-radius: 11px; outline: none;
    border-image-source: url("../images/ui/input-border.png?v=20260722a"); border-image-slice: 14; border-image-width: 10px; border-image-repeat: stretch;
    color: #fff; background: url("../images/ui/input-fill-inset.png?v=20260722a") center / 100% 100% no-repeat; box-shadow: none; transition: none;
}
input:focus, select:focus { filter: none; }
input::placeholder, textarea::placeholder { color: rgba(132, 218, 255, .86); opacity: 1; }
.account-card label { gap: 7px; margin-bottom: 14px; font-size: 15px; }
.account-card input { height: 50px; }
.account-card .password-toggle { top: 1px; right: 4px; width: 46px; height: 46px; }
#loginForm label { position: relative; }
#loginForm label:nth-of-type(1)::after, #loginForm label:nth-of-type(2)::after { content: ""; position: absolute; left: 17px; bottom: 11px; z-index: 4; width: 28px; height: 28px; pointer-events: none; background-image: url("../images/ui/ui-common-atlas.png?v=20260722c"); background-repeat: no-repeat; background-size: 820px 672px; }
#loginForm label:nth-of-type(1)::after { background-position: -296px -580px; }
#loginForm label:nth-of-type(2)::after { background-position: -344px -580px; }
#loginForm label:nth-of-type(1) input { padding-left: 58px; }
#loginForm label:nth-of-type(2) input { padding: 0 58px; }
#loginForm .password-toggle { color: transparent; }
.password-field { position: relative; display: block; }
.password-toggle { position: absolute; right: 5px; top: 5px; z-index: 4; width: 48px; height: 48px; padding: 0; border: 0; appearance: none; -webkit-appearance: none; background-color: transparent; background-image: url("../images/ui/ui-common-atlas.png?v=20260722c"); background-repeat: no-repeat; background-size: 820px 672px; background-position: -382px -570px; box-shadow: none; cursor: pointer; color: transparent; }
input:-webkit-autofill, input:-webkit-autofill:hover, input:-webkit-autofill:focus {
    -webkit-text-fill-color: #fff !important;
    caret-color: #fff;
    -webkit-box-shadow: 0 0 0 1000px #0a347f inset !important;
    box-shadow: 0 0 0 1000px #0a347f inset !important;
}
.account-card .button-submit { width: 100%; min-height: 48px; margin-top: 2px; font-size: 18px; }
.account-links { display: flex; justify-content: space-between; margin-top: 14px; }
.account-links button { font-size: 15px; }
.account-links button, .copy-link, .text-action { border: 0; padding: 0; background: transparent; color: var(--cyan); cursor: pointer; font-size: 17px; transition: color .18s ease, text-shadow .18s ease; }
.account-links button:hover, .copy-link:hover, .text-action:hover { color: var(--link-hover); text-shadow: 0 0 10px rgba(255, 225, 76, .38); }
.profile-summary { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin: 16px 0 28px; }
.summary-item { padding: 15px; border: 1px solid rgba(92, 191, 255, .26); border-radius: 10px; background: rgba(0, 35, 115, .32); }
.summary-item small { display: block; color: var(--muted); margin-bottom: 6px; }
.summary-rank .rank-cell { justify-content: flex-start; gap: 8px; }
.profile-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.profile-actions .button { min-height: 48px; padding: 0 15px; font-size: 16px; }
.profile-actions .text-action { min-height: 34px; }
.profile-actions .personal-center-entry, .profile-actions .text-action { grid-column: 1 / -1; }
#profileView .profile-summary { gap: 10px; margin: 12px 0 18px; }
#profileView .summary-item { padding: 11px 13px; }
#profileView .profile-actions { gap: 6px; }
#profileView .profile-actions .text-action { min-height: 28px; }
.eyebrow { margin: 0 0 8px; color: var(--cyan); letter-spacing: 3px; font-size: 14px; text-transform: uppercase; }

@media (min-width: 1201px) {
    .page-home .page-inner { width: min(1386px, calc(100% - 80px)); }
}

@media (min-width: 1101px) {
    html { scroll-snap-type: y mandatory; }
}

@media (max-width: 1540px) {
    .section-dots { display: none; }
}

@media (max-width: 900px) {
    .page-home::after { background-position: center top; }
}

.scroll-cue { position: absolute; z-index: 6; left: 50%; bottom: 18px; display: inline-flex; align-items: center; gap: 9px; transform: translateX(-50%); color: #e9f6ff; font-size: 16px; line-height: 22px; white-space: nowrap; }
.scroll-cue em { display: block; font-style: normal; line-height: 22px; }
.scroll-cue::after { content: "↓"; display: block; color: #fff; font-size: 24px; line-height: 1; animation: scroll-arrow 1.25s ease-in-out infinite; }
@keyframes scroll-arrow { 0%,100% { transform: translateY(-2px); opacity: .65; } 50% { transform: translateY(4px); opacity: 1; } }

.page-split { display: grid; grid-template-columns: minmax(0, 1fr) var(--feature-panel-width); align-items: start; gap: clamp(42px, 4vw, 68px); }
.illustration-side { position: relative; align-self: stretch; }
.download-hero { position: absolute; left: 50%; top: 155px; width: min(650px, 48vw); max-height: 660px; transform: translateX(-53%); object-fit: contain; filter: drop-shadow(0 22px 24px rgba(0, 21, 92, .3)); }
.download-panel { width: 100%; margin-top: 36px; padding: 45px 54px 38px; text-align: center; }
.download-panel h3 { margin: 0 0 14px; font-size: 38px; }
.download-panel > p { margin: 0 0 25px; font-size: 18px; color: #e0efff; }
.qq-number { display: flex; align-items: center; justify-content: center; gap: 12px; height: 72px; border: 1px solid rgba(86, 187, 255, .65); border-radius: 11px; background: rgba(4, 50, 144, .38); font-size: 29px; padding-left: 20px; }
.qq-number strong { color: #ffe76a; text-shadow: 0 0 12px rgba(255, 225, 76, .4); }
.qq-number button { margin-left: auto; width: 65px; align-self: stretch; border: 0; color: #d9efff; background: transparent; cursor: pointer; font-size: 25px; }
.qq-join { width: 93%; margin: 18px auto 12px; }
.copy-link { display: block; margin: 0 auto 28px; }
.download-steps { display: grid; grid-template-columns: minmax(0, 1fr) clamp(22px, 4vw, 48px) minmax(0, 1fr) clamp(22px, 4vw, 48px) minmax(0, 1fr); align-items: center; width: 100%; padding: 34px clamp(8px, 2vw, 20px) 14px; overflow: hidden; border: 1px solid rgba(85, 176, 255, .58); border-radius: 11px; }
.download-steps div { position: relative; display: grid; min-width: 0; justify-items: center; gap: 9px; }
.download-steps b { position: absolute; top: -30px; width: 34px; height: 34px; display: grid; place-items: center; border-radius: 50%; background: linear-gradient(#23caff,#0674ee); box-shadow: 0 0 13px rgba(0,180,255,.6); }
.step-icon { display: grid; place-items: center; width: clamp(58px, 8vw, 80px); height: clamp(58px, 8vw, 80px); border: 2px solid rgba(57, 163, 255, .65); border-radius: 50%; font-size: clamp(27px, 4vw, 35px); }
.download-steps strong { max-width: 100%; line-height: 1.35; text-align: center; overflow-wrap: anywhere; }
.download-steps em { color: #179eff; font-size: clamp(24px, 4vw, 40px); font-style: normal; text-align: center; }
.safe-note { margin-top: 18px; color: #b9ddff; }

.ranking-layout { display: grid; grid-template-columns: minmax(0, 1fr) var(--feature-panel-width); grid-template-rows: auto auto; gap: 22px clamp(40px, 4vw, 62px); align-items: start; }
.ranking-toolbar { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0, 1fr) var(--feature-panel-width); align-items: center; gap: clamp(40px, 4vw, 62px); }
.ranking-left { grid-column: 1; grid-row: 2; }
.ranking-table-panel { grid-column: 2; grid-row: 2; display: flex; flex-direction: column; width: 100%; height: auto; min-height: 0; margin-top: 0; }
.segmented { display: flex; height: 56px; overflow: hidden; box-sizing: border-box; border: 1px solid rgba(102, 204, 255, .78); border-radius: 11px; background: rgba(2, 48, 139, .58); box-shadow: inset 0 0 0 1px rgba(154, 233, 255, .16); }
.segmented button { position: relative; flex: 1; min-width: 0; border: 0; border-right: 1px solid rgba(102, 204, 255, .32); padding: 0; color: #dcefff; background: transparent; cursor: pointer; font-size: 17px; transition: color .16s ease, background-color .16s ease, box-shadow .16s ease; }
.segmented button:last-child { border-right: 0; }
.segmented button:hover { color: #fff; background: rgba(45, 131, 239, .1); }
.segmented button.active { color: #fff; font-weight: 800; background: transparent; box-shadow: inset 0 1px 0 rgba(224, 250, 255, .72), inset 0 -1px 0 rgba(24, 75, 211, .45), inset 0 0 18px rgba(75, 194, 255, .28); }
.podium { position: relative; container-type: inline-size; height: 470px; }
.podium::before { content: ""; position: absolute; z-index: 1; left: 50%; bottom: 38px; width: 100%; aspect-ratio: 2021 / 778; transform: translateX(-50%); background: url("../images/ui/podium-stage-floating.png?v=20260722a") center / contain no-repeat; pointer-events: none; }
.podium-entry { position: absolute; z-index: 2; top: 0; bottom: 0; width: 32%; min-width: 0; }
.podium-entry.first { --podium-frame-bottom: calc(30px + 32.3cqi); --podium-frame-height: 200px; left: 50%; transform: translateX(-50%); }
.podium-entry.second { --podium-frame-bottom: calc(30px + 26.4cqi); --podium-frame-height: 181.25px; left: 17%; transform: translateX(-50%); }
.podium-entry.third { --podium-frame-bottom: calc(30px + 21.9cqi); --podium-frame-height: 181.25px; left: 83%; transform: translateX(-50%); }
.fashion-frame { position: absolute; left: 50%; top: auto; bottom: var(--podium-frame-bottom); width: 160px; aspect-ratio: 4 / 5; overflow: hidden; border: 0; transform: translateX(-50%); background: transparent; filter: drop-shadow(0 0 12px rgba(0, 210, 255, .42)); }
.fashion-frame::after { content: ""; position: absolute; z-index: 6; inset: 0; background: url("../images/ui/fashion-frame.png") center / 100% 100% no-repeat; pointer-events: none; }
.avatar-canvas { position: absolute; inset: 5px 4px; overflow: hidden; }
.avatar-canvas img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: fill; image-rendering: auto; }
.podium-entry.second .fashion-frame, .podium-entry.third .fashion-frame { width: 145px; }
.podium-name { position: absolute; left: 50%; bottom: calc(var(--podium-frame-bottom) + var(--podium-frame-height) + 8px); display: flex; align-items: center; justify-content: center; gap: 6px; width: 100%; max-width: 210px; min-width: 0; transform: translateX(-50%); white-space: nowrap; color: var(--cyan); font-size: 18px; }
.podium-name img { flex: 0 0 auto; width: 31px; height: 37px; object-fit: contain; }
.podium-name span { min-width: 0; overflow: hidden; text-overflow: ellipsis; -webkit-text-stroke: 1px rgba(3, 35, 105, .96); paint-order: stroke fill; text-shadow: -1px 0 rgba(3, 35, 105, .96), 1px 0 rgba(3, 35, 105, .96), 0 -1px rgba(3, 35, 105, .96), 0 1px rgba(3, 35, 105, .96), 0 2px 4px rgba(0, 20, 78, .78); }
.ranking-note { color: var(--cyan); }
.ranking-table-panel { padding: 18px 22px 14px; }
.ranking-table-panel .ranking-table { display: flex; flex: 0 0 auto; min-height: 0; flex-direction: column; }
#rankingRows { flex: 0 0 500px; height: 500px; min-height: 500px; }
.data-table { width: 100%; }
.table-row { display: grid; min-height: 50px; align-items: center; border-bottom: 1px solid rgba(97, 168, 240, .25); }
.table-row span { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.table-head { color: #e7f4ff; font-weight: 700; }
.ranking-table .table-row { grid-template-columns: .65fr .65fr 1.55fr 1.25fr; text-align: center; font-size: 18px; }
.ranking-table .table-row > span:nth-child(3) { text-align: left; }
.rank-cell { display: flex; align-items: center; justify-content: center; gap: 7px; }
.rank-icon { display: inline-block; flex: 0 0 37px; width: 37px; height: 20px; background-image: url("../images/ranks/rank-strip.png?v=20260722c"); background-repeat: no-repeat; background-size: 740px 20px; image-rendering: pixelated; }
.player-link, .guild-link { border: 0; padding: 4px; color: var(--cyan); background: transparent; cursor: pointer; text-decoration: underline; text-decoration-color: currentColor; text-underline-offset: 4px; transition: color .18s ease, text-shadow .18s ease; }
.player-link:hover, .guild-link:hover { color: var(--link-hover); text-shadow: 0 0 10px rgba(255, 225, 76, .38); }
.pager { display: flex; align-items: center; justify-content: center; gap: 14px; min-height: 58px; }
.pager select, .pager button { height: 43px; border: 0; border-radius: 8px; color: #fff; cursor: pointer; }
.pager select { min-width: 125px; padding: 0 42px 0 16px; appearance: none; -webkit-appearance: none; background: url("../images/ui/select-arrow.png") right 15px center / 18px 12px no-repeat, url("../images/ui/select-shell.png") center / 100% 100% no-repeat; }
.pager select option { color: #fff; background: #092b78; }
.pager button { position: relative; z-index: 0; isolation: isolate; width: 46px; padding: 0; overflow: hidden; border-radius: 0; font-size: 28px; background: none; }
.pager button::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; background-image: url("../images/ui/ui-common-atlas.png?v=20260722c"); background-repeat: no-repeat; background-size: 410px 336px; background-position: 0 -290px; }
.pager button:hover:not(:disabled)::before { background-position: -46px -290px; }
.pager button:disabled { color: rgba(255,255,255,.4); cursor: default; }
.pager button:disabled::before { background-position: -92px -290px; }
.mini-button::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; background-image: url("../images/ui/ui-common-atlas.png?v=20260722c"); background-repeat: no-repeat; background-size: 100% 480%; background-position: center 52.631579%; }
.mini-button:hover::before { background-position-y: 78.947368%; }
.table-hint { margin: 0; text-align: right; color: var(--cyan); }

.page-weapons .page-inner { width: min(1600px, calc(100% - 40px)); }
.weapons-layout { --weapon-panel-height: 652px; display: grid; grid-template-columns: minmax(300px, 500px) minmax(820px, 1fr); grid-template-areas: "title title" "detail list"; align-items: start; column-gap: clamp(24px, 3vw, 48px); row-gap: 12px; }
.weapons-title { grid-area: title; }
.weapon-detail-shell { grid-area: detail; width: min(520px, 100%); min-width: 0; }
.weapons-main { grid-area: list; min-width: 0; }
.weapon-list-panel { width: 100%; height: var(--weapon-panel-height); padding: 20px 22px; }
.weapon-grid { overflow: hidden; border: 1px solid rgba(82, 177, 255, .55); border-radius: 17px; background: rgba(1, 52, 152, .34); }
.weapon-row { display: grid; grid-template-columns: 88px repeat(4, 1fr); min-height: 51px; border-bottom: 1px solid rgba(89, 176, 255, .36); }
.weapon-row:last-child { border-bottom: 0; }
.weapon-key { display: grid; place-items: center; border-right: 1px solid rgba(89, 176, 255, .45); font-size: 24px; font-weight: 800; }
.weapon-key.active { color: #fff; text-decoration: underline; text-decoration-color: var(--yellow); text-underline-offset: 10px; }
.weapon-button { display: grid; grid-template-columns: 48px minmax(6em, 1fr); align-items: center; gap: 4px; min-width: 0; border: 0; border-right: 1px solid rgba(81, 161, 241, .18); padding: 3px 8px; color: #eaf6ff; background: transparent; cursor: pointer; text-align: left; font-size: 16px; }
.weapon-button:hover, .weapon-button.active { background: rgba(19, 148, 255, .18); color: var(--cyan); }
.weapon-button img { width: 43px; height: 43px; object-fit: contain; border-radius: 8px; image-rendering: auto; }
.weapon-button span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.weapon-detail { width: min(490px, 100%); height: var(--weapon-panel-height); min-height: var(--weapon-panel-height); margin-top: 0; padding: 32px 36px 30px; }
.weapon-detail h3 { margin: 0 0 16px; font-size: 45px; }.weapon-large-icon { display: block; width: 210px; height: 210px; margin: 4px 0 16px; object-fit: contain; border-radius: 18px; image-rendering: auto; filter: drop-shadow(0 15px 10px rgba(0,15,70,.35)); }
.weapon-facts { margin: 0 0 22px; }.weapon-facts div { display: flex; justify-content: space-between; padding: 10px 0; border-bottom: 1px solid rgba(115, 189, 255, .29); }
.weapon-detail h4 { margin: 22px 0 8px; color: var(--cyan); font-size: 20px; }.weapon-detail p { line-height: 1.75; color: #dcecff; }
.empty-state { color: var(--muted); text-align: center; margin-top: 235px; }

.maps-layout { display: grid; grid-template-rows: auto 1fr auto; }
.maps-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.map-tabs { width: min(820px, 62vw); }
.map-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px 18px; align-content: center; }
.map-card { min-width: 0; }
.map-card img { display: block; width: 100%; aspect-ratio: 480 / 174; object-fit: cover; border: 2px solid rgba(113, 206, 255, .75); border-radius: 15px; box-shadow: 0 8px 20px rgba(0, 20, 90, .24); }
.map-card h3 { margin: 11px 0 4px; text-align: center; font-size: 20px; font-weight: 500; }.map-card p { margin: 0; text-align: center; color: #99dfff; font-size: 14px; }
.map-pager { min-height: 54px; }

.guild-layout { display: grid; grid-template-columns: minmax(0, 1fr) var(--feature-panel-width); align-items: start; gap: clamp(42px, 4vw, 64px); }
.guild-art-side { align-self: stretch; position: relative; min-width: 0; }.guild-art-side > p { margin: -2px 0 0 6px; font-size: 22px; }.guild-art-side img { position: absolute; left: 46%; top: 116px; width: min(690px, 52vw); max-height: calc(100svh - 250px); transform: translateX(-50%); object-fit: contain; filter: drop-shadow(0 24px 26px rgba(0, 20, 85, .3)); }
.guild-list-panel { display: flex; flex-direction: column; width: 100%; height: auto; min-height: 0; margin-top: 24px; padding: 25px 20px 16px; }.guild-list-panel .guild-table { display: flex; flex: 0 0 auto; min-height: 0; flex-direction: column; }
#guildRows { flex: 0 0 500px; height: 500px; min-height: 500px; }
.guild-search { display: flex; justify-content: flex-end; gap: 14px; }.guild-search input { max-width: 320px; height: 48px; }.guild-search .button { min-height: 48px; padding: 0 32px; }
.sort-caption { margin: 15px 4px 5px; color: #c7e6ff; }
.guild-table .table-row { grid-template-columns: .62fr 1.45fr 1.1fr .8fr 1.1fr; text-align: center; font-size: 17px; }.guild-table .table-head { min-height: 53px; }
.guild-table .table-row > span:nth-child(2) { text-align: left; }
.guild-list-foot { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 12px; color: var(--cyan); font-size: 14px; }.guild-list-foot > span:last-child { text-align: right; }
.scroll-top { display: grid; justify-items: center; gap: 5px; }
.scroll-top b { display: grid; place-items: center; width: 50px; height: 50px; border: 2px solid #fff; border-radius: 50%; font-size: 27px; box-shadow: 0 0 17px #14baff; }
.scroll-top::after { display: none; }

.section-dots { position: fixed; z-index: 70; right: clamp(18px, 1vw, 34px); top: 50%; display: grid; gap: 27px; transform: translateY(-45%); }
.section-dots a { width: 20px; height: 20px; border: 2px solid #fff; border-radius: 50%; box-shadow: 0 0 7px rgba(255,255,255,.2); }
.section-dots a.active { border-color: #fff; background: var(--yellow); box-shadow: 0 0 0 3px #0775df, 0 0 14px var(--yellow); }

.modal { position: fixed; z-index: 120; inset: 0; display: grid; place-items: center; padding: 24px; }
.modal-backdrop { position: absolute; inset: 0; background: rgba(0, 17, 65, .76); backdrop-filter: blur(7px); }
.modal-card { position: relative; z-index: 1; width: min(520px, 100%); max-height: calc(100vh - 48px); overflow: auto; padding: 36px 40px 34px; border-radius: 12px; background: none; }
.modal-card::before { border-radius: 10px; }
.modal-wide { width: min(880px, 100%); }.modal-card h2 { margin: 0 0 25px; font-size: 32px; }.modal-close { position: absolute; right: 15px; top: 12px; width: 40px; height: 40px; border: 0; border-radius: 50%; color: #fff; background: transparent; cursor: pointer; font-size: 34px; }
.modal-card form:not(.form-grid) label { margin-bottom: 18px; }.modal-card .button-submit { width: 100%; }.form-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: start; gap: 0 18px; }.form-grid label { align-self: start; align-content: start; min-width: 0; width: 100%; }.form-grid .full { grid-column: 1 / -1; }.form-grid small { color: var(--muted); }.form-grid .registration-identity-field small { display: block; min-height: 1.25em; }.form-grid .registration-security-field { min-width: 0; }
.hint-question { margin: 0 0 18px; padding: 16px; border: 1px solid rgba(83,194,255,.5); border-radius: 9px; color: var(--cyan); background: rgba(0,37,122,.35); }
.profile-modal-card { width: min(660px, 100%); }.profile-sheet { display: grid; grid-template-columns: 210px 1fr; gap: 24px; }.profile-avatar-box { position: relative; height: 280px; overflow: hidden; border: 5px solid #10a5ff; background: linear-gradient(#5946bd,#173993); box-shadow: inset 0 0 0 2px #64efff; }.profile-avatar-box .avatar-canvas img { width: 100%; height: 100%; }.profile-data { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }.profile-data div { padding: 12px; border-bottom: 1px solid rgba(104,186,255,.25); }.profile-data small { display: block; color: var(--muted); }.profile-data .rank-cell { justify-content: flex-start; gap: 7px; }.profile-data .rank-cell .rank-name { display: inline; }.profile-register-time strong { white-space: nowrap; font-size: 13px; }
.profile-result-win { color: #ff6f7d; }.profile-result-draw { color: #ffb84d; }.profile-result-loss { color: #69e995; }.profile-data strong > i { margin: 0 6px; color: #a9cbed; font-style: normal; font-weight: 400; }
.modal-card select { padding-right: 46px; appearance: none; -webkit-appearance: none; background: url("../images/ui/select-arrow.png") right 17px center / 18px 12px no-repeat, url("../images/ui/input-fill-inset.png?v=20260722a") center / 100% 100% no-repeat; }
.guild-detail-head { display: flex; justify-content: space-between; gap: 20px; align-items: start; }.guild-detail-head > .button { width: 150px; min-height: 45px; flex: 0 0 150px; margin-right: 16px; padding: 0 18px; font-size: 16px; white-space: nowrap; }.guild-members { margin-top: 18px; }.guild-member-table { margin-top: 8px; }.guild-member-head,.guild-member-row { display: grid; grid-template-columns: minmax(110px,.8fr) minmax(150px,1.35fr) 128px minmax(100px,1fr) minmax(72px,.7fr); gap: 12px; align-items: center; }.guild-member-head { min-height: 40px; border-bottom: 1px solid rgba(90,168,244,.4); color: #d9eeff; font-weight: 700; }.guild-member-row { min-height: 48px; border-bottom: 1px solid rgba(90,168,244,.25); }.guild-member-head > span,.guild-member-row > span { min-width: 0; text-align: center; }.guild-member-head > span:nth-child(2),.guild-member-name { text-align: left; }.guild-member-name { justify-self: stretch; min-width: 0; }.guild-member-rank .rank-cell { justify-content: center; }.guild-manager-actions { display: flex; flex-wrap: wrap; gap: 10px; margin: 18px 0; }.guild-manager-actions .button { min-height: 45px; font-size: 16px; }.inline-form { display: flex; gap: 10px; align-items: end; }.inline-form label { flex: 1; margin: 0 !important; }.application-row { display: grid; grid-template-columns: 1fr 1fr auto auto; gap: 10px; align-items: center; min-height: 48px; border-bottom: 1px solid rgba(90,168,244,.25); }.mini-button { position: relative; z-index: 0; isolation: isolate; min-height: 34px; padding: 0 13px; overflow: hidden; border: 0; border-radius: 0; background: none; cursor: pointer; }
.toast { position: fixed; z-index: 200; left: 50%; top: 50%; display: grid; place-items: center; width: min(520px, calc(100% - 40px)); min-height: 112px; padding: 26px 42px; border: 0; border-radius: 24px; transform: translate(-50%, -50%); text-align: center; color: #fff; font-size: 20px; line-height: 1.55; background: url("../images/ui/panel-fill-v2.png") center / 100% 100% no-repeat; box-shadow: 0 18px 50px rgba(0, 18, 85, .4); pointer-events: none; }
.toast::after { content: ""; position: absolute; inset: 0; border: 24px solid transparent; border-image-source: url("../images/ui/panel-border-v2.png"); border-image-slice: 64; border-image-width: 24px; border-image-repeat: stretch; pointer-events: none; }
.notice-detail-page { min-height: 100vh; }
.notice-detail-page::after { content: ""; position: fixed; inset: 0; z-index: -1; background: linear-gradient(rgba(3, 43, 134, .3), rgba(2, 30, 103, .72)), url("../images/heroes/home-scene-wide-2d.jpg?v=20260722b") center top / cover no-repeat; }
.notice-detail-main { position: relative; z-index: 2; width: min(1120px, calc(100% - (var(--page-gutter) * 2))); margin: 0 auto; padding: calc(var(--header-height) + 54px) 0 80px; }
.notice-article { min-height: 560px; padding: 42px 48px 52px; }
.notice-article-inner { position: relative; z-index: 4; }
.notice-back { display: inline-block; margin-bottom: 32px; color: var(--cyan-soft); font-size: 15px; }
.notice-back:hover { color: var(--yellow); }
.notice-heading-meta { display: flex; align-items: center; gap: 12px; color: #9ed7ff; font-size: 14px; }
.notice-article h1 { margin: 15px 0 22px; color: #fff; font-size: clamp(30px, 4vw, 46px); line-height: 1.35; text-shadow: 0 3px 0 rgba(0, 35, 116, .55); }
.notice-divider { height: 1px; margin-bottom: 30px; background: linear-gradient(90deg, rgba(64, 211, 255, .72), rgba(64, 211, 255, .08)); }
.notice-body { color: #e5f4ff; font-size: 17px; line-height: 2; overflow-wrap: anywhere; }
.notice-list-panel { min-height: 560px; padding: 40px 48px 46px; }
.notice-list-inner { position: relative; z-index: 4; }
.notice-list-head { display: flex; align-items: end; justify-content: space-between; gap: 24px; padding-bottom: 24px; border-bottom: 1px solid rgba(83, 199, 255, .34); }
.notice-list-head h1 { margin: 0; color: #fff; font-size: clamp(30px, 4vw, 44px); line-height: 1.2; text-shadow: 0 3px 0 rgba(0, 35, 116, .55); }
.notice-list-head p { margin: 8px 0 0; color: #9ed7ff; font-size: 14px; }
.notice-list-back { flex: 0 0 auto; padding-bottom: 4px; color: var(--cyan-soft); font-size: 15px; }
.notice-list-back:hover { color: var(--yellow); }
.notice-list { margin: 0; padding: 8px 0 0; list-style: none; }
.notice-list-item { border-bottom: 1px solid rgba(122, 206, 255, .18); }
.notice-list-item > a { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; min-height: 62px; align-items: center; gap: 14px; color: #eef9ff; transition: color .18s ease, background .18s ease, padding .18s ease; }
.notice-list-item > a:hover { padding-inline: 8px; color: var(--yellow); background: rgba(48, 142, 255, .1); }
.notice-list-title { min-width: 0; overflow: hidden; font-size: 16px; font-weight: 500; text-overflow: ellipsis; white-space: nowrap; }
.notice-list time { color: #8fd3ff; font-size: 13px; }
.notice-list-empty { padding: 90px 20px; color: #9ed7ff; text-align: center; }
.notice-pagination { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 8px; margin-top: 30px; }
.notice-pagination a, .notice-pagination span { display: inline-flex; min-width: 38px; height: 38px; align-items: center; justify-content: center; padding: 0 12px; border: 1px solid rgba(93, 202, 255, .5); border-radius: 6px; color: #dff5ff; background: rgba(9, 55, 150, .6); }
.notice-pagination a:hover, .notice-pagination .current { border-color: var(--yellow); color: #102768; background: var(--yellow); }
.notice-pagination .disabled { opacity: .42; cursor: default; }
.loading-row, .empty-row { padding: 50px 20px; text-align: center; color: var(--muted); }
#rankingRows > .loading-row, #rankingRows > .empty-row, #guildRows > .loading-row, #guildRows > .empty-row { display: grid; height: 100%; min-height: 180px; place-items: center; padding: 20px; }

@media (max-width: 1360px) {
    :root { --header-height: 88px; --page-gutter: 48px; }
    .header-shell { grid-template-columns: 230px minmax(500px, 1fr) auto; gap: clamp(18px, 2.4vw, 34px); }
    .site-logo { height: 76px; }.site-nav { gap: 18px; }.site-nav a { font-size: 17px; }.site-nav a::after { bottom: 11px; }
    .header-account-user { gap: 8px; }.header-account-name, .header-account-logout, .header-account-guest { font-size: 13px; }
    .home-layout { grid-template-columns: minmax(390px, .9fr) minmax(245px, .64fr) minmax(370px, 410px); }.home-copy { padding-top: 52px; }.home-copy h1 { font-size: 63px; }.account-card { margin-top: 0; padding: 26px 30px 22px; }.home-hero { left: 31%; width: 45vw; }
    .page-split { grid-template-columns: minmax(0, 1fr) var(--feature-panel-width); gap: 42px; }.download-hero { width: 49vw; }.download-panel { padding: 36px 38px 30px; }.download-panel h3 { font-size: 33px; }
    .ranking-layout { grid-template-columns: minmax(0, 1fr) var(--feature-panel-width); column-gap: 34px; }.ranking-toolbar { grid-template-columns: minmax(0, 1fr) var(--feature-panel-width); gap: 34px; }.podium { height: 420px; }.podium::before { bottom: 34px; }.fashion-frame { width: 150px; }.podium-entry.first { --podium-frame-bottom: calc(24px + 32.3cqi); --podium-frame-height: 187.5px; }.podium-entry.second { --podium-frame-bottom: calc(24px + 26.4cqi); --podium-frame-height: 170px; }.podium-entry.third { --podium-frame-bottom: calc(24px + 21.9cqi); --podium-frame-height: 170px; }.podium-entry.second .fashion-frame, .podium-entry.third .fashion-frame { width: 136px; }
    .weapons-layout { grid-template-columns: minmax(250px, 1fr) minmax(730px, 820px); gap: 24px; }.weapon-button { grid-template-columns: 42px minmax(6em, 1fr); font-size: 14px; }.weapon-button img { width: 38px; height: 38px; }.weapon-detail { padding: 28px 32px; }
    .guild-layout { grid-template-columns: minmax(0, 1fr) var(--feature-panel-width); gap: 42px; }.guild-art-side img { width: min(610px, 50vw); }.guild-list-panel { padding-inline: 14px; }
}

@media (max-width: 1100px) {
    :root { --header-height: 118px; --page-gutter: 20px; }
    .site-header { height: var(--header-height); }
    .header-shell { width: 100%; display: grid; grid-template: 56px 62px / 1fr; gap: 0; }
    .site-logo { width: 210px; height: 54px; margin: 1px auto 0; }.site-logo img { object-position: center; }
    .site-nav { min-width: 0; width: 100%; height: 62px; padding: 0 12px; gap: 0; overflow-x: auto; justify-content: flex-start; scrollbar-width: none; }.site-nav::-webkit-scrollbar { display: none; }
    .site-nav a { flex: 1 0 104px; height: 62px; padding-top: 0; font-size: 16px; }.site-nav a::after { bottom: 6px; }
    .header-account { position: absolute; z-index: 2; top: 7px; right: 16px; height: 42px; }
    .page-section { height: auto; min-height: 100vh; min-height: 100svh; overflow: hidden; scroll-snap-align: none; scroll-snap-stop: normal; }.page-inner { width: calc(100% - 40px); height: auto; min-height: 100vh; min-height: 100svh; padding-top: calc(var(--header-height) + 26px); padding-bottom: 64px; }
    .section-dots, .scroll-cue { display: none; }.section-title { min-height: 68px; }.section-title span, .section-title h2 { font-size: 39px; }.section-title i { width: 28px; }
    .illustration-side > .section-title, .ranking-toolbar, .weapons-title, .maps-toolbar, .guild-art-side > .section-title { transform: translateY(-10px); }
    .home-layout, .page-split, .ranking-layout, .weapons-layout, .guild-layout { display: block; }
    .home-copy { margin-bottom: 40px; padding: 22px 0 0; text-align: center; }.home-copy h1 { font-size: clamp(48px, 9vw, 72px); }.home-slogan img { margin-inline: auto; }.home-copy p { max-width: 680px; margin-inline: auto; }.home-actions { align-items: center; margin: 32px 0 0; }
    .home-hero { position: relative; left: auto; top: auto; width: min(720px, 100%); height: auto; aspect-ratio: 915 / 832; margin: -50px auto -25px; }.home-account-column { max-width: 620px; margin: 0 auto 30px; gap: 14px; }.account-card { min-height: 0; max-width: none; margin: 0; }.home-notices { margin: 0; text-align: left; }
    .illustration-side { min-height: 0; margin-bottom: 36px; }.download-hero { top: 115px; width: min(650px, 94vw); }.download-panel { position: relative; z-index: 2; max-width: 760px; margin: 0 auto 30px; padding: 32px 24px; }.download-steps { overflow: hidden; }
    .ranking-toolbar { display: flex; align-items: stretch; flex-direction: column; gap: 16px; max-width: 760px; margin: 0 auto 24px; }.ranking-left { max-width: 760px; margin: clamp(32px, calc(34.8485vw - 212px), 67px) auto 40px; }.ranking-table-panel { width: 100%; height: auto; min-height: 0; max-width: 760px; margin: 0 auto 35px; }
    .weapon-detail-shell { margin-bottom: 36px; }.weapons-main { overflow-x: auto; }.weapon-grid { min-width: 760px; }.weapon-button { grid-template-columns: 42px minmax(6em, 1fr); padding-inline: 6px; font-size: 14px; }.weapon-detail, .weapon-list-panel { height: auto; }.weapon-detail { max-width: 760px; min-height: 500px; margin: 0 auto; }
    .maps-toolbar { align-items: stretch; flex-direction: column; margin-bottom: 36px; }.map-tabs { width: 100%; }.map-grid { grid-template-columns: 1fr 1fr; margin-top: 0; }
    .page-guilds { background: #1745ad; }.page-guilds::after { background-size: 100% auto; background-position: center top; }.guild-art-side { min-height: 0; margin-bottom: 36px; }.guild-art-side img { left: 50%; top: 120px; width: min(720px, 96vw); max-height: none; }.guild-list-panel { position: relative; z-index: 2; display: flex; height: auto; min-height: 0; max-width: 820px; margin: 0 auto 30px; overflow-x: auto; }.guild-list-panel > * { min-width: 680px; }
    .form-grid { grid-template-columns: 1fr; }.form-grid .full { grid-column: auto; }.profile-sheet { grid-template-columns: 1fr; }.profile-avatar-box { width: 220px; margin: auto; }
    .notice-detail-main { width: calc(100% - 40px); }.notice-article { padding: 34px 28px 44px; }.notice-list-panel { padding: 34px 28px 42px; }
}

@media (max-width: 700px) {
    .site-logo { width: 160px; margin-left: 12px; margin-right: 0; }
    .header-account { right: 11px; }.header-account-user { gap: 7px; }.header-account-icon { width: 30px; height: 30px; flex-basis: 30px; background-size: 18px 18px; }.header-account-name, .header-account-logout, .header-account-guest { font-size: 12px; }
    .site-nav a { flex-basis: 88px; font-size: 14px; }
    .page-inner { width: calc(100% - 28px); }
    .section-title span, .section-title h2 { font-size: 34px; }.section-title i { width: 22px; }
    .home-copy h1 { font-size: 49px; }.home-copy p { font-size: 17px; }.home-hero { margin-top: -20px; }.account-card { padding: 30px 22px; }
    .home-notices { width: 100%; }.home-notices time { display: none; }.notice-detail-main { width: calc(100% - 28px); }.notice-article { padding: 28px 20px 36px; }.notice-body { font-size: 16px; }.notice-list-panel { padding: 28px 20px 36px; }.notice-list-head { align-items: flex-start; flex-direction: column; }.notice-list-item > a { gap: 9px; }.notice-list time { font-size: 11px; }
    .button { min-height: 52px; padding-inline: 20px; font-size: 18px; }.illustration-side { min-height: 0; }.download-panel h3 { font-size: 28px; }.download-panel > p { font-size: 16px; }.qq-number { font-size: 23px; }
    .segmented { height: 52px; }.segmented button { font-size: 16px; }.map-tabs button { padding-inline: 3px; font-size: 14px; }.ranking-left { margin-top: max(0px, calc(34.8485vw - 196px)); }.podium { gap: 2px; height: 380px; }.fashion-frame { width: 128px; }.podium-entry.first { --podium-frame-height: 160px; }.podium-entry.second, .podium-entry.third { --podium-frame-height: 140px; }.podium-entry:not(.first) .fashion-frame { width: 112px; }.podium-base { font-size: 45px; }
    .ranking-table-panel { padding: 12px 8px; }.ranking-table .table-row { grid-template-columns: .45fr .7fr 1.25fr 1fr; font-size: 14px; }.rank-cell { gap: 2px; }.rank-cell .rank-name { display: none; }
    .map-grid { grid-template-columns: 1fr; }.guild-art-side { min-height: 0; }.guild-art-side > p { font-size: 17px; }
    .modal { padding: 10px; }.modal-card { padding: 28px 20px; max-height: calc(100vh - 20px); }.profile-data { grid-template-columns: 1fr; }
}

@media (max-width: 430px) {
    .site-nav a { flex: 1 1 0; min-width: 0; font-size: 12px; }
    .section-title span, .section-title h2 { font-size: 29px; }.section-title { gap: 7px; }.section-title i { width: 18px; }
    .home-copy h1 { font-size: 42px; }.home-actions { display: grid; }.home-actions .button { width: 100%; }.home-hero { margin-bottom: 0; }
    .account-card { padding-inline: 18px; }.profile-actions { grid-template-columns: 1fr; }.illustration-side { min-height: 0; }.download-steps { padding-inline: 10px; }.guild-art-side { min-height: 0; }
}

@media (max-height: 820px) and (min-width: 1101px) {
    :root { --header-height: 78px; }
    .site-logo { height: 70px; }.site-nav a::after { bottom: 8px; }.page-inner { padding-top: calc(var(--header-height) + 14px); padding-bottom: 48px; }
    .section-title { min-height: 64px; }.section-title span, .section-title h2 { font-size: 40px; }.section-title i { width: 32px; height: 15px; }
    .home-copy { padding-top: 30px; }.home-copy h1 { margin-bottom: 18px; font-size: 58px; }.home-copy p { margin-bottom: 26px; line-height: 1.55; }.home-hero { top: calc(var(--header-height) + 15px); height: calc(100% - var(--header-height) - 20px); }.home-account-column { gap: 10px; }.account-card { min-height: 0; margin-top: 0; padding-block: 24px 20px; }
    .download-hero { top: 105px; max-height: 560px; }.download-panel { margin-top: 20px; padding-block: 28px 24px; }.download-steps { padding-block: 32px 10px; }.step-icon { width: 66px; height: 66px; }
    .podium { height: 365px; padding-top: 0; }.podium::before { bottom: 30px; width: 88%; }.podium-entry.first { --podium-frame-bottom: calc(20px + 30.6667cqi); --podium-frame-height: 160px; }.podium-entry.second { --podium-frame-bottom: calc(20px + 22.5263cqi); --podium-frame-height: 147.5px; left: 20.9%; }.podium-entry.third { --podium-frame-bottom: calc(20px + 20.1404cqi); --podium-frame-height: 147.5px; left: 79.1%; }.ranking-table-panel { margin-top: 0; }.fashion-frame { width: 128px; }.podium-entry.second .fashion-frame, .podium-entry.third .fashion-frame { width: 118px; }.podium-name { font-size: 15px; }.podium-name img { width: 26px; height: 31px; }
    .weapons-layout { --weapon-panel-height: 580px; }.weapon-row { min-height: 45px; }.weapon-button img { width: 34px; height: 34px; }.weapon-detail { min-height: var(--weapon-panel-height); }.weapon-large-icon { width: 170px; height: 170px; }
    .map-grid { gap-block: 16px; }.map-card h3 { margin-top: 7px; }.guild-art-side img { top: 88px; max-height: 600px; }.guild-list-panel { margin-top: 12px; }
}

@media (min-width: 1101px) {
    .page-inner { padding-top: var(--header-height); padding-bottom: 0; }
    .home-layout, .page-split, .ranking-layout, .weapons-layout, .maps-layout, .guild-layout { align-content: center; }
    .home-layout, .page-split, .ranking-layout, .weapons-layout, .guild-layout { align-items: center; }
    .home-copy { padding-top: 0; transform: translateY(clamp(-140px, calc(-13.5vh + 50px), -50px)); }
    .account-card, .download-panel, .ranking-table-panel, .weapon-detail, .guild-list-panel { margin-top: 0; }
    .maps-layout { grid-template-rows: auto auto auto; }
}

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; } }
