

:root {

    --hx-gold:        #d4af5a;
    --hx-gold-light:  #eeda9e;
    --hx-gold-dark:   #96742e;
    --hx-ember:       #e8822e;
    --hx-red:         #7e2b24;
    --hx-red-light:   #9c3a30;

    --hx-bg-0: #080604;
    --hx-bg-1: #0e0a06;
    --hx-bg-2: #151009;
    --hx-bg-3: #1d160b;
    --hx-bg-4: #281d0e;
    --hx-bg-inset: #0a0704;

    --hx-text-1: #f0e5c9;
    --hx-text-2: #c9bda0;
    --hx-text-3: #948a6e;
    --hx-text-4: #635a43;

    --hx-line:       #291e0e;
    --hx-line-light: #42311a;
    --hx-line-gold:  rgba(212, 175, 90, 0.35);

    --hx-green: #8fbf6f;

    --hx-shinsoo: #6f97c8;
    --hx-chunjo:  #cf9f4a;
    --hx-jinno:   #c65f4c;

    --hx-medal-1: #e8c56a;
    --hx-medal-2: #b9c0cd;
    --hx-medal-3: #b57e4e;

    --hx-grad-gold:   linear-gradient(180deg, var(--hx-gold-light) 0%, var(--hx-gold) 55%, var(--hx-gold-dark) 100%);
    --hx-grad-panel:  linear-gradient(180deg, #181108 0%, #110b06 100%);
    --hx-grad-head:   linear-gradient(180deg, #211709 0%, #171006 100%);
    --hx-grad-btn:    linear-gradient(180deg, #2e2010 0%, #1c1207 100%);
    --hx-grad-fade:   linear-gradient(180deg, transparent 0%, rgba(8, 6, 4, 0.9) 100%);

    --hx-font-display: 'Cinzel', 'Times New Roman', serif;
    --hx-font-body:    'Inter', 'Segoe UI', Tahoma, sans-serif;

    --hx-container: 1280px;
    --hx-sidebar:   300px;
    --hx-gap:       20px;

    --hx-r-sm: 4px;
    --hx-r:    6px;

    --hx-shadow:    0 6px 22px rgba(0, 0, 0, 0.5);
    --hx-shadow-lg: 0 18px 46px rgba(0, 0, 0, 0.6);
    --hx-glow-gold: 0 0 20px rgba(212, 175, 90, 0.3);

    --hx-tr: 200ms ease;
}

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

html { scroll-behavior: smooth; }

body {
    margin: 0;
    font-family: var(--hx-font-body);
    font-size: 14px;
    line-height: 1.6;
    color: var(--hx-text-2);
    background:
        radial-gradient(ellipse 110% 45% at 50% 0%, rgba(66, 49, 26, 0.28) 0%, transparent 55%),
        var(--hx-bg-0);
    -webkit-font-smoothing: antialiased;
    min-height: 100vh;
}

img, svg { display: block; max-width: 100%; }
ul { margin: 0; padding: 0; list-style: none; }
p  { margin: 0 0 10px; }
p:last-child { margin-bottom: 0; }

a {
    color: var(--hx-gold);
    text-decoration: none;
    transition: color var(--hx-tr);
}
a:hover { color: var(--hx-gold-light); }

h1, h2, h3, h4 {
    margin: 0 0 10px;
    font-family: var(--hx-font-display);
    color: var(--hx-text-1);
    letter-spacing: 0.06em;
}

.hx-muted { color: var(--hx-text-3); }

.hx-text-gold {
    background: var(--hx-grad-gold);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
}

.hx-container {
    width: min(100% - 32px, var(--hx-container));
    margin-inline: auto;
}

.hx-main {
    display: grid;
    grid-template-columns: var(--hx-sidebar) 1fr;
    gap: var(--hx-gap);
    padding: var(--hx-gap) 0 calc(var(--hx-gap) * 2.2);
    align-items: start;
}

.hx-col {
    display: flex;
    flex-direction: column;
    gap: var(--hx-gap);
    min-width: 0;
}

.hx-topnav {
    position: sticky;
    top: 0;
    z-index: 200;
    background: rgba(8, 6, 4, 0.92);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-top: 1px solid var(--hx-line-gold);
}

.hx-topnav::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 1px;
    background: linear-gradient(90deg,
        transparent 0%,
        rgba(212, 175, 90, 0.55) 50%,
        transparent 100%);
    opacity: 0.6;
    animation: hx-seam-breathe 6s ease-in-out infinite alternate;
    pointer-events: none;
}

.hx-topnav-inner {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    height: 44px;
}

.hx-topnav a {
    padding: 13px 18px;
    font-family: var(--hx-font-display);
    font-size: 11.5px;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--hx-text-3);
    border-bottom: 2px solid transparent;
    transition: color var(--hx-tr), border-color var(--hx-tr);
}

.hx-topnav a:hover { color: var(--hx-gold-light); }

.hx-topnav a.active {
    color: var(--hx-gold);
    border-bottom-color: var(--hx-gold);
}

.hx-topnav a.hx-nav-logo {
    display: flex;
    align-items: center;
    padding: 6px 12px;
    border-bottom: none;
    transition: transform var(--hx-tr), filter var(--hx-tr);
}
.hx-topnav a.hx-nav-logo svg {
    width: 34px;
    height: 34px;
    display: block;
}
.hx-topnav a.hx-nav-logo:hover {
    transform: scale(0.93);
    filter: drop-shadow(0 0 6px rgba(212, 175, 90, 0.6));
}

.hx-banner {
    position: relative;
    min-height: 520px;
    display: flex;
    align-items: center;
    overflow: hidden;
    background:

        linear-gradient(180deg, rgba(8, 6, 4, 0.55) 0%, rgba(8, 6, 4, 0.30) 45%, rgba(8, 6, 4, 0.72) 100%),
        url('../img/banner2.jpg') center 30% / cover no-repeat,
        linear-gradient(180deg, #15110a 0%, #0c0805 100%);
}

.hx-banner::after {
    content: '';
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, var(--hx-bg-0) 0%, rgba(8, 6, 4, .82) 6%, rgba(8, 6, 4, .35) 15%, rgba(8, 6, 4, 0) 26%),
        radial-gradient(ellipse at 50% 45%, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0) 55%, rgba(0, 0, 0, .28) 100%),
        linear-gradient(0deg, var(--hx-bg-0) 0%, rgba(8, 6, 4, .9) 8%, rgba(8, 6, 4, .55) 20%, rgba(8, 6, 4, 0) 42%),
        linear-gradient(180deg, rgba(8, 6, 4, .38) 0%, rgba(8, 6, 4, 0) 22%, rgba(8, 6, 4, 0) 62%, rgba(8, 6, 4, .55) 88%, var(--hx-bg-0) 100%);
    pointer-events: none;
}

.hx-banner-inner {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    width: min(100% - 32px, var(--hx-container));
    margin: 0 auto;
    padding: 16px 0 130px;
}

.hx-banner-brand {
    display: flex;
    align-items: center;
    gap: 22px;
}

.hx-banner-emblem {
    width: 120px;
    height: 120px;
    flex-shrink: 0;
    filter: drop-shadow(0 6px 30px rgba(212, 175, 90, 0.35));
}

.hx-banner-name {
    font-size: clamp(40px, 5.5vw, 64px);
    font-weight: 800;
    letter-spacing: 0.12em;
    margin: 0;
    line-height: 1;
    text-shadow: 0 4px 24px rgba(0, 0, 0, 0.8);
}

.hx-banner-sub {
    margin: 8px 0 0;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--hx-text-3);
}

.hx-banner-side {
    text-align: right;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 14px;
}

.hx-lang {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 5px 12px;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.06em;
    color: var(--hx-text-2);
    background: rgba(10, 7, 4, 0.6);
    border: 1px solid var(--hx-line);
    border-radius: var(--hx-r-sm);
    cursor: pointer;
}
.hx-lang b { color: var(--hx-gold); font-weight: 700; }
.hx-lang svg { width: 11px; height: 11px; }

.hx-banner-status {
    font-family: var(--hx-font-display);
    font-size: clamp(15px, 1.8vw, 20px);
    font-weight: 700;
    letter-spacing: 0.24em;
    text-transform: uppercase;
    color: var(--hx-gold);
    text-shadow: 0 0 22px rgba(232, 130, 46, 0.5), 0 2px 12px rgba(0,0,0,.8);
}

.hx-banner-status small {
    display: block;
    font-size: 10.5px;
    letter-spacing: 0.34em;
    color: var(--hx-text-2);
    margin-bottom: 4px;
}

.hx-online-n { color: var(--hx-green); }

.hx-embers {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
}

.hx-embers span {
    position: absolute;
    bottom: -8px;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: var(--hx-ember);
    box-shadow: 0 0 10px 2px rgba(232, 130, 46, 0.55);
    opacity: 0;
    animation: hx-ember-rise linear infinite;
}
.hx-embers span:nth-child(1) { left: 10%; animation-duration: 10s; animation-delay: 0s; }
.hx-embers span:nth-child(2) { left: 22%; animation-duration: 13s; animation-delay: 2s;  width: 3px; height: 3px; }
.hx-embers span:nth-child(3) { left: 37%; animation-duration: 11s; animation-delay: 4s; }
.hx-embers span:nth-child(4) { left: 55%; animation-duration: 14s; animation-delay: 1s;  width: 4px; height: 4px; }
.hx-embers span:nth-child(5) { left: 68%; animation-duration: 9s;  animation-delay: 3s; width: 3px; height: 3px; }
.hx-embers span:nth-child(6) { left: 82%; animation-duration: 12s; animation-delay: 5s; }
.hx-embers span:nth-child(7) { left: 93%; animation-duration: 15s; animation-delay: 2.5s; width: 4px; height: 4px; }

@keyframes hx-ember-rise {
    0%   { transform: translateY(0) translateX(0); opacity: 0; }
    10%  { opacity: 0.85; }
    90%  { opacity: 0.45; }
    100% { transform: translateY(-340px) translateX(34px); opacity: 0; }
}

@keyframes hx-dot-wave {
    0%, 100% { opacity: 0.25; transform: scale(1); }
    50%      { opacity: 1;    transform: scale(1.35); }
}

@keyframes hx-bar-grow {
    to { width: var(--w); }
}

@keyframes hx-spin {
    to { transform: rotate(360deg); }
}

@keyframes hx-seam-breathe {
    from { opacity: 0.35; }
    to   { opacity: 1; }
}

.hx-main.hx-deck {
    position: relative;
    z-index: 5;
    margin-top: -96px;
    padding-top: 0;
}

.hx-userpanel {
    background: var(--hx-grad-panel);
    border: 1px solid var(--hx-line);
    border-radius: var(--hx-r);
    box-shadow: var(--hx-shadow-lg);
    overflow: hidden;
}

.hx-userpanel-head {
    padding: 10px 14px;
    text-align: center;
    font-family: var(--hx-font-display);
    font-size: 10.5px;
    font-weight: 700;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--hx-gold);
    background: var(--hx-grad-head);
    border-bottom: 1px solid var(--hx-line);
}

.hx-userpanel-body {
    padding: 14px;
    display: flex;
    flex-direction: column;
    gap: 9px;
}

.hx-input {
    width: 100%;
    padding: 9px 12px;
    font-family: var(--hx-font-body);
    font-size: 12.5px;
    color: var(--hx-text-1);
    background: var(--hx-bg-inset);
    border: 1px solid var(--hx-line);
    border-radius: var(--hx-r-sm);
    outline: none;
    transition: border-color var(--hx-tr);
}
.hx-input:focus { border-color: var(--hx-line-gold); }
.hx-input::placeholder { color: var(--hx-text-4); }

.hx-userpanel-links {
    display: flex;
    justify-content: space-between;
    font-size: 10.5px;
}
.hx-userpanel-links a { color: var(--hx-text-3); }
.hx-userpanel-links a:hover { color: var(--hx-gold); }
.hx-userpanel-links a.reg { color: var(--hx-gold); }

.hx-deckbar {
    display: flex;
    align-items: stretch;
    background: var(--hx-grad-panel);
    border: 1px solid var(--hx-line);
    border-top-color: var(--hx-line-light);
    border-radius: var(--hx-r);
    box-shadow: var(--hx-shadow-lg);
    overflow: hidden;
}

.hx-seg {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 18px 10px;
    min-width: 0;
    text-align: center;
}
.hx-seg + .hx-seg { border-left: 1px solid var(--hx-line); }

.hx-seg-action {
    position: relative;
    overflow: hidden;
    color: var(--hx-text-1);
    transition: background var(--hx-tr), color var(--hx-tr);
}

.hx-seg-action .dots {
    display: flex;
    gap: 5px;
}
.hx-seg-action .dots i {
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: var(--hx-gold);
    opacity: 0.25;
    animation: hx-dot-wave 1.8s ease-in-out infinite;
}
.hx-seg-action .dots i:nth-child(2) { animation-delay: 0.25s; }
.hx-seg-action .dots i:nth-child(3) { animation-delay: 0.5s; }
.hx-seg-action svg {
    width: 22px;
    height: 22px;
    color: var(--hx-gold);
    transition: transform var(--hx-tr);
}
.hx-seg-action span {
    font-family: var(--hx-font-display);
    font-size: 10.5px;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}
.hx-seg-action:hover {
    color: var(--hx-gold-light);
    background: rgba(212, 175, 90, 0.07);
}
.hx-seg-action:hover svg { transform: translateY(-2px); }

.hx-seg-stat .n {
    font-family: var(--hx-font-display);
    font-size: 21px;
    font-weight: 800;
    line-height: 1.1;
    color: var(--hx-gold);
}
.hx-seg-stat .l {
    font-size: 8.5px;
    font-weight: 700;
    letter-spacing: 0.14em;
    line-height: 1.5;
    text-transform: uppercase;
    color: var(--hx-text-4);
}

.hx-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 11px 24px;
    font-family: var(--hx-font-display);
    font-size: 11.5px;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    border: 1px solid var(--hx-line-light);
    border-radius: var(--hx-r-sm);
    cursor: pointer;
    transition: all var(--hx-tr);
    white-space: nowrap;
}
.hx-btn svg { width: 15px; height: 15px; }

.hx-btn-gold {
    background: var(--hx-grad-gold);
    border-color: var(--hx-gold-dark);
    color: #2a1d07;
    text-shadow: 0 1px 0 rgba(255, 240, 200, 0.35);
    box-shadow: 0 3px 14px rgba(0, 0, 0, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.25);
}
.hx-btn-gold:hover {
    color: #2a1d07;
    filter: brightness(1.1);
    box-shadow: var(--hx-glow-gold);
    transform: translateY(-1px);
}

.hx-btn-dark {
    background: var(--hx-grad-btn);
    color: var(--hx-gold);
}
.hx-btn-dark:hover {
    color: var(--hx-gold-light);
    border-color: var(--hx-gold-dark);
    box-shadow: var(--hx-glow-gold);
}

.hx-btn-block { width: 100%; }

.hx-panel {
    background: var(--hx-grad-panel);
    border: 1px solid var(--hx-line);
    border-top-color: var(--hx-line-light);
    border-radius: var(--hx-r);
    overflow: hidden;
    box-shadow: var(--hx-shadow);
}

.hx-panel-head {
    padding: 11px 14px;
    text-align: center;
    font-family: var(--hx-font-display);
    font-size: 10.5px;
    font-weight: 700;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--hx-gold);
    background: var(--hx-grad-head);
    border-bottom: 1px solid var(--hx-line);
}
.hx-panel-head::before { content: '· '; }
.hx-panel-head::after  { content: ' ·'; }

.hx-panel-body { padding: 14px; }
.hx-panel-body.tight { padding: 8px; }

.hx-panel-more {
    display: block;
    padding: 10px;
    font-size: 10.5px;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    text-align: center;
    color: var(--hx-text-3);
    border-top: 1px solid var(--hx-line);
    transition: color var(--hx-tr), background var(--hx-tr);
}
.hx-panel-more:hover { color: var(--hx-gold); background: rgba(212, 175, 90, 0.05); }

.hx-board {
    display: flex;
    flex-direction: column;
    padding: 4px 10px;
    margin: 0;
    list-style: none;
}

.hx-board li {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 9px 6px;
    border-bottom: 1px solid var(--hx-line);
    transition: background var(--hx-tr);
}
.hx-board li:last-child { border-bottom: none; }
.hx-board li:hover { background: rgba(212, 175, 90, 0.04); }

.hx-board li.medal-1 { background: linear-gradient(90deg, rgba(232, 197, 106, 0.08), transparent 65%); }
.hx-board li.medal-2 { background: linear-gradient(90deg, rgba(185, 192, 205, 0.06), transparent 65%); }
.hx-board li.medal-3 { background: linear-gradient(90deg, rgba(181, 126, 78, 0.06), transparent 65%); }

.hx-board .rk {
    flex-shrink: 0;
    width: 28px;
    height: 32px;
    display: grid;
    place-items: center;
    background: var(--hx-line-light);
    clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%);
}
.hx-board .rk i {
    width: calc(100% - 2.5px);
    height: calc(100% - 2.5px);
    display: grid;
    place-items: center;
    font-style: normal;
    font-family: var(--hx-font-display);
    font-size: 11px;
    font-weight: 800;
    color: var(--hx-text-2);
    background: linear-gradient(160deg, #241a0d 0%, #140d06 100%);
    clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%);
}
.hx-board li.medal-1 .rk { background: var(--hx-medal-1); }
.hx-board li.medal-1 .rk i { color: var(--hx-medal-1); }
.hx-board li.medal-2 .rk { background: var(--hx-medal-2); }
.hx-board li.medal-2 .rk i { color: var(--hx-medal-2); }
.hx-board li.medal-3 .rk { background: var(--hx-medal-3); }
.hx-board li.medal-3 .rk i { color: var(--hx-medal-3); }

.hx-board .who {
    flex: 1;
    min-width: 0;
}

.hx-board .line1 {
    display: flex;
    align-items: baseline;
    gap: 8px;
    min-width: 0;
}

.hx-board .flag {
    flex-shrink: 0;
    align-self: center;
    width: 15px;
    height: 11px;
    border-radius: 2px;
    box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.4);
}
.flag-shinsoo { background: linear-gradient(180deg, #4f78ab, #35608f); }
.flag-chunjo  { background: linear-gradient(180deg, #c19a3e, #9a7527); }
.flag-jinno   { background: linear-gradient(180deg, #a8493a, #84392e); }

.hx-board .race {
    flex-shrink: 0;
    align-self: center;
    width: 20px;
    height: 20px;
    border-radius: 3px;
    border: 1px solid var(--hx-line-light);
    object-fit: cover;
}
.hx-board li.medal-1 .race { border-color: var(--hx-medal-1); }
.hx-board li.medal-2 .race { border-color: var(--hx-medal-2); }
.hx-board li.medal-3 .race { border-color: var(--hx-medal-3); }

.hx-board .name {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.03em;
    color: var(--hx-text-1);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.hx-board .guild {
    font-size: 10px;
    color: var(--hx-text-4);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.hx-board .lvl {
    flex-shrink: 0;
    margin-left: auto;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.08em;
    color: var(--hx-text-3);
}
.hx-board li.medal-1 .lvl { color: var(--hx-gold); }

.hx-board .bar {
    height: 3px;
    margin-top: 7px;
    background: var(--hx-bg-inset);
    border-radius: 3px;
    overflow: hidden;
    box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.6);
}
.hx-board .bar i {
    display: block;
    height: 100%;
    width: 0;
    border-radius: 3px;
    background: linear-gradient(90deg, var(--hx-gold-dark), var(--hx-gold) 70%, var(--hx-gold-light));
    animation: hx-bar-grow 1.4s cubic-bezier(0.22, 0.8, 0.3, 1) forwards;
}
.hx-board li:nth-child(1) .bar i { animation-delay: 0.15s; }
.hx-board li:nth-child(2) .bar i { animation-delay: 0.25s; }
.hx-board li:nth-child(3) .bar i { animation-delay: 0.35s; }
.hx-board li:nth-child(4) .bar i { animation-delay: 0.45s; }
.hx-board li:nth-child(5) .bar i { animation-delay: 0.55s; }

.hx-news-box {
    padding: 4px 18px 8px;
}

.hx-news-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 12px 0 10px;
}

.hx-news-head h2 {
    margin: 0;
    font-size: 17px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.hx-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--hx-line);
    margin-bottom: 4px;
}

.hx-tabs a {
    padding: 6px 13px;
    font-size: 9.5px;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--hx-text-3);
    border: 1px solid var(--hx-line);
    border-radius: var(--hx-r-sm);
    transition: all var(--hx-tr);
}
.hx-tabs a:hover { color: var(--hx-gold); border-color: var(--hx-line-gold); }
.hx-tabs a.active { color: var(--hx-gold); border-color: var(--hx-line-gold); background: rgba(212, 175, 90, 0.07); }

.hx-news-list {
    display: flex;
    flex-direction: column;
}

.hx-news-row {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 4px;
    border-bottom: 1px solid var(--hx-line);
    transition: background var(--hx-tr);
}
.hx-news-row:last-child { border-bottom: none; }
.hx-news-row:hover { background: rgba(212, 175, 90, 0.03); }

.hx-news-row .body { flex: 1; min-width: 0; }

.hx-news-row .title {
    font-size: 13.5px;
    font-weight: 700;
    color: var(--hx-text-1);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.hx-news-row .title a { color: inherit; }
.hx-news-row .title a:hover { color: var(--hx-gold-light); }

.hx-news-row .excerpt {
    font-size: 11.5px;
    color: var(--hx-text-4);
    line-height: 1.55;
    margin-top: 2px;
}
.hx-news-row .excerpt p { margin: 0 0 .5em; }
.hx-news-row .excerpt p:last-child { margin-bottom: 0; }
.hx-news-row .excerpt ul { margin: 0 0 .5em 1.2em; }
.hx-news-row .excerpt ul:last-child { margin-bottom: 0; }
.hx-news-row .excerpt h4 { margin: .7em 0 .25em; font-size: .8rem; letter-spacing: .1em; text-transform: uppercase; color: var(--hx-gold); }
.hx-news-row .excerpt a { color: var(--hx-gold-light); }
.hx-news-row .excerpt strong { color: var(--hx-gold-light); }

.hx-news-empty {
    justify-content: center;
    font-size: 11.5px;
    font-style: italic;
    letter-spacing: 0.06em;
    color: var(--hx-text-4);
}

.hx-news-row .date {
    flex-shrink: 0;
    font-size: 10.5px;
    font-weight: 600;
    letter-spacing: 0.08em;
    color: var(--hx-text-4);
}

.hx-info { display: flex; flex-direction: column; }
.hx-info li {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 6px 0;
    border-bottom: 1px dashed var(--hx-line);
    font-size: 12px;
}
.hx-info li:last-child { border-bottom: none; }
.hx-info .k { color: var(--hx-text-3); }
.hx-info .v { color: var(--hx-text-1); font-weight: 600; }
.hx-info .v.on   { color: var(--hx-green); }
.hx-info .v.gold { color: var(--hx-gold); }

.hx-discord .hx-panel-body { text-align: center; }
.hx-discord p { font-size: 11.5px; color: var(--hx-text-3); margin: 0 0 12px; }

.hx-discord-ico {
    position: relative;
    display: inline-grid;
    place-items: center;
    width: 46px;
    height: 46px;
    margin-bottom: 10px;
    color: var(--hx-gold);
    background: linear-gradient(160deg, #2b1e0e 0%, #150e06 100%);
    border: 1px solid rgba(212, 175, 90, 0.25);
    border-radius: 50%;
    box-shadow: 0 0 16px rgba(212, 175, 90, 0.18), inset 0 1px 0 rgba(255, 240, 200, 0.08);
}

.hx-discord-ico::before {
    content: '';
    position: absolute;
    inset: -3px;
    padding: 2px;
    border-radius: 50%;
    background: conic-gradient(from 0deg,
        transparent 0%,
        rgba(212, 175, 90, 0.05) 55%,
        var(--hx-gold) 78%,
        var(--hx-gold-light) 82%,
        transparent 92%);
    -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;
    animation: hx-spin 7s linear infinite;
}
.hx-discord-ico svg { width: 24px; height: 24px; }

.hx-totop {
    display: flex;
    justify-content: center;
    margin-bottom: -1px;
}
.hx-totop a {
    display: grid;
    place-items: center;
    width: 34px;
    height: 34px;
    font-family: var(--hx-font-display);
    font-size: 13px;
    font-weight: 800;
    color: var(--hx-text-3);
    border: 1px solid var(--hx-line);
    border-bottom: none;
    border-radius: 50% 50% 0 0;
    background: var(--hx-bg-0);
    transition: color var(--hx-tr);
}
.hx-totop a:hover { color: var(--hx-gold); }
.hx-totop a span { display: block; transition: transform 0.8s ease; }
.hx-totop a:hover span { transform: rotateY(360deg); }

.hx-footer {
    border-top: 1px solid var(--hx-line);
    background: var(--hx-bg-inset);
}

.hx-footer-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 16px 0;
    flex-wrap: wrap;
}

.hx-footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 2px 0;
}
.hx-footer-links a {
    position: relative;
    font-size: 10.5px;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--hx-text-3);
    transition: color var(--hx-tr);
}
.hx-footer-links a + a { margin-left: 34px; }
.hx-footer-links a + a::before {
    content: '⬡';
    position: absolute;
    left: -21px;
    top: 50%;
    transform: translateY(-52%);
    font-size: 8px;
    color: var(--hx-gold-dark);
}
.hx-footer-links a:hover { color: var(--hx-gold); }

.hx-footer-social { display: flex; gap: 9px; }
.hx-footer-social a {
    display: grid;
    place-items: center;
    width: 30px;
    height: 34px;
    color: var(--hx-text-3);
    background: var(--hx-bg-3);
    clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%);
    transition: all var(--hx-tr);
}
.hx-footer-social a:hover {
    color: #2a1d07;
    background: var(--hx-grad-gold);
    transform: translateY(-2px);
}
.hx-footer-social svg { width: 14px; height: 14px; }

.hx-footer-copy {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
    padding: 12px 0 18px;
    border-top: 1px solid var(--hx-line);
    font-size: 10.5px;
    color: var(--hx-text-4);
}
.hx-footer-copy b { color: var(--hx-gold-dark); }

@keyframes hx-pulse {
    0%, 100% { opacity: 1; }
    50%      { opacity: 0.4; }
}

.hx-dot {
    display: inline-block;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--hx-green);
    box-shadow: 0 0 7px var(--hx-green);
    animation: hx-pulse 2s ease-in-out infinite;
}

@media (max-width: 1080px) {
    .hx-main { grid-template-columns: 260px 1fr; }
}

@media (max-width: 860px) {
    .hx-banner-inner { flex-direction: column; text-align: center; padding-bottom: 120px; }
    .hx-banner-brand { flex-direction: column; gap: 10px; }
    .hx-banner-side { align-items: center; }

    .hx-main.hx-deck { margin-top: -90px; }
    .hx-deckbar { flex-wrap: wrap; }
    .hx-seg { flex: 1 1 40%; }

    .hx-main { grid-template-columns: 1fr; }
    .hx-main .hx-col-side { order: 2; }

    .hx-topnav-inner { overflow-x: auto; justify-content: flex-start; }
    .hx-topnav a { padding: 13px 12px; white-space: nowrap; }
}

@media (max-width: 520px) {
    .hx-news-row { flex-wrap: wrap; }
    .hx-news-row .excerpt { white-space: normal; }
    .hx-footer-bar, .hx-footer-copy { flex-direction: column; text-align: center; justify-content: center; }
    .hx-footer-links { justify-content: center; }
}

::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: var(--hx-bg-0); }
::-webkit-scrollbar-thumb { background: var(--hx-bg-4); border-radius: 10px; border: 2px solid var(--hx-bg-0); }
::-webkit-scrollbar-thumb:hover { background: var(--hx-gold-dark); }

::selection { background: rgba(212, 175, 90, 0.3); color: var(--hx-text-1); }

.home-view[hidden] { display: none !important; }

.dl-main { display: flex; align-items: center; gap: 20px; padding: 22px 20px; border-bottom: 1px solid var(--hx-line); flex-wrap: wrap; }
.dl-gem { flex-shrink: 0; display: grid; place-items: center; width: 56px; height: 56px; color: var(--hx-gold); border: 1px solid var(--hx-line-light); transform: rotate(45deg); background: var(--hx-bg-3); }
.dl-gem svg { width: 22px; height: 22px; transform: rotate(-45deg); }
.dl-info { flex: 1; min-width: 180px; }
.dl-info h3 { font-size: 1.25rem; margin-bottom: 4px; }
.dl-info p { font-size: .85rem; color: var(--hx-text-3); }
.dl-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.dl-req { display: grid; grid-template-columns: 1fr 1fr; }
.dl-col { padding: 20px; }
.dl-col + .dl-col { border-left: 1px solid var(--hx-line); }
.dl-col h4 { font-size: .7rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--hx-gold); margin-bottom: 14px; }
.dl-col ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.dl-col li { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; font-size: .85rem; }
.dl-col li span { color: var(--hx-text-3); }
.dl-col li strong { font-weight: 600; color: var(--hx-text-1); text-align: right; }
@media (max-width: 640px) {
    .dl-req { grid-template-columns: 1fr; }
    .dl-col + .dl-col { border-left: none; border-top: 1px solid var(--hx-line); }
}

.hx-rk-main { grid-template-columns: 1fr; }

.hx-rk-tabs {
    display: flex;
    gap: 8px;
    margin-bottom: 14px;
}

.hx-rk-tab {
    flex: 1;
    padding: 12px 14px;
    font-family: inherit;
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .16em;
    text-transform: uppercase;
    color: var(--hx-text-3);
    background: var(--hx-bg-2);
    border: 1px solid var(--hx-line);
    border-radius: 6px;
    cursor: pointer;
    transition: color var(--hx-tr), border-color var(--hx-tr), background var(--hx-tr);
}
.hx-rk-tab:hover { color: var(--hx-text-2); border-color: var(--hx-line-light); }
.hx-rk-tab.active {
    color: var(--hx-gold-light);
    border-color: var(--hx-line-light);
    background: linear-gradient(180deg, rgba(212,175,90,.12), transparent), var(--hx-bg-2);
}

.rk-hidden { display: none; }

.hx-rk-empty { padding: 16px 18px; color: var(--hx-text-3); font-size: .85rem; margin: 0; }

.hx-board--full li { padding: 10px 8px; }

.hx-board .line2 {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 3px;
    font-size: .74rem;
    color: var(--hx-text-3);
}

.hx-gender { font-style: normal; font-weight: 700; font-size: .68rem; }
.hx-gender--m { color: #7fa8d8; }
.hx-gender--f { color: #d88fa8; }

.hx-rk-time { color: var(--hx-text-4); }

.hx-rk-level {
    flex-shrink: 0;
    align-self: center;
    font-family: var(--hx-font-display);
    font-size: .8rem;
    font-weight: 800;
    color: var(--hx-gold);
    white-space: nowrap;
}
.hx-rk-level small { font-size: .62rem; font-weight: 600; color: var(--hx-text-3); }

@media (max-width: 560px) {
    .hx-board--full .line2 { gap: 6px; }
    .hx-rk-level { font-size: .72rem; }
}
.hx-lang { position: relative; cursor: pointer; }
.lang-menu {
    display: none; position: absolute; top: calc(100% + 8px); right: 0; z-index: 60;
    min-width: 76px; background: #14100a; border: 1px solid rgba(201,163,91,.35);
    border-radius: 8px; overflow: hidden;
}
.hx-lang:hover .lang-menu { display: block; }
.lang-menu a { display: block; padding: 7px 12px; font-size: 11px; font-weight: 600; color: #b9a888; text-decoration: none; text-align: center; }
.lang-menu a:hover { color: #ffe9b0; background: rgba(255,255,255,.05); }
.lang-menu a.is-active { color: #e6c878; }
