/* магазин. базовые doc-* стили в wiki-rules.css, тут только своё */
.shop { display: grid; gap: 18px; }
.shop-reveal { opacity: 0; transform: translateY(14px); transition: opacity .6s var(--ease-out, ease), transform .6s var(--ease-out, ease); }
.shop-reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .shop-reveal { opacity: 1; transform: none; transition: none; } }
.shop .doc-ch { margin: 0; }
.shop .doc-ch__body > .doc-sec + .doc-sec, .shop .doc-ch__body > .doc-sec + #shopArmorBox { margin-top: 12px; }
.shop-doc-text { padding: 8px 0 4px; }
.shop-doc-text p { margin: 0 0 12px; font-family: var(--f-read); font-size: 15px; line-height: 26px; color: var(--on-dark); max-width: 76ch; }
.shop-doc-text p:last-child { margin-bottom: 0; }
.shop-doc-p { margin: 0; font-family: var(--f-read); font-size: 15px; line-height: 26px; color: var(--on-dark); }
.shop .doc-anchor { display: none; }

/* плашка заголовка: мягкий объём, как у карточек на сайте */
.shop-plate {
    position: relative; display: flex; width: max-content; max-width: 100%; align-items: center; gap: 18px;
    margin: 14px auto 0; padding: 16px 34px 16px 20px; border-radius: 18px;
    background: linear-gradient(180deg, rgba(34, 35, 40, .92), rgba(20, 21, 24, .92));
    border: 1px solid rgba(255, 255, 255, .1);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .08), 0 20px 40px -22px rgba(0, 0, 0, .9), 0 0 0 1px rgba(0, 0, 0, .4);
    text-align: left;
}
.shop-plate::before { content: ""; position: absolute; left: 20px; right: 20px; bottom: -1px; height: 2px; border-radius: 2px;
    background: linear-gradient(90deg, transparent, rgba(239, 59, 59, .75), transparent); }
.shop-plate__gem { width: 58px; height: 58px; border-radius: 14px; }
.shop-plate__gem img { width: 38px; height: 38px; }
.shop-plate__body { display: grid; gap: 3px; }
.shop-plate__title { margin: 0; font-size: clamp(32px, 5.2vw, 50px); line-height: 1; text-shadow: none; }
.shop-plate__tag { margin: 0; font-family: var(--f); font-size: 10.5px; font-weight: 700; letter-spacing: .22em; text-transform: uppercase; color: var(--on-dark-faint, #6f6a63); }
.shop-lead { margin: 18px auto 0; max-width: 620px; font-family: var(--f-read); font-size: 15.5px; line-height: 1.55; color: var(--on-dark-dim); }
.shop-lead p { margin: 0; }
.shop-lead p + p { margin-top: 4px; }

/* фон: тоннель; поверх - холсты hero-fx (луч, сварка, пыль, дымка), сцена "shop" в hero-fx.js */
body[data-wiki-section="shop"] .wiki-bg {
    background-image:
        linear-gradient(180deg, rgba(5, 5, 7, .78) 0%, rgba(5, 5, 7, .82) 45%, rgba(5, 5, 7, .95) 100%),
        url("/public/img/shop/bg.webp");
    background-position: center, center 40%;
    background-size: cover, cover;
}
body[data-wiki-section="shop"] .wiki-bg .fac-fx { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; mix-blend-mode: screen; opacity: 0; transition: opacity 1.2s ease; }
body[data-wiki-section="shop"] .wiki-bg .fac-fx--gl { mix-blend-mode: normal; }
body[data-wiki-section="shop"] .wiki-bg.fx-ready .fac-fx { opacity: .5; }
body[data-wiki-section="shop"] .wiki-bg.fx-ready .fac-fx--gl { opacity: .55; }
body[data-wiki-section="shop"] .wiki-main { position: relative; z-index: 1; }

/* самоцвет */
.gem-tile {
    position: relative; flex: 0 0 auto; display: grid; place-items: center;
    width: 64px; height: 64px; border-radius: 16px;
    background: linear-gradient(160deg, #1c2b3d, #0f1826);
    box-shadow: inset 0 0 0 1px rgba(120, 190, 255, .28), inset 0 -10px 20px rgba(0, 0, 0, .35), 0 0 28px -6px rgba(90, 170, 255, .5);
}
.gem-tile::before { content: ""; position: absolute; inset: 8px; border-radius: 50%; background: radial-gradient(circle, rgba(110, 190, 255, .55), transparent 65%); filter: blur(7px); animation: gemGlow 3.4s ease-in-out infinite; }
.gem-tile img { position: relative; width: 44px; height: 44px; display: block; filter: drop-shadow(0 6px 10px rgba(40, 120, 220, .5)); }
@keyframes gemGlow { 0%, 100% { opacity: .55; } 50% { opacity: 1; } }
.gem-tile--gold { background: linear-gradient(160deg, #3a2f14, #1f1a0c); box-shadow: inset 0 0 0 1px rgba(255, 210, 110, .3), inset 0 -10px 20px rgba(0, 0, 0, .35), 0 0 28px -6px rgba(255, 190, 80, .55); }
.gem-tile--gold::before { background: radial-gradient(circle, rgba(255, 205, 100, .6), transparent 65%); }
.gem-tile--gold img { filter: drop-shadow(0 6px 10px rgba(200, 140, 30, .5)); }
body[data-wiki-section="shop"] .shop-thanks { border-color: rgba(255, 190, 80, .3); background: linear-gradient(135deg, rgba(255, 190, 80, .1), var(--panel)); }

/* липкие вкладки */
.shop-tabs {
    position: sticky; top: calc(var(--rail-top-live, var(--rail-top, 64px)) + 8px); z-index: 5;
    display: flex; gap: 6px; padding: 6px; margin: 0;
    border: 1px solid var(--line); border-radius: 12px;
    background: rgba(16, 17, 19, .88); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
    overflow-x: auto; scrollbar-width: none;
}
.shop-tabs::-webkit-scrollbar { display: none; }
.shop-tabs a { flex: 0 0 auto; display: inline-flex; align-items: center; gap: 8px; padding: 9px 14px 9px 12px; border-radius: 8px; font-family: var(--f); font-size: 12.5px; font-weight: 700; color: var(--on-dark-dim); white-space: nowrap; transition: color .2s ease, background .2s ease; }
.shop-tabs a .doc-head__ico { width: 14px; height: 14px; opacity: .7; }
.shop-tabs a.is-here .doc-head__ico { opacity: 1; color: var(--red-br); }
.shop-tabs a:hover { color: var(--on-dark); background: rgba(255, 255, 255, .05); }
.shop-tabs a.is-here { color: #fff; background: rgba(207, 41, 41, .22); box-shadow: inset 0 0 0 1px rgba(239, 59, 59, .4); }
.shop-tabs a.is-dim { margin-left: auto; color: var(--on-dark-faint, #6f6a63); }

.shop-price { flex: 0 0 auto; padding: 5px 10px; border-radius: 8px; background: rgba(207, 41, 41, .16); box-shadow: inset 0 0 0 1px rgba(239, 59, 59, .35);
    font-family: var(--f); font-size: 13.5px; font-weight: 800; color: #ff9a9a; font-variant-numeric: tabular-nums; white-space: nowrap; }
.shop-price--big { font-size: 18px; padding: 8px 14px; }

/* свёртка разделов: шапка главы кликабельна, тело в аккордеоне */
.shop-ch { scroll-margin-top: 150px; transition: box-shadow .45s ease, border-color .35s ease; }
/* 9. наведение на свёрнутую главу: мягкий отсвет по бокам */
.shop-ch:not(.is-open):hover { border-color: rgba(239, 59, 59, .28); box-shadow: -18px 0 34px -22px rgba(239, 59, 59, .55), 18px 0 34px -22px rgba(239, 59, 59, .55), 0 20px 40px -26px rgba(0, 0, 0, .8); }
.shop-ch .doc-ch__head-panel .doc-ch__desc { border: 0 !important; background: none !important; padding: 0 !important; margin-top: 8px !important; max-width: 72ch !important; }
.shop-ch .doc-ch__desc p { color: var(--on-dark-dim); }
.shop-ch .doc-ch__head-panel { position: relative; cursor: pointer; transition: background .25s ease; }
.shop-ch .doc-ch__head-panel:hover { background: rgba(255, 255, 255, .025); }
.shop-ch__open {
    position: absolute; right: 22px; bottom: 18px; display: inline-flex; align-items: center; gap: 8px;
    height: 34px; padding: 0 12px 0 14px; border-radius: 9px; border: 1px solid rgba(255, 255, 255, .14); background: rgba(255, 255, 255, .04);
    font-family: var(--f); font-size: 12px; font-weight: 700; color: var(--on-dark); cursor: pointer;
    transition: background .2s ease, border-color .2s ease, color .2s ease;
}
.shop-ch .doc-ch__head-panel:hover .shop-ch__open, .shop-ch__open:hover { background: rgba(207, 41, 41, .16); border-color: rgba(239, 59, 59, .45); color: #fff; }
.shop-ch__chev { width: 8px; height: 8px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg); transition: transform .3s ease; margin-top: -3px; }
.shop-ch.is-open .shop-ch__open .shop-ch__chev { transform: rotate(-135deg); margin-top: 3px; }
.shop-ch__box { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .5s var(--ease-out, ease); }
.shop-ch.is-open .shop-ch__box { grid-template-rows: 1fr; }
.shop-ch__in { min-height: 0; overflow: hidden; }
.shop-ch:not(.is-open) .doc-ch__head-panel { border-bottom: 0; }
.shop-ch__close {
    display: flex; align-items: center; justify-content: center; gap: 10px; width: 100%; margin-top: 14px; height: 40px;
    border: 1px dashed rgba(255, 255, 255, .16); border-radius: 10px; background: none; cursor: pointer;
    font-family: var(--f); font-size: 12.5px; font-weight: 700; color: var(--on-dark-dim); transition: color .2s ease, border-color .2s ease, background .2s ease;
}
.shop-ch__close:hover { color: #fff; border-color: rgba(239, 59, 59, .5); background: rgba(207, 41, 41, .08); }
.shop-ch__close .shop-ch__chev { transform: rotate(-135deg); margin-top: 3px; }

/* спонсорство: бонусы в две колонки, бушлат ниже по центру */
.shop-perks { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 12px; }
.shop-perks .doc-clause { margin: 0; padding: 14px 16px; border: 1px solid var(--line); border-radius: 10px; background: rgba(255, 255, 255, .025); }  /* margin: 0 - в своде пункт выезжает за край на 18px, здесь карточки в сетке наезжали друг на друга */
.shop-perks .doc-item__t { font-size: 14px; line-height: 23px; }
.shop-perks .doc-item__t b { display: block; margin-bottom: 2px; font-family: var(--f); font-size: 14.5px; color: #fff; }
.shop-figsec { max-width: 720px; margin: 12px auto 0; }
.shop-figure { position: relative; margin: 10px 0 0; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; background: #0f0a08; }
.shop-figure__stage { position: relative; aspect-ratio: 1764 / 849; overflow: hidden; isolation: isolate; }
.shop-figure__stage img { display: block; width: 100%; height: 100%; object-fit: cover; transform: scale(1.02); transition: transform 1.4s cubic-bezier(.2, .7, .2, 1); }
.shop-figure:hover .shop-figure__stage img { transform: scale(1.07); }
/* лампа на 19.5% x 62% кадра */
.fx-flame { position: absolute; left: 19.5%; top: 60%; width: 5%; aspect-ratio: 1 / 1.6; transform: translate(-50%, -50%); border-radius: 50%; pointer-events: none;
    background: radial-gradient(ellipse at 50% 60%, rgba(255, 246, 220, .75), rgba(255, 200, 110, .4) 35%, rgba(255, 140, 50, 0) 70%); mix-blend-mode: screen; filter: blur(1.5px);
    animation: fxFlame 2.1s ease-in-out infinite; }
@keyframes fxFlame { 0%, 100% { opacity: .5; transform: translate(-50%, -50%) scale(.94, 1); } 23% { opacity: .85; transform: translate(-50%, -52%) scale(1.04, 1.08); } 47% { opacity: .62; transform: translate(-49%, -50%) scale(.98, 1.02); } 71% { opacity: .8; transform: translate(-51%, -51%) scale(1.02, 1.05); } }
.fx-spill { position: absolute; left: 20%; top: 84%; width: 34%; height: 22%; transform: translate(-50%, -50%); border-radius: 50%; pointer-events: none;
    background: radial-gradient(ellipse, rgba(255, 170, 80, .22), rgba(255, 130, 50, .08) 45%, transparent 70%); mix-blend-mode: screen; filter: blur(6px);
    animation: fxSpill 2.1s ease-in-out infinite; }
@keyframes fxSpill { 0%, 100% { opacity: .55; } 23% { opacity: 1; } 47% { opacity: .7; } 71% { opacity: .9; } }
.shop-figure__cap { padding: 10px 14px; border-top: 1px solid var(--line); background: rgba(255, 255, 255, .02); font-size: 12.5px; line-height: 1.5; color: var(--on-dark-dim); text-align: center; }
@media (prefers-reduced-motion: reduce) { .fx-flame, .fx-spill { animation: none; } }

/* цвет магазина: холодный синий под самоцвет вместо общего красного */
body[data-wiki-section="shop"] { --sc: 88, 166, 255; --red-br: #58a6ff; --red-d: #1f5fb8; --red: #3a8be6; }
body[data-wiki-section="shop"] .doc-item--lead > .doc-item__n { border-color: rgba(var(--sc), .38); color: var(--red-br); }
body[data-wiki-section="shop"] .doc-note__k { background: rgba(var(--sc), .16); color: #a9d0ff; }
body[data-wiki-section="shop"] .doc-item--note { border-left-color: rgba(var(--sc), .5); }
body[data-wiki-section="shop"] .doc-clar--pun { border-color: rgba(var(--sc), .35); }
body[data-wiki-section="shop"] .doc-clar--pun .doc-clar__k { color: #a9d0ff; }
body[data-wiki-section="shop"] .doc-item--bullet > .doc-item__n { color: var(--red-br); }
body[data-wiki-section="shop"] .shop-price, body[data-wiki-section="shop"] .shop-org__price { background: rgba(var(--sc), .14); box-shadow: inset 0 0 0 1px rgba(var(--sc), .35); color: #a9d0ff; }
body[data-wiki-section="shop"] .shop-tabs a.is-here { background: rgba(var(--sc), .16); box-shadow: inset 0 0 0 1px rgba(var(--sc), .4); }
body[data-wiki-section="shop"] .shop-kitrow__n, body[data-wiki-section="shop"] .shop-pick b, body[data-wiki-section="shop"] .shop-steps li b { background: rgba(var(--sc), .14); box-shadow: inset 0 0 0 1px rgba(var(--sc), .35); color: var(--red-br); }
body[data-wiki-section="shop"] .shop-facbtn.is-on, body[data-wiki-section="shop"] .shop-pick.is-on { border-color: rgba(var(--sc), .55); background: rgba(var(--sc), .12); box-shadow: 0 0 0 1px rgba(var(--sc), .2), 0 10px 26px -14px rgba(var(--sc), .8); }
body[data-wiki-section="shop"] .shop-pick.is-on span, body[data-wiki-section="shop"] .shop-kitcell span, body[data-wiki-section="shop"] .shop-kit span b { color: #a9d0ff; }
body[data-wiki-section="shop"] .shop-pu__bar i { background: linear-gradient(90deg, #1f4f8f, #58a6ff); box-shadow: 0 0 10px rgba(var(--sc), .55); }
body[data-wiki-section="shop"] .shop-fig::after { background: var(--red-br); box-shadow: 0 0 12px rgba(var(--sc), .8); }
body[data-wiki-section="shop"] .shop-kitpanel { background: linear-gradient(180deg, rgba(var(--sc), .06), transparent 40%); }
body[data-wiki-section="shop"] .shop-fold__btn i { background: rgba(var(--sc), .12); color: var(--red-br); }
body[data-wiki-section="shop"] .shop-ch__open:hover, body[data-wiki-section="shop"] .shop-ch .doc-ch__head-panel:hover .shop-ch__open { background: rgba(var(--sc), .14); border-color: rgba(var(--sc), .45); }
body[data-wiki-section="shop"] .shop-ch__close:hover, body[data-wiki-section="shop"] .shop-fold__close:hover { border-color: rgba(var(--sc), .5); background: rgba(var(--sc), .06); }
body[data-wiki-section="shop"] .shop-ch:not(.is-open):hover { border-color: rgba(var(--sc), .28); box-shadow: -18px 0 34px -22px rgba(var(--sc), .55), 18px 0 34px -22px rgba(var(--sc), .55), 0 20px 40px -26px rgba(0, 0, 0, .8); }
body[data-wiki-section="shop"] .shop-plate::before { background: linear-gradient(90deg, transparent, rgba(var(--sc), .75), transparent); }
body[data-wiki-section="shop"] .shop-thanks { border-color: rgba(var(--sc), .3); background: linear-gradient(135deg, rgba(var(--sc), .12), var(--panel)); }
body[data-wiki-section="shop"] .shop-item:hover, body[data-wiki-section="shop"] .shop-suit:hover { border-color: rgba(var(--sc), .5); }
body[data-wiki-section="shop"] .shop-item__art { background-color: #121214; }
body[data-wiki-section="shop"] .shop-tabs a.is-here .doc-head__ico { color: var(--red-br); }
body[data-wiki-section="shop"] .doc-crumb__pos::before, body[data-wiki-section="shop"] .doc-crumb__pos::after { background: var(--red-br); }
body[data-wiki-section="shop"] .doc-item--head > .doc-item__n { color: var(--red-br); background: rgba(var(--sc), .12); }
body[data-wiki-section="shop"] .shop-lead p { color: var(--on-dark-dim); }

/* правила: жирные зачины пунктов */
body[data-wiki-section="shop"] .doc-item--lead > .doc-item__t b { color: #fff; font-weight: 700; }
body[data-wiki-section="shop"] .doc-item--lead > .doc-item__t { line-height: 25px; max-width: 64ch; }
body[data-wiki-section="shop"] .doc-item--lead > .doc-item__t .shop-h { display: block; margin-bottom: 2px; font-family: var(--f); font-size: 15px; }
body[data-wiki-section="shop"] .doc-item--lead > .doc-item__t .shop-h + br { display: none; }

/* временные гарантии: янтарная плашка, отличная от синего магазина и серых правил */
/* панели свода задают рамку и фон через !important, поэтому и здесь так же */
.shop-sec--temp { --am: 232, 168, 62; position: relative; isolation: isolate; margin-bottom: 14px; border: 1px solid rgba(var(--am), .22) !important; border-radius: 14px !important;
    background: linear-gradient(180deg, rgba(var(--am), .065), rgba(var(--am), .02) 46%, rgba(var(--am), .01)), linear-gradient(rgba(15, 16, 19, .98), rgba(11, 12, 15, .98)) !important;
    box-shadow: inset 0 1px 0 rgba(var(--am), .14), 0 20px 44px -30px rgba(var(--am), .35) !important; overflow: hidden; }
.shop-sec--temp::before { content: ""; position: absolute; z-index: -1; left: -60px; top: -90px; width: 320px; height: 220px; border-radius: 50%; background: radial-gradient(closest-side, rgba(var(--am), .11), transparent); pointer-events: none; }
.shop-sec--temp::after { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 3px; background: linear-gradient(180deg, rgba(var(--am), .7), rgba(var(--am), .12)); }
body[data-wiki-section="shop"] .shop-sec--temp .doc-item--head > .doc-item__n { color: #e3b263; background: rgba(var(--am), .12); box-shadow: inset 0 0 0 1px rgba(var(--am), .28); }
.shop-sec--temp .doc-item__t b { color: #fff; }
.shop-temp__lead b { color: #f0d39a; }
.shop-sec--temp .doc-item--head > .doc-item__t { display: flex; align-items: center; flex-wrap: wrap; gap: 6px 12px; }
.shop-temp__tag { padding: 3px 9px; border-radius: 6px; background: rgba(var(--am), .11); box-shadow: inset 0 0 0 1px rgba(var(--am), .32); font-family: var(--f); font-size: 10.5px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: #e9c17a; white-space: nowrap; }
.shop-temp__lead { margin: 6px 0 14px; padding: 12px 16px; border-radius: 10px; background: rgba(var(--am), .045); border: 1px solid rgba(var(--am), .14); font-family: var(--f-read); font-size: 14.5px; line-height: 1.6; color: var(--on-dark); max-width: 72ch; }
body[data-wiki-section="shop"] .shop-sec--temp .doc-item--lead > .doc-item__n { color: #e3b263; border-color: rgba(var(--am), .32); }
body[data-wiki-section="shop"] .shop-sec--temp .doc-num { color: #e9c17a; }
.shop-sec--temp .doc-clause:hover::before { background: linear-gradient(90deg, rgba(var(--am), .06), rgba(255, 255, 255, .008) 55%, transparent); }

/* как купить: заголовок пункта строкой, «временно недоступно» */
.shop-bt { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-bottom: 2px; font-family: var(--f); font-size: 14.5px; font-weight: 800; color: #fff; }
.shop-soon { padding: 2px 8px; border-radius: 5px; background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .12); font-family: var(--f); font-size: 10px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--on-dark-dim); }
.shop-buy .doc-item--bullet > .doc-item__t { line-height: 24px; }

/* основы: вопрос, принцип, вывод */
.shop-manifest { display: grid; gap: 14px; padding: 10px 0 6px; }
.shop-manifest p { margin: 0; font-family: var(--f-read); font-size: 15px; line-height: 1.65; color: var(--on-dark); max-width: 74ch; }
.shop-manifest__q { color: var(--on-dark-dim); }
.shop-manifest__q em { font-style: normal; color: var(--on-dark); }
.shop-manifest__core { position: relative; padding: 16px 20px 16px 22px; border-radius: 12px; background: rgba(255, 255, 255, .03); border: 1px solid var(--line); overflow: hidden; }
.shop-manifest__core::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 3px; background: linear-gradient(180deg, rgba(88, 166, 255, .9), rgba(88, 166, 255, .2)); }
.shop-manifest__core mark { background: none; color: #a9d0ff; font-weight: 700; }
.shop-manifest__core b { color: #fff; }
.shop-manifest__sum { padding-left: 14px; border-left: 2px solid rgba(255, 255, 255, .12); color: var(--on-dark-dim); }
.shop-manifest__sum b { color: #fff; }

/* как купить: пункты слева, консультант справа */
.shop-buy { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 12px; align-items: stretch; }
.shop-buy > .doc-sec { display: flex; flex-direction: column; }
.shop-steps { margin-top: auto; padding-top: 14px; }
.shop-steps ol { margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 8px; }
.shop-steps li { display: flex; gap: 10px; align-items: flex-start; padding: 10px 12px; border-radius: 9px; border: 1px solid var(--line); background: rgba(255, 255, 255, .025); font-family: var(--f-read); font-size: 12.5px; line-height: 1.45; color: var(--on-dark); }
.shop-steps li b { flex: 0 0 auto; width: 22px; height: 22px; border-radius: 6px; display: grid; place-items: center; background: rgba(207, 41, 41, .16); color: var(--red-br); font-family: var(--f); font-size: 11.5px; font-weight: 800; }
.shop-consult .fld-wrap { height: 100%; }
.shop-consult .fld { height: 100%; display: flex; flex-direction: column; }
.shop-consult .fld__body { flex: 1 1 auto; }
.fld__role--gem { gap: 8px; }
.fld__role--gem img { width: 16px; height: 16px; flex: 0 0 auto; }
.fld__links { display: grid; gap: 2px; margin: 6px 0 0; }
.fld__links a { font: 500 13px/1.4 "Inter", system-ui, sans-serif; color: #00a8fc; }
.fld__links a:hover { text-decoration: underline; }
/* оружие */
.shop-grid { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 12px; }
.shop-grid .shop-item { flex: 1 1 280px; max-width: 360px; }
.shop-item { position: relative; display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: 12px; background: rgba(255, 255, 255, .025); overflow: hidden;
    transition: border-color .25s ease, transform .3s var(--ease-out, ease), box-shadow .3s ease; }
.shop-item:hover { border-color: rgba(239, 59, 59, .5); transform: translateY(-3px); box-shadow: 0 24px 44px -24px rgba(0, 0, 0, .9); }
.shop-item__art { position: relative; aspect-ratio: 16 / 7; overflow: hidden; display: grid; place-items: center; padding: 10px 14px; border-bottom: 1px solid var(--line); background: #121214; isolation: isolate; }
.shop-item__art::before { content: ""; position: absolute; inset: -12%; background: var(--art) center / cover no-repeat; filter: blur(18px) brightness(.55) saturate(1.1); transform: scale(1.1); }
.shop-item__art::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0, 0, 0, .1), transparent 40%, rgba(0, 0, 0, .35)); pointer-events: none; }
.shop-item__art img { position: relative; z-index: 1; max-width: 100%; max-height: 100%; object-fit: contain; border-radius: 6px; box-shadow: 0 14px 28px -12px rgba(0, 0, 0, .9), 0 0 0 1px rgba(255, 255, 255, .06); transition: transform .45s var(--ease-out, ease); }
.shop-item:hover .shop-item__art img { transform: scale(1.04); }
.shop-item__body { display: grid; gap: 8px; padding: 14px 16px 16px; }
.shop-item__body > * { min-width: 0; }
.shop-item__row { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.shop-item__row > h3, .shop-item__row > h4 { min-width: 0; }
.shop-item__t { margin: 0; font-family: var(--f); font-size: 16px; font-weight: 800; color: #fff; }
.shop-item__d { margin: 0; font-family: var(--f-read); font-size: 13.5px; line-height: 1.55; color: var(--on-dark-dim); }
.shop-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.shop-tag { padding: 3px 8px; border-radius: 5px; background: rgba(255, 255, 255, .06); font-family: var(--f); font-size: 10.5px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--on-dark-dim); }

/* броня: фракции, линейка с выбором фигуры, панель комплекта */
.shop-facs { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.shop-facbtn { display: inline-flex; align-items: center; gap: 9px; height: 42px; padding: 0 14px 0 8px; border-radius: 10px; cursor: pointer;
    border: 1px solid var(--line); background: rgba(255, 255, 255, .03); font-family: var(--f); font-size: 13px; font-weight: 700; color: var(--on-dark-dim);
    transition: border-color .2s ease, color .2s ease, background .2s ease, transform .2s ease; }
.shop-facbtn img { width: 26px; height: 26px; object-fit: contain; filter: grayscale(.4) brightness(.9); transition: filter .2s ease; }
.shop-facbtn:hover { color: var(--on-dark); border-color: rgba(255, 255, 255, .2); transform: translateY(-1px); }
.shop-facbtn.is-on { color: #fff; border-color: rgba(239, 59, 59, .55); background: rgba(207, 41, 41, .14); box-shadow: 0 0 0 1px rgba(239, 59, 59, .2), 0 10px 26px -14px rgba(207, 41, 41, .8); }
.shop-facbtn.is-on img { filter: none; }
.shop-facbtn small { padding: 2px 6px; border-radius: 5px; background: rgba(255, 255, 255, .07); font-size: 10.5px; font-weight: 800; color: inherit; }
.shop-armorbox { padding: 0 !important; overflow: hidden; }
.shop-armorbox.is-swap { animation: shopSwap .45s var(--ease-out, ease) both; }
@keyframes shopSwap { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.shop-lineup { position: relative; background: #140d0c; overflow: hidden; user-select: none; }
.shop-lineup > img { display: block; width: 100%; height: auto; }
/* затемнение вокруг выбранной фигуры */
.shop-lineup__dim { position: absolute; top: 0; bottom: 0; width: 0; pointer-events: none; opacity: 0; transition: width .45s var(--ease-out, ease), opacity .35s ease; }
.shop-lineup__dim--l { left: 0; background: linear-gradient(90deg, rgba(8, 6, 6, .78) 0%, rgba(8, 6, 6, .78) calc(100% - 36px), rgba(8, 6, 6, 0) 100%); }
.shop-lineup__dim--r { right: 0; background: linear-gradient(270deg, rgba(8, 6, 6, .78) 0%, rgba(8, 6, 6, .78) calc(100% - 36px), rgba(8, 6, 6, 0) 100%); }
.shop-lineup[data-mode="hover"] .shop-lineup__dim, .shop-lineup[data-mode="picked"] .shop-lineup__dim { opacity: 1; }
.shop-fig { position: absolute; top: 0; bottom: 0; border: 0; background: none; padding: 0; cursor: pointer; z-index: 2; }
.shop-fig::after { content: ""; position: absolute; left: 12%; right: 12%; bottom: 8px; height: 3px; border-radius: 3px; background: var(--red-br); box-shadow: 0 0 12px rgba(239, 59, 59, .8); opacity: 0; transform: scaleX(.4); transition: opacity .25s ease, transform .3s var(--ease-out, ease); }
.shop-fig.is-hot::after, .shop-fig.is-on::after { opacity: 1; transform: none; }
.shop-fig__tag { position: absolute; left: 50%; top: 10px; transform: translate(-50%, -6px); padding: 5px 9px; border-radius: 6px; white-space: nowrap; pointer-events: none;
    background: rgba(10, 8, 8, .9); border: 1px solid rgba(255, 255, 255, .14); color: #fff; font-family: var(--f); font-size: 11.5px; font-weight: 700; opacity: 0; transition: opacity .2s ease, transform .25s ease; }
.shop-fig.is-hot .shop-fig__tag, .shop-fig.is-on .shop-fig__tag { opacity: 1; transform: translate(-50%, 0); }
.shop-fig:focus-visible { outline: 2px solid rgba(239, 59, 59, .8); outline-offset: -2px; }
.shop-lineup__cap { position: absolute; left: 16px; bottom: 12px; z-index: 3; display: flex; align-items: center; gap: 10px; pointer-events: none; }
.shop-lineup__cap img { width: 30px; height: 30px; filter: drop-shadow(0 4px 8px rgba(0, 0, 0, .7)); }
.shop-lineup__cap b { font-family: var(--f); font-size: 16px; font-weight: 800; color: #fff; text-shadow: 0 2px 10px rgba(0, 0, 0, .8); }
.shop-lineup__cap span { font-size: 12px; color: rgba(255, 255, 255, .7); text-shadow: 0 2px 8px rgba(0, 0, 0, .8); }
.shop-picker { display: flex; flex-wrap: wrap; gap: 8px; padding: 12px 14px; border-top: 1px solid var(--line); }
.shop-pick { display: inline-flex; align-items: center; gap: 8px; height: 36px; padding: 0 12px 0 6px; border-radius: 9px; cursor: pointer;
    border: 1px solid var(--line); background: rgba(255, 255, 255, .03); font-family: var(--f); font-size: 12.5px; font-weight: 700; color: var(--on-dark-dim); transition: border-color .2s ease, color .2s ease, background .2s ease; }
.shop-pick b { display: grid; place-items: center; width: 24px; height: 24px; border-radius: 6px; background: rgba(207, 41, 41, .16); color: var(--red-br); font-size: 12px; }
.shop-pick span { font-weight: 600; color: var(--on-dark-faint, #6f6a63); }
.shop-pick:hover { color: var(--on-dark); border-color: rgba(255, 255, 255, .2); }
.shop-pick.is-on { color: #fff; border-color: rgba(239, 59, 59, .55); background: rgba(207, 41, 41, .14); }
.shop-pick.is-on span { color: #ff9a9a; }
.shop-kitbox { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .5s var(--ease-out, ease); }
.shop-kitbox.is-open { grid-template-rows: 1fr; }
.shop-kitbox__in { min-height: 0; overflow: hidden; }
.shop-kitpanel { padding: 20px 22px 22px; border-top: 1px solid var(--line); background: linear-gradient(180deg, rgba(207, 41, 41, .06), transparent 40%); animation: shopSwap .4s var(--ease-out, ease) both; }
.shop-kitpanel__head { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.shop-kitrow__n { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: rgba(207, 41, 41, .16); box-shadow: inset 0 0 0 1px rgba(239, 59, 59, .35); font-family: var(--f); font-size: 18px; font-weight: 800; color: var(--red-br); flex: 0 0 auto; }
.shop-kitpanel__hm { flex: 1 1 240px; min-width: 0; display: grid; gap: 8px; }
.shop-kitpanel__t { margin: 0; font-family: var(--f); font-size: 20px; font-weight: 800; color: #fff; }
.shop-pu { display: flex; align-items: center; gap: 10px; max-width: 420px; }
.shop-pu__k { font-family: var(--f); font-size: 10.5px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--on-dark-dim); white-space: nowrap; }
.shop-pu__bar { flex: 1 1 auto; height: 6px; border-radius: 3px; background: rgba(255, 255, 255, .07); overflow: hidden; }
.shop-pu__bar i { display: block; height: 100%; width: var(--w, 0); border-radius: 3px; background: linear-gradient(90deg, #7a1f1f, #ef3b3b); box-shadow: 0 0 10px rgba(239, 59, 59, .55); transition: width 1s var(--ease-out, ease); }
.shop-pu b { font-family: var(--f); font-size: 13px; font-weight: 800; color: #fff; white-space: nowrap; }
.shop-kitpanel__grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 20px; margin-top: 18px; }
.shop-kitpanel__desc p { margin: 0 0 10px; font-family: var(--f-read); font-size: 14.5px; line-height: 1.6; color: var(--on-dark); }
.shop-kitpanel__desc p:last-child { margin-bottom: 0; }
.shop-kitpanel__kit { display: grid; gap: 6px; align-content: start; }
.shop-kitcell { display: grid; grid-template-columns: 34px minmax(0, 1fr) auto; align-items: center; gap: 10px; padding: 8px 10px; border-radius: 9px; border: 1px solid rgba(255, 255, 255, .07); background: rgba(255, 255, 255, .03); }
.shop-kitcell i { width: 34px; height: 34px; border-radius: 8px; background: rgba(255, 255, 255, .05); position: relative; }
.shop-kitcell i::before { content: ""; position: absolute; inset: 8px; background: var(--on-dark-dim); -webkit-mask: var(--ico) center / contain no-repeat; mask: var(--ico) center / contain no-repeat; }
.shop-kitcell[data-k="head"] { --ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 13a8 8 0 0 1 16 0v3H4z'/%3E%3Cpath d='M2 16h20'/%3E%3C/svg%3E"); }
.shop-kitcell[data-k="body"] { --ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 3l7 3v6c0 4.5-3 7.5-7 9-4-1.5-7-4.5-7-9V6z'/%3E%3C/svg%3E"); }
.shop-kitcell[data-k="legs"] { --ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M7 3h10l1 18h-4l-2-9-2 9H6z'/%3E%3C/svg%3E"); }
.shop-kitcell[data-k="mask"] { --ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 10a8 6 0 0 1 16 0v3a8 6 0 0 1-16 0z'/%3E%3Ccircle cx='9' cy='11' r='1.6'/%3E%3Ccircle cx='15' cy='11' r='1.6'/%3E%3Cpath d='M10 16h4'/%3E%3C/svg%3E"); }
.shop-kitcell small { display: block; font-family: var(--f); font-size: 9.5px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--on-dark-faint, #6f6a63); }
.shop-kitcell b { display: block; font-size: 13px; font-weight: 600; color: var(--on-dark); }
.shop-kitcell span { font-family: var(--f); font-size: 12px; font-weight: 800; color: #ff9a9a; white-space: nowrap; }
.shop-kitpanel__foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-top: 18px; }
.shop-kitpanel__hint { font-size: 12px; color: var(--on-dark-faint, #6f6a63); }

/* фракции и отряды */
.shop-orgs { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(340px, 100%), 1fr)); gap: 12px; }
.shop-org .doc-item--head { align-items: center; }
.shop-org__price { margin-left: auto; padding: 5px 11px; border-radius: 8px; background: rgba(207, 41, 41, .16); box-shadow: inset 0 0 0 1px rgba(239, 59, 59, .35);
    font-family: var(--f); font-size: 15px; font-weight: 800; color: #ff9a9a; font-variant-numeric: tabular-nums; white-space: nowrap; }
.shop-org__prices { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 6px; margin-left: auto; }
.shop-org__prices .shop-org__price { margin-left: 0; }
.shop-org__price i { margin-right: 7px; padding-right: 7px; border-right: 1px solid rgba(255, 255, 255, .18); font-style: normal; font-weight: 700; opacity: .85; }
.shop-org__price em { margin-left: 6px; font-style: normal; font-size: 11.5px; font-weight: 600; opacity: .75; }
.shop-org__body { display: grid; gap: 2px; }
.shop-org__k { margin: 14px 0 4px; font-family: var(--f); font-size: 10.5px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--on-dark-dim); }
.shop-org__cta { justify-self: start; margin-top: 16px; height: 42px; padding: 0 18px; font-size: 13px; }
.shop-org__cta svg { width: 16px; height: 16px; }
.shop-org a { color: #ff9a9a; }
.shop-kitpanel__foot .shop-org__cta { margin-top: 0; }

/* финал */
.shop-thanks { display: flex; gap: 18px; align-items: center; flex-wrap: wrap; padding: 22px 24px; border-radius: 14px;
    border: 1px solid rgba(239, 59, 59, .3); background: linear-gradient(135deg, rgba(207, 41, 41, .14), var(--panel)); }
.shop-thanks p { margin: 0; flex: 1 1 320px; font-family: var(--f-read); font-size: 15px; line-height: 1.6; color: var(--on-dark); }
.shop-cta, .shop-org__cta, .shop-kitpanel__foot .shop-org__cta {
    position: relative; isolation: isolate; overflow: hidden; --hc: 88, 101, 242;
    display: inline-flex; align-items: center; gap: 10px; height: 46px; padding: 0 22px; border-radius: 12px;
    background: #131417; border: 1px solid rgba(var(--hc), .45); color: #f2f3f5; font-family: var(--f); font-size: 13.5px; font-weight: 700; white-space: nowrap;
    box-shadow: 0 0 22px -10px rgba(var(--hc), .55); transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease, color .3s ease; }
.shop-cta::before, .shop-org__cta::before { content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit; background: rgb(var(--hc)); opacity: 0; transform: translateY(100%); transition: transform .35s cubic-bezier(.2, .8, .2, 1), opacity .3s ease; }
.shop-cta::after, .shop-org__cta::after { content: ""; position: absolute; left: 14%; right: 14%; bottom: -12px; height: 22px; z-index: -2; border-radius: 50%; background: radial-gradient(closest-side, rgba(var(--hc), .9), transparent); filter: blur(10px); opacity: .45; transition: opacity .35s ease, transform .45s cubic-bezier(.2, .8, .2, 1); transform: scaleX(.8); }
.shop-cta:hover, .shop-org__cta:hover { transform: translateY(-1px); border-color: rgba(var(--hc), .9); color: #fff; box-shadow: 0 0 30px -6px rgba(var(--hc), .65); }
.shop-cta:hover::before, .shop-org__cta:hover::before { opacity: 1; transform: none; }
.shop-cta:hover::after, .shop-org__cta:hover::after { opacity: .95; transform: none; }
.shop-cta svg { width: 18px; height: 18px; }

/* дополнительная информация: свёрнутые разделы */
#terms .doc-ch__body { display: grid; gap: 10px; }
.shop-fold { border: 1px solid var(--line); border-radius: 12px; background: rgba(255, 255, 255, .02); overflow: hidden; }
.shop-fold__btn { display: flex; align-items: center; gap: 12px; width: 100%; padding: 13px 16px; border: 0; background: none; cursor: pointer; text-align: left; color: var(--on-dark-dim);
    font-family: var(--f); font-size: 13.5px; font-weight: 700; transition: color .2s ease, background .2s ease; }
.shop-fold__btn:hover { color: var(--on-dark); background: rgba(255, 255, 255, .03); }
.shop-fold__btn i { flex: 0 0 auto; width: 28px; height: 28px; border-radius: 7px; display: grid; place-items: center; background: rgba(207, 41, 41, .12); color: var(--red-br); }
.shop-fold__btn i .doc-head__ico { width: 15px; height: 15px; }
.shop-fold__btn small { margin-left: auto; font-weight: 500; font-size: 12px; color: var(--on-dark-faint, #6f6a63); }
.shop-fold__chev { flex: 0 0 auto; width: 8px; height: 8px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg); transition: transform .3s ease; margin: -3px 4px 0 6px; }
.shop-fold.is-open .shop-fold__btn .shop-fold__chev { transform: rotate(-135deg); margin-top: 3px; }
.shop-fold.is-open .shop-fold__btn { color: var(--on-dark); }
.shop-fold__box { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .45s var(--ease-out, ease); }
.shop-fold.is-open .shop-fold__box { grid-template-rows: 1fr; }
.shop-fold__in { min-height: 0; overflow: hidden; }
.shop-fold__pad { padding: 0 12px 12px; display: grid; gap: 12px; }
.shop-fold__close { display: flex; align-items: center; justify-content: center; gap: 10px; height: 36px; border: 1px dashed rgba(255, 255, 255, .16); border-radius: 9px; background: none; cursor: pointer;
    font-family: var(--f); font-size: 12px; font-weight: 700; color: var(--on-dark-dim); transition: color .2s ease, border-color .2s ease; }
.shop-fold__close:hover { color: #fff; border-color: rgba(239, 59, 59, .5); }
.shop-fold__close .shop-fold__chev { transform: rotate(-135deg); margin: 3px 0 0; }

@media (max-width: 820px) {
    .shop-buy { grid-template-columns: 1fr; }
    .shop-steps { margin-top: 12px; }
    .shop-perks { grid-template-columns: 1fr; }
    .shop-kitpanel__grid { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
    .shop-plate { --cut: 16px; gap: 14px; padding: 14px 26px 14px 20px; }
    .shop-plate__gem { width: 48px; height: 48px; border-radius: 12px; }
    .shop-plate__gem img { width: 32px; height: 32px; }
    .shop-tabs { top: calc(var(--rail-top-live, var(--rail-top, 64px)) + 48px); }
    .shop-ch__open { position: static; margin: 0 22px 16px; }
    .shop-kitpanel { padding: 16px 14px 18px; }
    .shop-pu { max-width: none; }
    .shop-fig__tag { display: none; }
}
