/* ============================================================
   R2 Prime вЂ” РѕР±С‰РёР№ СЃС‚РёР»СЊ СЃР°Р№С‚Р° РІ РґСѓС…Рµ Р»Р°СѓРЅС‡РµСЂР°:
   РЅРѕС‡РЅРѕРµ РЅРµР±Рѕ, СЃС‚РµРєР»СЏРЅРЅС‹Рµ РїР°РЅРµР»Рё, Р·РѕР»РѕС‚РѕР№ Рё РіРѕР»СѓР±РѕР№ Р°РєС†РµРЅС‚С‹
   ============================================================ */

:root {
    --bg0:        #070a12;
    --panel:      rgba(12, 18, 32, .62);
    --panel-2:    rgba(255, 255, 255, .035);
    --panel-line: rgba(255, 255, 255, .09);
    --text:       #eaeef7;
    --muted:      #9aa6bd;
    --accent:     #e7b75f;
    --accent-2:   #8aa8ff;
    --ok:         #5ad19a;
    --warn:       #f0c060;
    --danger:     #ff7070;
    --radius:     16px;
    --font:       "Segoe UI Variable Text", "Segoe UI", system-ui, -apple-system, sans-serif;

    /* СЃС‚Р°СЂС‹Рµ РёРјРµРЅР° - РЅР° РЅРёС… СЃСЃС‹Р»Р°СЋС‚СЃСЏ inline-СЃС‚РёР»Рё СЃС‚СЂР°РЅРёС† */
    --parchment-100: var(--text);
    --parchment-300: var(--muted);
    --ember-300:     var(--accent);
    --ember-500:     var(--accent);
}

* { box-sizing: border-box; }
html { color-scheme: dark; }

body {
    margin: 0;
    min-height: 100vh;
    background: var(--bg0);
    color: var(--text);
    font: 15px/1.55 var(--font);
    -webkit-font-smoothing: antialiased;
}

/* ---------- С„РѕРЅ РєР°Рє РІ Р»Р°СѓРЅС‡РµСЂРµ ---------- */
body::before {
    content: ""; position: fixed; inset: 0; z-index: -2;
    background:
        radial-gradient(1100px 620px at 82% -12%, rgba(120, 140, 255, .30), transparent 62%),
        radial-gradient(900px 520px at 6% 108%, rgba(231, 183, 95, .22), transparent 60%),
        radial-gradient(640px 420px at 48% 42%, rgba(70, 90, 170, .18), transparent 70%),
        linear-gradient(160deg, #0b1020 0%, #090c17 52%, #150d1c 100%);
}
body::after {   /* Р°СЂС‚ РёР· Р»Р°СѓРЅС‡РµСЂР° СЃРїСЂР°РІР°, Р»РµРІС‹Р№ Рё РЅРёР¶РЅРёР№ РєСЂР°СЏ РїР»Р°РІРЅРѕ СЂР°СЃС‚РІРѕСЂСЏСЋС‚СЃСЏ */
    content: ""; position: fixed; top: 0; right: 0; bottom: 0; width: min(900px, 75vw); z-index: -1; pointer-events: none;
    background: url("/assets/bg.png") right top / cover no-repeat;
    opacity: .55;
    -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 45%), linear-gradient(180deg, #000 55%, transparent 100%);
    -webkit-mask-composite: source-in;
    mask-image: linear-gradient(90deg, transparent 0%, #000 45%), linear-gradient(180deg, #000 55%, transparent 100%);
    mask-composite: intersect;
}

h1, h2, h3, .display {
    font-weight: 700;
    color: var(--text);
    line-height: 1.25;
    margin: 0 0 .5em;
    letter-spacing: .01em;
}
h1 { font-size: 2.2rem; }
h2 { font-size: 1.05rem; letter-spacing: .22em; text-transform: uppercase; color: var(--accent); }
h3 { font-size: 1.1rem; }
.display { color: var(--accent); }

a { color: var(--accent); text-decoration: none; }
a:hover { color: #f6d07f; }

.wrap { max-width: 1760px; margin: 0 auto; padding: 0 clamp(16px, 3vw, 56px); }

/* ---------- С€Р°РїРєР° ---------- */
.site-header {
    position: sticky; top: 0; z-index: 10;
    background: rgba(8, 12, 24, .72);
    border-bottom: 1px solid var(--panel-line);
    backdrop-filter: blur(16px) saturate(1.15);
    -webkit-backdrop-filter: blur(16px) saturate(1.15);
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-top: 12px; padding-bottom: 12px; }
.logo { display: inline-flex; align-items: center; gap: 10px; color: var(--accent); white-space: nowrap; }
.logo:hover { color: var(--accent); }
.logo .brand-name { font-weight: 700; letter-spacing: .32em; font-size: 15px; color: var(--text); }
.logo .brand-sub { font-size: 11px; letter-spacing: .28em; color: var(--muted); padding-left: 10px; border-left: 1px solid var(--panel-line); }
.nav-links { display: flex; gap: 6px; flex-wrap: wrap; font-size: .92rem; }
.nav-links a { color: var(--muted); padding: 7px 12px; border-radius: 999px; transition: .15s; }
.nav-links a:hover, .nav-links a.active { color: var(--text); background: rgba(255, 255, 255, .07); }
.nav-links a.active { box-shadow: inset 0 0 0 1px rgba(231, 183, 95, .35); }
.nav-actions { display: flex; gap: 10px; align-items: center; white-space: nowrap; }
.nav-actions .user-pill {
    display: inline-flex; align-items: center; gap: 8px; height: 38px; padding: 0 12px 0 6px;
    border-radius: 999px; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .12); font-weight: 600; font-size: .9rem;
}
.nav-actions .user-pill::before {
    content: attr(data-initial); width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center;
    background: linear-gradient(140deg, #f2c774, #c98d2a); color: #2a1c05; font-weight: 800; font-size: 12px; text-transform: uppercase;
}

/* ---------- РєРЅРѕРїРєРё ---------- */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    height: 38px; padding: 0 16px; border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, .14); background: rgba(255, 255, 255, .05);
    color: var(--text); font: 600 .9rem var(--font); cursor: pointer; transition: .15s; white-space: nowrap;
}
.btn:hover { background: rgba(255, 255, 255, .11); border-color: rgba(255, 255, 255, .26); color: var(--text); }
.btn-primary {
    border: 0; color: #2a1c05; font-weight: 800; letter-spacing: .06em;
    background: linear-gradient(180deg, #f6d07f 0%, #e3a940 55%, #c98d2a 100%);
    box-shadow: 0 8px 24px rgba(231, 183, 95, .25), inset 0 1px 0 rgba(255, 255, 255, .55);
}
.btn-primary:hover { color: #2a1c05; filter: brightness(1.05); transform: translateY(-1px); background: linear-gradient(180deg, #f6d07f 0%, #e3a940 55%, #c98d2a 100%); }
.btn:disabled { opacity: .45; cursor: default; transform: none; }

/* ---------- РїР°РЅРµР»Рё ---------- */
.panel {
    background: var(--panel);
    border: 1px solid var(--panel-line);
    border-radius: var(--radius);
    backdrop-filter: blur(16px) saturate(1.15);
    -webkit-backdrop-filter: blur(16px) saturate(1.15);
    box-shadow: 0 18px 50px rgba(0, 0, 0, .35);
    padding: 20px 22px;
}
/* СЂР°РЅСЊС€Рµ - "РєРѕРІР°РЅС‹Рµ" СѓРіРѕР»РєРё; С‚РµРїРµСЂСЊ РјСЏРіРєРѕРµ Р·РѕР»РѕС‚РѕРµ СЃРІРµС‡РµРЅРёРµ РїРѕ РєСЂР°СЋ */
.bracket-frame { position: relative; padding: 20px 22px; box-shadow: 0 18px 50px rgba(0, 0, 0, .35), inset 0 0 0 1px rgba(231, 183, 95, .22); }

/* ---------- С„РѕСЂРјС‹ ---------- */
.form-field { margin-bottom: 14px; }
.form-field label { display: block; font-size: 12px; color: var(--muted); margin-bottom: 6px; letter-spacing: .04em; }
.form-field input, .form-field select, .form-field textarea {
    width: 100%; height: 42px; padding: 0 14px; border-radius: 10px; outline: none;
    background: rgba(6, 10, 22, .55); border: 1px solid rgba(255, 255, 255, .12);
    color: var(--text); font: .95rem var(--font); transition: .15s;
}
.form-field input::placeholder { color: #66718a; }
.form-field input:focus { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(231, 183, 95, .16); }

.auth-shell { max-width: 420px; margin: 60px auto; padding: 0 20px; }
.auth-shell .panel, .auth-shell > form, .auth-shell > div { border-radius: var(--radius); }

.msg-error, .msg-ok { padding: 11px 14px; border-radius: 12px; font-size: .9rem; margin-bottom: 16px; }
.msg-error { background: rgba(255, 112, 112, .10); border: 1px solid rgba(255, 112, 112, .45); color: #ffc2c2; }
.msg-ok    { background: rgba(90, 209, 154, .10); border: 1px solid rgba(90, 209, 154, .45); color: #bff0d6; }

/* ---------- РїРѕРґРІР°Р» ---------- */
.site-footer { border-top: 1px solid var(--panel-line); margin-top: 60px; padding: 24px 0; color: var(--muted); font-size: .85rem; background: rgba(6, 9, 18, .5); }
.site-footer .wrap { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; }

/* ============================================================
   Р‘Р°Р·Р° Р·РЅР°РЅРёР№
   ============================================================ */
.kb-tabs { display: flex; gap: 6px; flex-wrap: wrap; margin: 6px 0 22px; }
.kb-tab {
    padding: 8px 16px; border-radius: 999px; font-weight: 600; font-size: .9rem;
    color: var(--muted); background: rgba(255, 255, 255, .04); border: 1px solid rgba(255, 255, 255, .08);
}
.kb-tab:hover { color: var(--text); background: rgba(255, 255, 255, .08); }
.kb-tab.active { color: #2a1c05; background: linear-gradient(180deg, #f6d07f, #d9a241); border-color: transparent; }
.kb-tab.soon { opacity: .45; pointer-events: none; }

.kb-loc { margin-bottom: 28px; }
.kb-loc-head { display: flex; align-items: baseline; gap: 12px; margin-bottom: 14px; }
.kb-loc-head .sub { color: var(--muted); font-size: .85rem; }

.mon-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 14px; }
.mon-card {
    display: flex; gap: 14px; align-items: flex-start; padding: 14px 16px; border-radius: 14px; color: var(--text);
    background: var(--panel-2); border: 1px solid rgba(255, 255, 255, .07); transition: .18s;
}
.mon-card:hover { color: var(--text); background: rgba(255, 255, 255, .07); border-color: rgba(231, 183, 95, .35); transform: translateY(-1px); }
.mon-card img { width: 56px; height: 56px; border-radius: 10px; flex: none; box-shadow: 0 0 0 1px rgba(255, 255, 255, .12); image-rendering: auto; }
.mon-card .nm { font-weight: 700; }
.mon-card .meta { font-size: .82rem; color: var(--muted); }
.tag { display: inline-block; font-size: 11px; letter-spacing: .08em; padding: 2px 8px; border-radius: 999px; margin-left: 6px; vertical-align: 2px; }
.tag-boss { color: #2a1c05; background: linear-gradient(180deg, #ffb4a0, #e0664a); }

.mon-detail { display: grid; grid-template-columns: 360px minmax(0, 1fr); gap: 22px; align-items: start; }
.mon-hero { text-align: center; }
.mon-hero .stage {
    border-radius: 14px; margin-bottom: 14px; min-height: 240px; display: grid; place-items: center;
    background: radial-gradient(closest-side, rgba(138, 168, 255, .20), transparent 70%), rgba(6, 10, 22, .45);
    border: 1px solid rgba(255, 255, 255, .07);
}
.mon-hero .stage img { max-width: 100%; max-height: 280px; }
.stats { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; text-align: left; }
.stat { padding: 10px 12px; border-radius: 10px; background: var(--panel-2); border: 1px solid rgba(255, 255, 255, .06); }
.stat .k { font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.stat .v { font-weight: 700; font-size: 1.05rem; }
.where { display: flex; gap: 10px; align-items: center; padding: 12px 14px; border-radius: 12px; background: rgba(138, 168, 255, .08); border: 1px solid rgba(138, 168, 255, .22); margin-bottom: 16px; }
.where .dot { width: 10px; height: 10px; border-radius: 50%; background: var(--accent-2); box-shadow: 0 0 10px var(--accent-2); flex: none; }

.drop-table { width: 100%; border-collapse: separate; border-spacing: 0 6px; }
.drop-table th { text-align: left; font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); font-weight: 600; padding: 0 10px; }
.drop-table td { background: var(--panel-2); padding: 8px 10px; }
.drop-table td:first-child { border-radius: 10px 0 0 10px; width: 52px; }
.drop-table td:last-child { border-radius: 0 10px 10px 0; text-align: right; white-space: nowrap; }
.drop-table img { width: 40px; height: 40px; border-radius: 8px; display: block; box-shadow: 0 0 0 1px rgba(255, 255, 255, .12); }
.chance { display: inline-block; min-width: 64px; text-align: right; font-weight: 700; }
.chance.hi { color: var(--ok); } .chance.mid { color: var(--warn); } .chance.lo { color: var(--muted); }
.bar { height: 4px; border-radius: 4px; background: rgba(255, 255, 255, .08); margin-top: 5px; overflow: hidden; }
.bar i { display: block; height: 100%; background: linear-gradient(90deg, #7d9bff, #e7b75f); }
.note-muted { color: var(--muted); font-size: .85rem; }

/* ---------- Р±Р°Р·Р° Р·РЅР°РЅРёР№: РїРѕРёСЃРє, СЂРµРіРёРѕРЅС‹, РїСЂРµРґРјРµС‚ ---------- */
.kb-search { display: flex; gap: 10px; margin: 4px 0 18px; }
.kb-search input {
    flex: 1; min-width: 0; padding: 11px 14px; border-radius: 12px; color: var(--text); font: inherit;
    background: rgba(255, 255, 255, .05); border: 1px solid var(--panel-line); outline: none;
}
.kb-search input:focus { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(231, 183, 95, .16); }
.kb-layout { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: 22px; align-items: start; }
.kb-side { padding: 12px; border-radius: var(--radius); background: var(--panel); border: 1px solid var(--panel-line); }
.kb-side-title { font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin: 8px 6px 6px; }
.kb-side-title:first-child { margin-top: 2px; }
.kb-place { display: flex; justify-content: space-between; gap: 10px; padding: 7px 10px; border-radius: 10px; color: var(--text); text-decoration: none; font-size: .92rem; }
.kb-place span { color: var(--muted); font-size: .8rem; }
.kb-place:hover { background: rgba(255, 255, 255, .06); }
.kb-place.active { background: rgba(231, 183, 95, .16); color: var(--accent); }
.ic-empty { width: 56px; height: 56px; border-radius: 10px; flex: none; background: rgba(255, 255, 255, .05); box-shadow: 0 0 0 1px rgba(255, 255, 255, .08); }
.mon-card img.item-ic { width: 48px; height: 48px; }
a.where { color: inherit; text-decoration: none; }
a.where:hover { border-color: rgba(138, 168, 255, .5); }
.tag-inv { color: #0f2a1d; background: linear-gradient(180deg, #9ff0c6, #4fbf8c); }
.tag-ev { margin-left: 0; color: #24153a; background: linear-gradient(180deg, #d8c2ff, #9a7ae0); }
/* РёРєРѕРЅРєРё РґРѕР±С‹С‡Рё РІ РєР°СЂС‚РѕС‡РєР°С… РјРѕРЅСЃС‚СЂРѕРІ: РЅР°РІРµРґРµРЅРёРµ - РЅР°Р·РІР°РЅРёРµ, РєР»РёРє - РїСЂРµРґРјРµС‚ */
.mon-card .nm { color: var(--text); text-decoration: none; display: block; }
.mon-card .nm:hover { color: var(--accent); }
.mon-card .mon-pic { flex: none; }
.drop-icons { display: flex; flex-wrap: wrap; gap: 4px; margin-top: 7px; }
.drop-ic { position: relative; width: 30px; height: 30px; border-radius: 7px; display: grid; place-items: center; background: rgba(255, 255, 255, .05); box-shadow: 0 0 0 1px rgba(255, 255, 255, .10); text-decoration: none; color: var(--muted); font-size: 12px; }
.drop-ic img { width: 30px; height: 30px; border-radius: 7px; display: block; box-shadow: none !important; }
.drop-ic:hover { box-shadow: 0 0 0 1px var(--accent); transform: translateY(-1px); z-index: 3; }
.drop-ic:hover::after {
    content: attr(data-name); position: absolute; left: 50%; bottom: calc(100% + 6px); transform: translateX(-50%);
    white-space: nowrap; padding: 4px 8px; border-radius: 8px; font-size: 12px; color: var(--text);
    background: rgba(10, 14, 26, .96); border: 1px solid rgba(231, 183, 95, .45); pointer-events: none;
}
.drop-more { align-self: center; font-size: 12px; color: var(--muted); padding: 0 4px; }
.drop-table .drop-icons img { width: 30px; height: 30px; border-radius: 7px; box-shadow: none; }
.kb-more { margin-top: 12px; }
.kb-more summary { cursor: pointer; color: var(--muted); padding: 8px 0; }
.kb-more summary:hover { color: var(--text); }
.item-head { display: flex; gap: 16px; align-items: flex-start; }
.item-head img { width: 64px; height: 64px; border-radius: 12px; flex: none; image-rendering: pixelated; box-shadow: 0 0 0 1px rgba(255, 255, 255, .14); }
.item-desc { color: var(--muted); font-size: .92rem; white-space: normal; }

/* ---------- РЅРѕРІРѕСЃС‚Рё ---------- */
.news-card { display: block; margin-bottom: 12px; color: var(--text); text-decoration: none; transition: .15s; }
.news-card:hover { border-color: rgba(231, 183, 95, .45); transform: translateY(-1px); }
.news-date { font-size: 12px; letter-spacing: .08em; color: var(--muted); }
.news-text { color: var(--muted); }
.news-full { max-width: 820px; }
.news-body { line-height: 1.7; }

/* ---------- Р±Р°Р»Р°РЅСЃ Рё РїРѕРїРѕР»РЅРµРЅРёРµ ---------- */
.balance-pill { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 999px; background: rgba(231, 183, 95, .12); border: 1px solid rgba(231, 183, 95, .35); color: var(--accent); font-weight: 700; text-decoration: none; white-space: nowrap; }
.balance-big { font-size: 2.2rem; font-weight: 800; color: var(--accent); line-height: 1.1; }
.pay-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 10px; margin: 14px 0; }
.pay-opt { position: relative; }
.pay-opt input { position: absolute; opacity: 0; }
.pay-opt span { display: block; padding: 14px 10px; text-align: center; border-radius: 12px; background: var(--panel-2); border: 1px solid var(--panel-line); cursor: pointer; font-weight: 700; }
.pay-opt input:checked + span { border-color: var(--accent); background: rgba(231, 183, 95, .14); color: var(--accent); }

@media (max-width: 860px) {
    .site-header .wrap { flex-wrap: wrap; }
    .nav-links { order: 3; width: 100%; }
    .mon-detail { grid-template-columns: 1fr; }
    .kb-layout { grid-template-columns: 1fr; }
    .kb-side { position: static; max-height: none; }
}

/* ================= Р‘Р°Р·Р° Р·РЅР°РЅРёР№: РѕР±РЅРѕРІР»РµРЅРёРµ 17.10.2026 ================= */
/* РєР°СЂС‚РѕС‡РєРё Рё РїР»Р°С€РєРё РјРµРЅРµРµ РїСЂРѕР·СЂР°С‡РЅС‹Рµ, С‡С‚РѕР±С‹ С‚РµРєСЃС‚ С‡РёС‚Р°Р»СЃСЏ РЅР° С„РѕРЅРµ */
.mon-card { background: rgba(20, 24, 38, .94); border-color: rgba(255, 255, 255, .12); }
.mon-card:hover { background: rgba(30, 36, 56, .97); }
.kb-side, .drop-table td, .stat, .where, .kb-more, .quest-chip { background-color: rgba(18, 22, 36, .93); }
.kb-side { backdrop-filter: none; -webkit-backdrop-filter: none; }
.mon-card .meta { color: #b9c0d4; }

/* СЂР°Р·РґРµР»С‹ Р±Р°Р·С‹ Р·РЅР°РЅРёР№ */
.kb-tabs { margin-bottom: 18px; }
.kb-tab .cnt, .loc-sub .cnt { font-size: .78em; opacity: .7; margin-left: 4px; font-weight: 600; }
.kb-filter { width: 100%; max-width: 420px; padding: 10px 14px; border-radius: 12px; color: var(--text); background: rgba(18, 22, 36, .93); border: 1px solid var(--panel-line); outline: none; margin: 0 0 14px; }
.loc-sub { margin: 20px 0 10px; font-size: 1.05rem; }

/* СЃРІРѕР№СЃС‚РІР° Р»РѕРєР°С†РёРё */
.loc-props { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 8px; margin: 12px 0 4px; }

/* СЂР°РЅРі РјРѕРЅСЃС‚СЂР° (A, B, C ... / РРјРµРЅРЅРѕР№ / Р‘РѕСЃСЃ / Р РµР№Рґ-Р±РѕСЃСЃ) */
.tag-rank { color: #1c2438; background: linear-gradient(180deg, #cfd8ff, #8aa2f0); letter-spacing: .04em; }
.tag-rank.rank-x { color: #2a1c05; background: linear-gradient(180deg, #ffd88a, #e0a040); }

/* С€РєР°Р»Р° С€Р°РЅСЃРѕРІ РєР°Рє РЅР° СЃР°Р№С‚Рµ РґРѕРЅРѕСЂР°: СЂРѕРјР± СЃРѕ Р·РЅР°РєРѕРј % Рё СЃР»РѕРІРµСЃРЅР°СЏ РѕС†РµРЅРєР° */
.grade { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; white-space: nowrap; }
.grade .gi { position: relative; width: 26px; height: 26px; display: inline-block; }
.grade .gi::before { content: ''; position: absolute; inset: 3px; transform: rotate(45deg); border-radius: 4px; background: var(--gc); box-shadow: 0 0 0 1px rgba(255, 255, 255, .35) inset, 0 2px 6px rgba(0, 0, 0, .5); }
.grade .gi i { position: absolute; inset: 0; display: grid; place-items: center; font-style: normal; font-size: 12px; font-weight: 800; color: #fff; text-shadow: 0 1px 2px rgba(0, 0, 0, .6); }
.grade.g0 { --gc: #b3392b; } .grade.g1 { --gc: #df6a47; } .grade.g2 { --gc: #e3c23a; } .grade.g3 { --gc: #6fbf4a; } .grade.g4 { --gc: #43a832; }
.grade.g0 { color: #e7857a; } .grade.g1 { color: #f0a088; } .grade.g2 { color: #efd56d; } .grade.g3 { color: #99d97c; } .grade.g4 { color: #7fd66c; }

/* СЂР°РјРєР° РёРєРѕРЅРєРё РїСЂРµРґРјРµС‚Р°: Р¶С‘Р»С‚Р°СЏ - Р±Р»Р°РіРѕР№, РєСЂР°СЃРЅР°СЏ - РїСЂРѕРєР»СЏС‚С‹Р№ */
.item-frame { display: block; width: 40px; height: 40px; border-radius: 8px; box-shadow: 0 0 0 1px rgba(255, 255, 255, .12); overflow: hidden; }
.item-frame img { width: 100%; height: 100%; display: block; border-radius: 0; box-shadow: none !important; }
.item-frame.isbless { box-shadow: 0 0 0 2px #f2c84b, 0 0 12px rgba(242, 200, 75, .55); }
.item-frame.isdamn  { box-shadow: 0 0 0 2px #d9473b, 0 0 12px rgba(217, 71, 59, .55); }
.drop-ic.isbless { box-shadow: 0 0 0 2px #f2c84b, 0 0 8px rgba(242, 200, 75, .55); }
.drop-ic.isdamn  { box-shadow: 0 0 0 2px #d9473b, 0 0 8px rgba(217, 71, 59, .55); }
.item-head .item-frame { width: 56px; height: 56px; }
.tag-bless { color: #3a2a05; background: linear-gradient(180deg, #ffe38a, #e9b835); }
.tag-damn  { color: #fff;    background: linear-gradient(180deg, #e8675c, #b52f25); }

/* Р·Р°РґР°РЅРёСЏ */
.quest-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.quest-chip { display: inline-flex; gap: 8px; align-items: baseline; padding: 8px 12px; border-radius: 10px; color: var(--text); text-decoration: none; border: 1px solid rgba(255, 255, 255, .12); }
.quest-chip:hover { border-color: rgba(231, 183, 95, .5); color: var(--accent); }
.quest-chip .ql { font-size: .78rem; color: var(--muted); }
.quest-props { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 8px; margin: 10px 0 6px; }
.quest-list { margin: 6px 0 12px 18px; padding: 0; line-height: 1.6; }
.reward-list { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.reward { display: inline-flex; align-items: center; gap: 10px; padding: 8px 12px; border-radius: 10px; background: rgba(18, 22, 36, .93); color: var(--text); text-decoration: none; border: 1px solid rgba(255, 255, 255, .1); }
.reward:hover { border-color: rgba(231, 183, 95, .5); }
.reward .item-frame { width: 36px; height: 36px; }
.kb-quest-filter { display: flex; gap: 10px; flex-wrap: wrap; margin: 0 0 14px; }
.kb-quest-filter input, .kb-quest-filter select { padding: 10px 12px; border-radius: 10px; color: var(--text); background: rgba(18, 22, 36, .95); border: 1px solid var(--panel-line); outline: none; min-width: 220px; }
.quest-table td:first-child { border-radius: 10px 0 0 10px; width: auto; }
.quest-table td:last-child { text-align: left; }
.stats.one { grid-template-columns: 1fr; }
/* Р»РѕРіРѕС‚РёРї СЃР°Р№С‚Р° */
.logo .brand-logo { display: block; height: 72px; width: auto; filter: drop-shadow(0 2px 10px rgba(231, 183, 95, .25)); transition: filter .2s, transform .2s; }
.logo:hover .brand-logo { filter: drop-shadow(0 2px 14px rgba(231, 183, 95, .5)); transform: translateY(-1px); }
.site-header .wrap { padding-top: 8px; padding-bottom: 8px; }

/* СЃРїРёСЃРѕРє Р»РѕРєР°С†РёР№: Р±РµР· РІРЅСѓС‚СЂРµРЅРЅРµР№ РїСЂРѕРєСЂСѓС‚РєРё, СЃ РіСЂСѓРїРїР°РјРё (СѓСЂРѕРІРЅРё РїРѕРґР·РµРјРµР»РёР№) */
.kb-group { margin: 1px 0; }
.kb-group > summary { display: flex; justify-content: space-between; gap: 10px; align-items: center; padding: 7px 10px; border-radius: 10px; cursor: pointer; list-style: none; font-size: .92rem; color: var(--text); }
.kb-group > summary::-webkit-details-marker { display: none; }
.kb-group > summary::before { content: '\25B8'; color: var(--muted); margin-right: 6px; transition: transform .15s; }
.kb-group[open] > summary::before { transform: rotate(90deg); }
.kb-group > summary > span { margin-left: auto; color: var(--muted); font-size: .8rem; }
.kb-group > summary:hover { background: rgba(255, 255, 255, .06); }
.kb-group-body { margin: 2px 0 6px 16px; padding-left: 8px; border-left: 1px solid var(--panel-line); }

/* РІР»РѕР¶РµРЅРЅС‹Р№ РІС‹Р±РѕСЂ (РћРєСЂРµСЃС‚РЅРѕСЃС‚Рё / РџРѕРґР·РµРјРµР»СЊСЏ) */
.kb-tabs.kb-sub { margin: -6px 0 18px; }
.kb-tabs.kb-sub .kb-tab { font-size: .85rem; padding: 6px 14px; }

/* РїР»Р°С€РєРё Р»РѕРєР°С†РёР№ СЃ РєР°СЂС‚РёРЅРєРѕР№ */
.loc-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 22px 26px; margin-bottom: 30px; }
.loc-card { display: block; text-decoration: none; color: var(--text); padding: 6px; border-radius: 12px; transition: background .15s, transform .15s; }
.loc-card:hover { background: rgba(231, 183, 95, .10); transform: translateY(-2px); }
.loc-pic { display: block; position: relative; aspect-ratio: 2 / 1; overflow: hidden; border-radius: 8px; border: 1px solid rgba(231, 183, 95, .45); background: linear-gradient(135deg, hsl(var(--h) 38% 22%), hsl(calc(var(--h) + 40) 40% 11%)); box-shadow: 0 0 0 3px rgba(18, 22, 36, .9); }
.loc-pic img { width: 100%; height: 100%; object-fit: cover; display: block; }
.loc-pic i { position: absolute; inset: 0; display: grid; place-items: center; font-style: normal; font-size: 3.2rem; font-weight: 800; color: rgba(255, 255, 255, .22); }
.loc-kind { display: block; margin: 12px 2px 2px; font-size: .8rem; color: var(--muted); }
.loc-name { display: block; margin: 0 2px; font-weight: 700; color: var(--accent); font-size: 1.05rem; }
.kb-back { margin: 2px 0 10px; }
.kb-back a { color: var(--muted); text-decoration: none; }
.kb-back a:hover { color: var(--accent); }
.kb-tabs.kb-levels { margin: 10px 0 16px; }
.loc-hero { margin: 0 0 16px; border-radius: 10px; overflow: hidden; border: 1px solid rgba(231, 183, 95, .35); max-height: 240px; }
.loc-hero img { width: 100%; max-height: 240px; object-fit: cover; display: block; }

/* РєР°СЂС‚РёРЅРєР° Р»РѕРєР°С†РёРё СЃ Р»РёСЃС‚Р°РЅРёРµРј СѓСЂРѕРІРЅРµР№ */
.loc-hero { position: relative; margin: 0 0 18px; max-height: none; }
.loc-hero img { width: 100%; height: clamp(180px, 26vw, 300px); object-fit: cover; display: block; max-height: none; }
.loc-hero::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(180deg, rgba(6,9,18,.55) 0%, rgba(6,9,18,0) 38%, rgba(6,9,18,0) 60%, rgba(6,9,18,.7) 100%); }
.loc-hero-title { position: absolute; z-index: 2; left: 18px; top: 14px; margin: 0; font-size: 1.35rem; color: #fff; text-shadow: 0 2px 8px rgba(0,0,0,.8); }
.loc-hero-level { position: absolute; z-index: 2; left: 0; right: 0; bottom: 12px; text-align: center; font-size: 1.15rem; font-weight: 700; color: #fff; text-shadow: 0 2px 8px rgba(0,0,0,.85); pointer-events: none; }
.loc-nav { position: absolute; z-index: 3; top: 0; bottom: 0; width: 22%; min-width: 64px; display: flex; align-items: flex-end; padding: 0 16px 12px; color: #fff; text-decoration: none; text-shadow: 0 2px 8px rgba(0,0,0,.85); gap: 8px; transition: background .15s; }
.loc-nav.prev { left: 0; justify-content: flex-start; }
.loc-nav.next { right: 0; justify-content: flex-end; }
.loc-nav:hover { background: linear-gradient(90deg, rgba(231,183,95,.22), transparent); }
.loc-nav.next:hover { background: linear-gradient(270deg, rgba(231,183,95,.22), transparent); }
.loc-nav .ar { font-size: 2rem; line-height: 1; align-self: center; margin-top: auto; margin-bottom: auto; opacity: .9; }
.loc-nav .tx { font-size: .95rem; }
.loc-nav:hover .ar, .loc-nav:hover .tx { color: var(--accent); }
@media (max-width: 640px) { .loc-nav .tx { display: none; } .loc-nav { width: 18%; padding: 0 10px; align-items: center; } }

/* ---------- РџРѕРґРґРµСЂР¶РєР°: С‡Р°С‚ Рё РѕР±СЂР°С‰РµРЅРёСЏ ---------- */
.sup-tabs { margin-bottom: 18px; }
.sup-dot { display: inline-block; min-width: 18px; padding: 0 6px; margin-left: 6px; border-radius: 999px; background: #d9473b; color: #fff; font-size: 11px; line-height: 18px; text-align: center; }
.sup-chat { max-width: 860px; padding: 0; overflow: hidden; }
.sup-chat-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 14px 18px; border-bottom: 1px solid var(--panel-line); }
.sup-online { font-size: .85rem; color: var(--muted); margin-top: 2px; }
.sup-online i { display: inline-block; width: 9px; height: 9px; border-radius: 50%; background: #6b7388; margin-right: 4px; }
.sup-online i.on { background: #5ad19a; box-shadow: 0 0 8px #5ad19a; }
.sup-msgs, .sup-thread { display: flex; flex-direction: column; gap: 10px; }
.sup-msgs { height: 420px; overflow-y: auto; padding: 16px 18px; background: rgba(8, 11, 20, .55); }
.sup-thread { max-width: 860px; margin: 16px 0; }
.sup-empty { margin: auto; text-align: center; color: var(--muted); max-width: 420px; }
.sup-msg { max-width: 82%; padding: 9px 13px; border-radius: 14px; background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .08); align-self: flex-start; }
.sup-msg.a0 { align-self: flex-end; background: rgba(231, 183, 95, .14); border-color: rgba(231, 183, 95, .35); }
.sup-msg.a2 { align-self: center; max-width: 92%; background: transparent; border: 0; color: var(--muted); font-size: .85rem; text-align: center; }
.sup-who { font-size: .78rem; color: var(--muted); margin-bottom: 3px; }
.sup-who span { opacity: .7; margin-left: 4px; }
.sup-body { white-space: pre-wrap; word-break: break-word; line-height: 1.45; }
.sup-img { display: inline-block; margin: 8px 8px 0 0; }
.sup-img img { max-width: 240px; max-height: 180px; border-radius: 8px; border: 1px solid var(--panel-line); display: block; }
.sup-send { padding: 12px 18px 14px; border-top: 1px solid var(--panel-line); }
.sup-row { display: flex; gap: 10px; align-items: flex-end; flex-wrap: wrap; }
.sup-row textarea { flex: 1; min-width: 200px; min-height: 42px; max-height: 140px; resize: vertical; }
.sup-files { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 8px; }
.sup-files:empty { display: none; }
.sup-chip { display: inline-flex; gap: 6px; align-items: center; padding: 3px 4px 3px 10px; border-radius: 999px; background: rgba(255, 255, 255, .08); font-size: .8rem; }
.sup-chip button { border: 0; background: transparent; color: var(--muted); font-size: 16px; cursor: pointer; line-height: 1; }
.sup-err { color: #ff9a9a; font-size: .85rem; min-height: 1.2em; margin-top: 6px; }
.sup-list { display: grid; gap: 8px; max-width: 980px; margin-bottom: 14px; }
.sup-item { display: grid; grid-template-columns: 64px minmax(0, 1fr) 150px 190px 130px; gap: 12px; align-items: center; padding: 11px 16px; border-radius: 12px; background: rgba(20, 24, 38, .94); border: 1px solid rgba(255, 255, 255, .08); color: var(--text); }
.sup-item:hover { border-color: rgba(231, 183, 95, .45); }
.sup-item.st2 { opacity: .6; }
.sup-id { color: var(--muted); }
.sup-subj { font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sup-cat, .sup-when { color: var(--muted); font-size: .85rem; }
.sup-state { font-size: .85rem; }
.sup-state.st0, .sup-item.st0 .sup-state { color: #f0c060; }
.sup-state.st1, .sup-item.st1 .sup-state { color: #5ad19a; }
.sup-meta { color: var(--muted); margin: 6px 0 4px; }
.sup-note p { line-height: 1.5; }
@media (max-width: 760px) { .sup-item { grid-template-columns: 1fr; gap: 2px; } .sup-msgs { height: 340px; } .sup-msg { max-width: 94%; } }

/* ---------- РџР»Р°РІР°СЋС‰РёР№ С‡Р°С‚ РїРѕРґРґРµСЂР¶РєРё ---------- */
.sw-btn { position: fixed; right: 22px; bottom: 22px; z-index: 900; width: 58px; height: 58px; border-radius: 50%; border: 1px solid rgba(231, 183, 95, .6); cursor: pointer; font-size: 26px;
    background: linear-gradient(180deg, #f2c86a, #c98f2f); color: #1a1208; box-shadow: 0 8px 24px rgba(0, 0, 0, .5); display: grid; place-items: center; transition: transform .15s; }
.sw-btn:hover { transform: translateY(-2px) scale(1.04); }
.sw-btn.pulse { animation: swpulse 1.6s infinite; }
@keyframes swpulse { 0% { box-shadow: 0 0 0 0 rgba(231, 183, 95, .7), 0 8px 24px rgba(0, 0, 0, .5); } 70% { box-shadow: 0 0 0 16px rgba(231, 183, 95, 0), 0 8px 24px rgba(0, 0, 0, .5); } 100% { box-shadow: 0 0 0 0 rgba(231, 183, 95, 0), 0 8px 24px rgba(0, 0, 0, .5); } }
.sw-badge { position: absolute; top: -4px; right: -4px; min-width: 20px; padding: 0 6px; border-radius: 999px; background: #d9473b; color: #fff; font-size: 12px; line-height: 20px; font-weight: 700; text-align: center; }
.sw-panel { position: fixed; right: 22px; bottom: 92px; z-index: 900; width: 360px; max-width: calc(100vw - 24px); height: 500px; max-height: calc(100vh - 120px); display: flex; flex-direction: column;
    border-radius: 16px; overflow: hidden; background: #10141f; border: 1px solid rgba(231, 183, 95, .4); box-shadow: 0 16px 48px rgba(0, 0, 0, .6); }
.sw-panel[hidden] { display: none; }
.sw-head { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 12px 14px; border-bottom: 1px solid var(--panel-line); background: rgba(231, 183, 95, .08); }
.sw-online { font-size: .78rem; color: var(--muted); }
.sw-online i { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: #6b7388; margin-right: 3px; }
.sw-online i.on { background: #5ad19a; box-shadow: 0 0 6px #5ad19a; }
.sw-x { border: 0; background: transparent; color: var(--muted); font-size: 24px; line-height: 1; cursor: pointer; }
.sw-x:hover { color: var(--text); }
.sw-msgs { flex: 1; overflow-y: auto; padding: 12px; display: flex; flex-direction: column; gap: 8px; }
.sw-empty, .sw-guest { margin: auto; text-align: center; color: var(--muted); font-size: .9rem; padding: 0 10px; }
.sw-msg { max-width: 86%; padding: 7px 11px; border-radius: 12px; background: rgba(255, 255, 255, .07); align-self: flex-start; }
.sw-msg.a0 { align-self: flex-end; background: rgba(231, 183, 95, .16); }
.sw-msg.a2 { align-self: center; max-width: 94%; background: transparent; color: var(--muted); font-size: .8rem; text-align: center; }
.sw-who { font-size: .72rem; color: var(--muted); margin-bottom: 2px; }
.sw-who span { opacity: .7; }
.sw-body { white-space: pre-wrap; word-break: break-word; font-size: .92rem; line-height: 1.4; }
.sw-img { display: inline-block; margin-top: 6px; }
.sw-img img { max-width: 180px; max-height: 130px; border-radius: 6px; display: block; }
.sw-send { border-top: 1px solid var(--panel-line); padding: 8px 10px 10px; }
.sw-row { display: flex; gap: 6px; align-items: flex-end; }
.sw-row textarea { flex: 1; min-height: 38px; max-height: 110px; resize: none; padding: 8px 10px; }
.sw-attach, .sw-go { border: 1px solid var(--panel-line); background: rgba(255, 255, 255, .06); color: var(--text); border-radius: 10px; width: 38px; height: 38px; display: grid; place-items: center; cursor: pointer; font-size: 17px; }
.sw-go { background: linear-gradient(180deg, #f2c86a, #c98f2f); color: #1a1208; border-color: rgba(231, 183, 95, .6); }
.sw-files { display: flex; flex-wrap: wrap; gap: 4px; margin-bottom: 6px; }
.sw-files:empty { display: none; }
.sw-chip { display: inline-flex; gap: 4px; align-items: center; padding: 2px 4px 2px 8px; border-radius: 999px; background: rgba(255, 255, 255, .08); font-size: .75rem; }
.sw-chip button { border: 0; background: transparent; color: var(--muted); cursor: pointer; font-size: 15px; }
.sw-err { color: #ff9a9a; font-size: .78rem; min-height: 1em; }
.sw-end { border: 0; background: transparent; color: var(--muted); font-size: .78rem; cursor: pointer; text-decoration: underline; padding: 2px 0 0; }
@media (max-width: 520px) { .sw-panel { right: 8px; bottom: 82px; width: calc(100vw - 16px); height: 70vh; } .sw-btn { right: 14px; bottom: 14px; } }

/* СЂР°Р·РґРµР» В«РџСЂРµРґРјРµС‚С‹В»: Р°Р»С„Р°РІРёС‚ Рё СЃРїРёСЃРѕРє */
.kb-alpha { display: flex; flex-wrap: wrap; gap: 6px; margin: 6px 0; }
.kb-alpha a { display: inline-flex; align-items: baseline; gap: 4px; padding: 5px 11px; border-radius: 10px; background: rgba(20, 24, 38, .94); border: 1px solid rgba(255, 255, 255, .1); color: var(--text); font-weight: 600; }
.kb-alpha a span { color: var(--muted); font-size: .7rem; font-weight: 400; }
.kb-alpha a:hover { border-color: rgba(231, 183, 95, .5); }
.kb-alpha a.active { background: rgba(231, 183, 95, .22); border-color: rgba(231, 183, 95, .6); color: var(--accent); }
.item-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 10px; margin-bottom: 18px; }
.item-card { display: flex; gap: 12px; align-items: center; padding: 9px 12px; border-radius: 12px; background: rgba(20, 24, 38, .94); border: 1px solid rgba(255, 255, 255, .08); color: var(--text); }
.item-card:hover { border-color: rgba(231, 183, 95, .45); }
.item-card .ic-name { display: flex; flex-direction: column; min-width: 0; font-weight: 600; line-height: 1.25; }
.item-card .ic-name small { color: var(--muted); font-weight: 400; font-size: .75rem; }

/* ---------- Р›РёС‡РЅС‹Р№ РєР°Р±РёРЅРµС‚: РјРµРЅСЋ СЃР»РµРІР° ---------- */
.cab { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: 28px; align-items: start; }
.cab-nav { display: flex; flex-direction: column; border-radius: 14px; overflow: hidden; background: rgba(14, 19, 34, .9); border: 1px solid var(--panel-line); box-shadow: 0 8px 28px rgba(0, 0, 0, .35); backdrop-filter: blur(6px); position: sticky; top: 16px; }
.cab-nav a { position: relative; padding: 13px 20px 13px 22px; color: var(--muted); font-weight: 600; letter-spacing: .08em; text-transform: uppercase; font-size: .82rem; border-bottom: 1px solid rgba(255, 255, 255, .05); transition: background .15s, color .15s; }
.cab-nav a:last-child { border-bottom: 0; }
.cab-nav a:hover { background: rgba(255, 255, 255, .05); color: var(--text); }
.cab-nav a.active { background: linear-gradient(90deg, rgba(231, 183, 95, .20), rgba(231, 183, 95, .04)); color: var(--accent); }
.cab-nav a.active::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 3px; background: var(--accent); box-shadow: 0 0 10px rgba(231, 183, 95, .6); }.cab-main > h1:first-child, .cab-main > h2:first-child { margin-top: 0; }
.cab-row { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; margin-bottom: 16px; }
.cab-field { flex: 1; min-width: 240px; max-width: 520px; padding: 12px 16px; border-radius: 12px; background: rgba(10, 12, 20, .8); border: 1px solid var(--panel-line); }
.cab-field small { display: block; color: var(--muted); font-size: .78rem; margin-bottom: 2px; }
.cab-label { color: var(--muted); font-size: .85rem; margin-bottom: 6px; }
.cab-hint { width: 42px; height: 42px; border-radius: 50%; border: 2px solid rgba(231, 183, 95, .7); color: var(--accent); display: grid; place-items: center; font-weight: 700; cursor: help; }
.cab-gifts { display: flex; gap: 8px; padding: 10px; overflow-x: auto; border-radius: 12px; background: rgba(10, 12, 20, .8); border: 1px solid var(--panel-line); margin-top: 16px; }
.cab-gift { flex: none; width: 82px; text-align: center; padding: 8px 4px; border-radius: 10px; background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .08); font-size: .72rem; font-weight: 700; }
.cab-gift img { width: 40px; height: 40px; display: block; margin: 0 auto 4px; }
.cab-gift.win { outline: 2px solid var(--accent); background: rgba(231, 183, 95, .2); }
.cab-msg-ok { color: #8fe0b8; margin: 10px 0; } .cab-msg-err { color: #ff9a9a; margin: 10px 0; }
@media (max-width: 800px) { .cab { grid-template-columns: 1fr; } .cab-nav { position: static; flex-direction: row; flex-wrap: wrap; } .cab-nav a { padding: 10px 14px; } }

/* СѓР·РєРёРµ СЃС‚СЂР°РЅРёС†С‹ (РІС…РѕРґ, СЂРµРіРёСЃС‚СЂР°С†РёСЏ, РЅРѕРІРѕСЃС‚СЊ, СЃРєР°С‡РёРІР°РЅРёРµ) - РїРѕ С†РµРЅС‚СЂСѓ С€РёСЂРѕРєРѕР№ СЂР°РјРєРё */
.wrap-narrow { max-width: 1040px; }
.news-full { max-width: none; }

/* РіР»Р°РІРЅР°СЏ: РіРµСЂРѕР№ РІ РґРІРµ РєРѕР»РѕРЅРєРё, РїСЂРµРёРјСѓС‰РµСЃС‚РІР° СЃРїСЂР°РІР°, РЅРѕРІРѕСЃС‚Рё РЅР° РІСЃСЋ С€РёСЂРёРЅСѓ */
.home-hero { display: grid; grid-template-columns: minmax(420px, 560px) minmax(0, 1fr); gap: clamp(24px, 4vw, 72px); align-items: start; margin-bottom: 56px; }
.home-hero-left h1 { font-size: clamp(2.2rem, 3vw, 3.2rem); line-height: 1.15; margin-top: 0; }
.home-features { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; align-self: center; }
.home-feature { padding: 22px 24px; border-radius: 16px; background: rgba(12, 16, 28, .82); border: 1px solid rgba(231, 183, 95, .25); backdrop-filter: blur(4px); }
.home-feature .ic { font-size: 1.6rem; margin-bottom: 8px; }
.home-feature h3 { margin: 0 0 6px; font-size: 1.1rem; color: var(--accent); }
.home-feature p { margin: 0; color: var(--parchment-300); font-size: .95rem; line-height: 1.5; }
.home-news { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 20px; margin-top: 16px; }
@media (max-width: 1100px) { .home-hero { grid-template-columns: 1fr; } .home-features { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .home-features { grid-template-columns: 1fr; } }

/* ---------- РљСѓРєР»Р° РїРµСЂСЃРѕРЅР°Р¶Р° ---------- */
.doll-lead { color: var(--muted); max-width: 900px; margin: -6px 0 18px; }
.dl { --dl-gold: #e7b75f; --dl-bronze: #8c6a36; --dl-dark: #0e0b08; max-width: 1180px; margin: 0 auto 28px; border-radius: 10px; padding: 6px;
    background: linear-gradient(160deg, #9b7a40 0%, #4d3a1c 18%, #2b2112 50%, #4d3a1c 82%, #9b7a40 100%); box-shadow: 0 10px 40px rgba(0, 0, 0, .55); }
.dl > * { background: #17120c; }
.dl-title { text-align: center; padding: 9px 12px; font-weight: 700; letter-spacing: .06em; color: #f3d99b; text-shadow: 0 1px 2px #000; border-radius: 6px 6px 0 0;
    background: linear-gradient(180deg, #3a2c16, #1f170c); border-bottom: 2px solid var(--dl-bronze); }
.dl-work { display: grid; grid-template-columns: 560px minmax(0, 1fr); gap: 6px; padding: 6px; background: #100c07; }
.dl-equip { padding: 10px 12px 14px; border-radius: 6px; background: linear-gradient(180deg, #221a10, #15100a); box-shadow: inset 0 0 0 1px rgba(231, 183, 95, .18); }
.dl-top { display: grid; grid-template-columns: 250px 264px; gap: 14px; justify-content: space-between; }
.dl-char { display: flex; flex-direction: column; gap: 10px; }
.dl-set { display: grid; gap: 8px; }
.dl-set label { display: flex; align-items: center; justify-content: space-between; gap: 8px; font-size: .85rem; color: #cdbd98; }
.dl-set select, .dl-step { width: 150px; background: #0b0806; color: var(--text); border: 1px solid rgba(231, 183, 95, .4); border-radius: 5px; padding: 3px 6px; height: 28px; box-sizing: border-box; }
.dl-step { display: flex; padding: 0; overflow: hidden; }
.dl-step button { width: 32px; border: 0; background: #2a2012; color: var(--dl-gold); font-size: 1.05rem; cursor: pointer; }
.dl-step button:hover { background: #3b2d18; }
.dl-step input { flex: 1; min-width: 0; text-align: center; background: transparent; border: 0; color: #fff; font-weight: 700; -moz-appearance: textfield; }
.dl-step input::-webkit-outer-spin-button, .dl-step input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.dl-sil { position: relative; height: 120px; opacity: .22; }
.dl-sil i { position: absolute; left: 50%; transform: translateX(-50%); background: #cdb27a; border-radius: 40% 40% 30% 30%; }
.dl-sil .h { top: 0; width: 34px; height: 38px; border-radius: 50%; } .dl-sil .b { top: 42px; width: 66px; height: 46px; } .dl-sil .l { top: 90px; width: 44px; height: 30px; border-radius: 6px; }
.dl-mini { background: #0b0806; border: 1px solid rgba(231, 183, 95, .22); border-radius: 6px; padding: 4px 10px; font-size: .88rem; }
.dl-mini div { display: flex; justify-content: space-between; padding: 5px 0; border-bottom: 1px solid rgba(255, 255, 255, .07); } .dl-mini div:last-child { border: 0; }
.dl-mini span { color: #b9a881; } .dl-mini b { color: #fff; }
.dl-grid { position: relative; width: 264px; height: 380px; }
.dl-slot { position: absolute; width: 84px; height: 86px; padding: 0; cursor: pointer; border-radius: 4px; color: #6f5f43; font-size: .7rem; display: grid; place-items: center; text-align: center;
    background: radial-gradient(circle at 50% 40%, #2c241a 0%, #15100a 75%); border: 1px solid #5b4524; box-shadow: inset 0 0 12px rgba(0, 0, 0, .85), 0 0 0 1px #0a0704; transition: .12s; }
.dl-slot:hover { border-color: var(--dl-gold); box-shadow: inset 0 0 12px rgba(0, 0, 0, .7), 0 0 10px rgba(231, 183, 95, .35); }
.dl-slot.active { border-color: #ffd978; box-shadow: inset 0 0 10px rgba(231, 183, 95, .25), 0 0 0 2px rgba(255, 217, 120, .6); }
.dl-slot img { width: 56px; height: 56px; object-fit: contain; display: block; }
.dl-slot .lbl { padding: 0 3px; line-height: 1.15; pointer-events: none; letter-spacing: .02em; }
.dl-slot .ench { position: absolute; right: 5px; top: 3px; font-style: normal; font-size: .78rem; font-weight: 800; color: #ffd36a; text-shadow: 0 1px 2px #000, 0 0 4px #000; }
.dl-slot .runes { position: absolute; left: 5px; top: 3px; font-style: normal; font-size: .68rem; font-weight: 800; color: #8fd0ff; text-shadow: 0 1px 2px #000; }
.dl-arena { position: relative; width: 533px; max-width: 100%; height: 414px; margin: 10px auto 0; color: var(--dl-gold); border-radius: 6px; background: radial-gradient(circle at 60% 52%, rgba(231, 183, 95, .11), rgba(0, 0, 0, 0) 62%), #0d0a06; box-shadow: inset 0 0 0 1px rgba(231, 183, 95, .2); }
.dl-circle { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.dl-arena .dl-slot { width: 84px; height: 84px; border-radius: 50%; }
.dl-arena .dl-slot img { width: 54px; height: 54px; }
.dl-side { padding: 0; border-radius: 6px; background: linear-gradient(180deg, #1c150c, #120d08); box-shadow: inset 0 0 0 1px rgba(231, 183, 95, .18); display: flex; flex-direction: column; min-width: 0; }
.dl-tabs { display: flex; border-bottom: 2px solid var(--dl-bronze); }
.dl-tabs button { flex: 1; padding: 9px 6px; background: #1f170c; border: 0; border-right: 1px solid #0a0704; color: #b9a881; font-weight: 700; letter-spacing: .03em; cursor: pointer; }
.dl-tabs button.on { background: linear-gradient(180deg, #4a3718, #2c2110); color: #ffe39a; }
.dl-pane { display: none; padding: 10px 12px 14px; flex: 1; } .dl-pane.on { display: block; }
.dl-help { margin: 0 0 10px; font-size: .82rem; color: #a59673; }
.dl-group { margin-bottom: 8px; border: 1px solid rgba(231, 183, 95, .22); border-radius: 6px; background: #0e0a06; }
.dl-group > summary { cursor: pointer; padding: 6px 10px; font-weight: 700; font-size: .85rem; color: var(--dl-gold); background: linear-gradient(180deg, #2e2312, #1a130a); border-radius: 5px; list-style: none; }
.dl-group > summary::-webkit-details-marker { display: none; }
.dl-group > summary::before { content: '\25BE'; margin-right: 7px; font-size: .8em; } .dl-group:not([open]) > summary::before { content: '\25B8'; }
.dl-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 0 14px; padding: 6px 10px; }
.dl-stats div { display: flex; justify-content: space-between; gap: 8px; padding: 5px 0; border-bottom: 1px solid rgba(255, 255, 255, .06); font-size: .88rem; }
.dl-stats span { color: #b9a881; } .dl-stats b { color: #fff; } .dl-stats b.bonus { color: #7fe39b; }
.dl-worn { padding: 6px 10px; }
.dl-worn .none { color: #8c7e5c; font-size: .85rem; padding: 4px 0; }
.dl-w { display: flex; align-items: center; gap: 9px; padding: 5px 0; border-bottom: 1px solid rgba(255, 255, 255, .06); font-size: .85rem; cursor: pointer; }
.dl-w:hover { background: rgba(231, 183, 95, .06); }
.dl-w img { width: 32px; height: 32px; flex: none; } .dl-w .t { flex: 1; min-width: 0; } .dl-w .t b { display: block; color: #f1e6c8; } .dl-w .t small { color: #9d8f6d; }
.dl-w .rn { display: block; color: #8fd0ff; font-size: .74rem; }
.dl-picked { margin-bottom: 10px; padding: 9px 10px; border-radius: 6px; background: #0b0806; border: 1px solid rgba(231, 183, 95, .25); font-size: .88rem; display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.dl-picked select { background: #14100c; color: var(--text); border: 1px solid rgba(231, 183, 95, .35); border-radius: 5px; padding: 2px 6px; }
.dl-foot { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; padding: 0 6px 6px; background: #100c07; border-radius: 0 0 6px 6px; }
.dl-btn { padding: 10px 8px; border-radius: 4px; cursor: pointer; font-weight: 700; color: #d9d6c8; border: 1px solid #4d5a50; background: linear-gradient(180deg, #4a5a50, #26322b); }
.dl-btn:hover { filter: brightness(1.15); }
.dl-btn.gold { color: #2a1c05; border-color: #e0b765; background: linear-gradient(180deg, #e9c779, #a97c2b); }
.doll-search { display: flex; gap: 8px; margin-bottom: 8px; } .doll-search input { flex: 1; min-width: 0; }
.dl-slot-title { color: var(--dl-gold); font-weight: 700; margin: 2px 0 8px; font-size: .95rem; }
.doll-results { height: 520px; overflow-y: auto; border-radius: 6px; background: #0b0806; border: 1px solid rgba(231, 183, 95, .22); padding: 6px; display: grid; gap: 5px; align-content: start; }
.doll-res { display: flex; align-items: center; gap: 10px; text-align: left; padding: 5px 9px; border-radius: 5px; background: rgba(255, 255, 255, .04); border: 1px solid rgba(255, 255, 255, .08); color: var(--text); cursor: pointer; }
.doll-res:hover { border-color: rgba(231, 183, 95, .55); } .doll-res img { width: 34px; height: 34px; } .doll-res span { flex: 1; font-weight: 600; } .doll-res small { color: var(--muted); }
.dp-runes { display: flex; gap: 6px; align-items: center; width: 100%; }
.dp-note { font-size: .74rem; width: 100%; color: #9d8f6d; }
.doll-hole { width: 34px; height: 34px; border-radius: 6px; background: #0b0806; border: 1px dashed rgba(231, 183, 95, .55); color: var(--dl-gold); cursor: pointer; display: grid; place-items: center; padding: 2px; }
.doll-hole img { width: 100%; height: 100%; object-fit: contain; } .doll-hole.on { outline: 2px solid var(--dl-gold); }
.dl-saved { max-width: 1180px; margin: 0 auto 28px; } .dl-saved h2 { margin: 0 0 4px; font-size: 1.15rem; }
.dl-saved-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 8px; }
.dl-sv { display: flex; align-items: center; gap: 10px; padding: 8px 10px; border-radius: 8px; background: rgba(231, 183, 95, .07); border: 1px solid rgba(231, 183, 95, .25); }
.dl-sv a { flex: 1; color: var(--text); cursor: pointer; text-decoration: none; min-width: 0; } .dl-sv a b { display: block; } .dl-sv a small { color: var(--muted); }
.dl-sv button { background: none; border: 0; color: var(--muted); cursor: pointer; font-size: 1.1rem; } .dl-sv button:hover { color: #ff8d8d; }
.dl-toast { position: fixed; left: 50%; bottom: 28px; transform: translateX(-50%); z-index: 90; padding: 10px 18px; border-radius: 8px; background: #2a2012; color: #ffe39a; border: 1px solid var(--dl-gold); box-shadow: 0 6px 24px rgba(0, 0, 0, .5); }
@media (max-width: 1100px) { .dl-work { grid-template-columns: minmax(0, 1fr); } .dl-work > * { min-width: 0; } .dl-equip { max-width: 560px; margin: 0 auto; width: 100%; box-sizing: border-box; } }
@media (max-width: 600px) { .dl-top { grid-template-columns: 1fr; justify-items: center; } .dl-equip { zoom: .64; } .dl-stats { grid-template-columns: 1fr; } .dl-tabs button { font-size: .8rem; } .dl-foot { grid-template-columns: 1fr 1fr; } }

/* РљРЅРѕРїРєР° В«РЎРєР°С‡Р°С‚СЊ РёРіСЂСѓВ» РІ С€Р°РїРєРµ: Р¶С‘Р»С‚Р°СЏ, СЂСЏРґРѕРј СЃ Р±Р°Р»Р°РЅСЃРѕРј */
.btn-dl-top { display: inline-flex; align-items: center; gap: 7px; padding: 8px 18px; border-radius: 999px; font-weight: 800; font-size: .95rem; color: #2a1c05; text-decoration: none; white-space: nowrap;
    background: linear-gradient(180deg, #ffe08e 0%, #f2b840 55%, #d8962a 100%); border: 1px solid #ffd978; box-shadow: 0 0 0 0 rgba(242, 184, 64, .55), 0 3px 14px rgba(242, 184, 64, .35); animation: dlPulse 2.8s ease-in-out infinite; transition: .15s; }
.btn-dl-top:hover { color: #2a1c05; filter: brightness(1.07); transform: translateY(-1px); }
.btn-dl-top.active { box-shadow: inset 0 0 0 2px rgba(42, 28, 5, .35), 0 3px 14px rgba(242, 184, 64, .35); }
@keyframes dlPulse { 0%, 100% { box-shadow: 0 0 0 0 rgba(242, 184, 64, .5), 0 3px 14px rgba(242, 184, 64, .35); } 50% { box-shadow: 0 0 0 7px rgba(242, 184, 64, 0), 0 3px 14px rgba(242, 184, 64, .35); } }
@media (prefers-reduced-motion: reduce) { .btn-dl-top { animation: none; } }
/* Подпись у кнопки чата поддержки: «Есть вопрос? Напишите нам» */
.sw-hint { position: fixed; right: 92px; bottom: 30px; z-index: 899; display: flex; align-items: center; gap: 8px; max-width: calc(100vw - 120px); padding: 9px 8px 9px 15px; border-radius: 999px; cursor: pointer;
    background: linear-gradient(180deg, #2b2113, #1b140b); color: #f1e6c8; border: 1px solid rgba(231, 183, 95, .55); box-shadow: 0 6px 20px rgba(0, 0, 0, .5); font-size: .92rem; line-height: 1.2; white-space: nowrap; animation: swhint 2.4s ease-out 1; }
.sw-hint[hidden] { display: none; }
.sw-hint b { color: var(--accent); }
.sw-hint::after { content: ''; position: absolute; right: -7px; top: 50%; width: 12px; height: 12px; margin-top: -6px; transform: rotate(45deg); background: #1f170d; border-top: 1px solid rgba(231, 183, 95, .55); border-right: 1px solid rgba(231, 183, 95, .55); }
.sw-hint:hover { border-color: var(--accent); }
.sw-hint-x { border: 0; background: transparent; color: #8f8466; cursor: pointer; font-size: 18px; line-height: 1; padding: 0 6px; border-radius: 999px; } .sw-hint-x:hover { color: #fff; }
@keyframes swhint { 0% { opacity: 0; transform: translateX(14px); } 100% { opacity: 1; transform: none; } }
@media (max-width: 520px) { .sw-hint { right: 80px; bottom: 22px; font-size: .84rem; padding: 7px 6px 7px 12px; } }
@media (prefers-reduced-motion: reduce) { .sw-hint { animation: none; } }
/* ---------- гайды ---------- */
.gd-lead { max-width: 720px; color: var(--muted); margin: 0 0 22px; }
.gd-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 12px; }
.gd-card { display: flex; flex-direction: column; gap: 4px; padding: 14px 16px; border-radius: 14px; text-decoration: none; color: var(--text); background: rgba(20, 24, 38, .94); border: 1px solid rgba(255, 255, 255, .12); transition: .15s; }
.gd-card:hover { color: var(--text); background: rgba(30, 36, 56, .97); border-color: rgba(231, 183, 95, .4); transform: translateY(-1px); }
.gd-card-t { font-weight: 700; }
.gd-card-d { font-size: .85rem; color: var(--muted); }
.gd-article { max-width: 820px; }
.gd-body p, .gd-body li { line-height: 1.7; }
.gd-body h2 { margin: 26px 0 8px; }
.gd-body h3 { margin: 22px 0 6px; color: var(--accent); }
.gd-body ol { padding-left: 22px; }
.gd-lvl { margin: 10px 0 14px; }
.gd-lvl-h { font-size: .8rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-bottom: 6px; }
.gd-nodes { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.gd-nodes li { padding: 10px 14px; border-radius: 12px; background: rgba(255, 255, 255, .035); border: 1px solid rgba(255, 255, 255, .08); line-height: 1.45; }
.gd-nm { font-weight: 700; }
.gd-rank { font-size: .78rem; color: var(--muted); margin-left: 6px; }
.gd-ds { color: #b9c0d4; font-size: .92rem; margin-top: 2px; }
.gd-table { margin: 14px 0; }.gd-det { margin: 10px 0; border: 1px solid rgba(255, 255, 255, .1); border-radius: 12px; background: rgba(255, 255, 255, .03); }
.gd-det > summary { cursor: pointer; padding: 12px 16px; font-weight: 700; font-size: 1.05rem; }
.gd-det[open] > summary { border-bottom: 1px solid rgba(255, 255, 255, .08); }
.gd-det .gd-lvl { padding: 0 16px; }
.gd-det .gd-lvl:last-child { padding-bottom: 8px; }
.gd-items { margin: 0; padding-left: 20px; line-height: 1.55; }
.gd-chests { margin-top: 18px; }
.gd-ctabs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 14px; }
.gd-ctab { font-family: inherit; cursor: pointer; padding: 8px 16px; border-radius: 999px; font-weight: 600; font-size: .9rem; color: var(--muted); background: rgba(255, 255, 255, .04); border: 1px solid rgba(255, 255, 255, .08); }
.gd-ctab:hover { color: var(--text); background: rgba(255, 255, 255, .08); }
.gd-ctab.active { color: #2a1c05; background: linear-gradient(180deg, #f6d07f, #d9a241); border-color: transparent; }
.gd-chests:not(.js) .gd-ctabs, .gd-chests:not(.js) .gd-hint, .gd-chests:not(.js) .gd-strip { display: none; }
.gd-chests:not(.js) .gd-cls { margin-bottom: 26px; }
.gd-strip { display: grid; grid-template-columns: repeat(auto-fill, minmax(78px, 1fr)); gap: 10px; }
.gd-chest { font-family: inherit; color: var(--text); cursor: pointer; display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 10px 4px 8px; border-radius: 12px; background: rgba(20, 24, 38, .94); border: 1px solid rgba(255, 255, 255, .12); transition: .2s; }
.gd-chest:hover { border-color: rgba(231, 183, 95, .5); transform: translateY(-2px); }
.gd-chest img { width: 48px; height: 48px; border-radius: 8px; transition: .25s; filter: saturate(.75) brightness(.85); }
.gd-chest.open { border-color: var(--accent); background: rgba(231, 183, 95, .12); box-shadow: 0 0 18px rgba(231, 183, 95, .35); animation: gdpop .45s; }
.gd-chest.open img { filter: none; transform: scale(1.12); }
@keyframes gdpop { 0% { transform: scale(.92); } 50% { transform: scale(1.1); } 100% { transform: scale(1); } }
.gd-chest-lv { font-size: .8rem; font-weight: 700; }
.gd-hint { margin: 14px 0 0; color: var(--muted); font-size: .9rem; }
.gd-panel { margin-top: 16px; padding: 16px; border-radius: 14px; background: rgba(255, 255, 255, .035); border: 1px solid rgba(255, 255, 255, .1); }
.js .gd-panel { display: none; }
.js .gd-panel.on { display: block; animation: gdfade .3s; }
@keyframes gdfade { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.gd-body .gd-panel h3 { margin: 0 0 6px; }
.gd-grp { margin-top: 14px; }
.gd-loot { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 8px; }
.gd-loot li { display: flex; gap: 10px; align-items: center; padding: 8px 10px; border-radius: 10px; background: rgba(18, 22, 36, .93); border: 1px solid rgba(255, 255, 255, .07); line-height: 1.25; }
.gd-loot img { width: 36px; height: 36px; border-radius: 7px; flex: none; }
.gd-ic-empty { width: 48px; height: 48px; border-radius: 8px; background: rgba(255, 255, 255, .06); display: inline-block; flex: none; }
.gd-ic-empty.sm { width: 36px; height: 36px; }
.gd-loot-t { display: flex; flex-direction: column; min-width: 0; }
.gd-next { margin: 0; }

/* заголовок и подпись над куклой - в той же центральной колонке, что и сама кукла; кабинет тоже по центру */
.doll-h1, .doll-lead { max-width: 1180px; margin-left: auto; margin-right: auto; }
.doll-lead { max-width: 1180px; }
.cab { max-width: 1240px; margin-left: auto; margin-right: auto; }

/* ---------- калькулятор древа умений ---------- */
.tw-bar { display: flex; flex-wrap: wrap; gap: 10px 14px; align-items: center; margin-bottom: 14px; }
.tw-tabs { display: flex; flex-wrap: wrap; gap: 8px; }
.tw-tab { font-family: inherit; cursor: pointer; padding: 8px 16px; border-radius: 999px; font-weight: 600; font-size: .9rem; color: var(--muted); background: rgba(255, 255, 255, .04); border: 1px solid rgba(255, 255, 255, .08); }
.tw-tab:hover { color: var(--text); background: rgba(255, 255, 255, .08); }
.tw-tab.active { color: #2a1c05; background: linear-gradient(180deg, #f6d07f, #d9a241); border-color: transparent; }
.tw-f { display: inline-flex; align-items: center; gap: 8px; font-size: .88rem; color: var(--muted); }
.tw-f input { width: 70px; padding: 6px 8px; border-radius: 8px; border: 1px solid var(--panel-line); background: rgba(8, 11, 20, .7); color: var(--text); font: inherit; }
.tw-modes { display: inline-flex; border: 1px solid var(--panel-line); border-radius: 10px; overflow: hidden; }
.tw-mode { font-family: inherit; cursor: pointer; padding: 7px 12px; font-size: .85rem; color: var(--muted); background: rgba(255, 255, 255, .04); border: 0; }
.tw-mode.active { color: #2a1c05; background: linear-gradient(180deg, #f6d07f, #d9a241); font-weight: 700; }
.tw-wrap { width: 100%; max-width: 925px; margin: 0 auto 10px; position: relative; overflow: hidden; }
.tw { position: absolute; left: 0; top: 0; width: 925px; height: 442px; transform-origin: 0 0; background: url(/assets/tree/ui_skilltree2.png) 0 0 no-repeat; font-family: Tahoma, "Segoe UI", sans-serif; user-select: none; }
.tw-titles { position: absolute; left: 0; top: 2px; width: 925px; height: 24px; pointer-events: none; }
.tw-ttl { position: absolute; top: 0; height: 24px; line-height: 24px; text-align: center; color: #f0dca0; font-weight: 700; font-size: 13px; letter-spacing: .04em; text-shadow: 0 1px 2px #000; }
.tw-view { position: absolute; left: 5px; top: 28px; width: 915px; height: 384px; overflow-x: hidden; overflow-y: auto; scrollbar-width: thin; scrollbar-color: #8c6a36 #1a120a; }
.tw-view::-webkit-scrollbar { width: 16px; }
.tw-view::-webkit-scrollbar-track { background: #1a120a; border-left: 1px solid #5a4222; }
.tw-view::-webkit-scrollbar-thumb { background: linear-gradient(90deg, #8c6a36, #c99d52, #8c6a36); border-radius: 3px; border: 2px solid #1a120a; }
.tw-inner { position: relative; width: 898px; }
.tw-col { position: absolute; top: 0; }
.tw-grid { position: relative; }
.tw-sp { position: absolute; display: block; background: url(/assets/tree/ui_skilltree2.png) no-repeat; pointer-events: none; }
.tw-vl { background-position: -161px -472px; }
.tw-vs { background-position: -406px -472px; }
.tw-ad { background-position: -453px -472px; }
.tw-ar { background-position: -508px -490px; }
.tw-hs { background-position: -483px -493px; }
.tw-corner { background-position: -112px -472px; }
.tw-node { position: absolute; width: 48px; height: 48px; cursor: pointer; }
.tw-ic { display: block; width: 48px; height: 48px; }
.tw-noic { background: #2b2b2b; }
.tw-fr { position: absolute; left: 0; top: 0; width: 48px; height: 48px; background: url(/assets/tree/ui_skilltree2.png) -41px -472px no-repeat; display: none; pointer-events: none; }
.tw-node.on .tw-fr, .tw-node:hover .tw-fr { display: block; }
.tw-node.s0 .tw-ic { filter: grayscale(.85) brightness(.45); }
.tw-bd { position: absolute; right: 0; bottom: 0; width: 38px; height: 17px; background: url(/assets/tree/ui_skilltree2.png) -1px -503px no-repeat; pointer-events: none; }
.tw-bd::after { content: ""; position: absolute; left: 0; top: 0; width: 38px; height: 17px; background: url(/assets/tree/ui_skilltree2.png) no-repeat; }
.tw-bd.cy::after { background-position: -1px -454px; }
.tw-bd.cr::after { background-position: -41px -454px; }
.tw-bd.cg::after { background-position: -1px -485px; }
.tw-bdf { position: absolute; left: 3px; top: 2px; height: 12px; background: url(/assets/tree/ui_skilltree2.png) -1px -472px no-repeat; opacity: .55; }
.tw-bd b { position: absolute; left: 0; top: 0; width: 38px; height: 17px; line-height: 17px; text-align: center; font-size: 11px; font-weight: 700; color: #fff; text-shadow: 0 1px 1px #000; z-index: 1; }
.tw-pts { position: absolute; left: 604px; top: 417px; width: 297px; height: 20px; line-height: 20px; text-align: right; color: #e9d9a5; font-size: 13px; }
.tw-pts b { color: #fff; }
.tw-pts.neg b { color: #ff7070; }
.tw-tip { position: fixed; z-index: 9999; display: none; max-width: 320px; padding: 9px 12px; border-radius: 6px; background: rgba(20, 15, 9, .97); border: 1px solid #8c6a36; box-shadow: 0 6px 22px rgba(0, 0, 0, .6); color: #e8dcc0; font-size: 13px; line-height: 1.4; pointer-events: none; }
.tw-tt { color: #f3d99b; font-weight: 700; margin-bottom: 4px; }
.tw-td { margin-bottom: 4px; }
.tw-th { color: #b79a5e; margin: 6px 0 2px; font-size: 12px; }
.tw-tr { color: #a99f86; font-size: 12px; }
.tw-bad { color: #ff7a6a; font-size: 12px; }

/* ---------- калькулятор древа: подгонка под скриншот окна из игры (18.10) ---------- */
.tw-ttl { color: #fff; font-weight: 700; font-size: 12px; letter-spacing: 0; text-shadow: 0 1px 1px #000; }
.tw-view { background: rgba(46, 45, 36, .88); }
.tw-node.s0 .tw-ic { filter: none; }
.tw-bd { right: auto; bottom: auto; left: 26px; top: 35px; width: 46px; height: 17px; background: linear-gradient(180deg, #262b29, #050606); border: 1px solid #4a493d; border-top-color: #6a6859; border-radius: 1px; box-sizing: border-box; }
.tw-bd::after { display: none; }
.tw-bdf { display: none; }
.tw-bd b { width: 44px; height: 15px; line-height: 15px; font-size: 11px; font-weight: 700; color: #e9e9e0; }
.tw-bd.cy { border-color: #c9a53a; }
.tw-bd.cg { border-color: #6fc83c; }
.tw-bd.cr { border-color: #4a493d; }
.tw-pts { color: #fff; font-weight: 700; font-size: 12px; }
.tw-view { scrollbar-color: #8e8a7c #1d1b16; }
.tw-view::-webkit-scrollbar-track { background: #1d1b16; border-left: 1px solid #55513f; }
.tw-view::-webkit-scrollbar-thumb { background: linear-gradient(90deg, #8e8a7c, #a9a495, #8e8a7c); border: 2px solid #1d1b16; border-radius: 2px; }

.tw-node.dim .tw-ic { filter: brightness(.45) saturate(.6); }

/* чат поддержки поднят выше, чтобы не перекрывать ссылки в подвале */
.sw-btn { bottom: 64px; }
.sw-hint { bottom: 72px; }
.sw-panel { bottom: 134px; max-height: calc(100vh - 160px); }
@media (max-width: 520px) { .sw-btn { bottom: 60px; } .sw-hint { bottom: 68px; } .sw-panel { bottom: 128px; } }
/* сундуки наград боевых режимов */
.gd-strip.wide { grid-template-columns: repeat(auto-fill, minmax(118px, 1fr)); max-width: 640px; }
.gd-strip.wide .gd-chest-lv { text-align: center; line-height: 1.25; padding: 0 4px; }
.gd-kind { margin: 0 0 4px; color: var(--muted); font-size: .92rem; }
.gd-loot-t > .grade { margin-top: 4px; font-size: .85rem; }
.gd-loot-t .gd-rank { margin-left: 6px; }
.gd-body .gd-table td:first-child { width: 34%; }
.gd-body .gd-coins td:first-child { width: auto; }
.gd-body .gd-coins th:last-child, .gd-body .gd-coins td:last-child { width: 90px; text-align: right; }
.gd-body .gd-table td { white-space: normal; }
.gd-body .gd-table:not(.gd-coins) td:last-child { text-align: left; }
.gd-body .gd-table td:first-child { font-weight: 600; }
.gd-dl { margin: 8px 0 18px; }
.gd-dl dt { font-weight: 700; margin-top: 12px; }
.gd-dl dd { margin: 2px 0 0; color: var(--muted); line-height: 1.6; }
