    .skip-link { position: absolute; left: -9999px; top: 8px; z-index: 10000; background: #111218; color: #fff; padding: 10px 16px; border-radius: 0 6px 6px 0; font-weight: 700; text-decoration: none; }
    .skip-link:focus { left: 0; }
    main { display: block; }
    /* Self-hosted fonts (moved off the Google Fonts CDN: no third-party origins, no external
       render-blocking CSS). Same woff2 subsets Google served, same unicode-range splitting, so
       each page only downloads the scripts it renders (cyrillic covers /ru). Inter is the
       variable file (one file serves weights 400-700); Poppins is static per weight. */
    @font-face { font-family: 'Inter'; font-style: normal; font-weight: 400 700; font-display: swap; src: url('../fonts/inter-var-latin.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
    @font-face { font-family: 'Inter'; font-style: normal; font-weight: 400 700; font-display: swap; src: url('../fonts/inter-var-latin-ext.woff2') format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
    @font-face { font-family: 'Inter'; font-style: normal; font-weight: 400 700; font-display: swap; src: url('../fonts/inter-var-cyrillic.woff2') format('woff2'); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
    @font-face { font-family: 'Poppins'; font-style: normal; font-weight: 500; font-display: swap; src: url('../fonts/poppins-500-latin.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
    @font-face { font-family: 'Poppins'; font-style: normal; font-weight: 500; font-display: swap; src: url('../fonts/poppins-500-latin-ext.woff2') format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
    @font-face { font-family: 'Poppins'; font-style: normal; font-weight: 600; font-display: swap; src: url('../fonts/poppins-600-latin.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
    @font-face { font-family: 'Poppins'; font-style: normal; font-weight: 600; font-display: swap; src: url('../fonts/poppins-600-latin-ext.woff2') format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
    @font-face { font-family: 'Poppins'; font-style: normal; font-weight: 700; font-display: swap; src: url('../fonts/poppins-700-latin.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
    @font-face { font-family: 'Poppins'; font-style: normal; font-weight: 700; font-display: swap; src: url('../fonts/poppins-700-latin-ext.woff2') format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
    :root {
      --tl-header-bg: rgba(0, 0, 0, .75);
      --tl-page: #111218;
      --tl-surface: #1b1c22;
      --tl-surface-2: #15161b;
      --tl-surface-hover: #232430;
      --tl-border: #2a2b33;
      --tl-border-strong: #3a3b45;
      --tl-accent: #7a5ba6;
      --tl-accent-hover: #9472c0;
      --tl-text: #d6d7db;
      --tl-text-strong: #ededf0;
      --tl-text-dim: #8a8c93;
      --tl-soc-mark: #c4c5ca;
      --tl-soc-hover: #cba3f7;

      --primary: var(--tl-accent);
      --primary-hover: var(--tl-accent-hover);
      --primary-glow: rgba(122, 91, 166, 0.40);
      --gold: #e0ad4e;
      --gold-soft: #e9d3a6;
      --radius: 0px;
      --maxw: 1200px;
      --topbar-h: 34px;
      --header-h: 56px;
      --nav-h: 44px;
      --row1-h: 50px;
      --font-sans: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "Helvetica Neue", Arial, sans-serif;
      --font-display: 'Poppins', 'Inter', system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
    }

    html[data-theme="dark"] {
      --overlay-color: #05040a;
      --overlay-opacity: 0.55;
      --bg: var(--tl-page);
      --surface: var(--tl-surface);
      --surface-solid: var(--tl-surface);
      --border: var(--tl-border);
      --border-strong: var(--tl-border-strong);
      --text: var(--tl-text);
      --heading: var(--tl-text-strong);
      --muted: var(--tl-text-dim);
      --label: #c4c6cc;
      --field-bg: #16171b;
      --field-border: #2f3138;
      --footer-bg: #0c0d10;
      --row-alt: rgba(255,255,255,0.03);
      --card-shadow: rgb(0 0 0 / 38%) 0 10px 24px 0, rgb(0 0 0 / 22%) 0 2px 4px 0;
      --sec-news-bg: linear-gradient(180deg, #14151b 0%, #101116 100%);
      --sec-rank-bg: linear-gradient(180deg, #101116 0%, #17131f 100%);
    }
    html[data-theme="light"] {
      --overlay-color: #e9eaee;
      --overlay-opacity: 0.90;
      --bg: #ededed;
      --surface: #ffffff;
      --surface-solid: #ffffff;
      --border: #dce1e0;
      --border-strong: #cfd5d4;
      --text: #2b2e2d;
      --heading: #181b1a;
      --muted: #6a716f;
      --label: #3a3a3d;
      --field-bg: #ffffff;
      --field-border: #cfd5d4;
      --footer-bg: #0c0d10;
      --row-alt: rgba(0,0,0,0.025);
      --card-shadow: 0 1px 3px rgba(0,0,0,.06), 0 8px 22px rgba(0,0,0,.08);
      --sec-news-bg: linear-gradient(180deg, #f4f6f5 0%, #eceef2 100%);
      --sec-rank-bg: linear-gradient(180deg, #eceef2 0%, #e5e7ec 100%);
    }

    * { box-sizing: border-box; margin: 0; padding: 0; }
    html, body { min-height: 100%; overscroll-behavior: none; overflow-x: clip; }
    body {
      font-family: var(--font-sans);
      color: var(--text);
      display: flex; flex-direction: column; min-height: 100vh; position: relative;
      -webkit-font-smoothing: antialiased;
    }
    body::before { content: ''; position: fixed; inset: 0; z-index: 0; background-color: var(--overlay-color); opacity: var(--overlay-opacity); }
    a { color: inherit; text-decoration: none; }
    img { max-width: 100%; display: block; }
    .container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 20px; }
    ::selection { background: rgba(122,91,166,.4); color: #fff; }

    .topbar { position: relative; z-index: 51; background: #08090b; border-bottom: 1px solid rgba(255,255,255,0.06); height: var(--topbar-h); font-size: 12.5px; }
    .topbar-inner { width: 100%; padding: 0 32px; height: 100%; display: flex; align-items: center; justify-content: flex-end; gap: 16px; }
    .topbar-links { display: flex; align-items: center; gap: 2px; }
    .topbar-links a { display: inline-flex; align-items: center; gap: 6px; color: #b9bbc0; padding: 5px 10px; transition: color .15s, background .15s; }
    .topbar-links a:hover { color: #fff; background: rgba(255,255,255,0.05); }
    .topbar-links a svg { width: 14px; height: 14px; fill: currentColor; }
    .topbar-links a.tl-discord:hover { color: #8f9bff; }
    .topbar-links a.tl-wa:hover { color: #25d366; }
    .uptime { display: inline-flex; align-items: center; gap: 8px; color: var(--tl-text); white-space: nowrap; }
    .uptime .pulse { width: 8px; height: 8px; border-radius: 50%; background: #35c46a; animation: pulse 2s infinite; }
    .uptime b { color: var(--gold); font-weight: 700; }
    .subbar { background: #201a27; height: 40px; position: relative; z-index: 3; }
    .subbar-inner { max-width: var(--maxw); margin: 0 auto; height: 100%; padding: 0 24px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
    .subbar-left { display: flex; align-items: center; gap: 20px; }
    .subbar .uptime { font-size: 12.5px; }
    .sb-online { font-size: 12.5px; color: var(--tl-text); white-space: nowrap; }
    .sb-online b { color: var(--gold); font-weight: 700; }
    .tlNavSocial { display: flex; align-items: center; gap: 2px; }
    .tlNavSocial a { display: inline-flex; align-items: center; justify-content: center; width: 30px; height: 30px; border: 0; color: var(--tl-soc-mark); transition: color .18s; }
    .tlNavSocial a:hover { color: var(--tl-soc-hover); }
    .tlNavSocial svg { width: 17px; height: 17px; fill: currentColor; }
    @media (max-width: 560px) { .subbar-inner { padding: 0 14px; } .tlNavSocial a { width: 26px; } }
    @keyframes pulse { 0%{box-shadow:0 0 0 0 rgba(53,196,106,0.5)} 70%{box-shadow:0 0 0 7px rgba(53,196,106,0)} 100%{box-shadow:0 0 0 0 rgba(53,196,106,0)} }
    .topbar-right { display: flex; align-items: center; gap: 14px; }
    .topbar .lang-btn { color: #b9bbc0; font-size: 12.5px; padding: 0; gap: 5px; }
    .topbar .lang-btn:hover { color: #fff; }
    .topbar .lang-globe { width: 15px; height: 15px; }
    .topbar .lang-caret { width: 8px; height: 8px; }
    .topbar .lang-menu { top: calc(100% + 8px); }
    .topbar .theme-switch { width: 26px; height: 26px; --size: 15px; fill: #b9bbc0; }
    .topbar .theme-switch:hover { fill: #fff; }

    .site-header { position: sticky; top: 0; z-index: 50; background: var(--tl-header-bg); transition: background .25s ease, box-shadow .25s ease; }
    .site-header.scrolled { background: transparent; box-shadow: 0 6px 20px rgba(0,0,0,.45); }
    .site-header.scrolled .hdr-row1 { background: #13131a; }
    .site-header.scrolled .header-nav { background: #13131a; }

    .brand { display: flex; align-items: center; flex-shrink: 0; margin-left: -4px; }
    .brand .brand-logo { height: 34px; width: auto; display: block; }
    .brand .brand-text { font-family: var(--font-display); font-weight: 700; font-size: 23px; letter-spacing: 2px; color: var(--gold); text-transform: uppercase; }

    .lang-dd { position: relative; }
    .lang-btn { display: flex; align-items: center; gap: 7px; background: transparent; border: 0; color: var(--tl-text); padding: 6px 4px; cursor: pointer; font-size: 14px; font-family: inherit; }
    .lang-btn img { width: 20px; height: 14px; object-fit: cover; }
    .lang-btn:hover { color: var(--tl-accent-hover); }
    .lang-caret { width: 9px; height: 9px; fill: currentColor; opacity: .6; }
    .lang-menu { position: absolute; top: calc(100% + 12px); right: 0; min-width: 170px; background: var(--tl-surface); border: 1px solid var(--tl-border); box-shadow: 0 10px 30px rgba(0,0,0,.38); list-style: none; padding: 6px; display: none; z-index: 30; border-radius: 4px; }
    .lang-dd.open .lang-menu { display: block; }
    .lang-menu li { padding: 0; cursor: pointer; color: var(--tl-text); font-size: 14px; border-radius: 4px; }
    .lang-menu li:hover { background: var(--tl-surface-hover); }
    .lang-menu li a { display: flex; align-items: center; gap: 10px; width: 100%; padding: 8px 12px; color: inherit; text-decoration: none; }
    .lang-menu li img { width: 22px; height: 15px; object-fit: cover; flex-shrink: 0; }

    .theme-switch { --size: 19px; display: inline-flex; align-items: center; justify-content: center; position: relative; cursor: pointer; font-size: var(--size); user-select: none; fill: var(--tl-text); width: 34px; height: 34px; background: transparent; border: 0; padding: 0; }
    .theme-switch:hover { fill: var(--tl-accent-hover); }
    .theme-switch .moon { position: absolute; animation: keyframes-fill .5s; }
    .theme-switch .sun { position: absolute; display: none; animation: keyframes-fill .5s; }
    html[data-theme="light"] .theme-switch .moon { display: none; }
    html[data-theme="light"] .theme-switch .sun { display: block; }
    @keyframes keyframes-fill { 0% { transform: rotate(-360deg) scale(0); opacity: 0; } 75% { transform: rotate(25deg); } }

    .auth-links { display: flex; align-items: center; gap: 4px; }
    .auth-links a { color: var(--tl-text); font-size: 14px; padding: 8px 16px; border: 1px solid var(--tl-border-strong); background: var(--tl-surface); transition: color .15s, background .15s, border-color .15s; }
    .auth-links a:hover { color: var(--tl-text-strong); background: var(--tl-surface-hover); border-color: var(--tl-accent); }
    .auth-links a.primary { color: #fff; background: var(--tl-accent); border-color: var(--tl-accent); }
    .auth-links a.primary:hover { background: var(--tl-accent-hover); border-color: var(--tl-accent-hover); }

    .theme-toggle { display: inline-flex; align-items: center; gap: 2px; padding: 3px; border: 1px solid rgba(255,255,255,.16); border-radius: 999px; background: rgba(0,0,0,.30); cursor: pointer; line-height: 0; -webkit-appearance: none; appearance: none; }
    .theme-toggle:hover { border-color: rgba(255,255,255,.32); }
    .theme-toggle .tt-seg { display: inline-flex; align-items: center; justify-content: center; width: 26px; height: 22px; border-radius: 999px; color: rgba(255,255,255,.5); transition: background-color .18s ease, color .18s ease; }
    .theme-toggle .tt-seg svg { width: 14px; height: 14px; display: block; fill: currentColor; }
    html[data-theme="light"] .theme-toggle .tt-day { background: rgba(255,255,255,.92); color: #c8922b; }
    html[data-theme="dark"] .theme-toggle .tt-night { background: var(--tl-accent); color: #fff; }
    .lang-btn .lang-flag { width: 20px; height: 14px; object-fit: cover; display: block; }
    .lang-btn .lang-label { font-size: 14px; }

    .hdr-row1 { border-bottom: 1px solid rgba(255,255,255,0.08); }
    .hdr-row1-inner { width: 100%; padding: 0 24px; height: var(--row1-h); display: flex; align-items: center; justify-content: space-between; gap: 16px; }
    .hdr-left { display: flex; align-items: center; gap: 25px; }
    .hdr-tools { display: flex; align-items: center; gap: 14px; }
    .hdr-link { display: inline-flex; align-items: center; height: var(--row1-h); padding: 0 12px; color: var(--tl-text); font-size: 14px; font-weight: 500; white-space: nowrap; transition: color .15s, background .15s, box-shadow .15s; }
    .hdr-link:hover { color: var(--tl-accent-hover); background: rgba(255,255,255,0.06); }
    .hdr-tools .lang-btn { height: var(--row1-h); padding: 0 12px; gap: 8px; transition: color .15s, background .15s; }
    .hdr-tools .lang-btn:hover, .hdr-tools .lang-dd.open .lang-btn { color: var(--tl-accent-hover); background: rgba(255,255,255,0.06); }
    .hdr-search { display: inline-flex; align-items: center; justify-content: center; width: 34px; height: 34px; background: transparent; border: 0; color: var(--tl-text); cursor: pointer; transition: color .15s; }
    .hdr-search:hover { color: var(--tl-accent-hover); }
    .hdr-search svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; }

    .header-nav { position: relative; border-bottom: 1px solid var(--tl-accent); background: rgba(255,255,255,0.015); }
    .header-nav-inner { width: 100%; padding: 0 24px; height: var(--nav-h); display: flex; align-items: stretch; gap: 26px; }
    .nav-collapse { flex: 1; display: flex; align-items: stretch; }
    .main-nav { display: flex; align-items: stretch; margin-left: -23px; }
    .main-nav > a, .main-nav .mn-link { position: relative; display: flex; align-items: center; padding: 0 15px; color: #ffffff; font-size: 14px; font-weight: 500; background: transparent; border: 0; font-family: inherit; transition: color .15s, background .15s; }
    .main-nav > a:hover, .main-nav > a.active,
    .main-nav .mn-item:hover .mn-link, .main-nav .mn-item.active .mn-link, .main-nav .mn-item.mn-open .mn-link {
      background: rgba(255,255,255,0.06); color: var(--tl-accent-hover); box-shadow: inset 0 -2px 0 0 var(--tl-accent);
    }
    .main-nav .mn-item { position: relative; display: flex; align-items: stretch; }
    .main-nav .mn-link { gap: 5px; cursor: pointer; }
    .main-nav .mn-link .mn-caret { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; }
    .main-nav .mn-sub { position: absolute; top: 100%; left: 0; min-width: 130px; background: var(--tl-surface); border: 1px solid var(--tl-border); box-shadow: 0 10px 30px rgba(0,0,0,.38); list-style: none; margin: 0; padding: 5px 0; display: none; z-index: 40; }
    .main-nav .mn-item:hover .mn-sub, .main-nav .mn-item.mn-open .mn-sub { display: block; }
    .main-nav .mn-sub li a { display: block; height: 50px; padding: 14px 20px; color: var(--tl-text); white-space: nowrap; font-size: 15px; }
    .main-nav .mn-sub li a:hover { background: var(--tl-surface-hover); color: var(--tl-accent-hover); }

    .nav-toggle { display: block; position: relative; cursor: pointer; width: 23px; height: 13px; flex-shrink: 0; margin-left: 6px; background: transparent; border: 0; padding: 0; overflow: visible; }
    .nav-toggle span { position: absolute; left: 0; width: 21px; height: 3px; background: #f1faee; border-radius: 100px; display: inline-block; transition: .3s ease; }
    .nav-toggle span.top { top: -2px; }
    .nav-toggle span.middle { top: 4.9px; }
    .nav-toggle span.bottom { bottom: -0.9px; }
    .tl-drawer-open .nav-toggle span.top { transform: rotate(45deg); transform-origin: top left; width: 23px; left: 3px; }
    .tl-drawer-open .nav-toggle span.bottom { transform: rotate(-45deg); transform-origin: top left; width: 23px; bottom: -1px; box-shadow: 0 0 6px #495057; }
    .tl-drawer-open .nav-toggle span.middle { transform: translateX(-10px); opacity: 0; }

    .tl-drawer-backdrop { position: fixed; inset: 0; background: rgba(0,0,0,.55); opacity: 0; visibility: hidden; transition: opacity .2s ease, visibility 0s linear .2s; z-index: 455; }
    .tl-drawer-open .tl-drawer-backdrop { opacity: 1; visibility: visible; transition: opacity .2s ease; }
    .tl-drawer-panel { position: fixed; top: 0; bottom: 0; left: 0; width: 340px; max-width: 85vw; background: var(--tl-page); box-shadow: 0 12px 40px rgba(0,0,0,.55); transform: translateX(-100%); transition: transform .24s ease; z-index: 460; display: flex; flex-direction: column; overflow: hidden; }
    .tl-drawer-open .tl-drawer-panel { transform: translateX(0); }
    .tl-drawer-header { flex: 0 0 auto; height: 56px; background: var(--tl-accent); position: relative; display: flex; align-items: center; justify-content: center; }
    .tl-drawer-header img { height: 26px; width: auto; display: block; }
    .tl-drawer-close { position: absolute; left: 25px; top: 50%; transform: translate(-5px, calc(-50% + 10px)) !important; display: grid; place-items: center; width: 32px; height: 32px; border: 0; background: none; font-size: 0; color: transparent; cursor: pointer; }
    .tl-drawer-close::before, .tl-drawer-close::after { content: ""; grid-area: 1 / 1; width: 21px; height: 3px; border-radius: 100px; background: #f1faee; }
    .tl-drawer-close::before { transform: rotate(45deg); }
    .tl-drawer-close::after { transform: rotate(-45deg); }
    .tl-drawer-close:hover { opacity: .8; }
    .tl-drawer-body { flex: 1 1 auto; overflow-y: auto; }
    .drawer-menu { list-style: none; margin: 0; padding: 0; }
    .drawer-menu > li { border-bottom: 1px solid var(--tl-border); }
    .drawer-menu > li > a, .drawer-menu .dm-label { display: block; min-height: 50px; padding: 14px 20px; color: #fff; font-size: 15px; box-sizing: border-box; white-space: nowrap; }
    .drawer-menu > li > a:hover, .drawer-menu > li.active > a { background: var(--tl-surface-hover); color: var(--tl-accent-hover); }
    .drawer-menu .dm-label { display: flex; align-items: center; justify-content: flex-start; gap: 8px; width: 100%; background: none; border: 0; text-align: left; font-family: inherit; cursor: pointer; }
    .drawer-menu .dm-label:hover { background: var(--tl-surface-hover); color: var(--tl-accent-hover); }
    .drawer-menu .dm-caret { width: 18px; height: 18px; flex: 0 0 auto; stroke-width: 2; transition: transform .22s ease; }
    .drawer-menu > li.dm-group.open > .dm-label .dm-caret { transform: rotate(180deg); }
    .drawer-menu .dm-sub { list-style: none; margin: 0; padding: 0; max-height: 0; overflow: hidden; transition: max-height .26s ease; }
    .drawer-menu > li.dm-group.open > .dm-sub { max-height: 640px; }
    .drawer-menu .dm-sub > li > a { display: block; height: 50px; padding: 14px 20px; color: #fff; font-size: 15px; }
    .drawer-menu .dm-sub > li > a:hover { background: var(--tl-surface-hover); color: var(--tl-accent-hover); }
    .btn-download-img { display: inline-flex; align-items: center; margin-left: auto; margin-right: -24px; transition: filter .15s, transform .05s; position: relative; overflow: hidden; isolation: isolate; }
    .btn-download-img img { height: 44px; width: auto; display: block; }
    .btn-download-img:hover { filter: brightness(1.08); }
    .btn-download-img:active { transform: translateY(1px); }
    .btn-download-img::before {
      content: ""; position: absolute; top: -10%; bottom: -10%; left: -75%; width: 50%;
      background: linear-gradient(100deg, rgba(255,255,255,0) 0%, rgba(255,255,255,.55) 50%, rgba(255,255,255,0) 100%);
      transform: skewX(-18deg); pointer-events: none;
      animation: tlDownloadShine 3.4s ease-in-out infinite;
    }
    @keyframes tlDownloadShine { 0% { left: -75%; } 50% { left: 130%; } 100% { left: 130%; } }
    @media (prefers-reduced-motion: reduce) { .btn-download-img::before { animation: none; } }

    .hero { position: relative; z-index: 1; overflow: hidden; margin-top: calc(-1 * (var(--row1-h) + var(--nav-h) + 2px)); }
    .hero-bgs { position: absolute; inset: 0; z-index: 0; }
    .hero-bg { position: absolute; inset: 0; background-size: cover; background-position: center 30%; opacity: 0; transition: opacity .8s ease; }
    .hero-bg.is-active { opacity: 1; }
    .hero-inner { position: relative; z-index: 2; max-width: var(--maxw); margin: 0 auto; padding: 132px 20px 116px; }
    .hero-left { max-width: 620px; }
    .hero-kicker { display:inline-block; color: var(--gold-soft); font-size: 13px; letter-spacing: 3px; text-transform: uppercase; margin-bottom: 14px; }
    .hero-title { font-weight: 700; color: #fff; font-size: 35px; line-height: 1.05; letter-spacing: 2px; text-shadow: 0 3px 14px rgba(0,0,0,0.7); font-synthesis: none; }
    .hero-sub { color: #e7e5ee; font-size: 16px; margin: 14px 0 0; max-width: 560px; line-height: 1.6; text-shadow: 0 2px 10px rgba(0,0,0,0.6); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
    .hero-cta { display: flex; gap: 12px; flex-wrap: wrap; }
    .btn-hero { display: inline-flex; align-items: center; gap: 10px; padding: 13px 26px; font-size: 14.5px; font-weight: 700; text-transform: uppercase; letter-spacing: .5px; border: 1px solid rgba(255,255,255,0.14); transition: filter .15s, transform .05s; }
    .btn-hero.primary { color: #fff; background: #7a5ba6; }
    .btn-hero.ghost { color: #fff; background: rgba(0,0,0,0.38); backdrop-filter: blur(4px); }
    .btn-hero:hover { filter: brightness(1.10); }
    .btn-hero svg { width: 17px; height: 17px; fill: currentColor; }
    .btn-hero.eye { padding: 13px; }
    .btn-hero.eye svg { width: 19px; height: 19px; }
    .hero-preview-btn { display: none; }
    .hero-preview-btn.is-shown { display: inline-flex; }
    .hero-detail-link { display: inline-flex; align-items: center; gap: 7px; margin-top: 16px; color: var(--gold-soft); font-size: 13.5px; font-weight: 600; letter-spacing: .3px; text-shadow: 0 2px 8px rgba(0,0,0,.6); }
    .hero-detail-link svg { width: 15px; height: 15px; fill: none; stroke: currentColor; transition: transform .15s; }
    .hero-detail-link:hover { color: #fff; }
    .hero-detail-link:hover svg { transform: translateX(3px); }
    .hero-stats { display: flex; gap: 26px; margin-top: 30px; }
    .hero-stats .hs { display: flex; flex-direction: column; }
    .hero-stats .hs b { font-family: var(--font-display); font-size: 28px; font-weight: 700; color: var(--gold); line-height: 1; text-shadow: 0 2px 12px rgba(0,0,0,.6); }
    .hero-stats .hs span { font-size: 11.5px; text-transform: uppercase; letter-spacing: 1px; color: #d9d7e2; margin-top: 6px; }
    .hero-stats .hs-sep { width: 1px; background: rgba(255,255,255,0.18); }

    .hero-slider { position: relative; }
    .hero-text { position: relative; min-height: 172px; }
    .hero-slide { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: flex-start; opacity: 0; visibility: hidden; transform: translateY(10px); transition: opacity .55s ease, transform .55s ease, visibility .55s; pointer-events: none; }
    .hero-slide.is-active { opacity: 1; visibility: visible; transform: none; pointer-events: auto; }
    .hero-fixed { position: relative; z-index: 2; }
    .hero-pagination { position: absolute; left: 50%; transform: translateX(-50%); bottom: 0; width: 100%; max-width: var(--maxw); padding: 0 20px; z-index: 3; font-family: "Noto Sans","Noto Sans KR",-apple-system,BlinkMacSystemFont,Roboto,Arial,sans-serif; }
    .hp-page-no { color: #fff; font-size: 14px; margin-bottom: 13px; letter-spacing: .5px; padding-left: 2px; }
    .hp-page-no .hp-current { color: #fff; font-weight: 500; }
    .hp-page-no .hp-divider, .hp-page-no .hp-total { color: rgba(255,255,255,0.5); }
    .hp-nav { position: relative; display: flex; align-items: stretch; }
    .hp-nav::before { content: ''; position: absolute; z-index: -1; top: 0; bottom: 0; left: 50%; transform: translateX(-50%); width: 100vw; border-top: 1px solid rgba(255,255,255,0.12); background: linear-gradient(to right, rgb(0 0 0 / 30%) 0%, rgb(0 0 0 / 70%) 50%, rgb(0 0 0 / 30%) 100%); pointer-events: none; }
    .hp-arrow { flex: 0 0 auto; width: 44px; background: transparent; border: 0; color: rgb(244 214 164); cursor: pointer; display: flex; align-items: center; justify-content: center; transition: color .18s; }
    .hp-arrow:hover { color: #ffeccb; }
    .hp-arrow svg { width: 35px; height: 35px; }
    .hp-tabs { list-style: none; margin: 0; padding: 0; display: flex; flex: 1; min-width: 0; overflow-x: auto; overflow-y: hidden; scroll-behavior: smooth; scrollbar-width: none; -ms-overflow-style: none; font-family: var(--font-display); }
    .hp-tabs::-webkit-scrollbar { display: none; }
    .hp-tabs li { flex: 1 0 auto; }
    .hp-tabs li a { position: relative; display: block; height: 57px; line-height: 57px; padding: 0 16px; border-top: 1px solid transparent; color: rgba(255,255,255,.72); font-size: 15px; font-weight: 400; letter-spacing: 2px; text-transform: uppercase; text-align: center; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; text-decoration: none; transition: color .18s; }
    .hp-tabs li a:hover { color: #fff; }
    .hp-tabs li.active a { color: #ffe0ac; border-top-color: #c69c7c; }
    .hp-tabs li.active a::before { content: ''; position: absolute; top: -1px; left: 0; right: 0; height: 1px; background: #c69c7c; }

    .hero-right { align-self: center; }
    .login-card { background: var(--surface); border: 1px solid var(--border); box-shadow: var(--card-shadow); backdrop-filter: blur(6px); }
    .login-card .lc-head { padding: 15px 20px; border-bottom: 1px solid var(--border); display: flex; align-items: center; gap: 10px; }
    .login-card .lc-head .accent { width: 3px; height: 18px; background: var(--gold); }
    .login-card .lc-head h2 { font-size: 15px; font-weight: 700; color: var(--heading); text-transform: uppercase; letter-spacing: .5px; }
    .login-card .lc-body { padding: 18px 20px; }
    .field { margin-bottom: 13px; }
    .field label { display: block; font-size: 12.5px; font-weight: 600; color: var(--label); margin-bottom: 6px; }
    .field input { width: 100%; font-size: 14px; padding: 11px 13px; color: var(--text); background: var(--field-bg); border: 1px solid var(--field-border); font-family: inherit; transition: border-color .15s, box-shadow .15s; }
    .field input::placeholder { color: var(--muted); opacity: .8; }
    .field input:focus { outline: none; border-color: var(--primary); box-shadow: inset 0 0 0 1px var(--primary-glow); }
    .btn-block { width: 100%; border: 0; border-radius: var(--radius); padding: 12px 16px; cursor: pointer; background: var(--primary); color: #fff; font-size: 14px; font-weight: 700; font-family: inherit; text-transform: uppercase; letter-spacing: .5px; transition: background .15s; text-align: center; display:block; }
    .btn-block:hover { background: var(--primary-hover); }
    .btn-block.gold { background: linear-gradient(135deg,#e0ad4e,#c68f2f); color:#2a1e05; }
    .btn-block.gold:hover { filter: brightness(1.06); }
    .btn-block.ghost { background: transparent; border: 1px solid var(--field-border); color: var(--text); }
    .btn-block + .btn-block { margin-top: 9px; }
    .form-links { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 6px; margin: 4px 0 12px; }
    .form-links a { color: var(--muted); font-size: 12px; }
    .form-links a:hover { color: var(--primary); }
    .captcha-box { transform: scale(0.90); transform-origin: 0 0; height: 70px; margin-bottom: 6px; }

    .stats-bar { position: relative; z-index: 1; padding: 44px 0; background: linear-gradient(180deg, #14141d 0%, #15151e 100%); border-bottom: 1px solid var(--border); }
    html[data-theme="light"] .stats-bar { background: linear-gradient(180deg, #eceef2 0%, #ebeef2 100%); }
    .sb-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 40px; align-items: start; }
    @media (max-width: 900px) { .sb-grid { grid-template-columns: 1fr; gap: 30px; } }
    .sb-head { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
    .sb-head .sbh-ic { width: 22px; height: 22px; color: var(--tl-accent); flex-shrink: 0; }
    .sb-head .sbh-tx { font-family: var(--font-display); font-size: 18px; font-weight: 400; color: var(--heading); white-space: nowrap; }
    .sb-head .sbh-line { flex: 1; height: 1px; background: linear-gradient(90deg, #c59c7c, transparent); }
    html[data-theme="light"] .sb-head .sbh-line { background: linear-gradient(90deg, #c29d59, transparent); }
    .empires { display: grid; grid-template-columns: repeat(2, 1fr); overflow: hidden; }
    .emp-card { position: relative; display: flex; align-items: center; gap: 13px; padding: 0px 16px; min-height: 118px; overflow: hidden; }
    .emp-card + .emp-card { box-shadow: inset 1px 0 0 rgba(0,0,0,.22); }
    .emp-card.e1 { background: linear-gradient(90deg, rgb(166 50 43 / 5%) 0%, rgb(94 7 4 / 35%) 100%), url('../images/000_00.webp') center center / cover no-repeat; }
    .emp-card.e2 { background: linear-gradient(90deg, rgb(200 160 63 / 5%) 0%, rgb(120 85 20 / 35%) 100%), url('../images/111_11.webp') center center / cover no-repeat; }
    .emp-card.e3 { background: linear-gradient(90deg, rgb(63 108 176 / 5%) 0%, rgb(25 50 95 / 35%) 100%), url('../images/222_22.webp') center center / cover no-repeat; }
    .emp-emblem { width: 43px; height: 153px; background: rgb(7 8 9 / 64%); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
    .emp-emblem img { height: 18px; width: auto; display: block; border-radius: 2px; }
    .emp-meta { display: flex; flex-direction: column; min-width: 0; }
    .emp-name { font-size: 11.5px; font-weight: 600; letter-spacing: 1px; text-transform: uppercase; color: rgba(255,255,255,.85); }
    .emp-num { font-family: var(--font-display); font-size: 20px; font-weight: 700; color: #fff; line-height: 1.2; margin-top: 2px; text-shadow: 0 1px 4px rgba(0,0,0,.35); }
    .events-grid { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid rgba(224,173,78,.40); border-left: 1px solid rgba(224,173,78,.40); }
    .event-card { position: relative; display: flex; align-items: center; gap: 14px; padding: 14px 16px; background: var(--surface); border: 0; border-right: 1px solid rgba(224,173,78,.40); border-bottom: 1px solid rgba(224,173,78,.40); transition: box-shadow .15s, transform .15s, background .15s; }
    .event-card:hover { box-shadow: inset 0 0 0 1px rgba(242,207,125,.55); z-index: 1; }
    .ev-ic { width: 48px; height: 48px; border-radius: 50%; border: 1px solid rgba(224,173,78,.55); display: flex; align-items: center; justify-content: center; color: var(--gold); flex-shrink: 0; }
    .ev-ic svg { width: 22px; height: 22px; }
    .ev-tx { font-size: 13.5px; font-weight: 600; color: var(--heading); line-height: 1.3; }
    @media (max-width: 480px) { .events-grid { grid-template-columns: 1fr; } .empires { grid-template-columns: 1fr; } .emp-card { min-height: 0; } }

    .section { position: relative; z-index: 1; padding: 56px 0; }
    .section.news { position: relative; 
    background: #101116 center center / cover no-repeat;
    border-bottom: 1px solid var(--border); }
    .section.news::before { content: ''; position: absolute; inset: 0; z-index: 0; background: var(--sec-news-bg); opacity: 0.90; pointer-events: none; }
    .section.news > .container { position: relative; z-index: 1; }
    .section.ranking { position: relative; padding-bottom: calc(5.625vw + 34px); background: #17131f url('../images/background-drago-3.webp') center center / cover no-repeat; border-bottom: 1px solid var(--border); }
    .section.ranking::before { content: ''; position: absolute; inset: 0; z-index: 0; background: var(--sec-rank-bg); opacity: 0.95; pointer-events: none; }
    .section.ranking > .container { position: relative; z-index: 1; }
    .section-head { text-align: left; margin-bottom: 34px; }
    .section-head .eyebrow { display:inline-block; color: var(--primary); font-size: 12px; letter-spacing: 3px; text-transform: uppercase; margin-bottom: 0px; }
    .section-head h2 { display: flex; align-items: center; gap: 10px; font-family: var(--font-display); font-size: 32px; font-weight: 500; color: #d6d7db; }
    html[data-theme="light"] .section-head h2 { color: #392f48; }
    .section-head h2 .head-ico { width: 26px; height: 26px; flex-shrink: 0; color: var(--primary); }
    .section-head h2 .head-ico svg { width: 100%; height: 100%; display: block; }
    .section-head h2 .rank-head-ic { height: 26px; aspect-ratio: 81 / 59; display: block; flex-shrink: 0; background-color: #e5cfbb; -webkit-mask: url('../images/icon-guilds.svg') center/contain no-repeat; mask: url('../images/icon-guilds.svg') center/contain no-repeat; }
    html[data-theme="light"] .section-head h2 .rank-head-ic { background-color: #382f48; }
    .section-head h2 .news-head-ic { width: 26px; height: 26px; display: block; flex-shrink: 0; background-color: #e5cfbb; -webkit-mask: url('../images/annocument.svg') center/contain no-repeat; mask: url('../images/annocument.svg') center/contain no-repeat; }
    html[data-theme="light"] .section-head h2 .news-head-ic { background-color: #382f48; }
    .section-head .bar { width: 210px; height: 2px; background: var(--gold); margin: 0px 0 0; }

    .news-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
    @media (max-width: 1080px) { .news-grid { grid-template-columns: repeat(2, 1fr); } }
    @media (max-width: 560px) { .news-grid { grid-template-columns: 1fr; } }
    .news-card { background: var(--surface); border: 1px solid var(--border); border-radius: 3px; overflow: hidden; box-shadow: var(--card-shadow); display: flex; flex-direction: column; transition: transform .15s, border-color .15s; }
    .news-card:hover { transform: translateY(-4px); border-color: var(--tl-accent); }
    .news-card .nc-media { height: 120px; border-radius: 3px 3px 0px 0px; background: linear-gradient(135deg,#3a2c55,#241a38); position: relative; overflow: hidden; }
    .news-card .nc-media-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; display: block; z-index: 0; }
    .news-card .nc-media::after { content:''; position:absolute; inset:0; z-index:1; background: linear-gradient(180deg, transparent 40%, rgba(0,0,0,0.45)); }
    .news-card .nc-tag { position: absolute; top: 12px; left: 12px; z-index: 2; background: var(--gold); color: #2a1e05; font-size: 10.5px; font-weight: 700; text-transform: uppercase; letter-spacing: .5px; padding: 4px 9px; }
    .news-card .nc-body { padding: 14px 15px 15px; display: flex; flex-direction: column; flex: 1; }
    .news-card .nc-date { font-size: 11.5px; color: var(--muted); margin-bottom: 7px; }
    .news-card h3 { font-family: var(--font-display); font-size: 14px; font-weight: 600; margin-bottom: 7px; line-height: 1.25; }
    .news-card h3 a { color: var(--heading); transition: color .15s; }
    .news-card h3 a:hover { color: var(--primary); }
    .news-card p { color: var(--text); font-size: 13px; font-weight: 400; line-height: 1.55; opacity: .9; flex: 1; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
    .news-card .nc-more { display: inline-flex; align-items: center; gap: 6px; margin-top: 14px; color: var(--primary); font-size: 13px; font-weight: 600; }
    .news-card .nc-more:hover { text-decoration: underline; }

    .news-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; flex-wrap: wrap; margin-bottom: 34px; }
    .news-head .section-head { margin-bottom: 0; }
    .news-search { display: flex; align-items: stretch; background: var(--surface); border: 1px solid var(--border); border-radius: 20px; overflow: hidden; }
    .news-search input { border: 0; background: transparent; color: var(--text); font-family: inherit; font-size: 13.5px; padding: 9px 14px; outline: none; width: 230px; max-width: 52vw; }
    .news-search input::placeholder { color: var(--muted); }
    .news-search button { border: 0; background: var(--tl-accent); color: #fff; cursor: pointer; padding: 0 13px; display: inline-flex; align-items: center; justify-content: center; transition: background .15s; }
    .news-search button:hover { background: var(--tl-accent-hover); }
    .news-search button svg { width: 16px; height: 16px; }

    .news-foot { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 16px; margin-top: 30px; }
    .btn-more { display: inline-flex; align-items: center; gap: 9px; padding: 11px 22px; font-size: 13.5px; font-weight: 600; letter-spacing: .3px; color: #fff; border: 1px solid rgba(255,255,255,0.12); transition: filter .15s, transform .05s; }
    html[data-theme="light"] .btn-more { color: #3a3b45; border-color: rgb(58 59 69); }
    .btn-more:hover { filter: brightness(1.10); }
    .btn-more:active { transform: translateY(1px); }
    .btn-more svg { width: 17px; height: 17px; }
    .pagination { display: flex; align-items: center; gap: 6px; }
    .pagination .pg { display: inline-flex; align-items: center; justify-content: center; min-width: 38px; height: 38px; padding: 0 10px; font-size: 14px; font-weight: 600; color: var(--text); background: var(--surface); border: 1px solid var(--border); transition: color .15s, background .15s, border-color .15s; }
    .pagination .pg:hover { color: var(--heading); background: var(--surface-hover, var(--row-alt)); border-color: var(--tl-border-strong); }
    .pagination .pg.is-active { color: #fff; background: var(--tl-accent); border-color: var(--tl-accent); }
    .pagination .pg-nav { min-width: 38px; padding: 0; }
    .pagination .pg-nav svg { width: 17px; height: 17px; }

    .rank-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: start; }
    @media (max-width: 860px) { .rank-grid { grid-template-columns: 1fr; } }
    .rank-wrap { background: var(--surface); border: 1px solid var(--border); box-shadow: var(--card-shadow); border-radius: 1px 1px 0px 0px; }
    .rank-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 20px; background: #644492; border-bottom: 1px solid rgba(255,255,255,0.10); }
    .rank-head-title { display: inline-flex; align-items: center; gap: 9px; margin: 0; font-size: 14px; font-weight: 700; color: #ffffff; text-transform: uppercase; letter-spacing: .5px; }
    .rank-head-title svg { width: 18px; height: 18px; color: #ffe0ac; }
    .rank-head-link { font-size: 12.5px; font-weight: 600; color: rgba(255,255,255,0.72); white-space: nowrap; }
    .rank-head-link:hover { color: #ffffff; text-decoration: underline; }
    .rank-table { width: 100%; border-collapse: collapse; }
    .rank-table thead th { text-align: left; font-size: 11px; text-transform: uppercase; letter-spacing: .5px; color: var(--muted); font-weight: 600; padding: 10px 16px; border-bottom: 1px solid var(--border); white-space: nowrap; }
    .rank-table tbody td { padding: 11px 16px; border-bottom: 1px solid var(--border); font-size: 13.5px; color: var(--text); vertical-align: middle; }
    .rank-table tbody tr:last-child td { border-bottom: 0; }
    .rank-table tbody tr:nth-child(even) { background: var(--row-alt); }
    .rank-table .rt-pos { width: 46px; text-align: center; }
    .rank-table th.rt-pos { text-align: center; }
    .rt-pos .rank-medal { width: 24px; height: 24px; display: inline-block; vertical-align: middle; }
    .rt-pos .rank-num { display: inline-flex; align-items: center; justify-content: center; width: 26px; height: 26px; font-weight: 700; font-size: 13px; color: var(--muted); }
    .rank-table .rt-class { width: 60px; text-align: center; }
    .rt-class .rt-skill { width: 22px; height: 24px; display: inline-block; vertical-align: middle; }
    .rt-name a { color: var(--heading); font-weight: 600; }
    .rt-name a:hover { color: var(--primary); }
    .rt-level { color: var(--muted); white-space: nowrap; }
    .rt-guild { color: var(--tl-accent-hover); }
    .rt-guild .rt-noguild { color: var(--muted); opacity: .8; }
    .rt-score { color: var(--gold-soft); font-weight: 600; white-space: nowrap; }
    .rank-table .rt-emp { width: 52px; text-align: center; }
    .rank-emp-img { height: 15px; width: auto; display: inline-block; vertical-align: middle; }
    .rank-foot { padding: 14px 20px; text-align: center; border-top: 1px solid var(--border); }
    .rank-foot a { color: var(--primary); font-size: 13px; font-weight: 600; }
    .rank-foot a:hover { text-decoration: underline; }

    .section.gallery { position: relative; padding-bottom: 130px; 
    background: #101116 center center / cover no-repeat;
   }
    .section.gallery::before { content: ''; position: absolute; inset: 0; z-index: 0; background: var(--sec-rank-bg); opacity: 0.94; pointer-events: none; }
    .section.gallery > .container { position: relative; z-index: 1; }
    .gallery-slider { position: relative; max-width: 1040px; margin: 0 auto; }
    .gal-stage { position: relative; height: 470px; }
    .gal-item { position: absolute; top: 50%; left: 50%; width: 64%; aspect-ratio: 16 / 9; border-radius: 2px; background-size: cover; background-position: center; box-shadow: 0 16px 40px rgba(0,0,0,.55); overflow: hidden; cursor: pointer; opacity: 0; transform: translate(-50%,-50%); transition: transform .5s cubic-bezier(.22,.61,.36,1), opacity .5s, filter .5s; will-change: transform, opacity; }
    .gal-item.is-active { cursor: zoom-in; }
    .gal-item-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; display: block; }
    .gal-cap { position: absolute; left: 0; right: 0; bottom: 0; padding: 16px 20px; background: linear-gradient(to top, rgba(0,0,0,.82) 0%, rgba(0,0,0,0) 100%); color: #fff; font-family: var(--font-display); font-size: 16px; font-weight: 600; letter-spacing: .3px; opacity: 0; transition: opacity .35s; }
    .gal-item.is-active .gal-cap { opacity: 1; }
    .gal-arrow { position: absolute; top: 50%; transform: translateY(-50%); z-index: 40; width: 50px; height: 50px; border-radius: 50%; background: rgba(10,10,14,.55); border: 1px solid rgba(255,255,255,.18); color: #fff; display: flex; align-items: center; justify-content: center; cursor: pointer; transition: background .18s, color .18s, border-color .18s; }
    .gal-arrow svg { width: 22px; height: 22px; }
    .gal-arrow:hover { background: hsl(264.8deg 18.77% 31.17% / 55%); border-color: var(--primary); color: #fff; }
    .gal-prev { left: -6px; }
    .gal-next { right: -6px; }
    .gal-count { margin-bottom: 22px; text-align: center; font-family: var(--font-display); font-size: 15px; color: var(--muted); letter-spacing: 1px; }
    .gal-count .gal-cur { color: var(--heading); font-weight: 600; }
    @media (max-width: 720px) { .gal-stage { height: 300px; } .gal-item { width: 80%; } .gal-arrow { width: 42px; height: 42px; } }

    .gal-lightbox { position: fixed; inset: 0; z-index: 200; display: none; align-items: center; justify-content: center; padding: 4vh 4vw; }
    .gal-lightbox.open { display: flex; }
    .gal-lb-backdrop { position: absolute; inset: 0; background: rgba(6,6,9,.86); backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px); animation: galFade .2s ease; }
    .gal-lb-panel { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; max-width: 1100px; width: 100%; animation: galPop .25s cubic-bezier(.22,.61,.36,1); }
    .gal-lb-imgwrap { position: relative; display: inline-block; max-width: 100%; line-height: 0; }
    .gal-lb-img { max-width: 100%; max-height: 78vh; object-fit: contain; border-radius: 4px; box-shadow: 0 24px 70px rgba(0,0,0,.6); background: #0c0c10; }
    .gal-lb-close { position: absolute; top: 12px; right: 12px; width: 38px; height: 38px; border-radius: 2px; background: rgba(14,14,18,.62); border: 1px solid rgba(255,255,255,.22); color: #fff; display: flex; align-items: center; justify-content: center; cursor: pointer; transition: background .18s, border-color .18s; }
    .gal-lb-close svg { width: 19px; height: 19px; }
    .gal-lb-close:hover { background: rgba(255,255,255,.14); }
    .gal-lb-bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; width: 100%; margin-top: 16px; }
    .gal-lb-title { font-family: var(--font-display); font-size: 17px; font-weight: 600; color: #fff; text-shadow: 0 1px 6px rgba(0,0,0,.5); }
    .gal-lb-download { display: inline-flex; align-items: center; gap: 8px; padding: 10px 20px; border-radius: 2px; background: transparent; border: 1px solid rgba(255,255,255,.4); color: #f2ead8; font-family: var(--font-display); font-size: 14px; font-weight: 600; transition: border-color .18s, color .18s, background .18s; }
    html[data-theme="light"] .gal-lb-download { border-color: #c29d59; color: #ffe0ac; }
    .gal-lb-download svg { width: 18px; height: 18px; }
    .gal-lb-download:hover { border-color: #fff; color: #fff; background: rgba(255,255,255,.06); }
    html[data-theme="light"] .gal-lb-download:hover { border-color: #ffe0ac; color: #fff; }
    @keyframes galFade { from { opacity: 0; } to { opacity: 1; } }
    @keyframes galPop { from { opacity: 0; transform: scale(.94); } to { opacity: 1; transform: scale(1); } }
    @media (max-width: 620px) { .gal-lb-close { top: -8px; right: -8px; } .gal-lb-bar { flex-direction: column; align-items: stretch; } .gal-lb-download { justify-content: center; } }

    .page-hero { position: relative; z-index: 1; overflow: hidden; margin-top: calc(-1 * (var(--row1-h) + var(--nav-h) + 2px)); background: #14141b url('../images/entry.webp') center center / cover no-repeat; }
    .page-hero::before { content: ''; position: absolute; inset: 0; z-index: 0; background: linear-gradient(180deg, rgba(10,10,14,.72) 0%, rgba(10,10,14,.86) 100%); pointer-events: none; }
    .page-hero-inner { position: relative; z-index: 2; max-width: var(--maxw); margin: 0 auto; padding: calc(var(--row1-h) + var(--nav-h) + 46px) 20px 40px; }
    .page-hero .ph-crumb { display: flex; align-items: center; gap: 8px; font-size: 13px; color: rgba(255,255,255,.6); margin-bottom: 10px; }
    .page-hero .ph-crumb a { color: rgba(255,255,255,.6); transition: color .15s; }
    .page-hero .ph-crumb a:hover { color: #fff; }
    .page-hero .ph-crumb svg { width: 13px; height: 13px; opacity: .6; }
    .page-hero h1 { font-family: var(--font-display); font-size: 34px; font-weight: 600; color: #fff; letter-spacing: .5px; text-shadow: 0 3px 14px rgba(0,0,0,.6); }
    .page-hero .ph-sub { margin-top: 8px; font-size: 15px; color: rgba(255,255,255,.7); max-width: 640px; }

    .page-body { position: relative; z-index: 1; padding: 48px 0 calc(5.625vw + 72px); background: linear-gradient(180deg, #15151d 0%, #121218 100%); border-bottom: 1px solid var(--border); }
    html[data-theme="light"] .page-body { background: linear-gradient(180deg, #eceef2 0%, #e6e8ec 100%); }
    .page-card { background: var(--surface); border: 1px solid var(--border); border-radius: 0; box-shadow: var(--card-shadow); overflow: hidden; }
    .page-card + .page-card { margin-top: 26px; }
    .page-card-head { display: flex; align-items: center; gap: 10px; padding: 16px 22px; border-bottom: 1px solid var(--border); }
    .page-card-head svg { width: 20px; height: 20px; color: var(--primary); flex-shrink: 0; }
    .page-card-head h2 { font-family: var(--font-display); font-size: 18px; font-weight: 600; color: var(--heading); }
    .page-card-body { padding: 22px; }
    .page-note { font-size: 14px; color: var(--muted); line-height: 1.6; text-align: center; padding: 24px 10px; }

    .rd-table { width: 100%; border-collapse: collapse; font-size: 14px; }
    .rd-table thead th { text-align: left; padding: 4px 16px; font-family: var(--font-display); font-size: 12px; font-weight: 500; letter-spacing: 1.6px; text-transform: uppercase; color: var(--muted); border-bottom: 1px solid var(--border); background: var(--row-alt, rgba(0,0,0,.12)); }
    .rb-table thead th { font-weight: 700; }
    .rd-table tbody td { padding: 12px 16px; color: var(--text); border-bottom: 1px solid var(--border); vertical-align: middle; }
    .rd-table tbody tr:last-child td { border-bottom: 0; }
    .rd-table tbody tr:hover td { background: rgba(127,127,140,.06); }
    .rd-table .rd-pos { width: 54px; color: var(--muted); font-weight: 600; }
    .rd-table .rd-name { font-weight: 600; color: var(--heading); }
    .rd-table .rd-name a { color: var(--heading); }
    .rd-table .rd-name a:hover { color: var(--primary); }
    .rd-emp-flag { height: 15px; width: auto; display: inline-block; vertical-align: middle; }
    .rd-skill { height: 22px; width: auto; display: inline-block; vertical-align: middle; }
    .rd-noguild { color: var(--muted); font-style: italic; }
    .rd-medal { height: 22px; width: auto; display: block; }

    .rd-dl { display: inline-flex; align-items: center; gap: 7px; padding: 7px 16px; border-radius: 2px; background: transparent; border: 1px solid rgba(255,255,255,.26); color: #e5cfbb; font-size: 13px; font-weight: 600; font-family: var(--font-display); transition: border-color .15s, color .15s, background .15s; }
    html[data-theme="light"] .rd-dl { border-color: #cbb98f; color: #382f48; }
    .rd-dl svg { width: 15px; height: 15px; }
    .rd-dl:hover { border-color: #e5cfbb; color: #fff; background: rgba(255,255,255,.05); }
    html[data-theme="light"] .rd-dl:hover { border-color: #7a5ba6; color: #7a5ba6; background: rgba(122,91,166,.06); }

    .rank-hero-inner { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
    .rank-type-select { display: flex; flex-direction: row; align-items: center; gap: 10px; }
    .rank-type-select .rts-label { display: inline-flex; align-items: center; color: var(--muted); }
    .rank-type-select .rts-label-ic { width: 28px; height: 28px; display: block; }
    .rts-dd { position: relative; }
    .rts-trigger { display: inline-flex; align-items: center; justify-content: space-between; gap: 10px; min-width: 210px; height: 40px; padding: 0 14px; font-family: var(--font-display); font-size: 14px; font-weight: 600; color: var(--text); background: var(--surface-solid); border: 1px solid var(--border); border-radius: 0; cursor: pointer; transition: border-color .15s; }
    .rts-trigger:hover { border-color: var(--tl-accent); }
    .rts-caret { width: 16px; height: 16px; flex-shrink: 0; transition: transform .2s; }
    .rts-dd.open .rts-caret { transform: rotate(180deg); }
    .rts-menu { position: absolute; top: calc(100% + 6px); left: 0; right: 0; background: var(--surface-solid); border: 1px solid var(--border); box-shadow: var(--card-shadow); border-radius: 0; list-style: none; margin: 0; padding: 5px 0; display: none; z-index: 40; }
    .rts-dd.open .rts-menu { display: block; }
    .rts-menu li button { display: block; width: 100%; text-align: left; padding: 9px 16px; color: var(--text); font-family: inherit; font-size: 14px; font-weight: 500; background: transparent; border: 0; cursor: pointer; white-space: nowrap; transition: background .12s, color .12s; }
    .rts-menu li button:hover, .rts-menu li button.active { background: var(--surface-hover, var(--row-alt)); color: var(--tl-accent-hover); }

    .rd-wdl { width: 58px; text-align: center; }
    .rb-table th.rd-wdl { color: var(--muted); }

    .rb-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 18px; }
    .rb-title { font-family: var(--font-display); font-size: 22px; font-weight: 600; color: var(--heading); }

    .rb-top2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 22px; }
    .rb-card { display: flex; align-items: center; gap: 15px; padding: 15px 18px; border-radius: 0; border: 1px solid var(--border); background: var(--surface); box-shadow: var(--card-shadow); }
    .rank-panel .page-card { border-radius: 0; }
    .rb-card.rb-1 { background: linear-gradient(100deg, rgba(224,173,78,.20) 0%, rgba(224,173,78,.06) 100%); border-color: rgba(224,173,78,.5); }
    .rb-card.rb-2 { background: linear-gradient(100deg, rgba(176,182,196,.20) 0%, rgba(176,182,196,.06) 100%); border-color: rgba(176,182,196,.5); }
    .rb-circle { flex-shrink: 0; width: 42px; height: 42px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-family: var(--font-display); font-size: 18px; font-weight: 700; color: #1a1a20; background: #fff; box-shadow: 0 2px 8px rgba(0,0,0,.25); }
    .rb-card.rb-1 .rb-circle { background: linear-gradient(160deg, #f4d98a, #e0ad4e); color: #4a3610; }
    .rb-card.rb-2 .rb-circle { background: linear-gradient(160deg, #eef0f4, #c3c8d2); color: #3a3d47; }
    .rb-rankimg-lg { flex-shrink: 0; width: 46px; height: 46px; display: flex; align-items: center; justify-content: center; }
    .rb-rankimg-lg img { max-width: 100%; max-height: 100%; object-fit: contain; filter: drop-shadow(0 1px 1px rgba(0,0,0,.5)); }
    .rd-rankimg { height: 26px; width: auto; display: block; filter: drop-shadow(0 1px 0.5px rgba(0,0,0,.5)); }
    .rd-pos-num { color: var(--muted); font-weight: 600; margin-left: 5px; }
    .rb-avatar { flex-shrink: 0; width: 46px; height: 46px; display: flex; align-items: center; justify-content: center; }
    .rb-avatar img { width: 30px; height: 30px; object-fit: contain; }
    .rb-avatar.rb-avatar-flag img { width: 30px; height: 20px; border-radius: 2px; }
    html[data-theme="light"] .rb-avatar:not(.rb-avatar-flag) img,
    html[data-theme="light"] .rd-skill { filter: brightness(0); opacity: .78; }
    .rb-card-info { min-width: 0; }
    .rb-card-name { display: flex; align-items: center; gap: 9px; font-family: var(--font-display); font-size: 15px; font-weight: 600; color: var(--heading); }
    .rb-card-sub { margin-top: 3px; font-size: 12.5px; color: var(--muted); }
    .rb-card-sub b { color: var(--text); font-weight: 600; }

    .rb-status { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 600; }
    .rb-status .rb-dot { width: 7px; height: 7px; border-radius: 50%; }
    .rb-status.rb-on { color: #3fbf6b; }
    .rb-status.rb-on .rb-dot { background: #3fbf6b; box-shadow: 0 0 6px rgba(63,191,107,.8); }
    .rb-status.rb-off { color: var(--muted); }
    .rb-status.rb-off .rb-dot { background: var(--muted); }

    .rb-char { display: flex; align-items: center; gap: 11px; }
    .rb-avatar-sm { width: 34px; height: 34px; }
    .rb-avatar-sm img { width: 22px; height: 22px; }
    .rb-char-name { font-weight: 600; color: var(--heading); }
    .rb-char-name:hover { color: var(--primary); }
    .rb-row[hidden] { display: none; }

    .rb-pager { display: flex; align-items: center; justify-content: center; gap: 8px; margin-top: 26px; }
    .rb-pager button { min-width: 36px; height: 36px; padding: 0 6px; border-radius: 50%; border: 1px solid var(--border); background: var(--surface); color: var(--text); font-family: var(--font-display); font-size: 14px; font-weight: 600; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; transition: color .15s, background .15s, border-color .15s; }
    .rb-pager button:hover:not(:disabled) { color: var(--heading); border-color: var(--border-strong); }
    .rb-pager button.active { background: var(--primary); border-color: var(--primary); color: #fff; }
    .rb-pager button:disabled { opacity: .4; cursor: default; }
    .rb-pager .rb-arrow svg { width: 16px; height: 16px; display: block; }
    @media (max-width: 620px) { .rb-top2 { grid-template-columns: 1fr; } .rank-hero-inner { align-items: flex-start; } .rb-head { gap: 12px; } .rank-type-select { width: 100%; } .rts-dd { flex: 1; } .rts-trigger { min-width: 0; width: 100%; } }
    @media (max-width: 620px) {
      .rd-table { font-size: 13px; }
      .rd-table thead th { padding: 5px 9px; letter-spacing: .8px; }
      .rd-table tbody td { padding: 10px 9px; }
      .rd-table .rd-pos { width: 40px; }
      .rank-panel[data-type="player"] .rb-table th:nth-child(3), .rank-panel[data-type="player"] .rb-table td:nth-child(3),
      .rank-panel[data-type="player"] .rb-table th:nth-child(5), .rank-panel[data-type="player"] .rb-table td:nth-child(5) { display: none; }
      .rank-panel[data-type="guild"] .rb-table th:nth-child(n+6), .rank-panel[data-type="guild"] .rb-table td:nth-child(n+6) { display: none; }
    }

    .reg-form .rf-row { margin-bottom: 16px; }
    .reg-form .rf-row.rf-two { display: grid; grid-template-columns: 1fr; gap: 14px; }
    .reg-form label { display: block; font-size: 13px; font-weight: 600; color: var(--heading); margin-bottom: 7px; }
    .reg-form label .req { color: #d9584e; margin-left: 3px; }
    .reg-form input[type="text"], .reg-form input[type="email"], .reg-form input[type="password"], .reg-form input[type="tel"], .reg-form select { width: 100%; height: 44px; padding: 0 14px; font-size: 14px; color: var(--heading); background: var(--surface-solid); border: 1px solid var(--border); border-radius: 2px; transition: border-color .15s, box-shadow .15s; font-family: inherit; }
    .reg-form select { cursor: pointer; }
    .reg-form input:focus, .reg-form select:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px var(--primary-glow); }

    .reg-form input[name="account_name"], .reg-form input[name="realName"], .reg-form input[name="e-mail"],
    .reg-form input[name="password"], .reg-form input[name="passwordTwo"], .reg-form input[name="pinPassword"],
    .reg-form input[name="deleteCode"] { background-repeat:no-repeat; background-position:14px center; background-size:18px 18px; padding-left:44px !important; }
    .reg-form input[name="account_name"] { background-image:url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none'><path d='M15 9H15.01M15 15C18.3137 15 21 12.3137 21 9C21 5.68629 18.3137 3 15 3C11.6863 3 9 5.68629 9 9C9 9.27368 9.01832 9.54308 9.05381 9.80704C9.11218 10.2412 9.14136 10.4583 9.12172 10.5956C9.10125 10.7387 9.0752 10.8157 9.00469 10.9419C8.937 11.063 8.81771 11.1823 8.57913 11.4209L3.46863 16.5314C3.29568 16.7043 3.2092 16.7908 3.14736 16.8917C3.09253 16.9812 3.05213 17.0787 3.02763 17.1808C3 17.2959 3 17.4182 3 17.6627V19.4C3 19.9601 3 20.2401 3.10899 20.454C3.20487 20.6422 3.35785 20.7951 3.54601 20.891C3.75992 21 4.03995 21 4.6 21H6.33726C6.58185 21 6.70414 21 6.81923 20.9724C6.92127 20.9479 7.01881 20.9075 7.10828 20.8526C7.2092 20.7908 7.29568 20.7043 7.46863 20.5314L12.5791 15.4209C12.8177 15.1823 12.937 15.063 13.0581 14.9953C13.1843 14.9248 13.2613 14.8987 13.4044 14.8783C13.5417 14.8586 13.7588 14.8878 14.193 14.9462C14.4569 14.9817 14.7263 15 15 15Z' stroke='%238b93a7' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/></svg>"); }
    .reg-form input[name="password"], .reg-form input[name="passwordTwo"], .reg-form input[name="pinPassword"] { background-image:url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none'><path d='M12 14.5V16.5M7 10.0288C7.47142 10 8.05259 10 8.8 10H15.2C15.9474 10 16.5286 10 17 10.0288M7 10.0288C6.41168 10.0647 5.99429 10.1455 5.63803 10.327C5.07354 10.6146 4.6146 11.0735 4.32698 11.638C4 12.2798 4 13.1198 4 14.8V16.2C4 17.8802 4 18.7202 4.32698 19.362C4.6146 19.9265 5.07354 20.3854 5.63803 20.673C6.27976 21 7.11984 21 8.8 21H15.2C16.8802 21 17.7202 21 18.362 20.673C18.9265 20.3854 19.3854 19.9265 19.673 19.362C20 18.7202 20 17.8802 20 16.2V14.8C20 13.1198 20 12.2798 19.673 11.638C19.3854 11.0735 18.9265 10.6146 18.362 10.327C18.0057 10.1455 17.5883 10.0647 17 10.0288M7 10.0288V8C7 5.23858 9.23858 3 12 3C14.7614 3 17 5.23858 17 8V10.0288' stroke='%238b93a7' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/></svg>"); }
    .reg-form input[name="realName"] { background-image:url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none'><path d='M20 21v-2a4 4 0 0 0-4-4H8a4 4 0 0 0-4 4v2M12 11a4 4 0 1 0 0-8 4 4 0 0 0 0 8Z' stroke='%238b93a7' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/></svg>"); }
    .reg-form input[name="e-mail"] { background-image:url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none'><path d='M3 7a2 2 0 0 1 2-2h14a2 2 0 0 1 2 2v10a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2z' stroke='%238b93a7' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/><path d='m3 7 9 6 9-6' stroke='%238b93a7' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/></svg>"); }
    .reg-form input[name="deleteCode"] { background-image:url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none'><circle cx='16' cy='8' r='4' stroke='%238b93a7' stroke-width='2'/><path d='m13 11-8.5 8.5M7 17l2 2M9 15l2 2' stroke='%238b93a7' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/></svg>"); }

      .reg-form .rf-check { display: flex; align-items: flex-start; gap: 10px; font-size: 14px; color: var(--tl-text); line-height: 1.5; }
    .reg-form .rf-check input { margin-top: 3px; width: 16px; height: 16px; flex-shrink: 0; accent-color: var(--primary); }
    .reg-form .rf-check a { color: var(--primary); font-weight: 600; }
    .reg-form .rf-submit { display: inline-flex; align-items: center; justify-content: center; gap: 9px; width: 100%; height: 50px; margin-top: 6px; border: 1px solid var(--border-strong); border-radius: 0; background: transparent; color: var(--heading); font-family: var(--font-display); font-size: 16px; font-weight: 600; letter-spacing: .5px; cursor: pointer; transition: background .18s, border-color .18s, color .18s, transform .06s; }
    .reg-form .rf-submit svg { width: 19px; height: 19px; }
    .reg-form .rf-submit.ready { background: #7a5ba6; border-color: #7a5ba6; color: #fff; }
    .reg-form .rf-submit.ready:hover { filter: brightness(1.08); }
    .reg-form .rf-submit:active { transform: translateY(1px); }
    .reg-form .rf-hint { font-size: 12px; color: var(--muted); margin-top: 5px; }
    @media (max-width: 560px) { .reg-form .rf-row.rf-two { grid-template-columns: 1fr; } .page-hero h1 { font-size: 27px; } }

    .login-grid { display: grid; grid-template-columns: 1fr; align-items: stretch; }
    .login-card { display: flex; flex-direction: column; }
    .login-card .page-card-body { flex: 1; display: flex; flex-direction: column; }
    .login-visual { border: 1px solid var(--border); border-right: 0; background: #14141b center center / cover no-repeat; overflow: hidden; min-height: 360px; }
    .login-links { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 16px; font-size: 13px; flex-wrap: wrap; }
    .login-links a { color: var(--primary); font-weight: 600; }
    .login-links a:hover { text-decoration: underline; }
    .login-links .ll-muted { color: var(--muted); }
    .login-alert { padding: 12px 16px; margin-bottom: 16px; font-size: 14px; border: 1px solid; }
    .login-alert.ok { background: rgba(63,191,107,.10); border-color: rgba(63,191,107,.4); color: #3fbf6b; }
    .login-alert.err { background: rgba(217,88,78,.10); border-color: rgba(217,88,78,.4); color: #e08076; }
    .login-demo { padding: 10px 14px; margin-bottom: 16px; font-size: 12.5px; color: var(--muted); background: var(--row-alt); border: 1px dashed var(--border-strong); }
    .login-demo b { color: var(--heading); font-weight: 600; }
    .login-alert.warn { background: rgba(224,173,78,.10); border-color: rgba(224,173,78,.4); color: #d9a441; }
    .login-alert.info { background: var(--row-alt); border-color: var(--border-strong); color: var(--muted); }

    .reg-form textarea { width: 100%; min-height: 150px; padding: 12px 14px; font-size: 14px; font-family: inherit; color: var(--heading); background: var(--surface-solid); border: 1px solid var(--border); border-radius: 2px; resize: vertical; transition: border-color .15s, box-shadow .15s; }
    .reg-form textarea:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px var(--primary-glow); }
    .page-back { display: inline-flex; align-items: center; gap: 7px; margin-top: 8px; font-size: 13px; color: rgba(255,255,255,.7); }
    .page-back:hover { color: #fff; }
    .page-back svg { width: 15px; height: 15px; }
    .tk-badge { display: inline-flex; align-items: center; padding: 3px 10px; border-radius: 2px; font-size: 11px; font-weight: 600; letter-spacing: .3px; text-transform: uppercase; white-space: nowrap; }
    .tk-badge.s0 { background: rgba(224,173,78,.14); color: #d9a441; }
    .tk-badge.s1 { background: rgba(63,191,107,.14); color: #3fbf6b; }
    .tk-badge.s2 { background: rgba(127,127,140,.16); color: var(--muted); }
    .sup-toolbar { display: flex; justify-content: flex-end; margin-bottom: 18px; }
    .btn-inline { display: inline-flex; align-items: center; gap: 8px; padding: 10px 18px; border-radius: 2px; background: #7a5ba6; color: #fff; font-family: var(--font-display); font-size: 14px; font-weight: 600; transition: filter .15s; }
    .btn-inline svg { width: 16px; height: 16px; }
    .btn-inline:hover { filter: brightness(1.1); }
    .rd-table td .tk-link { color: var(--primary); font-weight: 600; }
    .rd-table td .tk-link:hover { text-decoration: underline; }
    @media (max-width: 720px) { .login-grid { grid-template-columns: 1fr; } .login-visual { min-height: 200px; border-right: 1px solid var(--border); border-bottom: 0; } }

    .notice-tag { display: inline-flex; align-items: center; padding: 3px 10px; background: var(--primary); color: #fff; font-size: 11px; font-weight: 600; letter-spacing: .5px; text-transform: uppercase; border-radius: 2px; }
    .page-hero .ph-meta { display: flex; align-items: center; gap: 12px; margin-top: 12px; font-size: 13px; color: rgba(255,255,255,.7); }
    .notice-cover { display: block; width: 100%; height: 320px; object-fit: cover; object-position: center; background: #14141b; border-bottom: 1px solid var(--border); }
    .notice-content { font-size: 15px; line-height: 1.85; color: var(--text); }
    .notice-content > *:first-child { margin-top: 0; }
    .notice-content p { margin-bottom: 15px; }
    .notice-content h1, .notice-content h2, .notice-content h3, .notice-content h4 { font-family: var(--font-display); color: var(--heading); line-height: 1.3; margin: 22px 0 12px; }
    .notice-content h2 { font-size: 20px; } .notice-content h3 { font-size: 17px; }
    .notice-content a { color: var(--primary); font-weight: 600; }
    .notice-content a:hover { text-decoration: underline; }
    .notice-content img { max-width: 100%; height: auto; border-radius: 2px; margin: 14px 0; }
    .notice-content ul, .notice-content ol { padding-left: 22px; margin-bottom: 15px; }
    .notice-content li { margin-bottom: 7px; }
    .notice-content blockquote { margin: 15px 0; padding: 10px 18px; border-left: 3px solid var(--primary); background: var(--row-alt); color: var(--muted); }
    .notice-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 16px 22px; border-top: 1px solid var(--border); font-size: 13px; color: var(--muted); flex-wrap: wrap; }
    .notice-foot a { display: inline-flex; align-items: center; gap: 7px; color: var(--primary); font-weight: 600; }
    .notice-foot a svg { width: 15px; height: 15px; }

    .cp-grid { display: grid; grid-template-columns: 340px 1fr; gap: 22px; align-items: start; }
    .cp-info-row { display: flex; justify-content: space-between; gap: 16px; padding: 13px 22px; border-bottom: 1px solid var(--border); font-size: 14px; }
    .cp-info-row:last-child { border-bottom: 0; }
    .cp-info-row .cp-k { color: var(--muted); white-space: nowrap; }
    .cp-info-row .cp-v { color: var(--heading); font-weight: 600; text-align: right; word-break: break-word; }
    .cp-ep { color: var(--gold); }
    .cp-status-ok { color: #3fbf6b; } .cp-status-ban { color: #e08076; }
    .cp-actions-head { font-family: var(--font-display); font-size: 15px; font-weight: 600; color: var(--muted); text-transform: uppercase; letter-spacing: 1.6px; margin-bottom: 14px; }
    .cp-actions-head:not(:first-child) { margin-top: 26px; }
    .cp-actions { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 12px; }
    .cp-act { display: flex; align-items: center; gap: 12px; padding: 15px 16px; border: 1px solid var(--border); background: var(--surface); color: var(--heading); font-family: var(--font-display); font-weight: 600; font-size: 14px; transition: border-color .15s, background .15s, transform .06s; }
    .cp-act:hover { border-color: var(--primary); background: var(--row-alt); }
    .cp-act:active { transform: translateY(1px); }
    .cp-act svg { width: 20px; height: 20px; color: var(--primary); flex-shrink: 0; }
    .cp-act.accent { border-color: rgba(224,173,78,.4); }
    .cp-act.accent svg { color: var(--gold); }
    .cp-act.accent:hover { border-color: var(--gold); }
    .cp-act.danger svg { color: #d9584e; }
    .cp-act.danger:hover { border-color: #d9584e; }
    @media (max-width: 820px) { .cp-grid { grid-template-columns: 1fr; } }

    .reg-modal { position: fixed; inset: 0; z-index: 200; display: none; align-items: center; justify-content: center; padding: 4vh 16px; }
    .reg-modal.open { display: flex; }
    .reg-modal-backdrop { position: absolute; inset: 0; background: rgba(6,6,9,.82); backdrop-filter: blur(3px); -webkit-backdrop-filter: blur(3px); }
    .reg-modal-panel { position: relative; z-index: 1; width: 100%; max-width: 780px; max-height: 88vh; display: flex; flex-direction: column; background: var(--surface-solid); border: 1px solid var(--border); border-radius: 3px; box-shadow: 0 24px 70px rgba(0,0,0,.5); animation: galPop .22s cubic-bezier(.22,.61,.36,1); }
    .reg-modal-head { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 17px 22px; border-bottom: 1px solid var(--border); flex-shrink: 0; }
    .reg-modal-head h2 { font-family: var(--font-display); font-size: 18px; font-weight: 600; color: var(--heading); }
    .reg-modal-close { width: 34px; height: 34px; border-radius: 2px; border: 1px solid var(--border); background: transparent; color: var(--muted); display: flex; align-items: center; justify-content: center; cursor: pointer; transition: background .15s, color .15s; }
    .reg-modal-close svg { width: 18px; height: 18px; }
    .reg-modal-close:hover { background: var(--row-alt); color: var(--heading); }
    .reg-modal-body { padding: 20px 24px 24px; overflow-y: auto; }
    .reg-modal-body h3 { font-family: var(--font-display); font-size: 15px; font-weight: 600; color: var(--heading); margin-bottom: 14px; }
    .reg-modal-body ol { margin: 0; padding-left: 20px; display: flex; flex-direction: column; gap: 12px; }
    .reg-modal-body li { font-size: 13px; line-height: 1.7; color: var(--text); }
    .reg-modal-body li b { color: var(--heading); font-weight: 600; }
    .reg-modal-foot { margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--border); font-size: 13px; color: var(--muted); }
    .reg-modal-foot a { color: var(--primary); font-weight: 600; }

    .dl-server { display: flex; align-items: center; gap: 12px; }
    .dl-logo { flex-shrink: 0; display: inline-flex; align-items: center; justify-content: center; width: 28px; height: 28px; color: #e5cfbb; }
    html[data-theme="light"] .dl-logo { color: #382f48; }
    .dl-logo svg { width: 26px; height: 26px; display: block; fill: currentColor; }
    .dl-server-name { font-weight: 600; color: var(--heading); }

    .dl-info { display: flex; align-items: center; gap: 28px; margin-top: 30px; padding: 6px 4px; }
    .dl-info-ic { flex-shrink: 0; width: 76px; height: 76px; border-radius: 50%; background: #26272f; display: flex; align-items: center; justify-content: center; }
    html[data-theme="light"] .dl-info-ic { background: #7a5ba6; }
    .dl-info-ic svg { width: 32px; height: 32px; color: #b9bbc0; }
    .dl-info-list { list-style: none; margin: 0; padding: 0; }
    .dl-info-list li { position: relative; padding-left: 16px; font-size: 13.5px; line-height: 1.75; color: var(--muted); }
    .dl-info-list li::before { content: ''; position: absolute; left: 0; top: 11px; width: 4px; height: 4px; border-radius: 50%; background: var(--primary); }
    .dl-info-list li b { color: var(--heading); font-weight: 600; }
    @media (max-width: 620px) { .dl-info { flex-direction: column; align-items: flex-start; gap: 16px; } }

    .dl-hero::before { display: none; }
    .dl-hero { min-height: 360px; }
    .dl-hero .page-hero-inner { padding-bottom: 94px; }
    .dl-hero h1, .dl-hero .ph-sub, .dl-hero .ph-crumb, .dl-hero .ph-crumb a, .dl-hero .ph-meta { text-shadow: 0 2px 10px rgba(0,0,0,.75); }
    .ph-links { position: absolute; left: 0; right: 0; bottom: 0; z-index: 3; }
    .ph-links::before { content: ''; position: absolute; left: 0; right: 0; top: 0px; bottom: 0; background: linear-gradient(to top, rgb(0 0 0 / 93%) 0%, rgb(0 0 0 / 30%) 100%); pointer-events: none; z-index: -1; }
    .ph-links-inner { width: 100%; display: flex; align-items: stretch; border-top: 1px solid rgba(255,255,255,.14); }
    .ph-links-inner a { flex: 1; display: inline-flex; align-items: center; justify-content: center; gap: 9px; height: 56px; color: rgba(255,255,255,.72); font-family: var(--font-display); font-size: 14px; font-weight: 500; transition: color .18s; }
    .ph-links-inner a svg { width: 18px; height: 18px; flex-shrink: 0; }
    .ph-links-inner a:hover { color: #fff; }
    @media (max-width: 620px) { .ph-links-inner { flex-wrap: wrap; } .ph-links-inner a { flex: 1 0 50%; height: 50px; } }

    .float-widgets { position: fixed; left: 20px; bottom: 20px; z-index: 60; display: flex; flex-direction: column; align-items: flex-start; gap: 12px; }
    .float-widgets { --fw-size: 50px; }
    .fw-wa { display: flex; align-items: center; justify-content: flex-start; width: var(--fw-size); height: var(--fw-size); border: none; border-radius: 50%; cursor: pointer; position: relative; overflow: hidden; text-decoration: none; box-shadow: 2px 2px 10px rgba(0,0,0,.2); background-color: #00d757; transition: width .3s ease-in-out, border-radius .3s ease-in-out; }
    .fw-wa .sign { width: var(--fw-size); flex-shrink: 0; display: flex; align-items: center; justify-content: center; }
    .fw-wa .sign svg { width: 25px; }
    .fw-wa .sign svg path { fill: #fff; }
    .fw-wa .fw-text { position: absolute; left: var(--fw-size); opacity: 0; color: #fff; font-size: 1.05em; font-weight: 600; white-space: nowrap; transition: opacity .3s ease-in-out; }
    .fw-wa:hover { width: 175px; border-radius: 40px; }
    .fw-wa:hover .fw-text { opacity: 1; }
    .fw-wa:active { transform: translate(2px, 2px); }
    .fw-dc { position: relative; display: flex; align-items: center; justify-content: flex-start; width: var(--fw-size); height: var(--fw-size); border-radius: 50%; background: #5865f2; overflow: hidden; cursor: pointer; text-decoration: none; box-shadow: 2px 2px 10px rgba(0,0,0,.2); transition: width .3s ease-in-out, border-radius .3s ease-in-out; }
    .fw-dc .sign { width: var(--fw-size); flex-shrink: 0; display: flex; align-items: center; justify-content: center; }
    .fw-dc .sign svg { width: 27px; height: auto; }
    .fw-dc .sign svg path { fill: #fff; }
    .fw-dc .fw-banner { position: absolute; left: var(--fw-size); top: 0; right: 0; bottom: 0; opacity: 0; overflow: hidden; transition: opacity .3s ease-in-out; }
    .fw-dc .fw-banner img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: left center; }
    .fw-dc .fw-banner--fallback { background: linear-gradient(135deg, #5865f2, #3a44c4); }
    .fw-dc:hover { width: 300px; border-radius: 40px; }
    .fw-dc:hover .fw-banner { opacity: 1; }
    .fw-dc:active { transform: translate(2px, 2px); }

    .footer-top-symbol { position: relative; z-index: 2; line-height: 0; margin-top: -5.625vw; pointer-events: none; }
    .footer-top-symbol img { width: 100%; height: auto; display: block; }
    .site-footer { position: relative; z-index: 3; background: var(--footer-bg); padding: 34px 20px 26px; color: var(--tl-text); }
    .tlFooter { display: flex; flex-direction: column; align-items: center; gap: 22px; text-align: center; padding: 10px 0; max-width: 1000px; margin: 0 auto; }
    .tlFooter__social { display: flex; gap: 10px; }
    .tlFooter__social a { align-items: center; border-radius: 50%; color: var(--tl-text-dim); display: inline-flex; height: 44px; justify-content: center; width: 44px; text-decoration: none; transition: color .25s, background-color .25s; }
    .tlFooter__social a svg { width: 22px; height: 22px; fill: currentColor; }
    .tlFooter__social a.tl-yt:hover { background: red; color: #fff; animation: tlSocialBounce .4s linear; }
    .tlFooter__social a.tl-dc:hover { background: #5865f2; color: #fff; animation: tlSocialBounce .4s linear; }
    .tlFooter__social a.tl-fb:hover { background: #1877f2; color: #fff; animation: tlSocialBounce .4s linear; }
    .tlFooter__social a.tl-ig:hover { background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%); color: #fff; animation: tlSocialBounce .4s linear; }
    .tlFooter__social a.tl-wa:hover { background: #25d366; color: #fff; animation: tlSocialBounce .4s linear; }
    @keyframes tlSocialBounce { 40% { transform: scale(1.4); } 60% { transform: scale(0.8); } 80% { transform: scale(1.2); } 100% { transform: scale(1); } }
    .tlFooter__divider { border: 0; border-top: 1px solid var(--tl-border); margin: 0; max-width: 860px; width: 100%; }
    .tlFooter__links { display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: center; max-width: 860px; }
    .tlFooter__links a { color: var(--tl-text); font-size: 14px; }
    .tlFooter__links a:hover { color: var(--tl-accent-hover); text-decoration: underline; }
    .tlFooter__info { color: var(--tl-text-dim); font-size: 13px; line-height: 1.7; max-width: 760px; }
    .tlFooter__info b { color: #cbc8d4; font-weight: 700; }
    .tlFooter__about { margin: 0 0 12px; color: #8a8c93; font-size: 13.5px; line-height: 1.75; }
    html[data-theme="light"] .tlFooter__about { color: #8a8c93; }
    .tlFooter__dev img { height: 26px; width: auto; opacity: .85; }
    .tlFooter__dev a:hover img { opacity: 1; }
    .tlFooter__dev .brand-text { font-family: var(--font-display); font-weight: 700; font-size: 26px; letter-spacing: 4px; color: var(--gold); }
    .tlLangSelect { display: inline-block; position: relative; }
    .tlLangSelect__toggle { align-items: center; background: var(--tl-surface); border: 1px solid var(--tl-border-strong); border-radius: 4px; color: var(--tl-text); cursor: pointer; display: inline-flex; font: inherit; gap: 10px; justify-content: space-between; min-width: 150px; padding: 8px 12px; }
    .tlLangSelect__toggle:hover { border-color: var(--tl-accent); }
    .tlLangSelect__name { display: inline-flex; align-items: center; gap: 8px; text-align: left; }
    .tlLangSelect__name img { width: 20px; height: 14px; object-fit: cover; display: block; }
    .tlLangSelect__caret { color: var(--tl-text-dim); display: inline-flex; flex: 0 0 auto; }
    .tlLangSelect__caret svg { width: 11px; height: 11px; fill: currentColor; }
    .tlLangSelect__menu { background: var(--tl-surface); border: 1px solid var(--tl-border-strong); border-radius: 6px; bottom: 100%; box-shadow: var(--card-shadow); display: none; left: 50%; list-style: none; margin: 0 0 6px; max-height: 320px; min-width: 100%; overflow-y: auto; padding: 6px; position: absolute; transform: translateX(-50%); z-index: 500; }
    .tlLangSelect.open .tlLangSelect__menu { display: block; }
    .tlLangSelect__menu li a { align-items: center; border-radius: 4px; color: var(--tl-text); cursor: pointer; display: flex; gap: 7px; padding: 7px 12px; white-space: nowrap; }
    .tlLangSelect__menu li a img { width: 20px; height: 14px; object-fit: cover; display: block; }
    .tlLangSelect__menu li a:hover { background: var(--tl-surface-hover); color: var(--tl-text-strong); }
    .tlLangSelect__menu li a.active { color: var(--tl-text-strong); }
    .pageFooterCopyright { position: relative; z-index: 1; background-color: #08090b; color: var(--tl-text-dim); text-align: center; padding: 18px 20px; font-size: 12.5px; line-height: 1.6; }
    .pfc-icons { display: flex; align-items: center; justify-content: center; gap: 20px; }
    .pfc-ic { display: inline-flex; transition: transform .15s; }
    .pfc-ic:hover { transform: translateY(-1px); }
    .pfc-img { display: block; height: 22px; aspect-ratio: 68 / 50; background-color: #8a8c93; -webkit-mask-position: center; mask-position: center; -webkit-mask-size: contain; mask-size: contain; -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat; transition: background-color .15s; }
    .pfc-ic:hover .pfc-img { background-color: #b0b2b9; }
    .to-top { position: fixed; right: 18px; bottom: 18px; z-index: 60; width: 40px; height: 40px; display: flex; align-items: center; justify-content: center; background: rgba(20,21,26,0.6); border: 1px solid var(--tl-border-strong); border-radius: 4px; color: var(--tl-text-dim); cursor: pointer; -webkit-backdrop-filter: blur(2px); backdrop-filter: blur(2px); opacity: 0; visibility: hidden; transform: translateY(8px); transition: opacity .2s, visibility .2s, transform .2s, color .2s, border-color .2s, background-color .2s; }
    .to-top.show { opacity: 1; visibility: visible; transform: none; }
    .to-top:hover { background: rgba(35,36,48,0.9); border-color: var(--tl-accent); color: var(--tl-text-strong); }
    .to-top svg { width: 18px; height: 18px; fill: none; stroke: currentColor; }

    @media (max-width: 980px) {
      .main-nav a { padding: 0 11px; font-size: 13.5px; }
      .hero-title { font-size: 40px; }
    }
    @media (max-width: 900px) {
      .header-nav { display: none; }
      .hdr-tools { gap: 10px; }
      .subbar-inner .tlNavSocial { display: none; }
    }
    @media (max-width: 560px) {
      .hdr-link { display: none; }
    }
    @media (max-width: 680px) {
      .topbar-links a .tl-txt { display: none; }
      .hero-title { font-size: 32px; }
    }
.flg{display:inline-block;width:20px;height:15px;background-size:cover;background-position:center;border-radius:2px;flex-shrink:0;vertical-align:middle}
.flg-tr{background-image:url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 900'><rect width='1200' height='900' fill='%23e30a17'/><g transform='translate(0,50)'><circle cx='425' cy='400' r='200' fill='%23fff'/><circle cx='475' cy='400' r='160' fill='%23e30a17'/><path fill='%23fff' d='M655,295 679.7,366 754.9,367.6 694.9,413 716.7,484.9 655,442 593.3,484.9 615.1,413 555.1,367.6 630.3,366z'/></g></svg>")}
.flg-gb{background-image:url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 60 45'><clipPath id='t'><path d='M30,22.5 h30 v22.5 z v22.5 h-30 z h-30 v-22.5 z v-22.5 h30 z'/></clipPath><path d='M0,0 v45 h60 v-45 z' fill='%23012169'/><path d='M0,0 60,45 M60,0 0,45' stroke='%23fff' stroke-width='9'/><path d='M0,0 60,45 M60,0 0,45' clip-path='url(%23t)' stroke='%23C8102E' stroke-width='6'/><path d='M30,0 v45 M0,22.5 h60' stroke='%23fff' stroke-width='15'/><path d='M30,0 v45 M0,22.5 h60' stroke='%23C8102E' stroke-width='9'/></svg>")}
.flg-de{background-image:url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 4 3'><rect width='4' height='3' fill='%23FFCE00'/><rect width='4' height='2' fill='%23DD0000'/><rect width='4' height='1' fill='%23000'/></svg>")}
.flg-es{background-image:url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 4 3'><rect width='4' height='3' fill='%23AA151B'/><rect y='0.75' width='4' height='1.5' fill='%23F1BF00'/></svg>")}
.flg-pl{background-image:url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 4 3'><rect width='4' height='3' fill='%23DC143C'/><rect width='4' height='1.5' fill='%23fff'/></svg>")}
.flg-ru{background-image:url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 4 3'><rect width='4' height='3' fill='%23D52B1E'/><rect width='4' height='2' fill='%230039A6'/><rect width='4' height='1' fill='%23fff'/></svg>")}
.flg-ro{background-image:url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 9'><rect width='12' height='9' fill='%23CE1126'/><rect width='8' height='9' fill='%23FCD116'/><rect width='4' height='9' fill='%23002B7F'/></svg>")}
.flg-it{background-image:url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 9'><rect width='12' height='9' fill='%23CE2B37'/><rect width='8' height='9' fill='%23fff'/><rect width='4' height='9' fill='%23009246'/></svg>")}
.flg-fr{background-image:url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 9'><rect width='12' height='9' fill='%23EF4135'/><rect width='8' height='9' fill='%23fff'/><rect width='4' height='9' fill='%230055A4'/></svg>")}
.flg-hu{background-image:url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 4 3'><rect width='4' height='3' fill='%23436F4D'/><rect width='4' height='2' fill='%23fff'/><rect width='4' height='1' fill='%23CD2A3E'/></svg>")}
.flg-cz{background-image:url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 18'><rect width='24' height='18' fill='%23D7141A'/><rect width='24' height='9' fill='%23fff'/><path d='M0,0 12,9 0,18z' fill='%2311457E'/></svg>")}
