@import url('../fonts/login/fonts.css');

/* 数值来自 Pencil「银河帝国 · 登录页」bi8Au；所有覆盖限定在首页。 */
body.gw-page {
    --gw-bg: #050a18;
    --gw-cyan: #38bdf8;
    --gw-violet: #7c6cf6;
    --gw-orange: #fb7a1e;
    --gw-text: #eaf1ff;
    --gw-muted: #93a3bf;
    --gw-dim: #5b6b88;
    --gw-line: #ffffff1a;
    --gw-cn: 'Noto Sans SC', 'PingFang SC', 'Microsoft YaHei', sans-serif;
    --gw-en: 'Orbitron', sans-serif;
    margin: 0;
    padding: 0;
    min-width: 280px;
    background: var(--gw-bg);
    color: var(--gw-text);
    font-family: var(--gw-cn);
    font-size: 14px;
    line-height: 1.45;
}
.gw-page *, .gw-page *::before, .gw-page *::after { box-sizing: border-box; }
.gw-page h1, .gw-page h2, .gw-page h3, .gw-page p, .gw-page dl, .gw-page dd, .gw-page dt { margin: 0; }
.gw-page a { color: var(--gw-muted); text-decoration: none; }
.gw-page a:hover { color: var(--gw-text); text-decoration: none; }
.gw-page a:focus-visible, .gw-page button:focus-visible, .gw-page summary:focus-visible { outline: 2px solid var(--gw-cyan); outline-offset: 4px; }
.gw-page button, .gw-page input { font: inherit; }
.gw-page button { cursor: pointer; }
.gw-page [hidden] { display: none !important; }
.gw-symbols { position: absolute; width: 0; height: 0; overflow: hidden; }
.gw-page .gw-icon { display: block; width: 18px; height: 18px; flex: 0 0 auto; fill: currentColor; padding: 0; margin: 0; border: 0; }
.gw-page .gw-sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.gw-shell { position: relative; isolation: isolate; display: flex; flex-direction: column; min-height: 100vh; min-height: 100svh; }
.gw-scenery, .gw-orbits { position: absolute; inset: 0; pointer-events: none; overflow: hidden; z-index: -2; }
.gw-background { position: absolute; inset: -12px; background: url('../images/login/galaxy-background.webp') center center / cover no-repeat; transform: translate(var(--gw-x, 0px), var(--gw-y, 0px)); transition: transform 600ms ease-out; }
.gw-overlay { position: absolute; inset: 0; background: linear-gradient(180deg, #050a1800 72%, #050a18e6 100%), radial-gradient(ellipse 65% 65% at 50% 45%, #050a1873 0%, #050a1826 45%, #050a18b3 100%); }
.gw-glow { position: absolute; width: 640px; height: 640px; left: calc(50% + 70px); top: 210px; background: radial-gradient(ellipse 50% 50%, #38bdf833, #38bdf800); }
.gw-orbits { z-index: 2; }
.gw-orbit { position: absolute; border-radius: 50%; border: 1px solid #38bdf820; animation: gw-orbit 60s linear infinite; }
.gw-orbit-one { width: 620px; height: 620px; top: 220px; left: calc(50% + 80px); }
.gw-orbit-two { width: 760px; height: 760px; top: 150px; left: calc(50% + 10px); border-color: #7c6cf613; animation-duration: 90s; animation-direction: reverse; }
.gw-orbit-three { width: 900px; height: 900px; top: 80px; left: calc(50% - 60px); border-color: #38bdf80a; animation-duration: 120s; }
.gw-orbit-arc { position: absolute; inset: -1px; width: 620px; height: 620px; color: var(--gw-cyan); }
.gw-orbit i { position: absolute; left: 525px; top: 87px; width: 8px; height: 8px; border-radius: 50%; background: #7dd3fc; box-shadow: 0 0 14px #38bdf8; }
.gw-orbit-two i { left: 20px; top: 507px; width: 6px; height: 6px; background: #c4b5fd; box-shadow: 0 0 12px #7c6cf6; }

.gw-header { flex: 0 0 auto; position: relative; z-index: 5; padding: 24px 80px 0; animation: gw-enter .65s both; }
.gw-nav { display: flex; align-items: center; justify-content: space-between; height: 64px; padding: 0 12px 0 24px; background: #070e1e99; border-radius: 16px; outline: 1px solid var(--gw-line); outline-offset: -1px; backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.gw-page .gw-brand { display: inline-flex; align-items: center; gap: 12px; flex: 0 0 auto; color: var(--gw-text); }
.gw-logo { display: flex; align-items: center; justify-content: center; width: 36px; height: 36px; border-radius: 10px; background: linear-gradient(135deg, #38bdf8 14.645%, #7c6cf6 85.355%); box-shadow: 0 4px 20px #38bdf866; color: #fff; }
.gw-logo .gw-icon { width: 20px; height: 20px; }
.gw-brand-text { display: flex; flex-direction: column; gap: 2px; }
.gw-brand-text strong { font-size: 17px; font-weight: 800; letter-spacing: 2px; line-height: 25px; }
.gw-brand-text small { font: 600 9px/11px var(--gw-en); color: var(--gw-cyan); letter-spacing: 3px; }
.gw-menu { display: flex; flex-wrap: nowrap; align-items: center; gap: 6px; }
.gw-page .gw-menu > a { flex: 0 0 auto; padding: 8px 14px; font-size: 14px; line-height: 20px; color: var(--gw-muted); border-radius: 8px; white-space: nowrap; transition: color .2s, background .2s; }
.gw-page .gw-menu > a.is-current { background: #38bdf81a; color: var(--gw-text); font-weight: 600; }
.gw-page .gw-menu > a:hover { color: var(--gw-text); background: #ffffff08; }
.gw-language { position: relative; font-size: 14px; color: var(--gw-muted); }
.gw-language summary { display: flex; align-items: center; flex-wrap: nowrap; gap: 6px; padding: 8px 14px; line-height: 20px; cursor: pointer; list-style: none; white-space: nowrap; }
.gw-language summary::-webkit-details-marker { display: none; }
.gw-language summary::marker { content: ''; }
.gw-language .gw-icon { width: 15px; height: 15px; }
.gw-language .gw-chevron { width: 14px; height: 14px; }
.gw-language-options { position: absolute; right: 0; top: calc(100% + 10px); z-index: 10; min-width: 150px; max-width: min(240px, calc(100vw - 48px)); max-height: 280px; overflow-y: auto; border: 1px solid var(--gw-line); border-radius: 12px; padding: 6px; background: #0b1428; box-shadow: 0 12px 36px #0006; }
.gw-page .gw-language-options a { display: block; padding: 9px 12px; color: var(--gw-muted); white-space: nowrap; border-radius: 7px; }
.gw-page .gw-language-options a:hover { color: var(--gw-text); background: #38bdf81a; }
.gw-page .gw-nav-signup { display: inline-flex; flex: 0 0 auto; align-items: center; justify-content: center; gap: 8px; height: 40px; padding: 10px 20px; color: #fff; font-size: 14px; font-weight: 700; line-height: 20px; white-space: nowrap; border-radius: 10px; background: linear-gradient(90deg, #fb923c, #f2552c); box-shadow: 0 6px 24px #fb7a1e55; }
.gw-nav-signup .gw-icon { width: 16px; height: 16px; }
.gw-menu-toggle { display: none; }

/* 左侧选区与动态、右侧认证，共用 1120×560 的玻璃面板。 */
.gw-main { flex: 1; display: flex; align-items: center; justify-content: center; padding: 24px 80px; min-width: 0; }
.gw-console { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) 460px; width: 1120px; max-width: 100%; min-height: 560px; min-width: 0; border-radius: 24px; background: linear-gradient(180deg, #38bdf814, #38bdf800 40%), #0a1326b3; backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); box-shadow: 0 30px 80px #0009; animation: gw-enter .65s .08s both; }
.gw-console::before { content: ''; position: absolute; inset: 0; z-index: 1; pointer-events: none; border-radius: inherit; padding: 1px; background: linear-gradient(135deg, #7dd3fc80, #ffffff14 50%, #7c6cf666); -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0); -webkit-mask-composite: xor; mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0); mask-composite: exclude; }
.gw-scan { position: absolute; top: 0; left: 20px; right: 20px; height: 2px; z-index: 1; background: linear-gradient(90deg, #38bdf800, #7dd3fc, #38bdf800); pointer-events: none; animation: gw-scan 4s ease-in-out infinite; }
.gw-galaxy-panel { display: flex; flex-direction: column; justify-content: space-between; gap: 24px; min-width: 0; padding: 40px 40px 36px; background: #ffffff04; border-radius: 24px 0 0 24px; }
.gw-galaxy-top { display: flex; flex-direction: column; gap: 20px; min-width: 0; }
.gw-galaxy-header { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; }
.gw-panel-title { min-width: 0; }
.gw-panel-title > p { font: 600 10px/13px var(--gw-en); letter-spacing: 4px; color: var(--gw-cyan); margin-bottom: 6px; }
.gw-panel-title h1, .gw-panel-title h2 { font-size: 26px; font-weight: 800; line-height: 38px; }
.gw-server-count { display: flex; align-items: center; gap: 6px; flex: 0 0 auto; white-space: nowrap; font-size: 12px; line-height: 17px; color: var(--gw-muted); }
.gw-pulse { display: inline-block; position: relative; width: 6px; height: 6px; flex: 0 0 6px; border-radius: 50%; background: #22c55e; }
.gw-pulse::after { content: ''; position: absolute; inset: 0; border: 1px solid #22c55e; border-radius: 50%; animation: gw-pulse 1.6s ease-out infinite; }
.is-closed .gw-pulse { background: var(--gw-dim); }
.is-closed .gw-pulse::after { display: none; }
.gw-news { min-width: 0; width: 100%; display: flex; flex-direction: column; gap: 14px; padding-top: 22px; box-shadow: inset 0 1px #ffffff14; animation: gw-enter .65s .24s both; }
.gw-news-header { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-width: 0; }
.gw-news h2 { display: flex; align-items: center; gap: 10px; min-width: 0; font-size: 15px; font-weight: 700; line-height: 22px; white-space: nowrap; }
.gw-news h2 > .gw-icon { width: 16px; height: 16px; color: var(--gw-cyan); }
.gw-news h2 small { font: 400 11px/14px var(--gw-en); letter-spacing: 1px; color: var(--gw-dim); overflow: hidden; text-overflow: ellipsis; }
.gw-page .gw-news-toggle { border: 0; padding: 0; display: flex; align-items: center; gap: 4px; background: none; color: var(--gw-cyan); font-size: 12px; line-height: 18px; white-space: nowrap; }
.gw-news-toggle .gw-icon { width: 14px; height: 14px; transition: transform .2s; }
.gw-news-toggle[aria-expanded=true] .gw-icon { transform: rotate(90deg); }
.gw-news-preview { display: flex; flex-direction: column; gap: 14px; }
.gw-news-preview p { display: flex; align-items: center; gap: 14px; min-height: 20px; font-size: 14px; font-weight: 500; line-height: 20px; }
.gw-news-title { flex: 0 1 auto; min-width: 0; max-width: 100%; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.gw-news-description { flex: 1; min-width: 0; color: var(--gw-dim); font-size: 12px; font-weight: 400; line-height: 17px; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.gw-news-tag { display: inline-flex; justify-content: center; align-items: center; flex: 0 0 44px; height: 17px; outline: 1px solid #38bdf855; outline-offset: -1px; border-radius: 4px; color: var(--gw-cyan); background: #38bdf81f; font: 700 9px/11px var(--gw-en); letter-spacing: 1px; }
.gw-news-preview p:nth-child(2) .gw-news-tag { color: #a78bfa; background: #a78bfa1f; outline-color: #a78bfa55; }
.gw-news-preview p:nth-child(3) .gw-news-tag { color: #fbbf24; background: #fbbf241f; outline-color: #fbbf2455; }
.gw-news-full { max-height: 300px; overflow: auto; color: var(--gw-muted); font-size: 13px; line-height: 1.8; overflow-wrap: anywhere; white-space: pre-wrap; }
.gw-news-full img, .gw-news-full video, .gw-news-full iframe { max-width: 100%; }
.gw-news-full img { height: auto; }
.gw-page .gw-news-full a { color: var(--gw-cyan); }

.gw-auth-panel { display: flex; flex-direction: column; justify-content: space-between; gap: 22px; min-width: 0; margin: 0; padding: 40px 40px 36px; box-shadow: inset 1px 0 #ffffff14; animation: gw-enter .65s .32s both; }
.gw-console-header { display: flex; justify-content: space-between; gap: 12px; min-height: 57px; }
.gw-rocket { width: 44px; height: 44px; flex: 0 0 44px; display: flex; align-items: center; justify-content: center; border-radius: 12px; background: #38bdf81a; outline: 1px solid #38bdf840; outline-offset: -1px; color: var(--gw-cyan); }
.gw-rocket .gw-icon { width: 20px; height: 20px; }
.gw-selected { display: flex; align-items: center; gap: 10px; min-width: 0; padding: 10px 14px; min-height: 37px; background: #38bdf80d; outline: 1px solid #38bdf833; outline-offset: -1px; border-radius: 10px; font-size: 12px; line-height: 17px; }
.gw-selected .gw-icon { width: 14px; height: 14px; color: var(--gw-cyan); }
.gw-selected > span { color: var(--gw-dim); flex: 0 0 auto; }
.gw-selected strong { font-weight: 600; min-width: 0; overflow-wrap: anywhere; }
.gw-servers { display: flex; flex-direction: column; gap: 10px; margin: 0; padding: 0; border: 0; min-width: 0; }
.gw-server { position: relative; display: block; margin: 0; cursor: pointer; }
.gw-server > input { position: absolute; width: 1px; height: 1px; opacity: 0; left: 16px; top: 50%; }
.gw-server-card { display: flex; align-items: center; gap: 14px; padding: 16px 18px; min-height: 71px; border-radius: 12px; background: #ffffff05; outline: 1px solid var(--gw-line); outline-offset: -1px; transition: background .25s, outline-color .25s; }
.gw-server input:checked + .gw-server-card { background: #38bdf814; outline-color: #38bdf899; }
.gw-server:not(.is-maintenance):hover .gw-server-card { outline-color: var(--gw-cyan); }
.gw-server input:focus-visible + .gw-server-card { outline: 2px solid var(--gw-cyan); outline-offset: 2px; }
.gw-planet { width: 32px; height: 32px; flex: 0 0 32px; border-radius: 50%; background: radial-gradient(ellipse 50% 50% at 35% 30%, #cbd5e1, #334155 70%, #0b1428); }
.gw-server input:checked + .gw-server-card .gw-planet { background: radial-gradient(ellipse 50% 50% at 35% 30%, #bae6fd, #2563eb 70%, #0b1428); }
.gw-server-info { display: flex; flex-direction: column; gap: 3px; flex: 1; min-width: 0; }
.gw-server-info strong { font-size: 14px; font-weight: 600; line-height: 20px; overflow-wrap: anywhere; }
.gw-server-state { display: inline-flex; flex: 0 0 auto; align-items: center; gap: 6px; border-radius: 99px; padding: 4px 10px; font-size: 11px; font-weight: 500; line-height: 16px; color: #22c55e; background: #22c55e1a; white-space: nowrap; }
.gw-server-state i { width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.gw-radio { width: 20px; height: 20px; flex: 0 0 20px; border: 1.5px solid #fff3; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; }
.gw-radio .gw-icon { width: 12px; height: 12px; opacity: 0; color: #04101f; }
.gw-server input:checked + .gw-server-card .gw-radio { background: var(--gw-cyan); border-color: var(--gw-cyan); }
.gw-server input:checked + .gw-server-card .gw-radio .gw-icon { opacity: 1; }
.gw-server.is-maintenance { cursor: not-allowed; }
.gw-server.is-maintenance .gw-server-state { color: var(--gw-muted); background: #93a3bf1a; }
.gw-empty { min-height: 205px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; text-align: center; color: var(--gw-muted); border: 1px solid var(--gw-line); border-radius: 12px; padding: 24px; }
.gw-empty > .gw-icon { width: 32px; height: 32px; color: var(--gw-cyan); }
.gw-empty p { font-size: 12px; }
.gw-alert { padding: 12px; background: #fb7a1e14; border: 1px solid #fb7a1e55; border-radius: 10px; color: #fdba74; overflow-wrap: anywhere; }
.gw-field { display: flex; flex-direction: column; gap: 8px; }
.gw-field-label { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.gw-field label { margin: 0; font-size: 13px; font-weight: 500; line-height: 19px; color: var(--gw-muted); }
.gw-page .gw-field-label a { font-size: 12px; line-height: 17px; color: var(--gw-cyan); }
.gw-input { display: flex; align-items: center; gap: 12px; padding: 0 16px; height: 50px; background: #050a18b3; border-radius: 12px; outline: 1px solid var(--gw-line); outline-offset: -1px; transition: outline-color .25s, box-shadow .25s; }
.gw-input:focus-within { outline-color: #38bdf866; box-shadow: 0 0 16px #38bdf833; }
.gw-input > .gw-icon { width: 17px; height: 17px; color: var(--gw-dim); }
.gw-input:focus-within > .gw-icon { color: var(--gw-cyan); }
.gw-page .gw-input input { display: block; flex: 1; min-width: 0; width: 100%; height: 100%; padding: 0; margin: 0; border: 0; outline: 0; background: none; box-shadow: none; color: var(--gw-text); font-family: var(--gw-cn); font-size: 15px; line-height: 22px; border-radius: 0; }
.gw-input input::placeholder { color: var(--gw-dim); }
.gw-page .gw-input input:-webkit-autofill { -webkit-text-fill-color: var(--gw-text); box-shadow: 0 0 0 100px #071020 inset; }
.gw-page .gw-password-toggle { display: flex; align-items: center; justify-content: center; flex: 0 0 28px; width: 28px; height: 32px; padding: 0; border: 0; border-radius: 4px; color: var(--gw-dim); background: none; }
.gw-password-toggle .gw-icon { width: 17px; height: 17px; }
.gw-password-toggle[aria-pressed=true] { color: var(--gw-cyan); }
.gw-page .gw-submit { position: relative; isolation: isolate; overflow: hidden; display: flex; align-items: center; justify-content: center; gap: 10px; width: 100%; height: 54px; flex: 0 0 54px; min-width: 0; padding: 0; border: 0; border-radius: 14px; color: #fff; font-size: 16px; font-weight: 700; line-height: 23px; letter-spacing: 4px; background: linear-gradient(90deg, #38bdf8, #6366f1); box-shadow: 0 12px 32px #4f8bf866; }
.gw-submit::before { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(110deg, transparent, #ffffff40, transparent); transform: translateX(-110%); transition: transform .6s; }
.gw-submit .gw-icon { width: 18px; height: 18px; transition: transform .25s; }
.gw-submit:hover:not(:disabled)::before { transform: translateX(110%); }
.gw-submit:hover:not(:disabled) .gw-icon { transform: translateX(4px); }
.gw-submit:disabled { cursor: not-allowed; opacity: .45; box-shadow: none; }
.gw-console-footer { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.gw-console-footer p { display: flex; flex-wrap: nowrap; align-items: center; gap: 6px; white-space: nowrap; }
.gw-signup { font-size: 13px; line-height: 19px; color: var(--gw-muted); }
.gw-page .gw-signup a { color: var(--gw-orange); font-size: 13px; font-weight: 700; line-height: 19px; }
.gw-terms { font-size: 12px; line-height: 17px; color: var(--gw-dim); }
.gw-console-footer .gw-terms { gap: 4px; }
.gw-page .gw-terms a { color: var(--gw-muted); font-size: 12px; font-weight: 400; line-height: 17px; }

.gw-feature-strip { flex: 0 0 auto; position: relative; z-index: 3; display: flex; align-items: center; gap: 0; margin: 0 80px 36px; padding-top: 20px; box-shadow: inset 0 1px var(--gw-line); }
.gw-discover, .gw-feature { flex: 1; min-width: 0; }
.gw-discover p { color: var(--gw-cyan); font: 400 10px/13px var(--gw-en); letter-spacing: 4px; margin-bottom: 4px; }
.gw-discover h2 { color: var(--gw-text); font-size: 18px; font-weight: 800; line-height: 26px; }
.gw-feature { display: flex; align-items: center; gap: 12px; }
.gw-feature > span { display: flex; align-items: center; justify-content: center; width: 38px; height: 38px; flex: 0 0 38px; background: #ffffff08; border-radius: 10px; outline: 1px solid var(--gw-line); outline-offset: -1px; color: var(--gw-cyan); }
.gw-feature h3 { font-size: 14px; font-weight: 700; line-height: 20px; margin-bottom: 2px; }
.gw-feature p { font-size: 12px; color: var(--gw-dim); line-height: 18px; }
.gw-page .gw-explore { display: flex; align-items: center; gap: 8px; font-size: 12px; line-height: 18px; white-space: nowrap; color: var(--gw-muted); }
.gw-explore .gw-icon { width: 16px; height: 16px; }
.gw-story { padding: 48px 80px; max-width: 1440px; margin: 0 auto; }
.gw-story h2 { font-size: 20px; font-weight: 600; margin-bottom: 20px; }
.gw-story p { font-size: 14px; line-height: 2; color: var(--gw-muted); max-width: 850px; }
.gw-page > footer { border-top: 1px solid var(--gw-line); color: var(--gw-dim); font-size: 12px; padding: 24px; }

@keyframes gw-enter { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
@keyframes gw-orbit { to { transform: rotate(360deg); } }
@keyframes gw-pulse { from { opacity: .8; transform: scale(1); } to { opacity: 0; transform: scale(2.2); } }
@keyframes gw-scan { 0% { top: 0; opacity: 0; } 15% { opacity: 1; } 90%, 100% { top: calc(100% - 3px); opacity: 0; } }
.gw-paused *, .gw-paused *::before, .gw-paused *::after { animation-play-state: paused !important; }

/* 桌面稿为 1440×1024；窄屏优先保留输入宽度，手机按选区→登录→动态排列。 */
@media (min-width: 1600px) {
    .gw-header, .gw-feature-strip { width: 1280px; margin-left: auto; margin-right: auto; padding-left: 0; padding-right: 0; }
}
@media (max-width: 1399px) {
    .gw-header, .gw-main { padding-left: 40px; padding-right: 40px; }
    .gw-feature-strip { margin-left: 40px; margin-right: 40px; }
    .gw-menu { gap: 2px; }
    .gw-page .gw-menu > a, .gw-language summary { padding-left: 10px; padding-right: 10px; }
}
@media (min-width: 901px) and (max-height: 900px) {
    .gw-header { padding-top: 16px; }
    .gw-main { padding-top: 16px; padding-bottom: 16px; }
    .gw-feature-strip { padding-top: 16px; margin-bottom: 24px; }
}
@media (max-width: 1199px) {
    .gw-header { padding: 20px 28px 0; }
    .gw-main { padding-left: 28px; padding-right: 28px; }
    .gw-console { grid-template-columns: minmax(0, 1fr) 420px; }
    .gw-galaxy-panel, .gw-auth-panel { padding-left: 28px; padding-right: 28px; }
    .gw-galaxy-header { align-items: flex-start; flex-direction: column; gap: 12px; }
    .gw-panel-title > p { font-size: 9px; letter-spacing: 3px; }
    .gw-nav { position: relative; gap: 20px; flex-wrap: wrap; height: auto; min-height: 64px; }
    .gw-menu-toggle { display: flex; align-items: center; justify-content: center; width: 40px; height: 40px; margin-left: auto; border: 1px solid var(--gw-line); border-radius: 8px; color: var(--gw-text); background: #ffffff08; }
    .gw-menu { order: 4; flex: 0 0 100%; flex-wrap: wrap; padding-bottom: 12px; }
    .gw-menu.is-collapsible { display: none; position: absolute; left: 0; right: 0; top: calc(100% + 10px); padding: 14px; border: 1px solid var(--gw-line); border-radius: 14px; background: #0a1326; gap: 6px; box-shadow: 0 12px 36px #0006; }
    .gw-menu.is-open { display: flex; }
    .gw-language-options { right: auto; left: 0; }
    .gw-feature-strip { margin-left: 28px; margin-right: 28px; gap: 16px; }
    .gw-explore { display: none !important; }
}
@media (max-width: 900px) {
    .gw-main { padding-top: 36px; padding-bottom: 36px; }
    .gw-console { grid-template-columns: minmax(0, 1fr); width: 580px; }
    .gw-galaxy-panel { display: contents; }
    .gw-galaxy-top { padding: 32px; }
    .gw-galaxy-header { flex-direction: row; align-items: flex-end; }
    .gw-auth-panel { grid-row: 2; padding: 32px; box-shadow: inset 0 1px #ffffff14; }
    .gw-news { padding: 24px 32px 32px; }
    .gw-panel-title > p { font-size: 10px; letter-spacing: 3px; }
    .gw-feature-strip { flex-wrap: wrap; row-gap: 24px; }
    .gw-discover { flex-basis: 100%; }
    .gw-orbit-one { left: calc(50% - 310px); top: 320px; }
    .gw-orbit-two { left: calc(50% - 380px); top: 250px; }
    .gw-orbit-three { left: calc(50% - 450px); top: 180px; }
    .gw-glow { left: 20%; }
    .gw-story { padding: 40px 28px; }
}
@media (max-width: 600px) {
    .gw-header { padding: 16px 16px 0; }
    .gw-nav { padding: 0 12px; gap: 10px; }
    .gw-brand-text strong { font-size: 15px; line-height: 22px; }
    .gw-brand-text small { font-size: 8px; letter-spacing: 2px; }
    .gw-page .gw-brand { gap: 8px; }
    .gw-page .gw-nav-signup { padding: 0 12px; font-size: 12px; gap: 4px; }
    .gw-nav-signup .gw-icon { width: 13px; height: 13px; }
    .gw-menu-toggle { width: 34px; height: 36px; flex: 0 0 34px; }
    .gw-main { padding: 28px 16px; }
    .gw-galaxy-top, .gw-auth-panel { padding: 24px; }
    .gw-auth-panel { gap: 20px; }
    .gw-galaxy-header { flex-direction: column; align-items: flex-start; gap: 12px; }
    .gw-panel-title > p { font-size: 8px; line-height: 12px; letter-spacing: 2px; }
    .gw-panel-title h1, .gw-panel-title h2 { font-size: 24px; line-height: 35px; }
    .gw-console-header { min-height: 53px; }
    .gw-rocket { width: 38px; height: 38px; flex-basis: 38px; }
    .gw-server-card { padding: 14px 12px; gap: 10px; }
    .gw-server-info strong { font-size: 13px; }
    .gw-server-state { padding: 4px 7px; font-size: 10px; gap: 4px; }
    .gw-server-state i { width: 4px; height: 4px; }
    .gw-page .gw-input input { font-size: 16px; }
    .gw-console-footer { flex-direction: column; align-items: center; gap: 12px; }
    .gw-news { padding: 24px; }
    .gw-news h2 { font-size: 14px; gap: 8px; }
    .gw-news h2 small { font-size: 9px; letter-spacing: 0; }
    .gw-news-preview p { font-size: 12px; gap: 10px; }
    .gw-feature-strip { margin: 0 16px 28px; gap: 22px; }
    .gw-feature { flex: 0 0 100%; }
    .gw-story { padding: 32px 20px; }
    .gw-background { transform: none; }
}
@media (max-width: 359px) {
    .gw-page .gw-nav-signup { padding: 0 8px; }
    .gw-nav-signup .gw-icon { display: none; }
    .gw-galaxy-top, .gw-auth-panel, .gw-news { padding-left: 18px; padding-right: 18px; }
    .gw-server-card { gap: 8px; }
    .gw-server-state i { display: none; }
    .gw-news h2 small { display: none; }
}
@media (prefers-reduced-motion: reduce) {
    .gw-page *, .gw-page *::before, .gw-page *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
    .gw-background { transform: none; }
    .gw-scan { opacity: .7; }
}
